From 58c7ab84573236a613c1f06da8062277eafdf023 Mon Sep 17 00:00:00 2001 From: Jrc13245 Date: Fri, 27 Feb 2026 14:54:19 -0500 Subject: [PATCH] castsequence always resets when all spells are done casting, reset=X where X is a number is only for when the sequence has not been advanced in X seconds, reset --- Core.lua | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/Core.lua b/Core.lua index f789844..be8c48b 100644 --- a/Core.lua +++ b/Core.lua @@ -2188,29 +2188,10 @@ function CleveRoids.AdvanceSequence(sequence) } end else - -- At the end of sequence - check if we should auto-reset or stay at last step - local hasNonModifierReset = false - - if sequence.reset then - -- Check if there are any reset conditions besides modifier keys - for k, _ in pairs(sequence.reset) do - -- target, combat, secs are non-modifier resets - if k ~= "alt" and k ~= "ctrl" and k ~= "shift" then - hasNonModifierReset = true - break - end - end - end - - -- Only auto-reset if: - -- 1. No reset table exists at all, OR - -- 2. Reset table only contains modifier keys (alt/ctrl/shift) - -- Otherwise, stay on the last step and keep casting it until reset fires - if not hasNonModifierReset then - CleveRoids.ResetSequence(sequence) - end - -- If hasNonModifierReset is true, sequence.index stays at max, - -- so GetCurrentSequenceAction will keep returning the last spell + -- Sequence completed all steps - always wrap back to step 1. + -- reset=secs/target/combat only apply as mid-sequence idle resets + -- (matching standard WoW castsequence behavior). + CleveRoids.ResetSequence(sequence) end end