Fixes a few rule texts

This commit is contained in:
Susucre 2024-04-06 16:44:53 +02:00
parent 993fa36a9d
commit 1ed8937cef
6 changed files with 8 additions and 6 deletions

View file

@ -51,7 +51,8 @@ class CactusPreserveEffect extends OneShotEffect {
CactusPreserveEffect() { CactusPreserveEffect() {
super(Outcome.BecomeCreature); super(Outcome.BecomeCreature);
this.staticText = "{this} becomes an X/X green Plant creature with reach, where X is the greatest mana value among your commanders. It's still a land."; this.staticText = "Until end of turn, {this} becomes an X/X green Plant creature with reach, "
+ "where X is the greatest mana value among your commanders. It's still a land.";
} }
private CactusPreserveEffect(final CactusPreserveEffect effect) { private CactusPreserveEffect(final CactusPreserveEffect effect) {

View file

@ -41,7 +41,8 @@ public final class CataclysmicProspecting extends CardImpl {
// Cataclysmic Prospecting deals X damage to each creature. For each mana from a Desert spent to cast this spell, create a tapped Treasure token. // Cataclysmic Prospecting deals X damage to each creature. For each mana from a Desert spent to cast this spell, create a tapped Treasure token.
this.getSpellAbility().addEffect(new DamageAllEffect(ManacostVariableValue.REGULAR, StaticFilters.FILTER_PERMANENT_CREATURE)); this.getSpellAbility().addEffect(new DamageAllEffect(ManacostVariableValue.REGULAR, StaticFilters.FILTER_PERMANENT_CREATURE));
this.getSpellAbility().addEffect(new CreateTokenEffect(new TreasureToken(), CataclysmicProspectingValue.instance, true, false)); this.getSpellAbility().addEffect(new CreateTokenEffect(new TreasureToken(), CataclysmicProspectingValue.instance, true, false)
.setText("For each mana from a Desert spent to cast this spell, create a tapped Treasure token."));
this.getSpellAbility().addWatcher(new CataclysmicProspectingWatcher()); this.getSpellAbility().addWatcher(new CataclysmicProspectingWatcher());
this.getSpellAbility().addHint(hint); this.getSpellAbility().addHint(hint);
} }

View file

@ -42,7 +42,7 @@ public final class EmergentHaunting extends CardImpl {
null, Duration.WhileOnBattlefield null, Duration.WhileOnBattlefield
), ),
TargetController.YOU, condition, false TargetController.YOU, condition, false
).addHint(HaventCastSpellFromHandThisTurnCondition.hint)); ).withRuleTextReplacement(true).addHint(HaventCastSpellFromHandThisTurnCondition.hint));
// {2}{U}: Surveil 1. // {2}{U}: Surveil 1.
this.addAbility(new SimpleActivatedAbility(new SurveilEffect(1), new ManaCostsImpl<>("{2}{U}"))); this.addAbility(new SimpleActivatedAbility(new SurveilEffect(1), new ManaCostsImpl<>("{2}{U}")));

View file

@ -51,7 +51,7 @@ public final class SandScout extends CardImpl {
// Whenever one or more land cards are put into your graveyard from anywhere, create a 1/1 red, green, and white Sand Warrior creature token. This ability triggers only once each turn. // Whenever one or more land cards are put into your graveyard from anywhere, create a 1/1 red, green, and white Sand Warrior creature token. This ability triggers only once each turn.
this.addAbility(new PutCardIntoGraveFromAnywhereAllTriggeredAbility( this.addAbility(new PutCardIntoGraveFromAnywhereAllTriggeredAbility(
new CreateTokenEffect(new HazezonTamarSandWarriorToken()), false, StaticFilters.FILTER_CARD_LAND, TargetController.YOU new CreateTokenEffect(new HazezonTamarSandWarriorToken()), false, StaticFilters.FILTER_CARD_LAND, TargetController.YOU
).setTriggersOnceEachTurn(true)); ).setTriggerPhrase("Whenever one or more land cards are put into your graveyard from anywhere, ").setTriggersOnceEachTurn(true));
} }
private SandScout(final SandScout card) { private SandScout(final SandScout card) {

View file

@ -64,7 +64,7 @@ class TerritoryForgeStaticEffect extends ContinuousEffectImpl {
TerritoryForgeStaticEffect() { TerritoryForgeStaticEffect() {
super(Duration.WhileOnBattlefield, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.Benefit); super(Duration.WhileOnBattlefield, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.Benefit);
staticText = "{this} has all activated ability of the exiled card"; staticText = "{this} has all activated abilities of the exiled card";
} }
private TerritoryForgeStaticEffect(final TerritoryForgeStaticEffect effect) { private TerritoryForgeStaticEffect(final TerritoryForgeStaticEffect effect) {

View file

@ -70,7 +70,7 @@ public class VerifyCardDataTest {
private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class); private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class);
private static final String FULL_ABILITIES_CHECK_SET_CODES = "OTJ;BIG"; // check ability text due mtgjson, can use multiple sets like MAT;CMD or * for all private static final String FULL_ABILITIES_CHECK_SET_CODES = "OTJ;BIG;OTC"; // check ability text due mtgjson, can use multiple sets like MAT;CMD or * for all
private static final boolean CHECK_ONLY_ABILITIES_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages private static final boolean CHECK_ONLY_ABILITIES_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages
private static final boolean AUTO_FIX_SAMPLE_DECKS = false; // debug only: auto-fix sample decks by test_checkSampleDecks test run private static final boolean AUTO_FIX_SAMPLE_DECKS = false; // debug only: auto-fix sample decks by test_checkSampleDecks test run