mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-23 08:06:55 +00:00
libhealth: skip healing combat events
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user