hi,
i have a question regarding aurabar(buff) colouring;
Code:
if(reaction == 'HARMFUL') then
if(cfg.BarTimers_Color_by_Debuff) then
local debufftype = bar.timer.debuffType
local color = DebuffTypeColor[debufftype] or DebuffTypeColor.none
bar:SetStatusBarColor(color.r, color.g, color.b)
bar.spark:SetVertexColor(color.r, color.g, color.b)
else
bar:SetStatusBarColor(1, 0, 0)
bar.spark:SetVertexColor(1, 0, 0)
end
else
bar:SetStatusBarColor(0.15, 0.35, 0.55)
bar.spark:SetVertexColor(0.15, 0.35, 0.55)
end
bar:Show()
how can i change this code to also show
my own buffs in matching color and not just predefined colour?
i tried to copy en edit from another layout but it seems that the more i edit, the more i have to copy from the other layout
and if not, i might just install the other layout and use it