- Fixed logic in getUnblockedAttackers() (used by Ninjutsu AI).

This commit is contained in:
Sloth
2015-12-12 21:17:34 +00:00
parent 723e58b2b3
commit 2a3c54d20c

View File

@@ -779,7 +779,7 @@ public class Combat {
public final CardCollection getUnblockedAttackers() {
CardCollection unblocked = new CardCollection();
for (AttackingBand ab : attackedByBands.values()) {
if (Boolean.TRUE.equals(ab.isBlocked())) {
if (Boolean.FALSE.equals(ab.isBlocked())) {
unblocked.addAll(ab.getAttackers());
}
}