From 47eea60febe73fcaf45b00771f6e2f4a614ec5c3 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 23 Sep 2022 20:42:35 -0400 Subject: [PATCH] [CLB] fix #9556 --- Mage.Sets/src/mage/cards/s/SplitTheSpoils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/s/SplitTheSpoils.java b/Mage.Sets/src/mage/cards/s/SplitTheSpoils.java index 5a7a715184..26cc35f6c9 100644 --- a/Mage.Sets/src/mage/cards/s/SplitTheSpoils.java +++ b/Mage.Sets/src/mage/cards/s/SplitTheSpoils.java @@ -10,6 +10,7 @@ import mage.filter.StaticFilters; import mage.game.Game; import mage.players.Player; import mage.target.TargetCard; +import mage.target.common.TargetCardInExile; import mage.target.common.TargetCardInYourGraveyard; import mage.target.common.TargetOpponent; @@ -68,7 +69,7 @@ class SplitTheSpoilsEffect extends OneShotEffect { return false; } player.moveCards(cards, Zone.EXILED, source, game); - TargetCard target = new TargetCardInYourGraveyard(0, 5); + TargetCard target = new TargetCardInExile(0, 5, StaticFilters.FILTER_CARD, null); target.withChooseHint("To put in pile 1").setNotTarget(true); player.choose(outcome, cards, target, game); List pile1 = new ArrayList<>(); @@ -82,6 +83,7 @@ class SplitTheSpoilsEffect extends OneShotEffect { pile2.addAll(cards.getCards(game)); TargetOpponent targetOpponent = new TargetOpponent(); targetOpponent.setNotTarget(true); + player.choose(outcome, targetOpponent, source, game); if (game.getPlayer(targetOpponent.getFirstTarget()).choosePile( outcome, "Choose a pile to go to hand (the other goes to graveyard)", pile1, pile2, game )) {