Version 0.5

- Graphical combo points
- Various tweaks and bug fixes (ie. mirror timer bar)
This commit is contained in:
iceroth
2006-08-20 16:28:50 +00:00
parent 5035e8428a
commit 7050788344
14 changed files with 372 additions and 155 deletions

View File

@ -135,6 +135,15 @@ function PlayerMana.prototype:Update(unit)
end
self:UpdateBar(self.mana/self.maxMana, color)
-- hide ticker if rest of the bar is not visible
if (self.alpha == 0) then
self.tickerFrame:SetStatusBarColor(self:GetColor("playerEnergy", 0))
else
self.tickerFrame:SetStatusBarColor(self:GetColor("playerEnergy", self.moduleSettings.tickerAlpha))
end
self:SetBottomText1(self.manaPercentage)
local amount = self:GetFormattedText(self.mana, self.maxMana)
@ -203,7 +212,7 @@ function PlayerMana.prototype:CreateTickerFrame()
self.tickerFrame:Hide()
end
self.tickerFrame.spark:SetTexture(IceBarElement.TexturePath .. self.settings.barTexture)
self.tickerFrame.spark:SetTexture(IceElement.TexturePath .. self.settings.barTexture)
self.tickerFrame.spark:SetBlendMode("ADD")
self.tickerFrame.spark:ClearAllPoints()
self.tickerFrame.spark:SetAllPoints(self.tickerFrame)