- Improve ChangeZoneAi for Wrenn and Six like abilities.

This commit is contained in:
Agetian
2019-06-08 09:38:47 +03:00
parent 260acd5403
commit e21ec52fdd

View File

@@ -1110,7 +1110,8 @@ public class ChangeZoneAi extends SpellAbilityAi {
}
}
boolean doWithoutTarget = sa.hasParam("Planeswalker") && sa.getPayCosts() != null
boolean doWithoutTarget = sa.hasParam("Planeswalker") && sa.getTargetRestrictions() != null
&& sa.getTargetRestrictions().getMinTargets(source, sa) == 0 && sa.getPayCosts() != null
&& sa.getPayCosts().hasSpecificCostType(CostPutCounter.class);
if (list.isEmpty() && !doWithoutTarget) {