- Forgot to add AI handling for Iterative Analysis

This commit is contained in:
Sol
2014-08-12 11:58:07 +00:00
parent 224c19bf3c
commit 566b1955f9

View File

@@ -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());