mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- new 'max health' formula from Nibelheim over on WoWInterface (thanks!)
This commit is contained in:
@ -98,7 +98,8 @@ function Vengeance.prototype:UpdateMax(event, unit)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
self.max = floor(0.1*UnitHealthMax(self.unit))
|
local Stam, MaxHealth = UnitStat(self.unit, 3), UnitHealthMax(self.unit)
|
||||||
|
self.max = floor(Stam + (MaxHealth - ((Stam - 19) * 14) - 6) / 10)
|
||||||
self:Update()
|
self:Update()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user