Also, what about recursion? Had an example in mind:
Code: Select all
Sub Slow
/call cast "Serpent of Vindication" item
/if (${Macro.Return.Equal["CAST_SUCCESS"]}) {
/echo Slowed ${Target.Name} at ${Target.PctHPs}%
/return SLOWED
} else /if (${Macro.Return.Equal["CAST_IMMUNESLOW"]}) {
/echo ${Target.Name} Immune to slow
/return IMMUNE
} else /if (${Macro.Return.Equal["CAST_RESISTED"]}) {
/call boggle
[color=red]/call Slow[/color]
} else
/echo check slow logic
}
/return slowerror
