mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Fix Chaos Wand
This commit is contained in:
parent
c91e56b937
commit
11dffe2182
1 changed files with 3 additions and 1 deletions
|
@ -82,14 +82,16 @@ class ChaosWandEffect extends OneShotEffect {
|
|||
break;
|
||||
}
|
||||
opponent.moveCards(card, Zone.EXILED, source, game);
|
||||
controller.revealCards(source, new CardsImpl(card), game);
|
||||
if (card.isInstant() || card.isSorcery()) {
|
||||
if (!controller.chooseUse(outcome, "Cast " + card.getName() + " without paying its mana cost?", source, game)
|
||||
|| !controller.cast(card.getSpellAbility(), game, true, new MageObjectReference(source.getSourceObject(game), game))) {
|
||||
cardsToShuffle.add(card);
|
||||
}
|
||||
break;
|
||||
} else {
|
||||
cardsToShuffle.add(card);
|
||||
}
|
||||
cardsToShuffle.add(card);
|
||||
}
|
||||
return opponent.putCardsOnBottomOfLibrary(cardsToShuffle, game, source, false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue