* Suspend - Removed the use prompt for suspend spells that can't be cast without suspend (e.g. Ancestral Vision) because mana payment can't be undone at this point anyway.

This commit is contained in:
LevelX2 2015-03-08 02:13:21 +01:00
parent 43b0694ee3
commit 0533430abf

View file

@ -275,12 +275,6 @@ class SuspendExileEffect extends OneShotEffect {
Card card = game.getCard(source.getSourceId());
Player controller = game.getPlayer(source.getControllerId());
if (card != null && controller != null) {
// check if the user really wants to suspend the card (only if the spell can't be casted because else the choose ability dialog appears)
if (!card.getSpellAbility().canActivate(source.getControllerId(), game)) {
if (!controller.chooseUse(outcome, new StringBuilder("Suspend ").append(card.getName()).append("?").toString(), game)) {
return false;
}
}
UUID exileId = SuspendAbility.getSuspendExileId(controller.getId(), game);
if (controller.moveCardToExileWithInfo(card, exileId, "Suspended cards of " + controller.getName(), source.getSourceId(), game, Zone.HAND)) {
if (suspend == Integer.MAX_VALUE) {