• 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 - I'm having trouble creating condition to check for the presence of Circle of Power in the song window

Joined
Oct 7, 2015
RedCents
334¢
Version of KissAssist.mac?
11.005
When did your problem start?
Always?
Character Role?
  1. Assist
What class is having this issue?
  1. Shaman
How often does this issue occur?
Always
Can you reproduce the issue?
Yes
I have 3 characters who possess a Circle of Power clicky. I want to stagger the effect among all 3. It seems no matter what I try that they call click it within seconds of each other thus wasting the 2nd and 3rd clicks.

1. The beginning char clicks it as part of his burn. He is set to burn on all named.
2. The 2nd character (shaman) clicks it from his DPS section...
DPS14=Rage of Rolfron|90|cond12
3. Condition chain logic:

DPS8=Jinx|97|cond6 ((Fires after malaise, turgurs, several dots, spirit call, and dissident roar. So it takes a good 20 seconds to get here! ))
Cond3=${Target.Named}
Cond10=(${Me.Song[Circle of Power]} > 0)
((The Me.Song part returns the index of the position of the buff in the song window, some positive integer, should evaluate as TRUE if it exists in the song window))
Cond11=(${Target.Buff[Jinx].ID} > 0) ((The Target.Buff part returns the ID number of the Jinx spell, should evaluate as TRUE if Jinx is on the target))
Cond12=${Cond[3]} && !${Cond[10]} && ${Target.PctHPs} < 90 && ${Cond[11]} ((Should evaluate as TRUE if the mob is a named, COP doesn't exist in the song window, the Mob is under 90% hitpoints, and the Mob has Jinx on it thus providing a time delay after engaging.

But it never works. The shaman always hits his clicky within about 15 seconds of the first character hitting his. I've been working on this for days now, and can't figure it out.
 
Try this:
Cond3=${Target.Named}
Cond10=${Me.Song[Circle of Power]} > 0
Cond11=${Target.Buff[Jinx].ID} > 0
Cond12=${Cond[3]} && !${Cond[10]} && ${Target.PctHPs} < 90 && ${Cond[11]}

Of this:
Cond3=${Target.Named}
Cond10=${If[${Me.Song[Circle of Power]} > 0,1,0]}
Cond11=${If[${Target.Buff[Jinx].ID} > 0,1,0]}
Cond12=${Cond[3]} && !${Cond[10]} && ${Target.PctHPs} < 90 && ${Cond[11]}
 
So I'm an idiot!

Circle of Power uses Slot 1 "Persistent Effect" the same as Circle of Life and Circle of Mana. My shaman was casting a Circle of Life clicky in his Burn section! This then "grays" out the clicky for Circle of Power making it look like he had cast it!

Now that I figured that out I'll probably find my original conditions "worked" just fine for COP4...
 
${Me.Song[Name of short buff]} returns the name of the short buff that matches the partial search, IE: if you search ${Me.Song[Chorus of Xigam]} it would return "Chorus of Xigam Rk. II" if it was a rank two song.

You should instead do a ${Me.Song[name of short buff].ID} where .ID will return the Index of the song if one is found.

/echo ${Me.Song[Chorus of Xigam].ID}
would now return 1 if it's in the first song slot. 5 if it's in the 5th song slot etc.

1576482223806.png
this is a /echo using both methods. First one without the .ID at the end, the second one with the .ID at the end.

1576482258525.png

for this test I have Chorus of Xigam Rk. II in the first song slot.

${If[Condition,If its true, if its false]} could work in this scenario as well. But simply getting the ID should work in this case and prevent you from doing the inline if statement.
 
In the case of the above situation, in hindsight. You could use the partial string match to your advantage.

your condition could be Cond#=!${Me.Song[Circle of].ID}

which return the Index in the short buffs if anything starts with "Circle of" this would cover Circle of Life, Power, or any other circle of.

Keep in mind when using partial name matching that being as specific as possible without ruining your condition is the ideal case. IE: you could find any buff that starts with C by doing ${Me.Song[C].ID} and it would return any buff that starts with a C. However, that's obviously not specific enough.

If the intent is to stagger the use of the "Circle of" clickies. Then putting the !${Me.Song[Circle of].ID} would suffice to say if I don't currently have a short buff that starts with Circle of, then I want to use my clicky. It wouldn't matter which circle of XXX was currently active, but having any circle of XXX active would prevent you from using the clicky.
 
Question - I'm having trouble creating condition to check for the presence of Circle of Power in the song window

Users who are viewing this thread

Back
Top
Cart