- Improved the AI for Isperia the Inscrutable.

This commit is contained in:
Sloth
2012-01-27 11:37:33 +00:00
parent f8ac708b77
commit 36aa7b6055

View File

@@ -1471,6 +1471,9 @@ public final class AbilityFactoryChoose {
if (logic.equals("MostProminentInComputerDeck")) {
chosen = CardFactoryUtil.getMostProminentCardName(AllZone.getComputerPlayer()
.getCardsIn(Constant.Zone.Library));
} else if (logic.equals("MostProminentInHumanDeck")) {
chosen = CardFactoryUtil.getMostProminentCardName(AllZone.getHumanPlayer()
.getCardsIn(Constant.Zone.Library));
}
} else {
CardList list = AllZoneUtil.getCardsInGame().getController(AllZone.getHumanPlayer());
@@ -1485,7 +1488,7 @@ public final class AbilityFactoryChoose {
}
}
if (chosen == "") {
chosen = "Forest";
chosen = "Morphling";
}
GuiUtils.getChoice("Computer picked: ", chosen);
host.setNamedCard(chosen);