From 556876b04e6a2bc9fc19e33d459697c976bae5f1 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 3 May 2020 13:08:42 +0200 Subject: [PATCH] libhealth: skip healing combat events --- libs/libhealth.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libhealth.lua b/libs/libhealth.lua index 6a474d2b..29f0668e 100644 --- a/libs/libhealth.lua +++ b/libs/libhealth.lua @@ -38,6 +38,7 @@ libhealth:SetScript("OnEvent", function() target = nil end elseif target and event == "UNIT_COMBAT" and arg1 == "target" then + if arg2 and arg2 == "HEAL" then return end dmg = dmg + arg4 elseif target and event == "UNIT_HEALTH" and arg1 == "target" then diff = perc-_G.UnitHealth("target")