- Put an attacking creature to the battlefield will also be able to choose a defender for human players

This commit is contained in:
swordshine
2013-04-10 00:50:54 +00:00
parent 1a89e4cce3
commit 0f6964be04

View File

@@ -830,7 +830,9 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
} }
if (sa.hasParam("Attacking")) { if (sa.hasParam("Attacking")) {
Singletons.getModel().getGame().getCombat().addAttacker(c); final List<GameEntity> e = c.getController().getGame().getCombat().getDefenders();
final GameEntity defender = e.size() == 1 ? e.get(0) : GuiChoose.one("Declare " + c, e);
Singletons.getModel().getGame().getCombat().addAttacker(c, defender);
} }
movedCard = Singletons.getModel().getGame().getAction().moveTo(c.getController().getZone(destination), c); movedCard = Singletons.getModel().getGame().getAction().moveTo(c.getController().getZone(destination), c);