#Duration timer from first SPELL_PERIODIC_HEAL

13 messages · Page 1 of 1 (latest)

stark jolt
#

Hey, I'm trying to create a WA to track the duration of "Divine Favor: Sanctuary" which is a Holy priest spell triggered by having "Divine Word" active and casting "Holy Word: Sanctify".

The only thing I'm able to find for this spell is a CLEU:SPELL_PERIODIC_HEAL event. Since the periodic heal obviously ticks, the duration gets reset every time a new event comes in.

Any ideas on how to go about starting a timer when 1 event comes in and then ignoring the rest for the duration of the event? Or possibly just a better way of tracking the spell in the first place.

https://wago.io/pPBnV7at9

Wago.io is a database of sharable World of Warcraft addon elements

winged ocean
#

If you're the source then can't you just use the cast success?

stark jolt
#

There is a cast success for "Holy Word: Sanctify" but the spell on triggers when "Divine Word" is also active. I guess creating two triggers for the Divine Word aura and 1 for Sanctify success might work.

#

Hmm, so now the issue is if I have 2 triggers, 1 for the Aura and 1 for spell success, if I do All triggers, it doesn't work since the Aura disappears once spell cast succeeds. If i do Any triggers, then it's active too often since I only want it when Aura was active WHILE the cast succeeded.

winged ocean
#

I don't really know the spells. You want to track when an ability does a random proc basically? And the only event to show the random thing occurred is the HOT?

stark jolt
#

essentially, but its not a random proc. its caused by casting one spell and then another

#
#

This is for the Sanctify heal over time.

#

The other 2 are easy because they are just auras

winged ocean
#

So you could track the casts directly.
Or use the periodic thing. Catch the cast success of the spell that actually causes it, then if you get the first periodic within a few frames (or however long you'd expect) then start the timer and clear the saved start time

stark jolt
#

yea, so I would probably need a custom TSU then to keep track of everything

#

ooo i figured out a better way. i just did 2 triggers, 1 for SPELL_AURA_REMOVED for Divine Word with a 15 second duration and 1 for SPELL_CAST_SUCCEEDED for Sanctify with the same duration and did All triggers.