Skip to content

Commit

Permalink
[CombatText] ABSORB_ADDED is for MoP and later
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed May 4, 2024
1 parent 3cb1b8a commit aada827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShestakUI/Modules/Blizzard/CombatText.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aada827

Please sign in to comment.