Fix ignoring Guardian Beast

This commit is contained in:
tool4EvEr
2023-02-13 18:18:29 +01:00
parent 3733983874
commit e48ac2e623
3 changed files with 5 additions and 2 deletions

View File

@@ -265,7 +265,8 @@ public class AiCostDecision extends CostDecisionMakerBase {
int c = cost.getAbilityAmount(ability);
final CardCollection typeList = CardLists.getValidCards(player.getGame().getCardsIn(ZoneType.Battlefield), cost.getType().split(";"), player, source, ability);
CardCollection typeList = CardLists.getValidCards(player.getGame().getCardsIn(ZoneType.Battlefield), cost.getType().split(";"), player, source, ability);
typeList = CardLists.filter(typeList, crd -> crd.canBeControlledBy(player));
if (typeList.size() < c) {
return null;