mirror of
https://github.com/brues-code/Vanilla_MikScrollingBattleText.git
synced 2026-10-09 07:00:01 +00:00
Update MikCombatEventHelper.lua
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user