I've been trying to show a graphic under 3 conditions for my searing totem while in combat:
1. Searing Totem is not up
2. Fire Elemental Totem is on cooldown
3. Searing Totem has <4 seconds remaining
I used the triggers from this thread: wowace.com/addons/weakauras/forum/54521-searing-totem-duration-trigger/
(Sorry, can't post links yet. This is my first post.)
**Trigger 1**
* Type: Status
* Status: Totem
* Totem Type: Fire
* Totem Name: Searing Totem
**Trigger 2**
* Type: Custom
* Event Type: Status
* Check On... : Every Frame
Custom Trigger:
Code:
function()
local arg1, totemName, startTime, duration = GetTotemInfo(1)
local time = floor(startTime+duration-GetTime() )
if time <4 then -- 10 sec ot the timer u wish
return true
end
end
Custom Untrigger:
Code:
function()
return true
end
This all works well; the graphic displays when I'm in combat and searing totem is not up or has less than 4 seconds duration. However, I can't figure out what trigger to add in order to check if Fire Elemental Totem is on cooldown without disregarding the other 2 triggers.
I'm worried if I set WeakAuras to match "any triggers" that the graphic will show up when Fire Elemental Totem is on cooldown even if I already have a searing totem up.
Is there any way to do what I'm asking?