mirror of
https://github.com/correl/mage.git
synced 2024-11-28 11:09:54 +00:00
[STX] fixed Wandering Archaic not copying when opponent doesn't pay
This commit is contained in:
parent
f033a6b3cd
commit
a641ac5e6e
1 changed files with 6 additions and 10 deletions
|
@ -86,16 +86,12 @@ class WanderingArchaicEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
Cost cost = new GenericManaCost(2);
|
||||
if (cost.canPay(
|
||||
source, source, opponent.getId(), game
|
||||
) && opponent.chooseUse(
|
||||
outcome, "Pay {2} to prevent " + controller.getName()
|
||||
+ " from copying " + spell.getName() + "?", source, game
|
||||
) && cost.pay(
|
||||
source, game, source, opponent.getId(), false
|
||||
) && controller.chooseUse(
|
||||
outcome, "Copy " + spell.getName() + "?", source, game
|
||||
)) {
|
||||
if (cost.canPay(source, source, opponent.getId(), game)
|
||||
&& opponent.chooseUse(outcome, "Pay {2}?", source, game)
|
||||
&& cost.pay(source, game, source, opponent.getId(), false)) {
|
||||
return true;
|
||||
}
|
||||
if (controller.chooseUse(outcome, "Copy " + spell.getName() + "?", source, game)) {
|
||||
spell.createCopyOnStack(game, source, controller.getId(), true);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue