From 0e003a7831d26ebb0eeeeed5784cae15daeae337 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 2 Nov 2012 14:54:33 +0100 Subject: [PATCH] Revert "Only show Experience when plugin is present" This reverts commit 87a71772bae68ed91c0871b1379860816c4afc18. --- oUF_P3lim.lua | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 39b93a0..fd5b73c 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -192,26 +192,24 @@ local UnitSpecific = { PowerValue.frequentUpdates = 0.1 self:Tag(PowerValue, '[|cffffff00>holypower<|r ][p3lim:power][ >p3lim:druid][ | >p3lim:spell]') - if(IsAddOnLoaded('oUF_Experience')) then - local Experience = CreateFrame('StatusBar', nil, self) - Experience:SetPoint('BOTTOM', 0, -20) - Experience:SetSize(230, 6) - Experience:SetStatusBarTexture(TEXTURE) - Experience:SetStatusBarColor(0.15, 0.7, 0.1) - self.Experience = Experience - - local Rested = CreateFrame('StatusBar', nil, Experience) - Rested:SetAllPoints() - Rested:SetStatusBarTexture(TEXTURE) - Rested:SetStatusBarColor(0, 0.4, 1, 0.6) - Rested:SetBackdrop(BACKDROP) - Rested:SetBackdropColor(0, 0, 0) - Experience.Rested = Rested - - local ExperienceBG = Rested:CreateTexture(nil, 'BORDER') - ExperienceBG:SetAllPoints() - ExperienceBG:SetTexture(1/3, 1/3, 1/3) - end + local Experience = CreateFrame('StatusBar', nil, self) + Experience:SetPoint('BOTTOM', 0, -20) + Experience:SetSize(230, 6) + Experience:SetStatusBarTexture(TEXTURE) + Experience:SetStatusBarColor(0.15, 0.7, 0.1) + self.Experience = Experience + + local Rested = CreateFrame('StatusBar', nil, Experience) + Rested:SetAllPoints() + Rested:SetStatusBarTexture(TEXTURE) + Rested:SetStatusBarColor(0, 0.4, 1, 0.6) + Rested:SetBackdrop(BACKDROP) + Rested:SetBackdropColor(0, 0, 0) + Experience.Rested = Rested + + local ExperienceBG = Rested:CreateTexture(nil, 'BORDER') + ExperienceBG:SetAllPoints() + ExperienceBG:SetTexture(1/3, 1/3, 1/3) if(select(3, UnitClass('player')) == 11) then local Savage = {} -- 1.7.9.5