From c716128f72fff074c3540155bc12b85922bb89b4 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 1 Sep 2014 15:03:34 +0200 Subject: [PATCH] * Relic of Progenitus - Added game log info about moved cards. --- .../mage/sets/shardsofalara/RelicOfProgenitus.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Mage.Sets/src/mage/sets/shardsofalara/RelicOfProgenitus.java b/Mage.Sets/src/mage/sets/shardsofalara/RelicOfProgenitus.java index cd48a541d6..eaf069197d 100644 --- a/Mage.Sets/src/mage/sets/shardsofalara/RelicOfProgenitus.java +++ b/Mage.Sets/src/mage/sets/shardsofalara/RelicOfProgenitus.java @@ -28,10 +28,6 @@ package mage.sets.shardsofalara; import java.util.UUID; -import mage.constants.CardType; -import mage.constants.Outcome; -import mage.constants.Rarity; -import mage.constants.Zone; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.SacrificeSourceCost; @@ -41,6 +37,10 @@ import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.DrawCardSourceControllerEffect; import mage.cards.Card; import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Outcome; +import mage.constants.Rarity; +import mage.constants.Zone; import mage.filter.FilterCard; import mage.filter.predicate.other.OwnerIdPredicate; import mage.game.Game; @@ -106,8 +106,7 @@ class RelicOfProgenitusEffect extends OneShotEffect { if (targetPlayer.chooseTarget(Outcome.Exile, target, source, game)) { Card card = game.getCard(target.getFirstTarget()); if (card != null) { - targetPlayer.getGraveyard().remove(card); - card.moveToExile(null, null, source.getSourceId(), game); + targetPlayer.moveCardToExileWithInfo(card, null, "", source.getSourceId(), game, Zone.GRAVEYARD); } return true; } @@ -145,7 +144,7 @@ class RelicOfProgenitusEffect2 extends OneShotEffect { for (UUID cid : player.getGraveyard().copy()) { Card card = game.getCard(cid); if (card != null) { - card.moveToExile(null, null, source.getSourceId(), game); + controller.moveCardToExileWithInfo(card, null, "", source.getSourceId(), game, Zone.GRAVEYARD); } } }