From 0fc4cc4e28ece6b7b78246a41ef5c1d84ce948b1 Mon Sep 17 00:00:00 2001
From: magenoxx <magenoxx@gmail>
Date: Sun, 6 Nov 2011 13:37:10 +0300
Subject: [PATCH] Fixed Issue 365.

---
 Mage/src/mage/abilities/effects/common/SacrificeEffect.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mage/src/mage/abilities/effects/common/SacrificeEffect.java b/Mage/src/mage/abilities/effects/common/SacrificeEffect.java
index 3fdc346fd0..2b2f2080a2 100644
--- a/Mage/src/mage/abilities/effects/common/SacrificeEffect.java
+++ b/Mage/src/mage/abilities/effects/common/SacrificeEffect.java
@@ -73,9 +73,9 @@ public class SacrificeEffect extends OneShotEffect<SacrificeEffect>{
 	@Override
 	public boolean apply(Game game, Ability source) {
 		Player player = game.getPlayer(targetPointer.getFirst(source));
-		filter.setTargetController(TargetController.YOU);
+		//filter.setTargetController(TargetController.YOU);
 		int amount = count.calculate(game, source);
-		amount = Math.min(amount, game.getBattlefield().countAll(filter, source.getControllerId()));
+		amount = Math.min(amount, game.getBattlefield().countAll(filter, player.getId()));
 		Target target = new TargetControlledPermanent(amount, amount, filter, false);
 
 		//A spell or ability could have removed the only legal target this player