mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Improved the AILogic "MostProminentHumanControls".
This commit is contained in:
@@ -359,6 +359,10 @@ public final class AbilityFactoryChoose {
|
|||||||
if (logic.equals("MostProminentHumanControls")) {
|
if (logic.equals("MostProminentHumanControls")) {
|
||||||
chosen = CardFactoryUtil.getMostProminentCreatureType(AllZone.getHumanPlayer()
|
chosen = CardFactoryUtil.getMostProminentCreatureType(AllZone.getHumanPlayer()
|
||||||
.getCardsIn(ZoneType.Battlefield));
|
.getCardsIn(ZoneType.Battlefield));
|
||||||
|
if (!CardUtil.isACreatureType(chosen) || invalidTypes.contains(chosen)) {
|
||||||
|
chosen = CardFactoryUtil.getMostProminentCreatureType(AllZoneUtil.getCardsInGame()
|
||||||
|
.getController(AllZone.getHumanPlayer()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (logic.equals("MostProminentInComputerDeck")) {
|
if (logic.equals("MostProminentInComputerDeck")) {
|
||||||
chosen = CardFactoryUtil.getMostProminentCreatureType(AllZoneUtil.getCardsInGame()
|
chosen = CardFactoryUtil.getMostProminentCreatureType(AllZoneUtil.getCardsInGame()
|
||||||
|
|||||||
Reference in New Issue
Block a user