• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋

Question - Lua question regarding mq2cast

doomzday

Member
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 snippet
Code:
/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

Is there a simple way to do a test like this with Lua?
 
you need to capture all the different events and set the spell state.

RGMercs does this in this file:


but this is going to be a lot of code and certainly not 2 lines.

I was going about it the wrong way.

I just needed to check for mq.Target.mezzed() which is all I really wanted to know.
 
Question - Lua question regarding mq2cast

Users who are viewing this thread

Back
Top
Cart