* Odric Master Tactician - Fixed that the game didn't leave the block phase controlled by the controller of Odric.

This commit is contained in:
LevelX2 2013-08-06 18:26:49 +02:00
parent 1a81c42441
commit 0d37d1593b
14 changed files with 39 additions and 25 deletions

View file

@ -207,7 +207,7 @@ public class RandomPlayer extends ComputerPlayer<RandomPlayer> {
if (check < numGroups) {
CombatGroup group = game.getCombat().getGroups().get(check);
if (group.getAttackers().size() > 0)
this.declareBlocker(blocker.getId(), group.getAttackers().get(0), game);
this.declareBlocker(this.getId(), blocker.getId(), group.getAttackers().get(0), game);
}
}
actionCount++;

View file

@ -163,7 +163,7 @@ public class TestPlayer extends ComputerPlayer<TestPlayer> {
filterAttacker.add(new NamePredicate(groups[1]));
Permanent attacker = findPermanent(filterAttacker, opponentId, game);
if (attacker != null) {
this.declareBlocker(blocker.getId(), attacker.getId(), game);
this.declareBlocker(defendingPlayerId, blocker.getId(), attacker.getId(), game);
}
}
}