WeakAuras help - revenge proc
Disclaimer: I'm using weakauras2, which you can find here: https://github.com/Bunny67/WeakAuras-WotLK
If you've got a solution using the old 2.0.8 version, I've got that on my PC somewhere too, but I thought the more versatile version would stand a better chance.
I'm currently trying to set up a weakaura to track when my revenge is usable, for PvP reasons.
Revenge can only be used after I dodge/parry/block, an attack or ability. Tracking whether the ability is 'Usable' doesn't work, since it wouldn't show up in battle stance (revenge is only usable in def stance). However, I need to know if I can use it after swapping to def, even in my other stances.
The way I went about it cause of this, is making 6 triggers (enemy swing parry, enemy swing dodge, enemy swing block, enemy ability parry, enemy ability dodge, enemy ability block), which all trigger the same Icon, showing me I've got a proc. The procs last for 4 seconds (unlike with rend procs, there isn't a buff on my character, 4s is just how long I've got to use the ability), so that's how long I put the 'hide' function for.
https://imgur.com/e3HV4rt
https://imgur.com/ueML4lN
However, If I use the proc, and do a revenge, the icon doesn't disappear (I want it to be gone until my next proc for obvious reasons). Only after 4 seconds does it disappear, as per the settings, which makes sense.
Does anyone know of a way to make the triggers untrigger when the ability is cast? I tried adding a 7th trigger which is me casting Revenge, and setting up the 'conditions' so that the opacity goes to 0 when it's triggered, but that doesn't work. The last trigger needs a timer as well, but the timer I would set here would be a duration when following procs are suppressed. So I need a method that clears the previous triggers when I cast the ability, but then lets new procs flow in. Basically an event-like hide.
The most obvious would be a programmable untrigger for combat log events, but that doesn't exist in this version of the addon. Custom triggers altogether could solve the issue, but I don't know how to do those.
Here is the import string of the addon in its current state, if anyone wants to experiment with it:
!WA:2!fA1tpTXrB8AHAOAvvlXP1VHuLexAdn0(20eGW7HOifwW M4wcgwBcbfO2ZU7SENW6D2mZSaMB1NqQ38hbFUN8P2BvOk1RJq vvVNrQ9CfFc6Zm7ABOkwDLsyEMN))BM53JZumBZSUzDp(R6sCO HvOXmhCg2HL984yXtFI9F8t)6kU)vxZI2iN9Cz0iFwRuL)SDJk R8))2FPhk0XNYwNscf2lvyTQfSIMWjMlOnRIpuSzKlsGTJ1)5e hknWLEqyb3gy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