fix showtooltip icon for multiple evaluation keywords

This commit is contained in:
Jrc13245
2026-03-06 17:35:44 -05:00
parent 4ccd0f81aa
commit 2f698403e5
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -2838,6 +2838,11 @@ end
function CleveRoids.GetCountModeArgs(conditionalValue)
if type(conditionalValue) ~= "table" then return nil end
-- During tooltip/icon evaluation (TestAction), skip count mode to avoid
-- target cycling side effects from CountEnemiesMatching. Keyword handlers
-- fall through to their single-target behavior instead.
if CleveRoids._isTestingAction then return nil end
local args = conditionalValue[1]
if type(args) == "table" and args.operator and args.amount then
return args