- Fixed the AI cheating with Plague Belcher by ignoring its triggered ETB ability.

This commit is contained in:
Agetian
2017-08-29 16:18:09 +00:00
parent 39fb42db10
commit 84e73f6f52
2 changed files with 9 additions and 2 deletions

View File

@@ -707,6 +707,13 @@ public class CountersPutAi extends SpellAbilityAi {
list = CardLists.getTargetableCards(ai.getOpponents().getCardsIn(ZoneType.Battlefield), sa);
preferred = false;
}
if (list.isEmpty()) {
// Still an empty list, but we have to choose something (mandatory); expand targeting to
// include AI's own cards to see if there's anything targetable (e.g. Plague Belcher).
list = CardLists.getTargetableCards(ai.getCardsIn(ZoneType.Battlefield), sa);
preferred = false;
}
}
if (list.isEmpty()) {