fix castcard interaction to reveal window

uses afterrevealed and becomes
This commit is contained in:
Anthony Calosa
2017-01-17 18:24:50 +08:00
parent 0ab872e152
commit d86b9119a4

View File

@@ -3888,8 +3888,8 @@ subtype=Aura
[/card]
[card]
name=Animist's Awakening
auto=if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then reveal:x optionone all(land|reveal) moveto(mybattlefield) and!(tap(noevent))! optiononeend optiontwo name(bottom of library) target(<1>*|reveal) transforms((,newability[all(*|reveal) bottomoflibrary])) oneshotoptiontwoend revealend
auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then reveal:x optionone all(land|reveal) moveto(mybattlefield) optiononeend optiontwo nname(bottom of library) target(<1>*|reveal) transforms((,newability[all(*|reveal) bottomoflibrary])) oneshot optiontwoend revealendd
auto=if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then reveal:x optionone all(land|reveal) moveto(mybattlefield) and!(tap(noevent))! optiononeend optiontwo name(bottom of library) target(<1>*|reveal) transforms((,newability[all(*|reveal) bottomoflibrary])) oneshot optiontwoend revealend
auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then reveal:x optionone all(land|reveal) moveto(mybattlefield) optiononeend optiontwo name(bottom of library) target(<1>*|reveal) transforms((,newability[all(*|reveal) bottomoflibrary])) oneshot optiontwoend revealend
text=Reveal the top X cards of your library. Put all land cards from among them onto the battlefield tapped and the rest on the bottom of your library in a random order. -- Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, untap those lands.
mana={X}{G}
type=Sorcery
@@ -70972,7 +70972,7 @@ toughness=1
[/card]
[card]
name=Mindclaw Shaman
auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[instant;sorcery]|reveal) castcard(restricted) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[instant;sorcery]|reveal) moveto(myexile) and!( becomes(tobecast) )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed all(tobecast|myexile) castcard(restricted) afterrevealedend revealend
text=When Mindclaw Shaman enters the battlefield, target opponent reveals his or her hand. You may cast an instant or sorcery card from it without paying its mana cost.
mana={4}{R}
type=Creature
@@ -111623,7 +111623,7 @@ type=Instant
[/card]
[card]
name=Surging Sentinels
autostack=if casted(this) then reveal:4 optionone name(Ripple) target(<upto:4>Surging Sentinels|reveal) castcard(restricted) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
autostack=if casted(this) then reveal:4 optionone name(Cast Card) target(<upto:4>Surging Sentinels|reveal) moveto(mylibrary) and!( becomes(tobecast) )! optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) castcard(restricted) afterrevealedend revealend
text=First strike -- Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.)
mana={2}{W}
type=Creature