mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed AI for ExileFromHandCost.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user