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