mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Improved the AI for Isperia the Inscrutable.
This commit is contained in:
@@ -1471,6 +1471,9 @@ public final class AbilityFactoryChoose {
|
|||||||
if (logic.equals("MostProminentInComputerDeck")) {
|
if (logic.equals("MostProminentInComputerDeck")) {
|
||||||
chosen = CardFactoryUtil.getMostProminentCardName(AllZone.getComputerPlayer()
|
chosen = CardFactoryUtil.getMostProminentCardName(AllZone.getComputerPlayer()
|
||||||
.getCardsIn(Constant.Zone.Library));
|
.getCardsIn(Constant.Zone.Library));
|
||||||
|
} else if (logic.equals("MostProminentInHumanDeck")) {
|
||||||
|
chosen = CardFactoryUtil.getMostProminentCardName(AllZone.getHumanPlayer()
|
||||||
|
.getCardsIn(Constant.Zone.Library));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
CardList list = AllZoneUtil.getCardsInGame().getController(AllZone.getHumanPlayer());
|
CardList list = AllZoneUtil.getCardsInGame().getController(AllZone.getHumanPlayer());
|
||||||
@@ -1485,7 +1488,7 @@ public final class AbilityFactoryChoose {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (chosen == "") {
|
if (chosen == "") {
|
||||||
chosen = "Forest";
|
chosen = "Morphling";
|
||||||
}
|
}
|
||||||
GuiUtils.getChoice("Computer picked: ", chosen);
|
GuiUtils.getChoice("Computer picked: ", chosen);
|
||||||
host.setNamedCard(chosen);
|
host.setNamedCard(chosen);
|
||||||
|
|||||||
Reference in New Issue
Block a user