From 7730729a38b1ab7ec67d0b7bb7024c610e61558a Mon Sep 17 00:00:00 2001 From: pepopo978 Date: Sun, 30 Jun 2024 12:18:45 -0700 Subject: [PATCH] hide raid marks not in current combat --- filter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filter.lua b/filter.lua index 803158c..3ee3dfb 100644 --- a/filter.lua +++ b/filter.lua @@ -66,8 +66,8 @@ function Cursive:ShouldDisplayGuid(guid) return true end - -- always show raid marks if attackable - if filter.icon(guid) and filter.attackable(guid) then + -- always show raid marks if attackable and not in combat or this guid is affecting combat + if filter.icon(guid) and filter.attackable(guid) and (not UnitAffectingCombat("player") or UnitAffectingCombat(guid)) then return true end