-
Notifications
You must be signed in to change notification settings - Fork 2
Veterinary
PEDROH86 edited this page Jun 17, 2018
·
7 revisions
- Habilidade para curar animais com bandages.
- Sujestão de macro: duas vacas.
if not findalias 'animal1'
headmsg 'Selecione o primeiro animal'
promptalias 'animal1'
endif
if not findalias 'animal2'
headmsg 'Selecione o segundo animal'
promptalias 'animal2'
endif
if skill 'veterinary' < 100.1
if counttype '0xe21' '0' 'backpack' > 0
if hits 'animal1' <= 20
msg 'all stop'
usetype! '0xe21' 'any' 'backpack'
waitfortarget 15000
target! 'animal1'
pause 3500
replay
while not hits 'animal1' == maxhits 'animal1'
endwhile
endif
if hits 'animal2' <= 20
msg 'all stop'
usetype! '0xe21' 'any' 'backpack'
waitfortarget 15000
target! 'animal2'
pause 3500
replay
while not hits 'animal2' == maxhits 'animal2'
endwhile
endif
if hits 'animal1' == hits 'animal2'
canceltarget
msg 'all kill'
waitfortarget 15000
target! 'animal2'
endif
usetype! '0xe21'
if hits 'animal1' > hits 'animal2'
autotargetobject 'animal2'
pause 3500
else
autotargetobject 'animal1'
pause 3500
endif
else
msg 'all stop'
stop
endif
else
headmsg 'Skill Completa!'
stop
endif