- Fixed AI for ExileFromHandCost.

This commit is contained in:
jendave
2011-08-06 20:12:40 +00:00
parent 9dd11dc795
commit 11a1d9908b

View File

@@ -500,7 +500,7 @@ public class Cost_Payment {
if (cost.getExileFromHandThis())
exileFromHandCard.add(card);
else
exileFromHandCard = ComputerUtil.chooseExileType(cost.getExileFromHandType(), card, ability.getTargetCard(), cost.getExileFromHandAmount());
exileFromHandCard = ComputerUtil.chooseExileFromHandType(cost.getExileFromHandType(), card, ability.getTargetCard(), cost.getExileFromHandAmount());
if (exileFromHandCard.size() != cost.getExileFromHandAmount()){
System.out.println("Couldn't find a valid card to exile for: "+card.getName());