• 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 - Have MA use spells at certain HP

Mythaniel

New member
I think I read before if your tank is set to MA it doesn't follow the HP % logic for casting offensive spells. On Paladin I have Yaulp set to 95% and want Flash of Light set to 90%, the problem is that the paladin will cast both spells potentially before even engaging, and if you cast Flash of Light before doing any damage the mob sometimes just runs off.

How do I avoid this? I'd like to overall cast Flash of Light twice, once at 90% and once again at 55%.
Thanks in advance.
 
I'd like to go that route, but looking for the syntax to also cast just once. I don't want it spammed, even if it gets resists would like just 1 Flash of Light at certain HP intervals.
 
Maybe something like this:

Rich (BB code):
holyshit0=/if (!${Me.Buff[Yaulp].ID} && ${Cast.Ready[Yaulp]} && ${Spell[Yaulp].Stacks} && !${Me.Invis} && !${Me.Moving} && ${Target.Type.Equal[NPC]} && ${Target.PctHPs}>1 && ${Target.PctHPs}<99) /casting "Yaulp" -maxtries 2
holyshit1=/if (${Cast.Ready[Flash of Light]} && !${Me.Invis} && !${Me.Moving} && ${Target.Type.Equal[NPC]} && ${Target.PctHPs}>89 && ${Target.PctHPs}<91) /casting "Flash of Light" -maxtries 2
holyshit2=/if (${Cast.Ready[Flash of Light]} && !${Me.Invis} && !${Me.Moving} && ${Target.Type.Equal[NPC]} && ${Target.PctHPs}>54 && ${Target.PctHPs}<56) /casting "Flash of Light" -maxtries 2
 
Awesome thanks Calaxa~! Will gives these a try. The maxtries of 2 , does this mean it will attempt to cast twice during this duration, or cast again if resist?
 
Question - Have MA use spells at certain HP

Users who are viewing this thread

Back
Top
Cart