So I have my raid frames set up at the moment to display a . for each buff I have on people (White for Fort, Blue for Spirit, Purple for Shadow).
Code:
[Outline][(if HasAura("Power Word: Fortitude") or HasAura("Prayer of Fortitude") then
".":White
end) (if HasAura("Divine Spirit") or HasAura("Prayer of Spirit") then
".":Color("008aff")
end) (if HasAura("Shadow Protection") or HasAura("Prayer of Shadow Protection") or HasAura("Shadow Resistance Aura") then
".":Color("8300fd")
end)]
What I tried to do last night to make thing cleaner was change it so that it would only display those periods if the person did not have the buff on them.
Code:
(if not HasAura(...) then ... end)
But it seemed like it only worked when I right clicked my buffs and rebuffed myself with the 30-min version. I didn't get a chance to test it out extensively and now the servers are down, so I'm just wondering if my logic on this is correct, or if I'm doing something wrong.