Quantcast

I don't need the reputation bar, really

Adrian L Lange [08-13-09 - 16:42]
I don't need the reputation bar, really
Filename
oUF_P3lim.lua
oUF_P3lim.toc
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index b7255c5..598c88b 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -311,25 +311,6 @@ local function styleFunction(self, unit)
 		self.PostUpdateAuraIcon = updateDebuff
 	end

-	if(IsAddOnLoaded'oUF_Reputation' and unit == 'player' and UnitLevel('player') == MAX_PLAYER_LEVEL) then
-		self.Reputation = CreateFrame('StatusBar', self:GetName()..'_reputation', self)
-		self.Reputation:SetPoint('TOP', self, 'BOTTOM', 0, -10)
-		self.Reputation:SetStatusBarTexture(texture)
-		self.Reputation:SetHeight(11)
-		self.Reputation:SetWidth(230)
-		self.Reputation:SetBackdrop(backdrop)
-		self.Reputation:SetBackdropColor(0, 0, 0)
-		self.Reputation.Tooltip = true
-		self.Reputation.PostUpdate = updateReputationColor
-
-		self.Reputation.Text = self.Reputation:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmall')
-		self.Reputation.Text:SetPoint('CENTER', self.Reputation)
-
-		self.Reputation.bg = self.Reputation:CreateTexture(nil, 'BORDER')
-		self.Reputation.bg:SetAllPoints(self.Reputation)
-		self.Reputation.bg:SetTexture(0.3, 0.3, 0.3)
-	end
-
 	if(IsAddOnLoaded('oUF_Experience') and (unit == 'pet' or unit == 'player')) then
 		self.Experience = CreateFrame('StatusBar', self:GetName()..'_experience', self)
 		self.Experience:SetPoint('TOP', self, 'BOTTOM', 0, -10)
diff --git a/oUF_P3lim.toc b/oUF_P3lim.toc
index 055e4d6..72d69d4 100644
--- a/oUF_P3lim.toc
+++ b/oUF_P3lim.toc
@@ -4,7 +4,7 @@
 ## Title: oUF P3lim
 ## Notes: Just another oUF layout
 ## RequiredDeps: oUF
-## OptionalDeps: oUF_BarFader, oUF_DebuffHighlight, oUF_Experience, oUF_Reputation
+## OptionalDeps: oUF_BarFader, oUF_DebuffHighlight, oUF_Experience

 customtags.lua
 oUF_P3lim.lua