Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-18-15, 07:55 AM   #1
kawe
A Cyclonian
 
kawe's Avatar
Join Date: Sep 2009
Posts: 40
oUF_lumen

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
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF_lumen


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off