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;
}
}

View File

@@ -0,0 +1,8 @@
Name:Hauntwoods Shrieker
ManaCost:1 G G
Types:Creature Beast Mutant
PT:3/3
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDread | TriggerDescription$ Whenever CARDNAME attacks, manifest dread. (Look at the top two cards of your library. Put one onto the battlefield face down as a 2/2 creature and the other into your graveyard. Turn it face up any time for its mana cost if it's a creature card.)
SVar:TrigDread:DB$ Manifest | Dread$ True
A:AB$ SetState | ValidTgts$ Card.faceDown | Cost$ 1 G | Mode$ TurnFaceUp | Optional$ True | RevealFirst$ True | ValidNewFace$ Creature | StackDescription$ SpellDescription | SpellDescription$ Reveal target face-down permanent. If it's a creature card, you may turn it face up.
Oracle:Whenever Hauntwoods Shrieker attacks, manifest dread. (Look at the top two cards of your library. Put one onto the battlefield face down as a 2/2 creature and the other into your graveyard. Turn it face up any time for its mana cost if it's a creature card.)\n{1}{G}: Reveal target face-down permanent. If it's a creature card, you may turn it face up.