diff --git a/Mage.Sets/src/mage/cards/t/TheEnd.java b/Mage.Sets/src/mage/cards/t/TheEnd.java index 6f09f83c724..1865a8b7e82 100644 --- a/Mage.Sets/src/mage/cards/t/TheEnd.java +++ b/Mage.Sets/src/mage/cards/t/TheEnd.java @@ -28,8 +28,8 @@ public final class TheEnd extends CardImpl { .setText("This spell costs {2} less to cast if your life total is 5 or less.") ).setRuleAtTheTop(true)); - // Exile target creature or planeswalker. Search its controller's graveyard, hand, and library for any number of cards with the same name as that permanent and exile them. That player shuffles, then draws card for each card exiled from their hand this way. - this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(true, "its controller's", "any number of cards with the same name as that permanent")); + // Exile target creature or planeswalker. Search its controller's graveyard, hand, and library for any number of cards with the same name as that permanent and exile them. That player shuffles, then draws a card for each card exiled from their hand this way. + this.getSpellAbility().addEffect(new ExileTargetAndSearchGraveyardHandLibraryEffect(true, "its controller's", "any number of cards with the same name as that permanent", true)); this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker()); } diff --git a/Mage/src/main/java/mage/abilities/effects/common/ExileTargetAndSearchGraveyardHandLibraryEffect.java b/Mage/src/main/java/mage/abilities/effects/common/ExileTargetAndSearchGraveyardHandLibraryEffect.java index 0f776b36cf4..c911eebd521 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/ExileTargetAndSearchGraveyardHandLibraryEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/ExileTargetAndSearchGraveyardHandLibraryEffect.java @@ -14,8 +14,7 @@ import mage.players.Player; public class ExileTargetAndSearchGraveyardHandLibraryEffect extends SearchTargetGraveyardHandLibraryForCardNameAndExileEffect { public ExileTargetAndSearchGraveyardHandLibraryEffect(boolean graveyardExileOptional, String searchWhatText, String searchForText) { - super(graveyardExileOptional, searchWhatText, searchForText); - this.staticText = ""; // since parent class overrides static text but we need to use a target + this(graveyardExileOptional, searchWhatText, searchForText, false); } public ExileTargetAndSearchGraveyardHandLibraryEffect(boolean graveyardExileOptional, String searchWhatText, String searchForText, boolean drawForEachHandCard) { @@ -50,6 +49,7 @@ public class ExileTargetAndSearchGraveyardHandLibraryEffect extends SearchTarget return staticText; } return "exile " + getTargetPointer().describeTargets(mode.getTargets(), "that permanent") - + ". Search " + searchWhatText + " graveyard, hand, and library for " + searchForText + " and exile them. Then that player shuffles"; + + ". Search " + searchWhatText + " graveyard, hand, and library for " + searchForText + " and exile them. " + + (drawForEachHandCard ? "That player shuffles, then draws a card for each card exiled from their hand this way" : "Then that player shuffles"); } }