[THB] various text fixes

This commit is contained in:
Evan Kranzler 2022-03-03 09:06:05 -05:00
parent b04e826c96
commit f574e6fc1d
9 changed files with 14 additions and 14 deletions

View file

@ -23,7 +23,7 @@ public final class FuneralRites extends CardImpl {
this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2)
.setText(", lose 2 life"));
this.getSpellAbility().addEffect(new MillCardsControllerEffect(2)
.concatBy(", and"));
.concatBy(", then"));
}
private FuneralRites(final FuneralRites card) {

View file

@ -38,7 +38,7 @@ public final class Ichthyomorphosis extends CardImpl {
// Enchanted creature loses all abilities and is a blue Fish with base power and toughness 0/1.
Effect effect = new BecomesCreatureAttachedEffect(
new CreatureToken(0, 1, "", SubType.FISH).withColor("U"),
"Enchanted creature loses all abilities and is a blue Fish creature with base power and toughness 0/1",
"Enchanted creature loses all abilities and is a blue Fish with base power and toughness 0/1",
Duration.WhileOnBattlefield, BecomesCreatureAttachedEffect.LoseType.ALL
);
effect.setOutcome(Outcome.Detriment);

View file

@ -29,8 +29,8 @@ public final class InspireAwe extends CardImpl {
// Prevent all combat damage that would be dealt this turn except by enchanted creatures and enchantment creatures. Scry 2.
this.getSpellAbility().addEffect(new PreventAllDamageByAllPermanentsEffect(
filter, Duration.EndOfTurn, true
).setText("Prevent all combat damage that would be dealt this turn " +
"except by enchanted creatures and enchantment creatures."));
).setText("prevent all combat damage that would be dealt this turn except combat damage " +
"that would be dealt by enchanted creatures and enchantment creatures"));
this.getSpellAbility().addEffect(new ScryEffect(2));
}

View file

@ -61,7 +61,7 @@ class MedomaisProphecyTriggerEffect extends OneShotEffect {
MedomaisProphecyTriggerEffect() {
super(Outcome.Benefit);
staticText = "When you cast a spell with the chosen card name for the first time this turn, draw two cards.";
staticText = "When you cast a spell with the chosen name for the first time this turn, draw two cards.";
}
private MedomaisProphecyTriggerEffect(final MedomaisProphecyTriggerEffect effect) {

View file

@ -95,7 +95,7 @@ class SionaCaptainOfThePyleasAbility extends TriggeredAbilityImpl {
@Override
public String getRule() {
return "Whenever an Aura you control becomes attached to a creature you control, " +
"create a 1/1 white Human Soldier creature token";
"create a 1/1 white Human Soldier creature token.";
}
@Override

View file

@ -20,7 +20,7 @@ public final class SleepOfTheDead extends CardImpl {
// Tap target creature. It doesn't untap during its controller's next untap step.
this.getSpellAbility().addEffect(new TapTargetEffect());
this.getSpellAbility().addEffect(new DontUntapInControllersNextUntapStepTargetEffect());
this.getSpellAbility().addEffect(new DontUntapInControllersNextUntapStepTargetEffect("it"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
// Escape{2}{U}, Exile three other cards from your graveyard.

View file

@ -53,7 +53,7 @@ public final class TheAkroanWar extends CardImpl {
SagaChapter.CHAPTER_II,
new AttacksIfAbleAllEffect(
filter, Duration.UntilYourNextTurn, true
)
).setText("until your next turn, creatures your opponents control attack each combat if able")
);
// III Each tapped creature deals damage to itself equal to its power.

View file

@ -62,7 +62,7 @@ public class VerifyCardDataTest {
private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class);
private static final String FULL_ABILITIES_CHECK_SET_CODE = "IKO"; // check all abilities and output cards with wrong abilities texts;
private static final String FULL_ABILITIES_CHECK_SET_CODE = "THB"; // check all abilities and output cards with wrong abilities texts;
private static final boolean AUTO_FIX_SAMPLE_DECKS = false; // debug only: auto-fix sample decks by test_checkSampleDecks test run
private static final boolean ONLY_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages

View file

@ -98,12 +98,12 @@ public class SacrificeEffect extends OneShotEffect {
sb.append(" sacrifice ");
}
}
if (!filter.getMessage().startsWith("another")
&& !filter.getMessage().startsWith("a ")
&& !filter.getMessage().startsWith("an ")) {
sb.append(CardUtil.numberToText(count.toString(), "a")).append(' ');
if (count.toString().equals("1")) {
sb.append(CardUtil.addArticle(filter.getMessage()));
} else {
sb.append(CardUtil.numberToText(count.toString(), "a"));
sb.append(filter.getMessage());
}
sb.append(filter.getMessage());
staticText = sb.toString();
}
}