• 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

Question - How to code to know if your have a combat ability running

Joined
Dec 24, 2017
RedCents
1,813¢
So I have some Ohshitconditions like below.


OhShit7=Tylix's Carapace Rk. II

OhShitCond7=!${Me.CombatAbilityReady[Deflection Discipline]} && !${Me.CombatAbilityReady[Cursed Guardian Discipline Rk. II]} && ${Me.CombatAbilityReady[Tylix's Carapace Rk. II]} && ${Target.Named}

My problem is the when Deflection is used and not available and Cursed Guardian is also used BUT still running on me, Tylix skin keeps trying to pop on me, creating huge spam waves of text. Is there a way to Declare I have a combat ability running on me so the above statement would be false until the disc actually ran out? THen allowing Tylix's skin to pop?
 
I think it's Me.ActiveDisc.ID or something, search changes.txt

04 Jan 2014 by eqmule
-Added ActiveDisc to the Character TLO, it returns a pSpellType if a discipline is active. (otherwise NULL)


usage: /if (${Me.ActiveDisc.ID}) {
/echo Yes I am using a Discipline, and its ${Me.ActiveDisc.Name}, the spell id is ${Me.ActiveDisc.ID}
}

Thank you!:banjo::banjo:

I assume it would look like this:

OhShit7=Tylix's Carapace Rk. II

OhShitCond7=!${Me.CombatAbilityReady[Deflection Discipline]} && !${Me.CombatAbilityReady[Cursed Guardian Discipline Rk. II]} && ${Me.CombatAbilityReady[Tylix's Carapace Rk. II]} && ${Target.Named} && !${Me.ActiveDisc.ID}
 
Question - How to code to know if your have a combat ability running

Users who are viewing this thread

Back
Top
Cart