- new 'max health' formula from Nibelheim over on WoWInterface (thanks!)

This commit is contained in:
Parnic
2011-07-30 17:14:15 +00:00
parent 9ba5a1f0de
commit 551e367ec4

View File

@ -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