- More fixeing the check in isPreferredTarget AI function.

This commit is contained in:
Sloth
2015-12-12 21:49:15 +00:00
parent e91a069b2b
commit ce9eb0b02c

View File

@@ -945,7 +945,10 @@ public class ChangeZoneAi extends SpellAbilityAi {
// Only care about combatants during combat
if (game.getPhaseHandler().inCombat() && origin.equals(ZoneType.Battlefield)) {
list = CardLists.getValidCards(list, "Card.attacking,Card.blocking", null, null);
CardCollection newList = CardLists.getValidCards(list, "Card.attacking,Card.blocking", null, null);
if (!newList.isEmpty() || !sa.isTrigger()) {
list = newList;
}
}
if (list.isEmpty()) {