From b6f42c7a33ab4e197258dd3ea9dabbc63835e13d Mon Sep 17 00:00:00 2001 From: Sloth Date: Thu, 27 Sep 2012 19:50:43 +0000 Subject: [PATCH] - The AI will no longer hold back creatures for blocking when Time Walk will grant another turn. --- src/main/java/forge/game/player/ComputerUtilAttack.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/forge/game/player/ComputerUtilAttack.java b/src/main/java/forge/game/player/ComputerUtilAttack.java index a7bd03fceb5..827ca140334 100644 --- a/src/main/java/forge/game/player/ComputerUtilAttack.java +++ b/src/main/java/forge/game/player/ComputerUtilAttack.java @@ -237,6 +237,10 @@ public class ComputerUtilAttack { final CardList notNeededAsBlockers = new CardList(attackers); int fixedBlockers = 0; final CardList vigilantes = new CardList(); + //check for time walks + if (Singletons.getModel().getGameState().getPhaseHandler().isNextTurn(AllZone.getComputerPlayer())) { + return attackers; + } for (final Card c : this.computerList) { if (c.getName().equals("Masako the Humorless")) { // "Tapped creatures you control can block as though they were untapped."