[STX] fixed Wandering Archaic not copying when opponent doesn't pay

This commit is contained in:
Evan Kranzler 2021-05-03 19:40:18 -04:00
parent f033a6b3cd
commit a641ac5e6e

View file

@ -86,16 +86,12 @@ class WanderingArchaicEffect extends OneShotEffect {
return false; return false;
} }
Cost cost = new GenericManaCost(2); Cost cost = new GenericManaCost(2);
if (cost.canPay( if (cost.canPay(source, source, opponent.getId(), game)
source, source, opponent.getId(), game && opponent.chooseUse(outcome, "Pay {2}?", source, game)
) && opponent.chooseUse( && cost.pay(source, game, source, opponent.getId(), false)) {
outcome, "Pay {2} to prevent " + controller.getName() return true;
+ " from copying " + spell.getName() + "?", source, game }
) && cost.pay( if (controller.chooseUse(outcome, "Copy " + spell.getName() + "?", source, game)) {
source, game, source, opponent.getId(), false
) && controller.chooseUse(
outcome, "Copy " + spell.getName() + "?", source, game
)) {
spell.createCopyOnStack(game, source, controller.getId(), true); spell.createCopyOnStack(game, source, controller.getId(), true);
} }
return true; return true;