fix verify failure

This commit is contained in:
theelk801 2023-04-22 20:49:17 -04:00
parent 44307f2d0a
commit d106426b21
3 changed files with 6 additions and 5 deletions

View file

@ -49,7 +49,7 @@ public final class RadagastWizardOfWilds extends CardImpl {
this.toughness = new MageInt(5); this.toughness = new MageInt(5);
// Ward {1} // Ward {1}
this.addAbility(new WardAbility(new ManaCostsImpl<>("{1}"))); this.addAbility(new WardAbility(new ManaCostsImpl<>("{1}"), false));
// Beasts and Birds you control have ward {1}. // Beasts and Birds you control have ward {1}.
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect( this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect(

View file

@ -9,15 +9,15 @@ import mage.constants.SetType;
* *
* @author TheElk801 * @author TheElk801
*/ */
public class GameNightFreeforAll extends ExpansionSet { public class GameNightFreeForAll extends ExpansionSet {
private static final GameNightFreeforAll instance = new GameNightFreeforAll(); private static final GameNightFreeForAll instance = new GameNightFreeForAll();
public static GameNightFreeforAll getInstance() { public static GameNightFreeForAll getInstance() {
return instance; return instance;
} }
private GameNightFreeforAll() { private GameNightFreeForAll() {
super("Game Night: Free-for-All", "GN3", ExpansionSet.buildDate(2022, 10, 14), SetType.SUPPLEMENTAL); super("Game Night: Free-for-All", "GN3", ExpansionSet.buildDate(2022, 10, 14), SetType.SUPPLEMENTAL);
this.hasBoosters = false; this.hasBoosters = false;

View file

@ -869,6 +869,7 @@ public class VerifyCardDataTest {
String needClassName = Arrays.stream( String needClassName = Arrays.stream(
set.getName() set.getName()
.replaceAll("&", "And") .replaceAll("&", "And")
.replace("-", " ")
.replaceAll("[.+-/:\"']", "") .replaceAll("[.+-/:\"']", "")
.split(" ") .split(" ")
).map(CardUtil::getTextWithFirstCharUpperCase).reduce("", String::concat); ).map(CardUtil::getTextWithFirstCharUpperCase).reduce("", String::concat);