attack closest by flutschi
Related: AnimalTaming
hotkey 'cancel current target'
pause 200
hotkey 'Target Closest Non-Friendly Monster'
wait 300
setvar enemy lasttarget
#getlabel enemy descTarget
if find enemy ground -1 -1 18
overhead " ▼ TARGET ▼ " 253 enemy
hotkey 'All Kill'
pause 200
waitfortarget
target 'last'
pause 200
else
overhead 'too far away' 33
pause 1000
endif
hotkey 'cancel current target'