mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- added tons of divide-by-zero protection all over the place
- general cleanup of values passed to UpdateBar
This commit is contained in:
@ -83,7 +83,7 @@ function FocusMana.prototype:Update(unit)
|
||||
color = "Tapped"
|
||||
end
|
||||
|
||||
self:UpdateBar(self.mana/self.maxMana, color)
|
||||
self:UpdateBar(self.manaPercentage, color)
|
||||
|
||||
if not IceHUD.IceCore:ShouldUseDogTags() then
|
||||
self:SetBottomText1(math.floor(self.manaPercentage * 100))
|
||||
|
Reference in New Issue
Block a user