• 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 - Condition question

Trying to figure out if I am over complicating conditions. I have been formatting my conditions as follows:

Cond1=${Target.Named} && ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}-1]} && ${Me.CombatAbilityReady[Puretone Discipline]} || ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}+3]} && ${Me.CombatAbilityReady[Puretone Discipline]}

I am wondering if I need the CombatAbilityReady part. Would:

Cond1=${Target.Named} && ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}-1]} || ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}+3]}

give me the same results? Guess I am wondering if KissAssist has something that would do the CombatAbilityReady check and I am just adding code to process unnecessarily or if the CombatAbilityReady part would be helpful or necessary.




Guess since I have the post going, if I used a condition like:

Cond1=${Target.Named} && ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}-1]} || ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}+3]}

could I use it for multiple dps spells? Meaning if I had:

DPS1=Spell1|Cond1
DPS2=Spell2|Cond2

Cond1=${Target.Named} && ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}-1]} || ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}+3]}
Cond2=${Target.Named} && ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}-1]} || ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}+3]}

Could I convert it to:

DPS1=Spell1|Cond1
DPS2=Spell2|Cond1

Cond1=${Target.Named} && ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}-1]} || ${Me.XTarget[1].Level}>=${Math.Calc[${Me.Level}+3]}

to simplify things?

Thanks for any info or opinions, AnotherJohn
 
Last edited:
Yeah as Sic mentioned, you can skip abilities checks assuming the ability is what you're firing. One exception is if you fire something via "command" and then you'd want to check if it's ready. KA doesn't check anything for command lines.

Yes you can use the same cond for multiple entries even for different sections (DPS/Heals/Burn.)
 
Question - Condition question

Users who are viewing this thread

Back
Top
Cart