If you use
Spell_Routines.inc, it returns one of the following:
${String[${Macro.Return}].Equal[CAST_RESISTED]}
or
${String[${Macro.Return}].Equal[CAST_IMMUNE]}
So you could do something like:
Code: Select all
/call Cast ${YourSlowSpell} gem4
/devents
/if (${String[${Macro.Return}].Equal[CAST_IMMUNE]}) {
/varset slowed 0
/gsay omgz0rz %t is immune to slow
}
/if (${String[${Macro.Return}].Equal[CAST_RESISTED]}) {
/varset slowed 0
/gsay omgz0rz %t resisted slow
}
[code]
There are a few macros out there that do this. Check the shaman macros out and see what you can find.