I got a script that clicks several times with the click right mouse clicks when monster picks up the tarjeta. so he just throws the skill.
I used AutoHotkey program. in
Needs improvement.
I accept any help.
I'm from Brazil.
---------------------------------------------------------------------------
WinWait, Last War - Bila Games (Window 800x600),
IfWinNotActive, Last War - Bila Games (Window 800x600), , WinActivate, Last War - Bila Games (Window 800x600),
WinWaitActive, Last War - Bila Games (Window 800x600),
$X=650
$Y=450
While(1){
$cont2=200
while($cont2<=$Y){
$cor="0X141E1C"
$cont1=200
While($cont1<=$X)
{
MouseClick, right, $cont1, $cont2
PixelGetColor $var, 469, 35
;sleep, 2000
;Send, {ENTER}%$var%{ENTER}
If($var="0X141E1C" or $var="0X00975B")
{
Send, {F1} ; Tyrant
Sleep, 2000
Send, {F8} ; skil
Sleep, 2000
Send, {F9} ; atacar
;Send, {ENTER}Funcionou{ENTER}
$cont3=15
while($cont3<=30){
PixelGetColor $hp, 213, 59
if($hp="0x000037")
send, {F3}
sleep, 500
PixelGetColor $mp, 216, 71
if($mp="0x480501")
send, {F2}
sleep, 500
$cont3++
pixelGetColor $var1, 409, 33
if($var1!="0X141E1C"){
;Send, {ENTER}1p{ENTER}
if($var1!="0X141E1C")
{
Send,{F4} ; pegar nas
Sleep, 500
Send,{F4} ; pegar nas
Sleep, 500
Send,{F4} ; pegar nas
Sleep, 500
Send,{F4} ; pegar nas
Sleep, 500
Send,{F4} ; pegar nas
Sleep, 500
Send,{F4} ; pegar nas
Sleep, 500
;MouseClick, left, 592, 456
BREAK
}
}
Sleep, 5000
}
MouseClick, left, 50, 75
Send, {F5}
PixelGetColor $hp, 213, 59
if($hp="0x000037")
send, {F3}
sleep, 500
MouseClick, left, 294, 87
sleep, 500
}
$cont1+=10
sleep, 1
}
$cont2+=10
}
MouseClickDrag, right, 224, 440, 380, 440
;MouseClick, left, 592, 456
Sleep, 2000
}
C::Pause
V::ExitApp
return