From 965bf8bea3eed128b4f32068d46cacbce574dc14 Mon Sep 17 00:00:00 2001 From: Steven Knipe Date: Tue, 18 Nov 2025 23:01:41 -0800 Subject: [PATCH] Fix Earthbend target for verify check --- Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index 6ead3fde9f4..78955a19b57 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -2195,7 +2195,8 @@ public class VerifyCardDataTest { // Note that the check includes reminder text, so any keyword ability with reminder text always included in the card text doesn't need to be added // FIN added equip abilities with flavor words, allow for those. There are also cards that affect equip costs or equip abilities, exclude those // Technically Enchant should be in this list, but that's added to the SpellAbility in XMage - Pattern targetKeywordRegexPattern = Pattern.compile("^((.*— )?equip(?! cost| abilit)|bestow|partner with|modular|backup|earthbend)\\b", Pattern.MULTILINE); + // Earthbend is an action word and thus can be anywhere, the rest are keywords that are always first in the line + Pattern targetKeywordRegexPattern = Pattern.compile("earthbend |^((.*— )?equip(?! cost| abilit)|bestow|partner with|modular|backup)\\b", Pattern.MULTILINE); // Checks for targeted reflexive or delayed triggered abilities, ones that only can trigger as a result of another ability // and thus have their "when" located after a previous statement (detected by a period or comma followed by a space) instead of the start.