- The AI will now try to attack with unblockable creatures in exalted mode.

This commit is contained in:
Sloth
2012-07-18 11:38:16 +00:00
parent a6c8734d10
commit 75136c9b36

View File

@@ -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");