mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Hideaway - Fixed that the hidden card stayed wrongly in face down state as it was played.
This commit is contained in:
parent
8bd3109c87
commit
2d7c9a0e1f
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@ public class HideawayPlayEffect extends OneShotEffect<HideawayPlayEffect> {
|
|||
// If the revealed card is a land, you can play it only if it's your turn and you haven't yet played a land this turn.
|
||||
if (game.getActivePlayerId().equals(source.getControllerId()) && controller.canPlayLand()) {
|
||||
if (controller.chooseUse(Outcome.Benefit, new StringBuilder("Play ").append(card.getName()).append(" from Exile?").toString(), game)) {
|
||||
card.setFaceDown(false);
|
||||
return controller.playLand(card, game);
|
||||
}
|
||||
} else {
|
||||
|
@ -80,6 +81,7 @@ public class HideawayPlayEffect extends OneShotEffect<HideawayPlayEffect> {
|
|||
// Timing restrictions based on the card's type are ignored (for instance, if it's a creature or sorcery).
|
||||
// Other play restrictions are not (such as "Play [this card] only during combat").
|
||||
if (controller.chooseUse(Outcome.Benefit, new StringBuilder("Cast ").append(card.getName()).append(" without paying it's mana cost?").toString(), game)) {
|
||||
card.setFaceDown(false);
|
||||
return controller.cast(card.getSpellAbility(), game, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue