mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[NEO] various text fixes
This commit is contained in:
parent
a2a0466212
commit
99e8b80184
4 changed files with 8 additions and 7 deletions
|
@ -32,7 +32,8 @@ public final class FableOfTheMirrorBreaker extends CardImpl {
|
|||
sagaAbility.addChapterEffect(this, SagaChapter.CHAPTER_I, new CreateTokenEffect(new FableOfTheMirrorBreakerToken()));
|
||||
|
||||
// II — You may discard up to two cards. If you do, draw that many cards.
|
||||
sagaAbility.addChapterEffect(this, SagaChapter.CHAPTER_II, new DiscardAndDrawThatManyEffect(2));
|
||||
sagaAbility.addChapterEffect(this, SagaChapter.CHAPTER_II, new DiscardAndDrawThatManyEffect(2)
|
||||
.setText("you may discard up to two cards. If you do, draw that many cards"));
|
||||
|
||||
// III — Exile this Saga, then return it to the battlefield transformed under your control.
|
||||
this.addAbility(new TransformAbility());
|
||||
|
|
|
@ -90,7 +90,7 @@ class KotoseTheSilentSpiderEffect extends OneShotEffect {
|
|||
|
||||
public KotoseTheSilentSpiderEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "exile target card in an opponent's graveyard other than a basic land card. Search that player's graveyard, hand, and library for any number of cards with the same name as that card and exile them. For as long as you control Kotose, you may play one of the exiled cards, and you may spend mana as though it were mana of any color to cast it.";
|
||||
this.staticText = "exile target card other than a basic land card from an opponent's graveyard. Search that player's graveyard, hand, and library for any number of cards with the same name as that card and exile them. Then that player shuffles. For as long as you control {this}, you may play one of the exiled cards, and you may spend mana as though it were mana of any color to cast it";
|
||||
}
|
||||
|
||||
public KotoseTheSilentSpiderEffect(final KotoseTheSilentSpiderEffect effect) {
|
||||
|
|
|
@ -59,7 +59,7 @@ public class VerifyCardDataTest {
|
|||
|
||||
private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class);
|
||||
|
||||
private static final String FULL_ABILITIES_CHECK_SET_CODE = "NEC"; // check all abilities and output cards with wrong abilities texts;
|
||||
private static final String FULL_ABILITIES_CHECK_SET_CODE = "NEO"; // 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
|
||||
|
||||
|
@ -237,7 +237,7 @@ public class VerifyCardDataTest {
|
|||
}
|
||||
|
||||
private static boolean evergreenCheck(String s) {
|
||||
return evergreenKeywords.contains(s) || s.startsWith("protection from") || s.startsWith("hexproof from");
|
||||
return evergreenKeywords.contains(s) || s.startsWith("protection from") || s.startsWith("hexproof from") || s.startsWith("ward ");
|
||||
}
|
||||
|
||||
private static <T> boolean eqSet(Collection<T> a, Collection<T> b) {
|
||||
|
@ -1609,7 +1609,7 @@ public class VerifyCardDataTest {
|
|||
refText = refText.substring(1, refText.length() - 1);
|
||||
}
|
||||
// planeswalker fix [-7]: xxx
|
||||
refText = refText.replaceAll("\\[([\\−\\+]?\\d*)\\]\\: ", "$1: ");
|
||||
refText = refText.replaceAll("\\[([\\−\\+]?\\d*)\\]\\: ", "$1: ").replaceAll("\\[\\−X\\]\\: ", "-X: ");
|
||||
|
||||
// evergreen keyword fix
|
||||
for (String s : refText.split("[\\$\\\n]")) {
|
||||
|
|
|
@ -46,8 +46,8 @@ public class ExileCardsFromHandAdjuster implements CostAdjuster {
|
|||
public static final void addAdjusterAndMessage(Card card, FilterCard filter) {
|
||||
card.addAbility(new SimpleStaticAbility(
|
||||
Zone.ALL,
|
||||
new InfoEffect("you may exile any number of " + filter.getMessage()
|
||||
+ ". This spell costs {2} less to cast for each card exiled this way")
|
||||
new InfoEffect("as an additional cost to cast this spell, you may exile any number of "
|
||||
+ filter.getMessage() + ". This spell costs {2} less to cast for each card exiled this way")
|
||||
));
|
||||
card.getSpellAbility().setCostAdjuster(new ExileCardsFromHandAdjuster(filter));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue