Hauntwoods Shrieker and support (#6058)

This commit is contained in:
tool4ever
2024-09-04 18:13:39 +02:00
committed by GitHub
parent 959bfe8d31
commit 1ee37020dd
3 changed files with 17 additions and 2 deletions

View File

@@ -692,7 +692,6 @@ public class GameAction {
if (wasFacedown) {
Card revealLKI = CardCopyService.getLKICopy(c);
revealLKI.forceTurnFaceUp();
reveal(new CardCollection(revealLKI), revealLKI.getOwner(), true, "Face-down card leaves the battlefield: ");
copied.setState(CardStateName.Original, true);

View File

@@ -96,6 +96,15 @@ public class SetStateEffect extends SpellAbilityEffect {
continue;
}
if (sa.hasParam("RevealFirst")) {
Card lki = CardCopyService.getLKICopy(tgtCard);
lki.forceTurnFaceUp();
game.getAction().reveal(new CardCollection(lki), lki.getOwner(), true, Localizer.getInstance().getMessage("lblRevealFaceDownCards"));
if (sa.hasParam("ValidNewFace") && !lki.isValid(sa.getParam("ValidNewFace").split(","), p, host, sa)) {
continue;
}
}
// facedown cards that are not Permanent, can't turn faceup there
if ("TurnFaceUp".equals(mode) && gameCard.isFaceDown() && gameCard.isInPlay()) {
if (gameCard.hasMergedCard()) {
@@ -118,7 +127,6 @@ public class SetStateEffect extends SpellAbilityEffect {
Card lki = CardCopyService.getLKICopy(gameCard);
lki.forceTurnFaceUp();
game.getAction().reveal(new CardCollection(lki), lki.getOwner(), true, Localizer.getInstance().getMessage("lblFaceDownCardCantTurnFaceUp"));
continue;
}
}