mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Little update to the AI handling of "CARDNAME blocks each turn if able."
This commit is contained in:
@@ -728,9 +728,9 @@ public class ComputerUtil_Block2
|
||||
if(canBlockAttackerWithLure.contains(blockersLeft.get(i))) chumpBlockers.add(blockersLeft.get(i));
|
||||
}
|
||||
if (!chumpBlockers.isEmpty()) {
|
||||
attackersLeft.shuffle();
|
||||
for(int i = 0; i < attackersLeft.size(); i++) {
|
||||
attacker = attackersLeft.get(i);
|
||||
attackers.shuffle();
|
||||
for(int i = 0; i < attackers.size(); i++) {
|
||||
attacker = attackers.get(i);
|
||||
blockers = getPossibleBlockers(attacker, chumpBlockers, canBlockAttackerWithLure, attackersWithLure);
|
||||
for(int j = 0; j < blockers.size(); j++) {
|
||||
blocker = blockers.get(j);
|
||||
|
||||
Reference in New Issue
Block a user