Hey guys, can someone alittle more experienced with the coding take a look at this event?
I want to put a necro in the DZ with my bard.
Necro will run lootwhore, and I want to add this to my current lootwhore macro.
Essentially, what I want it to do is assist the bard, check to see if the mob's hitpoints are below 80% (so pet doesn't steal aggro from bard) then send in pet if below 80%
Next, I want to cast a DoT ONCE only on the mob when he hits 50% life.
I already know the check will keep casting the dot everytime it checks and the mob is below 50%. I don't know the code to say, only cast it once.
Thanks for the help guys.
Sub TargetAtk
/assist TOONNAME
/if (${Target.PctHPs}<80
/pet attack
/if (${Target.PctHPs}<60
| DOT Mob
/cast 1
/return
I want to put a necro in the DZ with my bard.
Necro will run lootwhore, and I want to add this to my current lootwhore macro.
Essentially, what I want it to do is assist the bard, check to see if the mob's hitpoints are below 80% (so pet doesn't steal aggro from bard) then send in pet if below 80%
Next, I want to cast a DoT ONCE only on the mob when he hits 50% life.
I already know the check will keep casting the dot everytime it checks and the mob is below 50%. I don't know the code to say, only cast it once.
Thanks for the help guys.
Sub TargetAtk
/assist TOONNAME
/if (${Target.PctHPs}<80
/pet attack
/if (${Target.PctHPs}<60
| DOT Mob
/cast 1
/return