bingus dingus

This commit is contained in:
bryanthaboi
2026-08-04 10:32:51 -04:00
parent 626080d228
commit 8fbe819493
18 changed files with 175 additions and 70 deletions
+3 -1
View File
@@ -3323,7 +3323,9 @@ end
local function primaryEffectFailed(msgs)
if not msgs or #msgs == 0 then return true end
if msgs.failed then return true end
local m = msgs[1]
-- the extracted lines keep the ROM's own trailing blank ("But, it
-- failed! "), so match with it trimmed or a refused status animates
local m = msgs[1]:gsub("%s+$", "")
if m == "But, it failed!" or m == "Nothing happened!" then return true end
if m:find("didn't affect", 1, true) then return true end
if m:find("is unaffected", 1, true) then return true end