• 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! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Remaining casting time on spell (1 Viewer)

I know I saw a post somewhere in the last few days that talked about calculating the remaining time to complete a spell cast but I can't find it for the life of me. I have a macro I use for healing and I basically want to have it check for targets health with 1 second left on cast time and interrupt if that target is over a certain health. Sometimes I spot heal and the other heal is redundant.

/if (${Target.PctHPs}>80 && ${CastTimeRemaining}<1s) /stopcast

Something along the lines above, but I can't figure out the syntax for the 2nd part relating to cast time remaining. Can't get anything to return a value as an /echo. For the macro in question the only thing it does is heal, so no buffs or nukes etc would be effected by the stopcast.

Also as a further question. How often are holy/downs cycled. I.E, could I use it as a down and turn it on/off that way rather than building it into the macro or would it not check at least once a second?
 
${Cast.Timing} will return the milliseconds remaining until the spell finishes casting.

But you will need to have MQ2Cast plugin loaded.. Other wise you can check the Casting Window. Been a while since I have had to do that..
 
${Cast.Timing} will return the milliseconds remaining until the spell finishes casting.

But you will need to have MQ2Cast plugin loaded.. Other wise you can check the Casting Window. Been a while since I have had to do that..

Thank you I believe this is what I needed.
 
Last edited:
Question - Remaining casting time on spell

Users who are viewing this thread

Back
Top
Cart