mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fixed logic in getUnblockedAttackers() (used by Ninjutsu AI).
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user