diff --git a/modules/Vengeance.lua b/modules/Vengeance.lua index 825a9b3..2b4de14 100644 --- a/modules/Vengeance.lua +++ b/modules/Vengeance.lua @@ -98,7 +98,8 @@ function Vengeance.prototype:UpdateMax(event, unit) return 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() end