msgbox, 131072, QW tool, xai auto co hai cho may tinh !!!
sleep, 500
;Constant -----------------------------------------------------
;HPchar : 0x5A69FF
:HPpos : 105, 54, 107, 54
;MPchar : 0xEFC731
:MPpos : 101, 64, 103, 64
;TGchar : 0x526DFF
:TGpos : 232, 55, 235, 55
Loop
{Loop, 9999999999
If WinActive("Element Client")
{Loop, 999999
{
; Auto HP pot
PixelSearch, Mx, My, 105, 54, 107, 54, 0x5A69FF, 3, fast
if ErrorLevel
{
; Auto HP pot
Send, {F6}
Sleep, 500
}
; Auto MP pot
PixelSearch, Mx, My, 101, 64, 103, 64, 0xEFC731, 3, fast
if ErrorLevel
{
; Auto MP pot
Send, {F5}
Sleep, 500
}
Sleep, 500
; Auto TG pot
PixelSearch, Mx, My, 232, 55, 235, 55, 0x526DFF, 3, fast
if ErrorLevel
{
; Auto TG pot
Sleep, 2000
Send, {F7}
Sleep, 1000
; Auto HP pot
PixelSearch, Mx, My, 105, 54, 107, 54, 0x5A69FF, 3, fast
if ErrorLevel
{
; Auto HP pot
Send, {F6}
Sleep, 500
}
Send, {F7}
Sleep, 1000
; Auto HP pot
PixelSearch, Mx, My, 105, 54, 107, 54, 0x5A69FF, 3, fast
if ErrorLevel
{
; Auto HP pot
Send, {F6}
Sleep, 500
}
Send, {F7}
Sleep, 1000
; Auto HP pot
PixelSearch, Mx, My, 105, 54, 107, 54, 0x5A69FF, 3, fast
if ErrorLevel
{
; Auto HP pot
Send, {F6}
Sleep, 500
}
Send, {TAB}
Sleep, 2000
}
Send, {F1}
Sleep, 1000
}
}
}