mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Rishadan Footpad no longer overrides Sacrifice Input, but still prompts twice for the Unless cost.
This commit is contained in:
@@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user