mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
This restores mana payment prompts (lost yesterday)
This commit is contained in:
@@ -128,7 +128,7 @@ public class CostPartMana extends CostPart {
|
||||
sa.clearManaPaid();
|
||||
|
||||
// decision not used here, the whole payment is interactive!
|
||||
return payer.getController().payManaCost(this, sa);
|
||||
return payer.getController().payManaCost(this, sa, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -222,10 +222,10 @@ public abstract class PlayerController {
|
||||
public List<Card> cheatShuffle(List<Card> list) { return list; }
|
||||
public Collection<? extends PaperCard> complainCardsCantPlayWell(Deck myDeck) { return null; }
|
||||
|
||||
public final boolean payManaCost(CostPartMana costPartMana, SpellAbility sa) {
|
||||
return payManaCost(costPartMana.getManaCostFor(sa), costPartMana, sa);
|
||||
public final boolean payManaCost(CostPartMana costPartMana, SpellAbility sa, String prompt) {
|
||||
return payManaCost(costPartMana.getManaCostFor(sa), costPartMana, sa, prompt);
|
||||
}
|
||||
public abstract boolean payManaCost(ManaCost toPay, CostPartMana costPartMana, SpellAbility sa);
|
||||
public abstract boolean payManaCost(ManaCost toPay, CostPartMana costPartMana, SpellAbility sa, String prompt);
|
||||
|
||||
public abstract Map<Card, ManaCostShard> chooseCardsForConvoke(SpellAbility sa, ManaCost manaCost, List<Card> untappedCreats);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user