mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
fix nocasting conditional
This commit is contained in:
+1
-1
@@ -1352,7 +1352,7 @@ CleveRoids.Keywords = {
|
||||
end,
|
||||
|
||||
nocasting = function(conditionals)
|
||||
if type(conditionals.nocasting) ~= "table" then return CleveRoids.CheckSpellCast(conditionals.target, "") end
|
||||
if type(conditionals.nocasting) ~= "table" then return not CleveRoids.CheckSpellCast(conditionals.target, "") end
|
||||
return And(conditionals.nocasting, function (spell)
|
||||
return not CleveRoids.CheckSpellCast(conditionals.target, spell)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user