Moderator: MacroQuest Developers
Code: Select all
/call Cast "Spell Name" gem#Code: Select all
/if (${Target.PctHPs}<=20 && ${Target.Type.Equal[NPC]} /call Cast "Instill" gem4Code: Select all
/declare Root int outer 0Code: Select all
/if (${Root}==0 && ${Target.PctHPs}<=20 && ${Target.Type.Equal[NPC]}) {
/call Cast "Instill" gem4
/delay 5
/if (${Macro.Return.Equal[CAST_SUCCESS]}) /varset Root 1
}Missing a )skyler wrote:Just add that line somewhere where your toon is actively targeting NPC's. Obviously change the target % to whatever you'd like and you don't have to have that target type check if you put it in the right area. Also remember that a rooted mob will break if it's being attacked. Chances of a root breaking can be reduced by some aa's though. In either case you might also want to make an event check for when your root breaks I guess. I'd personally just PL a class that can snare =)Code: Select all
/if (${Target.PctHPs}<=20 && ${Target.Type.Equal[NPC]} /call Cast "Instill" gem4
