(treating null as refuse to pay)
This commit is contained in:
Maxmtg
2013-04-22 17:15:07 +00:00
parent 5a1876ea7c
commit 7984cd3578

View File

@@ -480,7 +480,8 @@ public class CostExile extends CostPartWithList {
// TODO Determine exile from same zone for AI // TODO Determine exile from same zone for AI
return null; return null;
} else { } else {
return new PaymentDecision(ComputerUtil.chooseExileFrom(ai, this.getFrom(), this.getType(), source, ability.getTargetCard(), c)); List<Card> chosen = ComputerUtil.chooseExileFrom(ai, this.getFrom(), this.getType(), source, ability.getTargetCard(), c);
return null == chosen ? null : new PaymentDecision(chosen);
} }
} }