- MillAI logic for Rebirth.

This commit is contained in:
Agetian
2020-02-03 17:29:46 +03:00
parent 244b3d6d24
commit ae060a1b76

View File

@@ -38,6 +38,8 @@ public class MillAi extends SpellAbilityAi {
} else if (aiLogic.equals("LilianaMill")) {
// Only mill if a "Raise Dead" target is available, in case of control decks with few creatures
return CardLists.filter(ai.getCardsIn(ZoneType.Graveyard), CardPredicates.Presets.CREATURES).size() >= 1;
} else if (aiLogic.equals("Rebirth")) {
return ai.getLife() <= 19;
}
return true;
}