#Raidframe glow tracking multiple buffs on a single unit.

31 messages · Page 1 of 1 (latest)

naive path
#

Does anyone have an example of a weakaura that will make a unitframe glow when the unit has “buff 1” but not “buff 2”?

If it’s needed, I am specifically trying to make raidframes glow when that unit has Chi Harmony but does not have Enveloping Mist. I’ve played around with this some and and can get this to work for a “player” aura, but it breaks down when I switch to smart group auras.

royal fjord
#

You should be able to do this with two triggers. 1st Trigger->Aura-> Smart Group->buff-> Chi Harmony->Auto-Clone->Combine matches per unit-> Show matches for Affected

2nd Trigger->Aura->Smart Group->buff->Enveloping Mist->Auto-Clone->Combine matches per unit->Show matches for Unaffected

Then Require all Triggers.

If you want to make the unit frame glow then add a glow external->unit frame in the actions on show and check Hide glows applied by this aura in Actions On hide.

naive path
#

So, I believe I set this up but I still see very strange behavior when I am in a group. Could you tell me if this looks right? https://wago.io/_BJMQGchq

#

The thing I am most confused about is the group behavior changes when I change the order of the triggers, which I wouldn't think should happen with "all triggers" required for action

royal fjord
#

The dynamic info comes from first active trigger but that shoudn't matter if you're only interested in the glow

naive path
#

As far as I know I am not actually using that dynamic info anywhere

royal fjord
#

You didn't set Hide all Glows applied by this aura in Actions On Hide

#

it's a checkbox

naive path
#

Thank you. I've gone in and checked that box but I am still missing something.

#

In this screenshot I've applied chi harmony to the leftmost player and all frames started glowing.

#

When I applied Enveloping Mist to the leftmost player they stopped glowing but everyone else remained.

royal fjord
#

Then the logic for the triggers is wrong. I may have gotten it wrong

#

I didn't test

naive path
#

Okay I'll keep poking at it. Thanks.

royal fjord
#

You might want to use Show Affected for Both auras and use a custom activation

#
function(t)
   return t[1] and not t[2]
end
#

in my head those solutions are identical though

#

maybe not

naive path
#

Yeah I agree they are logically the same and one of my first attempts was with
function(trigger)
return not trigger[1] and trigger[2];
end

#

With trigger 1 being enveloping mist

royal fjord
#

so you want the glow on a target that has chi and doesn't have envelop right?

#

I think i see what's happening

#

When you apply Chi. It evaluates all units

#

same with envelop

#

I've done something like this before don't remember the solution

#

I think my solution ended up being custom

naive path
#

Yeah something like that is happening. I went ahead and changed to the custom activation above for this one.
The leftmost player has Enveloping Mist and the second to the left has Chi Harmony. The second unit frame was glowing until the Enveloping Mist went onto the other player.

royal fjord
#

I got it to work I think correct applying the glow in a condition like this

#

using unaffected in the trigger

naive path
#

Yeah I found this #pins message and it appears that Conditions are evaluated in a different manner than Triggers. I did have to add an additional condition to hide the glow when either Aura 1 (Chi Harmony) is false OR Aura 2 (Env) is true. From there I switched the trigger activation to Any so that it would continue to evaluate while either of the buffs is present so that it would properly remove the glow in all cases.

#

Thank you for the help! I am going to continue to tinker with this WA but I am going to provisionally mark this solved.