From 36ff274649933ef8cfdd5484112f21bf5076f971 Mon Sep 17 00:00:00 2001 From: Jrc13245 Date: Sat, 13 Dec 2025 13:48:49 -0500 Subject: [PATCH] fix empty argument lines causing stopmacro --- Core.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Core.lua b/Core.lua index 382f1c3..3eb7321 100644 --- a/Core.lua +++ b/Core.lua @@ -2122,7 +2122,11 @@ function CleveRoids.DoWithConditionals(msg, hook, fixEmptyTargetFunc, targetBefo else result = CleveRoids.ExecuteMacroByName(string.sub(msg, 2, -2)) end - else -- This 'else' corresponds to 'if string.sub(msg, 1, 1) == "{"...' + elseif msg == "" or msg == nil then + -- Empty action (conditionals passed but no spell to cast) + -- Return false so stopmacro doesn't block subsequent lines + result = false + else local castMsg = msg -- FLEXIBLY check for any rank text like "(Rank 9)" before adding the highest rank if action == CastSpellByName and not string.find(msg, "%(.*%)") then