Add labels

This commit is contained in:
tool4EvEr
2023-01-26 11:44:41 +01:00
parent 5ae42b4c71
commit 703f28a21f
9 changed files with 17 additions and 1 deletions

View File

@@ -343,7 +343,7 @@ public class PlayerControllerAi extends PlayerController {
public List<Card> enlistAttackers(List<Card> attackers) {
CardCollection cards = CostEnlist.getCardsForEnlisting(brains.getPlayer());
ComputerUtilCard.sortByEvaluateCreature(new CardCollection(attackers));
// do not enlist more than available payment choices
// do not enlist more than available payment choices (currently ignores multiple instances of Enlist, but can that even happen?)
attackers = attackers.subList(0, cards.size());
// TODO check if not needed as defender
return attackers;