mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
commit
aec52876de
4 changed files with 4 additions and 4 deletions
|
@ -162,7 +162,7 @@ class IntetTheDreamerCastEffect extends AsThoughEffectImpl {
|
||||||
return controller.chooseUse(outcome, "Play " + card.getIdName() + '?', source, game);
|
return controller.chooseUse(outcome, "Play " + card.getIdName() + '?', source, game);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
controller.setCastSourceIdWithAlternateMana(objectId, null, null);
|
controller.setCastSourceIdWithAlternateMana(objectId, null, card.getSpellAbility().getCosts());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,7 +158,7 @@ class KheruSpellsnatcherCastFromExileEffect extends AsThoughEffectImpl {
|
||||||
if (card != null) {
|
if (card != null) {
|
||||||
if (game.getState().getZone(sourceId) == Zone.EXILED) {
|
if (game.getState().getZone(sourceId) == Zone.EXILED) {
|
||||||
Player player = game.getPlayer(affectedControllerId);
|
Player player = game.getPlayer(affectedControllerId);
|
||||||
player.setCastSourceIdWithAlternateMana(sourceId, null, null);
|
player.setCastSourceIdWithAlternateMana(sourceId, null, card.getSpellAbility().getCosts());
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
this.discard();
|
this.discard();
|
||||||
|
|
|
@ -139,7 +139,7 @@ class MindsDesireCastFromExileEffect extends AsThoughEffectImpl {
|
||||||
Card card = game.getCard(sourceId);
|
Card card = game.getCard(sourceId);
|
||||||
if (card != null && game.getState().getZone(sourceId) == Zone.EXILED) {
|
if (card != null && game.getState().getZone(sourceId) == Zone.EXILED) {
|
||||||
Player player = game.getPlayer(affectedControllerId);
|
Player player = game.getPlayer(affectedControllerId);
|
||||||
player.setCastSourceIdWithAlternateMana(sourceId, null, null);
|
player.setCastSourceIdWithAlternateMana(sourceId, null, card.getSpellAbility().getCosts());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,7 +140,7 @@ class StolenGoodsCastFromExileEffect extends AsThoughEffectImpl {
|
||||||
Card card = game.getCard(sourceId);
|
Card card = game.getCard(sourceId);
|
||||||
if (card != null && game.getState().getZone(sourceId) == Zone.EXILED) {
|
if (card != null && game.getState().getZone(sourceId) == Zone.EXILED) {
|
||||||
Player player = game.getPlayer(affectedControllerId);
|
Player player = game.getPlayer(affectedControllerId);
|
||||||
player.setCastSourceIdWithAlternateMana(sourceId, null, null);
|
player.setCastSourceIdWithAlternateMana(sourceId, null, card.getSpellAbility().getCosts());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue