*Made Delved cards not exile until cost is fully paid

This commit is contained in:
Hellfish
2015-02-14 09:09:04 +00:00
parent e0e38b6cc4
commit 8e62e17f65
2 changed files with 12 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ import java.util.Map;
public class HumanPlay {
private HumanPlay() {
private HumanPlay() {
}
/**
@@ -98,8 +98,16 @@ public class HumanPlay {
if (sa.isSpell() && !source.isCopiedSpell()) {
sa.setHostCard(p.getGame().getAction().moveToStack(source));
}
p.getGame().getStack().add(sa);
}
if(sa.isDelve()) {
for(Card c : sa.getHostCard().getDelved()) {
p.getGame().getAction().exile(c);
}
sa.getHostCard().clearDelved();
}
}
/**
@@ -738,7 +746,7 @@ public class HumanPlay {
source.setXManaCostPaidByColor(toPay.getXManaCostPaidByColor());
source.setColorsPaid(toPay.getColorsPaid());
source.setSunburstValue(toPay.getSunburst());
}
}
// Handle convoke and offerings
if (ability.isOffering() && ability.getSacrificedAsOffering() != null) {