Code: Select all
#Persistent
SetTimer, KolorCheck, 250
return
HealOne:
PixelGetColor, kolor, Xpos, Ypos
if (kolor != 0xFF0000) {
Send, {F5}
} else {
HealTwo()
}
return
HealTwo()
PixelGetColor, kolor, Xpos, Ypos
if (kolor !=0xFF0000) {
Send, {F7}
} else {
ManaHeal
}
return
ManaHeal()
PixelGetColor, kolor, Xpos, Ypos
if (kolor !=0xFF0000) {
Send, {F3}
} else {
HealOne()
}
return
[Mod action: Moved topic to the v1 section since this is v1 code. The main section is for v2.]