mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- The AI will now try to attack with unblockable creatures in exalted mode.
This commit is contained in:
@@ -547,6 +547,13 @@ public class ComputerUtilAttack {
|
||||
}
|
||||
if (exalted) {
|
||||
Card att = CardFactoryUtil.getBestCreatureAI(attackersLeft);
|
||||
CardListUtil.sortAttack(this.attackers);
|
||||
for (Card attacker : this.attackers) {
|
||||
if (!CombatUtil.canBeBlocked(attacker, this.blockers)) {
|
||||
att = attacker;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ((att != null) && CombatUtil.canAttack(att, combat)) {
|
||||
combat.addAttacker(att);
|
||||
System.out.println("Exalted");
|
||||
|
||||
Reference in New Issue
Block a user