From aada827573f8484fdc0d58874f119b2e7a4cbb0b Mon Sep 17 00:00:00 2001 From: EsreverWoW <49285632+EsreverWoW@users.noreply.github.com> Date: Sat, 4 May 2024 16:03:49 -0500 Subject: [PATCH] [CombatText] ABSORB_ADDED is for MoP and later --- ShestakUI/Modules/Blizzard/CombatText.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShestakUI/Modules/Blizzard/CombatText.lua b/ShestakUI/Modules/Blizzard/CombatText.lua index 36d261e78..72af9174f 100644 --- a/ShestakUI/Modules/Blizzard/CombatText.lua +++ b/ShestakUI/Modules/Blizzard/CombatText.lua @@ -125,7 +125,7 @@ local function OnEvent(_, event, subevent, powerType) end xCT2:AddMessage("+"..arg3, 0.1, 0.5, 0.1) end - elseif subevent == "ABSORB_ADDED" and CVarCallbackRegistry:GetCVarValueBool("floatingCombatTextCombatHealingAbsorbSelf") then + elseif T.Mainline and subevent == "ABSORB_ADDED" and CVarCallbackRegistry:GetCVarValueBool("floatingCombatTextCombatHealingAbsorbSelf") then if arg3 >= C.combattext.heal_treshold then if C.combattext.short_numbers == true then arg3 = T.ShortValue(arg3)