- Fixed the second, third, etc. AI never blocking anything in multiplayer when multiple players are attacked at the same time.

This commit is contained in:
Agetian
2017-08-18 06:22:55 +00:00
parent 2c9f0e3c7d
commit 6ba659ff55

View File

@@ -151,7 +151,7 @@ public class AiBlockController {
for (final Card c : attackers) { for (final Card c : attackers) {
sortedAttackers.add(c); sortedAttackers.add(c);
} }
} else { } else if (defender instanceof Player && defender.equals(ai)){
firstAttacker = combat.getAttackersOf(defender); firstAttacker = combat.getAttackersOf(defender);
} }
} }