mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
* Odric Master Tactician - Fixed that the game didn't leave the block phase controlled by the controller of Odric.
This commit is contained in:
parent
1a81c42441
commit
0d37d1593b
14 changed files with 39 additions and 25 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue