mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Combat - Creatures forced to attack can no longer be removed from attack by using the undo button (e.g. Bident of Thassa).
This commit is contained in:
parent
e51213a72a
commit
7d2b1c076a
10 changed files with 24 additions and 20 deletions
|
|
@ -1254,12 +1254,12 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
CombatSimulator combat = simulateAttack(attackers, blockers, opponentId, game);
|
||||
if (combat.rating > 2) {
|
||||
for (CombatGroupSimulator group: combat.groups) {
|
||||
this.declareAttacker(group.attackers.get(0).id, group.defenderId, game);
|
||||
this.declareAttacker(group.attackers.get(0).id, group.defenderId, game, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (Permanent attacker: actualAttackers) {
|
||||
this.declareAttacker(attacker.getId(), opponentId, game);
|
||||
this.declareAttacker(attacker.getId(), opponentId, game, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue