*trying to snare the target once the mob drops below a certain %
when ran MQ says:
there are no spawns matching: (0-100) any null
[MQ2] NULL
The current Macro has ended
Code: Select all
Sub Main
/declare Casting string outer
/declare Delay int outer
/if (${Me.TargetOfTarget.PctHPs}<=20) /goto :Snare
:Snare
/Target ${Me.TargetOfTarget.Name}
/echo ${Me.TargetOfTarget.Name}
/stand
/g Snare on %t!
/varset Casting Ensnare
/cast "Ensnare"
/doevents
/varset Delay ${Math.Calc[${Spell[Ensnare].MyCastTime}*10+10]}
/delay ${Delay}
/if (${Sit}==1) /sit
/return


