* Hideaway - Fixed that the face down card played by hideaway was not correctly set face up again.

This commit is contained in:
LevelX2 2015-12-31 12:05:08 +01:00
parent eaa7b6a71c
commit 554e81a462
4 changed files with 108 additions and 25 deletions

View file

@ -66,7 +66,13 @@ public class HideawayPlayEffect extends OneShotEffect {
Player controller = game.getPlayer(source.getControllerId());
if (card != null && controller != null) {
if (controller.chooseUse(Outcome.PlayForFree, "Do you want to play " + card.getIdName() + " for free now?", source, game)) {
controller.playCard(card, game, true, false);
card.setFaceDown(false, game);
int zcc = card.getZoneChangeCounter(game);
if (!controller.playCard(card, game, true, false)) {
if (card.getZoneChangeCounter(game) == zcc) {
card.setFaceDown(true, game);
}
}
}
return true;
}