From aa96ed225f409b331f2db7e11767afd01d52caab Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 21 Apr 2020 21:45:55 -0400 Subject: [PATCH] fixed Genesis Ultimatum not allowing cards to be selected --- Mage.Sets/src/mage/cards/g/GenesisUltimatum.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/cards/g/GenesisUltimatum.java b/Mage.Sets/src/mage/cards/g/GenesisUltimatum.java index c49830a20c..47dbbfcfcf 100644 --- a/Mage.Sets/src/mage/cards/g/GenesisUltimatum.java +++ b/Mage.Sets/src/mage/cards/g/GenesisUltimatum.java @@ -16,7 +16,7 @@ import mage.filter.common.FilterPermanentCard; import mage.game.Game; import mage.players.Player; import mage.target.TargetCard; -import mage.target.common.TargetCardInHand; +import mage.target.common.TargetCardInLibrary; import java.util.UUID; @@ -45,7 +45,7 @@ public final class GenesisUltimatum extends CardImpl { class GenesisUltimatumEffect extends OneShotEffect { - private static final FilterCard filter = new FilterPermanentCard(); + private static final FilterCard filter = new FilterPermanentCard("any number of permanent cards"); GenesisUltimatumEffect() { super(Outcome.Benefit); @@ -69,8 +69,8 @@ class GenesisUltimatumEffect extends OneShotEffect { return false; } Cards toHand = new CardsImpl(player.getLibrary().getTopCards(game, 5)); - player.lookAtCards("", toHand, game); - TargetCard targetCard = new TargetCardInHand(0, Integer.MAX_VALUE, filter); +// player.lookAtCards("", toHand, game); + TargetCard targetCard = new TargetCardInLibrary(0, 5, filter); player.choose(outcome, toHand, targetCard, game); Cards toBattlefield = new CardsImpl(targetCard.getTargets()); if (player.moveCards(toBattlefield, Zone.BATTLEFIELD, source, game)) {