From 80062535d9d12685e11acc23c4ff17eac6f0aab7 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Fri, 6 Mar 2026 03:47:54 +0100 Subject: [PATCH] update for swing timer on miss/dodge/parry --- modules/swingtimer.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/swingtimer.lua b/modules/swingtimer.lua index b34a4541..acfcd07a 100644 --- a/modules/swingtimer.lua +++ b/modules/swingtimer.lua @@ -742,7 +742,13 @@ pfUI:RegisterModule("swingtimer", "vanilla:tbc", function () local hitInfo = arg4 or 0 local isOffhand = bit.band(hitInfo, HITINFO_LEFTSWING) ~= 0 local noAction = bit.band(hitInfo, HITINFO_NOACTION) ~= 0 - if noAction then return end + -- NOACTION means server did not advance swing clock (dodge/parry/miss). + -- Only skip if the timer is already running - if it's not active yet + -- (first swing ever), we still want to start it so the bar appears. + if noAction then + if isOffhand and S.ohActive then return end + if not isOffhand and S.mhActive then return end + end -- Extra attack detection: if timer still has >20% remaining for that hand, -- the server did NOT reset the swing clock -> this is an extra attack, skip.