fix firstaction interaction with applymain and applyoff

This commit is contained in:
Jrc13245
2026-03-28 10:25:33 -04:00
parent 14ec23a6f7
commit 498fa90f45
+4
View File
@@ -7313,6 +7313,10 @@ function CleveRoids.DoApply(hand, msg)
local handled = false
for _, v in pairs(CleveRoids.splitStringIgnoringQuotes(msg)) do
if CleveRoids.DoWithConditionals(v, action, CleveRoids.FixEmptyTarget, false, action) then
-- If /firstaction was used, stop macro evaluation after first successful apply
if CleveRoids.stopOnCastFlag then
CleveRoids.stopMacroFlag = true
end
handled = true
break
end