* Fixed that choose opponent was handled targeted but shouldn't (e.g.used for Stalking Leonin) fixed
@@ -9,6 +9,7 @@ import mage.game.permanent.Permanent;
import mage.players.Player;
import mage.target.common.TargetOpponent;
import mage.util.CardUtil;
+
/**
*
* @author LevelX2
@@ -36,7 +37,7 @@ public class ChooseSecretOpponentEffect extends OneShotEffect {
mageObject = game.getObject(source.getSourceId());
}
if (controller != null && mageObject != null) {
- TargetOpponent targetOpponent = new TargetOpponent();
+ TargetOpponent targetOpponent = new TargetOpponent(true);
targetOpponent.setTargetName("opponent (secretly)");
while (!controller.choose(outcome, targetOpponent, source.getSourceId(), game)) {
if (!controller.canRespond()) {
@@ -64,5 +65,4 @@ public class ChooseSecretOpponentEffect extends OneShotEffect {
return new ChooseSecretOpponentEffect(this);
}
-
}
