From f98069e8296cd66437e697a705c7ccb948476eb2 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sun, 10 Oct 2021 17:16:03 -0400 Subject: [PATCH] [ZNR] a few text fixes --- Mage.Sets/src/mage/cards/g/GlacialGrasp.java | 2 +- Mage.Sets/src/mage/cards/p/PressurePoint.java | 2 +- Mage.Sets/src/mage/cards/s/ScaleTheHeights.java | 2 +- Mage.Sets/src/mage/cards/s/SoaringThoughtThief.java | 2 +- Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java | 2 +- .../common/discard/DiscardCardYouChooseTargetEffect.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/cards/g/GlacialGrasp.java b/Mage.Sets/src/mage/cards/g/GlacialGrasp.java index 200dba1e92..a528d93fa8 100644 --- a/Mage.Sets/src/mage/cards/g/GlacialGrasp.java +++ b/Mage.Sets/src/mage/cards/g/GlacialGrasp.java @@ -28,7 +28,7 @@ public final class GlacialGrasp extends CardImpl { this.getSpellAbility().addTarget(new TargetCreaturePermanent()); // Draw a card. - this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1)); + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("
")); } private GlacialGrasp(final GlacialGrasp card) { diff --git a/Mage.Sets/src/mage/cards/p/PressurePoint.java b/Mage.Sets/src/mage/cards/p/PressurePoint.java index 3f68eb7397..d4e4b94674 100644 --- a/Mage.Sets/src/mage/cards/p/PressurePoint.java +++ b/Mage.Sets/src/mage/cards/p/PressurePoint.java @@ -23,7 +23,7 @@ public final class PressurePoint extends CardImpl { this.getSpellAbility().addTarget(new TargetCreaturePermanent()); // Draw a card. - this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1)); + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("
")); } private PressurePoint(final PressurePoint card) { diff --git a/Mage.Sets/src/mage/cards/s/ScaleTheHeights.java b/Mage.Sets/src/mage/cards/s/ScaleTheHeights.java index 838736eedf..ce529bc7b7 100644 --- a/Mage.Sets/src/mage/cards/s/ScaleTheHeights.java +++ b/Mage.Sets/src/mage/cards/s/ScaleTheHeights.java @@ -28,7 +28,7 @@ public final class ScaleTheHeights extends CardImpl { this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 1)); // Draw a card. - this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1)); + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("
")); } private ScaleTheHeights(final ScaleTheHeights card) { diff --git a/Mage.Sets/src/mage/cards/s/SoaringThoughtThief.java b/Mage.Sets/src/mage/cards/s/SoaringThoughtThief.java index deae92bc1f..517a053c7c 100644 --- a/Mage.Sets/src/mage/cards/s/SoaringThoughtThief.java +++ b/Mage.Sets/src/mage/cards/s/SoaringThoughtThief.java @@ -50,7 +50,7 @@ public final class SoaringThoughtThief extends CardImpl { // Whenever one or more Rogues you control attack, each opponent mills two cards. this.addAbility(new AttacksWithCreaturesTriggeredAbility( new MillCardsEachPlayerEffect(2, TargetController.OPPONENT), 1, filter - )); + ).setTriggerPhrase("Whenever one or more Rogues you control attack, ")); } private SoaringThoughtThief(final SoaringThoughtThief card) { diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index 42d4d48743..c91d9f4ccc 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -58,7 +58,7 @@ public class VerifyCardDataTest { private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class); - private static final String FULL_ABILITIES_CHECK_SET_CODE = "MID"; // 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 ONLY_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages diff --git a/Mage/src/main/java/mage/abilities/effects/common/discard/DiscardCardYouChooseTargetEffect.java b/Mage/src/main/java/mage/abilities/effects/common/discard/DiscardCardYouChooseTargetEffect.java index 803343dc73..f70a044d8c 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/discard/DiscardCardYouChooseTargetEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/discard/DiscardCardYouChooseTargetEffect.java @@ -186,7 +186,7 @@ public class DiscardCardYouChooseTargetEffect extends OneShotEffect { sb.append(CardUtil.addArticle(filter.getMessage())); } if (revealAllCards) { - sb.append(" from it."); + sb.append(filter.getMessage().contains("from it") ? "." : " from it."); } else { sb.append(" of them."); }