mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Version 0.6
- Improved TargetInfo and ToT module - RoundBar texture looks better than ever - PlayerHealth and TargetHealth modules have an option to turn off Blizzard default frames - Fixed MH3 rounding bug
This commit is contained in:
@ -52,7 +52,9 @@ end
|
||||
function IceUnitBar.prototype:Redraw()
|
||||
IceUnitBar.super.prototype.Redraw(self)
|
||||
|
||||
self:Update(self.unit)
|
||||
if (self.moduleSettings.enabled) then
|
||||
self:Update(self.unit)
|
||||
end
|
||||
end
|
||||
|
||||
-- 'Protected' methods --------------------------------------------------------
|
||||
@ -69,6 +71,8 @@ function IceUnitBar.prototype:Update()
|
||||
self.mana = UnitMana(self.unit)
|
||||
self.maxMana = UnitManaMax(self.unit)
|
||||
self.manaPercentage = math.floor( (self.mana/self.maxMana)*100 )
|
||||
|
||||
_, self.unitClass = UnitClass(self.unit)
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user