10.2 General Implementations and Fixes

- Implemented [Pip's Emerald Friendship Badge] trinket buffs.
- 10.2 trinket damage spells renamed to the item name.
- Framework update.
This commit is contained in:
Tercio Jose
2023-09-22 13:12:54 -03:00
parent 6199bf10e0
commit 250ce2fbf7
18 changed files with 862 additions and 44 deletions
+2 -1
View File
@@ -308,12 +308,13 @@ local cleanfunction = function() end
healthBarMetaFunctions.UpdateHealPrediction = function(self)
local currentHealth = self.currentHealth
local currentHealthMax = self.currentHealthMax
local healthPercent = currentHealth / currentHealthMax
if (not currentHealthMax or currentHealthMax <= 0) then
return
end
local healthPercent = currentHealth / currentHealthMax
--order is: the health of the unit > damage absorb > heal absorb > incoming heal
local width = self:GetWidth()