mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Forgot to add AI handling for Iterative Analysis
This commit is contained in:
@@ -821,6 +821,9 @@ public class PlayerControllerAi extends PlayerController {
|
|||||||
return ComputerUtilCard.getBestCreatureAI(player.getCardsIn(ZoneType.Library)).getName();
|
return ComputerUtilCard.getBestCreatureAI(player.getCardsIn(ZoneType.Library)).getName();
|
||||||
} else if (logic.equals("RandomInComputerDeck")) {
|
} else if (logic.equals("RandomInComputerDeck")) {
|
||||||
return Aggregates.random(player.getCardsIn(ZoneType.Library)).getName();
|
return Aggregates.random(player.getCardsIn(ZoneType.Library)).getName();
|
||||||
|
} else if (logic.equals("MostProminentSpellInComputerDeck")) {
|
||||||
|
List<Card> cards = CardLists.getValidCards(player.getCardsIn(ZoneType.Library), "Card.Instant,Card.Sorcery", player, sa.getHostCard());
|
||||||
|
return ComputerUtilCard.getMostProminentCardName(cards);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
List<Card> list = CardLists.filterControlledBy(game.getCardsInGame(), player.getOpponent());
|
List<Card> list = CardLists.filterControlledBy(game.getCardsInGame(), player.getOpponent());
|
||||||
|
|||||||
Reference in New Issue
Block a user