From 38c79eb22fcd81c1ced0bf6d229039762c1b52d1 Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Fri, 3 Oct 2008 22:19:56 +0000 Subject: [PATCH] Update to reflect changes in Plug-in git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@28 8c7459ed-49dc-4bc8-85d7-b6381a8f5413 --- oUF_P3lim/oUF_P3lim.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua index 17a0438..2ec5c30 100644 --- a/oUF_P3lim/oUF_P3lim.lua +++ b/oUF_P3lim/oUF_P3lim.lua @@ -156,6 +156,8 @@ local function CreateStyle(self, unit) self.Power.text = self.Power:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmall') self.Power.text:SetPoint('LEFT', self.Health, 2, -1) + self.barFade = true + if(IsAddOnLoaded('oUF_Experience')) then self.Experience = CreateFrame('StatusBar', nil, self) self.Experience:SetPoint('TOP', self, 'BOTTOM', 0, -10) @@ -184,8 +186,6 @@ local function CreateStyle(self, unit) self.Spark:SetWidth(8) self.Spark.manatick = true - self.BarFade = true - if(IsAddOnLoaded('oUF_DruidMana') and class == 'DRUID') then self.DruidMana = CreateFrame('StatusBar', nil, self) self.DruidMana:SetPoint('BOTTOM', self.Power, 'TOP') @@ -202,7 +202,6 @@ local function CreateStyle(self, unit) self.Power.colorPower = true self.Power.colorHappiness = true self.Power.colorReaction = false - self.BarFade = true self.Buffs = CreateFrame('Frame', nil, self) self.Buffs:SetPoint('TOPRIGHT', self, 'TOPLEFT', -2, 1) -- 1.7.9.5