I have it detect snare resists using an event. I've tried using ${Macro.Return} that Spell_Routines.inc provides, which didnt work. I've tried adding a local #event right in my macro, which didnt work.
I dont know whats wrong. The thing is, it used to work?!?
The whole macro can be found here: http://macroquest2.com/phpBB2/viewtopic ... highlight=
Heres the subsroutines where issues can be found:
The #event being used:
Code: Select all
#event Resisted "Your target resisted the #*# spell#*#"
Code: Select all
/if (${snaretoggle} && ${needsnare} && ${Target.PctHPs}<60 && ${Target.Distance}<150) {
/if (${Ini[ArchSettings.ini,General,SnareSpell].Equal[Entrap]}) {
/call Cast "Entrap" Alt
} else {
/call Cast ${snarespell} gem4 10s
}
/varset needsnare FALSE
/delay 5
/doevents
/if (${verbose} && ${immunetosnare}) /if (${verbose}) /gsay %t is Immune to snare
/if (${verbose} && !${immunetosnare} && !${needsnare}) /gsay %t has successfully been snared
}Code: Select all
sub event_Resisted
/echo RESISTED Event Fired
/varset needsnare TRUE
/echo Needsnare=${needsnare}
/return


