mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Hauntwoods Shrieker and support (#6058)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user