#Add WA timeout that counts from 40 seconds when it detects combat log spell

18 messages · Page 1 of 1 (latest)

urban depot
#

I have this WA https://wago.io/pcNR4dNYo and would like to some sort of timeout that:

if SPELL_CAST == Army of the Dead then
Begin 40s counter
if new SPELL_CAST == Army of the dead then refresh 40s counter
If timer reaches 0 then
aura_env.count = 0

Anybody know how to go about this?

Simple counter for AOTD Ghouls. +1 on SPELL_SUMMON, -1 on UNIT_DIED

#

Any method that sets the aura_env.count back to 0, 40 seconds after last Army cast works.

urban depot
#

Okay so I added another Trigger with a 40 second hide timer, and then a condition which sets count to 0 when that trigger is not active anymore. Am I right in assuming that the 40s timer will start over at 40 everytime it sees a Army of the Dead Summon in the combat log?

#

Or do I need to use Dynamic Duration?

urban depot
#

Okay so the above didn't really work. I have changed the Custom text function and tried to combine it with a timer, and also changed the trigger code. Somebody let me know if I'm approaching this wrong

urban depot
#

Alright. I got it working as intended. This is the code for the custom text and the new trigger. But I'm going to attempt to combine the new trigger code with the original trigger that counts Ghouls.

peak mountain
urban depot
#

The intent is to track ALL Army of the Dead Ghouls in a raid scenario. It's not meant for open world use.

peak mountain
peak mountain
#

it doesn't look well made, you should read documentation on custom triggers

urban depot
#

Perhaps easier to avoid CLEU for the trigger which counts ghoul deaths. But when I tried it the first time it was miscounting when many died at the same time.

urban depot
# peak mountain why is the second part of this trigger returning a number?

Not sure what you mean by this. I need something to handle the timer as I need it to refresh when a new Ghoul is spawned. I'm not familiar with dynamic duration so this is the only way I knew to do it as it's directly tied to the triggers "hide" timer. I need the one that counts the ghouls to quickly untrigger so it has time to catch them all, so if I put it all in the same trigger I won't be able to add a longer timer

urban depot
#

Yeah I dunno. I've tried like 6 different ways without the CLEU and with UNIT_SPELLCAST_SUCCEEDED and I can't get it to count right.

peak mountain
#

Is it a channeling?

#

I though it was an instant spell, or a cast that spawn a fixed amount of minions at the end, so maybe your way with events is right