• 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 - spell immune mobs, how to stop chain casting?

janktron

Member
Very new to this, just set up my wizard with kissassist, and curious how to stop him from chain casting on mobs that are immune ( or jsut very high resists) to spells. I have my staff of temperate flux set up to cast only once at 99%, yet it will chain cast it over and over if its resisted. Very annoying, lol
 
Put |Once after the staff name in your ini. It'll only cast it once regardless if it's resisted or not.
 
I think this should work you want to stick this in your charactername ini file in your mq directory, if you dont see the file there in game in your mq window on the wiz type /melee save then check the directory, after editing the ini file you need to /melee load in game

downshit0=/if (${Target.PctHPs}>95 && ${Target.PctHPs}<99 && !${me.casting} $$ !${Target.Buff[Lower Element I].ID}) /cast Staff of Temporal Flux|Item

Placing this into a downshit should make it so it doesn't matter if it spams it between casts for kissassist.
 
KA tries to get the spell to land i believe, so if the spell is resisted it tries again and again to land it, even with DPS1=Staff of Temporal Flux|Once.
 
Looks like the spell timer only gets set for the Once flag if the spell lands on the mob and not resisted. It would be easy to mod this so it set the timer regardless, but would need Maskoi's input on how the Once flag was intended to be used.


if you want to make the mod yourself here is what you would need to change:

Find this code in sub CombatCast

Rich (BB code):
                    /if (${Macro.Return.Equal[CAST_RESIST]}) {
                        /echo ** ${DPS[${i}]} on >> ${Spawn[${DPSTargetID}].CleanName} << - RESISTED
                    }
                    /if (${Macro.Return.Equal[CAST_TAKEHOLD]}) {
                        /echo ** ${DPS[${i}]} on >> ${Spawn[${DPSTargetID}].CleanName} << - DID NOT TAKE HOLD
                        /varset DPSTimer${i} 5m
                        /goto :skipcast
                    }

and make the following changes:

Rich (BB code):
                    /if (${Macro.Return.Equal[CAST_RESIST]}) {
                        /echo ** ${DPS[${i}]} on >> ${Spawn[${DPSTargetID}].CleanName} << - RESISTED
                        /if (${DPSText.Arg[3,|].Length} && ${DPSText.Arg[3,|].Find[once]}) {
                            /varset DPSTimer${i} 5m
                            /goto :skipcast
                        }
                    }
                    /if (${Macro.Return.Equal[CAST_TAKEHOLD]}) {
                        /echo ** ${DPS[${i}]} on >> ${Spawn[${DPSTargetID}].CleanName} << - DID NOT TAKE HOLD
                        /varset DPSTimer${i} 5m
                        /goto :skipcast
                    }
 
Question - spell immune mobs, how to stop chain casting?

Users who are viewing this thread

Back
Top
Cart