Quantcast

Slight mana color change

p3lim-52096 [08-18-08 - 17:31]
Slight mana color change
DruidMana support fixed

git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@11 8c7459ed-49dc-4bc8-85d7-b6381a8f5413
Filename
oUF_P3lim/oUF_P3lim.lua
diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua
index 4e792ee..96e056a 100644
--- a/oUF_P3lim/oUF_P3lim.lua
+++ b/oUF_P3lim/oUF_P3lim.lua
@@ -1,6 +1,6 @@
-oUF.colors.power[0].r = 0.0
-oUF.colors.power[0].g = 0.8
-oUF.colors.power[0].b = 1.0
+oUF.colors.power[0].r = 0
+oUF.colors.power[0].g = 144/255
+oUF.colors.power[0].b = 1

 local dummy, pClass = UnitClass('player')

@@ -208,7 +208,7 @@ local function style(settings, self, unit)

 		self.Name:Hide()

-		if(class == 'DRUID') then
+		if(pClass == 'DRUID') then
 			self.DruidManaBar = CreateFrame('StatusBar', nil, self)
 			self.DruidManaBar:SetHeight(1)
 			self.DruidManaBar:SetStatusBarTexture('Interface\\AddOns\\oUF_P3lim\\minimalist')