• 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 - Necro Aggro Management

howlinhoss

Active member
Thinking about a way to FD off aggro on my necro then stand up after a say 10 seconds.

So far I have made a buff entry to cast Death Peace if aggro is > 90% then a script to stand if my state is equal to feign and toon is not sitting.

However, I have not been able to get it to work. Any glaring issues with this entry?


Code:
[AB6]
Gem=9
Spell=Death Peace
SpellFoci=
DurMod=0
SpellAlias=FD
Announce=/bc My aggro is too high - FDing
SpellMinMana=05
TarCnt=1
TarType=self cbt
Recast=FALSE
SpellIcon=
PreCondition=/if ({Me.PctAggro} > 90) /return TRUE

[AB7]
Gem=script
Spell=AggroScript
SpellFoci=
DurMod=0
SpellAlias=AggroCheck
Announce=
SpellMinMana=0
TarCnt=1
TarType=self idle cbt
Recast=FALSE
SpellIcon=
PreCondition=/if (${Me.State.Equal[FEIGN]} && !${Me.Sitting}) /return TRUE

[Script-AggroScript]
Commands=3
C1=delay 10s
C2=/stand
C2=/return
 
Last edited by a moderator:
I am guessing it casts FD but dont stand up?
Yep no stand yet but still testing. Made some revisions since I saw some errors in MB with the delay so I removed that line. Also added in a condition that aggro needs to be less than 80% before it executes stand script.

Code:
[AB6]
Gem=9
Spell=Death Peace
SpellFoci=
DurMod=0
SpellAlias=FD
Announce=/bc My aggro is too high - FDing
SpellMinMana=05
TarCnt=1
TarType=self cbt
Recast=FALSE
SpellIcon=
PreCondition=/if ({Me.PctAggro} > 90) /return TRUE

[AB7]
Gem=script
Spell=AggroScript
SpellFoci=
DurMod=0
SpellAlias=AggroCheck
Announce=
SpellMinMana=0
TarCnt=1
TarType=self idle cbt
Recast=FALSE
SpellIcon=
PreCondition=/if (({Me.PctAggro} < 80) && ${Me.State.Equal[FEIGN]} && !${Me.Sitting}) /return TRUE

[Script-AggroScript]
Commands=2
C1=/stand
C2=/return
 
Yep no stand yet but still testing. Made some revisions since I saw some errors in MB with the delay so I removed that line. Also added in a condition that aggro needs to be less than 80% before it executes stand script.

[AB6] Gem=9 Spell=Death Peace SpellFoci= DurMod=0 SpellAlias=FD Announce=/bc My aggro is too high - FDing SpellMinMana=05 TarCnt=1 TarType=self cbt Recast=FALSE SpellIcon= PreCondition=/if ({Me.PctAggro} > 90) /return TRUE [AB7] Gem=script Spell=AggroScript SpellFoci= DurMod=0 SpellAlias=AggroCheck Announce= SpellMinMana=0 TarCnt=1 TarType=self idle cbt Recast=FALSE SpellIcon= PreCondition=/if (({Me.PctAggro} < 80) && ${Me.State.Equal[FEIGN]} && !${Me.Sitting}) /return TRUE [Script-AggroScript] Commands=2 C1=/stand C2=/return
1701837834065.png please use this one to wrap in code, not inline code. that's doing each line as a code block.
 
I think the best your going to be able to do is call the script if the conditions to FD are met then have the script cast FD, delay then stand. When I was fixing the similar rez script there seemed to be some funky interaction about using conditions to restrict when to call the script. Always evaluated to true or just didnt care and ran the script. Havent had time to dig into it. If this is the case you will need to basically always call the FD script, have it evaluate aggro, FD, delay then stand and return. @woobs might have better insight.
 
Currently, AB Scripts do not check the PreCondition. They just execute the script. You could move your precondition to the first line of the script and see if that helps.

This may be something more suitable for a MQ2Melee Downshit. For instance, I was using the following on my necro to remove a buff when he didn't have a regen buff on him (so he didn't kill himself).

downshit0=/if (!${Me.Regen.ID} && ${Me.Buff[Flesh to Venom Rk. II].ID} && ${Me.PctHPs}<80) /multiline ; /removebuff "Flesh to Venom";/bc No Regen - Removing Flesh to Venom

For context, I also did it this way so that it would get removed even if I had the macro paused (or ended). You might try a variation.
 
Last edited:
Currently, AB Scripts do not check the PreCondition. They just execute the script. You could move your precondition to the first line of the script and see if that helps.
That explains allot and solves one of my headaches. Thought this might be the case. Thnx for the definitive.
 
Question - Necro Aggro Management

Users who are viewing this thread

Back
Top
Cart