mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
I believe this would break ai's mana payment
This commit is contained in:
@@ -82,8 +82,6 @@ public class InputPayManaSimple extends InputPayMana {
|
||||
player.payLife(this.phyLifeToLose, this.originalCard);
|
||||
}
|
||||
if (!this.saPaidFor.getHostCard().isCopiedSpell()) {
|
||||
player.getManaPool().clearManaPaid(this.saPaidFor, false);
|
||||
|
||||
if (this.saPaidFor.isSpell()) {
|
||||
this.saPaidFor.setHostCard(game.getAction().moveToStack(this.originalCard));
|
||||
}
|
||||
|
||||
@@ -627,7 +627,7 @@ public class HumanPlay {
|
||||
prompt = source + "\n" + promptCurrent;
|
||||
}
|
||||
|
||||
p.getManaPool().clearManaPaid(sourceAbility, false);
|
||||
sourceAbility.clearManaPaid();
|
||||
boolean paid = p.getController().payManaCost(cost.getCostMana(), sourceAbility);
|
||||
if (!paid) {
|
||||
p.getManaPool().refundManaPaid(sourceAbility);
|
||||
|
||||
Reference in New Issue
Block a user