[ZNR] a few text fixes

This commit is contained in:
Evan Kranzler 2021-02-02 10:24:54 -05:00
parent 16450f9952
commit cda79866ad
4 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ public final class InscriptionOfRuin extends CardImpl {
this.getSpellAbility().addTarget(new TargetOpponent()); this.getSpellAbility().addTarget(new TargetOpponent());
// Return target creature card with converted mana cost 2 or less from your graveyard to the battlefield. // Return target creature card with converted mana cost 2 or less from your graveyard to the battlefield.
Mode mode = new Mode(new ReturnFromGraveyardToBattlefieldTargetEffect()); Mode mode = new Mode(new ReturnFromGraveyardToBattlefieldTargetEffect(false, false));
mode.addTarget(new TargetCardInYourGraveyard(filter)); mode.addTarget(new TargetCardInYourGraveyard(filter));
this.getSpellAbility().addMode(mode); this.getSpellAbility().addMode(mode);

View file

@ -38,7 +38,7 @@ public final class PelakkaPredation extends ModalDoubleFacesCard {
// Sorcery // Sorcery
// Target opponent reveals their hand. You may choose a card from it with converted mana cost 3 or greater. That player discards that card. // Target opponent reveals their hand. You may choose a card from it with converted mana cost 3 or greater. That player discards that card.
this.getLeftHalfCard().getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter, TargetController.ANY)); this.getLeftHalfCard().getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter, TargetController.OPPONENT));
this.getLeftHalfCard().getSpellAbility().addTarget(new TargetOpponent()); this.getLeftHalfCard().getSpellAbility().addTarget(new TargetOpponent());
// 2. // 2.

View file

@ -53,7 +53,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 = "ZNC"; // check all abilities and output cards with wrong abilities texts; private static final String FULL_ABILITIES_CHECK_SET_CODE = "ZNR"; // 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 HashMap<String, Set<String>> skipCheckLists = new HashMap<>(); private static final HashMap<String, Set<String>> skipCheckLists = new HashMap<>();

View file

@ -61,11 +61,11 @@ public class HasSubtypesSourceEffect extends ContinuousEffectImpl {
default: default:
for (int i = 0; i < subtypes.size(); i++) { for (int i = 0; i < subtypes.size(); i++) {
if (i == 0) { if (i == 0) {
s += subtypes.get(0).getIndefiniteArticle() + " " + subtypes.get(0) + ", "; s += subtypes.get(i).getIndefiniteArticle() + " " + subtypes.get(i) + ", ";
} else if (i == subtypes.size() - 1) { } else if (i == subtypes.size() - 1) {
s += "and " + subtypes.get(0); s += "and " + subtypes.get(i);
} else { } else {
s += subtypes.get(0) + ", "; s += subtypes.get(i) + ", ";
} }
} }
} }