mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* 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:
parent
43b0694ee3
commit
0533430abf
1 changed files with 0 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue