Hey Everyone! Trying to make a weakaura with a bunch of conditions for Garrote but the custom function isn’t working. I’ve tried it a hundred different ways but either the logic is wrong or my understanding of the custom functions is wrong.
Here’s the variables
trigger[1] = Garrote is missing
trigger[2] = Garrote <= 5 seconds remaining
trigger[3] = < 5 Combo Points
trigger[4] = Garrote Not on Cooldown
Here’s the function:
function(trigger)
return (trigger[1] or trigger[2]) and (trigger[3] and trigger[4]);
end
So in my mind, it shouldn’t trigger unless BOTH (Garrote is missing OR Garrote has <= 5 seconds remaining) AND I have less than 5 combo points AND Garrote is not on cooldown.
But the moment Garrote comes off cooldown the Aura triggers.
What am I missing?
I’m having a similar issue with Rupture
trigger[1] = Rupture is missing
trigger[2] = Greater than or Equal >= 4 Combo Points
trigger[3] = Rupture has Less than or equal <= 8 seconds remaining
return trigger[2] and (trigger[1] or trigger[3]);
So it should only show when I have 4+ Combo Points AND EITHER Rupture is missing OR it has 8 seconds or less on the current one.
But it always shows the moment I hit 4+ combo points.
Thank you!
EDIT:
Figured it out.
All my debuff trackers were set to track on Player NOT on Target. Idiot!