mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Permitted AI to band attackers
This commit is contained in:
parent
58fde7db50
commit
7b4eb5193e
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ public class Combat implements Serializable, Copyable<Combat> {
|
|||
target.setRequired(false);
|
||||
if (!target.canChoose(attackingPlayerId, game)
|
||||
|| game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.DECLARING_ATTACKERS, attackingPlayerId, attackingPlayerId))
|
||||
|| !player.chooseUse(Outcome.AIDontUseIt, "Do you wish to " + (isBanded ? "band " + attacker.getLogName() + " with another " : "form a band with " + attacker.getLogName() + " and an " ) + "attacking creature?", null, game)) {
|
||||
|| !player.chooseUse(Outcome.Benefit, "Do you wish to " + (isBanded ? "band " + attacker.getLogName() + " with another " : "form a band with " + attacker.getLogName() + " and an " ) + "attacking creature?", null, game)) {
|
||||
break;
|
||||
}
|
||||
if (target.choose(Outcome.Benefit, attackingPlayerId, null, game)) {
|
||||
|
|
Loading…
Reference in a new issue