• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Lua question regarding mq2cast

doomzday

Member
Joined
Dec 19, 2011
RedCents
117¢
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?
 
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