From e0ca01eff3f86323d393f0fbab5aae567db96954 Mon Sep 17 00:00:00 2001 From: AtheneGenesis Date: Thu, 15 Nov 2018 22:45:05 +0100 Subject: [PATCH] Update MikCombatEventHelper.lua --- MikScrollingBattleText/MikCombatEventHelper.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MikScrollingBattleText/MikCombatEventHelper.lua b/MikScrollingBattleText/MikCombatEventHelper.lua index 55ea2d3..8192728 100644 --- a/MikScrollingBattleText/MikCombatEventHelper.lua +++ b/MikScrollingBattleText/MikCombatEventHelper.lua @@ -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 \ No newline at end of file +end