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) {
|
if (wasFacedown) {
|
||||||
Card revealLKI = CardCopyService.getLKICopy(c);
|
Card revealLKI = CardCopyService.getLKICopy(c);
|
||||||
revealLKI.forceTurnFaceUp();
|
revealLKI.forceTurnFaceUp();
|
||||||
|
|
||||||
reveal(new CardCollection(revealLKI), revealLKI.getOwner(), true, "Face-down card leaves the battlefield: ");
|
reveal(new CardCollection(revealLKI), revealLKI.getOwner(), true, "Face-down card leaves the battlefield: ");
|
||||||
|
|
||||||
copied.setState(CardStateName.Original, true);
|
copied.setState(CardStateName.Original, true);
|
||||||
|
|||||||
@@ -96,6 +96,15 @@ public class SetStateEffect extends SpellAbilityEffect {
|
|||||||
continue;
|
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
|
// facedown cards that are not Permanent, can't turn faceup there
|
||||||
if ("TurnFaceUp".equals(mode) && gameCard.isFaceDown() && gameCard.isInPlay()) {
|
if ("TurnFaceUp".equals(mode) && gameCard.isFaceDown() && gameCard.isInPlay()) {
|
||||||
if (gameCard.hasMergedCard()) {
|
if (gameCard.hasMergedCard()) {
|
||||||
@@ -118,7 +127,6 @@ public class SetStateEffect extends SpellAbilityEffect {
|
|||||||
Card lki = CardCopyService.getLKICopy(gameCard);
|
Card lki = CardCopyService.getLKICopy(gameCard);
|
||||||
lki.forceTurnFaceUp();
|
lki.forceTurnFaceUp();
|
||||||
game.getAction().reveal(new CardCollection(lki), lki.getOwner(), true, Localizer.getInstance().getMessage("lblFaceDownCardCantTurnFaceUp"));
|
game.getAction().reveal(new CardCollection(lki), lki.getOwner(), true, Localizer.getInstance().getMessage("lblFaceDownCardCantTurnFaceUp"));
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
||||||
Reference in New Issue
Block a user