Skip to content

Commit

Permalink
Update quest completion and victory buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
tduyduc authored Sep 29, 2019
1 parent 4879e1b commit 7fb4019
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions LOL-TeamfightTactics.au3
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ Public License instead of this License. But first, please read
#RequireAdmin

Global Const $name = "LOL Teamfight Tactics Assist"
Global Const $about = "LOL Teamfight Tactics Assist — T.D. Stoneheart, last updated 22/08/2019"
Global Const $about = "LOL Teamfight Tactics Assist — T.D. Stoneheart, last updated 2019/09/29"
Global Const $copyright = "Source code form of LOL Teamfight Tactics Assist is available GNU GPLv3. © 2019 T.D. Stoneheart."
Global Const $title = "[TITLE:League of Legends; CLASS:RCLIENT]", $title2 = "[TITLE:League of Legends (TM) Client; CLASS:RiotWindowClass]"
Global $ff = False, $size = 0
Expand Down Expand Up @@ -732,14 +732,16 @@ While Sleep(3000)
GameClick(Round(($size[0] / 2) - ($size[1] * .1)), Round($size[1] * .5762)) ; surrender dialog box
EndIf
GameClick(Round(($size[0] / 2) - ($size[1] * .1171875)), Round($size[1] / 2)) ; game over at nth place
GameClick(Round($size[0] / 2), Round($size[1] * 2 / 3)) ; victory
; GameClick(Round($size[0] / 2), Round($size[1] * 2 / 3)) ; victory ; this is old!
GameClick(Round($size[0] / 2), Round($size[1] * 0.595238)) ; victory
ElseIf WinActivate($title) Then
ClientClick(396, 547) ; create lobby, find match
ClientClick(509, 460) ; accept match
ClientClick(509, 460) ; again!
ClientClick(418, 286) ; reconnect
ClientClick(512, 315) ; message boxes
ClientClick(512, 418) ; dismiss in case of post-game rewards
; ClientClick(512, 418) ; dismiss in case of post-game rewards ; this is old!
ClientClick(512, 543) ; dismiss in case of post-game rewards
ClientClick(559, 626) ; play again
EndIf
WEnd
Expand Down

0 comments on commit 7fb4019

Please sign in to comment.