• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

RoS Defensive- Holyshit

Warl0ck45

Well-known member
Joined
Jan 31, 2014
RedCents
8,554¢
Can't seem to find the thread discussing ${If[,,]} statements... so this may be a might confusing.

Basically this is putting all the PAL/SK defensive disc's into one holyshit. First I will space it out so it it makes a little better sense:

Rich (BB code):
holyshit1=/if (!${Me.ActiveDisc.ID} && ${Target.Distance}<75 && ${Me.PctEndurance}>5 && ${Target.Assist} && (${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,
]}]}]}]}]}]}

!${Me.ActiveDisc.ID} = if there is no active disc
${Target.Distance}<75 = Target is closer then 75 (change to what ever you like)
${Me.PctEndurance}>5 = endurance percentage is over 5% (no sense spamming trying to do a disc you don't have end for)

if all of these are true, then we move on to the special section...

(${Target.Named} || ${Me.XTarget}>2 || ${Target.Level}>=${Math.Calc[${Me.Level}+3]} || ${Me.PctHPs}<75)

4 part check, will return true if:

target is named
toon has over 2 mobs on XTarget list
target is 3 levels or higher then toon
toon's HPs drop below 75 (change to what ever you like)

if any of those 4 things are true, we activate a defensive measure. In this case the order is:

Group Armor of the Inquisitor - AA (so will fire if up)
Blessed Guardian Discipline - Disc 1
Kar'Zok Mantle - Disc 2 (fires if disc 1 is not available)
Armor of Mercy - Disc 3 (fires if disc 2 is not available)
Reflexive Righteousness - Disc 4 (you guessed it...)
Fundament: First Spire of Holiness - AA

This way the plugin is not checking 6 lines with basically the same conditions over and over, but rather checking the conditions once, and then firing the first thing that it can.

Thus the line looks like this for paladins.

Rich (BB code):
holyshit1=/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,]}]}]}]}]}]}

Figured since I was updating mine, I might save someone else a little work
 
so for the sk we just change the name of the discs?

Can, sure. I just haven't leveled my SK yet, so hadn't updated his holyshit. But the idea ought to still be solid =)
 
Rich (BB code):
downshit1=/if (${Me.PctEndurance}<25 && !${Me.Song[Breather].ID} && ${Me.CombatAbilityReady[${Spell[Breather].RankName}]} && ${Me.CurrentEndurance}>100 && !${Select[${Zone.ID},345,344,202,203,279,151,33506]} && !${Melee.DiscID}) /disc ${Spell[Breather].RankName}
holyshit1=/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,]}]}]}]}]}]}
holyshit10=/if ((${Me.TargetOfTarget.ID}!=${Me.ID} || ${Me.SecondaryPctAggro}>80) && ${Group.MainTank.ID}==${Me.ID} && ${Me.CombatAbilityReady[${Spell[Unyielding Affirmation].RankName}]}) /disc ${Spell[Unyielding Affirmation].RankName}
holyshit11=/if (${Me.AltAbilityReady[Marr's Gift]} && ${Me.PctMana}<80) /alt activate 1282
holyshit12=/if (!${Target.Slowed.ID} && ${Me.Inventory[mainhand].ID}!=133167  && (!${SpawnCount[pc slower group]}  || ${SpawnCount[pc group slower]} && ${Spawn[pc group slower].Type.Equal[Corpse]}) && ${Target.Body.Name.NotEqual[Undead]}) /Bandolier Activate Slow
holyshit13=/if (${Target.Slowed.ID} && ${Me.Inventory[mainhand].ID}!=148825) /Bandolier Activate 1Hand
holyshit14=/if (${Cast.Ready[Necromantic Dragon Bone]} && ${Target.PctHPs}<96 && ${Me.PctAggro}>50)   /casting "Necromantic Dragon Bone" item
holyshit15=/if (${Target.Body.Name.Equal[Undead]} && ${Me.AltAbilityReady[Vanquish the Fallen]}) /alt activate 2029
holyshit16=/if (${Me.PctHPs}<60 && ${Me.AltAbilityReady[Hand of Piety]}) /alt act 180
holyshit17=/if (${Me.PctHPs}<40 && ${Me.AltAbilityReady[Lay on Hands]}) /multiline; /target ID ${Me.ID}; /alt act 6001
holyshit18=/if ((${Me.TargetOfTarget.ID}!=${Me.ID} || ${Me.PctAggro}<100) && ${Group.MainTank.ID}==${Me.ID} && ${Melee.AggroMode} && ${Me.AbilityReady[Taunt]}) /doability taunt
holyshit19=/if (${Me.SpellReady[${Spell[Splash of Atonement].RankName}]} && ${Me.PctMana}>10 && ${Target.CanSplashLand} && (${Me.Diseased.ID} || ${Me.Poisoned.ID} || ${Me.Cursed.ID})) /casting "${Spell[Splash of Atonement].RankName}" Gem6
holyshit2=/if (${Me.SpellReady[${Spell[Force of the Timorous Deep].RankName}]} && ${Me.PctMana}>10) /casting "${Spell[Force of the Timorous Deep].RankName}" Gem2
holyshit20=/if (${Me.SpellReady[${Spell[Lesson of Expiation].RankName}]} && ${Me.PctMana}>10) /casting "${Spell[${Spell[Lesson of Expiation].RankName}].ID}"
holyshit21=/if (${Me.SpellReady[${Spell[Crush of E'Ci].RankName}]} && ${Me.PctMana}>10) /casting "${Spell[${Spell[Crush of the Timorous Deep].RankName}].ID}"
holyshit3=/if (${Me.SpellReady[${Spell[Devout Audacity].RankName}]} && ${Me.PctMana}>10) /casting "${Spell[Devout Audacity].RankName}"
holyshit4=/if ((${Me.TargetOfTarget.ID}!=${Me.ID} || ${Me.SecondaryPctAggro}>80) && ${Group.MainTank.ID}==${Me.ID} && ${Me.AltAbilityReady[Projection of Piety]}) /alt act 3216
holyshit5=/if (${Me.SpellReady[${Spell[Force of Mercy].RankName}]} && ${Me.PctMana}>10) /casting "${Spell[${Spell[Force of Mercy].RankName}].ID}"
holyshit6=/if (${Me.AltAbilityReady[Banestrike]} && ${Target.Distance}<=50) /alt activate 15073
holyshit7=/if (${Cast.Ready[Blood Drinker's Coating]} && !${Me.Song[Vampiric Aura].ID})   /casting "Blood Drinker's Coating" item
holyshit8=/if (${Me.SpellReady[${Spell[Harmonious Blessing].RankName}]} && ${Me.PctMana}>10) /casting "${Spell[${Spell[Harmonious Blessing].RankName}].ID}"
holyshit9=/if (${Me.AltAbilityReady[489]}) /alt activate 489

Some folks was asking so, here is the rest of what my pally uses (till I get the others leveled anyways, heh)

If you ware looking to use these, may want to remove the item casts if you don't have the items.

I also have a slow stick on my pally I use when there is not a slower in the group. May want to take that out as well =)
 
RoS Defensive- Holyshit

Users who are viewing this thread

Back
Top
Cart