Update MikCombatEventHelper.lua

This commit is contained in:
AtheneGenesis
2018-11-15 22:45:05 +01:00
committed by GitHub
parent 9efd70bfee
commit e0ca01eff3
@@ -3674,7 +3674,7 @@ function MikCEH.PopulateOverhealData(eventData)
-- Check if any overhealing occured (note threshold is 100 because heals on non-group members
-- will show show max health 100 instead of the proper maximum health of the target)
if (overhealAmount > 0 and UnitHealthMax(unitID) > 100) then
if (overhealAmount > 0 and UnitHealthMax(unitID) ~= 100) then
eventData.PartialActionType = MikCEH.PARTIALACTIONTYPE_OVERHEAL;
eventData.PartialAmount = overhealAmount;
end
@@ -4028,4 +4028,4 @@ function MikCEH.ParseSearchPatternTriggers(event, combatMessage)
end
end -- Loop through search patterns.
end -- Loop through triggers.
end
end