mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Version 0.9
- New round bar texture - Standalone druid mana bar - Lots of stuff I can't remember
This commit is contained in:
@ -195,9 +195,10 @@ function PlayerMana.prototype:UpdateEnergy(unit)
|
||||
end
|
||||
|
||||
|
||||
if (not (self.previousEnergy) or (self.previousEnergy <= UnitMana(self.unit))) then
|
||||
self.tickStart = GetTime()
|
||||
self.tickerFrame:Show()
|
||||
if ((not (self.previousEnergy) or (self.previousEnergy <= UnitMana(self.unit))) and
|
||||
(self.moduleSettings.tickerEnabled)) then
|
||||
self.tickStart = GetTime()
|
||||
self.tickerFrame:Show()
|
||||
end
|
||||
|
||||
self.previousEnergy = UnitMana(self.unit)
|
||||
@ -259,4 +260,4 @@ end
|
||||
|
||||
|
||||
-- Load us up
|
||||
PlayerMana:new()
|
||||
IceHUD.PlayerMana = PlayerMana:new()
|
||||
|
Reference in New Issue
Block a user