[FIN] more text fixes

This commit is contained in:
theelk801 2025-05-31 10:09:59 -04:00
parent a27302654c
commit a9cd45c84e
10 changed files with 16 additions and 10 deletions

View file

@ -44,7 +44,7 @@ public final class BraskasFinalAeon extends CardImpl {
ability.addEffect(new SacrificeOpponentsEffect(2, StaticFilters.FILTER_PERMANENT_CREATURES)); ability.addEffect(new SacrificeOpponentsEffect(2, StaticFilters.FILTER_PERMANENT_CREATURES));
ability.withFlavorWord("Ultimate Jecht Shot"); ability.withFlavorWord("Ultimate Jecht Shot");
}); });
this.addAbility(sagaAbility); this.addAbility(sagaAbility.withShowSacText(true));
// Menace // Menace
this.addAbility(new MenaceAbility()); this.addAbility(new MenaceAbility());

View file

@ -37,13 +37,14 @@ public final class PhantomTrain extends CardImpl {
Ability ability = new SimpleActivatedAbility( Ability ability = new SimpleActivatedAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new AddCountersSourceEffect(CounterType.P1P1.createInstance()),
new SacrificeTargetCost(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE_OR_ARTIFACT) new SacrificeTargetCost(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE_OR_ARTIFACT)
.setText("sacrifice another artifact or creature")
); );
ability.addEffect(new AddCardTypeSourceEffect( ability.addEffect(new AddCardTypeSourceEffect(
Duration.EndOfTurn, CardType.ARTIFACT, CardType.CREATURE Duration.EndOfTurn, CardType.ARTIFACT, CardType.CREATURE
).setText("it becomes a")); ).setText("it becomes a"));
ability.addEffect(new AddCardSubTypeSourceEffect( ability.addEffect(new AddCardSubTypeSourceEffect(
Duration.EndOfTurn, true, SubType.SPIRIT Duration.EndOfTurn, true, SubType.SPIRIT
).setText("Spirit artifact creature in addition to its other types until end of turn")); ).setText(" Spirit artifact creature in addition to its other types until end of turn"));
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -46,7 +46,7 @@ public final class SummonAlexander extends CardImpl {
this, SagaChapter.CHAPTER_III, this, SagaChapter.CHAPTER_III,
new TapAllEffect(StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURES) new TapAllEffect(StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURES)
); );
this.addAbility(sagaAbility); this.addAbility(sagaAbility.withShowSacText(true));
// Flying // Flying
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());

View file

@ -55,7 +55,7 @@ public final class SummonEsperMaduin extends CardImpl {
StaticFilters.FILTER_PERMANENT_CREATURE, true StaticFilters.FILTER_PERMANENT_CREATURE, true
).setText("and gain trample until end of turn") ).setText("and gain trample until end of turn")
); );
this.addAbility(sagaAbility); this.addAbility(sagaAbility.withShowSacText(true));
} }
private SummonEsperMaduin(final SummonEsperMaduin card) { private SummonEsperMaduin(final SummonEsperMaduin card) {

View file

@ -32,7 +32,7 @@ public final class SummonGFCerberus extends CardImpl {
this.power = new MageInt(3); this.power = new MageInt(3);
this.toughness = new MageInt(3); this.toughness = new MageInt(3);
// (As this Saga enters and after your draw step, add a lore counter. Sacrifice after IV.) // (As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)
SagaAbility sagaAbility = new SagaAbility(this); SagaAbility sagaAbility = new SagaAbility(this);
// I -- Surveil 1. // I -- Surveil 1.

View file

@ -38,7 +38,7 @@ public final class TerraMagicalAdept extends CardImpl {
// When Terra enters, mill five cards. Put up to one enchantment milled this this way into your hand. // When Terra enters, mill five cards. Put up to one enchantment milled this this way into your hand.
this.addAbility(new EntersBattlefieldTriggeredAbility(new MillThenPutInHandEffect( this.addAbility(new EntersBattlefieldTriggeredAbility(new MillThenPutInHandEffect(
5, StaticFilters.FILTER_CARD_ENCHANTMENT, true 5, StaticFilters.FILTER_CARD_ENCHANTMENT, true
))); ).setText("mill five cards. Put up to one enchantment milled this this way into your hand")));
// Trance -- {4}{R}{G}, {T}: Exile Terra, then return it to the battlefield transformed under its owner's control. Activate only as a sorcery. // Trance -- {4}{R}{G}, {T}: Exile Terra, then return it to the battlefield transformed under its owner's control. Activate only as a sorcery.
this.addAbility(new TransformAbility()); this.addAbility(new TransformAbility());

View file

@ -71,7 +71,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 = "FIC"; // check ability text due mtgjson, can use multiple sets like MAT;CMD or * for all private static final String FULL_ABILITIES_CHECK_SET_CODES = "FIN"; // 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 CHECK_COPYABLE_FIELDS = true; // disable for better verify test performance private static final boolean CHECK_COPYABLE_FIELDS = true; // disable for better verify test performance

View file

@ -31,7 +31,7 @@ import java.util.function.Consumer;
public class SagaAbility extends SimpleStaticAbility { public class SagaAbility extends SimpleStaticAbility {
private final SagaChapter maxChapter; private final SagaChapter maxChapter;
private final boolean showSacText; private boolean showSacText;
private final boolean readAhead; private final boolean readAhead;
public SagaAbility(Card card) { public SagaAbility(Card card) {
@ -134,6 +134,11 @@ public class SagaAbility extends SimpleStaticAbility {
return maxChapter; return maxChapter;
} }
public SagaAbility withShowSacText(boolean showSacText) {
this.showSacText = showSacText;
return this;
}
@Override @Override
public String getRule() { public String getRule() {
return (readAhead return (readAhead

View file

@ -72,7 +72,7 @@ class AddCounterNextSpellEffect extends ReplacementEffectImpl {
AddCounterNextSpellEffect(int amount) { AddCounterNextSpellEffect(int amount) {
super(Duration.EndOfStep, Outcome.BoostCreature); super(Duration.EndOfStep, Outcome.BoostCreature);
this.amount = amount; this.amount = amount;
staticText = "that creature enters the battlefield with " + CardUtil.numberToText(amount, "an") + " additional +1/+1 counter" + (amount > 1 ? "s" : "") + " on it"; staticText = "that creature enters with " + CardUtil.numberToText(amount, "an") + " additional +1/+1 counter" + (amount > 1 ? "s" : "") + " on it";
} }
private AddCounterNextSpellEffect(AddCounterNextSpellEffect effect) { private AddCounterNextSpellEffect(AddCounterNextSpellEffect effect) {

View file

@ -109,6 +109,6 @@ public class EquipAbility extends ActivatedAbilityImpl {
if (showAbilityHint) { if (showAbilityHint) {
sb.append(reminderText); sb.append(reminderText);
} }
return sb.toString(); return sb.toString().replace("..", ".");
} }
} }