From 70959ca22504eef94c6d20fd4df141c6f5dd05e4 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 26 Jan 2016 22:34:40 +0100 Subject: [PATCH] * Ghostway - Fixed that only one card was returned to the battlefield. --- .../ReturnToBattlefieldUnderOwnerControlTargetEffect.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/effects/common/ReturnToBattlefieldUnderOwnerControlTargetEffect.java b/Mage/src/main/java/mage/abilities/effects/common/ReturnToBattlefieldUnderOwnerControlTargetEffect.java index b708e75fe4c..028e657b75e 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/ReturnToBattlefieldUnderOwnerControlTargetEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/ReturnToBattlefieldUnderOwnerControlTargetEffect.java @@ -29,7 +29,7 @@ package mage.abilities.effects.common; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; -import mage.cards.Card; +import mage.cards.CardsImpl; import mage.constants.Outcome; import mage.constants.Zone; import mage.game.Game; @@ -67,10 +67,8 @@ public class ReturnToBattlefieldUnderOwnerControlTargetEffect extends OneShotEff public boolean apply(Game game, Ability source) { Player controller = game.getPlayer(source.getControllerId()); if (controller != null) { - Card card = game.getCard(targetPointer.getFirst(game, source)); - if (card != null) { - controller.moveCards(card, Zone.BATTLEFIELD, source, game, tapped, false, true, null); - } + controller.moveCards(new CardsImpl(getTargetPointer().getTargets(game, source)).getCards(game), + Zone.BATTLEFIELD, source, game, tapped, false, true, null); return true; } return false;