<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -123,6 +123,11 @@ local function UpdateDruidPower(self)
 	end
 end
 
+local function PostUpdateReputation(self, event, unit, bar)
+	local _, id = GetWatchedFactionInfo()
+	bar:SetStatusBarColor(FACTION_BAR_COLORS[id].r, FACTION_BAR_COLORS[id].g, FACTION_BAR_COLORS[id].b)
+end
+
 local function PostUpdateHealth(self, event, unit, bar, min, max)
 	bar:SetStatusBarColor(0.25, 0.25, 0.35)
 	if(not UnitIsConnected(unit)) then
@@ -197,7 +202,6 @@ local function CreateStyle(self, unit)
 	self.Health:SetStatusBarTexture(texture)
 	self.Health:SetHeight(22)
 	self.Health.frequentUpdates = true
-	self.Health.Smooth = true
 
 	self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmallRight')
 	self.Health.Text:SetPoint('RIGHT', self.Health, -2, -1)
@@ -212,7 +216,6 @@ local function CreateStyle(self, unit)
 	self.Power:SetStatusBarTexture(texture)
 	self.Power:SetHeight(4)
 	self.Power.frequentUpdates = true
-	self.Power.Smooth = true
 
 	self.Power.colorTapping = true
 	self.Power.colorDisconnected = true
@@ -244,6 +247,7 @@ local function CreateStyle(self, unit)
 			self.Experience = CreateFrame('StatusBar', nil, self)
 			self.Experience:SetPoint('TOP', self, 'BOTTOM', 0, -10)
 			self.Experience:SetStatusBarTexture(texture)
+			self.Experience:SetStatusBarColor(unpack(self.colors.health))
 			self.Experience:SetHeight(11)
 			self.Experience:SetWidth((unit == 'pet') and 130 or 230)
 			self.Experience:SetBackdrop(backdrop)
@@ -284,12 +288,33 @@ local function CreateStyle(self, unit)
 			self.AutoShot.bg:SetTexture(0.3, 0.3, 0.3)				
 		end
 
+		if(IsAddOnLoaded'oUF_Reputation' and UnitLevel(unit) == MAX_PLAYER_LEVEL) then
+			self.Reputation = CreateFrame('StatusBar', nil, 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.PostUpdate = PostUpdateReputation
+			self.Reputation.Tooltip = true
+
+			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(class == 'DRUID') then
 			self.DruidPower = CreateFrame('StatusBar', nil, self)
 			self.DruidPower:SetPoint('BOTTOM', self.Power, 'TOP')
 			self.DruidPower:SetStatusBarTexture(texture)
 			self.DruidPower:SetHeight(1)
 			self.DruidPower:SetWidth(230)
+			self.DruidPower:SetAlpha(0)
 
 			self.DruidPower.Text = self.DruidPower:CreateFontString(nil, 'OVERLAY', 'GameFontNormalSmall')
 			self.DruidPower.Text:SetPoint('CENTER', self.DruidPower)</diff>
      <filename>oUF_P3lim/oUF_P3lim.lua</filename>
    </modified>
    <modified>
      <diff>@@ -4,6 +4,6 @@
 ## Title: oUF P3lim
 ## Notes: Just another oUF layout
 ## RequiredDeps: oUF
-## OptionalDeps: oUF_AutoShot, oUF_BarFader, oUF_DebuffHighlight, oUF_Experience, oUF_Smooth
+## OptionalDeps: oUF_AutoShot, oUF_BarFader, oUF_DebuffHighlight, oUF_Experience, oUF_Reputation
 
 oUF_P3lim.lua
\ No newline at end of file</diff>
      <filename>oUF_P3lim/oUF_P3lim.toc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7bf2892b7c5ce002b56f507797055de68ff9269d</id>
    </parent>
  </parents>
  <author>
    <name>p3lim-52096</name>
    <email>p3lim-52096@8c7459ed-49dc-4bc8-85d7-b6381a8f5413</email>
  </author>
  <url>http://github.com/p3lim/oUF_P3lim/commit/852a6acd116f36db71627288dcae0204aee5ca11</url>
  <id>852a6acd116f36db71627288dcae0204aee5ca11</id>
  <committed-date>2009-01-14T12:37:54-08:00</committed-date>
  <authored-date>2009-01-14T12:37:54-08:00</authored-date>
  <message>Update to reflect changes in plug-in
Added Reputation support
Removed Smooth support

git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@52 8c7459ed-49dc-4bc8-85d7-b6381a8f5413</message>
  <tree>ba8644f6e46488f8517f852a391bd599c9043e9d</tree>
  <committer>
    <name>p3lim-52096</name>
    <email>p3lim-52096@8c7459ed-49dc-4bc8-85d7-b6381a8f5413</email>
  </committer>
</commit>
