#Triggering once per add set

10 messages · Page 1 of 1 (latest)

muted sand
#

I'm trying to set up a WA for the Mythic Dimensius fight that triggers once per set of adds - basically, once an add reaches 1 HP on each set, it starts to cast a full heal, and I'd like to show that cast bar - but only for the first add that triggers it per set (I don't want the cast bar restarting when subsequent adds hit 1 HP, and I don't want to see multiple bars - just that first bar, showing the one important instance of the cast).

I thought of using the Count option within some trigger types, but I'm not positive how many times the cast might trigger per set. It might be possible (first add set is 6 adds and subsequent are 4 adds, so perhaps I could trigger on 1, 6, 10, 14), but I'm not sure if that'll work.

Is there a better way only allow the first instance of a trigger to be recognized until that trigger has expired completely?

unkempt vault
muted sand
#

nice, this is very helpful ty! does yours only trigger once per set? even if not, this clued me in that it's an aura and not a cast. i think i could set up a variable like cast_started and set that to false, then each time the aura is applied, either flip it to true and start the progress bar, or just do nothing, and then flipping it back to false when the aura is removed for any unit (signifying all adds are dead)

unkempt vault
#

It's a channel and a buff. Channels start with a CAST_SUCCESS so that could be used also. AURA_APPLIED comes with AURA_REMOVED though so those give all that's needed to hide the bar if they all die.

#

And yes it shows the info you want

muted sand
#

yea for some reason WCLogs don't show the cast start for those channels, but it does show the aura (which wasn't showing on my nameplates for some reason)

#

this is a great help ty!

#

oh i see, it's the if not s[""] then check in your trigger, right? so it'll trigger once (setting the "" value in the s table to the progress bar you're creating), and then it won't trigger again until that value from the table is removed by the SPELL_AURA_REMOVED subevent, right?

unkempt vault
#

Exactly.

muted sand
#

perfect, thanks so much!