16
Scripting Chat / Re: help please with small script
« on: July 12, 2015, 04:49:26 AM »
Would this work with the mana check and 2 spells?
Code: [Select]
SUB attack
attack_loop:
finditem !_enemy G_
if #findcnt > 0
{
If #MANA > 40
event macro 15 50
set #ltargetkind 1
set #ltargetid #findid
target 3s
event macro 22 0
wait 5
}
If #MANA < 40
event macro 15 17
set #ltargetkind 1
set #ltargetid #findid
target 3s
event macro 22 0
wait 5
FINDITEM !_enemy G_
IF #FINDKIND = 1
{
GOTO attack_loop
}
RETURN