I am trying to figure out how to do something I think is simple.
I want to cast a mez spell on a mob and if its resisted I want to recast it.
I found this snippet of code which I think is using spell routines. Does mq2cast work in a similar fashion?
[CODE title="code snippet"]/call cast "${mez_spell}" Gem4 ${CastRetryTime}
/if (${Macro.Return.Equal["CAST_RESISTED"]})
I would put the code here to recast the spell if its ready[/CODE]
Is there a simple way to do a test like this with Lua?
I want to cast a mez spell on a mob and if its resisted I want to recast it.
I found this snippet of code which I think is using spell routines. Does mq2cast work in a similar fashion?
[CODE title="code snippet"]/call cast "${mez_spell}" Gem4 ${CastRetryTime}
/if (${Macro.Return.Equal["CAST_RESISTED"]})
I would put the code here to recast the spell if its ready[/CODE]
Is there a simple way to do a test like this with Lua?

