• 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 - how to make a condition to rotate disc ?

Chanticleer

yells at clouds
Creator
how would I go about making a disc rotation for kiss ,

like I want it to go

Deflection
Cursed Guardian
Imp Influence
Krellnakor mantle


what I am wanting it to do is if there is a disc going when namer is pulled it stops it and Activates deflection and then when Deflection is down cursed ect.,.... how would I do this ?
 
how would I go about making a disc rotation for kiss ,

like I want it to go

Deflection
Cursed Guardian
Imp Influence
Krellnakor mantle


what I am wanting it to do is if there is a disc going when namer is pulled it stops it and Activates deflection and then when Deflection is down cursed ect.,.... how would I do this ?

Code:
first I need it to cancel my current disc so I can toss a different one --- If i have culminating stand available but i'm using a diff disc, I want to cancel it and use culminating for the named
DPS1=command:/stopdisc|100|Cond5
Cond5=${Me.ActiveDisc.ID} && ${Target.Named} && ${Me.ActiveDisc.Name.NotEqual[Culminating Stand Discipline]} && ${Me.CombatAbilityReady[${Spell[Culminating Stand Discipline].RankName}]}
DPS2=Culminating Stand Discipline|100|Cond6
Cond6=!${Me.ActiveDisc.ID} && ${Target.Named} && ${Me.CombatAbilityReady[${Spell[Culminating Stand Discipline].RankName}]}
then it would just do the next abilities available with whatever conditions met etc
 
KISS won't use discs in order like that. It knows nothing about what came before, only the current state of things in the moment. You would need to use conditions like @Sic shows and replace Last Stand with Deflection, in your case. Then for Cursed Guardian you would want a condition like so:
Code:
cond#=!${Me.ActiveDisc.ID} && !${Me.CombatAbilityReady[${Spell[Deflection].RankName}]}
For Imp Influence:
Code:
cond#=!${Me.ActiveDisc.ID} && !${Me.CombatAbilityReady[${Spell[Deflection].RankName}]} && !${Me.CombatAbilityReady[${Spell[Cursed Guardian].RankName}]}
For Krellnakor mantle
Code:
cond#=!${Me.ActiveDisc.ID} && !${Me.CombatAbilityReady[${Spell[Deflection].RankName}]} && !${Me.CombatAbilityReady[${Spell[Cursed Guardian].RankName}]} && !${Me.CombatAbilityReady[${Spell[Imp Influence].RankName}]}

This would use them in the order you want, but would not use them under any other circumstances. So you would effectively be locked into using these discs in this fashion.
 
so I have to have a line for each disc ? or can they all be in same line like cond#=!${Me.ActiveDisc.ID} && !${Me.CombatAbilityReady[${Spell[Deflection].RankName}]} && !${Me.CombatAbilityReady[${Spell[Cursed Guardian].RankName}]} && !${Me.CombatAbilityReady[${Spell[Imp Influence].RankName}]}
 
so I have to have a line for each disc ? or can they all be in same line like cond#=!${Me.ActiveDisc.ID} && !${Me.CombatAbilityReady[${Spell[Deflection].RankName}]} && !${Me.CombatAbilityReady[${Spell[Cursed Guardian].RankName}]} && !${Me.CombatAbilityReady[${Spell[Imp Influence].RankName}]}

No. I don't think that will accomplish what you are after. The condition you used above would only let Krellnakor mantle activate and that is only if all other discs are not ready.

What @Many_Whelps explained is what you want to do, but I would only check for the previous disc not being active not all previous discs.

To fire Cursed Guardian I would check if Deflection is not ready, to fire Imp Influence I would check if Cursed Guardian is not ready, to fire Krellnakor mantle, I would check if Imp Influence is not ready. You would still need to include all the additional logic provided by @Sic and SA_krycek.
 
how would I go about making a disc rotation for kiss ,

like I want it to go

Deflection
Cursed Guardian
Imp Influence
Krellnakor mantle


what I am wanting it to do is if there is a disc going when namer is pulled it stops it and Activates deflection and then when Deflection is down cursed ect.,.... how would I do this ?


Code:
holyshit4=/if (!${Me.ActiveDisc.ID} && ${Target.Distance}<75 && ${Me.PctEndurance}>5 && (${Target.Named} || ${Me.XTarget}>2 || ${Target.Level}>=${Math.Calc[${Me.Level}+3]} || ${Me.PctHPs}<75)) ${If[${Me.AltAbilityReady[Group Armor of the Inquisitor]},/casting "Group Armor of the Inquisitor" ALT,${If[${Me.CombatAbilityReady[${Spell[Blessed Guardian Discipline].RankName}]},/disc ${Spell[${Spell[Blessed Guardian Discipline].RankName}].ID},${If[${Me.CombatAbilityReady[${Spell[Kar'Zok Mantle].RankName}]},/disc ${Spell[${Spell[Kar'Zok Mantle].RankName}].ID},${If[${Me.CombatAbilityReady[${Spell[Armor of Mercy].RankName}]},/disc ${Spell[${Spell[Armor of Mercy].RankName}].ID},${If[${Me.CombatAbilityReady[${Spell[Reflexive Righteousness].RankName}]},/disc ${Spell[${Spell[Reflexive Righteousness].RankName}].ID},${If[${Me.AltAbilityReady[Fundament: First Spire of Holiness]},/casting "Fundament: First Spire of Holiness" ALT,]}]}]}]}]}]}


That's the condition that I use on my paladin to rotate discs. Just replace with your warrior stuff or use the similar syntax. Watch your ]'s and }'s as obviously there's a whole lot of them.
 
Question - how to make a condition to rotate disc ?

Users who are viewing this thread

Back
Top
Cart