forked from External/mage
[THB] various text fixes
This commit is contained in:
parent
b04e826c96
commit
f574e6fc1d
9 changed files with 14 additions and 14 deletions
|
|
@ -23,7 +23,7 @@ public final class FuneralRites extends CardImpl {
|
||||||
this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2)
|
this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2)
|
||||||
.setText(", lose 2 life"));
|
.setText(", lose 2 life"));
|
||||||
this.getSpellAbility().addEffect(new MillCardsControllerEffect(2)
|
this.getSpellAbility().addEffect(new MillCardsControllerEffect(2)
|
||||||
.concatBy(", and"));
|
.concatBy(", then"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private FuneralRites(final FuneralRites card) {
|
private FuneralRites(final FuneralRites card) {
|
||||||
|
|
|
||||||
|
|
@ -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.
|
// Enchanted creature loses all abilities and is a blue Fish with base power and toughness 0/1.
|
||||||
Effect effect = new BecomesCreatureAttachedEffect(
|
Effect effect = new BecomesCreatureAttachedEffect(
|
||||||
new CreatureToken(0, 1, "", SubType.FISH).withColor("U"),
|
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
|
Duration.WhileOnBattlefield, BecomesCreatureAttachedEffect.LoseType.ALL
|
||||||
);
|
);
|
||||||
effect.setOutcome(Outcome.Detriment);
|
effect.setOutcome(Outcome.Detriment);
|
||||||
|
|
|
||||||
|
|
@ -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.
|
// Prevent all combat damage that would be dealt this turn except by enchanted creatures and enchantment creatures. Scry 2.
|
||||||
this.getSpellAbility().addEffect(new PreventAllDamageByAllPermanentsEffect(
|
this.getSpellAbility().addEffect(new PreventAllDamageByAllPermanentsEffect(
|
||||||
filter, Duration.EndOfTurn, true
|
filter, Duration.EndOfTurn, true
|
||||||
).setText("Prevent all combat damage that would be dealt this turn " +
|
).setText("prevent all combat damage that would be dealt this turn except combat damage " +
|
||||||
"except by enchanted creatures and enchantment creatures."));
|
"that would be dealt by enchanted creatures and enchantment creatures"));
|
||||||
this.getSpellAbility().addEffect(new ScryEffect(2));
|
this.getSpellAbility().addEffect(new ScryEffect(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ class MedomaisProphecyTriggerEffect extends OneShotEffect {
|
||||||
|
|
||||||
MedomaisProphecyTriggerEffect() {
|
MedomaisProphecyTriggerEffect() {
|
||||||
super(Outcome.Benefit);
|
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) {
|
private MedomaisProphecyTriggerEffect(final MedomaisProphecyTriggerEffect effect) {
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ class SionaCaptainOfThePyleasAbility extends TriggeredAbilityImpl {
|
||||||
@Override
|
@Override
|
||||||
public String getRule() {
|
public String getRule() {
|
||||||
return "Whenever an Aura you control becomes attached to a creature you control, " +
|
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
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ public final class SleepOfTheDead extends CardImpl {
|
||||||
|
|
||||||
// Tap target creature. It doesn't untap during its controller's next untap step.
|
// Tap target creature. It doesn't untap during its controller's next untap step.
|
||||||
this.getSpellAbility().addEffect(new TapTargetEffect());
|
this.getSpellAbility().addEffect(new TapTargetEffect());
|
||||||
this.getSpellAbility().addEffect(new DontUntapInControllersNextUntapStepTargetEffect());
|
this.getSpellAbility().addEffect(new DontUntapInControllersNextUntapStepTargetEffect("it"));
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
|
|
||||||
// Escape—{2}{U}, Exile three other cards from your graveyard.
|
// Escape—{2}{U}, Exile three other cards from your graveyard.
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ public final class TheAkroanWar extends CardImpl {
|
||||||
SagaChapter.CHAPTER_II,
|
SagaChapter.CHAPTER_II,
|
||||||
new AttacksIfAbleAllEffect(
|
new AttacksIfAbleAllEffect(
|
||||||
filter, Duration.UntilYourNextTurn, true
|
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.
|
// III — Each tapped creature deals damage to itself equal to its power.
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,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_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 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
|
private static final boolean ONLY_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,12 +98,12 @@ public class SacrificeEffect extends OneShotEffect {
|
||||||
sb.append(" sacrifice ");
|
sb.append(" sacrifice ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!filter.getMessage().startsWith("another")
|
if (count.toString().equals("1")) {
|
||||||
&& !filter.getMessage().startsWith("a ")
|
sb.append(CardUtil.addArticle(filter.getMessage()));
|
||||||
&& !filter.getMessage().startsWith("an ")) {
|
} else {
|
||||||
sb.append(CardUtil.numberToText(count.toString(), "a")).append(' ');
|
sb.append(CardUtil.numberToText(count.toString(), "a"));
|
||||||
|
sb.append(filter.getMessage());
|
||||||
}
|
}
|
||||||
sb.append(filter.getMessage());
|
|
||||||
staticText = sb.toString();
|
staticText = sb.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue