From 7b7d07fe1b18245580c035597a730b00a7ad84b9 Mon Sep 17 00:00:00 2001 From: emerald000 Date: Fri, 11 Jul 2014 12:45:00 -0400 Subject: [PATCH] [FIX] Fix SacrificeTargetCost(). --- Mage/src/mage/abilities/costs/common/SacrificeTargetCost.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mage/src/mage/abilities/costs/common/SacrificeTargetCost.java b/Mage/src/mage/abilities/costs/common/SacrificeTargetCost.java index 81a540700c..e49ec14471 100644 --- a/Mage/src/mage/abilities/costs/common/SacrificeTargetCost.java +++ b/Mage/src/mage/abilities/costs/common/SacrificeTargetCost.java @@ -34,7 +34,6 @@ import java.util.UUID; import mage.abilities.Ability; import mage.abilities.costs.CostImpl; import mage.constants.Outcome; -import mage.constants.Zone; import mage.game.Game; import mage.game.permanent.Permanent; import mage.target.common.TargetControlledPermanent; @@ -72,7 +71,7 @@ public class SacrificeTargetCost extends CostImpl { return false; } permanents.add(permanent.copy()); - paid |= game.getPlayer(ability.getControllerId()).moveCardToGraveyardWithInfo(permanent, sourceId, game, Zone.BATTLEFIELD); + paid |= permanent.sacrifice(sourceId, game); } if (!paid && targets.get(0).getNumberOfTargets() == 0) { paid = true; // e.g. for Devouring Rage