mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Misc fixed and a preview for new texture (check 'Bar' type)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user