mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
*Made Delved cards not exile until cost is fully paid
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user