Misc fixed and a preview for new texture (check 'Bar' type)

This commit is contained in:
iceroth
2006-10-16 13:16:56 +00:00
parent b7decf6a3e
commit e949b5b350
9 changed files with 67 additions and 36 deletions

View File

@ -174,6 +174,15 @@ function PlayerMana.prototype:Update(unit)
end
-- OVERRIDE
function PlayerMana.prototype:UpdateBar(scale, color, alpha)
self.noFlash = (self.manaType ~= 0)
PlayerMana.super.prototype.UpdateBar(self, scale, color, alpha)
end
function PlayerMana.prototype:UpdateEnergy(unit)
if (unit and (unit ~= "player")) then
return