From cda79866ad4ad8ff42d1ad09b795befa08834270 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 2 Feb 2021 10:24:54 -0500 Subject: [PATCH] [ZNR] a few text fixes --- Mage.Sets/src/mage/cards/i/InscriptionOfRuin.java | 2 +- Mage.Sets/src/mage/cards/p/PelakkaPredation.java | 2 +- .../src/test/java/mage/verify/VerifyCardDataTest.java | 2 +- .../effects/common/continuous/HasSubtypesSourceEffect.java | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/cards/i/InscriptionOfRuin.java b/Mage.Sets/src/mage/cards/i/InscriptionOfRuin.java index 6eee070624..b7760fb148 100644 --- a/Mage.Sets/src/mage/cards/i/InscriptionOfRuin.java +++ b/Mage.Sets/src/mage/cards/i/InscriptionOfRuin.java @@ -48,7 +48,7 @@ public final class InscriptionOfRuin extends CardImpl { this.getSpellAbility().addTarget(new TargetOpponent()); // • 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)); this.getSpellAbility().addMode(mode); diff --git a/Mage.Sets/src/mage/cards/p/PelakkaPredation.java b/Mage.Sets/src/mage/cards/p/PelakkaPredation.java index 9474fb8bc3..4b1afec77d 100644 --- a/Mage.Sets/src/mage/cards/p/PelakkaPredation.java +++ b/Mage.Sets/src/mage/cards/p/PelakkaPredation.java @@ -38,7 +38,7 @@ public final class PelakkaPredation extends ModalDoubleFacesCard { // 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. - this.getLeftHalfCard().getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter, TargetController.ANY)); + this.getLeftHalfCard().getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter, TargetController.OPPONENT)); this.getLeftHalfCard().getSpellAbility().addTarget(new TargetOpponent()); // 2. diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index 6a87715587..fe92c24592 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -53,7 +53,7 @@ public class VerifyCardDataTest { 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 HashMap> skipCheckLists = new HashMap<>(); diff --git a/Mage/src/main/java/mage/abilities/effects/common/continuous/HasSubtypesSourceEffect.java b/Mage/src/main/java/mage/abilities/effects/common/continuous/HasSubtypesSourceEffect.java index 2f85363577..b708cd0513 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/continuous/HasSubtypesSourceEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/continuous/HasSubtypesSourceEffect.java @@ -61,11 +61,11 @@ public class HasSubtypesSourceEffect extends ContinuousEffectImpl { default: for (int i = 0; i < subtypes.size(); i++) { 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) { - s += "and " + subtypes.get(0); + s += "and " + subtypes.get(i); } else { - s += subtypes.get(0) + ", "; + s += subtypes.get(i) + ", "; } } }