Rishadan Footpad no longer overrides Sacrifice Input, but still prompts twice for the Unless cost.

This commit is contained in:
Sol
2011-10-16 21:51:42 +00:00
parent 1b419a379e
commit 8dae75a9ee

View File

@@ -109,10 +109,8 @@ public class Input_PayManaCost_Ability extends Input {
if (manaCost.isPaid()) { if (manaCost.isPaid()) {
resetManaCost(); resetManaCost();
AllZone.getHumanPlayer().getManaPool().clearPay(fakeAbility, false); AllZone.getHumanPlayer().getManaPool().clearPay(fakeAbility, false);
stop();
paidCommand.execute(); paidCommand.execute();
AllZone.getInputControl().resetInput();
} }
} }
@@ -121,16 +119,16 @@ public class Input_PayManaCost_Ability extends Input {
public void selectButtonCancel() { public void selectButtonCancel() {
resetManaCost(); resetManaCost();
AllZone.getHumanPlayer().getManaPool().unpaid(fakeAbility, true); AllZone.getHumanPlayer().getManaPool().unpaid(fakeAbility, true);
stop();
unpaidCommand.execute(); unpaidCommand.execute();
AllZone.getInputControl().resetInput();
} }
/** {@inheritDoc} */ /** {@inheritDoc} */
@Override @Override
public void selectButtonOK() { public void selectButtonOK() {
if (showOnlyOKButton) { if (showOnlyOKButton) {
stop();
unpaidCommand.execute(); unpaidCommand.execute();
AllZone.getInputControl().resetInput();
} }
} }