diff --git a/projects/mtg/bin/Res/graphics/iconcard.png b/projects/mtg/bin/Res/graphics/iconcard.png deleted file mode 100644 index 1a024569f..000000000 Binary files a/projects/mtg/bin/Res/graphics/iconcard.png and /dev/null differ diff --git a/projects/mtg/bin/Res/graphics/iconexile.png b/projects/mtg/bin/Res/graphics/iconexile.png deleted file mode 100644 index 93ee86435..000000000 Binary files a/projects/mtg/bin/Res/graphics/iconexile.png and /dev/null differ diff --git a/projects/mtg/bin/Res/sets/primitives/_macros.txt b/projects/mtg/bin/Res/sets/primitives/_macros.txt index 5a9d53c93..cda11a4af 100644 --- a/projects/mtg/bin/Res/sets/primitives/_macros.txt +++ b/projects/mtg/bin/Res/sets/primitives/_macros.txt @@ -122,7 +122,7 @@ #AUTO_DEFINE _RIPPLE_($c) autostack=if casted(this) then reveal:$c optionone name(Cast Card) target([share!name!]|reveal) moveTo(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(<$c>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveTo(myLibrary) and!( activate castcard(normal) )! afterrevealedend revealend # Recover -#AUTO_DEFINE _RECOVER_($cost) @movedTo(creature|myGraveyard) from(Battlefield):may pay{$cost} name(Return to owner Hand) moveTo(ownerHand) all(this) donothing?moveTo(exile) all(this) +#AUTO_DEFINE _RECOVER_($cost) @movedTo(creature|myGraveyard) from(Battlefield):may pay{$cost} name(Return to owner Hand) moveTo(hand) all(this) donothing?moveTo(exile) all(this) # Proliferate #AUTO_DEFINE _PROLIFERATE_ name(Proliferate) notatarget(proliferation) proliferate @@ -191,7 +191,7 @@ #AUTO_DEFINE _UNEARTH_ name(Unearth) moveto(mybattlefield) and!( transforms((,haste,newability[unearth],newability[exiledeath])) forever )! asSorcery # Exile the top card of your library. you may play it this turn. -#AUTO_DEFINE _IMPULSEDRAW_ moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos=1]|mylibrary) +#AUTO_DEFINE _IMPULSE_DRAW_ name(Exile top card) moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos=1]|mylibrary) # Exile the top card of your library. Until the end of your next turn, you may play that card. #AUTO_DEFINE _IMPULSEUENT_ moveto(exile) and!( transforms((,canplayfromexile)) uent )! all(*[zpos=1]|mylibrary) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index bc8446ab8..65f5edd9a 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -78,7 +78,7 @@ toughness=4 [/card] [card] name=Aberrant Mind Sorcerer -auto=target(*[instant;sorcery]|mygraveyard) name(Choose instant or sorcery and roll a d20) rolld20 20 winability moveto(ownerHand) winabilityend loseability if compare(lastrollresult)~lessthan~10 then may name(Put on top) moveTo(mylibrary) else moveto(ownerHand) loseabilityend rolld20end +auto=target(*[instant;sorcery]|mygraveyard) name(Choose instant or sorcery and roll a d20) rolld20 20 winability moveto(hand) winabilityend loseability if compare(lastrollresult)~lessthan~10 then may name(Put on top) moveTo(mylibrary) else moveto(hand) loseabilityend rolld20end text=Psionic Spells - When Aberrant Mind Sorcerer enters, choose target instant or sorcery card in your graveyard, then roll a d20. -- 1-9 | You may put that card on top of your library. -- 10-20 | Return that card to your hand. mana={4}{U} type=Creature @@ -173,7 +173,7 @@ type=Instant [card] name=Absorb Identity target=creature -auto=moveto(ownerhand) and!( transforms((,newability[counter(0/0.1.AbsorbEffect)],newability[phaseaction[end once] counter(0/0.-1.AbsorbEffect)])) forever )! +auto=moveto(hand) and!( transforms((,newability[counter(0/0.1.AbsorbEffect)],newability[phaseaction[end once] counter(0/0.-1.AbsorbEffect)])) forever )! auto=may name(Shapeshifters become copies) all(*[shapeshifter]|mybattlefield) transforms((,newability[copy all(creature[fresh;counter{0/0.1.AbsorbEffect}]|hand)],newability[phaseaction[end once] flip(myorigname) undocpy])) forever text=Return target creature to its owner's hand. You may have Shapeshifters you control become copies of that creature until end of turn. mana={1}{U} @@ -212,9 +212,9 @@ type=Instant [/card] [card] name=Abundant Harvest -aicode=activate transforms((,newability[all(*[zpos=findfirsttypenonland]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=choice name(Reveal land) Reveal:1 revealzone(mylibrary) revealuntil(land|mylibrary) optionone choice name(Choose land) target(land|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=choice name(Reveal non-land) Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Choose non-land) target(*[-land]|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[all(*[zpos=findfirsttypenonland]|mylibrary) moveto(hand) and!( all(*[zpos<=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=choice name(Reveal land) Reveal:1 revealzone(mylibrary) revealuntil(land|mylibrary) optionone choice name(Choose land) target(land|reveal) moveto(hand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=choice name(Reveal non-land) Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Choose non-land) target(*[-land]|reveal) moveto(hand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Choose land or nonland. Reveal cards from the top of your library until you reveal a card of the chosen kind. Put that card into your hand and the rest on the bottom of your library in a random order. mana={G} type=Sorcery @@ -262,7 +262,7 @@ toughness=2 [/card] [card] name=Academy Journeymage -auto=moveto(ownerHand) target(creature|opponentBattlefield) +auto=moveto(hand) target(creature|opponentBattlefield) text=This spell costs {1} less to cast if you control a Wizard. -- When Academy Journeymage enters, return target creature an opponent controls to its owner's hand. other={3}{U} name(reduced by Wizard) otherrestriction=type(wizard|mybattlefield)~morethan~0 @@ -316,8 +316,8 @@ type=Land [/card] [card] name=Acclaimed Contender -aicode=activate transforms((,newability[if type(knight|mybattlefield)~morethan~1 then target(*[aura;knight;equipment;legendary artifact;zpos<=5]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=if type(knight|mybattlefield)~morethan~1 then name(Look 5 cards) reveal:5 optionone name(Get a card) target(*[aura;knight;equipment;legendary artifact]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(knight|mybattlefield)~morethan~1 then target(*[aura;knight;equipment;legendary artifact;zpos<=5]|myLibrary) moveto(hand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=if type(knight|mybattlefield)~morethan~1 then name(Look 5 cards) reveal:5 optionone name(Get a card) target(*[aura;knight;equipment;legendary artifact]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=When Acclaimed Contender enters, if you control another Knight, look at the top five cards of your library. You may reveal a Knight, Aura, Equipment, or legendary artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{W} type=Creature @@ -368,7 +368,7 @@ toughness=1 [card] name=Acererak the Archlich auto=if type(Tomb of Annihilation[dungeoncompleted]|myzones)~equalto~0 then if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot -auto=if type(Tomb of Annihilation[dungeoncompleted]|myzones)~equalto~0 then name(Return to hand) moveTo(ownerhand) +auto=if type(Tomb of Annihilation[dungeoncompleted]|myzones)~equalto~0 then name(Return to hand) moveTo(hand) auto=@combat(attacking) source(this) restriction{type(creature|opponentbattlefield)~morethan~0}:ability$!name(Choose one) choice name(Sacrifice a creature) notatarget(creature|mybattlefield) sacrifice _ choice name(Opponent create Zombie) _ZOMBIETOKEN_ opponent!$ opponent auto=@combat(attacking) source(this) restriction{type(creature|opponentbattlefield)~equalto~0}:name(Create zombie) _ZOMBIETOKEN_ controller text=When Acererak the Archlich enters, if you have not completed the dungeon Tomb of Annihilation, return Acererak the Archlich to its owner's hand and venture into the dungeon. -- Whenever Acererak the Archlich attacks, for each opponent, you create a 2/2 black Zombie creature token unless that player sacrifices a creature. @@ -390,7 +390,7 @@ toughness=4 [/card] [card] name=Acolyte of Affliction -auto=deplete:2 controller && transforms((,newability[may name(Return a permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerHand)])) oneshot +auto=deplete:2 controller && transforms((,newability[may name(Return a permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(hand)])) oneshot text=When Acolyte of Affliction enters, put the top two cards of your library into your graveyard, then you may return a permanent card from your graveyard to your hand. mana={2}{B}{G} type=Creature @@ -422,7 +422,7 @@ toughness=2 [card] name=Acquisitions Expert aicode=activate reject notatarget(*|opponenthand) -auto=reveal:calculateparty revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:calculateparty revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=When Acquisitions Expert enters, target opponent reveals a number of cards from their hand equal to the number of creatures in your party. You choose one of those cards. That player discards that card. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) mana={1}{B} type=Creature @@ -565,7 +565,7 @@ name=Adios Wormhole abilities=foretell autohand=_FORETELL_ autoexile={U} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative) -auto=target(*[-land]|battlefield) moveto(ownerhand) +auto=target(*[-land]|battlefield) moveto(hand) text=Return target nonland permanent to its owners's hand. -- Foretell {U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) mana={1}{U} type=Instant @@ -666,8 +666,8 @@ toughness=3 [/card] [card] name=Adventure Awaits -aicode=activate transforms((,newability[if type(creature[zpos<=5]|myLibrary)~morethan~0 then target(creature[zpos<=5]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary and!( draw:1 controller)! )! ])) oneshot -auto=if type(creature[zpos<=5]|myLibrary)~morethan~0 then name(Look 5 cards) reveal:5 optionone name(Get a creature) target(creature|reveal) transforms((,newability[choice name(Put in hand) moveto(ownerHand)],newability[choice name(Put on bottom and draw) bottomoflibrary and!( draw:1 controller )!])) oneshot optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=5]|myLibrary)~morethan~0 then target(creature[zpos<=5]|myLibrary) moveto(hand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary and!( draw:1 controller)! )! ])) oneshot +auto=if type(creature[zpos<=5]|myLibrary)~morethan~0 then name(Look 5 cards) reveal:5 optionone name(Get a creature) target(creature|reveal) transforms((,newability[choice name(Put in hand) moveto(hand)],newability[choice name(Put on bottom and draw) bottomoflibrary and!( draw:1 controller )!])) oneshot optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend auto=if type(creature[zpos<=5]|myLibrary)~equalto~0 then name(Look 5 cards) reveal:5 optionone name(Put on bottom) target(*|reveal) bottomoflibrary and!( draw:1 controller )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. If you didn't put a card into your hand this way, draw a card. mana={1}{G} @@ -675,8 +675,8 @@ type=Sorcery [/card] [card] name=Adventurous Impulse -aicode=activate transforms((,newability[target(*[creature;land;zpos<=3]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=name(Look top 3 cards) reveal:3 optionone name(Get creature or land) target(*[creature;land]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[target(*[creature;land;zpos<=3]|myLibrary) moveto(hand) and!( all(other *[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=name(Look top 3 cards) reveal:3 optionone name(Get creature or land) target(*[creature;land]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top three cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={G} type=Sorcery @@ -865,7 +865,7 @@ toughness=5 [card] name=Aether Channeler auto=choice token(Bird,Creature Bird,1/1,white,flying) -auto=choice target(other *[-land]) moveto(ownerhand) +auto=choice target(other *[-land]) moveto(hand) auto=choice draw:1 text=When Aether Channeler enters, choose one - -- - Create a 1/1 white Bird creature token with flying. -- - Return another target nonland permanent to its owner's hand. -- - Draw a card. mana={2}{U} @@ -876,8 +876,9 @@ toughness=1 [/card] [card] name=Aether Gust -target=*[red;green]|battlefield,stack -auto=transforms((,newability[Choice name(Top) moveto(library)],newability[Choice name(Bottom) bottomoflibrary])) controller +auto=choice name(target permanent) target(*[red;green]|battlefield) transforms((,newability[choice name(Put on top) all(this) moveto(mylibrary)],newability[choice name(Put on bottom) all(this) bottomoflibrary])) forever +auto=choice name(target spell on the stack) target(*[red;green]|stack) transforms((,newability[choice name(Put on top) all(this) fizzleto(librarytop)],newability[choice name(Put on bottom) all(this) fizzleto(librarybottom)])) forever +restriction=type(*[red;green]|battlefield,stack)~morethan~0 text=Choose target spell or permanent that's red or green. Its owner puts it on the top or bottom of their library. mana={1}{U} type=Instant @@ -885,8 +886,8 @@ type=Instant [card] name=Aether Helix target=*[-instant;-sorcery]|battlefield -auto=moveto(ownerhand) -auto=ability$!name(Return permanent) name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerHand)!$ controller +auto=moveto(hand) +auto=ability$!name(Return permanent) name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(hand)!$ controller text=Return target permanent to its owner's hand. Return target permanent card from your graveyard to your hand. mana={3}{G}{U} type=Sorcery @@ -921,7 +922,7 @@ type=Enchantment [card] name=Aether Tide target=creature|myhand -auto=reject && ability$!name(Return a creature) name(Return a creature) moveTo(ownerhand) target(creature|battlefield)!$ controller +auto=reject && ability$!name(Return a creature) name(Return a creature) moveTo(hand) target(creature|battlefield)!$ controller text=As an additional cost to cast Aether Tide, discard X creature cards. -- Return X target creatures to their owners' hands. mana={X}{U} type=Sorcery @@ -1175,7 +1176,7 @@ toughness=2 [card] name=Agonizing Remorse aicode=activate moveto(exile) notatarget(*[-land]|opponenthand,opponentGraveyard) -auto=choice name(reveal from hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose to exile) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend && life:-1 controller +auto=choice name(reveal from hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose to exile) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend && life:-1 controller auto=choice name(reveal from graveyard) moveto(exile) target(*[-land]|opponentGraveyard) && life:-1 controller text=Target opponent reveals their hand. You choose a nonland card from it or a card from their graveyard. Exile that card. You lose 1 life. mana={1}{B} @@ -1246,8 +1247,8 @@ type=Enchantment [/card] [card] name=Aid the Fallen -auto=ability$!may moveTo(ownerHand) target(creature|mygraveyard)!$ controller -auto=ability$!may moveTo(ownerHand) target(planeswalker|mygraveyard)!$ controller +auto=ability$!may moveTo(hand) target(creature|mygraveyard)!$ controller +auto=ability$!may moveTo(hand) target(planeswalker|mygraveyard)!$ controller text=Choose one or both -- Return target creature card from your graveyard to your hand. -- Return target planeswalker card from your graveyard to your hand. mana={1}{B} type=Sorcery @@ -1273,7 +1274,7 @@ toughness=1 [card] name=Air-Cult Elemental abilities=flying -auto=may name(Return creature) target(other creature|battlefield) moveto(ownerhand) +auto=may name(Return creature) target(other creature|battlefield) moveto(hand) text=Flying -- Whirlwind - When Air-Cult Elemental enters, return up to one other target creature to its owner's hand. mana={4}{U}{U} type=Creature @@ -1284,7 +1285,7 @@ toughness=5 [card] name=Airlift Chaplain abilities=flying -auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(creature[tobereturn&manacost<=3]|mygraveyard)~morethan~0 then choice name(Return a creature) name(Return a creature) target(creature[tobereturn&manacost<=3]|mygraveyard) moveto(ownerHand)],newability[if type(plains[tobereturn]|mygraveyard)~morethan~0 then choice name(Return a plains) name(Return a plains) target(plains[tobereturn]|mygraveyard) moveto(ownerHand)],newability[choice name(Put 1/1 counter) target(Airlift Chaplain[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! +auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(creature[tobereturn&manacost<=3]|mygraveyard)~morethan~0 then choice name(Return a creature) name(Return a creature) target(creature[tobereturn&manacost<=3]|mygraveyard) moveto(hand)],newability[if type(plains[tobereturn]|mygraveyard)~morethan~0 then choice name(Return a plains) name(Return a plains) target(plains[tobereturn]|mygraveyard) moveto(hand)],newability[choice name(Put 1/1 counter) target(Airlift Chaplain[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=Flying -- When Airlift Chaplain enters, mill three cards. You may put a Plains card or a creature card with mana value 3 or less from among the cards milled this way into your hand. If you don't, put a +1/+1 counter on Airlift Chaplain. (To mill a card, put the top card of your library into your graveyard.) mana={2}{W} type=Creature @@ -1307,7 +1308,7 @@ subtype=Saga [/card] [card] name=Ajani's Aid -auto=may name(Search library or graveyard) moveto(ownerHand) target(Ajani^ Valiant Protector|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Ajani^ Valiant Protector|myLibrary,myGraveyard) auto={S}:target(creature) preventAllCombatDamage to(mytgt) ueot text=When Ajani's Aid enters, you may search your library and/or graveyard for a card named Ajani, Valiant Protector, reveal it, and put it into your hand. If you search your library this way, shuffle it. -- Sacrifice Ajani's Aid: Prevent all combat damage a creature of your choice would deal this turn. mana={2}{G}{W} @@ -1328,8 +1329,8 @@ toughness=3 name=Ajani's Influence target=creature auto=counter(1/1,2) -aicode=activate transforms((,newability[target(*[white;zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=name(Look top 5 cards) reveal:5 revealzone(mylibrary) optionone name(Get white card) target(*[white]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put bottomoflibrary) target(<1>*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[target(*[white;zpos<=5]|mylibrary) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=name(Look top 5 cards) reveal:5 revealzone(mylibrary) optionone name(Get white card) target(*[white]|reveal) moveto(hand) optiononeend optiontwo name(Put bottomoflibrary) target(<1>*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Put two +1/+1 counters on target creature. -- Look at the top five cards of your library. You may reveal a white card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{W}{W} type=Sorcery @@ -1549,8 +1550,8 @@ toughness=5 [card] name=Alabaster Host Intercessor auto=target(creature|opponentbattlefield) (blink)forsrc -aicode=activate target(plains|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search plain) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(plains|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search plain) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Alabaster Host Intercessor enters, exile target creature an opponent controls until Alabaster Host Intercessor leaves the battlefield. -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, put it into your hand, then shuffle.) mana={5}{W} type=Creature @@ -1581,17 +1582,17 @@ toughness=1 [/card] [card] name=Aladdin's Lamp -aicode=activate transforms((,newability[target(*[zpos<=fullpaid]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=fullpaid]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=fullpaid]|mylibrary) moveto(hand) and!( all(*[zpos<=fullpaid]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot auto={1}{T}:name(X=1) name(X=1) donothing -auto={2}{T}:name(X=2) name(X=2) transforms((,newability[replacedraw reveal:2 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=1]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={3}{T}:name(X=3) name(X=3) transforms((,newability[replacedraw reveal:3 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=2]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={4}{T}:name(X=4) name(X=4) transforms((,newability[replacedraw reveal:4 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=3]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={5}{T}:name(X=5) name(X=5) transforms((,newability[replacedraw reveal:5 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={6}{T}:name(X=6) name(X=6) transforms((,newability[replacedraw reveal:6 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={7}{T}:name(X=7) name(X=7) transforms((,newability[replacedraw reveal:7 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=6]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={8}{T}:name(X=8) name(X=8) transforms((,newability[replacedraw reveal:8 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=7]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={9}{T}:name(X=9) name(X=9) transforms((,newability[replacedraw reveal:9 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=8]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot -auto={10}{T}:name(X=10) name(X=10) transforms((,newability[replacedraw reveal:10 optionone name(Choose a card) target(*|reveal) moveto(ownerHand) and!( all(*[zpos<=9]|mylibrary) moveto(ownerHand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(*[zpos<=10]) moveto(ownerHand) afterrevealedend revealend])) ueot +auto={2}{T}:name(X=2) name(X=2) transforms((,newability[replacedraw reveal:2 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=1]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={3}{T}:name(X=3) name(X=3) transforms((,newability[replacedraw reveal:3 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=2]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={4}{T}:name(X=4) name(X=4) transforms((,newability[replacedraw reveal:4 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=3]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={5}{T}:name(X=5) name(X=5) transforms((,newability[replacedraw reveal:5 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={6}{T}:name(X=6) name(X=6) transforms((,newability[replacedraw reveal:6 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={7}{T}:name(X=7) name(X=7) transforms((,newability[replacedraw reveal:7 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=6]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={8}{T}:name(X=8) name(X=8) transforms((,newability[replacedraw reveal:8 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=7]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={9}{T}:name(X=9) name(X=9) transforms((,newability[replacedraw reveal:9 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=8]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot +auto={10}{T}:name(X=10) name(X=10) transforms((,newability[replacedraw reveal:10 optionone name(Choose a card) target(*|reveal) moveto(hand) and!( all(*[zpos<=9]|mylibrary) moveto(hand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(*[zpos<=10]) moveto(hand) afterrevealedend revealend])) ueot text={X}, {T}: The next time you would draw a card this turn, instead look at the top X cards of your library, put all but one of them on the bottom of your library in a random order, then draw a card. X can't be 0. mana={10} type=Artifact @@ -1610,7 +1611,7 @@ toughness=4 [/card] [card] name=Alaundo the Seer -auto={T}:name(Draw and exile) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[name(Exile a card) target(*|myhand) moveto(myexile) and!( transforms((,newability[counter(0/0.manacost.Time)],newability[name(Remove time counter) name(Remove time counter) all(other *[counter{0/0.1.Time}]|myexile) counter(0/0.-1.Time)],newability[@counterremoved(0/0.1.Time) from(this|myexile) restriction{compare(hascnttime)~equalto~0}:may name(Cast from exile) name(Cast from exile) all(this|mygraveyard) moveto(myexile) and!( if cantargetcard(*[-creature]|*) then activate castcard(normal) else moveto(myBattlefield) and!( transforms((,haste)) ueot )! )!])) forever])!)) forever )! +auto={T}:name(Draw and exile) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[name(Exile a card) target(*|myhand) moveto(myexile) and!( transforms((,newability[counter(0/0.manacost.Time)],newability[name(Remove time counter) name(Remove time counter) all(other *[counter{0/0.1.Time}]|myexile) counter(0/0.-1.Time)],newability[@counterremoved(0/0.1.Time) from(this|myexile) restriction{compare(hascnttime)~equalto~0}:may name(Cast from exile) name(Cast from exile) all(this|mygraveyard) moveto(myexile) and!( if cantargetcard(*[-creature]|*) then activate castcard(normal) else moveto(myBattlefield) and!( transforms((,haste)) ueot )! )!])) forever])!)) forever )! text={T}: Draw a card, then exile a card from your hand and put a number of time counters on it equal to its mana value. It gains "When the last time counter is removed from this card, if it's exiled, you may cast it without paying its mana cost. If you cast a creature spell this way, it gains haste until end of turn." Then remove a time counter from each other card you own in exile. mana={2}{G}{U} type=Legendary Creature @@ -1644,8 +1645,8 @@ name=Alchemist's Retrieval other={1}{U} name(Cleave) restriction=type(*[-land]|mybattlefield)~morethan~0 otherrestriction=type(*[-land]|battlefield)~morethan~0 -auto=if paid(alternative) then target(*[-land]|battlefield) moveto(ownerhand) -auto=ifnot paid(alternative) then target(*[-land]|mybattlefield) moveto(ownerhand) +auto=if paid(alternative) then target(*[-land]|battlefield) moveto(hand) +auto=ifnot paid(alternative) then target(*[-land]|mybattlefield) moveto(hand) text=Cleave {1}{U} (You may cast this spell for its cleave cost. If you do, remove the words in square brackets.) -- Return target nonland permanent [you control] to its owner's hand. mana={U} type=Instant @@ -1848,7 +1849,7 @@ auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{R} auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{G} auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{W} auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{U} -auto={1}{T}{S}:target(ally|myBattlefield) moveTo(ownerhand) +auto={1}{T}{S}:target(ally|myBattlefield) moveTo(hand) text={T}: Add {C}. -- {T}: Add one mana of any color. Spend this mana only to cast an Ally spell. -- {1}, {T}, Sacrifice Ally Encampment: Return target Ally you control to its owner's hand. type=Land [/card] @@ -1885,7 +1886,7 @@ toughness=2 [card] name=Alora, Merry Thief abilities=backgroundpartner -auto=@each my blockers:may target(creature[attacking]|myBattlefield) transforms((,unblockable,newability[phaseaction[end once] moveTo(ownerhand) ueot])) oneshot +auto=@each my blockers:may target(creature[attacking]|myBattlefield) transforms((,unblockable,newability[phaseaction[end once] moveTo(hand) ueot])) oneshot text=Whenever you attack, up to one target attacking creature can't be blocked this turn. Return that creature to its owner's hand at the beginning of the next end step. -- Choose a Background (You can have a Background as a second commander.) mana={2}{U} type=Legendary Creature @@ -1915,11 +1916,11 @@ toughness=3 [/card] [card] name=Alpine Houndmaster -auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Alpine and Igneous) name(Search Alpine and Igneous) name(Search Alpine and Igneous) target(Alpine Watchdog|mylibrary) moveto(ownerHand) and!( transforms((,newability[name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(ownerHand) and!( shuffle )! ])) oneshot )! -auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Alpine Watchdog) name(Search Alpine Watchdog) name(Search Alpine Watchdog) target(Alpine Watchdog|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Igneous Cur) name(Search Igneous Cur) name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~equalto~0 then choice name(Search Alpine Watchdog) name(Search Alpine Watchdog) name(Search Alpine Watchdog) target(Alpine Watchdog|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(Alpine Watchdog|mylibrary)~equalto~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Igneous Cur) may name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Alpine and Igneous) name(Search Alpine and Igneous) name(Search Alpine and Igneous) target(Alpine Watchdog|mylibrary) moveto(hand) and!( transforms((,newability[name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(hand) and!( shuffle )! ])) oneshot )! +auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Alpine Watchdog) name(Search Alpine Watchdog) name(Search Alpine Watchdog) target(Alpine Watchdog|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Igneous Cur) name(Search Igneous Cur) name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~equalto~0 then choice name(Search Alpine Watchdog) name(Search Alpine Watchdog) name(Search Alpine Watchdog) target(Alpine Watchdog|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(Alpine Watchdog|mylibrary)~equalto~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Igneous Cur) may name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(hand) and!( shuffle )! auto=choice name(Don's search library) name(Don's search library) donothing auto=_ATTACKING_type:creature[attacking]:myBattlefield/0 ueot text=When Alpine Houndmaster enters, you may search your library for a card named Alpine Watchdog and/or a card named Igneous Cur, reveal them, put them into your hand, then shuffle. -- Whenever Alpine Houndmaster attacks, it gets +X/+0 until end of turn, where X is the number of other attacking creatures. @@ -1985,8 +1986,8 @@ anyzone={0}:doubleside(Hakka, Whispering Raven) autostack=if paid(alternative) then name(Hakka, Whispering Raven) name(Hakka, Whispering Raven) flip(Hakka, Whispering Raven) forcetype(Legendary Creature) auto=this(variable{isflipped}<1) foreach(*[foretold]|myexile) 1/1 auto=this(variable{isflipped}<1) foreach(*|myhand) 1/1 -auto=@each my end restriction{compare(isflipped)~equalto~0}:transforms((,newability[choice name(Creature) reveal:2 optionone name(Get Creature) target(<2>Creature|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Artifact) reveal:2 optionone name(Get Artifact) target(<2>artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Enchantment) reveal:2 optionone name(Get Enchantment) target(<2>enchantment|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Instant) reveal:2 optionone name(Get Instant) target(<2>instant|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) name(Bottom of library) bottomoflibrary optiontwoend revealend],newability[choice name(Land) reveal:2 optionone name(Get Land) target(<2>land|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Planeswalker) reveal:2 optionone name(Get Planeswalker) target(<2>planeswalker|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Sorcery) reveal:2 optionone name(Get Sorcery) target(<2>sorcery|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Tribal) reveal:2 optionone name(Get Tribal) target(<2>tribal|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend])) oneshot -aicode=activate transforms((,newability[if type(*[creature;zpos<=2]|mylibrary)~equalto~0 then all(*[zpos<=2]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! else all(*[creature;zpos<=2]|mylibrary) moveto(ownerHand) and!( all(*[-creature;zpos<=2]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=@each my end restriction{compare(isflipped)~equalto~0}:transforms((,newability[choice name(Creature) reveal:2 optionone name(Get Creature) target(<2>Creature|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Artifact) reveal:2 optionone name(Get Artifact) target(<2>artifact|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Enchantment) reveal:2 optionone name(Get Enchantment) target(<2>enchantment|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Instant) reveal:2 optionone name(Get Instant) target(<2>instant|reveal) moveto(hand) optiononeend optiontwo name(put in grave) name(Bottom of library) bottomoflibrary optiontwoend revealend],newability[choice name(Land) reveal:2 optionone name(Get Land) target(<2>land|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Planeswalker) reveal:2 optionone name(Get Planeswalker) target(<2>planeswalker|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Sorcery) reveal:2 optionone name(Get Sorcery) target(<2>sorcery|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Tribal) reveal:2 optionone name(Get Tribal) target(<2>tribal|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend])) oneshot +aicode=activate transforms((,newability[if type(*[creature;zpos<=2]|mylibrary)~equalto~0 then all(*[zpos<=2]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! else all(*[creature;zpos<=2]|mylibrary) moveto(hand) and!( all(*[-creature;zpos<=2]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot text=Alrund gets +1/+1 for each card in your hand and each foretold card you own in exile. -- At the beginning of your end step, choose a card type, then reveal the top two cards of your library. Put all cards of the chosen type into your hand and the rest on the bottom of your library in any order. // {1}{U} Hakka, Whispering Raven mana={3}{U}{U} type=Legendary Creature @@ -2069,12 +2070,12 @@ toughness=6 [card] name=Amareth, the Lustrous abilities=flying -aicode=activate transforms((,newability[may name(Put in hand) target(*[zpos<=1;share!types!]|mylibrary) moveto(ownerHand)])) oneshot -auto=@movedTo(planeswalker|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(planeswalker|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot -auto=@movedTo(creature|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot -auto=@movedTo(land[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(land|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot -auto=@movedTo(enchantment[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(enchantment|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot -auto=@movedTo(artifact[-creature;-land;-enchantment]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot +aicode=activate transforms((,newability[may name(Put in hand) target(*[zpos<=1;share!types!]|mylibrary) moveto(hand)])) oneshot +auto=@movedTo(planeswalker|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(planeswalker|reveal) moveto(hand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot +auto=@movedTo(creature|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(creature|reveal) moveto(hand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot +auto=@movedTo(land[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(land|reveal) moveto(hand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot +auto=@movedTo(enchantment[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(enchantment|reveal) moveto(hand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot +auto=@movedTo(artifact[-creature;-land;-enchantment]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot text=Flying -- Whenever another permanent enters under your control, look at the top card of your library. If it shares a card type with that permanent, you may reveal that card and put it into your hand. mana={3}{G}{W}{U} type=Legendary Creature @@ -2126,7 +2127,7 @@ name=Ambitious Farmhand backside=Seasoned Cathar restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -auto=may name(Search a basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=may name(Search a basic plains) target(plains[basic]|mylibrary) moveto(hand) and!( shuffle )! auto={1}{W}{W} restriction{coven}:name(Transform Ambitious Farmhand) flip(backside) text=When Ambitious Farmhand enters, you may search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. -- Coven-{1}{W}{W}: Transform Ambitious Farmhand. Activate only if you control three or more creatures with different powers. // Seasoned Cathar mana={1}{W} @@ -2453,7 +2454,7 @@ toughness=5 [card] name=Ancient Excavation auto=count(type:*:myhand) && draw:countedamount && transforms((,newability[reject notatarget(*|myhand)])) oneshot -autohand={1}{B}{cycle}:restriction{type(land[basic]|mylibrary)~morethan~0} name(Search basic land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +autohand={1}{B}{cycle}:restriction{type(land[basic]|mylibrary)~morethan~0} name(Search basic land) target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! autohand={1}{B}{cycle}:restriction{type(land[basic]|mylibrary)~equalto~0} name(Search library) target(*|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( shuffle )! )! text=Draw cards equal to the number of cards in your hand, then discard a card for each card drawn this way. -- Basic landcycling {2} ({2}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) mana={2}{U}{B} @@ -2727,8 +2728,8 @@ toughness=4 [card] name=Angel of the Ruins abilities=flying -aicode=activate target(plains|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search plain) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(plains|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search plain) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=target(*[artifact;enchantment]|battlefield) moveto(exile) text=Flying -- When Angel of the Ruins enters, exile up to two target artifacts and/or enchantments. -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, put it into your hand, then shuffle.) mana={5}{W}{W} @@ -2918,7 +2919,7 @@ toughness=3 [card] name=Angler Drake abilities=flying -auto=may moveto(ownerhand) target(creature) +auto=may moveto(hand) target(creature) text=Flying -- When Angler Drake enters, you may return target creature to its owner's hand. mana={4}{U}{U} type=Creature @@ -2952,7 +2953,7 @@ name=Angrath's Fury target=creature auto=destroy auto=ability$!name(Deal 3 damages) name(Deal 3 damages) damage:3 target(player,planeswalker)!$ controller -auto=may name(Move Angrath, Minotaur Pirate to hand) name(Move Angrath, Minotaur Pirate to hand) moveto(ownerHand) target(Angrath^ Minotaur Pirate|mylibrary,mygraveyard) +auto=may name(Move Angrath, Minotaur Pirate to hand) name(Move Angrath, Minotaur Pirate to hand) moveto(hand) target(Angrath^ Minotaur Pirate|mylibrary,mygraveyard) text=Destroy target creature. Angrath's Fury deals 3 damage to target player or planeswalker. You may search your library and/or graveyard for a card named Angrath, Minotaur Pirate, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{B}{R} type=Sorcery @@ -3415,7 +3416,7 @@ type=Sorcery [card] name=Applied Biomancy auto=ability$!may target(creature) 1/1 ueot!$ controller -auto=ability$!may moveTo(ownerHand) target(creature)!$ controller +auto=ability$!may moveTo(hand) target(creature)!$ controller text=Choose one or both -- Target creature gets +1/+1 until end of turn. -- Return target creature to its owner's hand. mana={G}{U} type=Instant @@ -3718,15 +3719,15 @@ subtype=Aura [card] name=Arcane Infusion flashback={3}{U}{R} -aicode=activate transforms((,newability[if type(*[instant;sorcery;zpos<=4]|myLibrary)~morethan~0 then target(*[instant;sorcery;zpos<=4]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=name(Look top 4 cards) reveal:4 optionone name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(*[instant;sorcery;zpos<=4]|myLibrary)~morethan~0 then target(*[instant;sorcery;zpos<=4]|myLibrary) moveto(hand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=name(Look top 4 cards) reveal:4 optionone name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Look at the top four cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Flashback {3}{U}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={U}{R} type=Instant [/card] [card] name=Arcane Investigator -aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( transforms((,newability[all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! +aicode=activate target(*[zpos<=3]|mylibrary) moveto(hand) and!( transforms((,newability[all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! auto={5}{U}:name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end auto=@dierolled(this) from(controller):all(this) sacrifice auto=@dierolled(this) result(1) from(controller):name(Draw 1 card) draw:1 controller @@ -3738,17 +3739,17 @@ auto=@dierolled(this) result(6) from(controller):name(Draw 1 card) draw:1 contro auto=@dierolled(this) result(7) from(controller):name(Draw 1 card) draw:1 controller auto=@dierolled(this) result(8) from(controller):name(Draw 1 card) draw:1 controller auto=@dierolled(this) result(9) from(controller):name(Draw 1 card) draw:1 controller -auto=@dierolled(this) result(10) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(11) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(12) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(13) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(14) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(15) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(16) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(17) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(18) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(19) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=@dierolled(this) result(20) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(10) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(11) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(12) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(13) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(14) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(15) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(16) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(17) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(18) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(19) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=@dierolled(this) result(20) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=Search the Room-{5}{U}: Roll a d20. -- 1-9 | Draw a card. -- 10-20 | Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={1}{U} type=Creature @@ -3798,8 +3799,8 @@ type=Instant [card] name=Arcanist's Owl abilities=flying -aicode=activate transforms((,newability[may name(Get artifact or enchantment) target(*[artifact;enchantment;zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=name(Look top 4 cards) reveal:4 optionone name(Get artifact or enchantment) target(*[artifact;enchantment]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[may name(Get artifact or enchantment) target(*[artifact;enchantment;zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=name(Look top 4 cards) reveal:4 optionone name(Get artifact or enchantment) target(*[artifact;enchantment]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Flying -- When Arcanist's Owl enters, look at the top four cards of your library. You may reveal an artifact or enchantment card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={WU}{WU}{WU}{WU} type=Artifact Creature @@ -3940,8 +3941,8 @@ type=Land [/card] [card] name=Archaeomancer's Map -aicode=activate moveto(ownerHand) and!( shuffle )! target(plains[basic]|myLibrary) -auto=name(Search 2 plains) reveal:plibrarycount optionone name(choose card) target(plains[basic]|reveal) moveto(ownerHand) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(mylibrary) and!( all(*|reveal) moveto(mylibrary) and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) and!( shuffle )! target(plains[basic]|myLibrary) +auto=name(Search 2 plains) reveal:plibrarycount optionone name(choose card) target(plains[basic]|reveal) moveto(hand) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(mylibrary) and!( all(*|reveal) moveto(mylibrary) and!(shuffle)! )! optiontwoend revealend auto=@movedTo(land|opponentbattlefield) restriction{compare(type:land:opponentbattlefield)~morethan~compare(type:land:mybattlefield)}:may name(Put land in play) target(land|myhand) moveto(mybattlefield) text=When Archaeomancer's Map enters, search your library for up to two basic Plains cards, reveal them, put them into your hand, then shuffle. -- Whenever a land enters under an opponent's control, if that player controls more lands than you, you may put a land card from your hand onto the battlefield. mana={2}{W} @@ -3949,7 +3950,7 @@ type=Artifact [/card] [card] name=Archaeomender -auto=moveto(ownerHand) target(artifact|mygraveyard) +auto=moveto(hand) target(artifact|mygraveyard) text=When Archaeomender enters, return target artifact card from your graveyard to your hand. mana={2}{U} type=Creature @@ -4068,8 +4069,8 @@ toughness=1 [/card] [card] name=Archghoul of Thraben -auto=@movedto(other zombie|graveyard) from(mybattlefield):name(Look top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[zombie]|*) then choice name(Put in hand) name(Put in hand) donothing],newability[choice name(Put back in library) moveto(mylibrary)],newability[choice name(Put in graveyard) moveto(mygraveyard)])) oneshot )! -auto=_DIES_name(Look top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[zombie]|*) then choice name(Put in hand) name(Put in hand) donothing],newability[choice name(Put back in library) moveto(mylibrary)],newability[choice name(Put in graveyard) moveto(mygraveyard)])) oneshot )! +auto=@movedto(other zombie|graveyard) from(mybattlefield):name(Look top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[if cantargetcard(*[zombie]|*) then choice name(Put in hand) name(Put in hand) donothing],newability[choice name(Put back in library) moveto(mylibrary)],newability[choice name(Put in graveyard) moveto(mygraveyard)])) oneshot )! +auto=_DIES_name(Look top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[if cantargetcard(*[zombie]|*) then choice name(Put in hand) name(Put in hand) donothing],newability[choice name(Put back in library) moveto(mylibrary)],newability[choice name(Put in graveyard) moveto(mygraveyard)])) oneshot )! text=Whenever Archghoul of Thraben or another Zombie you control dies, look at the top card of your library. If it's a Zombie card, you may reveal it and put it into your hand. If you don't put the card into your hand, you may put it into your graveyard. mana={2}{B} type=Creature @@ -4082,7 +4083,7 @@ name=Archipelagore abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -4416,7 +4417,7 @@ toughness=2 [/card] [card] name=Ardent Elementalist -auto=name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) +auto=name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(hand) text=When Ardent Elementalist enters, return target instant or sorcery card from your graveyard to your hand. mana={3}{R} type=Creature @@ -4841,7 +4842,7 @@ toughness=3 [card] name=Arrester's Admonition target=creature -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=ability$!_ADDENDUM_ draw:1!$ controller text=Return target creature to its owner's hand. -- Addendum - If you cast this spell during your main phase, draw a card. mana={2}{U} @@ -5164,7 +5165,7 @@ toughness=* name=Ashcoat of the Shadow Swarm auto=_ATTACKING_name(Rats gain X/X) all(other rat|myBattlefield) type:rat:mybattlefield/type:rat:mybattlefield ueot auto=@combat(blocking) source(this):name(Rats gain X/X) all(other rat|myBattlefield) type:rat:mybattlefield/type:rat:mybattlefield ueot -auto=@each my end:may name(Mill 4 cards) all(*[zpos<=3]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[all(*[zpos=4]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[may name(Return 2 rats) target(*[creature&rat]|mygraveyard) moveto(ownerHand)])) ueot )!])) ueot )! +auto=@each my end:may name(Mill 4 cards) all(*[zpos<=3]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[all(*[zpos=4]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[may name(Return 2 rats) target(*[creature&rat]|mygraveyard) moveto(hand)])) ueot )!])) ueot )! text=Whenever Ashcoat of the Shadow Swarm attacks or blocks, other Rats you control get +X/+X until end of turn, where X is the number of Rats you control. -- At the beginning of your end step, you may mill four cards. If you do, return up to two Rat creature cards from your graveyard to your hand. (To mill a card, put the top card of your library into your graveyard.) mana={3}{B} type=Legendary Creature @@ -5196,7 +5197,7 @@ type=Enchantment name=Ashiok's Erasure abilities=flash auto=name(Exile spell) target(*|stack) spellmover(exileimp) -auto=this(variable{hasevict}>=1) transforms((,newability[maxCast(*[evictname])0 opponent],newability[@movedto(this|nonbattlezone):name(Return exiled card) target(*[evictname]|opponentExile) moveto(ownerhand)])) +auto=this(variable{hasevict}>=1) transforms((,newability[maxCast(*[evictname])0 opponent],newability[@movedto(this|nonbattlezone):name(Return exiled card) target(*[evictname]|opponentExile) moveto(hand)])) text=Flash -- When Ashiok's Erasure enters, exile target spell. -- Your opponents can't cast spells with the same name as the exiled card. -- When Ashiok's Erasure leaves the battlefield, return the exiled card to its owner's hand. mana={2}{U}{U} type=Enchantment @@ -5204,7 +5205,7 @@ type=Enchantment [card] name=Ashiok's Forerunner abilities=flash -auto=may moveto(ownerHand) target(Ashiok^ Sculptor of Fears|mylibrary,mygraveyard) +auto=may moveto(hand) target(Ashiok^ Sculptor of Fears|mylibrary,mygraveyard) text=Flash -- When Ashiok's Forerunner enters, you may search your library and/or graveyard for a card named Ashiok, Sculptor of Fears, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{U}{B} type=Creature @@ -5259,7 +5260,7 @@ toughness=1 name=Ashnod's Intervention target=creature auto=transforms((,newability[2/0],newability[handdeath],newability[counter(0/0.1.AshnodEffect) notrg],newability[@next end:removeallcounters(0/0.1.AshnodEffect) notrg])) ueot -auto=emblem transforms((,newability[@movedto(creature[counter{0/0.1.AshnodEffect}]|exile) from(battlefield):name(Return to hand) all(trigger[to]) moveto(ownerHand)])) ueot +auto=emblem transforms((,newability[@movedto(creature[counter{0/0.1.AshnodEffect}]|exile) from(battlefield):name(Return to hand) all(trigger[to]) moveto(hand)])) ueot text=Until end of turn, target creature gets +2/+0 and gains "When this creature dies or is put into exile from the battlefield, return it to its owner's hand." mana={B} type=Instant @@ -5280,7 +5281,7 @@ toughness=1 name=Asmodeus the Archfiend auto=replacedraw transforms((,newability[all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )!])) oneshot auto={B}{B}{B}:name(Draw 7 cards) all(*[zpos<=7]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )! -auto={B}:name(Return exiled cards) all(*[counter{0/0.1.AsmodeusExiled}]|myexile) transforms((,newability[moveto(ownerhand)],newability[life:-1 controller])) oneshot +auto={B}:name(Return exiled cards) all(*[counter{0/0.1.AsmodeusExiled}]|myexile) transforms((,newability[moveto(hand)],newability[life:-1 controller])) oneshot text=Binding Contract - If you would draw a card, exile the top card of your library face down instead. -- {B}{B}{B}: Draw seven cards. -- {B}: Return all cards exiled with Asmodeus the Archfiend to their owner's hand and you lose that much life. mana={4}{B}{B} type=Legendary Creature @@ -5295,7 +5296,7 @@ otherrestriction=compare(hascntdscrd)~morethan~0 restriction=never autohand=@discarded(*|myHand):counter(0/0.1.dscrd) autohand=@each end:removeallcounters(0/0,1,dscrd) -auto=may name(Search library) target(The Underworld Cookbook|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=may name(Search library) target(The Underworld Cookbook|mylibrary) moveto(hand) and!( shuffle )! auto={S(food[token]|myBattlefield)}{S(food[token]|myBattlefield)}:name(Sacrifice 2 foods) target(creature) transforms((,newability[damage:6])) oneshot text=As long as you've discarded a card this turn, you may pay {B} or {R} to cast this spell. -- When Asmoranomardicadaistinaculdacar enters, you may search your library for a card named The Underworld Cookbook, reveal it, put it into your hand, then shuffle. -- Sacrifice two Foods: Target creature deals 6 damage to itself. type=Legendary Creature @@ -5459,7 +5460,7 @@ toughness=4 [/card] [card] name=Astor, Bearer of Blades -auto=reveal:7 optionone target(*[equipment;vehicle]|reveal) moveto(ownerhand) optiononeend optiontwo name(bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:7 optionone target(*[equipment;vehicle]|reveal) moveto(hand) optiononeend optiontwo name(bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend auto=lord(equipment|mybattlefield) transforms((,newability[{1}:name(Equip for 1) rehook target(creature|mybattlefield) assorcery])) auto=lord(vehicle|myBattlefield) transforms((,newability[{crew(other creature[power>=1]|myBattlefield)}:name(crew 1 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~0}])) text=When Astor, Bearer of Blades enters, look at the top seven cards of your library. You may reveal an Equipment or Vehicle card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Equipment you control have equip {1}. -- Vehicles you control have crew 1. @@ -5629,8 +5630,8 @@ toughness=2 [card] name=Atraxa, Grand Unifier abilities=deathtouch,flying,lifelink,vigilance -aicode=activate transforms((,newability[target(*[zpos<=10]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=10]) moveto(myreveal) and!( bottomoflibrary )! )! ])) oneshot -auto=name(Look top 10 cards) reveal:10 optionone name(Get a card for each type) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[target(*[zpos<=10]|mylibrary) moveto(hand) and!( all(*[zpos<=10]) moveto(myreveal) and!( bottomoflibrary )! )! ])) oneshot +auto=name(Look top 10 cards) reveal:10 optionone name(Get a card for each type) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Flying, vigilance, deathtouch, lifelink -- When Atraxa, Grand Unifier enters, reveal the top ten cards of your library. For each card type, you may put a card of that type from among the revealed cards into your hand. Put the rest on the bottom of your library in a random order. (Artifact, battle, creature, enchantment, instant, land, planeswalker, and sorcery are card types.) mana={3}{G}{W}{U}{B} type=Legendary Creature @@ -5739,7 +5740,7 @@ auto={T}:Add{U} auto={T}:Add{B} auto={T}:Add{R} auto={T}:Add{G} -auto={S}:target(dinosaur|mygraveyard) moveto(ownerhand) +auto={S}:target(dinosaur|mygraveyard) moveto(hand) text={T}: Add one mana of any color. -- Sacrifice Atzocan Seer: Return target Dinosaur card from your graveyard to your hand. mana={1}{G}{W} type=Creature @@ -5959,7 +5960,7 @@ name=Auspicious Starrix abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -6416,9 +6417,9 @@ toughness=4 name=Axgard Armory auto=tap(noevent) auto={T}:add{W} -auto={1}{R}{R}{W}{T}{S}:name(Search aura and equipment) target(aura|mylibrary) moveto(ownerHand) and!( transforms((,newability[name(Get equipment) target(equipment|mylibrary) moveto(ownerHand) and!( shuffle )!])) oneshot )! -auto={1}{R}{R}{W}{T}{S}:name(Search aura) target(aura|mylibrary) moveto(ownerHand) and!( shuffle )! -auto={1}{R}{R}{W}{T}{S}:name(Search equipment) target(equipment|mylibrary) moveto(ownerHand) and!( shuffle )! +auto={1}{R}{R}{W}{T}{S}:name(Search aura and equipment) target(aura|mylibrary) moveto(hand) and!( transforms((,newability[name(Get equipment) target(equipment|mylibrary) moveto(hand) and!( shuffle )!])) oneshot )! +auto={1}{R}{R}{W}{T}{S}:name(Search aura) target(aura|mylibrary) moveto(hand) and!( shuffle )! +auto={1}{R}{R}{W}{T}{S}:name(Search equipment) target(equipment|mylibrary) moveto(hand) and!( shuffle )! text=Axgard Armory enters tapped. -- {T}: Add {W}. -- {1}{R}{R}{W}, {T}, Sacrifice Axgard Armory: Search your library for an Aura card and/or an Equipment card, reveal them, put them into your hand, then shuffle. type=Land [/card] @@ -6475,7 +6476,7 @@ type=Enchantment [card] name=Ayara's Oathsworn abilities=menace -auto=@combatdamaged(player) from(this) restriction{compare(hascnt11)~lessthan~4}:name(Put 1/1 counter) name(Put 1/1 counter) counter(1/1) && if compare(hascnt11)~equalto~4 then name(Search card) name(Search card) target(*|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=@combatdamaged(player) from(this) restriction{compare(hascnt11)~lessthan~4}:name(Put 1/1 counter) name(Put 1/1 counter) counter(1/1) && if compare(hascnt11)~equalto~4 then name(Search card) name(Search card) target(*|mylibrary) moveto(hand) and!( shuffle )! text=Menace -- Whenever Ayara's Oathsworn deals combat damage to a player, if it has fewer than four +1/+1 counters on it, put a +1/+1 counter on it. Then if it has exactly four +1/+1 counters on it, search your library for a card, put it into your hand, then shuffle. mana={1}{B} type=Creature @@ -6553,8 +6554,8 @@ toughness=2 [card] name=Azcanta, the Sunken Ruin auto={T}:Add{U} -aicode=activate transforms((,newability[target(*[-land;-creature;zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto={2}{U}{T}:name(Look top 4 cards) reveal:4 optionone name(Get a card) target(*[-land;-creature]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[target(*[-land;-creature;zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto={2}{U}{T}:name(Look top 4 cards) reveal:4 optionone name(Get a card) target(*[-land;-creature]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=(Transforms from Search for Azcanta.) -- {T}: Add {U}. -- {2}{U}, {T}: Look at the top four cards of your library. You may reveal a noncreature, nonland card from among them and put it into your hand. Put the rest on the bottom of your library in any order. type=Legendary Land [/card] @@ -6715,7 +6716,7 @@ type=Instant [card] name=Back in Town target=*[creature&Assassin;Mercenary;Pirate;Rogue;Warlock]|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return X target outlaw creature cards from your graveyard to the battlefield. (Assassins, Mercenaries, Pirates, Rogues, and Warlocks are outlaws.) mana={X}{2}{B} type=Sorcery @@ -6761,7 +6762,7 @@ type=Sorcery [card] name=Badlands Revival auto=ability$! may target(creature|myGraveyard) moveto(battlefield) !$ controller -auto=ability$! may target(*[-instant;-sorcery]|myGraveyard) moveto(ownerHand) !$ controller +auto=ability$! may target(*[-instant;-sorcery]|myGraveyard) moveto(hand) !$ controller text=Return up to one target creature card from your graveyard to the battlefield. Return up to one target permanent card from your graveyard to your hand. mana={3}{B}{G} type=Sorcery @@ -6812,7 +6813,7 @@ auto=@sacrificed(other artifact[-token]|mybattlefield):name(Exile artifact) tran auto=@sacrificed(creature[-token;-artifact]|mybattlefield):name(Exile creature) transforms((,newability[name(Exile creature) all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(ownerexile) and!( counter(0/0.1.BagExiled) )!])) oneshot auto={2}{T}:name(Draw a card) target(other *[artifact;creature]|mybattlefield) sacrifice and!( transforms((,newability[moveto(ownerexile) and!( counter(0/0.1.BagExiled) )!],newability[draw:1 controller])) oneshot )! auto={3}{T}:name(Sacrifice and roll d10) sacrifice and!( transforms((,newability[name(Roll a d10) rolld10 10 winability donothing winabilityend rolld10end])) oneshot )! -autograveyard=@dierolled(this|mygraveyard) from(controller) once:transforms((,newability[name(Return exiled cards) target(*[counter{0/0.1.BagExiled}]|exile) moveto(ownerhand) and!( all(*[counter{0/0.1.BagExiled}]|myexile) removeallcounters(0/0.1.BagExiled) )!])) oneshot +autograveyard=@dierolled(this|mygraveyard) from(controller) once:transforms((,newability[name(Return exiled cards) target(*[counter{0/0.1.BagExiled}]|exile) moveto(hand) and!( all(*[counter{0/0.1.BagExiled}]|myexile) removeallcounters(0/0.1.BagExiled) )!])) oneshot text=Whenever you sacrifice another nontoken artifact or creature, exile it. -- {2}, {T}, Sacrifice another artifact or creature: Draw a card. -- {3}, {T}, Sacrifice Bag of Devouring: Roll a d10. Return up to X cards from among cards exiled with Bag of Devouring to their owners' hands, where X is the result. mana={B} type=Artifact @@ -6821,7 +6822,7 @@ type=Artifact name=Bag of Holding auto=@discarded(*|myhand):name(Move to exile) all(trigger) name(Move to exile) moveto(myexile) and!( becomes(BagExiled) forever )! auto={2}{T}:name(Draw and discard) _LOOT_ -auto={4}{T}{S}:name(Return all exiled card) all(BagExiled|myexile) moveto(ownerhand) +auto={4}{T}{S}:name(Return all exiled card) all(BagExiled|myexile) moveto(hand) text=Whenever you discard a card, exile that card from your graveyard. -- {2}, {T}: Draw a card, then discard a card. -- {4}, {T}, Sacrifice Bag of Holding: Return all cards exiled with Bag of Holding to their owner's hand. mana={1} type=Artifact @@ -6875,7 +6876,7 @@ name=Bala Ged Recovery restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(Bala Ged Sanctuary) autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Bala Ged Sanctuary) name(Bala Ged Sanctuary) flip(Bala Ged Sanctuary) forcetype(land) -auto=name(Return a card from graveyard) name(Return a card from graveyard) moveto(ownerHand) target(*|myGraveyard) +auto=name(Return a card from graveyard) name(Return a card from graveyard) moveto(hand) target(*|myGraveyard) text=Return target card from your graveyard to your hand. // Bala Ged Sanctuary mana={2}{G} type=Sorcery @@ -7088,7 +7089,7 @@ type=Instant [card] name=Bane Alley Broker auto={T}:name(Draw and exile) draw:1 controller && transforms((,newability[name(Exile a card) notatarget(*|myhand) moveto(exile) and!( counter(0/0.1.BaneExiled) )!])) oneshot -auto={U}{B}{T}:name(Return exiled card) target(*[counter{0/0.1.BaneExiled}]|myexile) moveto(ownerhand) +auto={U}{B}{T}:name(Return exiled card) target(*[counter{0/0.1.BaneExiled}]|myexile) moveto(hand) text={T}: Draw a card, then exile a card from your hand face down. -- You may look at cards exiled with Bane Alley Broker. -- {U}{B}, {T}: Return a card exiled with Bane Alley Broker to its owner's hand. mana={1}{U}{B} type=Creature @@ -7220,10 +7221,10 @@ type=Sorcery [/card] [card] name=Banish into Fable -auto=if casted(this) restriction{type(artifact|myBattlefield)~morethan~0} then ability$!moveTo(ownerhand) target(*[-land])!$ controller && ability$!_KNIGHTTOKEN_ controller!$ controller -auto=if casted(this) restriction{type(enchantment|myBattlefield)~morethan~0} then ability$!moveTo(ownerhand) target(*[-land])!$ controller && ability$!_KNIGHTTOKEN_ controller!$ controller +auto=if casted(this) restriction{type(artifact|myBattlefield)~morethan~0} then ability$!moveTo(hand) target(*[-land])!$ controller && ability$!_KNIGHTTOKEN_ controller!$ controller +auto=if casted(this) restriction{type(enchantment|myBattlefield)~morethan~0} then ability$!moveTo(hand) target(*[-land])!$ controller && ability$!_KNIGHTTOKEN_ controller!$ controller auto=_KNIGHTTOKEN_ controller -auto=moveTo(ownerhand) target(*[-land]) +auto=moveTo(hand) target(*[-land]) text=When you cast this spell from your hand, copy it if you control an artifact, then copy it if you control an enchantment. You may choose new targets for the copies. -- Return target nonland permanent to its owner's hand. You create a 2/2 white Knight creature token with vigilance. mana={4}{W}{U} type=Instant @@ -7491,26 +7492,26 @@ toughness=4 [/card] [card] name=Barrel Down Sokenzan -auto=if type(mountain|mybattlefield)~morethan~0 then choice name(Return 1 mountain) name(Return 1 mountain) target(creature) damage:2 && ability$!name(Return 1 mountain) name(Return 1 mountain) target(mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~1 then choice name(Return 2 mountains) name(Return 2 mountains) target(creature) damage:4 && ability$!name(Return 2 mountains) name(Return 2 mountains) target(<2>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~2 then choice name(Return 3 mountains) name(Return 3 mountains) target(creature) damage:6 && ability$!name(Return 3 mountains) name(Return 3 mountains) target(<3>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~3 then choice name(Return 4 mountains) name(Return 4 mountains) target(creature) damage:8 && ability$!name(Return 4 mountains) name(Return 4 mountains) target(<4>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~4 then choice name(Return 5 mountains) name(Return 5 mountains) target(creature) damage:10 && ability$!name(Return 5 mountains) name(Return 5 mountains) target(<5>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~5 then choice name(Return 6 mountains) name(Return 6 mountains) target(creature) damage:12 && ability$!name(Return 6 mountains) name(Return 6 mountains) target(<6>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~6 then choice name(Return 7 mountains) name(Return 7 mountains) target(creature) damage:14 && ability$!name(Return 7 mountains) name(Return 7 mountains) target(<7>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~7 then choice name(Return 8 mountains) name(Return 8 mountains) target(creature) damage:16 && ability$!name(Return 8 mountains) name(Return 8 mountains) target(<8>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~8 then choice name(Return 9 mountains) name(Return 9 mountains) target(creature) damage:18 && ability$!name(Return 9 mountains) name(Return 9 mountains) target(<9>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~9 then choice name(Return 10 mountains) name(Return 10 mountains) target(creature) damage:20 && ability$!name(Return 10 mountains) name(Return 10 mountains) target(<10>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~10 then choice name(Return 11 mountains) name(Return 11 mountains) target(creature) damage:22 && ability$!name(Return 11 mountains) name(Return 11 mountains) target(<11>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~11 then choice name(Return 12 mountains) name(Return 12 mountains) target(creature) damage:24 && ability$!name(Return 12 mountains) name(Return 12 mountains) target(<12>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~12 then choice name(Return 13 mountains) name(Return 13 mountains) target(creature) damage:26 && ability$!name(Return 13 mountains) name(Return 13 mountains) target(<13>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~13 then choice name(Return 14 mountains) name(Return 14 mountains) target(creature) damage:28 && ability$!name(Return 14 mountains) name(Return 14 mountains) target(<14>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~14 then choice name(Return 15 mountains) name(Return 15 mountains) target(creature) damage:30 && ability$!name(Return 15 mountains) name(Return 15 mountains) target(<15>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~15 then choice name(Return 16 mountains) name(Return 16 mountains) target(creature) damage:32 && ability$!name(Return 16 mountains) name(Return 16 mountains) target(<16>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~16 then choice name(Return 17 mountains) name(Return 17 mountains) target(creature) damage:34 && ability$!name(Return 17 mountains) name(Return 17 mountains) target(<17>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~17 then choice name(Return 18 mountains) name(Return 18 mountains) target(creature) damage:36 && ability$!name(Return 18 mountains) name(Return 18 mountains) target(<18>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~18 then choice name(Return 19 mountains) name(Return 19 mountains) target(creature) damage:38 && ability$!name(Return 19 mountains) name(Return 19 mountains) target(<19>mountain|mybattlefield) moveto(ownerHand)!$ controller -auto=if type(mountain|mybattlefield)~morethan~19 then choice name(Return 20 mountains) name(Return 20 mountains) target(creature) damage:40 && ability$!name(Return 20 mountains) name(Return 20 mountains) target(<20>mountain|mybattlefield) moveto(ownerHand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~0 then choice name(Return 1 mountain) name(Return 1 mountain) target(creature) damage:2 && ability$!name(Return 1 mountain) name(Return 1 mountain) target(mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~1 then choice name(Return 2 mountains) name(Return 2 mountains) target(creature) damage:4 && ability$!name(Return 2 mountains) name(Return 2 mountains) target(<2>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~2 then choice name(Return 3 mountains) name(Return 3 mountains) target(creature) damage:6 && ability$!name(Return 3 mountains) name(Return 3 mountains) target(<3>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~3 then choice name(Return 4 mountains) name(Return 4 mountains) target(creature) damage:8 && ability$!name(Return 4 mountains) name(Return 4 mountains) target(<4>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~4 then choice name(Return 5 mountains) name(Return 5 mountains) target(creature) damage:10 && ability$!name(Return 5 mountains) name(Return 5 mountains) target(<5>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~5 then choice name(Return 6 mountains) name(Return 6 mountains) target(creature) damage:12 && ability$!name(Return 6 mountains) name(Return 6 mountains) target(<6>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~6 then choice name(Return 7 mountains) name(Return 7 mountains) target(creature) damage:14 && ability$!name(Return 7 mountains) name(Return 7 mountains) target(<7>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~7 then choice name(Return 8 mountains) name(Return 8 mountains) target(creature) damage:16 && ability$!name(Return 8 mountains) name(Return 8 mountains) target(<8>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~8 then choice name(Return 9 mountains) name(Return 9 mountains) target(creature) damage:18 && ability$!name(Return 9 mountains) name(Return 9 mountains) target(<9>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~9 then choice name(Return 10 mountains) name(Return 10 mountains) target(creature) damage:20 && ability$!name(Return 10 mountains) name(Return 10 mountains) target(<10>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~10 then choice name(Return 11 mountains) name(Return 11 mountains) target(creature) damage:22 && ability$!name(Return 11 mountains) name(Return 11 mountains) target(<11>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~11 then choice name(Return 12 mountains) name(Return 12 mountains) target(creature) damage:24 && ability$!name(Return 12 mountains) name(Return 12 mountains) target(<12>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~12 then choice name(Return 13 mountains) name(Return 13 mountains) target(creature) damage:26 && ability$!name(Return 13 mountains) name(Return 13 mountains) target(<13>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~13 then choice name(Return 14 mountains) name(Return 14 mountains) target(creature) damage:28 && ability$!name(Return 14 mountains) name(Return 14 mountains) target(<14>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~14 then choice name(Return 15 mountains) name(Return 15 mountains) target(creature) damage:30 && ability$!name(Return 15 mountains) name(Return 15 mountains) target(<15>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~15 then choice name(Return 16 mountains) name(Return 16 mountains) target(creature) damage:32 && ability$!name(Return 16 mountains) name(Return 16 mountains) target(<16>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~16 then choice name(Return 17 mountains) name(Return 17 mountains) target(creature) damage:34 && ability$!name(Return 17 mountains) name(Return 17 mountains) target(<17>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~17 then choice name(Return 18 mountains) name(Return 18 mountains) target(creature) damage:36 && ability$!name(Return 18 mountains) name(Return 18 mountains) target(<18>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~18 then choice name(Return 19 mountains) name(Return 19 mountains) target(creature) damage:38 && ability$!name(Return 19 mountains) name(Return 19 mountains) target(<19>mountain|mybattlefield) moveto(hand)!$ controller +auto=if type(mountain|mybattlefield)~morethan~19 then choice name(Return 20 mountains) name(Return 20 mountains) target(creature) damage:40 && ability$!name(Return 20 mountains) name(Return 20 mountains) target(<20>mountain|mybattlefield) moveto(hand)!$ controller text=Sweep - Return any number of Mountains you control to their owner's hand. Barrel Down Sokenzan deals damage to target creature equal to twice the number of Mountains returned this way. mana={2}{R} type=Instant @@ -7542,14 +7543,14 @@ toughness=3 name=Barrin's Spite target=creature auto=destroy -auto=moveto(ownerhand) target(creature) +auto=moveto(hand) target(creature) text=Choose two target creatures controlled by the same player. Their controller chooses and sacrifices one of them. Return the other to its owner's hand. mana={2}{U}{B} type=Sorcery [/card] [card] name=Barrin, Tolarian Archmage -auto=may moveTo(ownerhand) target(other creature,planeswalker) +auto=may moveTo(hand) target(other creature,planeswalker) auto=@movedTo(*|myhand) from(battlefield):phaseaction[end once] draw:1 controller limit:1 text=When Barrin, Tolarian Archmage enters, return up to one other target creature or planeswalker to its owner's hand. -- At the beginning of your end step, if a permanent was put into your hand from the battlefield this turn, draw a card. mana={1}{U}{U} @@ -7580,7 +7581,7 @@ toughness=3 [/card] [card] name=Barrow Witches -auto=moveto(ownerHand) target(creature[knight]|mygraveyard) +auto=moveto(hand) target(creature[knight]|mygraveyard) text=When Barrow Witches enters, return target Knight card from your graveyard to your hand. mana={4}{B} type=Creature @@ -7669,8 +7670,8 @@ type=Land [/card] [card] name=Basic Conjuration -aicode=activate target(creature[zpos<=6]|mylibrary) moveto(ownerHand) -auto=name(Look top 6 cards) reveal:6 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(creature[zpos<=6]|mylibrary) moveto(hand) +auto=name(Look top 6 cards) reveal:6 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend auto=life:3 controller text=Look at the top six cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. You gain 3 life. mana={1}{G}{G} @@ -7754,7 +7755,7 @@ toughness=3 name=Basri's Aegis target=creature auto=counter(1/1) -auto=may name(Search library or graveyard) moveto(ownerHand) target(Basri^ Devoted Paladin|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Basri^ Devoted Paladin|myLibrary,myGraveyard) text=Put a +1/+1 counter on each of up to two target creatures. You may search your library and/or graveyard for a card named Basri, Devoted Paladin, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={2}{W}{W} type=Sorcery @@ -7811,7 +7812,7 @@ toughness=2 [/card] [card] name=Battalion Foot Soldier -auto=may moveto(ownerHand) target(Battalion Foot Soldier|mylibrary) +auto=may moveto(hand) target(Battalion Foot Soldier|mylibrary) text=When Battalion Foot Soldier enters, you may search your library for any number of cards named Battalion Foot Soldier, reveal them, put them into your hand, then shuffle. mana={2}{W} type=Creature @@ -7893,8 +7894,8 @@ toughness=5 [/card] [card] name=Battle Plan -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{R}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{R}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=@each my combatbegins:name(Creature gets 2/0) target(creature) 2/0 ueot text=At the beginning of combat on your turn, target creature you control gets +2/+0 until end of turn. -- Basic landcycling {1}{R} ({1}{R}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) mana={3}{R} @@ -8685,10 +8686,10 @@ type=Sorcery [/card] [card] name=Benefaction of Rhonas -aicode=activate transforms((,newability[if type(*[creature;enchantment;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(mygraveyard) else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[creature;enchantment;zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(mygraveyard) )!])) oneshot])) oneshot -auto=if type(creature[zpos<=5]|mylibrary)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose creature) target(creature|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Choose enchantment) target(enchantment|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot && all(*|reveal) moveto(mygraveyard) )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[if cantargetcard(*[creature]|*) then choice name(Put creature in hand) name(Put creature in hand) moveto(ownerHand)],newability[if cantargetcard(*[creature]|*) then choice name(Put creature in graveyard) name(Put creature in graveyard) donothing],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in hand) name(Put enchantment in hand) moveto(ownerHand)],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in graveyard) name(Put enchantment in graveyard) moveto(mygraveyard)])) oneshot afterrevealedend revealend -auto=if type(creature[zpos<=5]|mylibrary)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto=if type(creature[zpos<=5]|mylibrary)~equalto~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose enchantment) target(enchantment|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[if type(*[creature;enchantment;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(mygraveyard) else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[creature;enchantment;zpos<=5]|mylibrary) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(mygraveyard) )!])) oneshot])) oneshot +auto=if type(creature[zpos<=5]|mylibrary)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose creature) target(creature|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Choose enchantment) target(enchantment|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot && all(*|reveal) moveto(mygraveyard) )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[if cantargetcard(*[creature]|*) then choice name(Put creature in hand) name(Put creature in hand) moveto(hand)],newability[if cantargetcard(*[creature]|*) then choice name(Put creature in graveyard) name(Put creature in graveyard) donothing],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in hand) name(Put enchantment in hand) moveto(hand)],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in graveyard) name(Put enchantment in graveyard) moveto(mygraveyard)])) oneshot afterrevealedend revealend +auto=if type(creature[zpos<=5]|mylibrary)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=if type(creature[zpos<=5]|mylibrary)~equalto~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose enchantment) target(enchantment|reveal) moveto(hand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto=if type(creature[zpos<=5]|mylibrary)~equalto~0 then if type(enchantment[zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Reveal the top five cards of your library. You may put a creature card and/or an enchantment card from among them into your hand. Put the rest into your graveyard. mana={2}{G} @@ -8873,7 +8874,7 @@ toughness=6 name=Bestial Bloodline target=creature auto=teach(creature) +2/+2 -autograveyard={4}{G}:moveto(ownerHand) +autograveyard={4}{G}:moveto(hand) text=Enchant creature -- Enchanted creature gets +2/+2. -- {4}{G}: Return Bestial Bloodline from your graveyard to your hand. mana={1}{G} type=Enchantment @@ -8955,7 +8956,7 @@ toughness=1 [card] name=Biblioplex Kraken auto=_SCRY3_ -auto=_ATTACKING_may name(return another creature) transforms((,newability[moveto(ownerhand) notatarget(other creature|myBattlefield)],unblockable)) ueot +auto=_ATTACKING_may name(return another creature) transforms((,newability[moveto(hand) notatarget(other creature|myBattlefield)],unblockable)) ueot text=When Biblioplex Kraken enters, scry 3. (Look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) -- Whenever Biblioplex Kraken attacks, you may return another creature you control to its owner's hand. If you do, Biblioplex Kraken can't be blocked this turn. mana={4}{U} type=Creature @@ -9751,7 +9752,7 @@ toughness=6 [/card] [card] name=Blanchwood Prowler -auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[land]|mygraveyard)~morethan~0 then choice name(Return a land) name(Return a land) target(tobereturn[land]|mygraveyard) moveto(ownerHand)],newability[choice name(Put 1/1 counter) target(Blanchwood Prowler[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! +auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[land]|mygraveyard)~morethan~0 then choice name(Return a land) name(Return a land) target(tobereturn[land]|mygraveyard) moveto(hand)],newability[choice name(Put 1/1 counter) target(Blanchwood Prowler[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Blanchwood Prowler enters, mill three cards. You may put a land card from among the cards milled this way into your hand. If you don't, put a +1/+1 counter on Blanchwood Prowler. (To mill a card, put the top card of your library into your graveyard.) mana={1}{G} type=Creature @@ -10270,7 +10271,7 @@ toughness=1 name=Blink of an Eye kicker={1}{U} target=*[-land] -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=if paid(kicker) then draw:1 controller text=Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.) -- Return target nonland permanent to its owner's hand. If this spell was kicked, draw a card. mana={1}{U} @@ -10412,8 +10413,8 @@ toughness=1 [card] name=Blood Beckoning kicker={3} -auto=if paid(kicker) then moveto(ownerHand) target(<2>creature|mygraveyard) -auto=ifnot paid(kicker) then moveto(ownerHand) target(creature|mygraveyard) +auto=if paid(kicker) then moveto(hand) target(<2>creature|mygraveyard) +auto=ifnot paid(kicker) then moveto(hand) target(creature|mygraveyard) text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- Return target creature card from your graveyard to your hand. If this spell was kicked, instead return two target creature cards from your graveyard to your hand. mana={B} type=Sorcery @@ -10455,7 +10456,7 @@ type=Sorcery [card] name=Blood Fountain auto=token(Blood) -auto={3}{B}{T}{S}:name(Return 2 creatures) target(creature|mygraveyard) moveto(ownerHand) +auto={3}{B}{T}{S}:name(Return 2 creatures) target(creature|mygraveyard) moveto(hand) text=When Blood Fountain enters, create a Blood token. (It's an artifact with "{1}, {T}, Discard a card, Sacrifice this artifact: Draw a card.") -- {3}{B}, {T}, Sacrifice Blood Fountain: Return up to two target creature cards from your graveyard to your hand. mana={B} type=Artifact @@ -10493,7 +10494,7 @@ type=Sorcery name=Blood Operative abilities=lifelink auto=may moveto(exile) target(*|graveyard) -autograveyard=@surveiled(*|mybattlefield,mystack):pay({L:3}) name(return to hand) moveto(ownerHand) all(this) +autograveyard=@surveiled(*|mybattlefield,mystack):pay({L:3}) name(return to hand) moveto(hand) all(this) text=Lifelink -- When Blood Operative enters, you may exile target card from a graveyard. -- Whenever you surveil, if Blood Operative is in your graveyard, you may pay 3 life. If you do, return Blood Operative to your hand. mana={1}{B}{B} type=Creature @@ -10523,8 +10524,8 @@ toughness=1 [/card] [card] name=Blood Price -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos<=2]|mylibrary) && life:-2])) ueot -auto=name(look) reveal:4 optionone name(Get 2 card) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend afterrevealed choice life:-2 afterrevealedend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos<=2]|mylibrary) && life:-2])) ueot +auto=name(look) reveal:4 optionone name(Get 2 card) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend afterrevealed choice life:-2 afterrevealedend revealend text=Look at the top four cards of your library. Put two of them into your hand and the rest on the bottom of your library in any order. You lose 2 life. mana={3}{B} type=Sorcery @@ -10574,7 +10575,7 @@ toughness=5 [card] name=Blood for Bones auto=ability$!notatarget(creature|mygraveyard) moveto(mybattlefield)!$ controller -auto=ability$!notatarget(creature|mygraveyard) moveto(ownerHand)!$ controller +auto=ability$!notatarget(creature|mygraveyard) moveto(hand)!$ controller text=As an additional cost to cast this spell, sacrifice a creature. -- Return a creature card from your graveyard to the battlefield, then return another creature card from your graveyard to your hand. mana={3}{B}{S(creature|myBattlefield)} type=Sorcery @@ -11046,8 +11047,8 @@ toughness=2 [card] name=Blossom Prancer abilities=reach -aicode=activate transforms((,newability[if type(creature[zpos<=5]|mylibrary)~morethan~0 then target(creature[zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then life:4 controller],newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot -auto=name(Look top 5 cards) reveal:5 optionone name(Get creature or enchantment) target(*[creature;enchantment]|reveal) bottomoflibrary and!( becomes(tobeblo) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobeblo|mylibrary) transforms((,newability[choice name(Put in hand) moveto(ownerHand)],newability[choice name(Don't put in hand) life:4 controller])) ueot afterrevealedend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=5]|mylibrary)~morethan~0 then target(creature[zpos<=5]|mylibrary) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then life:4 controller],newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot +auto=name(Look top 5 cards) reveal:5 optionone name(Get creature or enchantment) target(*[creature;enchantment]|reveal) bottomoflibrary and!( becomes(tobeblo) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobeblo|mylibrary) transforms((,newability[choice name(Put in hand) moveto(hand)],newability[choice name(Don't put in hand) life:4 controller])) ueot afterrevealedend revealend text=Reach -- When Blossom Prancer enters, look at the top five cards of your library. You may reveal a creature or enchantment card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. If you didn't put a card into your hand this way, you gain 4 life. mana={3}{G}{G} type=Creature @@ -11498,7 +11499,7 @@ toughness=2 name=Bomat Courier abilities=haste auto=_ATTACKING_name(Exile top card) all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0,1,BomatExiled) )! -auto={R}{S}:name(Return all exiled cards) discard:phandcount && transforms((,newability[all(*[counter{0/0.1.BomatExiled}]|myexile) moveto(ownerhand)])) oneshot +auto={R}{S}:name(Return all exiled cards) discard:phandcount && transforms((,newability[all(*[counter{0/0.1.BomatExiled}]|myexile) moveto(hand)])) oneshot text=Haste -- Whenever Bomat Courier attacks, exile the top card of your library face down. (You can't look at it.) -- {R}, Discard your hand, Sacrifice Bomat Courier: Put all cards exiled with Bomat Courier into their owners' hands. mana={1} type=Artifact Creature @@ -11541,7 +11542,7 @@ type=Sorcery [/card] [card] name=Bond of Flourishing -auto=reveal:3 optionone name(Get a card) target(*[-instant;-sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:3 optionone name(Get a card) target(*[-instant;-sorcery]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend auto=life:3 text=Look at the top three cards of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in any order. You gain 3 life. mana={1}{G} @@ -11550,7 +11551,7 @@ type=Sorcery [card] name=Bond of Insight auto=all(player) deplete:4 -auto=target(*[instant;sorcery]|mygraveyard) moveto(ownerhand) +auto=target(*[instant;sorcery]|mygraveyard) moveto(hand) auto=moveto(exile) text=Each player mills four cards. Return up to two instant and/or sorcery cards from your graveyard to your hand. Exile Bond of Insight. mana={3}{U} @@ -11737,7 +11738,7 @@ name=Boneyard Lurker abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -11746,8 +11747,8 @@ auto={999}:equip other={2}{BG}{BG} name(Mutate) auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Over) name(Mutate Over) target(other creature[-human]|mybattlefield) mutateover auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Under) name(Mutate Under) target(other creature[-human]|mybattlefield) mutateunder -auto=@mutated(this):name(Return to hand) target(*[-instant&-sorcery]|mygraveyard) moveto(ownerHand) -auto=@mutated(mytgt):name(Return to hand) target(*[-instant&-sorcery]|mygraveyard) moveto(ownerHand) +auto=@mutated(this):name(Return to hand) target(*[-instant&-sorcery]|mygraveyard) moveto(hand) +auto=@mutated(mytgt):name(Return to hand) target(*[-instant&-sorcery]|mygraveyard) moveto(hand) text=Mutate {2}{BG}{BG} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, return target permanent card from your graveyard to your hand. mana={2}{B}{G} type=Creature @@ -11999,7 +12000,7 @@ toughness=2 [card] name=Boreas Charger abilities=flying -auto=@movedto(this|nonbattlezone) restriction{type(land|opponentbattlefield)~morethan~type(land|myBattlefield)}:name(Search plains) target(plains|mylibrary) moveto(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[if type(land|opponentbattlefield)~morethan~type(land|myBattlefield) then name(Search other plains) name(Search other plains) target(plains|mylibrary) moveto(ownerHand)])) oneshot )! +auto=@movedto(this|nonbattlezone) restriction{type(land|opponentbattlefield)~morethan~type(land|myBattlefield)}:name(Search plains) target(plains|mylibrary) moveto(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[if type(land|opponentbattlefield)~morethan~type(land|myBattlefield) then name(Search other plains) name(Search other plains) target(plains|mylibrary) moveto(hand)])) oneshot )! text=Flying -- When Boreas Charger leaves the battlefield, choose an opponent who controls more lands than you. Search your library for a number of Plains cards equal to the difference and reveal them. Put one of them onto the battlefield tapped and the rest into your hand. Then shuffle. mana={2}{W} type=Creature @@ -12027,9 +12028,9 @@ type=Instant [/card] [card] name=Boromir, Gondor's Hope -aicode=activate transforms((,newability[if type(human[zpos<=6]|mylibrary)~morethan~0 then target(human[zpos<=6]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(human[zpos<=6]|mylibrary)~equalto~0 then if type(artifact[zpos<=6]|mylibrary)~morethan~0 then target(artifact[zpos<=6]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(human[zpos<=6]|mylibrary)~equalto~0 then if type(artifact[zpos<=6]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot -auto=name(Look top 6 cards) reveal:6 optionone name(Get human or artifact) target(*[human;artifact]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend -auto=_ATTACKING_ name(Look top 6 cards) reveal:6 optionone name(Get human or artifact) target(*[human;artifact]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(human[zpos<=6]|mylibrary)~morethan~0 then target(human[zpos<=6]|mylibrary) moveto(hand) and!( all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(human[zpos<=6]|mylibrary)~equalto~0 then if type(artifact[zpos<=6]|mylibrary)~morethan~0 then target(artifact[zpos<=6]|mylibrary) moveto(hand) and!( all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(human[zpos<=6]|mylibrary)~equalto~0 then if type(artifact[zpos<=6]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot +auto=name(Look top 6 cards) reveal:6 optionone name(Get human or artifact) target(*[human;artifact]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=_ATTACKING_ name(Look top 6 cards) reveal:6 optionone name(Get human or artifact) target(*[human;artifact]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Whenever Boromir, Gondor's Hope enters or attacks, look at the top six cards of your library. You may reveal a Human or artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{W}{U} type=Legendary Creature @@ -12113,7 +12114,7 @@ type=Enchantment [card] name=Bortuk Bonerattle auto=if casted(this) then target(creature[manacost<=pbasiclandtypes]|mygraveyard) moveto(myBattlefield) -auto=if casted(this) then target(creature|mygraveyard) moveto(ownerhand) +auto=if casted(this) then target(creature|mygraveyard) moveto(hand) text=Domain - When Bortuk Bonerattle enters, if you cast it, choose target creature card in your graveyard. Return that card to the battlefield if its mana value is less than or equal to the number of basic land types among lands you control. Otherwise, put it into your hand. mana={4}{B}{G} type=Legendary Creature @@ -12128,7 +12129,7 @@ restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=may name(Search 2 lands) target(forest[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=may name(Search 2 lands) target(forest[basic]|mylibrary) moveto(hand) and!( shuffle )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}<=2) may name(Return land) target(land|mygraveyard) moveto(mylibrary) auto=@counteradded(0/0,1,Lore) from(this) turnlimited:this(counter{0/0.3.Lore}) moveto(exile) and!( flip(backside) forcetype(Enchantment Creature) )! text=(As this Saga enters and after your draw step, add a lore counter.) -- I - Search your library for up to two basic Forest cards, reveal them, put them into your hand, then shuffle. -- II - Put up to one target land card from your graveyard on top of your library. -- III - Exile this Saga, then return it to the battlefield transformed under your control. @@ -12201,7 +12202,7 @@ toughness=3 name=Bottled Cloister auto=@each opponent upkeep:all(*|myhand) moveto(ownerexile) and!( counter(0/0,1,BottledExiled) )! auto=@each my upkeep:draw:1 controller -auto=@each my upkeep:all(*[counter{0/0.1.BottledExiled}]|myexile) moveto(ownerHand) +auto=@each my upkeep:all(*[counter{0/0.1.BottledExiled}]|myexile) moveto(hand) text=At the beginning of each opponent's upkeep, exile all cards from your hand face down. -- At the beginning of your upkeep, return all cards you own exiled with Bottled Cloister to your hand, then draw a card. mana={4} type=Artifact @@ -12229,7 +12230,7 @@ name=Bound // Determined other={G}{U} name(Determined) auto=if paid(alternative) then draw:1 controller auto=if paid(alternative) then all(*|myzones) transforms((,newability[lord(*|mystack) nofizzle])) ueot -auto=ifnot paid(alternative) then name(Sacrifice a creature) name(Sacrifice a creature) target(creature|mybattlefield) transforms((,newability[sacrifice],newability[may name(Return cards) target(*|mygraveyard) moveto(ownerHand)])) oneshot +auto=ifnot paid(alternative) then name(Sacrifice a creature) name(Sacrifice a creature) target(creature|mybattlefield) transforms((,newability[sacrifice],newability[may name(Return cards) target(*|mygraveyard) moveto(hand)])) oneshot text=Sacrifice a creature. Return up to X cards from your graveyard to your hand, where X is the number of colors that creature was. Exile this card. // Other spells you control can't be countered this turn. -- Draw a card. mana={3}{B}{G} type=Instant @@ -12308,10 +12309,10 @@ type=Instant [/card] [card] name=Bounty of Skemfar -aicode=activate all(*[-land;-elf;zpos<=6]|mylibrary) moveto(mygraveyard) && target(elf[zpos<=6]|mylibrary) moveto(ownerHand) && target(land[zpos<=6]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! -auto=if type(land[zpos<=6]|mylibrary)~morethan~0 then if type(elf[zpos<=6]|mylibrary)~morethan~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get land) target(land|reveal) moveto(mybattlefield) and!( tap(noevent) )! optiononeend optiontwo name(Get elf) target(elf|reveal) moveto(ownerHand) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate all(*[-land;-elf;zpos<=6]|mylibrary) moveto(mygraveyard) && target(elf[zpos<=6]|mylibrary) moveto(hand) && target(land[zpos<=6]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! +auto=if type(land[zpos<=6]|mylibrary)~morethan~0 then if type(elf[zpos<=6]|mylibrary)~morethan~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get land) target(land|reveal) moveto(mybattlefield) and!( tap(noevent) )! optiononeend optiontwo name(Get elf) target(elf|reveal) moveto(hand) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=if type(elf[zpos<=6]|mylibrary)~equalto~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get land) target(land|reveal) moveto(mybattlefield) and!( tap(noevent) )! optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend -auto=if type(land[zpos<=6]|mylibrary)~equalto~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get elf) target(elf|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=if type(land[zpos<=6]|mylibrary)~equalto~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get elf) target(elf|reveal) moveto(hand) optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Reveal the top six cards of your library. You may put a land card from among them onto the battlefield tapped and an Elf card from among them into your hand. Put the rest on the bottom of your library in a random order. mana={2}{G} type=Sorcery @@ -12367,7 +12368,7 @@ type=Sorcery [card] name=Brackish Trudge auto=tap(noevent) -autograveyard={1}{B} restriction{compare(lifegain)~morethan~0}:name(Return to hand) moveto(ownerHand) +autograveyard={1}{B} restriction{compare(lifegain)~morethan~0}:name(Return to hand) moveto(hand) text=Brackish Trudge enters tapped. -- {1}{B}: Return Brackish Trudge from your graveyard to your hand. Activate only if you gained life this turn. mana={2}{B} type=Creature @@ -12604,7 +12605,7 @@ toughness=3 name=Brazen Borrower // Petty Theft abilities=flying,cloud,flash,adventure,asflash other={1}{U} name(Adventure) -auto=if paid(alternative) then name(Return to hand) name(Return to hand) target(*[-land]|opponentbattlefield) moveTo(ownerHand) +auto=if paid(alternative) then name(Return to hand) name(Return to hand) target(*[-land]|opponentbattlefield) moveTo(hand) auto=if paid(alternative) then _ADVENTURE_ text=Flash -- Flying -- Brazen Borrower can block only creatures with flying. // Return target nonland permanent an opponent controls to its owner's hand. mana={1}{U}{U} @@ -12616,7 +12617,7 @@ toughness=1 [card] name=Brazen Buccaneers abilities=haste -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=Haste -- When Brazen Buccaneers enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={3}{R} @@ -12658,7 +12659,7 @@ toughness=3 [card] name=Brazen Upstart abilities=vigilance -auto=_DIES_name(Look top 5 cards) reveal:5 optionone name(Get a creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +auto=_DIES_name(Look top 5 cards) reveal:5 optionone name(Get a creature) target(creature|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend text=Vigilance -- When Brazen Upstart dies, look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={R}{G}{W} type=Creature @@ -12979,7 +12980,7 @@ type=Sorcery name=Brightling auto={W}:vigilance ueot auto={W}:lifelink ueot -auto={W}:moveTo(ownerHand) +auto={W}:moveTo(hand) auto={1}:1/-1 ueot auto={1}:-1/1 ueot text={W}: Brightling gains vigilance until end of turn. -- {W}: Brightling gains lifelink until end of turn. -- {W}: Return Brightling to its owner's hand. -- {1}: Brightling gets +1/-1 or -1/+1 until end of turn. @@ -13003,7 +13004,7 @@ toughness=3 [/card] [card] name=Brightwood Tracker -auto={5}{G}{T}:name(look) reveal:4 optionone name(Get a creature card) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto={5}{G}{T}:name(look) reveal:4 optionone name(Get a creature card) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text={5}{G}, {T}: Look at the top four cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={3}{G} type=Creature @@ -13147,8 +13148,8 @@ subtype=Aura [card] name=Brinelin, the Moon Kraken abilities=partner -auto=may moveto(ownerhand) target(*[-land]|battlefield) -auto=@movedto(*[manacost>=6]|mystack):moveto(ownerhand) target(*[-land]|battlefield) +auto=may moveto(hand) target(*[-land]|battlefield) +auto=@movedto(*[manacost>=6]|mystack):moveto(hand) target(*[-land]|battlefield) text=When Brinelin, the Moon Kraken enters or whenever you cast a spell with mana value 6 or greater, you may return target nonland permanent to its owner's hand. -- Partner (You can have two commanders if both have partner.) mana={6}{U}{U} type=Legendary Creature @@ -13291,7 +13292,7 @@ name=Brokkos, Apex of Forever abilities=trample,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -13510,7 +13511,7 @@ toughness=2 name=Brutal Expulsion abilities=devoid restriction=compare(type:*[creature;planeswalker]:battlefieldplustype:*:stackplusend)~morethan~0 -auto=if type(creature|battlefield)~morethan~0 then choice name(Return creature) name(Return creature) target(creature) moveto(ownerhand) and!( ability$!may name(Deal 2 damage) name(Deal 2 damage) target(*[creature;planeswalker]|battlefield) transforms((,newability[exiledeath],newability[damage:2])) ueot!$ controller )! +auto=if type(creature|battlefield)~morethan~0 then choice name(Return creature) name(Return creature) target(creature) moveto(hand) and!( ability$!may name(Deal 2 damage) name(Deal 2 damage) target(*[creature;planeswalker]|battlefield) transforms((,newability[exiledeath],newability[damage:2])) ueot!$ controller )! auto=if type(*|opponentstack)~morethan~0 then choice name(Return opponent spell) name(Return opponent spell) target(*|opponentstack) transforms((,newability[spellmover(hand)],newability[ability$!may name(Deal 2 damage) name(Deal 2 damage) target(*[creature;planeswalker]|battlefield) transforms((,newability[exiledeath],newability[damage:2])) ueot!$ opponent])) oneshot auto=if type(*|mystack)~morethan~1 then choice name(Return your spell) name(Return your spell) target(*|mystack) transforms((,newability[spellmover(hand)],newability[ability$!may name(Deal 2 damage) name(Deal 2 damage) target(*[creature;planeswalker]|battlefield) transforms((,newability[exiledeath],newability[damage:2])) ueot!$ controller])) oneshot auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Don't return and deal 2 damage) name(Don't return and deal 2 damage) target(*[creature;planeswalker]|battlefield) transforms((,newability[exiledeath])) ueot && damage:2 @@ -13918,7 +13919,7 @@ toughness=4 [/card] [card] name=Bushwhack -auto=choice target(land[basic]|mylibrary) moveto(ownerHand) +auto=choice target(land[basic]|mylibrary) moveto(hand) auto=choice target(creature|mybattlefield) transforms((,newability[target(creature|opponentbattlefield) dynamicability])) ueot restriction{type(creature|opponentbattlefield)~morethan~0} text=Choose one - -- - Search your library for a basic land card, reveal it, put it into your hand, then shuffle. -- - Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) mana={G} @@ -14396,7 +14397,7 @@ toughness=1 [card] name=Callous Dismissal target=*[-land] -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=_AMASSZOMBIE1_ text=Return target nonland permanent to its owner's hand. -- Amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie army creature token first.) mana={1}{U} @@ -14424,7 +14425,7 @@ type=Sorcery [card] name=Campfire auto={1}{T}:life:2 -auto={2}{T}{E}:all(*[iscommander]|mycommandzone,mygraveyard) moveto(ownerhand) && moveTo(mylibrary) all(*|mygraveyard) +auto={2}{T}{E}:all(*[iscommander]|mycommandzone,mygraveyard) moveto(hand) && moveTo(mylibrary) all(*|mygraveyard) text={1}, {T}: You gain 2 life. -- {2}, {T}, Exile Campfire: Put all commanders you own from the command zone and from your graveyard into your hand. Then shuffle your graveyard into your library. mana={1} type=Artifact @@ -14824,7 +14825,7 @@ toughness=3 [card] name=Captivating Gyre target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to three target creatures to their owners' hands. mana={4}{U}{U} type=Sorcery @@ -15066,9 +15067,9 @@ toughness=1 [card] name=Carth the Lion abilities=hiddenface -aicode=activate transforms((,newability[if type(planeswalker[zpos<=7]|myLibrary)~morethan~0 then target(planeswalker[zpos<=7]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=name(Look top 7 cards) reveal:7 optionone name(Get a planeswalker) target(planeswalker|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend -auto=@movedto(planeswalker|graveyard) from(myBattlefield):name(Look top 7 cards) reveal:7 optionone name(Get a planeswalker) target(planeswalker|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(planeswalker[zpos<=7]|myLibrary)~morethan~0 then target(planeswalker[zpos<=7]|myLibrary) moveto(hand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=name(Look top 7 cards) reveal:7 optionone name(Get a planeswalker) target(planeswalker|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=@movedto(planeswalker|graveyard) from(myBattlefield):name(Look top 7 cards) reveal:7 optionone name(Get a planeswalker) target(planeswalker|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=lord(planeswalker|myBattlefield) transforms((,newability[@countermod(0/0.1.Loyalty) from(this) restriction{myturnonly} turnlimited:counter(0/0.1.loyalty)])) text=Whenever Carth the Lion enters or a planeswalker you control dies, look at the top seven cards of your library. You may reveal a planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Planeswalkers' loyalty abilities you activate cost an additional +1 to activate. mana={2}{B}{G} @@ -15080,7 +15081,7 @@ toughness=5 [card] name=Cartographer's Hawk abilities=flying -auto=@combatdamaged(player) from(this) restriction{type(land|opponentBattlefield)~morethan~type(land|myBattlefield)}:name(Return to hand) moveto(ownerHand) and!( may name(Search basic plains) target(plains[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle controller])) oneshot )! )! +auto=@combatdamaged(player) from(this) restriction{type(land|opponentBattlefield)~morethan~type(land|myBattlefield)}:name(Return to hand) moveto(hand) and!( may name(Search basic plains) target(plains[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle controller])) oneshot )! )! text=Flying -- When Cartographer's Hawk deals combat damage to a player who controls more lands than you, return it to its owner's hand. If you do, you may search your library for a Plains card, put it onto the battlefield tapped, then shuffle. mana={1}{W} type=Creature @@ -15237,7 +15238,7 @@ subtype=Case [/card] [card] name=Case of the Shattered Pact -auto=target(land[basic]|mylibrary) moveto(ownerHand) +auto=target(land[basic]|mylibrary) moveto(hand) auto=@each my end restriction{type(*[white]|myBattlefield)~morethan~0,type(*[blue]|myBattlefield)~morethan~0,type(*[black]|myBattlefield)~morethan~0,type(*[red]|myBattlefield)~morethan~0,type(*[green]|myBattlefield)~morethan~0}:becomes(Solved) forever auto=lord(creature|myBattlefield) auto=this(cantargetcard(*[Solved]) transforms((,newability[auto=@each my combatbegins:target(creature|myBattlefield) transforms((,flying,double strike,vigilance)) ueot])) forever) @@ -15638,7 +15639,7 @@ type=Enchantment [card] name=Cavalier of Dawn abilities=vigilance -auto=_DIES_moveto(ownerHand) target(*[artifact;enchantment]|mygraveyard) +auto=_DIES_moveto(hand) target(*[artifact;enchantment]|mygraveyard) auto=may name(Destroy nonland permanent) target(*[-land]|battlefield) destroy && token(Golem,Artifact Creature Golem,3/3) targetController text=Vigilance -- When Cavalier of Dawn enters, destroy up to one target nonland permanent. Its controller creates a 3/3 colorless Golem artifact creature token. -- When Cavalier of Dawn dies, return target artifact or enchantment card from your graveyard to your hand. mana={2}{W}{W}{W} @@ -15743,7 +15744,7 @@ name=Cavern Whisperer abilities=menace,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -16050,7 +16051,7 @@ toughness=1 [/card] [card] name=Cenote Scout -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=When Cenote Scout enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={G} @@ -16340,7 +16341,7 @@ auto={17}{T}{C(1/1,-17)}:damage:17 target(anytarget) auto={18}{T}{C(1/1,-18)}:damage:18 target(anytarget) auto={19}{T}{C(1/1,-19)}:damage:19 target(anytarget) auto={20}{T}{C(1/1,-20)}:damage:20 target(anytarget) -autograveyard={W}{U}{B}{R}{G}:moveto(ownerHand) +autograveyard={W}{U}{B}{R}{G}:moveto(hand) text=Chamber Sentry enters with a +1/+1 counter on it for each color of mana spent to cast it. -- {X}, {T}, Remove X +1/+1 counters from Chamber Sentry: It deals X damage to any target. -- {W}{U}{B}{R}{G}: Return Chamber Sentry from your graveyard to your hand. mana={X} type=Artifact Creature @@ -16588,7 +16589,7 @@ toughness=2 [card] name=Chandra's Firemaw abilities=haste -auto=may name(Search library or graveyard) moveto(ownerHand) target(Chandra^ Flame's Catalyst|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Chandra^ Flame's Catalyst|myLibrary,myGraveyard) text=Haste -- When Chandra's Firemaw enters, you may search your library and/or graveyard for a card named Chandra, Flame's Catalyst, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{R}{R} type=Creature @@ -16601,7 +16602,7 @@ name=Chandra's Flame Wave target=player auto=damage:2 auto=damage:2 all(creature|targetedpersonsBattlefield) -auto=ability$! moveto(ownerHand) target(Chandra^ Flame's Fury|mylibrary,mygraveyard) !$ controller +auto=ability$! moveto(hand) target(Chandra^ Flame's Fury|mylibrary,mygraveyard) !$ controller text=Chandra's Flame Wave deals 2 damage to target player and each creature that player controls. Search your library and/or graveyard for a card named Chandra, Flame's Fury, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{R}{R} type=Sorcery @@ -16620,7 +16621,7 @@ toughness=2 name=Chandra's Outburst target=player,planeswalker. auto=damage:4 -auto=may name(Search library or graveyard) moveto(ownerHand) target(Chandra^ Bold Pyromancer|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Chandra^ Bold Pyromancer|myLibrary,myGraveyard) text=Chandra's Outburst deals 4 damage to target player or planeswalker. -- Search your library and/or graveyard for a card named Chandra, Bold Pyromancer, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{R}{R} type=Sorcery @@ -16872,7 +16873,7 @@ toughness=4 name=Charforger auto=create(phyrexian goblin:creature phyrexian goblin:1/1:red) auto=@movedto(other creature,artifact|graveyard) from(mybattlefield):counter(0/0,1,oil) -auto={C(0/0,-3,oil)}:_IMPULSEDRAW_ +auto={C(0/0,-3,oil)}:_IMPULSE_DRAW_ text=When Charforger enters, create a 1/1 red Phyrexian Goblin creature token. -- Whenever another creature or artifact you control is put into a graveyard from the battlefield, put an oil counter on Charforger. -- Remove three oil counters from Charforger: Exile the top card of your library. You may play that card this turn. mana={1}{B}{R} type=Creature @@ -17068,7 +17069,7 @@ toughness=4 [/card] [card] name=Charred Graverobber -auto=target(Assassin,Mercenary,Pirate,Rogue,Warlock|mygraveyard) moveto(ownerhand) +auto=target(Assassin,Mercenary,Pirate,Rogue,Warlock|mygraveyard) moveto(hand) retrace={3}{B}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape) auto=if paid(retrace) then counter(1/1) text=When Charred Graverobber enters, return target outlaw card from your graveyard to your hand. -- Escape-{3}{B}, Exile four other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Charred Graverobber escapes with a +1/+1 counter on it. @@ -17416,7 +17417,7 @@ name=Chittering Harvester abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -17554,8 +17555,8 @@ toughness=2 [card] name=Chrome Courier abilities=flying -aicode=activate target(*[zpos<=2]|mylibrary) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[artifact]|*) then life:3 controller],newability[target(*[zpos<=1]|mylibrary) moveto(myGraveyard)])) oneshot )! -auto=reveal:2 optionone name(Put card in hand) target(*|reveal) moveto(ownerHand) and!( if cantargetcard(*[artifact]|*) then life:3 controller )! optiononeend optiontwo name(put in graveyard) all(*|reveal) moveTo(myGraveyard) optiontwoend revealend +aicode=activate target(*[zpos<=2]|mylibrary) moveto(hand) and!( transforms((,newability[if cantargetcard(*[artifact]|*) then life:3 controller],newability[target(*[zpos<=1]|mylibrary) moveto(myGraveyard)])) oneshot )! +auto=reveal:2 optionone name(Put card in hand) target(*|reveal) moveto(hand) and!( if cantargetcard(*[artifact]|*) then life:3 controller )! optiononeend optiontwo name(put in graveyard) all(*|reveal) moveTo(myGraveyard) optiontwoend revealend text=Flying -- When Chrome Courier enters, reveal the top two cards of your library. Put one of them into your hand and the other into your graveyard. If you put an artifact card into your hand this way, you gain 3 life. mana={1}{W}{U} type=Artifact Creature @@ -17637,7 +17638,7 @@ type=Instant name=Chulane, Teller of Tales abilities=vigilance auto=@movedTo(creature|mystack):draw:1 && may moveto(myBattlefield) target(land|myHand) -auto={3}{T}:moveTo(ownerhand) target(other creature|mybattlefield) +auto={3}{T}:moveTo(hand) target(other creature|mybattlefield) text=Vigilance -- Whenever you cast a creature spell, draw a card, then you may put a land card from your hand onto the battlefield. -- {3}, {T}: Return target creature you control to its owner's hand. mana={2}{G}{W}{U} type=Legendary Creature @@ -17777,7 +17778,7 @@ type=Enchantment [card] name=Circle of the Land Druid auto=may deplete:4 -auto=_DIES_name(Natural Recovery) target(land|mygraveyard) moveto(ownerhand) +auto=_DIES_name(Natural Recovery) target(land|mygraveyard) moveto(hand) text=When Circle of the Land Druid enters, you may mill four cards. (You may put the top four cards of your library into your graveyard.) -- Natural Recovery - When Circle of the Land Druid dies, return target land card from your graveyard to your hand. mana={1}{G} type=Creature @@ -18116,7 +18117,7 @@ type=Instant name=Clattering Augur abilities=cantblock auto=draw:1 controller && life:-1 controller -autograveyard={2}{B}{B}: name(Return to hand) moveto(ownerHand) +autograveyard={2}{B}{B}: name(Return to hand) moveto(hand) text=Clattering Augur can't block. -- When Clattering Augur enters, you draw a card and you lose 1 life. -- {2}{B}{B}: Return Clattering Augur from your graveyard to your hand. mana={1}{B} type=Creature @@ -18169,7 +18170,7 @@ toughness=4 [card] name=Clay Revenant auto=tap(noevent) -autograveyard={2}{B}:moveto(ownerHand) all(this) +autograveyard={2}{B}:moveto(hand) all(this) text=Clay Revenant enters tapped. -- {2}{B}: Return Clay Revenant from your graveyard to your hand. mana={1} type=Artifact Creature @@ -18261,7 +18262,7 @@ type=Sorcery name=Clear the Stage target=creature auto=-3/-3 -auto=if type(creature[power>3]|mybattlefield)~morethan~0 then may target(creature|mygraveyard) moveto(ownerHand) +auto=if type(creature[power>3]|mybattlefield)~morethan~0 then may target(creature|mygraveyard) moveto(hand) text=Target creature gets -3/-3 until end of turn. If you control a creature with power 4 or greater, you may return up to one target creature card from your graveyard to your hand. mana={4}{B} type=Instant @@ -18288,7 +18289,7 @@ toughness=4 [card] name=Cleaving Reaper abilities=flying,trample -autograveyard={L:3}:restriction{thisturn(*[angel;berserker]|mybattlefield)~morethan~0} name(Move back to hand) moveto(ownerHand) +autograveyard={L:3}:restriction{thisturn(*[angel;berserker]|mybattlefield)~morethan~0} name(Move back to hand) moveto(hand) text=Flying, trample -- Pay 3 life: Return Cleaving Reaper from your graveyard to your hand. Activate this ability only if you had an Angel or Berserker enter the battlefield under your control this turn. mana={3}{B}{B} type=Creature @@ -18605,7 +18606,7 @@ name=Cloudpiercer abilities=reach,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -18736,7 +18737,7 @@ type=Artifact [/card] [card] name=Coati Scavenger -auto=if type(*[-instant;-sorcery]|mygraveyard)~morethan~3 then target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) +auto=if type(*[-instant;-sorcery]|mygraveyard)~morethan~3 then target(*[-instant;-sorcery]|mygraveyard) moveto(hand) text=Descend 4 - When Coati Scavenger enters, if there are four or more permanent cards in your graveyard, return target permanent card from your graveyard to your hand. mana={2}{G} type=Creature @@ -18746,8 +18747,8 @@ toughness=2 [/card] [card] name=Coax from the Blind Eternities -auto=choice name(Look Exile) moveto(ownerHand) target(*[eldrazi]|myexile) -auto=choice name(Look Sideboard) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(Choose eldrazi) target(*[eldrazi]|reveal) moveto(ownerHand) optiononeend optiontwo name(put back) all(other *|reveal) moveto(ownersideboard) optiontwoend revealend +auto=choice name(Look Exile) moveto(hand) target(*[eldrazi]|myexile) +auto=choice name(Look Sideboard) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(Choose eldrazi) target(*[eldrazi]|reveal) moveto(hand) optiononeend optiontwo name(put back) all(other *|reveal) moveto(ownersideboard) optiontwoend revealend auto=choice name(Don't choose) donothing text=You may choose an Eldrazi card you own from outside the game or in exile, reveal that card, and put it into your hand. mana={2}{U} @@ -18905,26 +18906,26 @@ toughness=5 [card] name=Colfenor, the Last Yew abilities=vigilance,reach -auto=@movedTo(creature[toughness=1]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=1]|myGraveyard) -auto=@movedTo(creature[toughness=3]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=2]|myGraveyard) -auto=@movedTo(creature[toughness=4]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=3]|myGraveyard) -auto=@movedTo(creature[toughness=5]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=4]|myGraveyard) -auto=@movedTo(creature[toughness=6]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=5]|myGraveyard) -auto=@movedTo(creature[toughness=7]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=6]|myGraveyard) -auto=@movedTo(creature[toughness=8]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=7]|myGraveyard) -auto=@movedTo(creature[toughness=9]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=8]|myGraveyard) -auto=@movedTo(creature[toughness=10]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=9]|myGraveyard) -auto=@movedTo(creature[toughness=11]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=10]|myGraveyard) -auto=@movedTo(creature[toughness=12]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=11]|myGraveyard) -auto=@movedTo(creature[toughness=13]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=12]|myGraveyard) -auto=@movedTo(creature[toughness=14]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=13]|myGraveyard) -auto=@movedTo(creature[toughness=15]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=14]|myGraveyard) -auto=@movedTo(creature[toughness=16]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=15]|myGraveyard) -auto=@movedTo(creature[toughness=17]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=16]|myGraveyard) -auto=@movedTo(creature[toughness=18]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=17]|myGraveyard) -auto=@movedTo(creature[toughness=19]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=18]|myGraveyard) -auto=@movedTo(creature[toughness=20]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature[toughness<=19]|myGraveyard) -auto=@movedTo(creature[toughness>20]|Graveyard) from(mybattlefield):moveto(ownerHand) target(creature|myGraveyard) +auto=@movedTo(creature[toughness=1]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=1]|myGraveyard) +auto=@movedTo(creature[toughness=3]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=2]|myGraveyard) +auto=@movedTo(creature[toughness=4]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=3]|myGraveyard) +auto=@movedTo(creature[toughness=5]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=4]|myGraveyard) +auto=@movedTo(creature[toughness=6]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=5]|myGraveyard) +auto=@movedTo(creature[toughness=7]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=6]|myGraveyard) +auto=@movedTo(creature[toughness=8]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=7]|myGraveyard) +auto=@movedTo(creature[toughness=9]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=8]|myGraveyard) +auto=@movedTo(creature[toughness=10]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=9]|myGraveyard) +auto=@movedTo(creature[toughness=11]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=10]|myGraveyard) +auto=@movedTo(creature[toughness=12]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=11]|myGraveyard) +auto=@movedTo(creature[toughness=13]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=12]|myGraveyard) +auto=@movedTo(creature[toughness=14]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=13]|myGraveyard) +auto=@movedTo(creature[toughness=15]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=14]|myGraveyard) +auto=@movedTo(creature[toughness=16]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=15]|myGraveyard) +auto=@movedTo(creature[toughness=17]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=16]|myGraveyard) +auto=@movedTo(creature[toughness=18]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=17]|myGraveyard) +auto=@movedTo(creature[toughness=19]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=18]|myGraveyard) +auto=@movedTo(creature[toughness=20]|Graveyard) from(mybattlefield):moveto(hand) target(creature[toughness<=19]|myGraveyard) +auto=@movedTo(creature[toughness>20]|Graveyard) from(mybattlefield):moveto(hand) target(creature|myGraveyard) text=Vigilance, reach -- Whenever Colfenor, the Last Yew or another creature you control dies, return up to one other target creature card with lesser toughness from your graveyard to your hand. mana={3}{W}{B}{G} type=Legendary Creature @@ -18952,7 +18953,7 @@ type=Sorcery name=Collectigull // Only the Best abilities=flying,adventure other={1}{W} name(Adventure) -auto=if paid(alternative) then name(Return to hand) name(Return to hand) target(*[-land]|myGraveyard) moveTo(ownerHand) +auto=if paid(alternative) then name(Return to hand) name(Return to hand) target(*[-land]|myGraveyard) moveTo(hand) auto=if paid(alternative) then _ADVENTURE_ auto=protection from(*) auto=_ATTACKING_draw:1 controller @@ -18967,11 +18968,11 @@ toughness=1 name=Collective Brutality other={1}{B}{D(*|myhand)} name(Escalate) aicode=activate target(*[instant;sorcery]|opponenthand) reject -auto=if paid(alternative) then if type(*|myhand)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Discard 1 more and choose all) name(Discard 1 more and choose all) name(Discard 1 more and choose all) name(Discard 1 more and choose all) target(*|myhand) reject and!( transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed choice name(Creature gets -2/-2) target(creature) -2/-2 ueot afterrevealedend revealend])) oneshot )! -auto=if paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Opponent reveals and creature gets -2/-2) name(Opponent reveals and creature gets -2/-2) name(Opponent reveals and creature gets -2/-2) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed choice name(Creature gets -2/-2) target(creature) -2/-2 ueot afterrevealedend revealend -auto=if paid(alternative) then choice name(Opponent reveals and looses 2 life) name(Opponent reveals and looses 2 life) life:-2 opponent && life:2 controller && reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=if paid(alternative) then if type(*|myhand)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Discard 1 more and choose all) name(Discard 1 more and choose all) name(Discard 1 more and choose all) name(Discard 1 more and choose all) target(*|myhand) reject and!( transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed choice name(Creature gets -2/-2) target(creature) -2/-2 ueot afterrevealedend revealend])) oneshot )! +auto=if paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Opponent reveals and creature gets -2/-2) name(Opponent reveals and creature gets -2/-2) name(Opponent reveals and creature gets -2/-2) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed choice name(Creature gets -2/-2) target(creature) -2/-2 ueot afterrevealedend revealend +auto=if paid(alternative) then choice name(Opponent reveals and looses 2 life) name(Opponent reveals and looses 2 life) life:-2 opponent && life:2 controller && reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend auto=if paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Opponent looses life and creature gets -2/-2) name(Opponent looses life and creature gets -2/-2) name(Opponent looses life and creature gets -2/-2) target(creature) -2/-2 ueot && life:-2 opponent && life:2 controller -auto=ifnot paid(alternative) then choice name(Opponent reveals and discard) name(Opponent reveals and discard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=ifnot paid(alternative) then choice name(Opponent reveals and discard) name(Opponent reveals and discard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend auto=ifnot paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Creature gets -2/-2) name(Creature gets -2/-2) name(Creature gets -2/-2) target(creature) -2/-2 ueot auto=ifnot paid(alternative) then choice name(Opponent loses 2 and you gain) name(Opponent loses 2 and you gain) life:-2 opponent && life:2 controller text=Escalate Discard a card. (Pay this cost for each mode chosen beyond the first.) Choose one or more -- Target opponent reveals their hand. You choose an instant or sorcery card from it. That player discards that card. -- Target creature gets -2/-2 until end of turn. -- Target opponent loses 2 life and you gain 2 life. @@ -19189,8 +19190,8 @@ toughness=5 name=Colossal Skyturtle abilities=flying auto=_WARD2_ -autohand={2}{G}{discard}:target(*|mygraveyard) moveto(ownerhand) -autohand={1}{U}{discard}:target(creature) moveto(ownerhand) +autohand={2}{G}{discard}:target(*|mygraveyard) moveto(hand) +autohand={1}{U}{discard}:target(creature) moveto(hand) text=Flying, ward {2} -- Channel - {2}{G}, Discard Colossal Skyturtle: Return target card from your graveyard to your hand. -- Channel - {1}{U}, Discard Colossal Skyturtle: Return target creature to its owner's hand. mana={4}{G}{G}{U} type=Enchantment Creature @@ -19364,7 +19365,7 @@ type=Instant [card] name=Command Beacon auto={T}:add{C} -auto={T}{S}:target(*[iscommander]|mycommandzone) moveto(ownerHand) +auto={T}{S}:target(*[iscommander]|mycommandzone) moveto(hand) text={T}: Add {C}. -- {T}, Sacrifice Command Beacon: Put your commander into your hand from the command zone. type=Land [/card] @@ -19513,14 +19514,14 @@ toughness=3 [/card] [card] name=Commune with Dinosaurs -auto=name(look) reveal:5 optionone name(Get a card) target(<1>*[dinosaur;land]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +auto=name(look) reveal:5 optionone name(Get a card) target(<1>*[dinosaur;land]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top five cards of your library. You may reveal a Dinosaur or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={G} type=Sorcery [/card] [card] name=Commune with Spirits -auto=name(Look top 4 cards) reveal:4 optionone name(Get enchantment or land) target(*[enchantment;land;zpos<=4]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Look top 4 cards) reveal:4 optionone name(Get enchantment or land) target(*[enchantment;land;zpos<=4]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top four cards of your library. You may reveal an enchantment or land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={G} type=Sorcery @@ -19853,11 +19854,11 @@ type=Sorcery [/card] [card] name=Conflux -auto=ability$!name(white card) moveto(ownerHand) notatarget(*[white]|mylibrary)!$ controller -auto=ability$!name(blue card) moveto(ownerHand) notatarget(*[blue]|mylibrary)!$ controller -auto=ability$!name(black card) moveto(ownerHand) notatarget(*[black]|mylibrary)!$ controller -auto=ability$!name(red card) moveto(ownerHand) notatarget(*[red]|mylibrary)!$ controller -auto=ability$!name(green card) moveto(ownerHand) notatarget(*[green]|mylibrary)!$ controller +auto=ability$!name(white card) moveto(hand) notatarget(*[white]|mylibrary)!$ controller +auto=ability$!name(blue card) moveto(hand) notatarget(*[blue]|mylibrary)!$ controller +auto=ability$!name(black card) moveto(hand) notatarget(*[black]|mylibrary)!$ controller +auto=ability$!name(red card) moveto(hand) notatarget(*[red]|mylibrary)!$ controller +auto=ability$!name(green card) moveto(hand) notatarget(*[green]|mylibrary)!$ controller text=Search your library for a white card, a blue card, a black card, a red card, and a green card. Reveal those cards and put them into your hand. Then shuffle. mana={3}{W}{U}{B}{R}{G} type=Sorcery @@ -19875,14 +19876,14 @@ type=Instant [card] name=Confounding Conundrum auto=draw:1 controller -auto=@movedTo(land|opponentBattlefield) restriction{thisturn(land|opponentbattlefield)~morethan~1}:ability$!name(Move to hand) moveTo(ownerHand) notatarget(land|myBattlefield)!$ opponent +auto=@movedTo(land|opponentBattlefield) restriction{thisturn(land|opponentbattlefield)~morethan~1}:ability$!name(Move to hand) moveTo(hand) notatarget(land|myBattlefield)!$ opponent text=When Confounding Conundrum enters, draw a card. -- Whenever a land enters under an opponent's control, if that player had another land enter the battlefield under their control this turn, they return a land they control to its owner's hand. mana={1}{U} type=Enchantment [/card] [card] name=Confounding Riddle -auto=choice reveal:4 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=choice reveal:4 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto=choice restriction{type(*|stack)~morethan~0} transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever target(*|stack) text=Choose one - -- - Look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard. -- - Counter target spell unless its controller pays {4}. mana={2}{U} @@ -19938,7 +19939,7 @@ subtype=Equipment [card] name=Connecting the Dots auto=@combat(attacking) source(creature|myBattlefield): name(Exile top card) all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0,1,Connect) )! -auto={1}{R}{S}:name(Return all exiled cards) discard:phandcount && transforms((,newability[all(*[counter{0/0.1.Connect}]|myexile) moveto(ownerhand)])) oneshot +auto={1}{R}{S}:name(Return all exiled cards) discard:phandcount && transforms((,newability[all(*[counter{0/0.1.Connect}]|myexile) moveto(hand)])) oneshot text=Whenever a creature you control attacks, exile the top card of your library face down. (You can't look at it.) -- {1}{R}, Discard your hand, Sacrifice Connecting the Dots: Put all cards exiled with Connecting the Dots into their owners' hands. mana={1}{R} type=Enchantment @@ -19958,7 +19959,7 @@ name=Conqueror's Foothold auto={T}:Add{1} auto={2}{T}:_LOOT_ auto={4}{T}:draw:1 controller -auto={6}{T}:moveto(ownerHand) target(*|mygraveyard) +auto={6}{T}:moveto(hand) target(*|mygraveyard) text=(Transforms from Conqueror's Galleon.) -- {T}: Add {1}. -- {2}, {T}: Draw a card, then discard a card. -- {4}, {T}: Draw a card. -- {6}, {T}: Return target card from your graveyard to your hand. type=Land [/card] @@ -20022,7 +20023,7 @@ abilities=hasaftermath restriction=type(*[-land]|battlefield)~morethan~0 otherrestriction=can play sorcery flashback={4}{B} name(Oblivion) -auto=ifnot paid(flashback) then target(*[-land]|battlefield) moveto(ownerhand) +auto=ifnot paid(flashback) then target(*[-land]|battlefield) moveto(hand) auto=if paid(flashback) then ability$!name(Discard 2 cards) name(Discard 2 cards) notatarget(<2>*|myhand) reject!$ opponent text=Return target nonland permanent to its owner's hand. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Target opponent discards two cards. mana={1}{U} @@ -20200,8 +20201,8 @@ type=Artifact [/card] [card] name=Consuming Tide -auto=name(Choose a nonland permanent) target(*[-land]|mybattlefield) transforms((,newability[all(other *[-land]|mybattlefield) moveto(ownerhand)])) oneshot -auto=ability$!name(Choose a nonland permanent) name(Choose a nonland permanent) target(*[-land]|mybattlefield) transforms((,newability[all(other *[-land]|mybattlefield) moveto(ownerhand)])) oneshot!$ opponent +auto=name(Choose a nonland permanent) target(*[-land]|mybattlefield) transforms((,newability[all(other *[-land]|mybattlefield) moveto(hand)])) oneshot +auto=ability$!name(Choose a nonland permanent) name(Choose a nonland permanent) target(*[-land]|mybattlefield) transforms((,newability[all(other *[-land]|mybattlefield) moveto(hand)])) oneshot!$ opponent auto=if compare(ohandcountplustype:*[-land]:opponentbattlefieldplusendminus1minusend)~morethan~compare(phandcountplustype:*[-land]:mybattlefieldplusendminus1minusend) then draw:1 controller text=Each player chooses a nonland permanent they control. Return all nonland permanents not chosen this way to their owners' hands. Then you draw a card for each opponent who has more cards in their hand than you. mana={2}{U}{U} @@ -20218,7 +20219,7 @@ type=Instant [card] name=Contagious Vorrac aicode=activate transforms((,newability[all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[_PROLIFERATE_])) oneshot -auto=if type(land[zpos<=4]|mylibrary)~morethan~0 then name(Look top 4 cards) name(Look top 4 cards) reveal:4 optionone name(Get a land) target(land|reveal) bottomoflibrary and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Don't put in hand) _PROLIFERATE_],newability[choice name(Put in hand) moveto(ownerHand)])) oneshot afterrevealedend revealend +auto=if type(land[zpos<=4]|mylibrary)~morethan~0 then name(Look top 4 cards) name(Look top 4 cards) reveal:4 optionone name(Get a land) target(land|reveal) bottomoflibrary and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Don't put in hand) _PROLIFERATE_],newability[choice name(Put in hand) moveto(hand)])) oneshot afterrevealedend revealend auto=if type(land[zpos<=4]|mylibrary)~equalto~0 then name(Look top 4 cards) name(Look top 4 cards) reveal:4 optionone name(Get a land) target(land|reveal) bottomoflibrary and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed _PROLIFERATE_ afterrevealedend revealend text=When Contagious Vorrac enters, look at the top four cards of your library. You may reveal a land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. If you didn't put a card into your hand this way, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) mana={2}{G} @@ -20345,7 +20346,7 @@ name=Convenient Target target=creature auto=teach(creature) _SUSPECT_IT_ auto=teach(creature) +1/+1 -autograveyard={2}{R}:moveTo(ownerhand) +autograveyard={2}{R}:moveTo(hand) text=Enchant creature -- When Convenient Target enters, suspect enchanted creature. (It has menace and can't block.) -- Enchanted creature gets +1/+1. -- {2}{R}: Return Convenient Target from your graveyard to your hand. mana={R} type=Enchantment @@ -20469,9 +20470,9 @@ toughness=2 [/card] [card] name=Coralhelm Chronicler -aicode=activate target(*[zpos<=5]|myLibrary) moveto(ownerHand) +aicode=activate target(*[zpos<=5]|myLibrary) moveto(hand) auto=@movedTo(*[kicked>=1]|myStack):_LOOT_ -auto=name(Reveal five and search kicked) reveal:5 optionone name(Get card) target(*[haskicker]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Reveal five and search kicked) reveal:5 optionone name(Get card) target(*[haskicker]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Whenever you cast a kicked spell, draw a card, then discard a card. -- When Coralhelm Chronicler enters, look at the top five cards of your library. You may reveal a card with a kicker ability from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{U} type=Creature @@ -20493,7 +20494,7 @@ toughness=1 name=Cormela, Glamour Thief abilities=haste auto={1}{T}:Add{U}{B}{R} restriction{type(*[instant;sorcery]|myhand)~morethan~0} -auto=_DIES_may target(instant,sorcery|mygraveyard) moveto(ownerhand) +auto=_DIES_may target(instant,sorcery|mygraveyard) moveto(hand) text=Haste -- {1}, {T}: Add {U}{B}{R}. Spend this mana only to cast instant and/or sorcery spells. -- When Cormela, Glamour Thief dies, return up to one target instant or sorcery card from your graveyard to your hand. mana={1}{U}{B}{R} type=Legendary Creature @@ -20570,7 +20571,7 @@ name=Corpses of the Lost auto=lord(skeleton|myBattlefield) 1/0 auto=lord(skeleton|myBattlefield) haste auto=create(skeleton pirate:creature skeleton pirate:2/2:black) -auto=@each my end:if type(*[-instant;-sorcery;fresh]|mygraveyard)~morethan~0 then pay({L:1}) moveto(ownerhand) +auto=@each my end:if type(*[-instant;-sorcery;fresh]|mygraveyard)~morethan~0 then pay({L:1}) moveto(hand) text=Skeletons you control get +1/+0 and have haste. -- When Corpses of the Lost enters, create a 2/2 black Skeleton Pirate creature token. -- At the beginning of your end step, if you descended this turn, you may pay 1 life. If you do, return Corpses of the Lost to its owner's hand. (You descended if a permanent card was put into your graveyard from anywhere.) mana={2}{B} type=Enchantment @@ -20737,8 +20738,8 @@ type=Instant name=Cosmic Rebirth target=*[-instant;-sorcery]|mygraveyard auto=life:3 controller -auto=if cantargetcard(*[manacost<=3]|*) then transforms((,newability[choice name(Put onto battlefield) moveto(mybattlefield)],newability[choice name(Put in hand) moveto(ownerHand)])) oneshot -auto=if cantargetcard(*[manacost>=4]|*) then moveto(ownerHand) +auto=if cantargetcard(*[manacost<=3]|*) then transforms((,newability[choice name(Put onto battlefield) moveto(mybattlefield)],newability[choice name(Put in hand) moveto(hand)])) oneshot +auto=if cantargetcard(*[manacost>=4]|*) then moveto(hand) text=Choose target permanent card in your graveyard. If it has mana value 3 or less, you may put it onto the battlefield. If you don't put it onto the battlefield, put it into your hand. -- You gain 3 life. mana={1}{G}{W} type=Instant @@ -20790,7 +20791,7 @@ type=Instant [card] name=Council of Echoes abilities=flying -auto=aslongas(*[-instant;-sorcery]|myGraveyard) may target(other *[-land]) moveto(ownerhand) >3 +auto=aslongas(*[-instant;-sorcery]|myGraveyard) may target(other *[-land]) moveto(hand) >3 text=Flying -- Descend 4 - When Council of Echoes enters, if there are four or more permanent cards in your graveyard, return up to one target nonland permanent other than Council of Echoes to its owner's hand. mana={4}{U}{U} type=Creature @@ -20848,7 +20849,7 @@ type=Sorcery [card] name=Courier Bat abilities=flying -auto=if compare(lifegain)~morethan~0 then may name(Return card) target(*|mygraveyard) moveto(ownerHand) +auto=if compare(lifegain)~morethan~0 then may name(Return card) target(*|mygraveyard) moveto(hand) text=Flying -- When Courier Bat enters, if you gained life this turn, return up to one target creature card from your graveyard to your hand. mana={2}{B} type=Creature @@ -20893,7 +20894,7 @@ type=Enchantment [card] name=Court of Ardenvale auto=_MONARCH_CONTROLLER_ -auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(ownerHand) +auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(hand) auto=@each my upkeep restriction{compare(pmonarch)~equalto~1}:target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(battlefield) text=When Court of Ardenvale enters, you become the monarch. -- At the beginning of your upkeep, return target permanent card with mana value 3 or less from your graveyard to your hand. If you're the monarch, return that permanent card to the battlefield instead. mana={2}{W}{W} @@ -21027,8 +21028,8 @@ toughness=4 [card] name=Coveted Prize abilities=hiddenface,affinityparty -aicode=activate moveto(ownerHand) target(*|myLibrary) -auto=name(Reveal) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) moveto(ownerHand) and!(shuffle)! optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed if compare(calculateparty)~equalto~4 then may name(cast card with mana cost less than 4) activate name(cast card with mana cost less than 4) castcard(normal) target(*[-land;manacost<=4]|myHand) afterrevealedend revealend +aicode=activate moveto(hand) target(*|myLibrary) +auto=name(Reveal) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) moveto(hand) and!(shuffle)! optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed if compare(calculateparty)~equalto~4 then may name(cast card with mana cost less than 4) activate name(cast card with mana cost less than 4) castcard(normal) target(*[-land;manacost<=4]|myHand) afterrevealedend revealend text=This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- Search your library for a card, put it into your hand, then shuffle. If you have a full party, you may cast a spell with mana value 4 or less from your hand without paying its mana cost. mana={4}{B} type=Sorcery @@ -21210,8 +21211,8 @@ toughness=6 [card] name=Cragsmasher Yeti abilities=trample -aicode=activate moveto(ownerHand) target(mountain|myLibrary) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mountain|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(mountain|myLibrary) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mountain|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=name(This creature) target(this) counter(1/1,2) auto=name(Target other creature) target(other creature) transforms((,newability[counter(1/1.2)],trample)) ueot text=Mountaincycling {2} ({2}, Discard this card: Search your library for a Mountain card, reveal it, put it into your hand, then shuffle.) -- Backup 2 (When this creature enters, put two +1/+1 counters on target creature. If that's another creature, it gains the following ability until end of turn.) -- Trample @@ -21321,7 +21322,7 @@ other={2}{U} otherrestriction=type(merfolk|mybattlefield)~morethan~0 restriction=can play sorcery target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=draw:1 controller text=Crashing Tide has flash as long as you control a Merfolk. -- Return target creature to its owner's hand. -- Draw a card. mana={2}{U} @@ -21342,7 +21343,7 @@ toughness=4 name=Crawl from the Cellar target=creature|mygraveyard flashback={3}{B} -auto=moveto(ownerHand) +auto=moveto(hand) auto=may name(Put 1/1 counter) target(creature[zombie]|mybattlefield) counter(1/1) text=Return target creature card from your graveyard to your hand. Put a +1/+1 counter on up to one target Zombie you control. -- Flashback {3}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={B} @@ -21379,8 +21380,8 @@ type=Enchantment name=Creative Outburst target=anytarget auto=damage:5 -aicode=activate transforms((,newability[target(*[zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) ueot -auto=name(Reveal 5 cards) reveal:5 optionone name(Get Card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[target(*[zpos<=5]|mylibrary) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) ueot +auto=name(Reveal 5 cards) reveal:5 optionone name(Get Card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend autohand={UR}{UR}{D}:_TREASURE_ text=Creative Outburst deals 5 damage to any target. Look at the top five cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order. -- {UR}{UR}, Discard Creative Outburst: Create a Treasure token. mana={3}{U}{U}{R}{R} @@ -21557,7 +21558,7 @@ type=Sorcery name=Critical Hit target=creature auto=transforms((,double strike)) ueot -autograveyard=@dierolled(*|mybattlefield) result(20) from(controller):name(Return to hand) moveto(ownerHand) +autograveyard=@dierolled(*|mybattlefield) result(20) from(controller):name(Return to hand) moveto(hand) text=Target creature gains double strike until end of turn. -- When you roll a natural 20, return Critical Hit from your graveyard to your hand. (A natural 20 is a roll that displays 20 on the die.) mana={1}{R} type=Instant @@ -21675,7 +21676,7 @@ name=Crown of Skemfar target=creature auto=foreach(elf|mybattlefield) 1/1 auto=reach -autograveyard={2}{G}:name(Put back in hand) moveto(ownerHand) +autograveyard={2}{G}:name(Put back in hand) moveto(hand) text=Enchant creature -- Enchanted creature gets +1/+1 for each Elf you control and has reach. -- {2}{G}: Return Crown of Skemfar from your graveyard to your hand. mana={2}{G}{G} type=Enchantment @@ -21935,11 +21936,11 @@ type=Land [/card] [card] name=Cryptic Command -auto=if type(*|stack)~morethan~0 then if type(*|battlefield)~morethan~0 then choice name(Counter spell and return permanent) name(Counter spell and return permanent) name(Counter spell and return permanent) target(*|stack) transforms((,newability[fizzle])) forever && ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(ownerHand)!$ controller +auto=if type(*|stack)~morethan~0 then if type(*|battlefield)~morethan~0 then choice name(Counter spell and return permanent) name(Counter spell and return permanent) name(Counter spell and return permanent) target(*|stack) transforms((,newability[fizzle])) forever && ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(hand)!$ controller auto=if type(*|stack)~morethan~0 then choice name(Counter spell and tap creatures) name(Counter spell and tap creatures) target(*|stack) transforms((,newability[fizzle])) forever && all(creature|opponentBattlefield) tap auto=if type(*|stack)~morethan~0 then choice name(Counter spell and draw) name(Counter spell and draw) target(*|stack) transforms((,newability[fizzle])) forever && draw:1 controller -auto=if type(*|battlefield)~morethan~0 then choice name(Return permanent and tap creatures) name(Return permanent and tap creatures) target(*|battlefield) moveto(ownerHand) && all(creature|opponentBattlefield) tap -auto=if type(*|battlefield)~morethan~0 then choice name(Return permanent and draw) name(Return permanent and draw) target(*|battlefield) moveto(ownerHand) && draw:1 controller +auto=if type(*|battlefield)~morethan~0 then choice name(Return permanent and tap creatures) name(Return permanent and tap creatures) target(*|battlefield) moveto(hand) && all(creature|opponentBattlefield) tap +auto=if type(*|battlefield)~morethan~0 then choice name(Return permanent and draw) name(Return permanent and draw) target(*|battlefield) moveto(hand) && draw:1 controller auto=choice name(Tap creatures and draw) draw:1 controller && all(creature|opponentBattlefield) tap text=Choose two -- Counter target spell; or return target permanent to its owner's hand; or tap all creatures your opponents control; or draw a card. mana={1}{U}{U}{U} @@ -21993,7 +21994,7 @@ name=Crystal Dragon // Rob the Hoard abilities=flying,vigilance,adventure otherrestriction=type(*[artifact;enchantment;legendary]|mygraveyard)~morethan~0 other={1}{W} name(Adventure) -auto=if paid(alternative) then name(Return card) name(Return card) target(*[artifact;enchantment;legendary]|mygraveyard) moveto(ownerhand) +auto=if paid(alternative) then name(Return card) name(Return card) target(*[artifact;enchantment;legendary]|mygraveyard) moveto(hand) auto=if paid(alternative) then _ADVENTURE_ text=Flying, vigilance // Return target artifact, enchantment, or legendary card from your graveyard to your hand. (Then exile this card. You may cast the creature later from exile.) mana={4}{W}{W} @@ -22055,7 +22056,7 @@ name=Cubwarden abilities=lifelink,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -22183,7 +22184,7 @@ toughness=2 [/card] [card] name=Cunning Evasion -auto=@combat(blocked) source(creature|mybattlefield):may all(trigger[to]) moveTo(ownerHand) +auto=@combat(blocked) source(creature|mybattlefield):may all(trigger[to]) moveTo(hand) text=Whenever a creature you control becomes blocked, you may return it to its owner's hand. mana={1}{U} type=Enchantment @@ -22191,7 +22192,7 @@ type=Enchantment [card] name=Cunning Geysermage kicker={2}{U} -auto=if paid(kicker) then may moveTo(ownerHand) target(other creature) +auto=if paid(kicker) then may moveTo(hand) target(other creature) text=Kicker {2}{U} (You may pay an additional {2}{U} as you cast this spell.) -- When Cunning Geysermage enters, if it was kicked, return up to one other target creature to its owner's hand. mana={2}{U} type=Creature @@ -22232,8 +22233,7 @@ toughness=3 [/card] [card] name=Curate -aicode=activate transforms((,newability[draw:1 controller],newability[deplete:1 controller])) ueot -auto=name(Surveil 2) reveal:2 optionone name(Put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(Put back) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed all(*[zpos<=2]|mylibrary)controller oneshot afterrevealedend revealend && draw:1 +auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed all(*[zpos=1]|mylibrary) transforms((,newability[draw:1])) oneshot afterrevealedend revealend text=Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) -- Draw a card. mana={1}{U} type=Instant @@ -22286,7 +22286,7 @@ toughness=5 [card] name=Curious Cadaver abilities=flying -autograveyard=@sacrificed(Clue|mybattlefield):moveto(ownerHand) +autograveyard=@sacrificed(Clue|mybattlefield):moveto(hand) text=Flying -- When you sacrifice a Clue, return Curious Cadaver from your graveyard to your hand. mana={2}{U}{B} type=Creature @@ -22799,7 +22799,7 @@ type=Enchantment [/card] [card] name=Cyclone Summoner -auto=if casted(this) then all(*[-giant;-wizard;-land]|battlefield) moveto(ownerhand) +auto=if casted(this) then all(*[-giant;-wizard;-land]|battlefield) moveto(hand) text=When Cyclone Summoner enters, if you cast it from your hand, return all permanents to their owners' hands except for Giants, Wizards, and lands. mana={5}{U}{U} type=Creature @@ -23086,7 +23086,7 @@ toughness=7 [/card] [card] name=Daring Archaeologist -auto=may target(artifact|mygraveyard) moveto(ownerhand) +auto=may target(artifact|mygraveyard) moveto(hand) auto=_CASTHISTORIC_counter(1/1) text=When Daring Archaeologist enters, you may return target artifact card from your graveyard to your hand. -- Whenever you cast a historic spell, put a +1/+1 counter on Daring Archaeologist. (Artifacts, legendaries, and Sagas are historic.) mana={3}{W} @@ -23172,7 +23172,7 @@ toughness=4 [card] name=Dark Bargain auto=damage:2 controller -auto=name(Reveal top 3 cards) reveal:3 optionone name(Get 2 cards) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=name(Reveal top 3 cards) reveal:3 optionone name(Get 2 cards) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top three cards of your library. Put two of them into your hand and the other into your graveyard. Dark Bargain deals 2 damage to you. mana={3}{B} type=Instant @@ -23429,7 +23429,7 @@ type=Instant [/card] [card] name=Dawn Evangel -auto=@movedTo(graveyard) from(creature[enchanted]|myBattlefield):moveto(ownerHand) target(creature[manacost<3]|mygraveyard) +auto=@movedTo(graveyard) from(creature[enchanted]|myBattlefield):moveto(hand) target(creature[manacost<3]|mygraveyard) text=Whenever a creature dies, if an Aura you controlled was attached to it, return target creature card with mana value 2 or less from your graveyard to your hand. mana={2}{W} type=Enchantment Creature @@ -23456,7 +23456,7 @@ type=Enchantment [/card] [card] name=Dawn to Dusk -auto=ability$!may name(Return) moveto(ownerHand) target(enchantment|mygraveyard)!$ controller +auto=ability$!may name(Return) moveto(hand) target(enchantment|mygraveyard)!$ controller auto=ability$!may name(Destroy) destroy target(enchantment)!$ controller text=Choose one or both Return target enchantment card from your graveyard to your hand; and/or destroy target enchantment. mana={2}{W}{W} @@ -23695,7 +23695,7 @@ toughness=5 name=Dead // Gone other={2}{R} name(Gone) target=creature -auto=if paid(alternative) then moveTo(ownerHand) +auto=if paid(alternative) then moveTo(hand) auto=ifnot paid(alternative) then damage:2 text=Dead deals 2 damage to target creature. // Return target creature you don't control to its owner's hand. mana={R} @@ -23730,7 +23730,7 @@ type=Sorcery [card] name=Dead Revels target=creature|mygraveyard -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Spectacle {1}{B} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- Return up to two target creature cards from your graveyard to your hand. other={1}{B} name(Spectacle) otherrestriction=compare(oplifelost)~morethan~0 @@ -23797,7 +23797,7 @@ toughness=3 [/card] [card] name=Deadeye Quartermaster -auto=may moveto(ownerHand) target(equipment,vehicle|mylibrary) +auto=may moveto(hand) target(equipment,vehicle|mylibrary) text=When Deadeye Quartermaster enters, you may search your library for an Equipment or Vehicle card, reveal it, put it into your hand, then shuffle. mana={3}{U} type=Creature @@ -23807,7 +23807,7 @@ toughness=2 [/card] [card] name=Deadeye Rig-Hauler -auto=if raid then may moveto(ownerHand) target(creature) +auto=if raid then may moveto(hand) target(creature) text=Raid - When Deadeye Rig-Hauler enters, if you attacked with a creature this turn, you may return target creature to its owner's hand. mana={3}{U} type=Creature @@ -23827,7 +23827,7 @@ toughness=2 [/card] [card] name=Deadeye Tracker -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto={1}{B}{T}{E(*|opponentgraveyard)} restriction{type(*|opponentgraveyard)~morethan~1}:moveto(exile) target(*|opponentgraveyard) && _EXPLORES_ text={1}{B}, {T}: Exile two target cards from an opponent's graveyard. Deadeye Tracker explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={B} @@ -23857,7 +23857,7 @@ type=Sorcery [/card] [card] name=Deadly Brew -auto=ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) transforms((,newability[sacrifice],newability[may name(Return permanent) target(other *[-instant;-sorcery]|mygraveyard) moveto(ownerHand)])) oneshot!$ controller +auto=ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) transforms((,newability[sacrifice],newability[may name(Return permanent) target(other *[-instant;-sorcery]|mygraveyard) moveto(hand)])) oneshot!$ controller auto=ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) transforms((,newability[sacrifice])) oneshot!$ opponent text=Each player sacrifices a creature or planeswalker. If you sacrificed a permanent this way, you may return another permanent card from your graveyard to your hand. mana={B}{G} @@ -23995,27 +23995,27 @@ toughness=6 [/card] [card] name=Death's Oasis -auto=@movedto(creature[-token;manacost=1]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 1) moveto(ownerHand) target(creature[manacost<=0]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=2]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 2) moveto(ownerHand) target(creature[manacost<=1]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=3]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 3) moveto(ownerHand) target(creature[manacost<=2]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=4]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 4) moveto(ownerHand) target(creature[manacost<=3]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=5]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 5) moveto(ownerHand) target(creature[manacost<=4]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=6]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 6) moveto(ownerHand) target(creature[manacost<=5]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=7]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 7) moveto(ownerHand) target(creature[manacost<=6]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=8]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 8) moveto(ownerHand) target(creature[manacost<=7]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=9]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 9) moveto(ownerHand) target(creature[manacost<=8]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=10]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 10) moveto(ownerHand) target(creature[manacost<=9]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=11]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 11) moveto(ownerHand) target(creature[manacost<=10]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=12]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 12) moveto(ownerHand) target(creature[manacost<=11]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=13]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 13) moveto(ownerHand) target(creature[manacost<=12]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=14]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 14) moveto(ownerHand) target(creature[manacost<=13]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=15]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 15) moveto(ownerHand) target(creature[manacost<=14]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=16]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 16) moveto(ownerHand) target(creature[manacost<=15]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=17]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 17) moveto(ownerHand) target(creature[manacost<=16]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=18]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 18) moveto(ownerHand) target(creature[manacost<=17]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=19]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 19) moveto(ownerHand) target(creature[manacost<=18]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost=20]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 20) moveto(ownerHand) target(creature[manacost<=19]|mygraveyard)])) forever -auto=@movedto(creature[-token;manacost>=20]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature) moveto(ownerHand) target(creature|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=1]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 1) moveto(hand) target(creature[manacost<=0]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=2]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 2) moveto(hand) target(creature[manacost<=1]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=3]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 3) moveto(hand) target(creature[manacost<=2]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=4]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 4) moveto(hand) target(creature[manacost<=3]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=5]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 5) moveto(hand) target(creature[manacost<=4]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=6]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 6) moveto(hand) target(creature[manacost<=5]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=7]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 7) moveto(hand) target(creature[manacost<=6]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=8]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 8) moveto(hand) target(creature[manacost<=7]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=9]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 9) moveto(hand) target(creature[manacost<=8]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=10]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 10) moveto(hand) target(creature[manacost<=9]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=11]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 11) moveto(hand) target(creature[manacost<=10]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=12]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 12) moveto(hand) target(creature[manacost<=11]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=13]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 13) moveto(hand) target(creature[manacost<=12]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=14]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 14) moveto(hand) target(creature[manacost<=13]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=15]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 15) moveto(hand) target(creature[manacost<=14]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=16]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 16) moveto(hand) target(creature[manacost<=15]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=17]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 17) moveto(hand) target(creature[manacost<=16]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=18]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 18) moveto(hand) target(creature[manacost<=17]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=19]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 19) moveto(hand) target(creature[manacost<=18]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost=20]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 20) moveto(hand) target(creature[manacost<=19]|mygraveyard)])) forever +auto=@movedto(creature[-token;manacost>=20]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature) moveto(hand) target(creature|mygraveyard)])) forever auto={1}{S}:life:convertedcost:highest:creature:myBattlefield text=Whenever a nontoken creature you control dies, put the top two cards of your library into your graveyard. Then return a creature card with lesser mana value than the creature that died from your graveyard to your hand. -- {1}, Sacrifice Death's Oasis: You gain life equal to the greatest mana value among creatures you control. mana={W}{B}{G} @@ -24025,7 +24025,7 @@ type=Enchantment name=Death-Greeter's Champion abilities=double strike other={3}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever auto=name(This creature) target(this) counter(1/1) auto=name(Target other creature) target(other creature) transforms((,newability[counter(1/1)],double strike)) ueot text=Dash {3}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) -- Backup 1 (When this creature enters, put a +1/+1 counter on target creature. If that's another creature, it gains the following abilities until end of turn.) -- Double strike @@ -24172,7 +24172,7 @@ toughness=2 [card] name=Deathless Ancient abilities=flying -autograveyard={T(<3>vampire[-tapped])}:moveto(ownerHand) +autograveyard={T(<3>vampire[-tapped])}:moveto(hand) text=Flying -- Tap three untapped Vampires you control: Return Deathless Ancient from your graveyard to your hand. mana={4}{B}{B} type=Creature @@ -24183,7 +24183,7 @@ toughness=4 [card] name=Deathless Knight abilities=haste -autograveyard=@lifeof(player) turnlimited:moveto(ownerHand) +autograveyard=@lifeof(player) turnlimited:moveto(hand) text=Haste -- When you gain life for the first time each turn, return Deathless Knight from your graveyard to your hand. mana={BG}{BG}{BG}{BG} type=Creature @@ -24345,7 +24345,7 @@ toughness=3 [card] name=Decoy Gambit target=creature|opponentbattlefield -auto=name(Draw or return) transforms((,newability[choice name(Opponent draw a card) draw:1 opponent],newability[choice name(Return to hand) moveTo(ownerhand)])) oneshot +auto=name(Draw or return) transforms((,newability[choice name(Opponent draw a card) draw:1 opponent],newability[choice name(Return to hand) moveTo(hand)])) oneshot text=For each opponent, choose up to one target creature that player controls, then return that creature to its owner's hand unless its controller has you draw a card. mana={2}{U} type=Instant @@ -24437,7 +24437,7 @@ type=Enchantment name=Deep-Cavern Bat abilities=flying,lifelink aicode=activate hand(blink)forsrc notatarget(*[-land]|targetedpersonshand) -auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone hand(blink)forsrc notatarget(*[-land]|reveal) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone hand(blink)forsrc notatarget(*[-land]|reveal) optiononeend optiontwo name(put back) all(*|reveal) moveto(hand) optiontwoend revealend text=Flying, lifelink -- When Deep-Cavern Bat enters, look at target opponent's hand. You may exile a nonland card from it until Deep-Cavern Bat leaves the battlefield. mana={1}{B} type=Creature @@ -24531,8 +24531,8 @@ type=Instant [/card] [card] name=Deface -auto=choice name(Destroy target artifact) destroy target(artifact) -auto=choice name(Destroy target creature with defender) destroy target(creature[defender]) +auto=choice name(Destroy target artifact) destroy target(artifact) restriction{type(artifact)~morethan~0} +auto=choice name(Destroy target creature with defender) destroy target(creature[defender]) restriction{type(creature[defender])~morethan~0} text=Choose one -- Destroy target artifact. -- Destroy target creature with defender. mana={R} type=Sorcery @@ -24731,7 +24731,7 @@ toughness=2 [card] name=Deliver Unto Evil abilities=exiledeath -auto=if type(planeswalker[bolas]|mybattlefield)~morethan~0 then target(*|mygraveyard) moveto(ownerHand) +auto=if type(planeswalker[bolas]|mybattlefield)~morethan~0 then target(*|mygraveyard) moveto(hand) auto=if type(planeswalker[bolas]|mybattlefield)~equalto~0 then ability$!name(Choose 2 cards) name(Choose 2 cards) target(<2>*|opponentgraveyard) moveto(opponenthand)!$ opponent text=Choose up to four target cards in your graveyard. If you control a Bolas planeswalker, return those cards to your hand. Otherwise, an opponent chooses two of them. Leave the chosen cards in your graveyard and put the rest into your hand. -- Exile Deliver Unto Evil. mana={2}{B} @@ -24922,7 +24922,7 @@ type=Sorcery [/card] [card] name=Demonic Bargain -auto=all(*[zpos<=13]|mylibrary) moveto(exile) && all(this|mystack) transforms((,newability[name(Search library) target(*|mylibrary) moveto(ownerHand) and!( shuffle )!])) oneshot +auto=all(*[zpos<=13]|mylibrary) moveto(exile) && all(this|mystack) transforms((,newability[name(Search library) target(*|mylibrary) moveto(hand) and!( shuffle )!])) oneshot text=Exile the top thirteen cards of your library, then search your library for a card. Put that card into your hand, then shuffle. mana={2}{B} type=Sorcery @@ -24973,7 +24973,7 @@ subtype=Aura name=Demonic Vigor target=creature auto=teach(creature) +1/+1 -auto=@movedTo(mytgt|Graveyard) from(Battlefield):all(trigger[to]) moveTo(ownerHand) +auto=@movedTo(mytgt|Graveyard) from(Battlefield):all(trigger[to]) moveTo(hand) text=Enchant creature -- Enchanted creature gets +1/+1. -- When enchanted creature dies, return that card to its owner's hand. mana={B} type=Enchantment @@ -24982,7 +24982,7 @@ subtype=Aura [card] name=Demonlord Belzenlok abilities=flying, trample -auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land;manacost<=3]|mylibrary) optionone choice name(Get Card) all(*[-land]|reveal) moveto(ownerHand) and!(damage:1 controller)! optiononeend optiontwo choice all(*|reveal) moveTo(exile) optiontwoend revealend +auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land;manacost<=3]|mylibrary) optionone choice name(Get Card) all(*[-land]|reveal) moveto(hand) and!(damage:1 controller)! optiononeend optiontwo choice all(*|reveal) moveTo(exile) optiontwoend revealend text=Flying, trample -- When Demonlord Belzenlok enters, exile cards from the top of your library until you exile a nonland card, then put that card into your hand. If the card's mana value is 4 or greater, repeat this process. Demonlord Belzenlok deals 1 damage to you for each card put into your hand this way. mana={4}{B}{B} type=Legendary Creature @@ -25071,7 +25071,7 @@ type=Instant name=Depart the Realm abilities=foretell target=*[-land]|battlefield -auto=moveto(ownerhand) +auto=moveto(hand) autohand=_FORETELL_ autoexile={U} restriction{compare(canforetellcast)~morethan~0,type(*[-land]|battlefield)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative) text=Return target nonland permanent to its owner's hand. -- Foretell {U} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) @@ -25160,7 +25160,7 @@ toughness=9 [card] name=Depths of Desire target=creature -auto=moveto(ownerhand) +auto=moveto(hand) auto=name(Create treasure) _TREASURE_ text=Return target creature to its owner's hand. Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color." mana={2}{U} @@ -25569,7 +25569,7 @@ type=Enchantment [card] name=Devastating Mastery other={2}{W}{W} name(Cast for less) -auto=if paid(alternative) then ability$!name(Return non-land permanent) name(Return non-land permanent) target(*[-land]|mybattlefield) moveto(ownerHand) and!( transforms((,newability[name(Return another non-land permanent) target(*[-land]|mybattlefield) moveto(ownerHand) and!( all(other *[-land]|mybattlefield) destroy )! ])) oneshot )! !$ opponent +auto=if paid(alternative) then ability$!name(Return non-land permanent) name(Return non-land permanent) target(*[-land]|mybattlefield) moveto(hand) and!( transforms((,newability[name(Return another non-land permanent) target(*[-land]|mybattlefield) moveto(hand) and!( all(other *[-land]|mybattlefield) destroy )! ])) oneshot )! !$ opponent auto=if paid(alternative) then all(*[-land]|mybattlefield) destroy auto=ifnot paid(alternative) then all(*[-land]|battlefield) destroy text=You may pay {2}{W}{W} rather than pay this spell's mana cost. -- If the {2}{W}{W} cost was paid, an opponent chooses up to two nonland permanents they control and returns them to their owner's hand. -- Destroy all nonland permanents. @@ -25782,7 +25782,7 @@ toughness=1 name=Diabolic Servitude auto=name(Return creature) target(creature|mygraveyard) moveTo(myBattlefield) and!( counter(0/0.1.DiabolicReturned) )! auto=@movedto(creature[counter{0/0.1.DiabolicReturned}]|graveyard) from(mybattlefield):name(Exile returned creature) all(trigger[to]) name(Exile returned creature) transforms((,newability[moveto(exile)])) oneshot -auto=@movedto(creature[counter{0/0.1.DiabolicReturned}]|graveyard) from(mybattlefield):name(Return to hand) all(this) name(Return to hand) moveto(ownerhand) +auto=@movedto(creature[counter{0/0.1.DiabolicReturned}]|graveyard) from(mybattlefield):name(Return to hand) all(this) name(Return to hand) moveto(hand) auto=@movedto(this|nonbattlezone) from(battlefield):name(Exile returned creatures) all(creature[counter{0/0.1.DiabolicReturned}]|myBattlefield) moveto(exile) text=When Diabolic Servitude enters, return target creature card from your graveyard to the battlefield. -- When the creature put onto the battlefield with Diabolic Servitude dies, exile it and return Diabolic Servitude to its ownerâ¿¿s hand. -- When Diabolic Servitude leaves the battlefield, exile the creature put onto the battlefield with Diabolic Servitude. mana={3}{B} @@ -25914,8 +25914,8 @@ toughness=1 [card] name=Dig Up other={1}{B}{B}{G} name(Cleave) -auto=if paid(alternative) then name(Search a card) name(Search a card) target(*|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=ifnot paid(alternative) then name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=if paid(alternative) then name(Search a card) name(Search a card) target(*|mylibrary) moveto(hand) and!( shuffle )! +auto=ifnot paid(alternative) then name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! text=Cleave {1}{B}{B}{G} (You may cast this spell for its cleave cost. If you do, remove the words in square brackets.) -- Search your library for a [basic land] card, [reveal it,] put it into your hand, then shuffle. mana={G} type=Sorcery @@ -26089,7 +26089,7 @@ toughness=1 [card] name=Dire Fleet Interloper abilities=menace -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=Menace -- When Dire Fleet Interloper enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={3}{B} @@ -26271,7 +26271,7 @@ name=Dirge Bat abilities=flash,flying,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -26349,15 +26349,15 @@ toughness=2 [/card] [card] name=Discerning Taste -aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerHand) and!( transforms((,newability[life:power:highest:creature[zpos<=4]:mylibrary controller],newability[all(*[zpos<=4]|mylibrary) moveto(mygraveyard)])) oneshot )! -auto=name(Look top 4 cards) reveal:4 optionone name(Get a Card) target(*|reveal) moveto(ownerHand) and!( life:power:highest:creature:reveal controller )! optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate target(*[zpos<=4]|mylibrary) moveto(hand) and!( transforms((,newability[life:power:highest:creature[zpos<=4]:mylibrary controller],newability[all(*[zpos<=4]|mylibrary) moveto(mygraveyard)])) oneshot )! +auto=name(Look top 4 cards) reveal:4 optionone name(Get a Card) target(*|reveal) moveto(hand) and!( life:power:highest:creature:reveal controller )! optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard. You gain life equal to the greatest power among creature cards put into your graveyard this way. mana={2}{B} type=Sorcery [/card] [card] name=Disciple of Deceit -auto=@untapped(this):may name(Discard a card) target(*[-land]|myhand) reject and!( transforms((,newability[name(Search another card) target(*[manacost=manacost]|mylibrary) moveto(ownerHand) and!( shuffle )!])) oneshot )! +auto=@untapped(this):may name(Discard a card) target(*[-land]|myhand) reject and!( transforms((,newability[name(Search another card) target(*[manacost=manacost]|mylibrary) moveto(hand) and!( shuffle )!])) oneshot )! text=Inspired - Whenever Disciple of Deceit becomes untapped, you may discard a nonland card. If you do, search your library for a card with the same mana value as that card, reveal it, put it into your hand, then shuffle. mana={U}{B} type=Creature @@ -26381,7 +26381,7 @@ toughness=3 [card] name=Disciple of the Sun abilities=lifelink -auto=name(Return permanent) target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(ownerHand) +auto=name(Return permanent) target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(hand) text=Lifelink -- When Disciple of the Sun enters, return target permanent card with mana value 3 or less from your graveyard to your hand. mana={4}{W} type=Creature @@ -26432,7 +26432,7 @@ type=Instant [card] name=Discover the Impossible aicode=activate transforms((,newability[if type(artifact[manacost<=2&zpos<=5]|mylibrary)~morethan~0 then target(artifact[manacost<=2&zpos<=5]|mylibrary) activate castcard(normal) and!( all(*[zpos<=5]|mylibrary) bottomoflibrary )!],newability[if type(artifact[manacost<=2&zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) bottomoflibrary])) oneshot -auto=name(Look top 5 cards) reveal:5 optionone name(Exile Card) target(*|reveal) moveto(myexile) and!( becomes(tobedis) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobedis|myexile) transforms((,newability[if cantargetcard(*[artifact&manacost<=2]|*) then choice name(Cast card) name(Cast card) activate castcard(normal)],newability[choice name(Put in hand) moveto(ownerHand)])) ueot afterrevealedend revealend +auto=name(Look top 5 cards) reveal:5 optionone name(Exile Card) target(*|reveal) moveto(myexile) and!( becomes(tobedis) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobedis|myexile) transforms((,newability[if cantargetcard(*[artifact&manacost<=2]|*) then choice name(Cast card) name(Cast card) activate castcard(normal)],newability[choice name(Put in hand) moveto(hand)])) ueot afterrevealedend revealend text=Look at the top five cards of your library. Exile one of them face down and put the rest on the bottom of your library in a random order. You may cast the exiled card without paying its mana cost if it's an instant spell with mana value 2 or less. If you don't, put that card into your hand. mana={2}{U} type=Instant @@ -26444,7 +26444,7 @@ other={3}{U}{B} name(Dispersal) restriction=can play sorcery aicode=activate transforms((,newability[surveil],newability[draw:1 controller])) oneshot auto=ifnot paid(alternative) then name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed all(*[zpos=1]|mylibrary) transforms((,newability[draw:1])) oneshot afterrevealedend revealend -auto=if paid(alternative) then ability$!name(return non-land permanent) name(return non-land permanent) moveto(ownerhand) notatarget(*[-land;manacost=convertedcost:highest:*:myBattlefield])!$ opponent +auto=if paid(alternative) then ability$!name(return non-land permanent) name(return non-land permanent) moveto(hand) notatarget(*[-land;manacost=convertedcost:highest:*:myBattlefield])!$ opponent auto=if paid(alternative) then ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ opponent text=Surveil 2, then draw a card. -- (To surveil 2, look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) // Each opponent returns a nonland permanent they control with the highest mana value among permanents they control to its owner's hand, then discards a card. mana={1}{UB} @@ -26454,7 +26454,7 @@ type=Sorcery name=Disinformation Campaign auto=draw:1 controller auto=ability$!name(Discard a card) notatarget(*|myhand) reject!$ opponent -auto=@surveiled(*|mybattlefield,mystack):all(this) moveto(ownerhand) +auto=@surveiled(*|mybattlefield,mystack):all(this) moveto(hand) text=When Disinformation Campaign enters, you draw a card and each opponent discards a card. -- Whenever you surveil, return Disinformation Campaign to its owner's hand. mana={1}{U}{B} type=Enchantment @@ -26493,7 +26493,7 @@ type=Instant [card] name=Displacer Beast auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot -auto={3}{U}:name(Return to hand) moveto(ownerhand) +auto={3}{U}:name(Return to hand) moveto(hand) text=When Displacer Beast enters, venture into the dungeon. (Enter the first room or advance to the next room.) -- Displacement-{3}{U}: Return Displacer Beast to its owner's hand. mana={2}{U} type=Creature @@ -26641,7 +26641,7 @@ toughness=1 [/card] [card] name=District Guide -auto=may notatarget(*[basic;gate]|mylibrary) moveto(ownerHand) +auto=may notatarget(*[basic;gate]|mylibrary) moveto(hand) text=When District Guide enters, you may search your library for a basic land card or Gate card, reveal it, put it into your hand, then shuffle. mana={2}{G} type=Creature @@ -26683,7 +26683,7 @@ toughness=5 name=Divest target=player aicode=activate reject notatarget(artifact,creature|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(artifact,creature|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(artifact,creature|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose an artifact or creature card from it. That player discards that card. mana={B} type=Sorcery @@ -26691,7 +26691,7 @@ type=Sorcery [card] name=Divide by Zero restriction=compare(type:*:battlefieldplustype:*:stackplusend)~morethan~0 -auto=if type(*[manacost>=1]|battlefield)~morethan~0 then choice name(Return permanent) name(Return permanent) target(*[manacost>=1]|battlefield) moveto(ownerhand) and!( ability$!name(Learn) _LEARN_!$ controller )! +auto=if type(*[manacost>=1]|battlefield)~morethan~0 then choice name(Return permanent) name(Return permanent) target(*[manacost>=1]|battlefield) moveto(hand) and!( ability$!name(Learn) _LEARN_!$ controller )! auto=if type(*|opponentstack)~morethan~0 then choice name(Return opponent spell) name(Return opponent spell) target(*|opponentstack) transforms((,newability[spellmover(hand)],newability[ability$!name(Learn) _LEARN_!$ opponent])) oneshot auto=if type(*|mystack)~morethan~1 then choice name(Return your spell) name(Return your spell) target(*|mystack) transforms((,newability[spellmover(hand)],newability[ability$!name(Learn) _LEARN_!$ controller])) oneshot text=Return target spell or permanent with mana value 1 or greater to its owner's hand. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.) @@ -26743,7 +26743,7 @@ type=Enchantment [/card] [card] name=Diviner's Lockbox -auto={1}{T}:ability$!chooseaname transforms((,newability[name(Look top card) if type(*[chosenname;zpos=1]|mylibrary)~equalto~0 then reveal:1 optionone name(Look top card) target(*|reveal) donothing optiononeend optiontwo all(*|reveal) placefromthetop(1) optiontwoend revealend],newability[if type(*[chosenname;zpos=1]|mylibrary)~morethan~0 then reveal:1 optionone name(Look top card) target(*|reveal) moveto(ownerHand) and!( draw:2 controller)! optiononeend afterrevealed sacrifice all(mysource) afterrevealedend revealend])) oneshot chooseend!$ controller asSorcery +auto={1}{T}:ability$!chooseaname transforms((,newability[name(Look top card) if type(*[chosenname;zpos=1]|mylibrary)~equalto~0 then reveal:1 optionone name(Look top card) target(*|reveal) donothing optiononeend optiontwo all(*|reveal) placefromthetop(1) optiontwoend revealend],newability[if type(*[chosenname;zpos=1]|mylibrary)~morethan~0 then reveal:1 optionone name(Look top card) target(*|reveal) moveto(hand) and!( draw:2 controller)! optiononeend afterrevealed sacrifice all(mysource) afterrevealedend revealend])) oneshot chooseend!$ controller asSorcery text={1}, {T}: Choose a card name, then reveal the top card of your library. If that card has the chosen name, sacrifice Diviner's Lockbox and draw three cards. Activate this ability only any time you could cast a sorcery. mana={4} type=Artifact @@ -26792,7 +26792,7 @@ type=Instant [card] name=Djeru, With Eyes Open abilities=vigilance -auto=target(planeswalker|mylibrary) moveto(ownerHand) +auto=target(planeswalker|mylibrary) moveto(hand) auto=@damaged(planeswalker):counter(0/0,1,Loyalty) all(trigger[to]) text=Vigilance -- When Djeru, With Eyes Open enters, you may search your library for a planeswalker card, reveal it, put it into your hand, then shuffle. -- If a source would deal damage to a planeswalker you control, prevent 1 of that damage. mana={3}{W}{W} @@ -26930,7 +26930,7 @@ toughness=1 [card] name=Dogged Detective auto=_SURVEIL2_ -autograveyard=@drawfoeof(player) restriction{compare(pdrewcount)~equalto~2}:moveTo(ownerHand) +autograveyard=@drawfoeof(player) restriction{compare(pdrewcount)~equalto~2}:moveTo(hand) text=When Dogged Detective enters, surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) -- Whenever an opponent draws their second card each turn, you may return Dogged Detective from your graveyard to your hand. mana={1}{B} type=Creature @@ -27013,7 +27013,7 @@ type=Sorcery [card] name=Domri's Nodorog abilities=trample -auto=may moveto(ownerHand) target(Domri^ City Smasher|myLibrary,myGraveyard) +auto=may moveto(hand) target(Domri^ City Smasher|myLibrary,myGraveyard) text=Trample -- When Domri's Nodorog enters, you may search your library and/or graveyard for a card named Domri, City Smasher, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{R}{G} type=Creature @@ -27141,11 +27141,11 @@ toughness=4 [card] name=Doomskar Warrior abilities=trample -aicode=activate transforms((,newability[if type(creature[zpos<=thatmuch]|myLibrary)~morethan~0 then target(creature[zpos<=thatmuch]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=thatmuch]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=thatmuch]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend -auto=@combatdamaged(battle|opponentbattlefield) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=thatmuch]|myLibrary)~morethan~0 then target(creature[zpos<=thatmuch]|myLibrary) moveto(hand) and!( all(other *[zpos<=thatmuch]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=thatmuch]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=@combatdamaged(battle|opponentbattlefield) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=choice name(Target this creature) all(this) counter(1/1) -auto=choice name(Target other creature) target(other creature) transforms((,newability[counter(1/1)],newability[@combatdamaged(battle|opponentbattlefield) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend],newability[@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend])) forever +auto=choice name(Target other creature) target(other creature) transforms((,newability[counter(1/1)],newability[@combatdamaged(battle|opponentbattlefield) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend],newability[@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(put in hand) target(*[land;creature]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend])) forever text=Backup 1 -- Trample -- Whenever this creature deals combat damage to a player or battle, look at that many cards from the top of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{G}{G} type=Creature @@ -27287,7 +27287,7 @@ toughness=5 name=Dovin's Acuity auto=life:2 controller auto=draw:1 controller -auto=@movedto(*[instant]|mystack) restriction{assorcery}:may moveto(ownerhand) all(this) +auto=@movedto(*[instant]|mystack) restriction{assorcery}:may moveto(hand) all(this) text=When Dovin's Acuity enters, you gain 2 life and draw a card. -- Whenever you cast an instant spell during your main phase, you may return Dovin's Acuity to its owner's hand. mana={1}{W}{U} type=Enchantment @@ -27306,7 +27306,7 @@ toughness=3 [card] name=Dovin's Dismissal auto=may target(creature[tapped]) moveto(ownerlibrary) -auto=ability$!name(Choose one) choice name(Don't search) donothing _ choice name(Search library) moveto(ownerHand) target(Dovin^ Architect of Law|mylibrary) _ choice name(Search graveyard) moveto(ownerHand) target(Dovin^ Architect of Law|mygraveyard)!$ controller +auto=ability$!name(Choose one) choice name(Don't search) donothing _ choice name(Search library) moveto(hand) target(Dovin^ Architect of Law|mylibrary) _ choice name(Search graveyard) moveto(hand) target(Dovin^ Architect of Law|mygraveyard)!$ controller text=Put up to one target tapped creature on top of its owner's library. You may search your library and/or graveyard for a card named Dovin, Architect of Law, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={2}{W}{U} type=Instant @@ -27326,9 +27326,9 @@ abilities=hasnokicker other={2}{G} name(Dirty) kicker={2}{G} name(Fuse) otherrestriction=type(*|mygraveyard)~morethan~0 -auto=if paid(alternative) then ability$!name(Return to hand) name(Return to hand) moveto(ownerHand) target(*|mygraveyard)!$ controller +auto=if paid(alternative) then ability$!name(Return to hand) name(Return to hand) moveto(hand) target(*|mygraveyard)!$ controller auto=ifnot paid(alternative) then target(player) ability$!name(Discard 2 cards) name(Discard 2 cards) target(<2>*|myhand) reject!$ targetedplayer -auto=if paid(kicker) then ability$!name(Return to hand) name(Return to hand) moveto(ownerHand) target(*|mygraveyard)!$ controller +auto=if paid(kicker) then ability$!name(Return to hand) name(Return to hand) moveto(hand) target(*|mygraveyard)!$ controller text=Target player discards two cards. // Return target card from your graveyard to your hand. -- Fuse (You may cast one or both halves of this card from your hand.) mana={3}{B} type=Sorcery @@ -27368,7 +27368,7 @@ auto=teach(creature) flying auto=teach(creature) haste auto=teach(creature) {1}:1/0 ueot auto=transforms((Dragon)) -auto=@movedto(graveyard) from(mytgt|Battlefield):all(this) moveTo(ownerhand) +auto=@movedto(graveyard) from(mytgt|Battlefield):all(this) moveTo(hand) text=Enchant creature -- Enchanted creature gets +1/+1 and has flying, haste, and "{1}: This creature gets +1/+0 until end of turn." It's a Dragon in addition to its other types. -- When enchanted creature dies, return Draconic Destiny to its owner's hand. mana={1}{R}{R} type=Enchantment @@ -27410,7 +27410,7 @@ type=Instant [/card] [card] name=Draconic Muralists -auto=_DIES_may target(Dragon|mylibrary) moveto(ownerHand) +auto=_DIES_may target(Dragon|mylibrary) moveto(hand) text=When Draconic Muralists dies, you may search your library for a Dragon card, reveal it, put it into your hand, then shuffle. mana={3}{G} type=Creature @@ -27420,7 +27420,7 @@ toughness=3 [/card] [card] name=Drafna, Founder of Lat-Nam -auto={1}{U}:target(artifact|myBattlefield) moveto(ownerhand) +auto={1}{U}:target(artifact|myBattlefield) moveto(hand) auto={3}{T}:transforms((,newability[clone])) oneshot target(artifact|mystack) text={1}{U}: Return target artifact you control to its owner's hand. -- {3}, {T}: Copy target artifact spell you control. (The copy becomes a token.) mana={1}{U} @@ -27488,7 +27488,7 @@ toughness=1 name=Dragon Throne of Tarkir auto={3}:equip auto=teach(creature) defender -auto=teach(creature) {2}{T}:lord(other creature|myBattlefield) dynamicability ueot +auto=teach(creature) {2}{T}:all(other creature|myBattlefield) transforms((,newability[dynamicability],trample)) text=Equipped creature has defender and "{2}, {T}: Other creatures you control gain trample and get +X/+X until end of turn, where X is this creature's power." -- Equip {3} mana={4} type=Legendary Artifact @@ -27725,15 +27725,11 @@ toughness=2 name=Dragonshift abilities=overload target=creature|mybattlefield -auto=ueot loseabilities -auto=flying ueot -auto=ueot transforms((,setpower=4,settoughness=4)) -auto=ueot transforms((Dragon,blue,red)) +auto=loseabilities ueot +auto=transforms((Dragon,setpower=4,settoughness=4,flying,blue,red)) ueot other={3}{U}{U}{R}{R} name(Overload) -auto=overload all(creature|myBattlefield) ueot transforms((,setpower=4,settoughness=4)) -auto=overload all(creature|myBattlefield) ueot transforms((Dragon,blue,red)) -auto=overload all(creature|myBattlefield) ueot loseabilities -auto=overload all(creature|myBattlefield) flying ueot +auto=overload all(creature|myBattlefield) loseabilities ueot +auto=overload all(creature|myBattlefield) transforms((Dragon,setpower=4,settoughness=4,flying,blue,red)) ueot text=Until end of turn, target creature you control becomes a 4/4 blue and red Dragon, loses all abilities, and gains flying. -- Overload {3}{U}{U}{R}{R} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") mana={1}{U}{R} type=Instant @@ -27907,10 +27903,10 @@ toughness=4 [card] name=Draugr Recruiter abilities=boast -auto={3}{B} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(ownerHand) limit:hasabilitytwoboastplus1plusend -auto={2}{B} restriction{didattack,compare(hascntbstreduce)~equalto~1}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(ownerHand) limit:hasabilitytwoboastplus1plusend -auto={1}{B} restriction{didattack,compare(hascntbstreduce)~equalto~2}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(ownerHand) limit:hasabilitytwoboastplus1plusend -auto={B} restriction{didattack,compare(hascntbstreduce)~morethan~2}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(ownerHand) limit:hasabilitytwoboastplus1plusend +auto={3}{B} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(hand) limit:hasabilitytwoboastplus1plusend +auto={2}{B} restriction{didattack,compare(hascntbstreduce)~equalto~1}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(hand) limit:hasabilitytwoboastplus1plusend +auto={1}{B} restriction{didattack,compare(hascntbstreduce)~equalto~2}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(hand) limit:hasabilitytwoboastplus1plusend +auto={B} restriction{didattack,compare(hascntbstreduce)~morethan~2}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(hand) limit:hasabilitytwoboastplus1plusend text=Boast-{3}{B}: Return target creature card from your graveyard to your hand. (Activate this ability only if this creature attacked this turn and only once each turn.) mana={3}{B} type=Creature @@ -27942,8 +27938,8 @@ subtype=Equipment [/card] [card] name=Drawn from Dreams -aicode=activate target(*[zpos<=7]|mylibrary) moveto(ownerhand) -auto=name(look) reveal:7 optionone name(Get two card) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=7]|mylibrary) moveto(hand) +auto=name(look) reveal:7 optionone name(Get two card) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top seven cards of your library. Put two of them into your hand and the rest on the bottom of your library in a random order. mana={2}{U}{U} type=Sorcery @@ -28199,8 +28195,8 @@ toughness=3 [card] name=Dream Eater abilities=flash,flying -aicode=activate transforms((,newability[surveil],newability[may name(Return non-land permanent) target(*[-land]|opponentBattlefield) moveTo(ownerhand)],newability[all(*[zpos<=psurveiloffsetplus4plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot -auto=name(Surveil 4) reveal:psurveiloffsetplus4plusend optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed all(this) transforms((,newability[may name(Return non-land permanent) target(*[-land]|opponentBattlefield) moveTo(ownerhand)],newability[surveil])) oneshot afterrevealedend revealend +aicode=activate transforms((,newability[surveil],newability[may name(Return non-land permanent) target(*[-land]|opponentBattlefield) moveTo(hand)],newability[all(*[zpos<=psurveiloffsetplus4plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot +auto=name(Surveil 4) reveal:psurveiloffsetplus4plusend optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed all(this) transforms((,newability[may name(Return non-land permanent) target(*[-land]|opponentBattlefield) moveTo(hand)],newability[surveil])) oneshot afterrevealedend revealend text=Flash -- Flying -- When Dream Eater enters, surveil 4. When you do, you may return target nonland permanent an opponent controls to its owner's hand. (To surveil 4, look at the top four cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) mana={4}{U}{U} type=Creature @@ -28368,7 +28364,7 @@ name=Dreamtail Heron abilities=flying,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -28579,7 +28575,7 @@ toughness=2 [card] name=Dross Skullbomb auto={1}{S}:draw:1 -auto={2}{B}{S}:target(creature|mygraveyard) moveto(ownerhand) && draw:1 controller asSorcery +auto={2}{B}{S}:target(creature|mygraveyard) moveto(hand) && draw:1 controller asSorcery text={1}, Sacrifice Dross Skullbomb: Draw a card. -- {2}{B}, Sacrifice Dross Skullbomb: Return target creature card from your graveyard to your hand. Draw a card. Activate only as a sorcery. mana={1} type=Artifact @@ -28640,7 +28636,7 @@ type=Sorcery [card] name=Drown in Shapelessness target=creature -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return target creature to its owner's hand. mana={1}{U} type=Instant @@ -28742,8 +28738,8 @@ toughness=3 [card] name=Druid of the Emerald Grove auto=choice name(Don't search any land) donothing -auto=if type(land[basic]|mylibrary)~morethan~0 then choice name(Search 1 basic land) name(Search 1 basic land) target(land[basic]|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[name(Roll a d20) rolld20 20 winability moveto(mybattlefield) and!( tap(noevent) )! winabilityend loseability if compare(lastrollresult)~lessthan~10 then donothing else moveto(mybattlefield) and!( tap(noevent) )! loseabilityend rolld20end])) oneshot )! -auto=if type(land[basic]|mylibrary)~morethan~1 then choice name(Search 2 basic lands) name(Search 2 basic lands) target(<2>land[basic]|mylibrary) moveto(ownerHand) and!( all(*[zpos=1]|myhand) transforms((,newability[shuffle],newability[name(Roll a d20) rolld20 20 winability target(<2>land[basic;fresh]|myhand) moveto(mybattlefield) and!( tap(noevent) )! winabilityend loseability if compare(lastrollresult)~lessthan~10 then donothing else target(land[fresh]|myhand) moveto(mybattlefield) and!( tap(noevent) )! loseabilityend rolld20end])) oneshot )! +auto=if type(land[basic]|mylibrary)~morethan~0 then choice name(Search 1 basic land) name(Search 1 basic land) target(land[basic]|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[name(Roll a d20) rolld20 20 winability moveto(mybattlefield) and!( tap(noevent) )! winabilityend loseability if compare(lastrollresult)~lessthan~10 then donothing else moveto(mybattlefield) and!( tap(noevent) )! loseabilityend rolld20end])) oneshot )! +auto=if type(land[basic]|mylibrary)~morethan~1 then choice name(Search 2 basic lands) name(Search 2 basic lands) target(<2>land[basic]|mylibrary) moveto(hand) and!( all(*[zpos=1]|myhand) transforms((,newability[shuffle],newability[name(Roll a d20) rolld20 20 winability target(<2>land[basic;fresh]|myhand) moveto(mybattlefield) and!( tap(noevent) )! winabilityend loseability if compare(lastrollresult)~lessthan~10 then donothing else target(land[fresh]|myhand) moveto(mybattlefield) and!( tap(noevent) )! loseabilityend rolld20end])) oneshot )! text=When Druid of the Emerald Grove enters, search your library for up to two basic land cards and reveal them, then roll a d20. -- 1-9 | Put those cards into your hand, then shuffle. -- 10-19 | Put one of those cards onto the battlefield tapped and the other into your hand, then shuffle. -- 20+ | Put those cards onto the battlefield tapped, then shuffle. mana={3}{G} type=Creature @@ -28763,10 +28759,10 @@ toughness=2 [/card] [card] name=Druidic Ritual -aicode=activate transforms((,newability[if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then target(creature[zpos<=3]|mylibrary) moveto(ownerHand) and!( transforms((,newability[target(land[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(other *[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot )!],newability[if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~equalto~0 then target(creature[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(other *[zpos<=3]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=3]|mylibrary)~equalto~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then target(land[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(other *[zpos<=3]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=3]|mylibrary)~equalto~0 then if type(land[zpos<=3]|mylibrary)~equalto~0 then all(*[zpos<=3]|mylibrary) moveto(mygraveyard)])) ueot -auto=if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then name(Mill 3 cards) name(Mill 3 cards) name(Mill 3 cards) reveal:3 optionone name(Put land in hand) target(land|reveal) moveto(ownerHand) optiononeend optiontwo choice name(Put creature in hand) target(creature|reveal) moveto(ownerHand) and!( all(other *|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~equalto~0 then name(Mill 3 cards) name(Mill 3 cards) name(Mill 3 cards) reveal:3 optionone name(Put creature in hand) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo choice name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto=if type(creature[zpos<=3]|mylibrary)~equalto~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then name(Mill 3 cards) name(Mill 3 cards) name(Mill 3 cards) reveal:3 optionone name(Put land in hand) target(land|reveal) moveto(ownerHand) optiononeend optiontwo choice name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then target(creature[zpos<=3]|mylibrary) moveto(hand) and!( transforms((,newability[target(land[zpos<=3]|mylibrary) moveto(hand) and!( all(other *[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot )!],newability[if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~equalto~0 then target(creature[zpos<=3]|mylibrary) moveto(hand) and!( all(other *[zpos<=3]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=3]|mylibrary)~equalto~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then target(land[zpos<=3]|mylibrary) moveto(hand) and!( all(other *[zpos<=3]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=3]|mylibrary)~equalto~0 then if type(land[zpos<=3]|mylibrary)~equalto~0 then all(*[zpos<=3]|mylibrary) moveto(mygraveyard)])) ueot +auto=if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then name(Mill 3 cards) name(Mill 3 cards) name(Mill 3 cards) reveal:3 optionone name(Put land in hand) target(land|reveal) moveto(hand) optiononeend optiontwo choice name(Put creature in hand) target(creature|reveal) moveto(hand) and!( all(other *|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=if type(creature[zpos<=3]|mylibrary)~morethan~0 then if type(land[zpos<=3]|mylibrary)~equalto~0 then name(Mill 3 cards) name(Mill 3 cards) name(Mill 3 cards) reveal:3 optionone name(Put creature in hand) target(creature|reveal) moveto(hand) optiononeend optiontwo choice name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=if type(creature[zpos<=3]|mylibrary)~equalto~0 then if type(land[zpos<=3]|mylibrary)~morethan~0 then name(Mill 3 cards) name(Mill 3 cards) name(Mill 3 cards) reveal:3 optionone name(Put land in hand) target(land|reveal) moveto(hand) optiononeend optiontwo choice name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto=if type(creature[zpos<=3]|mylibrary)~equalto~0 then if type(land[zpos<=3]|mylibrary)~equalto~0 then name(Mill 3 cards) name(Mill 3 cards) name(Mill 3 cards) reveal:3 optionone name(Put graveyard) target(<3>land|reveal) moveto(mygraveyard) optiononeend optiontwo choice name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=You may mill three cards. Then return up to one creature card and up to one land card from your graveyard to your hand. (To mill a card, put the top card of your library into your graveyard.) mana={2}{G} @@ -28808,7 +28804,7 @@ toughness=4 name=Dryad's Revival flashback={4}{G} target=*|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target card from your graveyard to your hand. -- Flashback {4}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{G} type=Sorcery @@ -28980,7 +28976,7 @@ subtype=Desert [card] name=Dungeon Crawler auto=tap(noevent) -autograveyard=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):may name(Return to hand) name(Return to hand) moveto(ownerHand) +autograveyard=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):may name(Return to hand) name(Return to hand) moveto(hand) text=Dungeon Crawler enters tapped. -- Whenever you complete a dungeon, you may return Dungeon Crawler from your graveyard to your hand. mana={B} type=Creature @@ -29015,7 +29011,7 @@ type=Artifact [card] name=Dungeon of the Mad Mage restriction=never -aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( transforms((,newability[zerocast forever],newability[draw:2 controller])) forever )! +aicode=activate target(*[zpos<=3]|mylibrary) moveto(hand) and!( transforms((,newability[zerocast forever],newability[draw:2 controller])) forever )! autocommandzone=transforms((,newability[shroud],indestructible)) forever autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Yawning Portal) name(Yawning Portal) life:1 controller!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Dungeon Level) name(Dungeon Level) _SCRY1_!$ controller @@ -29024,7 +29020,7 @@ autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycomm autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~5}:ability$!name(Runestone Caverns or Muiral's Graveyard) transforms((,newability[choice name(Muiral's Graveyard) token(Skeleton Mad)*twicetype:*[twodngtrg]:mybattlefieldplus1plusend],newability[choice name(Runestone Caverns) all(*[zpos<=twicecardcountabiltwodngtrgplus1plusend]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile forever])) forever )!])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~6}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Deep Mines) name(Deep Mines) _SCRY3_!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~7}:choice name(Dungeon completed) all(Dungeon of the Mad Mage|mycommandzone) completedungeon:1 controller -autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~7}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Mad Wizard's Lair) name(Mad Wizard's Lair) reveal:3 optionone name(Choose a card) target(*|reveal) moveto(mylibrary) and!( transforms((,newability[zerocast forever])) forever )! optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~7}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Mad Wizard's Lair) name(Mad Wizard's Lair) reveal:3 optionone name(Choose a card) target(*|reveal) moveto(mylibrary) and!( transforms((,newability[zerocast forever])) forever )! optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend!$ controller text=Yawning Portal - You gain 1 life. -- Dungeon Level - Scry 1. -- Goblin Bazaar - Create a Treasure token. -- Twisted Caverns - Target creature can't attack until your next turn. -- Lost Level - Scry 2. -- Runestone Caverns - Exile the top two cards of your library. You may play them. -- Muiral's Graveyard - Create two 1/1 black Skeleton creature tokens. -- Deep Mines - Scry 3. -- Mad Wizard's Lair - Draw three cards and reveal them. You may cast one of them without paying its mana cost. type=Dungeon [/card] @@ -29061,7 +29057,7 @@ toughness=4 [/card] [card] name=Durable Coilbug -autograveyard={4}{B}:moveto(ownerHand) +autograveyard={4}{B}:moveto(hand) text={4}{B}: Return Durable Coilbug from your graveyard to your hand. mana={1}{B} type=Creature @@ -29086,7 +29082,7 @@ name=Dusk // Dawn abilities=hasaftermath flashback={3}{W}{W} name(Dawn) auto=ifnot paid(flashback) then all(creature[power>=3]) destroy -auto=if paid(flashback) then all(creature[power<=2]|mygraveyard) moveto(ownerHand) +auto=if paid(flashback) then all(creature[power<=2]|mygraveyard) moveto(hand) text=Destroy all creatures with power 3 or greater. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Return all creature cards with power 2 or less from your graveyard to your hand. mana={2}{W}{W} type=Sorcery @@ -29192,7 +29188,7 @@ toughness=2 name=Duskmantle Seer abilities=flying aicode=activate target(*[zpos=1]|opponentlibrary) moveto(opponenthand) and!( transforms((,newability[life:-manacost controller])) oneshot )! -auto=@each my upkeep:name(Reveal my top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[life:-manacost controller])) oneshot )! +auto=@each my upkeep:name(Reveal my top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[life:-manacost controller])) oneshot )! auto=@each my upkeep:name(Reveal opponent top card) reveal:1 revealzone(opponentlibrary) optionone name(look) target(*|reveal) moveto(opponenthand) and!( transforms((,newability[life:-manacost controller])) oneshot )! optiononeend revealend text=Flying -- At the beginning of your upkeep, each player reveals the top card of their library, loses life equal to that card's mana value, then puts it into their hand. mana={2}{U}{B} @@ -29248,7 +29244,7 @@ type=Instant [card] name=Dutiful Griffin abilities=flying -autograveyard={2}{W}{S(enchantment|myBattlefield)}{S(enchantment|myBattlefield)} restriction{type(enchantment|myBattlefield)~morethan~1}:moveto(ownerHand) +autograveyard={2}{W}{S(enchantment|myBattlefield)}{S(enchantment|myBattlefield)} restriction{type(enchantment|myBattlefield)~morethan~1}:moveto(hand) text=Flying -- {2}{W}, Sacrifice two enchantments: Return Dutiful Griffin from your graveyard to your hand. mana={3}{W}{W} type=Creature @@ -29632,7 +29628,7 @@ toughness=2 [card] name=Eagles of the North abilities=flying -autohand={1}{cycle}:name(Search plains) target(plains|mylibrary) moveto(ownerHand) and!( shuffle )! +autohand={1}{cycle}:name(Search plains) target(plains|mylibrary) moveto(hand) and!( shuffle )! auto=all(creature|myBattlefield) transforms((,newability[1/0],first strike)) ueot text=Flying -- When Eagles of the North enters, creatures you control get +1/+0 and gain first strike until end of turn. -- Plainscycling {1} ({1}, Discard this card: Search your library for a Plains card, reveal it, put it into your hand, then shuffle.) mana={5}{W} @@ -29703,7 +29699,7 @@ anyzone=foreach(dragon[manacost=17]|mybattlefield) changecost(colorless:-17) for anyzone=foreach(dragon[manacost=18]|mybattlefield) changecost(colorless:-18) forcedalive anyzone=foreach(dragon[manacost=19]|mybattlefield) changecost(colorless:-19) forcedalive anyzone=foreach(dragon[manacost>=20]|mybattlefield) changecost(colorless:-20) forcedalive -autograveyard={2}{G}{S(land|myBattlefield)}:name(Return Earthquake Dragon) moveto(ownerHand) all(this) +autograveyard={2}{G}{S(land|myBattlefield)}:name(Return Earthquake Dragon) moveto(hand) all(this) text=This spell costs {X} less to cast, where X is the total mana value of Dragons you control. -- Flying, trample -- {2}{G}, Sacrifice a land: Return Earthquake Dragon from your graveyard to your hand. mana={14}{G} type=Creature @@ -29884,7 +29880,7 @@ toughness=5 [/card] [card] name=Eccentric Farmer -auto=deplete:3 controller && transforms((,newability[may name(Return a land) target(land|mygraveyard) moveto(ownerHand)])) oneshot +auto=deplete:3 controller && transforms((,newability[may name(Return a land) target(land|mygraveyard) moveto(hand)])) oneshot text=When Eccentric Farmer enters, mill three cards, then you may return a land card from your graveyard to your hand. (To mill a card, put the top card of your library into your graveyard.) type=Creature subtype=Human Peasant @@ -29972,8 +29968,8 @@ type=Sorcery [card] name=Echoing Return target=creature|mygraveyard -auto=moveto(ownerHand) -auto=all(creature[share!name!]|mygraveyard) moveto(ownerHand) +auto=moveto(hand) +auto=all(creature[share!name!]|mygraveyard) moveto(hand) text=Return target creature card and all other cards with the same name as that card from your graveyard to your hand. mana={B} type=Sorcery @@ -29995,7 +29991,7 @@ type=Sorcery [/card] [card] name=Ecologist's Terrarium -auto=may target(land[basic]|mylibrary) moveto(ownerHand) +auto=may target(land[basic]|mylibrary) moveto(hand) auto={2}{T}{S}:counter(1/1) target(creature) asSorcery text=When Ecologist's Terrarium enters, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle. -- {2}, {T}, Sacrifice Ecologist's Terrarium: Put a +1/+1 counter on target creature. Activate only as a sorcery. mana={2} @@ -30111,7 +30107,7 @@ type=Instant [card] name=Eerie Soultender auto=deplete:3 -autograveyard={4}{B}{E}:other target(creature|mygraveyard) moveto(ownerhand) +autograveyard={4}{B}{E}:other target(creature|mygraveyard) moveto(hand) text=When Eerie Soultender enters, mill three cards. (To mill a card, put the top card of your library into your graveyard.) -- {4}{B}, Exile Eerie Soultender from your graveyard: Return another target creature card from your graveyard to your hand. mana={2}{B} type=Creature @@ -30300,7 +30296,7 @@ toughness=1 [/card] [card] name=Elderfang Ritualist -auto=_DIES_target(other *[elf]|mygraveyard) moveto(ownerHand) +auto=_DIES_target(other *[elf]|mygraveyard) moveto(hand) text=When Elderfang Ritualist dies, return another target Elf card from your graveyard to your hand. mana={2}{B} type=Creature @@ -30357,7 +30353,7 @@ toughness=1 [card] name=Eldrazi Ravager auto=_ATTACKING_name(Annihilate) ability$!name(sacrifice a permanent) notatarget(<1>*|mybattlefield) sacrifice!$ opponent -autograveyard={S(Eldrazi|mybattlefield)}{S(Eldrazi|mybattlefield)}:moveto(ownerHand) +autograveyard={S(Eldrazi|mybattlefield)}{S(Eldrazi|mybattlefield)}:moveto(hand) autohand=__CYCLING__({2}) text=Annihilator 1 (Whenever this creature attacks, defending player sacrifices a permanent.) -- Sacrifice two Eldrazi: Return Eldrazi Ravager from your graveyard to your hand. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={5}{C} @@ -30761,7 +30757,7 @@ type=Artifact [card] name=Ellyn Harbreeze, Busybody abilities=backgroundpartner -auto={T}:name(Look top X cards) reveal:type:*[token;fresh]:mybattlefield optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +auto={T}:name(Look top X cards) reveal:type:*[token;fresh]:mybattlefield optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend text={T}: Look at the top X cards of your library, where X is the number of tokens you created this turn. Put one of those cards into your hand and the rest on the bottom of your library in a random order. -- Choose a Background (You can have a Background as a second commander.) mana={3}{W} type=Legendary Creature @@ -30840,7 +30836,7 @@ subtype=Saga [/card] [card] name=Elspeth's Devotee -auto=may moveto(ownerHand) target(Elspeth^ Undaunted Hero|mylibrary,mygraveyard) +auto=may moveto(hand) target(Elspeth^ Undaunted Hero|mylibrary,mygraveyard) text=When Elspeth's Devotee enters, you may search your library and/or graveyard for a card named Elspeth, Undaunted Hero, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={2}{W}{W} type=Creature @@ -30854,7 +30850,7 @@ aicode=activate reject notatarget(*[-creature;-land]|targetedpersonshand) auto=destroy target(creature[power<=2]) auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature;-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature;-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveTo(exile) all(*|opponentGraveyard) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=I - Destroy target creature an opponent controls with power 2 or less. -- II - Target opponent reveals their hand. You choose a noncreature, nonland card from it. That player discards that card. -- III - Exile target opponent's graveyard. @@ -30997,7 +30993,7 @@ toughness=* [card] name=Elvish Mariner auto=_ATTACKING_ _SCRY1_ -auto=@scryed(*|myzones):may name(Tap nonland permanents) target(*|battlefield) tap +auto=@scryed(*|myzones):may transforms((,newability[name(tap nonland permanent) target(*[-land]|battlefield) tap])) oneshot text=Whenever Elvish Mariner attacks, scry 1. -- Whenever you scry, tap up to X target nonland permanents, where X is the number of cards looked at while scrying this way. mana={2}{U} type=Creature @@ -31156,8 +31152,9 @@ toughness=4 [card] name=Embodiment of Flame backside=Flame Channeler -auto=@damaged(this) from(*|myzones):name(Put a flame counter) counter(0/0.1.Flame) -auto={1}{C(0/0,-1,Flame)}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )! +auto=@damaged(*) from(*|mystack):name(Put a flame counter) counter(0/0.1.Flame) +auto=@damaged(player) from(*|mystack):name(Put a flame counter) counter(0/0.1.Flame) +auto={1}{C(0/0,-1,Flame)}:_IMPULSE_DRAW_ text=Whenever a spell you control deals damage, put a flame counter on Embodiment of Flame. -- {1}, Remove a flame counter from Embodiment of Flame: Exile the top card of your library. You may play that card this turn. // Flame Channeler type=Creature subtype=Elemental Wizard @@ -31231,7 +31228,7 @@ type=Instant [card] name=Emergency Weld target=creature,artifact|mygraveyard -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=create(Soldier:artifact creature Soldier:1/1) text=Return target artifact or creature card from your graveyard to your hand. Create a 1/1 colorless Soldier artifact creature token. mana={1}{B} @@ -31305,7 +31302,7 @@ toughness=4 [card] name=Emissary of Sunrise abilities=first strike -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=First strike -- When Emissary of Sunrise enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={2}{W} @@ -31348,7 +31345,7 @@ toughness=3 [/card] [card] name=Emperor's Vanguard -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=@combatdamaged(player) from(this):_EXPLORES_ text=Whenever Emperor's Vanguard deals combat damage to a player, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={3}{G} @@ -31514,8 +31511,8 @@ toughness=7 [/card] [card] name=Endbringer's Revel -auto={4}:moveto(ownerhand) target(creature|graveyard) -auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 4) pay[[{4}]] name(Pay 4) notatarget(creature|graveyard) moveto(ownerhand)?donothing!$ opponent])) forever +auto={4}:moveto(hand) target(creature|graveyard) +auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 4) pay[[{4}]] name(Pay 4) notatarget(creature|graveyard) moveto(hand)?donothing!$ opponent])) forever text={4}: Return target creature card from a graveyard to its owner's hand. Any player may activate this ability but only any time they could cast a sorcery. mana={2}{B} type=Enchantment @@ -31530,7 +31527,7 @@ type=Artifact [card] name=Endless Evil target=creature|myBattlefield -auto=teach(creature[horror]) transforms((,newability[@movedto(this|graveyard) from(myBattlefield):name(Return to hand) target(Endless Evil) moveTo(ownerhand)])) +auto=teach(creature[horror]) transforms((,newability[@movedto(this|graveyard) from(myBattlefield):name(Return to hand) target(Endless Evil) moveTo(hand)])) auto=@each my upkeep:name(Clone enchanted creature) clone(mytgt) and!( transforms((,setpower=1,settoughness=1)) forever )! text=Enchant creature you control -- At the beginning of your upkeep, create a token that's a copy of enchanted creature, except the token is 1/1. -- When enchanted creature dies, if that creature was a Horror, return Endless Evil to its owner's hand. mana={2}{U} @@ -31602,7 +31599,7 @@ toughness=1 [card] name=Enduring Renewal auto=replacedraw if type(creature[zpos=1]|mylibrary)~morethan~0 then moveto(ownergraveyard) all(*[zpos=1]|mylibrary) else draw:1 controller -auto=@movedTo(creature|mygraveyard) from(battlefield):all(trigger[to]) moveto(ownerHand) +auto=@movedTo(creature|mygraveyard) from(battlefield):all(trigger[to]) moveto(hand) text=Play with your hand revealed. -- If you would draw a card, reveal the top card of your library instead. If it's a creature card, put it into your graveyard. Otherwise, draw a card. -- Whenever a creature is put into your graveyard from the battlefield, return it to your hand. mana={2}{W}{W} type=Enchantment @@ -31696,7 +31693,7 @@ name=Enigma Thief abilities=flying other={3}{U} name(Prowl) otherrestriction=prowl -auto=may moveTo(ownerhand) target(*[-land]|opponentbattlefield) +auto=may moveTo(hand) target(*[-land]|opponentbattlefield) text=Prowl {3}{U} (You may cast this spell for its prowl cost if you dealt combat damage to a player this turn with a Sphinx or Rogue.) -- Flying -- When Enigma Thief enters, for each opponent, return up to one target nonland permanent that player controls to its owner's hand. mana={5}{U}{U} type=Creature @@ -31821,8 +31818,8 @@ type=Sorcery [card] name=Enter the Unknown target=creature|mybattlefield -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot -auto=choice name(Target creature you control explores) name(Target creature you control explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(ownerHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot +auto=choice name(Target creature you control explores) name(Target creature you control explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(hand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend auto=maxPlay(land)+1 text=Target creature you control explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on the creature, then put the card back or put it into your graveyard.) -- You may play an additional land this turn. mana={G} @@ -31950,7 +31947,7 @@ type=Sorcery [card] name=Environmental Sciences auto=life:2 controller -auto=name(Search land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search land) target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! text=Search your library for a basic land card, reveal it, put it into your hand, then shuffle. You gain 2 life. mana={2} type=Sorcery @@ -32062,10 +32059,10 @@ name=Ephara's Dispersal other={U} name(Target attacking creature) restriction=type(creature|battlefield)~morethan~0 otherrestriction=type(creature[attacking]|battlefield)~morethan~0 -auto=if paid(alternative) then if type(creature[attacking]|opponentbattlefield)~morethan~0 then choice name(Return opponent's creature) name(Return opponent's creature) name(Return opponent's creature) target(creature[attacking]|opponentbattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot -auto=if paid(alternative) then if type(creature[attacking]|mybattlefield)~morethan~0 then choice name(Return your creature) name(Return your creature) name(Return your creature) target(creature[attacking]|mybattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ controller])) oneshot -auto=ifnot paid(alternative) then if type(creature|opponentbattlefield)~morethan~0 then choice name(Return opponent's creature) name(Return opponent's creature) name(Return opponent's creature) target(creature|opponentbattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot -auto=ifnot paid(alternative) then if type(creature|mybattlefield)~morethan~0 then choice name(Return your creature) name(Return your creature) name(Return your creature) target(creature|mybattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ controller])) oneshot +auto=if paid(alternative) then if type(creature[attacking]|opponentbattlefield)~morethan~0 then choice name(Return opponent's creature) name(Return opponent's creature) name(Return opponent's creature) target(creature[attacking]|opponentbattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot +auto=if paid(alternative) then if type(creature[attacking]|mybattlefield)~morethan~0 then choice name(Return your creature) name(Return your creature) name(Return your creature) target(creature[attacking]|mybattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ controller])) oneshot +auto=ifnot paid(alternative) then if type(creature|opponentbattlefield)~morethan~0 then choice name(Return opponent's creature) name(Return opponent's creature) name(Return opponent's creature) target(creature|opponentbattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot +auto=ifnot paid(alternative) then if type(creature|mybattlefield)~morethan~0 then choice name(Return your creature) name(Return your creature) name(Return your creature) target(creature|mybattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ controller])) oneshot text=This spell costs {2} less to cast if it targets an attacking creature. -- Return target creature to its owner's hand. Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) mana={2}{U} type=Instant @@ -32159,9 +32156,9 @@ type=Instant [card] name=Erebos's Titan auto=restriction{type(creature|opponentBattlefield)~lessthan~1}:indestructible -autograveyard=@movedTo(creature|opponentexile) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveto(ownerHand))! !$ controller -autograveyard=@movedTo(creature|opponentBattlefield) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveto(ownerHand))! !$ controller -autograveyard=@movedTo(creature|opponenthand) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveto(ownerHand))! !$ controller +autograveyard=@movedTo(creature|opponentexile) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveto(hand))! !$ controller +autograveyard=@movedTo(creature|opponentBattlefield) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveto(hand))! !$ controller +autograveyard=@movedTo(creature|opponenthand) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveto(hand))! !$ controller text=As long as your opponents control no creatures, Erebos's Titan has indestructible. (Damage and effects that say "destroy" don't destroy it.) -- Whenever a creature card leaves an opponent's graveyard, you may discard a card. If you do, return Erebos's Titan from your graveyard to your hand. mana={1}{B}{B}{B} type=Creature @@ -32497,7 +32494,7 @@ type=Sorcery [/card] [card] name=Essence Reliquary -auto={T}:target(other *|myBattlefield) transforms((,newability[moveto(ownerhand) all(mychild)],newability[moveto(ownerhand)])) myturnonly +auto={T}:target(other *|myBattlefield) transforms((,newability[moveto(hand) all(mychild)],newability[moveto(hand)])) myturnonly text={T}: Return another target permanent you control and all Auras you control attached to it to their owner's hand. Activate only during your turn. mana={2}{W} type=Artifact @@ -32677,7 +32674,7 @@ toughness=3 [card] name=Eternal Taskmaster auto=tapped(noevent) -auto=_ATTACKING_pay({2}{b}) target(creature|mygraveyard) moveto(ownerhand) +auto=_ATTACKING_pay({2}{b}) target(creature|mygraveyard) moveto(hand) text=Eternal Taskmaster enters tapped. -- Whenever Eternal Taskmaster attacks, you may pay {2}{B}. If you do, return target creature card from your graveyard to your hand. mana={1}{B} type=Creature @@ -32709,8 +32706,8 @@ type=Enchantment [card] name=Ethereal Elk abilities=trample -auto=may moveto(ownerHand) target(Vivien^ Nature's Avenger|mylibrary) -auto=may moveto(ownerHand) target(Vivien^ Nature's Avenger|mygraveyard) +auto=may moveto(hand) target(Vivien^ Nature's Avenger|mylibrary) +auto=may moveto(hand) target(Vivien^ Nature's Avenger|mygraveyard) text=Trample -- When Ethereal Elk enters, you may search your library and/or graveyard for a card named Vivien, Nature's Avenger, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{G}{G} type=Creature @@ -32733,7 +32730,7 @@ toughness=3 [card] name=Ethereal Forager abilities=flying -auto=_ATTACKING_may moveTo(ownerHand) target(instant,sorcery|myExile) +auto=_ATTACKING_may moveTo(hand) target(instant,sorcery|myExile) text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Flying -- Whenever Ethereal Forager attacks, you may return an instant or sorcery card exiled with Ethereal Forager to its owner's hand. mana={4}{U}{U} other={delve} name(Delve) @@ -32920,7 +32917,7 @@ name=Everquill Phoenix abilities=flying,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -33446,7 +33443,7 @@ type=Enchantment [card] name=Excavation Elephant kicker={1}{W} -auto=if paid(kicker) then target(artifact|mygraveyard) moveto(ownerhand) +auto=if paid(kicker) then target(artifact|mygraveyard) moveto(hand) text=Kicker {1}{W} (You may pay an additional {1}{W} as you cast this spell.) -- When Excavation Elephant enters, if it was kicked, return target artifact card from your graveyard to your hand. mana={4}{W} type=Creature @@ -33539,7 +33536,7 @@ type=Instant [/card] [card] name=Exclusion Mage -auto=moveto(ownerHand) target(creature|opponentBattlefield) +auto=moveto(hand) target(creature|opponentBattlefield) text=When Exclusion Mage enters, return target creature an opponent controls to its owner's hand. mana={2}{U} type=Creature @@ -33597,9 +33594,9 @@ type=Sorcery [/card] [card] name=Exhumer Thrull -auto=name(Return creature to hand) moveto(ownerHand) target(creature|mygraveyard) +auto=name(Return creature to hand) moveto(hand) target(creature|mygraveyard) auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot -autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Return creature to hand) moveto(ownerHand) target(creature|mygraveyard)])) +autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Return creature to hand) moveto(hand) target(creature|mygraveyard)])) text=Haunt (When this creature dies, exile it haunting target creature.) -- When Exhumer Thrull enters or the creature it haunts dies, return target creature card from your graveyard to your hand. mana={5}{B} type=Creature @@ -33613,7 +33610,7 @@ auto=cantbeblockedby(creature[power<=3]) facedown={3} autofacedown=_WARD2_ autofacedown={1}{U}:morph -autofaceup=target(other creature) moveto(ownerhand) +autofaceup=target(other creature) moveto(hand) text=Exit Specialist can't be blocked by creatures with power 3 or greater. -- Disguise {1}{U} (You may cast this card face down for {3} as a 2/2 creature with ward {2}. Turn it face up any time for its disguise cost.) -- When Exit Specialist is turned face up, return another target creature to its owner's hand. mana={1}{U} type=Creature @@ -33748,7 +33745,7 @@ type=Instant name=Expel from Orazca target=*[-land] auto=_ASCEND_ controller -auto=choice name(owner's hand) moveTo(ownerHand) +auto=choice name(owner's hand) moveTo(hand) auto=_CITY'S_BLESSING_ choice name(owner's library) moveTo(ownerLibrary) text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Return target nonland permanent to its owner's hand. If you have the city's blessing, you may put that permanent on top of its owner's library instead. mana={1}{U} @@ -33776,8 +33773,8 @@ toughness=1 [/card] [card] name=Experimental Augury -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( transforms((,newability[_PROLIFERATE_],newability[all(other *[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot)!])) oneshot -auto=name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed _PROLIFERATE_ afterrevealedend revealend +aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(hand) and!( transforms((,newability[_PROLIFERATE_],newability[all(other *[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot)!])) oneshot +auto=name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed _PROLIFERATE_ afterrevealedend revealend text=Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) mana={1}{U} type=Instant @@ -33806,7 +33803,7 @@ type=Enchantment name=Experimental Overload abilities=exiledeath auto=token(Weird Exp,Creature Weird,type:*[instant;sorcery]:myGraveyard/type:*[instant;sorcery]:myGraveyard,blue,red) -auto=may moveto(ownerHand) target(*[instant;sorcery]|myGraveyard) +auto=may moveto(hand) target(*[instant;sorcery]|myGraveyard) text=Create an X/X blue and red Weird creature token, where X is the number of instant and sorcery cards in your graveyard. Then you may return an instant or sorcery card from your graveyard to your hand. Exile Experimental Overload. mana={2}{U}{R} type=Sorcery @@ -33831,12 +33828,12 @@ type=Sorcery [card] name=Explore the Vastlands abilities=doublefacedeath -aicode=activate transforms((,newability[if type(*[land;instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) bottomoflibrary else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[land;instant;sorcery;zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot])) oneshot -auto=if type(land[zpos<=5]|mylibrary)~morethan~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot && all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[if cantargetcard(*[land]|*) then choice name(Put land in hand) name(Put land in hand) moveto(ownerHand)],newability[if cantargetcard(*[land]|*) then choice name(Put land back) name(Put land back) moveto(myreveal) and!( bottomoflibrary )!],newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put spell in hand) name(Put spell in hand) moveto(ownerHand)],newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put spell back) name(Put spell back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend -auto=if type(land[zpos<=5]|mylibrary)~morethan~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Put land in hand) name(Put land in hand) moveto(ownerHand)],newability[choice name(Put land back) name(Put land back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend -auto=if type(land[zpos<=5]|mylibrary)~equalto~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Put spell in hand) name(Put spell in hand) moveto(ownerHand)],newability[choice name(Put spell back) name(Put spell back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend +aicode=activate transforms((,newability[if type(*[land;instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) bottomoflibrary else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[land;instant;sorcery;zpos<=5]|mylibrary) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot])) oneshot +auto=if type(land[zpos<=5]|mylibrary)~morethan~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot && all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[if cantargetcard(*[land]|*) then choice name(Put land in hand) name(Put land in hand) moveto(hand)],newability[if cantargetcard(*[land]|*) then choice name(Put land back) name(Put land back) moveto(myreveal) and!( bottomoflibrary )!],newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put spell in hand) name(Put spell in hand) moveto(hand)],newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put spell back) name(Put spell back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend +auto=if type(land[zpos<=5]|mylibrary)~morethan~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Put land in hand) name(Put land in hand) moveto(hand)],newability[choice name(Put land back) name(Put land back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend +auto=if type(land[zpos<=5]|mylibrary)~equalto~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Put spell in hand) name(Put spell in hand) moveto(hand)],newability[choice name(Put spell back) name(Put spell back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend auto=if type(land[zpos<=5]|mylibrary)~equalto~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Put back) target(*|reveal) bottomoflibrary optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend revealend -autostack=ability$!name(Look top 5 cards) transforms((,newability[if type(*[land;instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) bottomoflibrary else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[land;instant;sorcery;zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot])) oneshot!$ opponent +autostack=ability$!name(Look top 5 cards) transforms((,newability[if type(*[land;instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) bottomoflibrary else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[land;instant;sorcery;zpos<=5]|mylibrary) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot])) oneshot!$ opponent text=Each player looks at the top five cards of their library and may reveal a land card and/or an instant or sorcery card from among them. Each player puts the cards they revealed this way into their hand and the rest on the bottom of their library in a random order. Each player gains 3 life. // {5} Wandering Archaic mana={3} type=Sorcery @@ -33932,8 +33929,8 @@ type=Instant [/card] [card] name=Expressive Iteration -aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) moveto(ownerHand)],newability[all(*[zpos=2]|mylibrary) bottomoflibrary],newability[all(*[zpos=3]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! ])) ueot -auto=name(look top 3 cards) reveal:3 optionone name(Put in my hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo choice name(Choose one for Bottom) target(*|reveal) bottomoflibrary and!( all(other *|reveal) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! )! optiontwoend +aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) moveto(hand)],newability[all(*[zpos=2]|mylibrary) bottomoflibrary],newability[all(*[zpos=3]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! ])) ueot +auto=name(look top 3 cards) reveal:3 optionone name(Put in my hand) target(*|reveal) moveto(hand) optiononeend optiontwo choice name(Choose one for Bottom) target(*|reveal) bottomoflibrary and!( all(other *|reveal) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! )! optiontwoend text=Look at the top three cards of your library. Put one of them into your hand, put one of them on the bottom of your library, and exile one of them. You may play the exiled card this turn. mana={U}{R} type=Sorcery @@ -33994,7 +33991,7 @@ type=Instant [card] name=Extract Brain aicode=activate transforms((,newability[target(*[-land&zpos<=fullpaid]|opponenthand) activate castcard(normal)])) oneshot -auto=name(Look opponent hand) reveal:x revealzone(opponenthand) optionone name(Cast card) target(*[-land]|reveal) activate castcard(normal) optiononeend optiontwo name(Put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=name(Look opponent hand) reveal:x revealzone(opponenthand) optionone name(Cast card) target(*[-land]|reveal) activate castcard(normal) optiononeend optiontwo name(Put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent chooses X cards from their hand. Look at those cards. You may cast a spell from among them without paying its mana cost. mana={X}{U}{B} type=Sorcery @@ -34028,7 +34025,7 @@ autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)] autohand={4}{B}{R}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~0,can play sorcery,compare(isflipped)~equalto~1}:name(Sacrifice 1) transforms((,newability[activate castcard(copied named!:awaken the blood avatar:!)],newability[moveto(mygraveyard)])) forever autohand={2}{B}{R}{S(creature|myBattlefield)}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~1,can play sorcery,compare(isflipped)~equalto~1}:name(Sacrifice 2) transforms((,newability[activate castcard(copied named!:awaken the blood avatar:!)],newability[moveto(mygraveyard)])) forever autohand={B}{R}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~2,can play sorcery,compare(isflipped)~equalto~1}:name(Sacrifice 3) transforms((,newability[copied activate castcard(named!:awaken the blood avatar:!)],newability[moveto(mygraveyard)])) forever -auto=@movedto(*[instant;sorcery]|mystack):name(Return creature) target(creature[-legendary]|mygraveyard) moveto(ownerHand) +auto=@movedto(*[instant;sorcery]|mystack):name(Return creature) target(creature[-legendary]|mygraveyard) moveto(hand) text=Double strike -- Magecraft - Whenever you cast or copy an instant or sorcery spell, return target nonlegendary creature card from your graveyard to your hand. // {6}{B}{R} Awaken the Blood Avatar mana={1}{W}{B}{B} type=Legendary Creature @@ -34212,7 +34209,7 @@ toughness=6 [/card] [card] name=Fa'adiyah Seer -auto={T}:reveal:1 optionone if type(land|reveal)~morethan~0 then target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo if type(land|reveal)~lessthan~1 then all(*|reveal) moveto(myGraveyard) optiontwoend revealend +auto={T}:reveal:1 optionone if type(land|reveal)~morethan~0 then target(<1>*|reveal) moveto(hand) optiononeend optiontwo if type(land|reveal)~lessthan~1 then all(*|reveal) moveto(myGraveyard) optiontwoend revealend text={T}: Draw a card and reveal it. If it isn't a land card, discard it. mana={1}{G} type=Creature @@ -34304,7 +34301,7 @@ toughness=2 [/card] [card] name=Fact or Fiction -auto=reveal:5 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) target(<5>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=reveal:5 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) target(<5>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=Reveal the top five cards of your library. An opponent separates those cards into two piles. Put one pile into your hand and the other into your graveyard. mana={3}{U} type=Instant @@ -34330,7 +34327,7 @@ type=Sorcery name=Fading Hope target=creature aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=moveto(ownerhand) and!( if cantargetcard(*[manacost<=3]|*) then _SCRY1_ )! +auto=moveto(hand) and!( if cantargetcard(*[manacost<=3]|*) then _SCRY1_ )! text=Return target creature to its owner's hand. If its mana value was 3 or less, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={U} type=Instant @@ -34360,9 +34357,9 @@ type=Enchantment name=Fae of Wishes // Granted abilities=flying,adventure other={3}{U} name(Adventure) -auto=if paid(alternative) then name(Pick non-creature from sideboard) name(Pick non-creature from sideboard) target(*[-creature]|mysideboard) moveto(ownerHand) +auto=if paid(alternative) then name(Pick non-creature from sideboard) name(Pick non-creature from sideboard) target(*[-creature]|mysideboard) moveto(hand) auto=if paid(alternative) then _ADVENTURE_ -auto={1}{U}{D(*|myhand)}{D(*|myhand)}:name(Return to hand) moveTo(ownerhand) +auto={1}{U}{D(*|myhand)}{D(*|myhand)}:name(Return to hand) moveTo(hand) text=Flying -- {1}{U}, Discard two cards: Return Fae of Wishes to its owner's hand. // You may choose a noncreature card you own from outside the game, reveal it, and put it into your hand. mana={1}{U} type=Creature @@ -34466,7 +34463,7 @@ toughness=1 [card] name=Faerie Mastermind abilities=flash,flying -auto=@drawfoeof(player) restriction{compare(pdrewcount)~equalto~2}:draw:1 +auto=@drawfoeof(player) restriction{compare(odrewcount)~equalto~2}:draw:1 auto={3}{U}:all(player) draw:1 text=Flash -- Flying -- Whenever an opponent draws their second card each turn, you draw a card. -- {3}{U}: Each player draws a card. mana={1}{U} @@ -34493,7 +34490,7 @@ abilities=flying facedown={3} autofacedown=_WARD2_ autofacedown={1}{UB}{UB}:morph -autofaceup=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend +autofaceup=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Flying -- Disguise {1}{U/B}{U/B} (You may cast this card face down for {3} as a 2/2 creature with ward {2}. Turn it face up any time for its disguise cost.) -- When Faerie Snoop is turned face up, look at the top two cards of your library. Put one into your hand and the other into your graveyard. mana={1}{U}{B} type=Creature @@ -34654,7 +34651,7 @@ toughness=3 name=Faldorn, Dread Wolf Herald auto=@movedTo(*|mystack) from(exile):_WOLFTOKEN_ auto=@movedTo(land|myBattlefield) from(exile):_WOLFTOKEN_ -auto={1}{T}{D(*|myhand)}:_IMPULSEDRAW_ +auto={1}{T}{D(*|myhand)}:_IMPULSE_DRAW_ text=Whenever you cast a spell from exile or a land enters under your control from exile, create a 2/2 green Wolf creature token. -- {1}, {T}, Discard a card: Exile the top card of your library. You may play it this turn. mana={1}{R}{G} type=Legendary Creature @@ -34786,7 +34783,7 @@ subtype=Saga [/card] [card] name=Fallaji Archaeologist -auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[-land&-creature]|mygraveyard)~morethan~0 then choice name(Return a card) name(Return a card) target(tobereturn[-land&-creature]|mygraveyard) moveto(ownerHand)],newability[choice name(Put 1/1 counter) target(Fallaji Archaeologist[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! +auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[-land&-creature]|mygraveyard)~morethan~0 then choice name(Return a card) name(Return a card) target(tobereturn[-land&-creature]|mygraveyard) moveto(hand)],newability[choice name(Put 1/1 counter) target(Fallaji Archaeologist[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Fallaji Archaeologist enters, mill three cards. You may put a noncreature, nonland card from among the cards milled this way into your hand. If you don't, put a +1/+1 counter on Fallaji Archaeologist. (To mill a card, put the top card of your library into your graveyard.) mana={1}{U} type=Creature @@ -35055,7 +35052,7 @@ other={2}{B} name(Away) kicker={2}{B} name(Fuse) restriction=type(creature|battlefield)~morethan~0 auto=if paid(alternative) then target(player) ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ targetedplayer -auto=ifnot paid(alternative) then ability$!name(Return to hand) name(Return to hand) moveto(ownerhand) target(creature|battlefield)!$ controller +auto=ifnot paid(alternative) then ability$!name(Return to hand) name(Return to hand) moveto(hand) target(creature|battlefield)!$ controller auto=if paid(kicker) then target(player) ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ targetedplayer text=Return target creature to its owner's hand. // Target player sacrifices a creature. -- Fuse (You may cast one or both halves of this card from your hand.) mana={1}{U} @@ -35114,8 +35111,8 @@ type=Sorcery [card] name=Farfinder abilities=vigilance -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Vigilance -- When Farfinder enters, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle. mana={3} type=Creature @@ -35250,7 +35247,7 @@ type=Sorcery [/card] [card] name=Fates' Reversal -auto=may name(Return creature to hand) target(creature|mygraveyard) moveto(ownerHand) +auto=may name(Return creature to hand) target(creature|mygraveyard) moveto(hand) auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot text=Return up to one target creature card from your graveyard to your hand. Venture into the dungeon. (Enter the first room or advance to the next room.) mana={1}{B} @@ -35557,9 +35554,9 @@ type=Artifact name=Feather, the Redeemed abilities=flying auto=@targeted(creature|mybattlefield) from(sorcery|myzones):transforms((,newability[all(sorcery|mystack) moveto(exile)])) ueot -auto=@targeted(creature|mybattlefield) from(sorcery|myzones):name(Return sorcery from exile) transforms((,newability[name(Return sorcery from exile) phaseaction[end] target(sorcery[fresh]|myexile) moveto(ownerHand)])) ueot +auto=@targeted(creature|mybattlefield) from(sorcery|myzones):name(Return sorcery from exile) transforms((,newability[name(Return sorcery from exile) phaseaction[end] target(sorcery[fresh]|myexile) moveto(hand)])) ueot auto=@targeted(creature|mybattlefield) from(instant|myzones):transforms((,newability[all(instant|mystack) moveto(exile)])) ueot -auto=@targeted(creature|mybattlefield) from(instant|myzones):name(Return instant from exile) transforms((,newability[name(Return instant from exile) phaseaction[end] target(instant[fresh]|myexile) moveto(ownerHand)])) ueot +auto=@targeted(creature|mybattlefield) from(instant|myzones):name(Return instant from exile) transforms((,newability[name(Return instant from exile) phaseaction[end] target(instant[fresh]|myexile) moveto(hand)])) ueot text=Flying -- Whenever you cast an instant or sorcery spell that targets a creature you control, exile that card instead of putting it into your graveyard as it resolves. If you do, return it to your hand at the beginning of the next end step. mana={R}{W}{W} type=Legendary Creature @@ -35585,7 +35582,8 @@ type=Instant [/card] [card] name=Feed the Swarm -auto=name(destroy) target(*[creature;enchantment]|opponentBattlefield) transforms((,newability[destroy],newability[life:-manacost opponent])) oneshot +target=*[creature;enchantment]|opponentBattlefield +auto=transforms((,newability[destroy],newability[life:-manacost opponent])) oneshot restriction=type(*[creature;enchantment]|opponentbattlefield)~morethan~0 text=Destroy target creature or enchantment an opponent controls. You lose life equal to that permanent's mana value. mana={1}{B} @@ -35893,8 +35891,8 @@ type=Instant [card] name=Fervent Mastery other={2}{R}{R} name(Cast for 1 less) -aicode=activate transforms((,newability[target(<3>*|mylibrary) moveto(ownerHand) and!( discard:1 controller )!])) oneshot -auto=name(Search up to 3 cards) reveal:plibrarycount optionone name(Choose up to 3 cards) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) and!( shuffle )! optiontwoend afterrevealed thisforeach(variable{3}) discard:1 controller afterrevealedend revealend +aicode=activate transforms((,newability[target(<3>*|mylibrary) moveto(hand) and!( discard:1 controller )!])) oneshot +auto=name(Search up to 3 cards) reveal:plibrarycount optionone name(Choose up to 3 cards) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) and!( shuffle )! optiontwoend afterrevealed thisforeach(variable{3}) discard:1 controller afterrevealedend revealend auto=if paid(alternative) then ability$!name(Discard and draw) name(Discard and draw) target(*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot!$ opponent text=You may pay {2}{R}{R} rather than pay this spell's mana cost. -- If the {2}{R}{R} cost was paid, an opponent discards any number of cards, then draws that many cards. -- Search your library for up to three cards, put them into your hand, shuffle, then discard three cards at random. mana={3}{R}{R} @@ -36278,7 +36276,7 @@ type=Sorcery [card] name=Fighter Class auto=counter(0/0,1,Level) -auto=name(Search equipment) target(artifact[equipment]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search equipment) target(artifact[equipment]|mylibrary) moveto(hand) and!( shuffle )! auto=this(variable{hascntlevel}=1) {1}{R}{W}:name(Level 2) counter(0/0,1,Level) asSorcery auto=this(variable{hascntlevel}>=2) lord(artifact[equipment]|myBattlefield) transforms((,newability[{0}:name(Add 2 mana for equip) add{C}{C}])) auto=this(variable{hascntlevel}=2) {3}{R}{W}:name(Level 3) counter(0/0,1,Level) asSorcery @@ -36312,7 +36310,7 @@ toughness=1 [/card] [card] name=Filter Out -auto=all(*[-creature&-land]|battlefield) moveTo(ownerHand) +auto=all(*[-creature&-land]|battlefield) moveTo(hand) text=Return all noncreature, nonland permanents to their owners' hands. mana={1}{U}{U} type=Instant @@ -36367,7 +36365,7 @@ type=Instant [/card] [card] name=Final Parting -auto=name(put in hand) moveto(ownerHand) notatarget(*|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(*|mylibrary))! oneshot +auto=name(put in hand) moveto(hand) notatarget(*|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(*|mylibrary))! oneshot text=Search your library for two cards. Put one into your hand and the other into your graveyard. Then shuffle. mana={3}{B}{B} type=Sorcery @@ -36461,7 +36459,7 @@ abilities=exiledeath auto=this(X<10) draw:x auto=this(X>=10) moveto(myLibrary) all(*|myGraveyard) && shuffle && draw:x auto=this(X>=10) may untap notatarget(land) -autoexile=lord(*|myBattlefield) nomaxhand +auto=this(X>=10) lord(*|myBattlefield) transforms((,newability[nomaxhand])) forever text=Draw X cards. If X is 10 or more, instead shuffle your graveyard into your library, draw X cards, untap up to five lands, and you have no maximum hand size for the rest of the game. -- Exile Finale of Revelation. mana={X}{U}{U} type=Sorcery @@ -36469,7 +36467,7 @@ type=Sorcery [card] name=Find // Finality other={4}{B}{G} name(Finality) -auto=ifnot paid(alternative) then moveto(ownerHand) target(creature|mygraveyard) +auto=ifnot paid(alternative) then moveto(hand) target(creature|mygraveyard) auto=if paid(alternative) then may counter(1/1,2) target(creature|myBattlefield) && all(creature) -4/-4 ueot text=Return up to two target creature cards from your graveyard to your hand. // You may put two +1/+1 counters on a creature you control. Then all creatures get -4/-4 until end of turn. mana={BG}{BG} @@ -36875,8 +36873,8 @@ subtype=Saga [card] name=Firja, Judge of Valor abilities=flying,lifelink -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) and!(deplete:2)!])) ueot -auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(hand) and!(deplete:2)!])) ueot +auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Flying, lifelink -- Whenever you cast your second spell each turn, look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. mana={2}{W}{B}{B} type=Legendary Creature @@ -36993,7 +36991,7 @@ type=Instant [card] name=Five-Finger Discount target=*[-land]|battlefield -auto=moveto(ownerHand) and!( transforms((,newability[anytypeofmana forever])) forever)! +auto=moveto(hand) and!( transforms((,newability[anytypeofmana forever])) forever)! text=Put target nonland permanent into your hand. You may spend mana as though it were mana of any color the next time you cast that card. mana={4}{U}{U} type=Sorcery @@ -37060,7 +37058,8 @@ name=Flame Channeler backside=Embodiment of Flame restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -auto=@damaged(this) from(*|myzones):name(Transform Embodiment of Flame) flip(backside) +auto=@damaged(*) from(*|mystack):name(Transform Embodiment of Flame) flip(backside) +auto=@damaged(player) from(*|mystack):name(Transform Embodiment of Flame) flip(backside) text=When a spell you control deals damage, transform Flame Channeler. // Embodiment of Flame mana={1}{R} type=Creature @@ -37168,7 +37167,7 @@ toughness=2 [card] name=Flamerush Rider other={2}{R}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand)]))ueot +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand)]))ueot auto=_ATTACKING_target(other creature[attacking]) clone with(unearth,battleready) text=Whenever Flamerush Rider attacks, create a token that's a copy of another target attacking creature and that's tapped and attacking. Exile the token at end of combat. -- Dash {2}{R}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={4}{R} @@ -37223,7 +37222,7 @@ type=Sorcery [card] name=Flameskull abilities=cantblock,flying -auto=_DIES_name(Rejuvenation) all(this|mygraveyard) moveto(myexile) and!( transforms((,newability[becomes(tobecast) ueot],newability[all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[becomes(tobecast) ueot],newability[name(Can play one exiled card) target(tobecast[fresh]|myexile) canplayfromexile ueot])) ueot )!])) ueot )! +auto=_DIES_name(Rejuvenation) all(this|mygraveyard) moveto(myexile) and!( transforms((,newability[becomes(tobecast) uent],newability[all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[becomes(tobecast) uent],newability[name(Can play one exiled card) target(tobecast[fresh]|myexile) canplayfromexile uent])) ueot )!])) ueot )! text=Flying -- Flameskull can't block. -- Rejuvenation - When Flameskull dies, exile it. If you do, exile the top card of your library. Until the end of your next turn, you may play one of those cards. (If you cast Flameskull this way, you can't play the other card, and vice versa.) mana={1}{R}{R} type=Creature @@ -37293,7 +37292,7 @@ type=Instant name=Flare of Cultivation other={S(creature[-token;green]|myBattlefield)} name(Sacrifice) otherrestriction=type(creature[-token;green]|myBattlefield)~morethan~0 -auto=name(onto the battlefield) notatarget(land[basic]|mylibrary) transforms((,newability[name(into your hand) notatarget(land[basic]|mylibrary) moveto(ownerHand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot +auto=name(onto the battlefield) notatarget(land[basic]|mylibrary) transforms((,newability[name(into your hand) notatarget(land[basic]|mylibrary) moveto(hand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot text=You may sacrifice a nontoken green creature rather than pay this spell's mana cost. -- Search your library for up to two basic land cards, reveal those cards, put one onto the battlefield tapped and the other into your hand, then shuffle. mana={1}{G}{G} type=Sorcery @@ -37541,14 +37540,14 @@ toughness=2 name=Flood of Recollection abilities=exiledeath target=instant,sorcery|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target instant or sorcery card from your graveyard to your hand. Exile Flood of Recollection. mana={U}{U} type=Sorcery [/card] [card] name=Flood of Tears -auto=moveTo(ownerhand) all(*[-land]) +auto=moveTo(hand) all(*[-land]) auto=if type(*[-token;-instant;-sorcery]|myHand)~morethan~3 then may moveTo(myBattlefield) target(*[-instant;-sorcery]|myHand) text=Return all nonland permanents to their owners' hands. If you return four or more nontoken permanents you control this way, you may put a permanent card from your hand onto the battlefield. mana={4}{U}{U} @@ -37575,7 +37574,7 @@ toughness=2 name=Floodwaters abilities=cycling target=creature -auto=moveto(ownerhand) +auto=moveto(hand) autohand=__CYCLING__({2}) text=Return up to two target creatures to their owners' hands. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={4}{U}{U} @@ -37584,7 +37583,7 @@ type=Sorcery [card] name=Florian, Voldaren Scion abilities=first strike -aicode=activate target(*[zpos<=oplifelost]|mylibrary) moveto(ownerHand) and!( transforms((,newability[canplayfromexile],newability[all(*[zpos<=oplifelost]|myLibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot )! +aicode=activate target(*[zpos<=oplifelost]|mylibrary) moveto(hand) and!( transforms((,newability[canplayfromexile],newability[all(*[zpos<=oplifelost]|myLibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot )! auto=@each my secondmain restriction{compare(oplifelost)~morethan~0}:name(Look top card) reveal:oplifelost optionone name(Exile 1 card) target(*|reveal) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|myreveal) bottomoflibrary )! optiontwoend revealend text=First strike -- At the beginning of your postcombat main phase, look at the top X cards of your library, where X is the total amount of life your opponents lost this turn. Exile one of those cards and put the rest on the bottom of your library in a random order. You may play the exiled card this turn. type=Legendary Creature @@ -37596,7 +37595,7 @@ toughness=3 [card] name=Floriferous Vinewall abilities=defender -auto=reveal:6 optionone name(Get a land) target(land|reveal) moveto(ownerhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:6 optionone name(Get a land) target(land|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Defender -- When Floriferous Vinewall enters, look at the top six cards of your library. You may reveal a land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={1}{G} type=Creature @@ -37647,7 +37646,7 @@ type=Instant name=Flower // Flourish other={4}{G}{W} name(Flourish) auto=if paid(alternative) then all(creature|mybattlefield) 2/2 ueot -auto=ifnot paid(alternative) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[basic;forest;plains]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=ifnot paid(alternative) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[basic;forest;plains]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a basic Forest or Plains card, reveal it, put it into your hand, then shuffle. -- Creatures you control get +2/+2 until end of turn. mana={GW} type=Sorcery @@ -37905,8 +37904,8 @@ toughness=1 [card] name=For the Ancestors flashback={3}{G} -aicode=activate target(<6>*[zpos<=6]|mylibrary) moveto(ownerHand) and!( if cantargetcard(*[-chosentype]|*) then bottomoflibrary )! -auto=chooseatype transforms((,newability[name(Look top 6) reveal:6 optionone name(Put in hand) target(*[chosentype]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend])) forever chooseend +aicode=activate target(<6>*[zpos<=6]|mylibrary) moveto(hand) and!( if cantargetcard(*[-chosentype]|*) then bottomoflibrary )! +auto=chooseatype transforms((,newability[name(Look top 6) reveal:6 optionone name(Put in hand) target(*[chosentype]|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend])) forever chooseend text=Choose a creature type. Look at the top six cards of your library. You may reveal any number of cards of the chosen type from among them and put the revealed cards into your hand. Put the rest on the bottom of your library in a random order. -- Flashback {3}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{G} type=Instant @@ -38168,8 +38167,8 @@ toughness=2 [/card] [card] name=Forging the Anchor -aicode=activate transforms((,newability[if type(artifact[zpos<=5]|myLibrary)~morethan~0 then all(artifact[zpos<=5]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary and!( draw:1 controller)! )! ])) oneshot -auto=name(Look 5 cards) reveal:5 optionone name(Get artifacts) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(artifact[zpos<=5]|myLibrary)~morethan~0 then all(artifact[zpos<=5]|myLibrary) moveto(hand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary and!( draw:1 controller)! )! ])) oneshot +auto=name(Look 5 cards) reveal:5 optionone name(Get artifacts) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Look at the top five cards of your library. You may reveal any number of artifact cards from among them and put the revealed cards into your hand. Put the rest on the bottom of your library in a random order. mana={2}{U} type=Sorcery @@ -38180,7 +38179,7 @@ auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=_TREASURE_ auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) _TREASURE_ -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Search library) target(equipment,Halvar^ God of Battle|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Search library) target(equipment,Halvar^ God of Battle|mylibrary) moveto(hand) and!( shuffle )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Create a Treasure token. -- III - Search your library for a card named Halvar, God of Battle or an Equipment card, reveal it, put it into your hand, then shuffle. mana={1}{R}{W} @@ -38350,8 +38349,8 @@ type=Enchantment [/card] [card] name=Fortuitous Find -auto=ability$! name(Return target artifact) may name(Return target artifact) moveto(ownerHand) target(artifact|mygraveyard)!$ controller -auto=ability$! name(Return target creature) may name(Return target creature) moveto(ownerHand) target(creature|mygraveyard)!$ controller +auto=ability$! name(Return target artifact) may name(Return target artifact) moveto(hand) target(artifact|mygraveyard)!$ controller +auto=ability$! name(Return target creature) may name(Return target creature) moveto(hand) target(creature|mygraveyard)!$ controller text=Choose one or both -- Return target artifact card from your graveyard to your hand. -- Return target creature card from your graveyard to your hand. mana={2}{B} type=Sorcery @@ -38369,7 +38368,7 @@ name=Forum Familiar facedown={3} autofacedown=_WARD2_ autofacedown={1}{W}:morph -autofaceup=target(other permanent|myBattlefield) moveto(ownerhand) && counter(1/1) +autofaceup=target(other permanent|myBattlefield) moveto(hand) && counter(1/1) text=Disguise {1}{W} (You may cast this card face down for {3} as a 2/2 creature with ward {2}. Turn it face up any time for its disguise cost.) -- When Forum Familiar is turned face up, return another target permanent you control to its owner's hand and put a +1/+1 counter on Forum Familiar. mana={W} type=Creature @@ -38936,8 +38935,8 @@ toughness=3 [/card] [card] name=Frost Augur -aicode=activate moveto(ownerHand) target(*[snow;zpos=1]|mylibrary) -auto={T}{i}:name(Look your library) reveal:1 revealzone(mylibrary) optionone name(Put in hand) target(*[snow]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +aicode=activate moveto(hand) target(*[snow;zpos=1]|mylibrary) +auto={T}{i}:name(Look your library) reveal:1 revealzone(mylibrary) optionone name(Put in hand) target(*[snow]|reveal) moveto(hand) optiononeend optiontwo name(Put back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend text={S}i}, {T}: Look at the top card of your library. If it's a snow card, you may reveal it and put it into your hand. ({S}i} can be paid with one mana from a snow source.) mana={U} type=Snow Creature @@ -39021,7 +39020,7 @@ name=Frostpyre Arcanist other={3}{U} name(Reduced cost) otherrestriction=type(*[giant;wizard]|mybattlefield)~morethan~0 restriction=type(*[giant]|mybattlefield)~equalto~0,type(*[wizard]|mybattlefield)~equalto~0 -auto=name(Choose instant or sorcery name from graveyard) name(Choose instant or sorcery name from graveyard) target(*[instant;sorcery]|mygraveyard) transforms((,newability[name(Search same instant or sorcery from library) name(Search same instant or sorcery from library) target(*[share!name!]|mylibrary) moveto(ownerHand) and!(shuffle)!])) oneshot +auto=name(Choose instant or sorcery name from graveyard) name(Choose instant or sorcery name from graveyard) target(*[instant;sorcery]|mygraveyard) transforms((,newability[name(Search same instant or sorcery from library) name(Search same instant or sorcery from library) target(*[share!name!]|mylibrary) moveto(hand) and!(shuffle)!])) oneshot text=This spell costs {1} less to cast if you control a Giant or a Wizard. -- When Frostpyre Arcanist enters, search your library for an instant or sorcery card with the same name as a card in your graveyard, reveal it, put it into your hand, then shuffle. mana={4}{U} type=Creature @@ -39042,6 +39041,7 @@ type=Instant name=Frostwalk Bastion auto={T}:add{1} auto={1}{i}:becomes(Creature Construct,2/3) ueot +auto=@combatdamaged(creature) from(this):all(trigger[to]) freeze text={T}: Add {1}. -- {1}{S}i}: Until end of turn, Frostwalk Bastion becomes a 2/3 Construct artifact creature. It's still a land. ({S}i} can be paid with one mana from a snow permanent.) -- Whenever Frostwalk Bastion deals combat damage to a creature, tap that creature and it doesn't untap during its controller's next untap step. type=Snow Land [/card] @@ -39180,7 +39180,7 @@ type=Land [card] name=Fungal Rebirth target=*[-instant;-sorcery]|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) auto=if morbid then _SAPROLINGTOKEN_*2 text=Return target permanent card from your graveyard to your hand. If a creature died this turn, create two 1/1 green Saproling creature tokens. mana={2}{G} @@ -39269,8 +39269,8 @@ toughness=5 [card] name=Furnace Host Charger abilities=haste -aicode=activate moveto(ownerHand) target(mountain|myLibrary) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mountain|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(mountain|myLibrary) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mountain|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Haste -- Mountaincycling {2} ({2}, Discard this card: Search your library for a Mountain card, reveal it, put it into your hand, then shuffle.) mana={5}{R} type=Creature @@ -39560,7 +39560,7 @@ toughness=4 [card] name=Galadriel of Lothlorien auto=@bearerchosen(other creature|mybattlefield):name(Scry 3) _SCRY3_ -auto=@scryed(*|myzones):may name(Reveal the top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[land]|*) then choice name(Put on battlefield) name(Put on battlefield) moveto(mybattlefield) and!( tap(noevent) )!],newability[if cantargetcard(*[-land]|*) then choice name(Put back) name(Put back) moveto(mylibrary)])) oneshot )! +auto=@scryed(*|myzones):may name(Reveal the top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[if cantargetcard(*[land]|*) then choice name(Put on battlefield) name(Put on battlefield) moveto(mybattlefield) and!( tap(noevent) )!],newability[if cantargetcard(*[-land]|*) then choice name(Put back) name(Put back) moveto(mylibrary)])) oneshot )! text=Whenever the Ring tempts you, if you chose a creature other than Galadriel of Lothlorien as your Ring-bearer, scry 3. -- Whenever you scry, you may reveal the top card of your library. If a land card is revealed this way, put it onto the battlefield tapped. mana={1}{G}{U} type=Legendary Creature @@ -39636,7 +39636,7 @@ toughness=4 [/card] [card] name=Galecaster Colossus -auto={T(wizard|myBattlefield)}:target(*[-land]|opponentBattlefield) moveTo(ownerHand) +auto={T(wizard|myBattlefield)}:target(*[-land]|opponentBattlefield) moveTo(hand) text=Tap an untapped Wizard you control: Return target nonland permanent you don't control to its owner's hand. mana={5}{U}{U} type=Creature @@ -39662,7 +39662,7 @@ toughness=2 [card] name=Galestrike target=creature[tapped] -auto=moveto(ownerhand) +auto=moveto(hand) auto=draw:1 controller text=Return target tapped creature to its owner's hand. -- Draw a card. mana={2}{U} @@ -39836,14 +39836,14 @@ toughness=4 [/card] [card] name=Gandalf, Westward Voyager -auto=@movedTo(creature[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[creature]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! -auto=@movedTo(planeswalker[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[planeswalker]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! -auto=@movedTo(tribal[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[tribal]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! -auto=@movedTo(instant[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[instant]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! -auto=@movedTo(sorcery[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[sorcery]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! -auto=@movedTo(enchantment[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[enchantment]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! -auto=@movedTo(artifact[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[artifact]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! -auto=@movedTo(battle[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(ownerHand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[battle]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(creature[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[creature]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(planeswalker[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[planeswalker]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(tribal[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[tribal]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(instant[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[instant]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(sorcery[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[sorcery]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(enchantment[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[enchantment]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(artifact[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[artifact]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! +auto=@movedTo(battle[manacost>=5]|mystack):name(Reveal top card) all(*[zpos=1]|opponentlibrary) name(Reveal top card) moveto(hand) and!( transforms((,newability[choice name(Don't cast copy) moveto(opponentlibrary) and!( draw:1 controller)!],newability[if cantargetcard(*[battle]|*) then choice name(Cast copy) name(Cast copy) moveto(opponentlibrary) and!( activate castcard(copied) and!( draw:1 opponent )! )!])) oneshot )! text=Whenever you cast a spell with mana value 5 or greater, each opponent reveals the top card of their library. If any of those cards shares a card type with that spell, copy that spell, you may choose new targets for the copy, and each opponent draws a card. Otherwise, you draw a card. (A copy of a permanent spell becomes a token.) mana={3}{G}{U} type=Legendary Creature @@ -39990,7 +39990,7 @@ toughness=3 [card] name=Garna, the Bloodflame abilities=flash -auto=moveto(ownerHand) all(creature[fresh]|graveyard) +auto=moveto(hand) all(creature[fresh]|graveyard) auto=lord(other creature|myBattlefield) haste text=Flash -- When Garna, the Bloodflame enters, return to your hand all creature cards in your graveyard that were put there from anywhere this turn. -- Other creatures you control have haste. mana={3}{B}{R} @@ -40041,9 +40041,9 @@ toughness=3 [card] name=Garruk's Harbinger auto=cantbetargetof(*[black]) -aicode=activate transforms((,newability[target(creature[zpos<=thatmuch]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=thatmuch]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(Get a creature or a garruk) target(*[creature;garruk]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend -auto=@combatdamaged(planeswalker) from(this):name(Reveal cards) reveal:thatmuch optionone name(Get a creature or a garruk) target(*[creature;garruk]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[target(creature[zpos<=thatmuch]|mylibrary) moveto(hand) and!( all(*[zpos<=thatmuch]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(Get a creature or a garruk) target(*[creature;garruk]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=@combatdamaged(planeswalker) from(this):name(Reveal cards) reveal:thatmuch optionone name(Get a creature or a garruk) target(*[creature;garruk]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Hexproof from black -- Whenever Garruk's Harbinger deals combat damage to a player or planeswalker, look at that many cards from the top of your library. You may reveal a creature card or Garruk planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={1}{G}{G} type=Creature @@ -40063,7 +40063,7 @@ type=Enchantment [card] name=Garruk's Warsteed abilities=vigilance -auto=may name(Search library or graveyard) moveto(ownerHand) target(Garruk^ Savage Herald|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Garruk^ Savage Herald|myLibrary,myGraveyard) text=Vigilance -- When Garruk's Warsteed enters, you may search your library and/or graveyard for a card named Garruk, Savage Herald, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{G}{G} type=Creature @@ -40112,6 +40112,7 @@ toughness=8 name=Gate to the Afterlife auto=@movedto(creature[-token]|mygraveyard) from(mybattlefield):may _LOOT_ auto=@movedto(creature[-token]|mygraveyard) from(mybattlefield):life:1 controller +auto={2}{T}{S}:name(sacrifice to search) ability$! notatarget(God-Pharaoh's Gift|mynonplaynonexile) moveto(ownerbattlefield)!$ controller text=Whenever a nontoken creature you control dies, you gain 1 life. Then you may draw a card. If you do, discard a card. -- {2}, {T}, Sacrifice Gate to the Afterlife: Search your graveyard, hand, and/or library for a card named God-Pharaoh's Gift and put it onto the battlefield. If you search your library this way, shuffle. Activate only if there are six or more creature cards in your graveyard. mana={3} type=Artifact @@ -40189,7 +40190,7 @@ toughness=3 [/card] [card] name=Gathering Throng -auto=may moveto(ownerHand) target(Gathering Throng|mylibrary) +auto=may moveto(hand) target(Gathering Throng|mylibrary) text=When Gathering Throng enters, you may search your library for any number of cards named Gathering Throng, reveal them, put them into your hand, then shuffle. mana={2}{W} type=Creature @@ -40211,9 +40212,9 @@ subtype=Aura [card] name=Gavony Dawnguard auto=_WARD1_ -aicode=activate transforms((,newability[if type(creature[zpos<=4;manacost<=3]|myLibrary)~morethan~0 then target(creature[zpos<=4;manacost<=3]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +aicode=activate transforms((,newability[if type(creature[zpos<=4;manacost<=3]|myLibrary)~morethan~0 then target(creature[zpos<=4;manacost<=3]|myLibrary) moveto(hand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!) -auto=@transformed(*[day;night]|battlefield):name(Look top 4 cards) reveal:4 optionone name(Get a creature) target(creature[manacost<=3]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=@transformed(*[day;night]|battlefield):name(Look top 4 cards) reveal:4 optionone name(Get a creature) target(creature[manacost<=3]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Ward {1} -- If it's neither day nor night, it becomes day as Gavony Dawnguard enters. -- Whenever day becomes night or night becomes day, look at the top four cards of your library. You may reveal a creature card with mana value 3 or less from among them and put it into your hand. Put the rest on the bottom of your library in any order. type=Creature subtype=Human Soldier @@ -40349,7 +40350,7 @@ toughness=4 [card] name=Geistwave target=*[-land]|battlefield -auto=if cantargetcard(*[-land]|opponentbattlefield) then moveto(ownerhand) else moveto(ownerhand) and!( draw:1 controller)! +auto=if cantargetcard(*[-land]|opponentbattlefield) then moveto(hand) else moveto(hand) and!( draw:1 controller)! text=Return target nonland permanent to its owner's hand. If you controlled that permanent, draw a card. mana={1}{U} type=Instant @@ -40368,7 +40369,7 @@ toughness=3 [/card] [card] name=Gem of Becoming -auto={3}{T}{S}:name(search lands) ability$!name(Island) moveto(ownerHand) notatarget(*[island]|mylibrary)!$ controller && ability$!name(Swamp) moveto(ownerHand) notatarget(*[swamp]|mylibrary)!$ controller && ability$!name(Mountain) moveto(ownerHand) notatarget(*[mountain]|mylibrary)!$ controller +auto={3}{T}{S}:name(search lands) ability$!name(Island) moveto(hand) notatarget(*[island]|mylibrary)!$ controller && ability$!name(Swamp) moveto(hand) notatarget(*[swamp]|mylibrary)!$ controller && ability$!name(Mountain) moveto(hand) notatarget(*[mountain]|mylibrary)!$ controller text={3}, {T}, Sacrifice Gem of Becoming: Search your library for an Island card, a Swamp card, and a Mountain card. Reveal those cards and put them into your hand. Then shuffle. mana={3} type=Artifact @@ -40378,7 +40379,7 @@ name=Gemrazer abilities=reach,trample,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -40480,7 +40481,7 @@ toughness=1 name=Generous Ent abilities=reach auto=_FOOD_ -autohand={1}{cycle}:name(Search forest) target(forest|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={1}{cycle}:name(Search forest) target(forest|myLibrary) moveto(hand) and!( shuffle )! text=Reach -- When Generous Ent enters, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Forestcycling {1} ({1}, Discard this card: Search your library for a Forest card, reveal it, put it into your hand, then shuffle.) mana={5}{G} type=Creature @@ -40561,7 +40562,7 @@ type=Sorcery [/card] [card] name=Genesis Ultimatum -auto=name(Look) reveal:5 optionone name(Put a permanent) target(*[-instant;-sorcery]|reveal) moveto(myBattlefield) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +auto=name(Look) reveal:5 optionone name(Put a permanent) target(*[-instant;-sorcery]|reveal) moveto(myBattlefield) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend auto=moveTo(myExile) text=Look at the top five cards of your library. Put any number of permanent cards from among them onto the battlefield and the rest into your hand. Exile Genesis Ultimatum. mana={G}{G}{U}{U}{U}{R}{R} @@ -40652,7 +40653,7 @@ subtype=Swamp Mountain [/card] [card] name=Geothermal Kami -auto=may notatarget(enchantment|myBattlefield) moveto(ownerhand) && life:3 +auto=may notatarget(enchantment|myBattlefield) moveto(hand) && life:3 text=When Geothermal Kami enters, you may return an enchantment you control to its owner's hand. If you do, you gain 3 life. mana={3}{G} type=Creature @@ -40848,7 +40849,7 @@ toughness=3 [card] name=Ghitu Amplifier kicker={2}{U} -auto=if paid(kicker) then target(creature|opponentBattlefield) moveto(ownerhand) +auto=if paid(kicker) then target(creature|opponentBattlefield) moveto(hand) auto=@movedTo(instant,sorcery|mystack):2/0 ueot text=Kicker {2}{U} (You may pay an additional {2}{U} as you cast this spell.) -- When Ghitu Amplifier enters, if it was kicked, return target creature an opponent controls to its owner's hand. -- Whenever you cast an instant or sorcery spell, Ghitu Amplifier gets +2/+0 until end of turn. mana={1}{R} @@ -40860,7 +40861,7 @@ toughness=2 [card] name=Ghitu Chronicler kicker={3}{R} -auto=if paid(kicker) then target(instant,sorcery|mygraveyard) moveto(ownerhand) +auto=if paid(kicker) then target(instant,sorcery|mygraveyard) moveto(hand) text=Kicker {3}{R} (You may pay an additional {3}{R} as you cast this spell.) -- When Ghitu Chronicler enters, if it was kicked, return target instant or sorcery card from your graveyard to your hand. mana={1}{R} type=Creature @@ -40919,7 +40920,7 @@ abilities=adventure,asflash other={1}{B} name(Adventure) restriction=can play creature otherrestriction=type(creature|mygraveyard)~morethan~0 -auto=if paid(alternative) then name(Return creature) name(Return creature) target(creature|mygraveyard) moveto(ownerHand) +auto=if paid(alternative) then name(Return creature) name(Return creature) target(creature|mygraveyard) moveto(hand) auto=if paid(alternative) then _ADVENTURE_ auto={1}:equip auto=teach(creature) @movedto(creature|graveyard) from(creature|mybattlefield):name(Put 1/1 counter) counter(1/1) @@ -41181,7 +41182,7 @@ toughness=4 [card] name=Gideon's Battle Cry auto=all(creature|myBattlefield) counter(1/1) -auto=may name(Search library or graveyard) moveto(ownerHand) target(Gideon^ the Oathsworn|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Gideon^ the Oathsworn|myLibrary,myGraveyard) text=Put a +1/+1 counter on each creature you control. You may search your library and/or graveyard for a card named Gideon, the Oathsworn, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={2}{W}{W} type=Sorcery @@ -41215,7 +41216,7 @@ type=Enchantment [/card] [card] name=Gideon's Resolve -auto=may name(Search library or graveyard) moveto(ownerHand) target(Gideon^ Martial Paragon|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Gideon^ Martial Paragon|myLibrary,myGraveyard) auto=lord(creature|mybattlefield) 1/1 text=When Gideon's Resolve enters, you may search your library and/or graveyard for a card named Gideon, Martial Paragon, reveal it, and put it into your hand. If you search your library this way, shuffle it. -- Creatures you control get +1/+1. mana={4}{W} @@ -41351,7 +41352,7 @@ name=Gilded Assault Cart abilities=trample auto={crew(other creature[power>=2]|myBattlefield)}:name(crew 2 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~1} auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 2 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~1} -autograveyard={S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}:moveto(ownerHand) +autograveyard={S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}:moveto(hand) text=Trample -- Crew 2 (Tap any number of creatures you control with total power 2 or more: This Vehicle becomes an artifact creature until end of turn.) -- Sacrifice two Treasures: Return Gilded Assault Cart from your graveyard to your hand. mana={1}{R}{R} type=Artifact @@ -41701,16 +41702,16 @@ type=Sorcery [card] name=Gix's Command auto=if type(creature|battlefield)~morethan~0 then choice name(Put counters and destroy) name(Put counters and destroy) target(creature|battlefield) transforms((,lifelink,newability[counter(1/1.2)],newability[destroy all(creature[power<=2]|battlefield)])) oneshot -auto=if type(creature|mybattlefield)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(You put counters and return creatures) name(You put counters and return creatures) name(You put counters and return creatures) target(creature|mybattlefield) transforms((,lifelink,newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(creature|mygraveyard) moveto(ownerHand)!$ controller])) oneshot -auto=if type(creature|opponentbattlefield)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Opponent put counters and return creatures) name(Opponent put counters and return creatures) name(Opponent put counters and return creatures) target(creature|opponentbattlefield) transforms((,lifelink,newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(creature|mygraveyard) moveto(ownerHand)!$ opponent])) oneshot -auto=if type(creature|battlefield)~equalto~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Put counters and return creatures) name(Put counters and return creatures) name(Put counters and return creatures) target(creature|mygraveyard) moveto(ownerHand) +auto=if type(creature|mybattlefield)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(You put counters and return creatures) name(You put counters and return creatures) name(You put counters and return creatures) target(creature|mybattlefield) transforms((,lifelink,newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(creature|mygraveyard) moveto(hand)!$ controller])) oneshot +auto=if type(creature|opponentbattlefield)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Opponent put counters and return creatures) name(Opponent put counters and return creatures) name(Opponent put counters and return creatures) target(creature|opponentbattlefield) transforms((,lifelink,newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(creature|mygraveyard) moveto(hand)!$ opponent])) oneshot +auto=if type(creature|battlefield)~equalto~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Put counters and return creatures) name(Put counters and return creatures) name(Put counters and return creatures) target(creature|mygraveyard) moveto(hand) auto=if type(creature|mybattlefield)~morethan~0 then choice name(You put counters and opponent sacrifices) name(You put counters and opponent sacrifices) name(You put counters and opponent sacrifices) target(creature|mybattlefield) transforms((,lifelink,newability[counter(1/1.2)],newability[ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent])) oneshot auto=if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent put counters and opponent sacrifices) name(Opponent put counters and opponent sacrifices) name(Opponent put counters and opponent sacrifices) target(creature|opponentbattlefield) transforms((,lifelink,newability[counter(1/1.2)],newability[ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ controller])) oneshot auto=if type(creature|battlefield)~equalto~0 then choice name(Put counters and opponent sacrifices) name(Put counters and opponent sacrifices) name(Put counters and opponent sacrifices) ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent -auto=if type(creature|mygraveyard)~morethan~0 then choice name(Destroy creatures and return creatures) name(Destroy creatures and return creatures) target(creature|mygraveyard) moveto(ownerHand) and!( all(creature[power<=2]|battlefield) destroy )! +auto=if type(creature|mygraveyard)~morethan~0 then choice name(Destroy creatures and return creatures) name(Destroy creatures and return creatures) target(creature|mygraveyard) moveto(hand) and!( all(creature[power<=2]|battlefield) destroy )! auto=if type(creature|mygraveyard)~equalto~0 then choice name(Destroy creatures and return creatures) name(Destroy creatures and return creatures) all(creature[power<=2]|battlefield) destroy auto=choice name(Destroy creatures and opponent sacrifices) all(creature[power<=2]|battlefield) destroy && ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent -auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creatures and opponent sacrifices) name(Return creatures and opponent sacrifices) target(creature|mygraveyard) moveto(ownerHand) && ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent +auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creatures and opponent sacrifices) name(Return creatures and opponent sacrifices) target(creature|mygraveyard) moveto(hand) && ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent auto=if type(creature|mygraveyard)~equalto~0 then choice name(Return creatures and opponent sacrifices) name(Return creatures and opponent sacrifices) ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent text=Choose two -- Put two +1/+1 counters on up to one creature. It gains lifelink until end of turn. -- Destroy each creature with power 2 or less. -- Return up to two creature cards from your graveyard to your hand. -- Each opponent sacrifices a creature with the highest power among creatures they control. mana={3}{B}{B} @@ -41796,8 +41797,8 @@ subtype=Aura [/card] [card] name=Glacial Revelation -aicode=activate all(snow[zpos<=6]|mylibrary) moveto(ownerHand) && all(*[-snow;zpos<=6]|mylibrary) moveto(mygraveyard) -auto=name(Look) reveal:6 optionone name(Get Snow) target(*[snow]|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) moveto(graveyard) optiontwoend revealend +aicode=activate all(snow[zpos<=6]|mylibrary) moveto(hand) && all(*[-snow;zpos<=6]|mylibrary) moveto(mygraveyard) +auto=name(Look) reveal:6 optionone name(Get Snow) target(*[snow]|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) moveto(graveyard) optiontwoend revealend text=Reveal the top six cards of your library. You may put any number of snow permanent cards from among them into your hand. Put the rest into your graveyard. mana={2}{G} type=Sorcery @@ -41805,26 +41806,26 @@ type=Sorcery [card] name=Glacian, Powerstone Engineer abilities=partner -auto={T}{T(artifact[-tapped]|myBattlefield)}:name(Tap 1 artifact) name(Tap 1 artifact) reveal:1 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 2 artifact) name(Tap 2 artifact) reveal:2 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 3 artifact) name(Tap 3 artifact) reveal:3 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 4 artifact) name(Tap 4 artifact) reveal:4 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 5 artifact) name(Tap 5 artifact) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 6 artifact) name(Tap 6 artifact) reveal:6 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 7 artifact) name(Tap 7 artifact) reveal:7 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 8 artifact) name(Tap 8 artifact) reveal:8 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 9 artifact) name(Tap 9 artifact) reveal:9 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 10 artifact) name(Tap 10 artifact) reveal:10 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 11 artifact) name(Tap 11 artifact) reveal:11 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 12 artifact) name(Tap 12 artifact) reveal:12 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 13 artifact) name(Tap 13 artifact) reveal:13 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 14 artifact) name(Tap 14 artifact) reveal:14 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 15 artifact) name(Tap 15 artifact) reveal:15 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 16 artifact) name(Tap 16 artifact) reveal:16 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 17 artifact) name(Tap 17 artifact) reveal:17 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 18 artifact) name(Tap 18 artifact) reveal:18 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 19 artifact) name(Tap 19 artifact) reveal:19 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 20 artifact) name(Tap 20 artifact) reveal:20 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}:name(Tap 1 artifact) name(Tap 1 artifact) reveal:1 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 2 artifact) name(Tap 2 artifact) reveal:2 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 3 artifact) name(Tap 3 artifact) reveal:3 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 4 artifact) name(Tap 4 artifact) reveal:4 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 5 artifact) name(Tap 5 artifact) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 6 artifact) name(Tap 6 artifact) reveal:6 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 7 artifact) name(Tap 7 artifact) reveal:7 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 8 artifact) name(Tap 8 artifact) reveal:8 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 9 artifact) name(Tap 9 artifact) reveal:9 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 10 artifact) name(Tap 10 artifact) reveal:10 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 11 artifact) name(Tap 11 artifact) reveal:11 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 12 artifact) name(Tap 12 artifact) reveal:12 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 13 artifact) name(Tap 13 artifact) reveal:13 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 14 artifact) name(Tap 14 artifact) reveal:14 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 15 artifact) name(Tap 15 artifact) reveal:15 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 16 artifact) name(Tap 16 artifact) reveal:16 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 17 artifact) name(Tap 17 artifact) reveal:17 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 18 artifact) name(Tap 18 artifact) reveal:18 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 19 artifact) name(Tap 19 artifact) reveal:19 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 20 artifact) name(Tap 20 artifact) reveal:20 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text={T}, Tap X untapped artifacts you control: Look at the top X cards of your library. Put one of those cards into your hand and the rest into your graveyard. -- Partner (You can have two commanders if both have partner.) mana={5}{U} type=Legendary Creature @@ -42085,8 +42086,8 @@ type=Sorcery [/card] [card] name=Glimpse the Cosmos -aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=3]|mylibrary) moveto(hand) +auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend auto=if paid(alternative) then moveTo(exile) autograveyard={U} restriction{type(giant|mybattlefield)~morethan~0}:activate castcard(alternative) text=Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. -- As long as you control a Giant, you may cast Glimpse the Cosmos from your graveyard by paying {U} rather than paying its mana cost. If you cast Glimpse the Cosmos this way and it would be put into your graveyard, exile it instead. @@ -42096,7 +42097,7 @@ type=Sorcery [card] name=Glint Raker abilities=flying -aicode=activate transforms((,newability[if type(artifact[zpos<=thatmuch]|mylibrary)~equalto~0 then all(*[zpos<=thatmuch]|mylibrary) moveto(mygraveyard)],newability[if type(artifact[zpos<=thatmuch]|mylibrary)~morethan~0 then target(artifact[zpos<=thatmuch]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=thatmuch]|mylibrary) moveto(mygraveyard) )!])) oneshot +aicode=activate transforms((,newability[if type(artifact[zpos<=thatmuch]|mylibrary)~equalto~0 then all(*[zpos<=thatmuch]|mylibrary) moveto(mygraveyard)],newability[if type(artifact[zpos<=thatmuch]|mylibrary)~morethan~0 then target(artifact[zpos<=thatmuch]|mylibrary) moveto(hand) and!( all(*[zpos<=thatmuch]|mylibrary) moveto(mygraveyard) )!])) oneshot auto=this(variable{convertedcost:highest:artifact:mybattlefield}>0)while 1/0 auto=this(variable{convertedcost:highest:artifact:mybattlefield}>1)while 1/0 auto=this(variable{convertedcost:highest:artifact:mybattlefield}>2)while 1/0 @@ -42118,7 +42119,7 @@ auto=this(variable{convertedcost:highest:artifact:mybattlefield}>17)while 1/0 auto=this(variable{convertedcost:highest:artifact:mybattlefield}>18)while 1/0 auto=this(variable{convertedcost:highest:artifact:mybattlefield}>19)while 1/0 auto=this(variable{convertedcost:highest:artifact:mybattlefield}>20)while 1/0 -auto=@combatdamaged(player) from(this):may name(Reveal top cards) reveal:thatmuch optionone name(Get an artifact) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on graveyard) target(*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=@combatdamaged(player) from(this):may name(Reveal top cards) reveal:thatmuch optionone name(Get an artifact) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(Put on graveyard) target(*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=Flying -- Glint Raker gets +X/+0, where X is the highest mana value among artifacts you control. -- Whenever Glint Raker deals combat damage to a player, you may reveal that many cards from the top of your library. Put an artifact card revealed this way into your hand and the rest into your graveyard. mana={3}{U} type=Creature @@ -42175,7 +42176,7 @@ toughness=3 name=Glissa's Retriever abilities=haste,poisonthreetoxic auto=cantbeblockedby(creature[power<=2]) -auto=@movedto(this|graveyard) from(battlefield) restriction{compare(opponentpoisoncount)~morethan~2}:name(Exile and return) name(Exile and return card) all(trigger[to]) moveto(myexile) and!( name(Return card) target(*|mygraveyard) moveto(ownerHand) )! +auto=@movedto(this|graveyard) from(battlefield) restriction{compare(opponentpoisoncount)~morethan~2}:name(Exile and return) name(Exile and return card) all(trigger[to]) moveto(myexile) and!( name(Return card) target(*|mygraveyard) moveto(hand) )! text=Haste, toxic 3 (Players dealt combat damage by this creature also get three poison counters.) -- Glissa's Retriever can't be blocked by creatures with power 2 or less. -- Corrupted - When Glissa's Retriever dies, exile it. When you do, return up to X target cards from your graveyard to your hand, where X is the number of opponents who have three or more poison counters. mana={5}{G} type=Creature @@ -42336,8 +42337,8 @@ toughness=3 [card] name=Gloomfang Mauler abilities=menace -aicode=activate moveto(ownerHand) target(swamp|myLibrary) -autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>swamp|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(swamp|myLibrary) +autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>swamp|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend auto=name(This creature) target(this) counter(1/1,2) auto=name(Target other creature) target(other creature) transforms((,newability[counter(1/1.2)],menace)) ueot text=Swampcycling {2} ({2}, Discard this card: Search your library for a Swamp card, reveal it, put it into your hand, then shuffle.) -- Backup 2 (When this creature enters, put two +1/+1 counters on target creature. If that's another creature, it gains the following ability until end of turn.) -- Menace @@ -42350,7 +42351,7 @@ toughness=5 [card] name=Gloomshrieker abilities=menace,exiledeath -auto=target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) +auto=target(*[-instant;-sorcery]|mygraveyard) moveto(hand) text=Menace (This creature can't be blocked except by two or more creatures.) -- When Gloomshrieker enters, return target permanent card from your graveyard to your hand. -- If Gloomshrieker would die, exile it instead. mana={1}{B}{G} type=Enchantment Creature @@ -42478,7 +42479,7 @@ name=Glowstone Recluse abilities=reach,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -43594,8 +43595,8 @@ toughness=1 [card] name=Goldmane Griffin abilities=flying,vigilance -auto=moveto(ownerHand) target(Ajani^ Inspiring Leader|mylibrary) -auto=moveto(ownerHand) target(Ajani^ Inspiring Leader|mygraveyard) +auto=moveto(hand) target(Ajani^ Inspiring Leader|mylibrary) +auto=moveto(hand) target(Ajani^ Inspiring Leader|mygraveyard) text=Flying, vigilance -- When Goldmane Griffin enters, you may search your library and/or graveyard for a card named Ajani, Inspiring Leader, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{W}{W} type=Creature @@ -43705,7 +43706,7 @@ type=Sorcery [/card] [card] name=Golgari Findbroker -auto=target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) +auto=target(*[-instant;-sorcery]|mygraveyard) moveto(hand) text=When Golgari Findbroker enters, return target permanent card from your graveyard to your hand. mana={B}{B}{G}{G} type=Creature @@ -43775,7 +43776,7 @@ toughness=1 [card] name=Gollum, Patient Plotter auto=@movedto(this|nonbattlezone) from(battlefield):name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller -autograveyard={B}{S(creature|myBattlefield)}:name(Return gollum to hand) moveto(ownerhand) asSorcery +autograveyard={B}{S(creature|myBattlefield)}:name(Return gollum to hand) moveto(hand) asSorcery text=When Gollum, Patient Plotter leaves the battlefield, the Ring tempts you. -- {B}, Sacrifice a creature: Return Gollum from your graveyard to your hand. Activate only as a sorcery. mana={1}{B} type=Legendary Creature @@ -44308,8 +44309,8 @@ type=Enchantment [card] name=Grasping Current target=creature -auto=moveto(ownerhand) -auto=moveto(ownerHand) target(Jace^ Ingenious Mind-Mage|mylibrary) +auto=moveto(hand) +auto=moveto(hand) target(Jace^ Ingenious Mind-Mage|mylibrary) text=Return up to two target creatures to their owner's hand. -- Search your library and/or graveyard for a card named Jace, Ingenious Mind-Mage, reveal it, and put it into your hand. If you searched your library this way, shuffle it. mana={4}{U} type=Sorcery @@ -44416,8 +44417,8 @@ subtype=Aura [/card] [card] name=Grave Sifter -auto=chooseatype transforms((,newability[target(creature[chosentype]|mygraveyard) moveto(ownerHand)])) oneshot chooseend -auto=ability$!transforms((,newability[chooseatype transforms((,newability[target(creature[chosentype]|mygraveyard) moveto(ownerHand)])) oneshot chooseend])) oneshot!$ opponent +auto=chooseatype transforms((,newability[target(creature[chosentype]|mygraveyard) moveto(hand)])) oneshot chooseend +auto=ability$!transforms((,newability[chooseatype transforms((,newability[target(creature[chosentype]|mygraveyard) moveto(hand)])) oneshot chooseend])) oneshot!$ opponent text=When Grave Sifter enters, each player chooses a creature type and returns any number of cards of that type from their graveyard to their hand. mana={5}{G} type=Creature @@ -44440,8 +44441,8 @@ toughness=4 [card] name=Gravedig other={2} name(Entwine) -auto=if paid(alternative) then target(player) _ZOMBIETOKEN_ targetedplayer and!( target(creature|mygraveyard) moveto(ownerhand) )! -auto=ifnot paid(alternative) then transforms((,newability[choice target(player) _ZOMBIETOKEN_ targetedplayer],newability[choice target(creature|mygraveyard) moveto(ownerhand)])) +auto=if paid(alternative) then target(player) _ZOMBIETOKEN_ targetedplayer and!( target(creature|mygraveyard) moveto(hand) )! +auto=ifnot paid(alternative) then transforms((,newability[choice target(player) _ZOMBIETOKEN_ targetedplayer],newability[choice target(creature|mygraveyard) moveto(hand)])) text=Choose one - -- - Target player creates a 2/2 black Zombie creature token. -- - Return target creature card from your graveyard to your hand. -- Entwine {2} (Choose both if you pay the entwine cost.) mana={1}{B} type=Sorcery @@ -44507,7 +44508,7 @@ type=Snow Instant [card] name=Graveshifter abilities=changeling -auto=may target(creature|mygraveyard) moveto(ownerHand) +auto=may target(creature|mygraveyard) moveto(hand) text=Changeling (This card is every creature type.) -- When Graveshifter enters, you may return target creature card from your graveyard to your hand. mana={3}{B} type=Creature @@ -44627,7 +44628,7 @@ toughness=1 [/card] [card] name=Grazilaxx, Illithid Scholar -auto=@combat(blocked) source(creature|myBattlefield):may name(Return to hand) all(trigger[to]) moveto(ownerhand) +auto=@combat(blocked) source(creature|myBattlefield):may name(Return to hand) all(trigger[to]) moveto(hand) auto=@combatdamagefoeof(player) from(creature|mybattlefield) turnLimited:name(Draw card) draw:1 controller text=Whenever a creature you control becomes blocked, you may return it to its owner's hand. -- Whenever one or more creatures you control deal combat damage to a player, draw a card. mana={1}{U}{U} @@ -44648,7 +44649,7 @@ toughness=4 [/card] [card] name=Greasefang, Okiba Boss -auto=@each my combatbegins:name(Return a vehicle) target(vehicle|mygraveyard) moveto(mybattlefield) and!( transforms((,haste,newability[@next end:moveTo(ownerhand)])) ueot )! +auto=@each my combatbegins:name(Return a vehicle) target(vehicle|mygraveyard) moveto(mybattlefield) and!( transforms((,haste,newability[@next end:moveTo(hand)])) ueot )! text=At the beginning of combat on your turn, return target Vehicle card from your graveyard to the battlefield. It gains haste. Return it to its owner's hand at the beginning of your next end step. mana={1}{W}{B} type=Legendary Creature @@ -44758,9 +44759,9 @@ toughness=4 [/card] [card] name=Green Sun's Twilight -aicode=activate transforms((,newability[if compare(fullpaid)~lessthan~5 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(creature[zpos<=fullpaidplus1plusend]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if compare(fullpaid)~morethan~4 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(creature[zpos<=fullpaidplus1plusend]|mylibrary) moveto(mybattlefield) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if compare(fullpaid)~lessthan~5 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(land[zpos<=fullpaidplus1plusend]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if compare(fullpaid)~morethan~4 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(land[zpos<=fullpaidplus1plusend]|mylibrary) moveto(mybattlefield) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=if compare(fullpaid)~lessthan~5 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) reveal:fullpaidplus1plusend optionone name(Choose creature) target(creature|reveal) moveto(ownerHand) and!( transforms((,newability[if type(land|myreveal)~morethan~0 then name(Choose a land) name(Choose a land) target(land|reveal) moveto(ownerHand)])) oneshot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend -auto=if compare(fullpaid)~lessthan~5 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) reveal:fullpaidplus1plusend optionone name(Choose a land) target(land|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if compare(fullpaid)~lessthan~5 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(creature[zpos<=fullpaidplus1plusend]|mylibrary) moveto(hand) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if compare(fullpaid)~morethan~4 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(creature[zpos<=fullpaidplus1plusend]|mylibrary) moveto(mybattlefield) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if compare(fullpaid)~lessthan~5 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(land[zpos<=fullpaidplus1plusend]|mylibrary) moveto(hand) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if compare(fullpaid)~morethan~4 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then target(land[zpos<=fullpaidplus1plusend]|mylibrary) moveto(mybattlefield) and!( all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then all(*[zpos<=fullpaidplus1plusend]mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=if compare(fullpaid)~lessthan~5 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) reveal:fullpaidplus1plusend optionone name(Choose creature) target(creature|reveal) moveto(hand) and!( transforms((,newability[if type(land|myreveal)~morethan~0 then name(Choose a land) name(Choose a land) target(land|reveal) moveto(hand)])) oneshot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=if compare(fullpaid)~lessthan~5 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) reveal:fullpaidplus1plusend optionone name(Choose a land) target(land|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=if compare(fullpaid)~morethan~4 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) reveal:fullpaidplus1plusend optionone name(Choose creature) target(creature|reveal) moveto(mylibrary) and!( transforms((tobecast,newability[if type(land|myreveal)~morethan~0 then name(Choose a land) name(Choose a land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot)!])) oneshot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mybattlefield) afterrevealedend revealend auto=if compare(fullpaid)~morethan~4 then if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~morethan~0 then name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) reveal:fullpaidplus1plusend optionone name(Choose a land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot)! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mybattlefield) afterrevealedend revealend auto=if type(creature[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then if type(land[zpos<=fullpaidplus1plusend]|mylibrary)~equalto~0 then name(Reveal top cards) name(Reveal top cards) name(Reveal top cards) reveal:fullpaidplus1plusend optionone name(Put on bottom) target(*|reveal) bottomoflibrary optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend @@ -44968,18 +44969,18 @@ type=Sorcery [/card] [card] name=Grim Captain's Call -auto=ability$!name(Return a Pirate) may name(Return a Pirate) moveto(ownerHand) notatarget(pirate|mygraveyard)!$ controller -auto=ability$!name(Return a Vampire) may name(Return a Vampire) moveto(ownerHand) notatarget(vampire|mygraveyard)!$ controller -auto=ability$!name(Return a Dinosaur) may name(Return a Dinosaur) moveto(ownerHand) notatarget(dinosaur|mygraveyard)!$ controller -auto=ability$!name(Return a Merfolk) may name(Return a Merfolk) moveto(ownerHand) notatarget(merfolk|mygraveyard)!$ controller +auto=ability$!name(Return a Pirate) may name(Return a Pirate) moveto(hand) notatarget(pirate|mygraveyard)!$ controller +auto=ability$!name(Return a Vampire) may name(Return a Vampire) moveto(hand) notatarget(vampire|mygraveyard)!$ controller +auto=ability$!name(Return a Dinosaur) may name(Return a Dinosaur) moveto(hand) notatarget(dinosaur|mygraveyard)!$ controller +auto=ability$!name(Return a Merfolk) may name(Return a Merfolk) moveto(hand) notatarget(merfolk|mygraveyard)!$ controller text=Return a Pirate card from your graveyard to your hand, then do the same for Vampire, Dinosaur, and Merfolk. mana={2}{B} type=Sorcery [/card] [card] name=Grim Discovery -auto=ability$! name(Return target creature) may name(Return target creature) moveto(ownerHand) target(creature|mygraveyard)!$ controller -auto=ability$! name(Return target land) may name(Return target land) moveto(ownerHand) target(land|mygraveyard)!$ controller +auto=ability$! name(Return target creature) may name(Return target creature) moveto(hand) target(creature|mygraveyard)!$ controller +auto=ability$! name(Return target land) may name(Return target land) moveto(hand) target(land|mygraveyard)!$ controller text=Choose one or both -- Return target creature card from your graveyard to your hand. -- Return target land card from your graveyard to your hand. mana={1}{B} type=Sorcery @@ -45048,7 +45049,7 @@ toughness=1 [card] name=Grim Servant abilities=menace -auto=moveto(ownerHand) target(*[manacost<=type:manab:mybattlefield]|myLibrary) +auto=moveto(hand) target(*[manacost<=type:manab:mybattlefield]|myLibrary) auto=life:-3 text=Menace -- When Grim Servant enters, search your library for a card with mana value less than or equal to your devotion to black, reveal it, put it into your hand, then shuffle. You lose 3 life. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.) mana={3}{B} @@ -45338,7 +45339,7 @@ type=Sorcery [/card] [card] name=Growing Rites of Itlimoc -auto=reveal:4 optionone name(Get a creature card) target(<1>creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:4 optionone name(Get a creature card) target(<1>creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend auto=@each my end restriction{type(creature|mybattlefield)~morethan~3}:flip(Itlimoc, Cradle of the Sun) text=When Growing Rites of Itlimoc enters, look at the top four cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in any order. -- At the beginning of your end step, if you control four or more creatures, transform Growing Rites of Itlimoc. mana={2}{G} @@ -45371,7 +45372,7 @@ type=Instant [card] name=Growth-Chamber Guardian auto={2}{G}:_ADAPT2_ -auto=@totalcounteradded(1/1) from(this):transforms((,newability[moveto(ownerHand) target(Growth-Chamber Guardian|myLibrary)])) once +auto=@totalcounteradded(1/1) from(this):transforms((,newability[moveto(hand) target(Growth-Chamber Guardian|myLibrary)])) once text={2}{G}: Adapt 2. (If this creature has no +1/+1 counters on it, put two +1/+1 counters on it.) -- Whenever one or more +1/+1 counters are put on Growth-Chamber Guardian, you may search your library for a card named Growth-Chamber Guardian, reveal it, put it into your hand, then shuffle. mana={1}{G} type=Creature @@ -45668,7 +45669,7 @@ toughness=4 [/card] [card] name=Guardians of Koilos -auto=may target(other *[artifact;legendary;saga]|myBattlefield) moveto(ownerHand) +auto=may target(other *[artifact;legendary;saga]|myBattlefield) moveto(hand) text=When Guardians of Koilos enters, you may return another target historic permanent you control to its owner's hand. (Artifacts, legendaries, and Sagas are historic.) mana={5} type=Artifact Creature @@ -45785,7 +45786,7 @@ toughness=1 [card] name=Guildless Commons auto=tap(noevent) -auto=moveto(ownerhand) target(land|mybattlefield) +auto=moveto(hand) target(land|mybattlefield) auto={T}:add{C}{C} text=Guildless Commons enters tapped. -- When Guildless Commons enters, return a land you control to its owner's hand. -- {T}: Add {C}{C}. type=Land @@ -45814,8 +45815,8 @@ toughness=1 [/card] [card] name=Guildpact Paragon -aicode=activate transforms((,newability[if type(*[numofcols=2&zpos<=6]|mylibrary)~morethan~0 then target(*[numofcols=2&zpos<=6]|mylibrary) moveto(ownerHand) and!( all(other *[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=@movedTo(*[numofcols=2]|mystack):name(look top 6 cards) reveal:6 optionone name(Get multicolored card) target(*[numofcols=2]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(*[numofcols=2&zpos<=6]|mylibrary)~morethan~0 then target(*[numofcols=2&zpos<=6]|mylibrary) moveto(hand) and!( all(other *[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=@movedTo(*[numofcols=2]|mystack):name(look top 6 cards) reveal:6 optionone name(Get multicolored card) target(*[numofcols=2]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Whenever you cast a spell that's exactly two colors, look at the top six cards of your library. You may reveal a card that's exactly two colors from among them and put it into your hand. Put the rest on the bottom of your library in a random order. type=Artifact Creature subtype=Construct @@ -45889,8 +45890,8 @@ toughness=3 [/card] [card] name=Gurmag Drowner -aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!])) ueot -auto=may name(Exploit) exploits target(creature|mybattlefield) && name(look) reveal:4 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(graveyard) optiontwoend revealend +aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!])) ueot +auto=may name(Exploit) exploits target(creature|mybattlefield) && name(look) reveal:4 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(graveyard) optiontwoend revealend text=Exploit (When this creature enters, you may sacrifice a creature.) -- When Gurmag Drowner exploits a creature, look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard. mana={3}{U} type=Creature @@ -45913,7 +45914,7 @@ toughness=2 name=Gust of Wind anyzone=if type(creature[flying]|myBattlefield)~morethan~0 then changecost(colorless:-2) forcedalive target=*[-land]|opponentBattlefield -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=draw:1 controller text=This spell costs {2} less to cast if you control a creature with flying. -- Return target nonland permanent you don't control to its owner's hand. -- Draw a card. mana={3}{U} @@ -45974,7 +45975,7 @@ toughness=3 [card] name=Gutterbones auto=tap -autograveyard={1}{B}:moveto(ownerHand) asSorcery restriction{compare(oplifelost)~morethan~0} +autograveyard={1}{B}:moveto(hand) asSorcery restriction{compare(oplifelost)~morethan~0} text=Gutterbones enters tapped. -- {1}{B}: Return Gutterbones from your graveyard to your hand. Activate this ability only during your turn and only if an opponent lost life this turn. mana={B} type=Creature @@ -46239,8 +46240,8 @@ toughness=3 name=Hakka, Whispering Raven abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@combatdamagefoeof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( _SCRY2_ )! -auto=@combatdamageof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( _SCRY2_ )! +auto=@combatdamagefoeof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(hand) and!( _SCRY2_ )! +auto=@combatdamageof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(hand) and!( _SCRY2_ )! text=Flying -- Whenever Hakka, Whispering Raven deals combat damage to a player, return it to its owner's hand, then scry 2. // {3}{U}{U} Alrund, God of the Cosmos mana={1}{U} type=Legendary Creature @@ -46357,7 +46358,7 @@ color=white [card] name=Halimar Tidecaller auto=lord(creature[land]|myBattlefield) flying -auto=may moveto(ownerHand) target(*[awaken]|mygraveyard) +auto=may moveto(hand) target(*[awaken]|mygraveyard) text=When Halimar Tidecaller enters, you may return target card with awaken from your graveyard to your hand. -- Land creatures you control have flying. mana={2}{U} type=Creature @@ -46757,7 +46758,7 @@ subtype=Equipment [/card] [card] name=Hans Eriksson -auto=_ATTACKING_reveal:1 optionone name(Reveal) target(creature|reveal) moveto(mybattlefield) and!( transforms((,newability[readytofight],newability[target(Hans Eriksson|mybattlefield) dynamicability])) forever )! optiononeend optiontwo target(<1>*|reveal) moveto(ownerHand) optiontwoend revealend +auto=_ATTACKING_reveal:1 optionone name(Reveal) target(creature|reveal) moveto(mybattlefield) and!( transforms((,newability[readytofight],newability[target(Hans Eriksson|mybattlefield) dynamicability])) forever )! optiononeend optiontwo target(<1>*|reveal) moveto(hand) optiontwoend revealend text=Whenever Hans Eriksson attacks, reveal the top card of your library. If it's a creature card, put it onto the battlefield tapped and attacking defending player or a planeswalker they control. Otherwise, put that card into your hand. When you put a creature card onto the battlefield this way, it fights Hans Eriksson. mana={2}{R}{G} type=Legendary Creature @@ -46831,8 +46832,8 @@ subtype=Saga [card] name=Harald, King of Skemfar abilities=menace -aicode=activate target(*[elf;warrior;tyvar;zpos<=5]|mylibrary) moveto(ownerHand) -auto=name(Look top 5 cards) reveal:5 optionone name(Get Elf, Warrior, or Tyvar) target(*[elf;warrior;tyvar;zpos<=5]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[elf;warrior;tyvar;zpos<=5]|mylibrary) moveto(hand) +auto=name(Look top 5 cards) reveal:5 optionone name(Get Elf, Warrior, or Tyvar) target(*[elf;warrior;tyvar;zpos<=5]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Menace (This creature can't be blocked except by two or more creatures.) -- When Harald, King of Skemfar enters, look at the top five cards of your library. You may reveal an Elf, Warrior, or Tyvar card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={1}{B}{G} type=Legendary Creature @@ -46870,7 +46871,7 @@ name=Harbinger of the Tides abilities=asflash other={2}{U}{U} name(Cast with flash) restriction=can play creature -auto=may name(Return tapped creature) target(creature[tapped]|opponentbattlefield) moveto(ownerhand) +auto=may name(Return tapped creature) target(creature[tapped]|opponentbattlefield) moveto(hand) text=You may cast Harbinger of the Tides as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.) -- When Harbinger of the Tides enters, you may return target tapped creature an opponent controls to its owner's hand. mana={U}{U} type=Creature @@ -46986,8 +46987,8 @@ subtype=Aura name=Harness Infinity abilities=exiledeath auto=count(type:*:myhand) && countb(type:*:mygraveyard) -auto=if compare(countedamount)~morethan~0 then if compare(countedbamount)~morethan~0 then all(*|myhand) moveto(myreveal) and!( transforms((,newability[all(*|mygraveyard) moveto(ownerHand) and!( transforms((,newability[all(*|myreveal) moveto(mygraveyard)])) oneshot )!])) oneshot )! -auto=if compare(countedamount)~equalto~0 then if compare(countedbamount)~morethan~0 then then all(*|mygraveyard) moveto(ownerHand) +auto=if compare(countedamount)~morethan~0 then if compare(countedbamount)~morethan~0 then all(*|myhand) moveto(myreveal) and!( transforms((,newability[all(*|mygraveyard) moveto(hand) and!( transforms((,newability[all(*|myreveal) moveto(mygraveyard)])) oneshot )!])) oneshot )! +auto=if compare(countedamount)~equalto~0 then if compare(countedbamount)~morethan~0 then then all(*|mygraveyard) moveto(hand) auto=if compare(countedamount)~morethan~0 then if compare(countedbamount)~equalto~0 then then all(*|myhand) moveto(mygraveyard) text=Exchange your hand and graveyard. -- Exile Harness Infinity. mana={1}{B}{B}{B}{G}{G}{G} @@ -47049,8 +47050,8 @@ type=Legendary Artifact [card] name=Harper Recruiter abilities=flying -aicode=activate target(<4>*[cleric;rogue;warrior;wizard]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! -auto=_ATTACKING_name(Look top 4 cards) reveal:4 optionone name(Get cards) target(*[cleric;rogue;warrior;wizard]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate target(<4>*[cleric;rogue;warrior;wizard]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! +auto=_ATTACKING_name(Look top 4 cards) reveal:4 optionone name(Get cards) target(*[cleric;rogue;warrior;wizard]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Flying -- Whenever Harper Recruiter attacks, look at the top four cards of your library. You may reveal a Cleric card, a Rogue card, a Warrior card, and/or a Wizard card from among them and put those cards into your hand. Put the rest on the bottom of your library in a random order. mana={2}{W} type=Creature @@ -47349,9 +47350,9 @@ toughness=1 [/card] [card] name=Haunting Imitation -auto=if type(creature[zpos=1]|library)~equalto~0 then moveto(ownerHand) +auto=if type(creature[zpos=1]|library)~equalto~0 then moveto(hand) auto=all(creature[zpos=1]|library) clone and!( becomes(Spirit,1/1,flying) forever )! -auto=all(*[zpos=1]|library) moveto(ownerHand) and!( transforms((,newability[choice name(Put back) name(Put back) moveto(ownerlibrary)])) oneshot )! +auto=all(*[zpos=1]|library) moveto(hand) and!( transforms((,newability[choice name(Put back) name(Put back) moveto(ownerlibrary)])) oneshot )! text=Each player reveals the top card of their library. For each creature card revealed this way, create a token that's a copy of that card, except it's 1/1, it's a Spirit in addition to its other types, and it has flying. If no creature cards were revealed this way, return Haunting Imitation to its owner's hand. mana={2}{U} type=Sorcery @@ -47402,9 +47403,9 @@ auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{U} auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{R} auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{G} auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{B} -auto={2}{T}{S}:name(Move dragon) moveto(ownerHand) target(creature[dragon]|mygraveyard) -auto={2}{T}{S}:name(Move Ugin, the Ineffable) moveto(ownerHand) target(Ugin^ the Ineffable|mygraveyard) -auto={2}{T}{S}:name(Move Ugin, the Spirit Dragon) moveto(ownerHand) target(Ugin^ the Spirit Dragon|mygraveyard) +auto={2}{T}{S}:name(Move dragon) moveto(hand) target(creature[dragon]|mygraveyard) +auto={2}{T}{S}:name(Move Ugin, the Ineffable) moveto(hand) target(Ugin^ the Ineffable|mygraveyard) +auto={2}{T}{S}:name(Move Ugin, the Spirit Dragon) moveto(hand) target(Ugin^ the Spirit Dragon|mygraveyard) text={T}: Add {1}. -- {T}: Add one mana of any color. Spend this mana only to cast a Dragon creature spell. -- {2}, {T}, Sacrifice Haven of the Spirit Dragon: Return target Dragon creature card or Ugin planeswalker card from your graveyard to your hand. type=Land [/card] @@ -47530,7 +47531,7 @@ toughness=2 name=Headliner Scarlett abilities=haste auto=target(player) ability$! all(creature|myBattlefield) cantblock !$ targetedplayer -auto=@each my upkeep:_IMPULSEDRAW_ +auto=@each my upkeep:_IMPULSE_DRAW_ text=Haste -- When Headliner Scarlett enters, creatures target player controls can't block this turn. -- At the beginning of your upkeep, exile the top card of your library face down. You may look at and play that card this turn. mana={3}{R} type=Legendary Creature @@ -47600,9 +47601,9 @@ type=Instant name=Healing Technique auto=exiledeath other={3}{G} name(Demonstrate) -auto=name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(ownerHand)])) oneshot -auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(ownerHand)])) oneshot!$ controller -auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(ownerHand)])) oneshot!$ opponent +auto=name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(hand)])) oneshot +auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(hand)])) oneshot!$ controller +auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(hand)])) oneshot!$ opponent text=Demonstrate (When you cast this spell, you may copy it. If you do, choose an opponent to also copy it. Players may choose new targets for their copies.) -- Return target card from your graveyard to your hand. You gain life equal to that card's mana value. Exile Healing Technique. mana={3}{G} type=Sorcery @@ -47796,7 +47797,7 @@ subtype=Equipment [card] name=Hedron Detonator auto=@movedTo(artifact|myBattlefield):damage:1 target(opponent) -auto={T}{S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:_IMPULSEDRAW_ +auto={T}{S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:_IMPULSE_DRAW_ text=Whenever an artifact enters under your control, Hedron Detonator deals 1 damage to target opponent. -- {T}, Sacrifice two artifacts: Exile the top card of your library. You may play that card this turn. mana={2}{R} type=Creature @@ -47838,7 +47839,7 @@ toughness=3 [card] name=Heirloom Blade auto=teach(creature) 3/1 -auto=teach(creature) transforms((,newability[_DIES_Reveal:1 revealzone(mylibrary) revealuntil(*[creature;share!types!]|mylibrary) optionone name(Get Creature) target(*[creature;share!types!]|myreveal) moveto(ownerHand) optiononeend optiontwo choice name(Shuffle) all(*|myreveal) bottomoflibrary && shuffle controller optiontwoend revealend])) +auto=teach(creature) transforms((,newability[_DIES_Reveal:1 revealzone(mylibrary) revealuntil(*[creature;share!types!]|mylibrary) optionone name(Get Creature) target(*[creature;share!types!]|myreveal) moveto(hand) optiononeend optiontwo choice name(Shuffle) all(*|myreveal) bottomoflibrary && shuffle controller optiontwoend revealend])) auto={1}:equip text=Equipped creature gets +3/+1. -- Whenever equipped creature dies, you may reveal cards from the top of your library until you reveal a creature card that shares a creature type with it. Put that card into your hand and the rest on the bottom of your library in a random order. -- Equip {1} mana={3} @@ -47920,7 +47921,7 @@ name=Heliod, the Radiant Dawn backside=Heliod, the Warped Eclipse restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -auto=moveto(ownerHand) target(*[enchantment;-god]|mygraveyard) +auto=moveto(hand) target(*[enchantment;-god]|mygraveyard) auto={3}{p(U)}:flip(backside) asSorcery text=When Heliod, the Radiant Dawn enters, return target enchantment card that isn't a God from your graveyard to your hand. -- {3}{U/P}: Transform Heliod, the Radiant Dawn. Activate only as a sorcery. ({U/P} can be paid with either {U} or 2 life.) mana={2}{W}{W} @@ -48214,7 +48215,7 @@ toughness=4 [/card] [card] name=Herald's Horn -auto=chooseatype transforms((,newability[lord(creature[chosentype]|mycastingzone) changecost(colorless:-1)],newability[@each my upkeep restriction{type(creature[chosentype&zpos=1]|mylibrary)~equalto~0}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( name(Put back) target(*[fresh]|myhand) moveto(mylibrary) )!],newability[@each my upkeep restriction{type(creature[chosentype&zpos=1]|mylibrary)~morethan~0}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[choice name(Keep in hand) donothing],newability[choice name(Put back) moveto(mylibrary)])) oneshot )! ])) forever chooseend +auto=chooseatype transforms((,newability[lord(creature[chosentype]|mycastingzone) changecost(colorless:-1)],newability[@each my upkeep restriction{type(creature[chosentype&zpos=1]|mylibrary)~equalto~0}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( name(Put back) target(*[fresh]|myhand) moveto(mylibrary) )!],newability[@each my upkeep restriction{type(creature[chosentype&zpos=1]|mylibrary)~morethan~0}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[choice name(Keep in hand) donothing],newability[choice name(Put back) moveto(mylibrary)])) oneshot )! ])) forever chooseend text=As Herald's Horn enters, choose a creature type. -- Creature spells you cast of the chosen type cost {1} less to cast. -- At the beginning of your upkeep, look at the top card of your library. If it's a creature card of the chosen type, you may reveal it and put it into your hand. mana={3} type=Artifact @@ -48254,7 +48255,7 @@ toughness=4 [card] name=Herd Migration auto=_BEASTTOKEN_*pbasiclandtypes -autohand={1}{G}{discard}:target(land[basic]|mylibrary) moveto(ownerHand) && life:3 +autohand={1}{G}{discard}:target(land[basic]|mylibrary) moveto(hand) && life:3 text=Domain - Create a 3/3 green Beast creature token for each basic land type among lands you control. -- {1}{G}, Discard Herd Migration: Search your library for a basic land card, reveal it, put it into your hand, then shuffle. You gain 3 life. mana={6}{G} type=Sorcery @@ -48392,7 +48393,7 @@ toughness=4 [card] name=Heroes' Podium auto=lord(creature[legendary]|mybattlefield) transforms((,newability[foreach(other creature[legendary]|mybattlefield) 1/1])) -auto={X}{T}:reveal:x optionone target(creature[legendary]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={X}{T}:reveal:x optionone target(creature[legendary]|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend text=Each legendary creature you control gets +1/+1 for each other legendary creature you control. -- {X}, {T}: Look at the top X cards of your library. You may reveal a legendary creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={5} type=Legendary Artifact @@ -49178,14 +49179,14 @@ type=Conspiracy [/card] [card] name=Holistic Wisdom -auto=aslongas(artifact|myhand) {2}{E(artifact|myhand)}:name(Exile an artifact) name(Exile an artifact) ability$!name(Return an artifact) name(Return an artifact) target(artifact|mygraveyard) moveto(ownerHand)!$ controller -auto=aslongas(creature|myhand) {2}{E(creature|myhand)}:name(Exile a creature) name(Exile a creature) ability$!name(Return a creature) name(Return a creature) target(creature|mygraveyard) moveto(ownerHand)!$ controller -auto=aslongas(enchantment|myhand) {2}{E(enchantment|myhand)}:name(Exile an enchantment) name(Exile an enchantment) ability$!name(Return an enchantment) name(Return an enchantment) target(enchantment|mygraveyard) moveto(ownerHand)!$ controller -auto=aslongas(planeswalker|myhand) {2}{E(planeswalker|myhand)}:name(Exile a planeswalker) name(Exile a planeswalker) ability$!name(Return a planeswalker) name(Return a planeswalker) target(planeswalker|mygraveyard) moveto(ownerHand)!$ controller -auto=aslongas(land|myhand) {2}{E(land|myhand)}:name(Exile a land) name(Exile a land) ability$!name(Return a land) name(Return a land) target(land|mygraveyard) moveto(ownerHand)!$ controller -auto=aslongas(instant|myhand) {2}{E(instant|myhand)}:name(Exile an instant) name(Exile an instant) ability$!name(Return an instant) name(Return an instant) target(instant|mygraveyard) moveto(ownerHand)!$ controller -auto=aslongas(sorcery|myhand) {2}{E(sorcery|myhand)}:name(Exile a sorcery) name(Exile a sorcery) ability$!name(Return a sorcery) name(Return a sorcery) target(sorcery|mygraveyard) moveto(ownerHand)!$ controller -auto=aslongas(tribal|myhand) {2}{E(tribal|myhand)}:name(Exile a tribal) name(Exile a tribal) ability$!name(Return a tribal) name(Return a tribal) target(tribal|mygraveyard) moveto(ownerHand)!$ controller +auto=aslongas(artifact|myhand) {2}{E(artifact|myhand)}:name(Exile an artifact) name(Exile an artifact) ability$!name(Return an artifact) name(Return an artifact) target(artifact|mygraveyard) moveto(hand)!$ controller +auto=aslongas(creature|myhand) {2}{E(creature|myhand)}:name(Exile a creature) name(Exile a creature) ability$!name(Return a creature) name(Return a creature) target(creature|mygraveyard) moveto(hand)!$ controller +auto=aslongas(enchantment|myhand) {2}{E(enchantment|myhand)}:name(Exile an enchantment) name(Exile an enchantment) ability$!name(Return an enchantment) name(Return an enchantment) target(enchantment|mygraveyard) moveto(hand)!$ controller +auto=aslongas(planeswalker|myhand) {2}{E(planeswalker|myhand)}:name(Exile a planeswalker) name(Exile a planeswalker) ability$!name(Return a planeswalker) name(Return a planeswalker) target(planeswalker|mygraveyard) moveto(hand)!$ controller +auto=aslongas(land|myhand) {2}{E(land|myhand)}:name(Exile a land) name(Exile a land) ability$!name(Return a land) name(Return a land) target(land|mygraveyard) moveto(hand)!$ controller +auto=aslongas(instant|myhand) {2}{E(instant|myhand)}:name(Exile an instant) name(Exile an instant) ability$!name(Return an instant) name(Return an instant) target(instant|mygraveyard) moveto(hand)!$ controller +auto=aslongas(sorcery|myhand) {2}{E(sorcery|myhand)}:name(Exile a sorcery) name(Exile a sorcery) ability$!name(Return a sorcery) name(Return a sorcery) target(sorcery|mygraveyard) moveto(hand)!$ controller +auto=aslongas(tribal|myhand) {2}{E(tribal|myhand)}:name(Exile a tribal) name(Exile a tribal) ability$!name(Return a tribal) name(Return a tribal) target(tribal|mygraveyard) moveto(hand)!$ controller text={2}, Exile a card from your hand: Return target card from your graveyard to your hand if it shares a card type with the card exiled this way. (Artifact, creature, enchantment, instant, land, planeswalker, sorcery, and tribal are card types.) mana={1}{G}{G} type=Enchantment @@ -49322,8 +49323,8 @@ toughness=2 [/card] [card] name=Homing Sliver -auto=lord(sliver|hand) transforms((,newability[{3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(ownerHand) and!( shuffle )!])) -autohand={3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=lord(sliver|hand) transforms((,newability[{3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(hand) and!( shuffle )!])) +autohand={3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(hand) and!( shuffle )! text=Each Sliver card in each player's hand has slivercycling {3}. -- Slivercycling {3} ({3}, Discard this card: Search your library for a Sliver card, reveal it, and put it into your hand. Then shuffle.) mana={2}{R} type=Creature @@ -49342,7 +49343,7 @@ subtype=Equipment [/card] [card] name=Honest Rutstein -auto=target(creature|mygraveyard) moveto(ownerhand) +auto=target(creature|mygraveyard) moveto(hand) auto=lord(Creature|mycastingzone) altercost(colorless,-1) text=When Honest Rutstein enters, return target creature card from your graveyard to your hand. -- Creature spells you cast cost {1} less to cast. mana={1}{B}{G} @@ -49563,8 +49564,8 @@ toughness=3 [card] name=Horizon Seeker abilities=boast -auto={1}{G} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend -auto={G} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend +auto={1}{G} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend +auto={G} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend text=Boast-{1}{G}: Search your library for a basic land card, reveal it, put it into your hand, then shuffle. (Activate this ability only if this creature attacked this turn and only once each turn.) mana={2}{G} type=Creature @@ -49662,8 +49663,8 @@ subtype=Equipment [/card] [card] name=Horn of the Mark -aicode=activate transforms((,newability[if type(creature[zpos<=5]|mylibrary)~morethan~0 then target(creature[zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot -auto=@each blockers restriction{type(creature[attacking]|mybattlefield)~morethan~1}:name(Look 5 cards) name(Look 5 cards) reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=5]|mylibrary)~morethan~0 then target(creature[zpos<=5]|mylibrary) moveto(hand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot +auto=@each blockers restriction{type(creature[attacking]|mybattlefield)~morethan~1}:name(Look 5 cards) name(Look 5 cards) reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Whenever two or more creatures you control attack a player, look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2} type=Legendary Artifact @@ -49735,8 +49736,8 @@ toughness=4 [card] name=Horses of the Bruinen auto=choice name(Don't return any creature) scry:1 scrycore delayed dontshow ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller scrycoreend scryend -auto=if type(creature|battlefield)~morethan~0 then choice name(Return 1 creature) name(Return 1 creature) target(creature|battlefield) moveTo(ownerHand) and!( name(Scry 1) scry:1 scrycore delayed dontshow ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller scrycoreend scryend )! -auto=if type(creature|battlefield)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|battlefield) moveTo(ownerHand) and!( name(Return second creature) target(creature|battlefield) moveTo(ownerHand) and!( name(Scry 1) scry:1 scrycore delayed dontshow ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller scrycoreend scryend )! )! +auto=if type(creature|battlefield)~morethan~0 then choice name(Return 1 creature) name(Return 1 creature) target(creature|battlefield) moveTo(hand) and!( name(Scry 1) scry:1 scrycore delayed dontshow ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller scrycoreend scryend )! +auto=if type(creature|battlefield)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|battlefield) moveTo(hand) and!( name(Return second creature) target(creature|battlefield) moveTo(hand) and!( name(Scry 1) scry:1 scrycore delayed dontshow ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller scrycoreend scryend )! )! text=Return up to two target creatures to their owners' hands. Scry 1. The Ring tempts you. mana={3}{U}{U} type=Sorcery @@ -50134,7 +50135,7 @@ type=Sorcery [card] name=Hullbreaker Horror abilities=flash,nofizzle -auto=@movedto(*|mystack):name(Choose one) transforms((,newability[if type(*|opponentstack)~morethan~0 then choice name(Return a spell) name(Return a spell) target(*|opponentstack) spellmover(hand)],newability[if type(*[-land]|opponentbattlefield)~morethan~0 then choice name(Return non-land permanent) name(Return non-land permanent) target(*[-land]|opponentbattlefield) moveto(ownerhand)])) oneshot +auto=@movedto(*|mystack):name(Choose one) transforms((,newability[if type(*|opponentstack)~morethan~0 then choice name(Return a spell) name(Return a spell) target(*|opponentstack) spellmover(hand)],newability[if type(*[-land]|opponentbattlefield)~morethan~0 then choice name(Return non-land permanent) name(Return non-land permanent) target(*[-land]|opponentbattlefield) moveto(hand)])) oneshot text=Flash -- This spell can't be countered. -- Whenever you cast a spell, choose up to one -- Return target spell you don't control to its owner's hand. -- Return target nonland permanent to its owner's hand. mana={5}{U}{U} type=Creature @@ -50468,7 +50469,7 @@ name=Huntmaster Liger abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -50490,7 +50491,7 @@ name=Hurkyl's Final Meditation other={7}{U}{U}{U} name(Cast on opponent turn) otherrestriction=compare(controllerturn)~equalto~0 restriction=compare(controllerturn)~equalto~1 -auto=all(*[-land]|battlefield) moveTo(ownerHand) +auto=all(*[-land]|battlefield) moveTo(hand) auto=emblem transforms((,newability[maxCast(*)0 controller],newability[maxCast(*)0 opponent])) ueot auto=if compare(controllerturn)~equalto~0 then if compare(currentphase)~equalto~0 then name(End turn) name(End turn) name(End turn) all(*|stack) spellmover(exile) && nextphasealter(remove,untap,opponent) && nextphasealter(remove,upkeep,opponent) && nextphasealter(remove,draw,opponent) && nextphasealter(remove,firstmain,opponent) && nextphasealter(remove,combatbegin,opponent) && nextphasealter(remove,combatattackers,opponent) && nextphasealter(remove,combatblockers,opponent) && nextphasealter(remove,combatdamage,opponent) && nextphasealter(remove,combatend,opponent) && nextphasealter(remove,secondmain,opponent) auto=if compare(controllerturn)~equalto~0 then if compare(currentphase)~equalto~1 then name(End turn) name(End turn) name(End turn) all(*|stack) spellmover(exile) && nextphasealter(remove,upkeep,opponent) && nextphasealter(remove,draw,opponent) && nextphasealter(remove,firstmain,opponent) && nextphasealter(remove,combatbegin,opponent) && nextphasealter(remove,combatattackers,opponent) && nextphasealter(remove,combatblockers,opponent) && nextphasealter(remove,combatdamage,opponent) && nextphasealter(remove,combatend,opponent) && nextphasealter(remove,secondmain,opponent) @@ -50518,8 +50519,8 @@ type=Instant [/card] [card] name=Hurkyl, Master Wizard -aicode=activate transforms((,newability[if thisturn(instant[-creature]|mystack)~morethan~0 then if type(instant[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put instant in hand) name(Put instant in hand) name(Put instant in hand) target(instant[zpos<=5]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(sorcery[-creature]|mystack)~morethan~0 then if type(sorcery[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put sorcery in hand) name(Put sorcery in hand) name(Put sorcery in hand) target(sorcery[zpos<=5]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(artifact[-creature]|mystack)~morethan~0 then if type(artifact[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put artifact in hand) name(Put artifact in hand) name(Put instant in hand) target(artifact[zpos<=5]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(enchantment[-creature]|mystack)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put enchantment in hand) name(Put enchantment in hand) name(Put enchantment in hand) target(enchantment[zpos<=5]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(planeswalker[-creature]|mystack)~morethan~0 then if type(planeswalker[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put planeswalker in hand) name(Put planeswalker in hand) name(Put planeswalker in hand) target(planeswalker[zpos<=5]|mylibrary) moveto(ownerHand)!$ controller])) oneshot -auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0}:name(Look top 5) reveal:5 optionone name(Choose noncreature cards) target(*[-land&-creature]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(this) transforms((,newability[if thisturn(instant[-creature]|mystack)~morethan~0 then if type(instant[tobecast]|mylibrary)~morethan~0 then ability$!name(Put instant in hand) name(Put instant in hand) name(Put instant in hand) target(instant[tobecast]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(sorcery[-creature]|mystack)~morethan~0 then if type(sorcery[tobecast]|mylibrary)~morethan~0 then ability$!name(Put sorcery in hand) name(Put sorcery in hand) name(Put sorcery in hand) target(sorcery[tobecast]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(artifact[-creature]|mystack)~morethan~0 then if type(artifact[tobecast]|mylibrary)~morethan~0 then ability$!name(Put artifact in hand) name(Put artifact in hand) name(Put instant in hand) target(artifact[tobecast]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(enchantment[-creature]|mystack)~morethan~0 then if type(enchantment[tobecast]|mylibrary)~morethan~0 then ability$!name(Put enchantment in hand) name(Put enchantment in hand) name(Put enchantment in hand) target(enchantment[tobecast]|mylibrary) moveto(ownerHand)!$ controller],newability[if thisturn(planeswalker[-creature]|mystack)~morethan~0 then if type(planeswalker[tobecast]|mylibrary)~morethan~0 then ability$!name(Put planeswalker in hand) name(Put planeswalker in hand) name(Put planeswalker in hand) target(planeswalker[tobecast]|mylibrary) moveto(ownerHand)!$ controller])) oneshot afterrevealedend revealend +aicode=activate transforms((,newability[if thisturn(instant[-creature]|mystack)~morethan~0 then if type(instant[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put instant in hand) name(Put instant in hand) name(Put instant in hand) target(instant[zpos<=5]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(sorcery[-creature]|mystack)~morethan~0 then if type(sorcery[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put sorcery in hand) name(Put sorcery in hand) name(Put sorcery in hand) target(sorcery[zpos<=5]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(artifact[-creature]|mystack)~morethan~0 then if type(artifact[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put artifact in hand) name(Put artifact in hand) name(Put instant in hand) target(artifact[zpos<=5]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(enchantment[-creature]|mystack)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put enchantment in hand) name(Put enchantment in hand) name(Put enchantment in hand) target(enchantment[zpos<=5]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(planeswalker[-creature]|mystack)~morethan~0 then if type(planeswalker[zpos<=5]|mylibrary)~morethan~0 then ability$!name(Put planeswalker in hand) name(Put planeswalker in hand) name(Put planeswalker in hand) target(planeswalker[zpos<=5]|mylibrary) moveto(hand)!$ controller])) oneshot +auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0}:name(Look top 5) reveal:5 optionone name(Choose noncreature cards) target(*[-land&-creature]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(this) transforms((,newability[if thisturn(instant[-creature]|mystack)~morethan~0 then if type(instant[tobecast]|mylibrary)~morethan~0 then ability$!name(Put instant in hand) name(Put instant in hand) name(Put instant in hand) target(instant[tobecast]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(sorcery[-creature]|mystack)~morethan~0 then if type(sorcery[tobecast]|mylibrary)~morethan~0 then ability$!name(Put sorcery in hand) name(Put sorcery in hand) name(Put sorcery in hand) target(sorcery[tobecast]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(artifact[-creature]|mystack)~morethan~0 then if type(artifact[tobecast]|mylibrary)~morethan~0 then ability$!name(Put artifact in hand) name(Put artifact in hand) name(Put instant in hand) target(artifact[tobecast]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(enchantment[-creature]|mystack)~morethan~0 then if type(enchantment[tobecast]|mylibrary)~morethan~0 then ability$!name(Put enchantment in hand) name(Put enchantment in hand) name(Put enchantment in hand) target(enchantment[tobecast]|mylibrary) moveto(hand)!$ controller],newability[if thisturn(planeswalker[-creature]|mystack)~morethan~0 then if type(planeswalker[tobecast]|mylibrary)~morethan~0 then ability$!name(Put planeswalker in hand) name(Put planeswalker in hand) name(Put planeswalker in hand) target(planeswalker[tobecast]|mylibrary) moveto(hand)!$ controller])) oneshot afterrevealedend revealend text=At the beginning of your end step, if you've cast a noncreature spell this turn, reveal the top five cards of your library. For each card type among noncreature spells you've cast this turn, you may put a card of that type from among the revealed cards into your hand. Put the rest on the bottom of your library in a random order. mana={1}{U}{U} type=Legendary Creature @@ -50753,7 +50754,7 @@ type=Snow Artifact name=Icebreaker Kraken anyzone=affinity(land[snow]|mybattlefield) reduce({1}) auto=all(*[artifact;creature]|opponentbattlefield) frozen -auto={H(land[snow]|mybattlefield)}{H(land[snow]|mybattlefield)}{H(land[snow]|mybattlefield)}:moveTo(ownerhand) +auto={H(land[snow]|mybattlefield)}{H(land[snow]|mybattlefield)}{H(land[snow]|mybattlefield)}:moveTo(hand) text=This spell costs {1} less to cast for each snow land you control. -- When Icebreaker Kraken enters, artifacts and creatures target opponent controls don't untap during that player's next untap step. -- Return three snow lands you control to their owner's hand: Return Icebreaker Kraken to its owner's hand. mana={10}{U}{U} type=Snow Creature @@ -50911,8 +50912,8 @@ toughness=3 [card] name=Icon of Ancestry auto=chooseatype lord(creature[chosentype]|myBattlefield) 1/1 chooseend -aicode=activate target(creature[chosentype;zpos<=3]|mylibrary) moveto(ownerHand) -auto={3}{T}:name(look) reveal:3 optionone name(Get Creature) target(creature[chosentype]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(creature[chosentype;zpos<=3]|mylibrary) moveto(hand) +auto={3}{T}:name(look) reveal:3 optionone name(Get Creature) target(creature[chosentype]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=As Icon of Ancestry enters, choose a creature type. -- Creatures you control of the chosen type get +1/+1. -- {3}, {T}: Look at the top three cards of your library. You may reveal a creature card of the chosen type from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={3} type=Artifact @@ -51028,7 +51029,7 @@ type=Instant [/card] [card] name=Ignite the Beacon -auto=target(planeswalker|mylibrary) moveto(ownerHand) +auto=target(planeswalker|mylibrary) moveto(hand) text=Search your library for up to two planeswalker cards, reveal them, put them into your hand, then shuffle. mana={4}{W} type=Instant @@ -51177,18 +51178,18 @@ name=Illuna, Apex of Wishes abilities=flying,trample,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone) auto={999}:equip other={3}{RG}{U}{U} name(Mutate) -aicode=activate transforms((,newability[target(*[zpos=findfirsttypepermanent]|mylibrary) moveto(myexile) and!( transforms((,newability[if cantargetcard(*[land]|*) then moveto(myexile) and!( all(*[zpos<=findfirsttypepermanent]|mylibrary) moveto(myexile) )!],newability[if cantargetcard(*[creature]|*) then moveto(mybattlefield) and!( all(*[zpos<=findfirsttypepermanent]|mylibrary) moveto(myexile) )!],newability[if cantargetcard(*[-land&-creature]|*) then moveto(ownerHand) and!( all(*[zpos<=findfirsttypepermanent]|mylibrary) moveto(myexile) )!])) oneshot )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos=findfirsttypepermanent]|mylibrary) moveto(myexile) and!( transforms((,newability[if cantargetcard(*[land]|*) then moveto(myexile) and!( all(*[zpos<=findfirsttypepermanent]|mylibrary) moveto(myexile) )!],newability[if cantargetcard(*[creature]|*) then moveto(mybattlefield) and!( all(*[zpos<=findfirsttypepermanent]|mylibrary) moveto(myexile) )!],newability[if cantargetcard(*[-land&-creature]|*) then moveto(hand) and!( all(*[zpos<=findfirsttypepermanent]|mylibrary) moveto(myexile) )!])) oneshot )!])) oneshot auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Over) name(Mutate Over) target(other creature[-human]|mybattlefield) mutateover auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Under) name(Mutate Under) target(other creature[-human]|mybattlefield) mutateunder -auto=@mutated(this):name(Exile top cards) reveal:1 revealzone(mylibrary) revealuntil(*[-land&permanent]|mylibrary) optionone name(Choose nonland permanent) target(*[-land&permanent]|myreveal) moveto(myexile) and!( becomes(tobeill) ueot )! optiononeend optiontwo name(Exile revealed cards) all(*|myreveal) moveto(myexile) optiontwoend afterrevealed all(*[tobeill]|myexile) transforms((,newability[choice name(Put in play) moveto(mybattlefield)],newability[choice name(Put in hand) moveto(ownerHand)])) oneshot afterrevealedend revealend -auto=@mutated(mytgt):name(Exile top cards) reveal:1 revealzone(mylibrary) revealuntil(*[-land&permanent]|mylibrary) optionone name(Choose nonland permanent) target(*[-land&permanent]|myreveal) moveto(myexile) and!( becomes(tobeill) ueot )! optiononeend optiontwo name(Exile revealed cards) all(*|myreveal) moveto(myexile) optiontwoend afterrevealed all(*[tobeill]|myexile) transforms((,newability[choice name(Put in play) moveto(mybattlefield)],newability[choice name(Put in hand) moveto(ownerHand)])) oneshot afterrevealedend revealend +auto=@mutated(this):name(Exile top cards) reveal:1 revealzone(mylibrary) revealuntil(*[-land&permanent]|mylibrary) optionone name(Choose nonland permanent) target(*[-land&permanent]|myreveal) moveto(myexile) and!( becomes(tobeill) ueot )! optiononeend optiontwo name(Exile revealed cards) all(*|myreveal) moveto(myexile) optiontwoend afterrevealed all(*[tobeill]|myexile) transforms((,newability[choice name(Put in play) moveto(mybattlefield)],newability[choice name(Put in hand) moveto(hand)])) oneshot afterrevealedend revealend +auto=@mutated(mytgt):name(Exile top cards) reveal:1 revealzone(mylibrary) revealuntil(*[-land&permanent]|mylibrary) optionone name(Choose nonland permanent) target(*[-land&permanent]|myreveal) moveto(myexile) and!( becomes(tobeill) ueot )! optiononeend optiontwo name(Exile revealed cards) all(*|myreveal) moveto(myexile) optiontwoend afterrevealed all(*[tobeill]|myexile) transforms((,newability[choice name(Put in play) moveto(mybattlefield)],newability[choice name(Put in hand) moveto(hand)])) oneshot afterrevealedend revealend text=Mutate {3}{RG}{U}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying, trample -- Whenever this creature mutates, exile cards from the top of your library until you exile a nonland permanent card. Put that card onto the battlefield or into your hand. mana={2}{G}{U}{R} type=Legendary Creature @@ -51295,27 +51296,27 @@ toughness=3 [card] name=Imbraham, Dean of Theory abilities=flying -auto={U}{U}{T}:name(X=0) ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller -auto={1}{U}{U}{T}:name(X=1) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={2}{U}{U}{T}:name(X=2) all(*[zpos=2]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=2]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={3}{U}{U}{T}:name(X=3) all(*[zpos=3]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=3]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={4}{U}{U}{T}:name(X=4) all(*[zpos=4]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=4]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={5}{U}{U}{T}:name(X=5) all(*[zpos=5]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=5]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={6}{U}{U}{T}:name(X=6) all(*[zpos=6]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=6]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={7}{U}{U}{T}:name(X=7) all(*[zpos=7]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=7]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={8}{U}{U}{T}:name(X=8) all(*[zpos=8]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=8]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={9}{U}{U}{T}:name(X=9) all(*[zpos=9]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=9]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={10}{U}{U}{T}:name(X=10) all(*[zpos=10]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=10]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={11}{U}{U}{T}:name(X=11) all(*[zpos=11]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=11]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={12}{U}{U}{T}:name(X=12) all(*[zpos=12]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=12]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={13}{U}{U}{T}:name(X=13) all(*[zpos=13]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=13]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={14}{U}{U}{T}:name(X=14) all(*[zpos=14]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=14]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={15}{U}{U}{T}:name(X=15) all(*[zpos=15]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=15]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={16}{U}{U}{T}:name(X=16) all(*[zpos=16]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=16]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={17}{U}{U}{T}:name(X=17) all(*[zpos=17]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=17]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={18}{U}{U}{T}:name(X=18) all(*[zpos=18]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=18]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={19}{U}{U}{T}:name(X=19) all(*[zpos=19]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=19]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! -auto={20}{U}{U}{T}:name(X=20) all(*[zpos=20]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=20]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(ownerHand)!$ controller])) oneshot )! +auto={U}{U}{T}:name(X=0) ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller +auto={1}{U}{U}{T}:name(X=1) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={2}{U}{U}{T}:name(X=2) all(*[zpos=2]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=2]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={3}{U}{U}{T}:name(X=3) all(*[zpos=3]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=3]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={4}{U}{U}{T}:name(X=4) all(*[zpos=4]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=4]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={5}{U}{U}{T}:name(X=5) all(*[zpos=5]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=5]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={6}{U}{U}{T}:name(X=6) all(*[zpos=6]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=6]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={7}{U}{U}{T}:name(X=7) all(*[zpos=7]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=7]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={8}{U}{U}{T}:name(X=8) all(*[zpos=8]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=8]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={9}{U}{U}{T}:name(X=9) all(*[zpos=9]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=9]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={10}{U}{U}{T}:name(X=10) all(*[zpos=10]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=10]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={11}{U}{U}{T}:name(X=11) all(*[zpos=11]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=11]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={12}{U}{U}{T}:name(X=12) all(*[zpos=12]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=12]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={13}{U}{U}{T}:name(X=13) all(*[zpos=13]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=13]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={14}{U}{U}{T}:name(X=14) all(*[zpos=14]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=14]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={15}{U}{U}{T}:name(X=15) all(*[zpos=15]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=15]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={16}{U}{U}{T}:name(X=16) all(*[zpos=16]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=16]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={17}{U}{U}{T}:name(X=17) all(*[zpos=17]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=17]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={18}{U}{U}{T}:name(X=18) all(*[zpos=18]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=18]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={19}{U}{U}{T}:name(X=19) all(*[zpos=19]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=19]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! +auto={20}{U}{U}{T}:name(X=20) all(*[zpos=20]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[all(*[zpos<=20]|mylibrary) moveto(myexile) and!( counter(0/0.1.study) )!],newability[ability$!may name(Put exiled card in hand) name(Put exiled card in hand) target(*[counter{0/0.1.study}]|myexile) moveto(hand)!$ controller])) oneshot )! text=Flying -- {X}{U}{U}, {T}: Exile the top X cards of your library and put a study counter on each of them. Then you may put a card you own in exile with a study counter on it into your hand. // {2}{G} Kianne, Dean of Substance mana={2}{U}{U} type=Legendary Creature @@ -51448,7 +51449,7 @@ toughness=3 [card] name=Immortal Phoenix abilities=flying -auto=_DIES_all(trigger[to]) moveto(ownerhand) +auto=_DIES_all(trigger[to]) moveto(hand) text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- When Immortal Phoenix dies, return it to its owner's hand. mana={4}{R}{R} type=Creature @@ -51587,7 +51588,7 @@ toughness=5 [/card] [card] name=Imperial Recovery Unit -auto=_ATTACKING_name(Return creature or vehicle) transforms((,newability[if type(creature[manacost<=2]|mygraveyard)~morethan~0 then choice name(Return creature) name(Return creature) target(creature[manacost<=2]|mygraveyard) moveto(ownerHand)],newability[if type(vehicle[manacost<=2]|mygraveyard)~morethan~0 then choice name(Return vehicle) name(Return vehicle) target(vehicle[manacost<=2]|mygraveyard) moveto(ownerHand)])) oneshot +auto=_ATTACKING_name(Return creature or vehicle) transforms((,newability[if type(creature[manacost<=2]|mygraveyard)~morethan~0 then choice name(Return creature) name(Return creature) target(creature[manacost<=2]|mygraveyard) moveto(hand)],newability[if type(vehicle[manacost<=2]|mygraveyard)~morethan~0 then choice name(Return vehicle) name(Return vehicle) target(vehicle[manacost<=2]|mygraveyard) moveto(hand)])) oneshot auto={crew(other creature[power>=2]|myBattlefield)}:name(crew 2 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~1} auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 2 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~1} text=Whenever Imperial Recovery Unit attacks, return target creature or Vehicle card with mana value 2 or less from your graveyard to your hand. -- Crew 2 (Tap any number of creatures you control with total power 2 or more: This Vehicle becomes an artifact creature until end of turn.) @@ -51963,8 +51964,8 @@ name=Incubation // Incongruity abilities=flash other={1}{G}{U} name(Incongruity) restriction=myturnonly -aicode=activate moveto(ownerHand) target(creature[zpos<=5]|mylibrary) -auto=ifnot paid(alternative) then name(Look 5 cards) reveal:5 optionone name(Get a creature) target(<1>creature|reveal) moveto(ownerHand) optiononeend optiontwo name(bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate moveto(hand) target(creature[zpos<=5]|mylibrary) +auto=ifnot paid(alternative) then name(Look 5 cards) reveal:5 optionone name(Get a creature) target(<1>creature|reveal) moveto(hand) optiononeend optiontwo name(bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend auto=if paid(alternative) then choice name(Exile opponent's creature) name(Exile opponent's creature) target(creature|opponentBattlefield) moveTo(exile) && token(Frog Lizard,Creature Frog Lizard,3/3,green) opponent auto=if paid(alternative) then choice name(Exile your creature) name(Exile your creature) target(creature|mybattlefield) moveTo(exile) && token(Frog Lizard,Creature Frog Lizard,3/3,green) text=Look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Exile target creature. That creature's controller creates a 3/3 green Frog Lizard creature token. @@ -52223,26 +52224,26 @@ type=Instant [/card] [card] name=Infernal Harvest -auto=if type(swamp|myBattlefield)~morethan~0 then choice name(Move 1 Swamp) name(Move 1 Swamp) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~1 then choice name(Move 2 Swamps) name(Move 2 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<2>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~2 then choice name(Move 3 Swamps) name(Move 3 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<3>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~3 then choice name(Move 4 Swamps) name(Move 4 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<4>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~4 then choice name(Move 5 Swamps) name(Move 5 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<5>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~5 then choice name(Move 6 Swamps) name(Move 6 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<6>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~6 then choice name(Move 7 Swamps) name(Move 7 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<7>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~7 then choice name(Move 8 Swamps) name(Move 8 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<8>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~8 then choice name(Move 9 Swamps) name(Move 9 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<9>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~9 then choice name(Move 10 Swamps) name(Move 10 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<10>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~10 then choice name(Move 11 Swamps) name(Move 11 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<11>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~11 then choice name(Move 12 Swamps) name(Move 12 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<12>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~12 then choice name(Move 13 Swamps) name(Move 13 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<13>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~13 then choice name(Move 14 Swamps) name(Move 14 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<14>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~14 then choice name(Move 15 Swamps) name(Move 15 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<15>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~15 then choice name(Move 16 Swamps) name(Move 16 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<16>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~16 then choice name(Move 17 Swamps) name(Move 17 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<17>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~17 then choice name(Move 18 Swamps) name(Move 18 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<18>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 19 Swamps) name(Move 19 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<19>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 20 Swamps) name(Move 20 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<20>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~0 then choice name(Move 1 Swamp) name(Move 1 Swamp) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~1 then choice name(Move 2 Swamps) name(Move 2 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<2>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~2 then choice name(Move 3 Swamps) name(Move 3 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<3>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~3 then choice name(Move 4 Swamps) name(Move 4 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<4>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~4 then choice name(Move 5 Swamps) name(Move 5 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<5>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~5 then choice name(Move 6 Swamps) name(Move 6 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<6>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~6 then choice name(Move 7 Swamps) name(Move 7 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<7>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~7 then choice name(Move 8 Swamps) name(Move 8 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<8>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~8 then choice name(Move 9 Swamps) name(Move 9 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<9>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~9 then choice name(Move 10 Swamps) name(Move 10 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<10>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~10 then choice name(Move 11 Swamps) name(Move 11 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<11>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~11 then choice name(Move 12 Swamps) name(Move 12 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<12>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~12 then choice name(Move 13 Swamps) name(Move 13 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<13>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~13 then choice name(Move 14 Swamps) name(Move 14 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<14>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~14 then choice name(Move 15 Swamps) name(Move 15 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<15>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~15 then choice name(Move 16 Swamps) name(Move 16 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<16>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~16 then choice name(Move 17 Swamps) name(Move 17 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<17>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~17 then choice name(Move 18 Swamps) name(Move 18 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<18>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 19 Swamps) name(Move 19 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<19>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 20 Swamps) name(Move 20 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(hand) target(<20>swamp|myBattlefield) text=As an additional cost to cast Infernal Harvest, return X Swamps you control to their owner's hand. -- Infernal Harvest deals X damage divided as you choose among any number of target creatures. mana={1}{B} type=Sorcery @@ -52519,8 +52520,8 @@ type=Sorcery [/card] [card] name=Ingenious Smith -aicode=activate target(artifact[zpos<=4]|mylibrary) moveto(ownerHand) and!( transforms((,newability[all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! -auto=name(look) reveal:4 optionone name(Get an artifact) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary)! optiontwoend revealend +aicode=activate target(artifact[zpos<=4]|mylibrary) moveto(hand) and!( transforms((,newability[all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! +auto=name(look) reveal:4 optionone name(Get an artifact) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary)! optiontwoend revealend auto=@movedto(artifact|myBattlefield) turnlimited:name(Put 1/1 counter) counter(1/1) text=When Ingenious Smith enters, look at the top four cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Whenever one or more artifacts enter the battlefield under your control, put a +1/+1 counter on Ingenious Smith. This ability triggers only once each turn. mana={1}{W} @@ -52532,7 +52533,7 @@ toughness=1 [card] name=Ingenuity Engine autostack=if casted(this) then cascade:plibrarycount -auto={1}{T}{S(artifact|mybattlefield)}:moveto(ownerhand) target(artifact|mybattlefield) +auto={1}{T}{S(artifact|mybattlefield)}:moveto(hand) target(artifact|mybattlefield) text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- {1} , {T}, Sacrifice an artifact: Return target artifact you control to its owner's hand. mana={7} type=Artifact @@ -52599,7 +52600,7 @@ toughness=1 [/card] [card] name=Injector Crocodile -autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveto(hand) and!( shuffle )! auto=_DIES_name(Incubate 3) name(Incubate 3) token(Incubator) and!( counter(1/1.3) )! text=When Injector Crocodile dies, incubate 3. (Create an Incubator token with three +1/+1 counters on it and "{2}: Transform this artifact." It transforms into a 0/0 Phyrexian artifact creature.) -- Swampcycling {2} ({2}, Discard this card: Search your library for a Swamp card, reveal it, put it into your hand, then shuffle.) mana={4}{B}{B} @@ -52728,7 +52729,7 @@ name=Insatiable Hemophage abilities=deathtouch,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -52764,10 +52765,10 @@ name=Inscription of Insight kicker={2}{U}{U} aicode=activate transforms((,newability[draw:2 controller])) oneshot auto=if paid(kicker) then ability$!name(Scry 2 and draw) may name(Scry 2 and draw) scry:2 scrycore delayed draw:2 controller scrycoreend scryend!$ controller -auto=if paid(kicker) then ability$!name(Choose one) choice name(Return 1 creature) target(creature|battlefield) moveto(ownerhand) _ choice name(Return 2 creatures) target(creature|battlefield) moveto(ownerhand) _ choice name(Don't return any creature) donothing!$ controller +auto=if paid(kicker) then ability$!name(Choose one) choice name(Return 1 creature) target(creature|battlefield) moveto(hand) _ choice name(Return 2 creatures) target(creature|battlefield) moveto(hand) _ choice name(Don't return any creature) donothing!$ controller auto=if paid(kicker) then ability$!name(Choose one) choice name(You create an X/X illusion) token(Illusion,Creature Illusion,phandcount/phandcount,blue) _ choice name(Opponent creates an X/X illusion) token(Illusion,Creature Illusion,ohandcount/ohandcount,blue) opponent _ choice name(Don't creates illusion) donothing!$ controller -auto=ifnot paid(kicker) then choice name(Return 1 creature to owner hand) name(Return 1 creature to owner hand) moveTo(ownerHand) target(creature|battlefield) -auto=ifnot paid(kicker) then choice name(Return 2 creatures to owner hand) name(Return 2 creatures to owner hand) moveTo(ownerHand) target(<2>creature|battlefield) +auto=ifnot paid(kicker) then choice name(Return 1 creature to owner hand) name(Return 1 creature to owner hand) moveTo(hand) target(creature|battlefield) +auto=ifnot paid(kicker) then choice name(Return 2 creatures to owner hand) name(Return 2 creatures to owner hand) moveTo(hand) target(<2>creature|battlefield) auto=ifnot paid(kicker) then choice name(Scry 2 and draw) name(Scry 2 and draw) scry:2 scrycore delayed draw:2 controller scrycoreend scryend auto=ifnot paid(kicker) then choice name(You create an X/X illusion) name(You create an X/X illusion) token(Illusion,Creature Illusion,phandcount/phandcount,blue) auto=ifnot paid(kicker) then choice name(Opponent creates an X/X illusion) name(Opponent creates an X/X illusion) token(Illusion,Creature Illusion,ohandcount/ohandcount,blue) opponent @@ -53006,7 +53007,7 @@ subtype=Aura [card] name=Instrument of the Bards auto=@each my upkeep:may name(Put harmony counter) counter(0/0,1,Harmony) -auto={3}{G}{T}:name(Search creature) transforms((,newability[target(creature[manacost=hascntharmony]|mylibrary) moveto(ownerHand) and!( if cantargetcard(*[legendary]|*) then _TREASURE_ )!])) oneshot +auto={3}{G}{T}:name(Search creature) transforms((,newability[target(creature[manacost=hascntharmony]|mylibrary) moveto(hand) and!( if cantargetcard(*[legendary]|*) then _TREASURE_ )!])) oneshot text=At the beginning of your upkeep, you may put a harmony counter on Instrument of the Bards. -- {3}{G}, {T}: Search your library for a creature card with mana value equal to the number of harmony counters on Instrument of the Bards, reveal it, and put it into your hand. If that card is legendary, create a Treasure token. Then shuffle. mana={G} type=Legendary Artifact @@ -53064,7 +53065,7 @@ type=Instant name=Intellect Devourer auto=ability$!name(Exile a card) name(Exile a card) target(*|myhand) moveto(exile) and!( counter(0/0.1.IntellectExiled) )! !$ opponent auto={0}:name(Cast from opponent exile) target(*[counter{0/0.1.IntellectExiled}]|opponentexile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.IntellectExiled)],newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[end once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.IntellectExiled)])) ueot )! -auto=_DIES_name(Return exiled card) all(*[counter{0/0.1.IntellectExiled}]|opponentexile) moveto(ownerhand) +auto=_DIES_name(Return exiled card) all(*[counter{0/0.1.IntellectExiled}]|opponentexile) moveto(hand) text=Devour Intellect - When Intellect Devourer enters, each opponent exiles a card from their hand until Intellect Devourer leaves the battlefield. -- Body Thief - You may play lands and cast spells from among cards exiled with Intellect Devourer. If you cast a spell this way, you may spend mana as though it were mana of any color to cast it. mana={3}{B} type=Creature @@ -53097,7 +53098,7 @@ subtype=Aura name=Interdisciplinary Mascot other={convoke} name(Convoke) auto=_WARD3_ -auto=name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Ward {3} -- When Interdisciplinary Mascot enters, look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order. mana={6}{U}{U} type=Creature @@ -53167,7 +53168,7 @@ type=Sorcery [card] name=Into the Fire auto=choice name(Deals 2 damage) all(*[creature;planeswalker;battle]|battlefield) damage:2 -auto=choice name(Put cards on bottom) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[name(Put cards on bottom) target(other *|myhand) bottomoflibrary and!( draw:1 controller )!])) oneshot )! +auto=choice name(Put cards on bottom) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[name(Put cards on bottom) target(other *|myhand) bottomoflibrary and!( draw:1 controller )!])) oneshot )! text=Choose one -- Into the Fire deals 2 damage to each creature, planeswalker, and battle. -- Put any number of cards from your hand on the bottom of your library, then draw that many cards plus one. mana={2}{R} type=Sorcery @@ -53272,14 +53273,14 @@ toughness=3 [/card] [card] name=Intuition -auto=name(Search first card) target(*|mylibrary) moveto(ownerHand) and!( transforms((tobeint,newability[name(Search second card) target(*|mylibrary) moveto(ownerHand) and!( transforms((tobeint,newability[name(Search third card) target(*|mylibrary) moveto(ownerHand) and!( transforms((tobeint,newability[shuffle],newability[ability$!name(Put in graveyard) name(Put in graveyard) target(tobeint|opponenthand) moveto(opponentgraveyard) and!( all(other tobeint|opponenthand) losesatype(tobeint) )!!$ opponent])) ueot )!])) ueot )!])) ueot )! +auto=name(Search first card) target(*|mylibrary) moveto(hand) and!( transforms((tobeint,newability[name(Search second card) target(*|mylibrary) moveto(hand) and!( transforms((tobeint,newability[name(Search third card) target(*|mylibrary) moveto(hand) and!( transforms((tobeint,newability[shuffle],newability[ability$!name(Put in graveyard) name(Put in graveyard) target(tobeint|opponenthand) moveto(opponentgraveyard) and!( all(other tobeint|opponenthand) losesatype(tobeint) )!!$ opponent])) ueot )!])) ueot )!])) ueot )! text=Search your library for any three cards and reveal them. Target opponent chooses one. Put that card into your hand and the rest into your graveyard. Then shuffle. mana={2}{U} type=Instant [/card] [card] name=Invade the City -auto=if type(army|mybattlefield)~morethan~0 then name(Put 1/1 counters) name(Put 1/1 counters) notatarget(army|myBattlefield) transforms((Zombie,newability[counter(1/1.pginstantsorcery)])) forever else name(Create Zombie Army) token(Zombie Army^Creature Zombie Army^0/0^black) and!( name(Put 1/1 counters) counter(1/1.pginstantsorcery) notatarget(army|myBattlefield) )! +auto=if type(army|mybattlefield)~morethan~0 then name(Put 1/1 counters) name(Put 1/1 counters) notatarget(army|myBattlefield) transforms((Zombie,newability[counter(1/1.pginstantsorceryminus1minusend)])) forever else name(Create Zombie Army) token(Zombie Army^Creature Zombie Army^0/0^black) and!( name(Put 1/1 counters) counter(1/1.pginstantsorceryminus1minusend) notatarget(army|myBattlefield) )! text=Amass X, where X is the number of instant and sorcery cards in your graveyard. (Put X +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) mana={1}{U}{R} type=Sorcery @@ -53311,8 +53312,8 @@ backside=Awaken the Maelstrom restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0.7.Defense) -auto=if type(*[-land;manacost<=4]|mylibrary)~morethan~1 then ability$!name(Put card in hand) name(Put card in hand) name(Put card in hand) target(*[-land;manacost<=4]|mylibrary) moveto(ownerHand) and!( transforms((,newability[may name(Cast another card) target(*[-land;manacost<=4]|mylibrary) activate castcard(normal)])) oneshot )! !$ controller -auto=if type(*[-land;manacost<=4]|mylibrary)~equalto~1 then ability$!name(Choose card) name(Choose card) name(Choose card) target(*[-land;manacost<=4]|mylibrary) moveto(ownerHand) and!( transforms((,newability[may name(Cast card) activate castcard(normal)])) oneshot )! !$ controller +auto=if type(*[-land;manacost<=4]|mylibrary)~morethan~1 then ability$!name(Put card in hand) name(Put card in hand) name(Put card in hand) target(*[-land;manacost<=4]|mylibrary) moveto(hand) and!( transforms((,newability[may name(Cast another card) target(*[-land;manacost<=4]|mylibrary) activate castcard(normal)])) oneshot )! !$ controller +auto=if type(*[-land;manacost<=4]|mylibrary)~equalto~1 then ability$!name(Choose card) name(Choose card) name(Choose card) target(*[-land;manacost<=4]|mylibrary) moveto(hand) and!( transforms((,newability[may name(Cast card) activate castcard(normal)])) oneshot )! !$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( moveto(ownergraveyard) and!( transforms((,newability[activate castcard(copied named!:awaken the maelstrom:!)])) oneshot )! )! text=When Invasion of Alara enters, exile cards from the top of your library until you exile two nonland cards with mana value 4 or less. You may cast one of those two cards without paying its mana cost. Put one of them into your hand. Then put the other cards exiled this way on the bottom of your library in a random order. @@ -53343,7 +53344,7 @@ backside=Invocation of the Founders restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0.7.Defense) -auto=ability$!name(Search card) name(Search card) target(*[instant;sorcery]|mylibrary,mygraveyard,mysideboard) moveto(ownerHand)!$ controller +auto=ability$!name(Search card) name(Search card) target(*[instant;sorcery]|mylibrary,mygraveyard,mysideboard) moveto(hand)!$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( flip(backside) forcetype(Enchantment) )! text=(As a Siege enters, choose an opponent to protect it. You and others can attack it. When it's defeated, exile it, then cast it transformed.) -- When Invasion of Arcavios enters, search your library, graveyard, and/or outside the game for an instant or sorcery card you own, reveal it, and put it into your hand. If you search your library this way, shuffle. @@ -53526,9 +53527,9 @@ name=Invasion of Ixalan backside=Belligerent Regisaur restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -aicode=activate transforms((,newability[if type(*[-instant;-sorcery;zpos<=5]|myLibrary)~morethan~0 then target(*[-instant;-sorcery;zpos<=5]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[-instant;-sorcery;zpos<=5]|myLibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +aicode=activate transforms((,newability[if type(*[-instant;-sorcery;zpos<=5]|myLibrary)~morethan~0 then target(*[-instant;-sorcery;zpos<=5]|myLibrary) moveto(hand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[-instant;-sorcery;zpos<=5]|myLibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot auto=counter(0/0.4.Defense) -auto=ability$!name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Get a permanent) target(*[-instant;-sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend!$ controller +auto=ability$!name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Get a permanent) target(*[-instant;-sorcery]|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend!$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( flip(backside) forcetype(Creature Dinosaur) )! text=(As a Siege enters, choose an opponent to protect it. You and others can attack it. When it's defeated, exile it, then cast it transformed.) -- When Invasion of Ixalan enters, look at the top five cards of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. @@ -53697,7 +53698,7 @@ restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0.4.Defense) aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) transforms((,newability[if cantargetcard(*[land;hasbackside]|*) then name(Draw a card) draw:1 controller])) oneshot])) oneshot -auto=ability$!scry:3 scrycore delayed dontshow transforms((,newability[if type(*[hasbackside&zpos=1]|mylibrary)~equalto~1 then all(*[hasbackside&zpos=1]|mylibrary) moveto(ownerHand) else if type(land[zpos=1]|mylibrary)~equalto~1 then all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot scrycoreend scryend!$ controller +auto=ability$!scry:3 scrycore delayed dontshow transforms((,newability[if type(*[hasbackside&zpos=1]|mylibrary)~equalto~1 then all(*[hasbackside&zpos=1]|mylibrary) moveto(hand) else if type(land[zpos=1]|mylibrary)~equalto~1 then all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot scrycoreend scryend!$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( flip(backside) forcetype(Creature Beast) )! text=(As a Siege enters, choose an opponent to protect it. You and others can attack it. When it's defeated, exile it, then cast it transformed.) -- When Invasion of Pyrulea enters, scry 3, then reveal the top card of your library. If it's a land or double-faced card, draw a card. @@ -53753,7 +53754,7 @@ backside=Leyline Surge restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0.6.Defense) -auto=ability$!may name(Return 3 permanents) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand)!$ controller +auto=ability$!may name(Return 3 permanents) target(*[-instant;-sorcery]|mygraveyard) moveto(hand)!$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( flip(backside) forcetype(Enchantment) )! text=(As a Siege enters, choose an opponent to protect it. You and others can attack it. When it's defeated, exile it, then cast it transformed.) -- When Invasion of Shandalar enters, return up to three target permanent cards from your graveyard to your hand. @@ -53780,7 +53781,7 @@ backside=Ephara, Ever-Sheltering restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0.4.Defense) -auto=ability$!name(Search library) name(Search library) target(*[aura;god;demigod]|mylibrary) moveto(ownerHand) and!( shuffle )! !$ controller +auto=ability$!name(Search library) name(Search library) target(*[aura;god;demigod]|mylibrary) moveto(hand) and!( shuffle )! !$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( flip(backside) forcetype(Legendary Enchantment Creature) )! text=(As a Siege enters, choose an opponent to protect it. You and others can attack it. When it's defeated, exile it, then cast it transformed.) -- When Invasion of Theros enters, search your library for an Aura, God, or Demigod card, reveal it, put it into your hand, then shuffle. @@ -53837,7 +53838,7 @@ backside=Vertex Paladin restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0.4.Defense) -auto=ability$!may name(Return creature) name(Return creature) target(creature|battlefield) moveto(ownerhand)!$ controller +auto=ability$!may name(Return creature) name(Return creature) target(creature|battlefield) moveto(hand)!$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( flip(backside) forcetype(Creature Beast) )! text=(As a Siege enters, choose an opponent to protect it. You and others can attack it. When it's defeated, exile it, then cast it transformed.) -- When Invasion of Xerex enters, return up to one target creature to its owner's hand. @@ -53880,8 +53881,8 @@ restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=may name(Return creature or planeswalker) target(*[creature;planeswalker]|battlefield) moveto(ownerhand) -auto=@counteradded(0/0,1,Lore) from(this) restriction{type(artifact|mygraveyard)~morethan~0}:this(counter{0/0.2.Lore}=) name(Return and artifact) name(Return and artifact) target(artifact|mygraveyard) moveto(ownerHand) +auto=may name(Return creature or planeswalker) target(*[creature;planeswalker]|battlefield) moveto(hand) +auto=@counteradded(0/0,1,Lore) from(this) restriction{type(artifact|mygraveyard)~morethan~0}:this(counter{0/0.2.Lore}=) name(Return and artifact) name(Return and artifact) target(artifact|mygraveyard) moveto(hand) auto=@counteradded(0/0,1,Lore) from(this) restriction{type(artifact|mygraveyard)~equalto~0}:this(counter{0/0.2.Lore}=) name(Draw a card) name(Draw a card) draw:1 controller auto=@counteradded(0/0,1,Lore) from(this) turnlimited:this(counter{0/0.3.Lore}) moveto(exile) and!( flip(backside) forcetype(Enchantment Creature) )! text=(As this Saga enters and after your draw step, add a lore counter.) -- I - Return up to one target creature or planeswalker to its owner's hand. -- II - Return an artifact card from your graveyard to your hand. If you can't, draw a card. -- III - Exile this Saga, then return it to the battlefield transformed under your control. @@ -53903,7 +53904,7 @@ toughness=9 name=Invert // Invent other={4}{U}{R} name(Invent) auto=ifnot paid(alternative) then target(creature) transforms((,setpower=toughness,settoughness=power)) ueot -auto=if paid(alternative) then target(*[instant;sorcery]|myLibrary) moveto(ownerHand) and!(shuffle)! +auto=if paid(alternative) then target(*[instant;sorcery]|myLibrary) moveto(hand) and!(shuffle)! text=Switch the power and toughness of each of up to two target creatures until end of turn. -- Search your library for an instant card and/or a sorcery card, reveal them, put them into your hand, then shuffle. mana={UR} type=Instant @@ -54058,7 +54059,7 @@ subtype=Desert [/card] [card] name=Irascible Wolverine -auto=_IMPULSEDRAW_ +auto=_IMPULSE_DRAW_ autohand={2}{R}:_PLOT_ autoexile=_PLOTCAST_ text=When Irascible Wolverine enters, exile the top card of your library. Until end of turn, you may play that card. -- Plot {2}{R} (You may pay {2}{R} and exile this card from your hand. Cast it as a sorcery on a later turn without paying its mana cost. Plot only as a sorcery.) @@ -54489,7 +54490,7 @@ type=Enchantment [/card] [card] name=Ixalli's Diviner -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=When Ixalli's Diviner enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={1}{G} @@ -54648,8 +54649,8 @@ toughness=2 [card] name=Jace's Ruse target=creature -auto=moveTo(ownerHand) -auto=may name(Search library or graveyard) moveto(ownerHand) target(Jace^ Arcane Strategist|myLibrary,myGraveyard) +auto=moveTo(hand) +auto=may name(Search library or graveyard) moveto(hand) target(Jace^ Arcane Strategist|myLibrary,myGraveyard) text=Return up to two target creatures to their owner's hand. You may search your library and/or graveyard for a card named Jace, Arcane Strategist, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{U}{U} type=Sorcery @@ -54830,7 +54831,7 @@ toughness=3 [/card] [card] name=Jadelight Ranger -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ auto=_EXPLORES_ text=When Jadelight Ranger enters, it explores, then it explores again. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard. Then repeat this process.) @@ -54847,7 +54848,7 @@ otherrestriction=can play sorcery,compare(isflipped)~equalto~1 restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(Journey to the Oracle) autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:journey to the oracle:!)])) forever -auto={D(*|myhand)}:moveto(ownerhand) +auto={D(*|myhand)}:moveto(hand) auto=@movedto(*[instant;sorcery]|mystack):name(Look top card) reveal:1 optionone target(land|reveal) moveto(mybattlefield) oneshot optiononeend optiontwo name(Cast for 1 or put back) target(*|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[pay({1}) name(Cast for 1) activate castcard(normal)])) oneshot afterrevealedend revealend text=Discard a card: Return Jadzi, Oracle of Arcavios to its owner's hand. -- Magecraft - Whenever you cast or copy an instant or sorcery spell, reveal the top card of your library. If it's a nonland card, you may cast it by paying 1 rather than paying its mana cost. If it's a land card, put it onto the battlefield. // {2}{G}{G} Journey to the Oracle mana={6}{U}{U} @@ -54900,37 +54901,37 @@ toughness=3 [card] name=Jar of Eyeballs auto=@movedTo(creature|mygraveyard) from(battlefield):counter(0/0,2,Eyeball) -auto=this(counter{0/0.2.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:2 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.4.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:4 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.6.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:6 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.8.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:8 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.10.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:10 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.12.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:12 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.14.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:14 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.16.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:16 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.18.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:18 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.20.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:20 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.22.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:22 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.24.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:24 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.26.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:26 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.28.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:28 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.30.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:30 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.32.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:32 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.34.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:34 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.36.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:36 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.38.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:38 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.40.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:40 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.42.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:42 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.44.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:44 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.46.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:46 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.48.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:48 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.50.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:50 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.52.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:52 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.54.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:54 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.56.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:56 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.58.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:58 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.60.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:60 optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=this(counter{0/0.1.Eyeball}>=62) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:plibrarycount optionone target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.2.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:2 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.4.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:4 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.6.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:6 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.8.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:8 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.10.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:10 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.12.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:12 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.14.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:14 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.16.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:16 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.18.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:18 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.20.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:20 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.22.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:22 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.24.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:24 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.26.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:26 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.28.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:28 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.30.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:30 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.32.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:32 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.34.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:34 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.36.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:36 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.38.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:38 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.40.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:40 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.42.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:42 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.44.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:44 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.46.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:46 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.48.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:48 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.50.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:50 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.52.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:52 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.54.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:54 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.56.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:56 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.58.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:58 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.60.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:60 optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=this(counter{0/0.1.Eyeball}>=62) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:plibrarycount optionone target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend text=Whenever a creature you control dies, put two eyeball counters on Jar of Eyeballs. -- {3}, {T}, Remove all eyeball counters from Jar of Eyeballs: Look at the top X cards of your library, where X is the number of eyeball counters removed this way. Put one of them into your hand and the rest on the bottom of your library in any order. mana={3} type=Artifact @@ -55299,7 +55300,7 @@ toughness=3 [/card] [card] name=Johnny, Combo Player -auto={4}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto={4}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={4}: Search your library for a card and put that card into your hand. Then shuffle. mana={2}{U}{U} type=Legendary Creature @@ -55492,7 +55493,7 @@ toughness=5 [/card] [card] name=Journey for the Elixir -auto=activate notatarget(basic|mylibrary,mygraveyard) moveto(ownerHand) +auto=activate notatarget(basic|mylibrary,mygraveyard) moveto(hand) auto=moverandom(Jiang Yanggu) from(mylibrary) to(myhand) text=Search your library and graveyard for a basic land card and a card named Jiang Yanggu, reveal them, put them into your hand, then shuffle. mana={2}{G} @@ -55589,7 +55590,7 @@ type=Enchantment [card] name=Journey to the Oracle abilities=doublefacedeath -auto=target(land|myhand) moveto(myBattlefield) and!( if type(land|mybattlefield)~morethan~7 then may name(Discard and return jadzi) ability$!name(Discard and return jadzi) name(Discard and return jadzi) target(*|myhand) transforms((,newability[reject],newability[name(Discard and return jadzi) target(*[Jadzi^ Oracle of Arcavios;fresh]|mygraveyard) moveto(ownerhand)])) oneshot!$ controller )! +auto=target(land|myhand) moveto(myBattlefield) and!( if type(land|mybattlefield)~morethan~7 then may name(Discard and return jadzi) ability$!name(Discard and return jadzi) name(Discard and return jadzi) target(*|myhand) transforms((,newability[reject],newability[name(Discard and return jadzi) target(*[Jadzi^ Oracle of Arcavios;fresh]|mygraveyard) moveto(hand)])) oneshot!$ controller )! text=You may put any number of land cards from your hand onto the battlefield. Then if you control eight or more lands, you may discard a card. If you do, return Journey to the Oracle to its owner's hand. // {6}{U}{U} Jadzi, Oracle of Arcavios mana={2}{G}{G} type=Sorcery @@ -55729,7 +55730,7 @@ toughness=0 [/card] [card] name=Jungle Creeper -autograveyard={3}{B}{G}:moveto(ownerHand) all(this) +autograveyard={3}{B}{G}:moveto(hand) all(this) text={3}{B}{G}: Return Jungle Creeper from your graveyard to your hand. mana={1}{B}{G} type=Creature @@ -55749,8 +55750,8 @@ toughness=1 [/card] [card] name=Jungle Wayfinder -auto=ability$!moveto(ownerhand) notatarget(land[basic]|mylibrary)!$ opponent -auto=ability$!moveto(ownerhand) notatarget(land[basic]|mylibrary)!$ controller +auto=ability$!moveto(hand) notatarget(land[basic]|mylibrary)!$ opponent +auto=ability$!moveto(hand) notatarget(land[basic]|mylibrary)!$ controller text=When Jungle Wayfinder enters, each player may search their library for a basic land card, reveal it, put it into their hand, then shuffle their library. mana={2}{G} type=Creature @@ -56036,7 +56037,7 @@ toughness=3 name=Kairi, the Swirling Sky abilities=flying auto=_WARD3_ -auto=_DIES_name(Choose one) transforms((,newability[choice name(Return nonland permanents) target(*[-land&manacost<=6]|battlefield) moveto(ownerhand)],newability[choice name(Mill 6 cards) name(Mill 6 cards) deplete:6 controller && ability$!may name(Return instant or sorcery) name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand)!$ controller])) oneshot +auto=_DIES_name(Choose one) transforms((,newability[choice name(Return nonland permanents) target(*[-land&manacost<=6]|battlefield) moveto(hand)],newability[choice name(Mill 6 cards) name(Mill 6 cards) deplete:6 controller && ability$!may name(Return instant or sorcery) name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(hand)!$ controller])) oneshot text=Flying, ward {3} -- When Kairi, the Swirling Sky dies, choose one -- Return any number of target nonland permanents with total mana value 6 or less to their owners' hands. -- Mill six cards, then return up to two instant and/or sorcery cards from your graveyard to your hand. mana={4}{U}{U} type=Legendary Creature @@ -56256,8 +56257,8 @@ toughness=6 [/card] [card] name=Kami of Restless Shadows -auto=may name(Return a Ninja) target(creature[Ninja]|mygraveyard) moveto(ownerHand) -auto=may name(Return a Rogue) target(creature[Rogue]|mygraveyard) moveto(ownerHand) +auto=may name(Return a Ninja) target(creature[Ninja]|mygraveyard) moveto(hand) +auto=may name(Return a Rogue) target(creature[Rogue]|mygraveyard) moveto(hand) auto=may name(Put a creature on top of your library) target(creature|mygraveyard) moveto(ownerlibrary) text=When Kami of Restless Shadows enters, choose one - -- - Return up to one target Ninja or Rogue creature card from your graveyard to your hand. -- - Put target creature card from your graveyard on top of your library. mana={4}{B} @@ -56280,7 +56281,7 @@ toughness=4 name=Kami of Transience abilities=trample auto=@movedTo(enchantment|mystack):name(Put 1/1 counter) counter(1/1) -autograveyard=@each end restriction{thisturn(enchantment|graveyard)~morethan~0}:may name(Return to hand) name(Return to hand) moveto(ownerHand) +autograveyard=@each end restriction{thisturn(enchantment|graveyard)~morethan~0}:may name(Return to hand) name(Return to hand) moveto(hand) text=Trample -- Whenever you cast an enchantment spell, put a +1/+1 counter on Kami of Transience. -- At the beginning of each end step, if an enchantment was put into your graveyard from the battlefield this turn, you may return Kami of Transience from your graveyard to your hand. mana={1}{G} type=Creature @@ -56495,7 +56496,7 @@ type=Land name=Karn's Temporal Sundering target=player auto=turns:+1 -auto=may moveto(ownerHand) target(*[-land]) +auto=may moveto(hand) target(*[-land]) auto=moveto(exile) text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Target player takes an extra turn after this one. Return up to one target nonland permanent to its owner's hand. Exile Karn's Temporal Sundering. restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0 @@ -56548,7 +56549,7 @@ toughness=3 name=Karumonix, the Rat King abilities=poisontoxic auto=lord(other rat|myBattlefield) poisontoxic -auto=reveal:5 optionone name(Get Rat) target(Rat|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:5 optionone name(Get Rat) target(Rat|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Toxic 1 (Players dealt combat damage by this creature also get a poison counter.) -- Other Rats you control have toxic 1. -- When Karumonix enters, look at the top five cards of your library. You may reveal any number of Rat cards from among them and put the revealed cards into your hand. Put the rest on the bottom of your library in a random order. mana={1}{B}{B} type=Legendary Creature @@ -56692,13 +56693,13 @@ type=Sorcery [card] name=Kayla's Command auto=choice name(Create construct and put 1/1 counter) token(Construct,Artifact Creature Construct,2/2) and!( name(Put 1/1 counter) target(creature|mybattlefield) transforms((,newability[counter(1/1)],double strike)) ueot )! -auto=choice name(Create construct and search plains) token(Construct,Artifact Creature Construct,2/2) and!( name(Search plains) target(plains|mylibrary) moveto(ownerHand) and!( shuffle )! )! +auto=choice name(Create construct and search plains) token(Construct,Artifact Creature Construct,2/2) and!( name(Search plains) target(plains|mylibrary) moveto(hand) and!( shuffle )! )! auto=choice name(Create construct and gain life) token(Construct,Artifact Creature Construct,2/2) and!( name(Scry 2 and life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend )! -auto=if type(creature|mybattlefield)~morethan~0 then choice name(Put 1/1 counter and search plains) name(Put 1/1 counter and search plains) target(creature|mybattlefield) transforms((,newability[counter(1/1)],double strike,newability[name(Search plains) target(plains|mylibrary) moveto(ownerHand) and!( shuffle )!])) ueot +auto=if type(creature|mybattlefield)~morethan~0 then choice name(Put 1/1 counter and search plains) name(Put 1/1 counter and search plains) target(creature|mybattlefield) transforms((,newability[counter(1/1)],double strike,newability[name(Search plains) target(plains|mylibrary) moveto(hand) and!( shuffle )!])) ueot auto=if type(creature|mybattlefield)~morethan~0 then choice name(Put 1/1 counter and gain life) name(Put 1/1 counter and gain life) target(creature|mybattlefield) transforms((,newability[counter(1/1)],double strike,newability[name(Scry 2 and life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend])) ueot -auto=if type(creature|mybattlefield)~equalto~0 then choice name(Put 1/1 counter and search plains) name(Put 1/1 counter and search plains) target(plains|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=if type(creature|mybattlefield)~equalto~0 then choice name(Put 1/1 counter and search plains) name(Put 1/1 counter and search plains) target(plains|mylibrary) moveto(hand) and!( shuffle )! auto=if type(creature|mybattlefield)~equalto~0 then choice name(Put 1/1 counter and gain life) name(Put 1/1 counter and gain life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend -auto=if type(plains|mylibrary)~morethan~0 then choice name(Search plains and gain life) name(Search plains and gain life) target(plains|mylibrary) moveto(ownerHand) and!( name(Scry 2 and life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend )! +auto=if type(plains|mylibrary)~morethan~0 then choice name(Search plains and gain life) name(Search plains and gain life) target(plains|mylibrary) moveto(hand) and!( name(Scry 2 and life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend )! auto=if type(plains|mylibrary)~equalto~0 then choice name(Search plains and gain life) name(Search plains and gain life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend text=Choose two -- Create a 2/2 colorless Construct artifact creature token. -- Put a +1/+1 counter on a creature you control. It gains double strike until end of turn. -- Search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. -- You gain 2 life and scry 2. mana={1}{W}{W} @@ -56757,7 +56758,7 @@ toughness=3 [card] name=Kazandu Stomper abilities=trample -auto=moveTo(ownerHand) target(land|myBattlefield) +auto=moveTo(hand) target(land|myBattlefield) text=Trample -- When Kazandu Stomper enters, return up to two lands you control to their owner's hand. mana={5}{G} type=Creature @@ -56813,7 +56814,7 @@ toughness=1 [/card] [card] name=Keen Duelist -auto=@each my upkeep:all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[life:-manacost opponent])) oneshot )! +auto=@each my upkeep:all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[life:-manacost opponent])) oneshot )! auto=@each my upkeep:all(*[zpos=1]|opponentlibrary) moveto(opponenthand) and!( transforms((,newability[life:-manacost opponent])) oneshot )! text=At the beginning of your upkeep, you and target opponent each reveal the top card of your library. You each lose life equal to the mana value of the card revealed by the other player. You each put the card you revealed into your hand. mana={1}{B} @@ -56924,7 +56925,7 @@ abilities=flying,indestructible auto=aslongas(*|myhand) cantattack <7 auto=aslongas(*|myhand) cantpwattack <7 auto=aslongas(*|myhand) cantblock <7 -auto={3}{U}:draw:1 && transforms((,newability[may moveto(ownerHand) target(land|mybattlefield)])) ueot +auto={3}{U}:draw:1 && transforms((,newability[may moveto(hand) target(land|mybattlefield)])) ueot text=Flying, indestructible -- Kefnet the Mindful can't attack or block unless you have seven or more cards in hand. -- {3}{U}: Draw a card, then you may return a land you control to its owner's hand. mana={2}{U} type=Legendary Creature @@ -57167,7 +57168,7 @@ toughness=4 [card] name=Keskit, the Flesh Sculptor abilities=partner -auto={T}{S(other *[creature;artifact]|mybattlefield)}{S(other *[creature;artifact]|mybattlefield)}{S(other *[creature;artifact]|mybattlefield)}:name(Look) reveal:3 optionone name(Get 2 cards) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={T}{S(other *[creature;artifact]|mybattlefield)}{S(other *[creature;artifact]|mybattlefield)}{S(other *[creature;artifact]|mybattlefield)}:name(Look) reveal:3 optionone name(Get 2 cards) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend text={T}, Sacrifice three other artifacts and/or creatures: Look at the top three cards of your library. Put two of them into your hand and the other into your graveyard. -- Partner (You can have two commanders if both have partner.) mana={2}{B} type=Legendary Creature @@ -57439,7 +57440,7 @@ otherrestriction=can play creature,compare(isflipped)~equalto~1 restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(Imbraham, Dean of Theory) autostack=if paid(alternative) then name(Imbraham, Dean of Theory) name(Imbraham, Dean of Theory) flip(Imbraham, Dean of Theory) forcetype(Legendary Creature) -auto=this(variable{isflipped}<1) {T}:name(Exile top card) name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[if cantargetcard(*[land]|*) then moveto(ownerHand)],newability[if cantargetcard(*[-land]|*) then counter(0/0.1.Study)])) oneshot )! +auto=this(variable{isflipped}<1) {T}:name(Exile top card) name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[if cantargetcard(*[land]|*) then moveto(hand)],newability[if cantargetcard(*[-land]|*) then counter(0/0.1.Study)])) oneshot )! auto=this(variable{isflipped}<1) {4}{G}:name(Create fractal) name(Create fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( transforms((,newability[if type(*[-land&manacost=0&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=1&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=2&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=3&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=4&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=5&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=6&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=7&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=8&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=9&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=10&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=11&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=12&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=13&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=14&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=15&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=16&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=17&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=18&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost=19&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land&manacost>=20&counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)])) oneshot )! text={T}: Exile the top card of your library. If it's a land card, put it into your hand. Otherwise, put a study counter on it. -- {4}{G}: Create a 0/0 green and blue Fractal creature token. Put a +1/+1 counter on it for each different mana value among nonland cards you own in exile with study counters on them. // {2}{U}{U} name(Imbraham, Dean of Theory) mana={2}{G} @@ -57472,7 +57473,7 @@ type=Sorcery [/card] [card] name=Kill Switch -auto={2}{T}:all(other artifact|battlefield) transforms((,newability[tap(noevent)],newability[@each my untap:if type(Kill Switch[tapped]|battlefield)~morethan~0 then tap(noevent)])) forever +auto={2}{T}:all(other artifact) grant transforms((,newability[tap],newability[doesnotuntap])) grantend text={2}, {T}: Tap all other artifacts. They don't untap during their controllers' untap steps for as long as Kill Switch remains tapped. mana={3} type=Artifact @@ -57657,7 +57658,7 @@ toughness=3 [card] name=Kinjalli's Dawnrunner abilities=double strike -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=Double strike -- When Kinjalli's Dawnrunner enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={2}{W} @@ -57738,26 +57739,26 @@ toughness=6 name=Kiora's Dismissal abilities=hasnokicker,hasstrive kicker=multi{U} name(Strive) -auto=if compare(kicked)~equalto~0 then name(choose 1 enchantment) name(choose 1 enchantment) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~1 then name(choose 2 enchantments) name(choose 2 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~2 then name(choose 3 enchantments) name(choose 3 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~3 then name(choose 4 enchantments) name(choose 4 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~4 then name(choose 5 enchantments) name(choose 5 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~5 then name(choose 6 enchantments) name(choose 6 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~6 then name(choose 7 enchantments) name(choose 7 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~7 then name(choose 8 enchantments) name(choose 8 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~8 then name(choose 9 enchantments) name(choose 9 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~9 then name(choose 10 enchantments) name(choose 10 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~10 then name(choose 11 enchantments) name(choose 11 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~11 then name(choose 12 enchantments) name(choose 12 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~12 then name(choose 13 enchantments) name(choose 13 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~13 then name(choose 14 enchantments) name(choose 14 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~14 then name(choose 15 enchantments) name(choose 15 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~15 then name(choose 16 enchantments) name(choose 16 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~16 then name(choose 17 enchantments) name(choose 17 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~17 then name(choose 18 enchantments) name(choose 18 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~equalto~18 then name(choose 19 enchantments) name(choose 19 enchantments) target(enchantment) moveto(ownerhand) -auto=if compare(kicked)~morethan~18 then name(choose 20 enchantments) name(choose 20 enchantments) target(enchantment) moveto(ownerhand) +auto=if compare(kicked)~equalto~0 then name(choose 1 enchantment) name(choose 1 enchantment) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~1 then name(choose 2 enchantments) name(choose 2 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~2 then name(choose 3 enchantments) name(choose 3 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~3 then name(choose 4 enchantments) name(choose 4 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~4 then name(choose 5 enchantments) name(choose 5 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~5 then name(choose 6 enchantments) name(choose 6 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~6 then name(choose 7 enchantments) name(choose 7 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~7 then name(choose 8 enchantments) name(choose 8 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~8 then name(choose 9 enchantments) name(choose 9 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~9 then name(choose 10 enchantments) name(choose 10 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~10 then name(choose 11 enchantments) name(choose 11 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~11 then name(choose 12 enchantments) name(choose 12 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~12 then name(choose 13 enchantments) name(choose 13 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~13 then name(choose 14 enchantments) name(choose 14 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~14 then name(choose 15 enchantments) name(choose 15 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~15 then name(choose 16 enchantments) name(choose 16 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~16 then name(choose 17 enchantments) name(choose 17 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~17 then name(choose 18 enchantments) name(choose 18 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~equalto~18 then name(choose 19 enchantments) name(choose 19 enchantments) target(enchantment) moveto(hand) +auto=if compare(kicked)~morethan~18 then name(choose 20 enchantments) name(choose 20 enchantments) target(enchantment) moveto(hand) text=Strive - Kiora's Dismissal costs {U} more to cast for each target beyond the first. -- Return any number of target enchantments to their owners' hands. mana={U} type=Instant @@ -58170,13 +58171,13 @@ subtype=Aura [/card] [card] name=Knight-Errant of Eos -aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(*[creature&zpos<=6&manacost=0]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!(shuffle)! )!],newability[if type(*[creature&zpos<=6&mancost=0]|mylibrary)~morethan~0 then target(*[creature&zpos<=6&mancost=0]|mylibrary) moveto(ownerHand) and!( transforms((,newability[all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!(shuffle)! )!])) oneshot )! ])) oneshot +aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(*[creature&zpos<=6&manacost=0]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!(shuffle)! )!],newability[if type(*[creature&zpos<=6&mancost=0]|mylibrary)~morethan~0 then target(*[creature&zpos<=6&mancost=0]|mylibrary) moveto(hand) and!( transforms((,newability[all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!(shuffle)! )!])) oneshot )! ])) oneshot other={convoke} name(Convoke) -auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~equalto~1 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=1]|myreveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend -auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~equalto~2 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=2]|myreveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend -auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~equalto~3 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=3]|myreveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend -auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~morethan~3 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=4]|myreveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend -auto=ifnot paid(alternative) then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost=0]|myreveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend +auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~equalto~1 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=1]|myreveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend +auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~equalto~2 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=2]|myreveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend +auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~equalto~3 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=3]|myreveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend +auto=if paid(alternative) then if type(creature[tapped;-attacking]|myBattlefield)~morethan~3 then name(Look top 6 cards) name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost<=4]|myreveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend +auto=ifnot paid(alternative) then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(creature[manacost=0]|myreveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(<6>*|reveal) moveto(mylibrary) and!( shuffle )! optiontwoend revealend text=Convoke -- When Knight-Errant of Eos enters, look at the top six cards of your library. You may reveal up to two creature cards with mana value X or less from among them, where X is the number of creatures that convoked Knight-Errant of Eos. Put the revealed cards into your hand, then shuffle. mana={4}{W} type=Creature @@ -58324,8 +58325,8 @@ toughness=3 [card] name=Kolaghan Warmonger abilities=haste -aicode=activate transforms((,newability[if type(dragon[zpos<=6]|mylibrary)~morethan~0 then target(dragon[zpos<=6]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(dragon[zpos<=6]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot -auto=_ATTACKING_name(Look top 6 card) reveal:6 optionone name(Put dragon in hand) target(dragon|reveal) moveto(ownerHand) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(dragon[zpos<=6]|mylibrary)~morethan~0 then target(dragon[zpos<=6]|mylibrary) moveto(hand) and!( all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(dragon[zpos<=6]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot +auto=_ATTACKING_name(Look top 6 card) reveal:6 optionone name(Put dragon in hand) target(dragon|reveal) moveto(hand) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Haste -- Whenever Kolaghan Warmonger attacks, look at the top six cards of your library. You may reveal a Dragon card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{R} type=Creature @@ -58335,10 +58336,10 @@ toughness=2 [/card] [card] name=Kolaghan's Command -auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and opponent discards) name(Return creature and opponent discards) target(creature|mygraveyard) moveto(ownerHand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent -auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and you discard) name(Return creature and you discard) target(creature|mygraveyard) moveto(ownerHand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller -auto=if type(creature|mygraveyard)~morethan~0 then if type(artifact|battlefield)~morethan~0 then choice name(Return creature and destroy artifact) name(Return creature and destroy artifact) name(Return creature and destroy artifact) target(creature|mygraveyard) moveto(ownerHand) && ability$!name(Destroy artifact) name(Destroy artifact) destroy target(artifact)!$ controller -auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and deals damage) name(Return creature and deals damage) target(creature|mygraveyard) moveto(ownerHand) && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(anytarget)!$ controller +auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and opponent discards) name(Return creature and opponent discards) target(creature|mygraveyard) moveto(hand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent +auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and you discard) name(Return creature and you discard) target(creature|mygraveyard) moveto(hand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller +auto=if type(creature|mygraveyard)~morethan~0 then if type(artifact|battlefield)~morethan~0 then choice name(Return creature and destroy artifact) name(Return creature and destroy artifact) name(Return creature and destroy artifact) target(creature|mygraveyard) moveto(hand) && ability$!name(Destroy artifact) name(Destroy artifact) destroy target(artifact)!$ controller +auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and deals damage) name(Return creature and deals damage) target(creature|mygraveyard) moveto(hand) && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(anytarget)!$ controller auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and opponent discards) name(Destroy artifact and opponent discards) target(artifact) destroy && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and you discard) name(Destroy artifact and you discard) target(artifact) destroy && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller auto=choice name(Deals damage and opponent discards) damage:2 target(anytarget) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent @@ -58370,8 +58371,8 @@ anyzone={0}:doubleside(The Ringhart Crest) autostack=if paid(alternative) then flip(The Ringhart Crest) forcetype(Legendary Artifact) auto=this(variable{isflipped}<1) aslongas(creature[legendary]|mybattlefield) 4/2 >2 auto=this(variable{isflipped}<1) aslongas(creature[legendary]|mybattlefield) vigilance >2 -auto=this(variable{isflipped}<1) {1}{G}{T}:name(Reveal 6 cards) reveal:6 optionone name(Get legendary creature) target(creature[legendary]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend -aicode=activate target(creature[legendary;zpos<=6]|mylibrary) moveto(ownerHand) +auto=this(variable{isflipped}<1) {1}{G}{T}:name(Reveal 6 cards) reveal:6 optionone name(Get legendary creature) target(creature[legendary]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(creature[legendary;zpos<=6]|mylibrary) moveto(hand) text=As long as you control three or more legendary creatures, Kolvori, God of Kinship gets +4/+2 and has vigilance. -- {1}{G}, {T}: Look at the top six cards of your library. You may reveal a legendary creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. // {1}{G} The Ringhart Crest mana={2}{G}{G} type=Legendary Creature @@ -58571,7 +58572,7 @@ auto=cantattack auto=cantpwattack auto=cantblock auto=noactivatedability -auto={1}{G}{U}:counter(1/1,2) && moveto(ownerHand) all(this) +auto={1}{G}{U}:counter(1/1,2) && moveto(hand) all(this) text=Enchant creature -- Enchanted creature can't attack or block, and its activated abilities can't be activated. -- {1}{G}{U}, Return Krasis Incubation to its owner's hand: Put two +1/+1 counters on enchanted creature. mana={2}{G}{U} type=Enchantment @@ -58621,7 +58622,7 @@ toughness=2 [card] name=Kraul Swarm abilities=flying -auto={2}{B}{D(creature|myhand)}:moveto(ownerHand) all(this) +auto={2}{B}{D(creature|myhand)}:moveto(hand) all(this) text=Flying -- {2}{B}, Discard a creature card: Return Kraul Swarm from your graveyard to your hand. mana={4}{B} type=Creature @@ -59035,7 +59036,7 @@ toughness=3 [card] name=Kura, the Boundless Sky abilities=deathtouch,flying -auto=_DIES_name(Choose one) transforms((,newability[choice name(Search 3 lands) target(land|mylibrary) moveto(ownerHand) and!( shuffle )!],newability[choice name(Create spirit) token(Spirit^Creature Spirit^type:land:mybattlefield/type:land:mybattlefield^green)])) oneshot +auto=_DIES_name(Choose one) transforms((,newability[choice name(Search 3 lands) target(land|mylibrary) moveto(hand) and!( shuffle )!],newability[choice name(Create spirit) token(Spirit^Creature Spirit^type:land:mybattlefield/type:land:mybattlefield^green)])) oneshot text=Flying, deathtouch -- When Kura, the Boundless Sky dies, choose one -- Search your library for up to three land cards, reveal them, put them into your hand, then shuffle. -- Create an X/X green Spirit creature token, where X is the number of lands you control. mana={3}{G}{G} type=Legendary Creature @@ -59125,7 +59126,7 @@ toughness=3 [card] name=Kyren Archive auto=@each my upkeep:may name(Exile top card) all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0,1,KyrenExiled) )! -auto={5}{S}:all(*|myhand) reject && ability$!name(Move back exiled cards) name(Move back exiled cards) all(*[counter{0/0.1.KyrenExiled}]|myexile) moveto(ownerhand)!$ controller +auto={5}{S}:all(*|myhand) reject && ability$!name(Move back exiled cards) name(Move back exiled cards) all(*[counter{0/0.1.KyrenExiled}]|myexile) moveto(hand)!$ controller text=At the beginning of your upkeep, you may exile the top card of your library face down. -- {5}, Discard your hand, Sacrifice Kyren Archive: Put all cards exiled with Kyren Archive into their owner's hand. mana={3} type=Artifact @@ -59344,8 +59345,8 @@ toughness=4 [/card] [card] name=Landscaper Colos -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{W}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{W}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=name(Move to bottom) target(*|opponentgraveyard) transforms((,newability[bottomoflibrary])) ueot text=When Landscaper Colos enters, put target card from an opponent's graveyard on the bottom of their library. -- Basic landcycling {1}{W} ({1}{W}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) mana={5}{W} @@ -59386,7 +59387,7 @@ auto={T}:Add{U} auto={T}:Add{B} auto={T}:Add{R} auto={T}:Add{G} -auto={4}{T}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[choice name(Put back) moveto(mylibrary)],newability[choice name(Put on bottom) bottomoflibrary],newability[if cantargetcard(*[land]|*) then choice name(Put in play) name(Put in play) moveto(myBattlefield) and!( tap(noevent) )!] )) oneshot )! +auto={4}{T}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[choice name(Put back) moveto(mylibrary)],newability[choice name(Put on bottom) bottomoflibrary],newability[if cantargetcard(*[land]|*) then choice name(Put in play) name(Put in play) moveto(myBattlefield) and!( tap(noevent) )!] )) oneshot )! text={T}: Add one mana of any color. -- {4}, {T}: Look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. If you don't put the card onto the battlefield, you may put it on the bottom of your library. mana={3} type=Artifact @@ -59703,7 +59704,7 @@ auto=@each my upkeep:may counter(0/0,1,Doom) all(this) && aslongas(Lavabrink Flo auto=@each my upkeep:may counter(0/0,-1,Doom) all(this) auto=@each opponent upkeep:may counter(0/0,1,Doom) all(this) && aslongas(Lavabrink Floodgates[counter{0/0.3.Doom}]|myBattlefield) damage:6 all(creature) && aslongas(Lavabrink Floodgates[counter{0/0.3.Doom}]|myBattlefield) sacrifice auto=@each opponent upkeep:may counter(0/0,-1,Doom) all(this) -text=: Add {R}{R}. -- At the beginning of each player's upkeep, that player may put a doom counter on Lavabrink Floodgates or remove a doom counter from it. Then if it has three or more doom counters on it, sacrifice it. When you do, it deals 6 damage to each creature. +text={T}: Add {R}{R}. -- At the beginning of each player's upkeep, that player may put a doom counter on Lavabrink Floodgates or remove a doom counter from it. Then if it has three or more doom counters on it, sacrifice it. When you do, it deals 6 damage to each creature. mana={3}{R} type=Artifact [/card] @@ -59998,7 +59999,7 @@ name=Leave // Chance abilities=hasaftermath otherrestriction=can play sorcery flashback={3}{R} name(Chance) -auto=ifnot paid(flashback) then target(*|mybattlefield) moveto(ownerHand) +auto=ifnot paid(flashback) then target(*|mybattlefield) moveto(hand) auto=if paid(flashback) then target(*|myhand) reject and!(draw:1)! text=Return any number of target permanents you own to your hand. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Discard any number of cards, then draw that many cards. mana={1}{W} @@ -60103,8 +60104,8 @@ toughness=3 [card] name=Legion Angel abilities=flying -aicode=activate target(Legion Angel|mySideboard) moveto(ownerHand) -auto=may name(Search Sideaboard) reveal:type:*:mySideboard revealzone(mySideboard) optionone name(choose card) target(<1>Legion Angel|reveal) moveto(ownerHand) and!(all(other *|reveal) moveto(ownerSideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveTo(ownerSideboard) and!(all(other *|reveal) moveto(ownerSideboard))! optiontwoend revealend +aicode=activate target(Legion Angel|mySideboard) moveto(hand) +auto=may name(Search Sideaboard) reveal:type:*:mySideboard revealzone(mySideboard) optionone name(choose card) target(<1>Legion Angel|reveal) moveto(hand) and!(all(other *|reveal) moveto(ownerSideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveTo(ownerSideboard) and!(all(other *|reveal) moveto(ownerSideboard))! optiontwoend revealend text=Flying -- When Legion Angel enters, you may reveal a card you own named Legion Angel from outside the game and put it into your hand. mana={2}{W}{W} type=Creature @@ -60114,7 +60115,7 @@ toughness=3 [/card] [card] name=Legion Conquistador -auto=may moveto(ownerHand) target(Legion Conquistador|mylibrary) +auto=may moveto(hand) target(Legion Conquistador|mylibrary) text=When Legion Conquistador enters, you may search your library for any number of cards named Legion Conquistador, reveal them, put them into your hand, then shuffle. mana={2}{W} type=Creature @@ -60159,7 +60160,7 @@ type=Enchantment [/card] [card] name=Legion Vanguard -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto={1}{S(other creature|mybattlefield)}:_EXPLORES_ text={1}, Sacrifice another creature: Legion Vanguard explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={1}{B} @@ -60584,8 +60585,8 @@ type=Enchantment name=Liberating Combustion target=creature auto=damage:6 -auto=moveto(ownerHand) target(Chandra^ Pyrogenius|mylibrary) -auto=moveto(ownerHand) target(Chandra^ Pyrogenius|mygraveyard) +auto=moveto(hand) target(Chandra^ Pyrogenius|mylibrary) +auto=moveto(hand) target(Chandra^ Pyrogenius|mygraveyard) text=Liberating Combustion deals 6 damage to target creature. You may search your library and/or graveyard for a card named Chandra, Pyrogenius, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={4}{R} type=Sorcery @@ -60735,7 +60736,7 @@ toughness=4 [card] name=Liesa, Forgotten Archangel abilities=flying,lifelink -auto=@movedTo(other creature[-token]|graveyard) from(mybattlefield):name(Return to owner hand later) all(trigger[to]) name(Return to owner hand later) transforms((,newability[phaseaction[end once] moveTo(ownerhand)])) ueot +auto=@movedTo(other creature[-token]|graveyard) from(mybattlefield):name(Return to owner hand later) all(trigger[to]) name(Return to owner hand later) transforms((,newability[phaseaction[end once] moveTo(hand)])) ueot auto=lord(creature|opponentbattlefield) exiledeath text=Flying, lifelink -- Whenever another nontoken creature you control dies, return that card to its owner's hand at the beginning of the next end step. -- If a creature an opponent controls would die, exile it instead. type=Legendary Creature @@ -60880,7 +60881,7 @@ toughness=5 [card] name=Light the Way auto=choice counter(1/1) target(creature,vehicle) && untap -auto=choice moveTo(ownerHand) target(*|myBattlefield) +auto=choice moveTo(hand) target(*|myBattlefield) text=Choose one - -- - Put a +1/+1 counter on target creature or Vehicle. Untap it. -- - Return target permanent you control to its owner's hand. mana={W} type=Instant @@ -61096,7 +61097,7 @@ toughness=3 [card] name=Liliana's Influence auto=counter(-1/-1) all(creature|opponentbattlefield) -auto=may moveto(ownerHand) target(Liliana^ Death Wielder|mylibrary,mygraveyard) +auto=may moveto(hand) target(Liliana^ Death Wielder|mylibrary,mygraveyard) text=Put a -1/-1 counter on each creature you don't control. You may search your library and/or graveyard for a card named Liliana, Death Wielder, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={4}{B}{B} type=Sorcery @@ -61113,7 +61114,7 @@ type=Enchantment name=Liliana's Scorn target=creature auto=destroy -auto=may name(Search library or graveyard) moveto(ownerHand) target(Liliana^ Death Mage|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Liliana^ Death Mage|myLibrary,myGraveyard) text=Destroy target creature. You may search your library and/or graveyard for a card named Liliana, Death Mage, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{B}{B} type=Sorcery @@ -61130,8 +61131,8 @@ toughness=2 [/card] [card] name=Liliana's Spoils -aicode=activate target(*[black;zpos<=5]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:5 optionone name(Get black card) target(*[black]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[black;zpos<=5]|mylibrary) moveto(hand) +auto=name(look) reveal:5 optionone name(Get black card) target(*[black]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend auto=ability$!name(Discard a card) reject notatarget(*|myhand)!$ opponent text=Target opponent discards a card. -- Look at the top five cards of your library. You may reveal a black card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={3}{B} @@ -61272,7 +61273,7 @@ toughness=5 [/card] [card] name=Lingering Phantom -autograveyard=_CASTHISTORIC_ pay({b}):moveto(ownerHand) all(this) +autograveyard=_CASTHISTORIC_ pay({b}):moveto(hand) all(this) text=Whenever you cast a historic spell, you may pay {B}. If you do, return Lingering Phantom from your graveyard to your hand. (Artifacts, legendaries, and Sagas are historic.) mana={5}{B} type=Creature @@ -61447,7 +61448,7 @@ toughness=3 name=Livewire Lash auto={2}:equip auto=teach(creature) 2/0 -auto=teach(creature) transforms((,newability[@targeted(this) from(*|stack):name(Deal 2 damage) damage:2 target(anytarget)])) +auto=@targeted(mytgt) from(*[instant;sorcery;aura]|*):damage:2 target(anytarget) text=Equipped creature gets +2/+0 and has "Whenever this creature becomes the target of a spell, this creature deals 2 damage to any target." -- Equip {2} mana={2} type=Artifact @@ -61506,7 +61507,7 @@ toughness=5 [/card] [card] name=Living Lightning -auto=_DIES_moveto(ownerHand) target(*[instant;sorcery]|mygraveyard) +auto=_DIES_moveto(hand) target(*[instant;sorcery]|mygraveyard) text=When Living Lightning dies, return target instant or sorcery card from your graveyard to your hand. mana={3}{R} type=Creature @@ -61527,7 +61528,7 @@ toughness=3 [card] name=Living Twister auto={1}{R}{D(land|myhand)}:damage:2 target(anytarget) -auto={G}:target(land[tapped]|myBattlefield) moveto(ownerhand) +auto={G}:target(land[tapped]|myBattlefield) moveto(hand) text={1}{R}, Discard a land card: Living Twister deals 2 damage to any target. -- {G}: Return a tapped land you control to its owner's hand. mana={R}{R}{G} type=Creature @@ -61687,7 +61688,7 @@ toughness=4 [/card] [card] name=Loathsome Troll -autograveyard={3}{G}:name(Roll a d20) rolld20 20 winability donothing winabilityend loseability if compare(lastrollresult)~lessthan~10 then moveto(mylibrary) else moveto(ownerHand) loseabilityend rolld20end +autograveyard={3}{G}:name(Roll a d20) rolld20 20 winability donothing winabilityend loseability if compare(lastrollresult)~lessthan~10 then moveto(mylibrary) else moveto(hand) loseabilityend rolld20end autograveyard=@dierolled(this|mygraveyard) result(20) from(controller):name(Return to battlefield) moveto(myBattlefield) and!( tap(noevent) )! text={3}{G}: Roll a d20. Activate only if Loathsome Troll is in your graveyard. -- 1-9 | Put Loathsome Troll on top of your library. -- 10-19 | Return Loathsome Troll to your hand. -- 20 | Return Loathsome Troll to the battlefield tapped. mana={3}{G}{G} @@ -61746,7 +61747,7 @@ name=Lochmere Serpent abilities=flash auto={U}{S(island|myBattlefield)}:unblockable ueot auto={B}{S(swamp|myBattlefield)}:draw:1 && life:1 -auto={U}{B}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}:moveto(ownerHand) asSorcery +auto={U}{B}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}:moveto(hand) asSorcery text=Flash -- {U}, Sacrifice an Island: Lochmere Serpent can't be blocked this turn. -- {B}, Sacrifice a Swamp: You gain 1 life and draw a card. -- {U}{B}: Exile five target cards from an opponent's graveyard. Return Lochmere Serpent from your graveyard to your hand. Activate this ability only any time you could cast a sorcery. mana={4}{U}{B} type=Creature @@ -61865,7 +61866,7 @@ target=*|mygraveyard other={X}{G}{G}{G} name(Cast Long Rest) otherrestriction=type(*|mygraveyard)~morethan~7 restriction=type(*|mygraveyard)~lessthan~8 -auto=moveto(ownerHand) +auto=moveto(hand) auto=if paid(alternative) then if compare(fullpaid)~morethan~7 then name(Return cards) lifeset:startinglife controller text=Return X target cards with different mana values from your graveyard to your hand. If eight or more cards were returned to your hand this way, your life total becomes equal to your starting life total. Exile Long Rest. mana={X}{G}{G}{G} @@ -62007,8 +62008,8 @@ type=Instant [/card] [card] name=Loran, Disciple of History -auto=target(artifact|mygraveyard) moveto(ownerhand) -auto=@movedTo(creature[legendary]|myBattlefield):target(artifact|mygraveyard) moveto(ownerhand) +auto=target(artifact|mygraveyard) moveto(hand) +auto=@movedTo(creature[legendary]|myBattlefield):target(artifact|mygraveyard) moveto(hand) text=Whenever Loran, Disciple of History or another legendary creature enters under your control, return target artifact card from your graveyard to your hand. mana={3}{W} type=Legendary Creature @@ -62126,7 +62127,7 @@ name=Lore Drakkis abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -62135,8 +62136,8 @@ auto={999}:equip other={UR}{UR} name(Mutate) auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Over) name(Mutate Over) target(other creature[-human]|mybattlefield) mutateover auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Under) name(Mutate Under) target(other creature[-human]|mybattlefield) mutateunder -auto=@mutated(this):name(Return to hand) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) -auto=@mutated(mytgt):name(Return to hand) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) +auto=@mutated(this):name(Return to hand) target(*[instant;sorcery]|mygraveyard) moveto(hand) +auto=@mutated(mytgt):name(Return to hand) target(*[instant;sorcery]|mygraveyard) moveto(hand) text=Mutate {UR}{UR} -- (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, return target instant or sorcery card from your graveyard to your hand. mana={1}{U}{R} type=Creature @@ -62212,7 +62213,7 @@ toughness=2 [card] name=Lorien Revealed auto=name(Draw 3 cards) draw:3 controller -autohand={1}{cycle}:name(Search island) target(island|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={1}{cycle}:name(Search island) target(island|myLibrary) moveto(hand) and!( shuffle )! text=Draw three cards. -- Islandcycling {1} ({1}, Discard this card: Search your library for an Island card, reveal it, put it into your hand, then shuffle.) mana={3}{U}{U} type=Sorcery @@ -62255,7 +62256,7 @@ toughness=1 name=Lost Hours target=player aicode=activate placefromthetop(3) notatarget(*[-land]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone target(*[-land]|reveal) placefromthetop(3) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone target(*[-land]|reveal) placefromthetop(3) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose a nonland card from it. That player puts that card into their library third from the top. mana={1}{B} type=Sorcery @@ -62496,7 +62497,7 @@ toughness=2 [card] name=Loyal Gryff abilities=flash,flying -auto=may name(Return a creature) target(other creature|myBattlefield) moveto(ownerhand) +auto=may name(Return a creature) target(other creature|myBattlefield) moveto(hand) text=Flash -- Flying -- When Loyal Gryff enters, you may return another creature you control to its owner's hand. type=Creature subtype=Hippogriff @@ -62820,8 +62821,8 @@ name=Lunar Rejection other={3}{U} name(Cleave) restriction=type(creature[wolf;werewolf]|battlefield)~morethan~0 otherrestriction=type(creature|battlefield)~morethan~0 -auto=if paid(alternative) then target(creature|battlefield) moveto(ownerhand) -auto=ifnot paid(alternative) then target(creature[wolf;werewolf]|battlefield) moveto(ownerhand) +auto=if paid(alternative) then target(creature|battlefield) moveto(hand) +auto=ifnot paid(alternative) then target(creature[wolf;werewolf]|battlefield) moveto(hand) auto=draw:1 controller text=Cleave {3}{U} (You may cast this spell for its cleave cost. If you do, remove the words in square brackets.) -- Return target [Wolf or Werewolf] creature to its owner's hand. -- Draw a card. mana={1}{U} @@ -63075,7 +63076,7 @@ other={U} otherrestriction=type(artifact[creature]|battlefield)~morethan~0 restriction=type(artifact[creature]|battlefield)~equalto~0 target=*[-land] -auto=moveTo(ownerHand) +auto=moveTo(hand) text=This spell costs {1} less to cast if you control an artifact creature. -- Return target nonland permanent to its owner's hand. mana={1}{U} type=Instant @@ -63173,7 +63174,7 @@ toughness=4 [/card] [card] name=Maestros Charm -auto=choice reveal:5 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=choice reveal:5 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto=choice life:-3 opponent && life:3 controller auto=choice damage:5 target(creature,planeswalker) text=Choose one - -- - Look at the top five cards of your library. Put one of those cards into your hand and the rest into your graveyard. -- - Each opponent loses 3 life and you gain 3 life. -- - Maestros Charm deals 5 damage to target creature or planeswalker. @@ -63193,7 +63194,7 @@ toughness=1 [card] name=Maeve, Insidious Singer auto={2}{U}:name(Goad opponent creature) target(creature|opponentBattlefield) _GOAD_ -auto={2}{U}:name(Goad your creature) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[phaseaction[end next once sourceinplay] removeallcounters(0/0.-1.Goaded)],newability[@combat(attacking) source(this):draw:1])) forever +auto={2}{U}:name(Goad your creature) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[phaseaction[end next once sourceinplay] removeallcounters(0/0.-1.Goaded)],newability[@combat(attacking) source(this):draw:1])) ueot text={2}{U}: Goad target creature. Whenever that creature attacks one of your opponents this turn, you draw a card. (A goaded creature attacks each combat if able and attacks a player other than you if able, until your next turn.) mana={2}{U}{U} type=Legendary Creature @@ -63325,7 +63326,7 @@ type=Instant name=Magmatic Sprinter abilities=haste auto=target(*[artifact;creature]|myBattlefield) counter(0/0,2,Oil) -auto=@each my end:name(Choose one) transforms((,newability[if compare(hascntoil)~morethan~1 then choice name(Remove 2 oil counters) name(Remove 2 oil counters) counter(0/0.-2.Oil)],newability[choice name(Return to hand) moveto(ownerhand)])) ueot +auto=@each my end:name(Choose one) transforms((,newability[if compare(hascntoil)~morethan~1 then choice name(Remove 2 oil counters) name(Remove 2 oil counters) counter(0/0.-2.Oil)],newability[choice name(Return to hand) moveto(hand)])) ueot text=Haste -- When Magmatic Sprinter enters, put two oil counters on target artifact or creature you control. -- At the beginning of your end step, return Magmatic Sprinter to its owner's hand unless you remove two oil counters from it. mana={2}{R} type=Creature @@ -63474,7 +63475,7 @@ abilities=vigilance,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 other={3}{W} name(Mutate) auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -63775,7 +63776,7 @@ toughness=2 [/card] [card] name=Malevolent Rumble -auto=reveal:4 optionone may target(*[-instant;-sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=reveal:4 optionone may target(*[-instant;-sorcery]|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend auto=_ELDRAZISPAWN_ text=Reveal the top four cards of your library. You may put a permanent card from among them into your hand. Put the rest into your graveyard. Create a 0/1 colorless Eldrazi Spawn creature token with "Sacrifice this creature: Add {C}." mana={1}{G} @@ -64096,7 +64097,7 @@ subtype=Aura [card] name=Many Partings auto=name(Create food) _FOOD_ -auto=name(Search basic land) target(land[basic]|myLibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search basic land) target(land[basic]|myLibrary) moveto(hand) and!( shuffle )! text=Search your library for a basic land card, reveal it, put it into your hand, then shuffle. Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") mana={G} type=Sorcery @@ -64127,8 +64128,8 @@ toughness=1 name=Maralen of the Mornsong auto=replacedraw ability$!name(skip draw) donothing!$ controller auto=opponentreplacedraw ability$!name(skip draw) donothing!$ opponent -auto=@each my draw:life:-3 && ability$!choice name(search a card) notatarget(*|mylibrary) moveto(ownerhand) && shuffle!$ controller -auto=@each opponent draw:life:-3 opponent && ability$!choice name(search a card) notatarget(*|mylibrary) moveto(ownerhand) && shuffle!$ opponent +auto=@each my draw:life:-3 && ability$!choice name(search a card) notatarget(*|mylibrary) moveto(hand) && shuffle!$ controller +auto=@each opponent draw:life:-3 opponent && ability$!choice name(search a card) notatarget(*|mylibrary) moveto(hand) && shuffle!$ opponent text=Players can't draw cards. -- At the beginning of each player's draw step, that player loses 3 life, searches their library for a card, puts it into their hand, then shuffles their library. mana={1}{B}{B} type=Legendary Creature @@ -64168,7 +64169,7 @@ toughness=3 [card] name=Marauding Brinefang auto=_WARD3_ -autohand=activate moveto(ownerHand) target(island|myLibrary) +autohand=activate moveto(hand) target(island|myLibrary) text=Ward {3} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {3}.) -- Islandcycling {2} ({2}, Discard this card: Search your library for an Island card, reveal it, put it into your hand, then shuffle.) mana={5}{U}{U} type=Creature @@ -64356,8 +64357,8 @@ type=Enchantment [/card] [card] name=March of the Drowned -auto=choice name(return creature) moveto(ownerHand) target(creature|mygraveyard) -auto=choice name(return pirates) moveto(ownerHand) target(<2>pirate|mygraveyard) +auto=choice name(return creature) moveto(hand) target(creature|mygraveyard) +auto=choice name(return pirates) moveto(hand) target(<2>pirate|mygraveyard) restriction=type(creature|mygraveyard)~morethan~0 text=Choose one -- Return target creature card from your graveyard to your hand. -- Return two target Pirate cards from your graveyard to your hand. mana={B} @@ -64864,7 +64865,7 @@ subtype=Background [/card] [card] name=Master Skald -auto=may name(Exile creature) moveTo(Exile) target(creature|mygraveyard) && ability$!name(Put in hand) name(Put in hand) moveto(ownerHand) target(*[enchantment;artifact]|mygraveyard)!$ controller +auto=may name(Exile creature) moveTo(Exile) target(creature|mygraveyard) && ability$!name(Put in hand) name(Put in hand) moveto(hand) target(*[enchantment;artifact]|mygraveyard)!$ controller text=When Master Skald enters, you may exile a creature card from your graveyard. If you do, return target artifact or enchantment card from your graveyard to your hand. mana={4}{W} type=Creature @@ -64907,7 +64908,7 @@ toughness=2 name=Master of Death aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot auto=_SURVEIL2_ -autograveyard=@each my upkeep:pay({L:1}) moveto(ownerHand) +autograveyard=@each my upkeep:pay({L:1}) moveto(hand) text=When Master of Death enters, surveil 2. -- At the beginning of your upkeep, if Master of Death is in your graveyard, you may pay 1 life. If you do, return it to your hand. mana={1}{U}{B} type=Creature @@ -64945,8 +64946,8 @@ type=Instant [/card] [card] name=Mastermind's Acquisition -auto=choice name(Search your library) target(*|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=choice name(Search from outside game) target(*|myexile,mysideboard) moveto(ownerHand) +auto=choice name(Search your library) target(*|mylibrary) moveto(hand) and!( shuffle )! +auto=choice name(Search from outside game) target(*|myexile,mysideboard) moveto(hand) text=Choose one -- Search your library for a card, put it into your hand, then shuffle. -- Put a card you own from outside the game into your hand. mana={2}{B}{B} type=Sorcery @@ -65019,7 +65020,7 @@ toughness=3 [/card] [card] name=Mausoleum Secrets -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[black;manacost<=type:creature:mygraveyard]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[black;manacost<=type:creature:mygraveyard]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Undergrowth - Search your library for a black card with mana value less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then shuffle. mana={1}{B} type=Instant @@ -65289,7 +65290,7 @@ type=Enchantment [card] name=Memorial to Folly auto=tap(noevent) -auto={2}{B}{T}{S}:target(creature|mygraveyard) moveto(ownerhand) +auto={2}{B}{T}{S}:target(creature|mygraveyard) moveto(hand) auto={T}:Add{B} text=Memorial to Folly enters tapped. -- {T}: Add {B}. -- {2}{B}, {T}, Sacrifice Memorial to Folly: Return target creature card from your graveyard to your hand. type=Land @@ -65337,8 +65338,8 @@ type=Sorcery [card] name=Memory Deluge flashback={5}{U}{U} -aicode=activate transforms((,newability[target(<2>*[zpos<=totmanaspent]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=totmanaspent]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=name(Reveal top cards) reveal:totmanaspent optionone name(Get 2 cards) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[target(<2>*[zpos<=totmanaspent]|mylibrary) moveto(hand) and!( all(*[zpos<=totmanaspent]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=name(Reveal top cards) reveal:totmanaspent optionone name(Get 2 cards) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top X cards of your library, where X is the amount of mana spent to cast this spell. Put two of them into your hand and the rest on the bottom of your library in a random order. -- Flashback {5}{U}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{U}{U} type=Instant @@ -65367,8 +65368,8 @@ type=Sorcery [card] name=Memory Theft aicode=activate transforms((,newability[reject notatarget(*[-land]|opponenthand)],newability[ability$!name(Put adventure in graveyard) moveTo(opponentgraveyard) target(*[adventure]|opponentexile)!$ controller])) oneshot -auto=if type(*[adventure]|opponentexile)~morethan~0 then choice name(Put adventure in graveyard) name(Put adventure in graveyard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose non-land card) target(*[-land]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed name(Choose adventure from exile) moveTo(opponentgraveyard) target(*[adventure]|opponentexile) afterrevealedend revealend -auto=choice name(Don't put adventure in graveyard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose non-land card) target(*[-land]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=if type(*[adventure]|opponentexile)~morethan~0 then choice name(Put adventure in graveyard) name(Put adventure in graveyard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose non-land card) target(*[-land]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed name(Choose adventure from exile) moveTo(opponentgraveyard) target(*[adventure]|opponentexile) afterrevealedend revealend +auto=choice name(Don't put adventure in graveyard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose non-land card) target(*[-land]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. You may put a card that has an Adventure that player owns from exile into that player's graveyard. mana={2}{B} type=Sorcery @@ -65407,8 +65408,8 @@ toughness=3 [/card] [card] name=Mental Journey -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{U}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{U}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=draw:3 controller text=Draw three cards. -- Basic landcycling {1}{U} ({1}{U}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) mana={4}{U}{U} @@ -65502,26 +65503,26 @@ toughness=3 [/card] [card] name=Merchant's Dockhand -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}:name(Tap 1 artifact) name(Tap 1 artifact) reveal:1 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 2 artifact) name(Tap 2 artifact) reveal:2 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 3 artifact) name(Tap 3 artifact) reveal:3 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 4 artifact) name(Tap 4 artifact) reveal:4 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 5 artifact) name(Tap 5 artifact) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 6 artifact) name(Tap 6 artifact) reveal:6 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 7 artifact) name(Tap 7 artifact) reveal:7 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 8 artifact) name(Tap 8 artifact) reveal:8 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 9 artifact) name(Tap 9 artifact) reveal:9 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 10 artifact) name(Tap 10 artifact) reveal:10 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 11 artifact) name(Tap 11 artifact) reveal:11 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 12 artifact) name(Tap 12 artifact) reveal:12 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 13 artifact) name(Tap 13 artifact) reveal:13 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 14 artifact) name(Tap 14 artifact) reveal:14 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 15 artifact) name(Tap 15 artifact) reveal:15 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 16 artifact) name(Tap 16 artifact) reveal:16 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 17 artifact) name(Tap 17 artifact) reveal:17 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 18 artifact) name(Tap 18 artifact) reveal:18 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 19 artifact) name(Tap 19 artifact) reveal:19 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend -auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 20 artifact) name(Tap 20 artifact) reveal:20 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}:name(Tap 1 artifact) name(Tap 1 artifact) reveal:1 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 2 artifact) name(Tap 2 artifact) reveal:2 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 3 artifact) name(Tap 3 artifact) reveal:3 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 4 artifact) name(Tap 4 artifact) reveal:4 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 5 artifact) name(Tap 5 artifact) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 6 artifact) name(Tap 6 artifact) reveal:6 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 7 artifact) name(Tap 7 artifact) reveal:7 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 8 artifact) name(Tap 8 artifact) reveal:8 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 9 artifact) name(Tap 9 artifact) reveal:9 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 10 artifact) name(Tap 10 artifact) reveal:10 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 11 artifact) name(Tap 11 artifact) reveal:11 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 12 artifact) name(Tap 12 artifact) reveal:12 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 13 artifact) name(Tap 13 artifact) reveal:13 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 14 artifact) name(Tap 14 artifact) reveal:14 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 15 artifact) name(Tap 15 artifact) reveal:15 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 16 artifact) name(Tap 16 artifact) reveal:16 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 17 artifact) name(Tap 17 artifact) reveal:17 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 18 artifact) name(Tap 18 artifact) reveal:18 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 19 artifact) name(Tap 19 artifact) reveal:19 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 20 artifact) name(Tap 20 artifact) reveal:20 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend text={3}{U}, {T}, Tap X untapped artifacts you control: Look at the top X cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={1} type=Artifact Creature @@ -65587,7 +65588,7 @@ subtype=Lesson [card] name=Meren of Clan Nel Toth auto=@movedTo(other creature|graveyard) from(myBattlefield):alterexperience:1 controller -auto=@each my end restriction{type(creature|mygraveyard)~morethan~0}:name(Choose a creature) target(creature|mygraveyard) transforms((,newability[if compare(manacost)~morethan~compare(pexperience) then moveto(ownerHand) else moveto(mybattlefield)])) oneshot +auto=@each my end restriction{type(creature|mygraveyard)~morethan~0}:name(Choose a creature) target(creature|mygraveyard) transforms((,newability[if compare(manacost)~morethan~compare(pexperience) then moveto(hand) else moveto(mybattlefield)])) oneshot text=Whenever another creature you control dies, you get an experience counter. -- At the beginning of your end step, choose target creature card in your graveyard. If that card's mana value is less than or equal to the number of experience counters you have, return it to the battlefield. Otherwise, put it into your hand. mana={2}{B}{G} type=Legendary Creature @@ -65597,7 +65598,7 @@ toughness=4 [/card] [card] name=Merfolk Branchwalker -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=When Merfolk Branchwalker enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={1}{G} @@ -65679,7 +65680,7 @@ toughness=1 [card] name=Merfolk Spy abilities=islandwalk -auto=@combatdamaged(player) from(this):Reveal:1 revealzone(opponenthand) optionone target(*|reveal) moveTo(opponenthand) optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend +auto=@combatdamaged(player) from(this):Reveal:1 revealzone(opponenthand) optionone target(*|reveal) moveTo(opponenthand) optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend text=Islandwalk (This creature is unblockable as long as defending player controls an Island.) -- Whenever Merfolk Spy deals combat damage to a player, that player reveals a card at random from their hand. mana={U} type=Creature @@ -65724,7 +65725,7 @@ toughness=4 [card] name=Meria, Scholar of Antiquity auto={T(artifact[-token]|mybattlefield)}:add {g} -auto={T(artifact[-token]|mybattlefield)}{T(artifact[-token]|mybattlefield)}:_IMPULSEDRAW_ +auto={T(artifact[-token]|mybattlefield)}{T(artifact[-token]|mybattlefield)}:_IMPULSE_DRAW_ text=Tap an untapped nontoken artifact you control: Add {G}. -- Tap two untapped nontoken artifacts you control: Exile the top card of your library. You may play it this turn. mana={1}{R}{G} type=Legendary Creature @@ -65887,7 +65888,7 @@ toughness=1 [/card] [card] name=Meteor Blast -auto=thisforeach(X) ability$!name(Choose one) choice name(4 damages to player) damage:4 target(player) _ choice name(4 damages to planeswalker) damage:4 target(planeswalker) _ choice name(4 damages to creature) damage:4 target(creature)!$ controller +auto=thisforeach(X) ability$! damage:4 target(anyTarget) !$ controller mana={X}{R}{R}{R} type=Sorcery text=Meteor Blast deals 4 damage to each of X targets. @@ -65945,7 +65946,7 @@ subtype=Plains Island [/card] [card] name=Meticulous Excavation -auto={2}{W}:name(Return permanent) target(*|myBattlefield) transforms((,newability[if cantargetcard(*[unearth]|*) then moveto(ownerexile) and!( moveto(ownerhand) )!],newability[if cantargetcard(*[-unearth]|*) then moveto(ownerhand)])) oneshot myturnonly +auto={2}{W}:name(Return permanent) target(*|myBattlefield) transforms((,newability[if cantargetcard(*[unearth]|*) then moveto(ownerexile) and!( moveto(hand) )!],newability[if cantargetcard(*[-unearth]|*) then moveto(hand)])) oneshot myturnonly text={2}{W}: Return target permanent you control to its owner's hand. If it has unearth, instead exile it, then return that card to its owner's hand. Activate only during your turn. mana={W} type=Enchantment @@ -66012,7 +66013,7 @@ subtype=Saga [/card] [card] name=Micromancer -auto=may moveto(ownerHand) target(*[instant;sorcery;manacost<=1]|myLibrary) +auto=may moveto(hand) target(*[instant;sorcery;manacost<=1]|myLibrary) text=When Micromancer enters, you may search your library for an instant or sorcery card with mana value 1, reveal it, put it into your hand, then shuffle. mana={3}{U} type=Creature @@ -66045,7 +66046,6 @@ name=Midnight Clock auto={T}:add{U} auto={2}{U}:counter(0/0,1,hour) auto=@each upkeep:counter(0/0,1,hour) -auto={C(0/0,12,hour)}{E}:moveto(myLibrary) all(*|myGraveyard) && moveto(myLibrary) all(*|myHand) && shuffle && draw:7 controller auto=@counteradded(0/0,1,hour) from(this):this(counter{0/0.12.hour}) moveTo(exile) all(this) auto=@counteradded(0/0,1,hour) from(this):this(counter{0/0.12.hour}) moveto(myLibrary) all(*|myGraveyard) && moveto(myLibrary) all(*|myHand) && shuffle && draw:7 controller text={T}: Add {U}. -- {2}{U}: Put an hour counter on Midnight Clock. -- At the beginning of each upkeep, put an hour counter on Midnight Clock. -- When the twelfth hour counter is put on Midnight Clock, shuffle your hand and graveyard into your library, then draw seven cards. Exile Midnight Clock. @@ -66137,7 +66137,7 @@ name=Migratory Greathorn abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -66219,7 +66219,7 @@ subtype=Aura [card] name=Militia Bugler abilities=vigilance -auto=reveal:4 optionone name(Look at the top four cards...) target(creature[power<3]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:4 optionone name(Look at the top four cards...) target(creature[power<3]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Vigilance (Attacking doesn't cause this creature to tap.) -- When Militia Bugler enters, look at the top four cards of your library. You may reveal a creature card with power 2 or less from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{W} type=Creature @@ -66368,7 +66368,7 @@ name=Mindleecher abilities=flying,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -66397,7 +66397,7 @@ type=Enchantment [card] name=Mindlink Mech abilities=flying -auto={0}:name(Copy and crew 1 [1 creature]) target(creature[-legendary&-tapped]|mybattlefield) tap && copy and!( transforms((Artifact Vechicle Creature,setpower=4,settoughness=3,flying,newability[@next end:flip(myorigname) undocpy])) ueot )! restriction{compare(crewtotalpower)~morethan~0} limit:1 +auto={0}:name(Copy and crew 1 [1 creature]) target(creature[-legendary&-tapped]|mybattlefield) tap && copy and!( all(this) transforms((Artifact Vechicle Creature,setpower=4,settoughness=3,flying,newability[@next end:flip(myorigname) undocpy])) ueot )! restriction{compare(crewtotalpower)~morethan~0} limit:1 auto={crew(other creature[power>=1]|myBattlefield)}:name(crew 1 [1 creature]) transforms((Artifact Vechicle Creature,setpower=4,settoughness=3,flying)) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~0} text=Flying -- Whenever Mindlink Mech becomes crewed for the first time each turn, until end of turn, Mindlink Mech becomes a copy of target nonlegendary creature that crewed it this turn, except it's 4/3, it's a Vehicle artifact in addition to its other types, and it has flying. -- Crew 1 mana={2}{U} @@ -66750,8 +66750,8 @@ toughness=3 [card] name=Mirkwood Elk abilities=trample -auto=name(Return elf) target(elf|mygraveyard) moveto(ownerHand) and!( transforms((,newability[life:power controller])) oneshot )! -auto=_ATTACKING_name(Return elf) target(elf|mygraveyard) moveto(ownerHand) and!( transforms((,newability[life:power controller])) oneshot )! +auto=name(Return elf) target(elf|mygraveyard) moveto(hand) and!( transforms((,newability[life:power controller])) oneshot )! +auto=_ATTACKING_name(Return elf) target(elf|mygraveyard) moveto(hand) and!( transforms((,newability[life:power controller])) oneshot )! text=Trample -- Whenever Mirkwood Elk enters or attacks, return target Elf card from your graveyard to your hand. You gain life equal to that card's power. mana={5}{G} type=Creature @@ -66858,7 +66858,7 @@ toughness=0 [/card] [card] name=Mirror Match -auto=foreach(notAtarget(creature[attacking])):clone(notatarget(creature[attacking])) with (unearth) +auto=all(creature[attacking]|opponentBattlefield) clone with(mustblock,unearth) restriction=blockersonly text=Cast this spell only during the declare blockers step. -- For each creature attacking you or a planeswalker you control, create a token that's a copy of that creature and that's blocking that creature. Exile those tokens at end of combat. mana={4}{U}{U} @@ -66866,7 +66866,7 @@ type=Instant [/card] [card] name=Mirror Sheen -auto={1}{UR}{UR}:castcard(copied noevent) target(*[instant;sorcery]|stack) +auto={1}{UR}{UR}:transforms((,newability[activate castcard(copied noevent)])) oneshot target(*[instant;sorcery]|stack) text={1}{UR}{UR}: Copy target instant or sorcery spell that targets you. You may choose new targets for the copy. mana={1}{UR}{UR} type=Enchantment @@ -67013,7 +67013,7 @@ toughness=2 [card] name=Mischievous Pup abilities=flash -auto=may target(other *|myBattlefield) moveto(ownerhand) +auto=may target(other *|myBattlefield) moveto(hand) text=Flash -- When Mischievous Pup enters, return up to one other target permanent you control to its owner's hand. mana={2}{W} type=Creature @@ -67364,12 +67364,12 @@ auto=_ATTACKING_may name(Your creatures gain menace and trample) all(creature|my auto=@combat(attacking) source(this) restriction{type(creature|opponentbattlefield)~morethan~0}:may name(Opponent creatures gain -1/-1) all(creature|opponentbattlefield) transforms((,newability[-1/-1])) ueot auto=_ATTACKING_may name(Create powerstones) token(Powerstone)*2 and!( tap(noevent) )! auto=@movedTo(this|graveyard) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Mishra, Claimed by Gix) name(Return Mishra, Claimed by Gix) target(Mishra^ Claimed by Gix|mysideboard) moveTo(myGraveyard)!$ controller -auto=@movedTo(this|hand) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Mishra, Claimed by Gix) name(Return Mishra, Claimed by Gix) target(Mishra^ Claimed by Gix|mysideboard) moveto(ownerHand)!$ controller +auto=@movedTo(this|hand) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Mishra, Claimed by Gix) name(Return Mishra, Claimed by Gix) target(Mishra^ Claimed by Gix|mysideboard) moveto(hand)!$ controller auto=@movedTo(this|exile) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Mishra, Claimed by Gix) name(Return Mishra, Claimed by Gix) target(Mishra^ Claimed by Gix|mysideboard) moveTo(myExile)!$ controller auto=@movedTo(this|library) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Mishra, Claimed by Gix) name(Return Mishra, Claimed by Gix) target(Mishra^ Claimed by Gix|mysideboard) moveTo(myLibrary)!$ controller auto=@movedTo(this|commandzone) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Mishra, Claimed by Gix) name(Return Mishra, Claimed by Gix) target(Mishra^ Claimed by Gix|mysideboard) moveTo(myCommandzone)!$ controller auto=@movedTo(this|graveyard) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Phyrexian Dragon Engine) name(Return Phyrexian Dragon Engine) target(Phyrexian Dragon Engine|mysideboard) moveTo(myGraveyard)!$ controller -auto=@movedTo(this|hand) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Phyrexian Dragon Engine) name(Return Phyrexian Dragon Engine) target(Phyrexian Dragon Engine|mysideboard) moveto(ownerHand)!$ controller +auto=@movedTo(this|hand) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Phyrexian Dragon Engine) name(Return Phyrexian Dragon Engine) target(Phyrexian Dragon Engine|mysideboard) moveto(hand)!$ controller auto=@movedTo(this|exile) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Phyrexian Dragon Engine) name(Return Phyrexian Dragon Engine) target(Phyrexian Dragon Engine|mysideboard) moveTo(myExile)!$ controller auto=@movedTo(this|library) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Phyrexian Dragon Engine) name(Return Phyrexian Dragon Engine) target(Phyrexian Dragon Engine|mysideboard) moveTo(myLibrary)!$ controller auto=@movedTo(this|commandzone) from(battlefield):name(Return melder) name(Return melder) ability$!name(Return Phyrexian Dragon Engine) name(Return Phyrexian Dragon Engine) target(Phyrexian Dragon Engine|mysideboard) moveTo(myCommandzone)!$ controller @@ -67841,7 +67841,7 @@ toughness=2 [card] name=Molten Birth auto=_REDELEMENTALTOKEN_*2 -auto=flipacoin winability moveto(ownerHand) all(this) winabilityend flipend +auto=flipacoin winability moveto(hand) all(this) winabilityend flipend text=Put two 1/1 red Elemental creature tokens onto the battlefield. Then flip a coin. If you win the flip, return Molten Birth to its owner's hand. mana={1}{R}{R} type=Sorcery @@ -67963,8 +67963,8 @@ type=Instant [/card] [card] name=Moment of Truth -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && moveto(myGraveyard) all(*[zpos=2]|mylibrary)])) ueot -auto=choice name(look) reveal:3 optionone name(Put in my hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo choice name(one into your graveyard) target(*|reveal) moveto(myGraveyard) && all(*|reveal) bottomoflibrary optiontwoend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && moveto(myGraveyard) all(*[zpos=2]|mylibrary)])) ueot +auto=choice name(look) reveal:3 optionone name(Put in my hand) target(*|reveal) moveto(hand) optiononeend optiontwo choice name(one into your graveyard) target(*|reveal) moveto(myGraveyard) && all(*|reveal) bottomoflibrary optiontwoend text=Look at the top three cards of your library. Put one of those cards into your hand, one into your graveyard, and one on the bottom of your library. mana={1}{U} type=Instant @@ -68009,7 +68009,7 @@ auto=@movedto(*|mystack):counter(0/0,1,MonkEffect) auto=this(variable{hascntmonkeffect}=1) lord(*|mycastingzone) altercost(colorless, -1) auto=@each end restriction{compare(hascntmonkeffect)~morethan~0}:removeallcounters(0/0,1,MonkEffect) auto=this(variable{hascntlevel}=1) {W}{U}:name(Level 2) counter(0/0,1,Level) asSorcery -auto=@counteradded(0/0.1.Level) from(this) restriction{compare(hascntlevel)~equalto~2}:may name(Return non-land permanent) target(*[-land]|battlefield) moveto(ownerhand) +auto=@counteradded(0/0.1.Level) from(this) restriction{compare(hascntlevel)~equalto~2}:may name(Return non-land permanent) target(*[-land]|battlefield) moveto(hand) auto=this(variable{hascntlevel}=2) {1}{W}{U}:name(Level 3) counter(0/0,1,Level) asSorcery auto=@each my upkeep restriction{compare(hascntlevel)~morethan~2}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[@movedto(*|mystack):name(Can play from exile) all(this|myexile) transforms((,newability[canplayfromexile ueot])) ueot])) forever )! text=(Gain the next level as a sorcery to add its ability.) -- The second spell you cast each turn costs {1} less to cast. -- {W}{U}: Level 2 -- When this Class becomes level 2, return up to one target nonland permanent to its owner's hand. -- {1}{W}{U}: Level 3 -- At the beginning of your upkeep, exile the top card of your library. For as long as it remains exiled, it has "You may cast this card from exile as long as you've cast another spell this turn." @@ -68058,7 +68058,7 @@ name=Monster Manual // Zoological Study abilities=adventure restriction=can play creature other={2}{G} name(Adventure) -auto=if paid(alternative) then name(Mill 5 cards) name(Mill 5 cards) transforms((,newability[deplete:5 controller],newability[name(Return creature) target(creature[zpos>=type:*mygraveyardminus5minusend]|mygraveyard) moveto(ownerHand)])) oneshot +auto=if paid(alternative) then name(Mill 5 cards) name(Mill 5 cards) transforms((,newability[deplete:5 controller],newability[name(Return creature) target(creature[zpos>=type:*mygraveyardminus5minusend]|mygraveyard) moveto(hand)])) oneshot auto=if paid(alternative) then _ADVENTURE_ auto={1}{G}{T}:name(Put creature in play) target(creature|myhand) moveto(mybattlefield) text={1}{G}, {T}: You may put a creature card from your hand onto the battlefield. // Mill five cards, then return a creature card milled this way to your hand. (Then exile this card. You may cast the artifact later from exile.) @@ -68067,7 +68067,7 @@ type=Artifact [/card] [card] name=Monstrosity of the Lake -autohand={2}{cycle}:name(Search island) target(island|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={2}{cycle}:name(Search island) target(island|myLibrary) moveto(hand) and!( shuffle )! auto=may name(Pay 5 and tap) pay({5}) name(Pay 5 and tap) all(creature|opponentBattlefield) name(Pay 5 and tap) transforms((,newability[tap],newability[counter(0/0.1.Stun)])) oneshot text=When Monstrosity of the Lake enters, you may pay {5}. If you do, tap all creatures your opponents control, then put a stun counter on each of those creatures. (If a permanent with a stun counter would become untapped, remove one from it instead.) -- Islandcycling {2} ({2}, Discard this card: Search your library for an Island card, reveal it, put it into your hand, then shuffle.) mana={4}{U} @@ -68125,7 +68125,7 @@ toughness=* [/card] [card] name=Monument to Perfection -auto={3}{T}:name(Search land) target(land[basic;sphere;locus]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto={3}{T}:name(Search land) target(land[basic;sphere;locus]|mylibrary) moveto(hand) and!( shuffle )! auto=this(variable{ninelands}>=9) {3}:name(Becomes phyrexian) name(Becomes phyrexian) all(this) loseabilities forever && all(this) becomes(Artifact Phyrexian Construct Creature,9/9,indestructible,poisonninetoxic) forever text={3}, {T}: Search your library for a basic, Sphere, or Locus land card, reveal it, put it into your hand, then shuffle. -- {3}: Monument to Perfection becomes a 9/9 Phyrexian Construct artifact creature, loses all abilities, and gains indestructible and toxic 9. Activate only if there are nine or more lands with different names among the basic, Sphere, and Locus lands you control. mana={2} @@ -68145,7 +68145,7 @@ name=Monumental Henge auto=tap(noevent) auto=aslongas(plains|myBattlefield) untap auto={T}:Add{W} -auto={2}{W}{W}{T}:name(look) reveal:5 optionone target(*[artifact;legendary;saga]|reveal) moveto(ownerhand) optiononeend optiontwo name(bottom of library) choose all(*|reveal) bottomoflibrary optiontwoend revealend +auto={2}{W}{W}{T}:name(look) reveal:5 optionone target(*[artifact;legendary;saga]|reveal) moveto(hand) optiononeend optiontwo name(bottom of library) choose all(*|reveal) bottomoflibrary optiontwoend revealend text=Monumental Henge enters tapped unless you control a Plains. -- {T}: Add {W}. -- {2}{W}{W}, {T}: Look at the top five cards of your library. You may reveal a historic card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. (Artifacts, legendaries, and Sagas are historic.) type=Land [/card] @@ -68226,7 +68226,7 @@ toughness=3 [/card] [card] name=Moonlit Scavengers -auto=restriction type(*[artifact;enchantment]|mybattlefield)~morethan~0 moveto(ownerhand) target(creature) +auto=restriction type(*[artifact;enchantment]|mybattlefield)~morethan~0 moveto(hand) target(creature) text=When Moonlit Scavengers enters, if you control an artifact or enchantment, return target creature an opponent controls to its owner's hand. mana={5}{U} type=Creature @@ -68294,8 +68294,8 @@ toughness=6 [/card] [card] name=Moonsilver Key -auto={1}{T}{S}:name(Search land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto={1}{T}{S}:name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( shuffle )! +auto={1}{T}{S}:name(Search land) target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! +auto={1}{T}{S}:name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( shuffle )! text={1}, {T}, Sacrifice Moonsilver Key: Search your library for an artifact card with a mana ability or a basic land card, reveal it, put it into your hand, then shuffle. type=Artifact mana={2} @@ -68312,7 +68312,7 @@ type=Artifact [card] name=Moonsnare Specialist autohand={2}{U}{N}:ninjutsu -auto=may target(creature) moveto(ownerhand) +auto=may target(creature) moveto(hand) text=Ninjutsu {2}{U} ({2}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- When Moonsnare Specialist enters, return up to one target creature to its owner's hand. mana={3}{U} type=Creature @@ -68677,7 +68677,7 @@ toughness=4 [card] name=Mourner's Surprise target=creature|myGraveyard -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=_MERCENARYTOKEN_ text=Return up to one target creature card from your graveyard to your hand. Create a 1/1 red Mercenary creature token with "{T}: Target creature you control gets +1/+0 until end of turn. Activate only as a sorcery." mana={1}{B} @@ -68812,7 +68812,7 @@ name=Multani, Yavimaya's Avatar abilities=reach, trample auto=foreach(land|myBattlefield) 1/1 auto=foreach(land|myGraveyard) 1/1 -autograveyard={1}{G}{H(land|mybattlefield)}{H(land|mybattlefield)}:moveto(ownerhand) +autograveyard={1}{G}{H(land|mybattlefield)}{H(land|mybattlefield)}:moveto(hand) text=Reach, trample -- Multani, Yavimaya's Avatar gets +1/+1 for each land you control and each land card in your graveyard. -- {1}{G}, Return two lands you control to their owner's hand: Return Multani from your graveyard to your hand. mana={4}{G}{G} type=Legendary Creature @@ -68833,10 +68833,10 @@ subtype=Equipment name=Multiple Choice aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=this(X=1) name(Scry 1) scry:1 scrycore delayed dontshow draw:1 controller scrycoreend scryend -auto=this(X=2) target(player) ability$!name(Return creature to hand) name(Return creature to hand) target(creature|mybattlefield) moveto(ownerhand)!$ targetedplayer +auto=this(X=2) target(player) ability$!name(Return creature to hand) name(Return creature to hand) target(creature|mybattlefield) moveto(hand)!$ targetedplayer auto=this(X=3) token(Elemental,Creature Elemental,4/4,blue,red) auto=this(X>=4) token(Elemental,Creature Elemental,4/4,blue,red) -auto=this(X>=4) target(player) ability$!name(Return creature to hand) name(Return creature to hand) target(creature|mybattlefield) moveto(ownerhand)!$ targetedplayer +auto=this(X>=4) target(player) ability$!name(Return creature to hand) name(Return creature to hand) target(creature|mybattlefield) moveto(hand)!$ targetedplayer auto=this(X>=4) draw:1 text=If X is 1, scry 1, then draw a card. -- If X is 2, you may choose a player. They return a creature they control to its owner's hand. -- If X is 3, create a 4/4 blue and red Elemental creature token. -- If X is 4 or more, do all of the above. mana={X}{U} @@ -68897,7 +68897,7 @@ toughness=3 name=Murasa Rootgrazer abilities=vigilance auto={T}:name(Put a basic land card) moveTo(myBattlefield) target(land[basic]|myHand) -auto={T}:name(Return a basic land card) moveTo(ownerHand) target(land[basic]|myBattlefield) +auto={T}:name(Return a basic land card) moveTo(hand) target(land[basic]|myBattlefield) text=Vigilance -- {T}: You may put a basic land card from your hand onto the battlefield. -- {T}: Return target basic land you control to its owner's hand. mana={G}{W} type=Creature @@ -68908,7 +68908,7 @@ toughness=3 [card] name=Murasa Sproutling kicker={1}{G} -auto=if paid(kicker) then moveto(ownerHand) target(*[haskicker]|myGraveyard) +auto=if paid(kicker) then moveto(hand) target(*[haskicker]|myGraveyard) text=Kicker {1}{G} -- When Murasa Sproutling enters, if it was kicked, return target card with a kicker ability from your graveyard to your hand. mana={2}{G} type=Creature @@ -68982,8 +68982,8 @@ toughness=3 [/card] [card] name=Muse Vortex -aicode=activate transforms((,newability[target(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary) moveto(exile) and!( transforms((,newability[zerocast],newability[canplayfromexile],newability[phaseaction[end once checkex] moveto(ownerHand)],newability[all(*[zpos<=fullpaid]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) )!])) oneshot -auto=if type(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary)~morethan~0 then name(Reveal cards) name(Reveal cards) reveal:x revealzone(mylibrary) optionone name(Choose instant or sorcery) target(*[instant;sorcery;manacost<=fullpaid]|reveal) moveto(myexile) and!( transforms((,newability[phaseaction[end once checkex] moveto(ownerHand)],newability[canplayfromexile],newability[zerocast])) ueot )! optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!(all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[target(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary) moveto(exile) and!( transforms((,newability[zerocast],newability[canplayfromexile],newability[phaseaction[end once checkex] moveto(hand)],newability[all(*[zpos<=fullpaid]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) )!])) oneshot +auto=if type(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary)~morethan~0 then name(Reveal cards) name(Reveal cards) reveal:x revealzone(mylibrary) optionone name(Choose instant or sorcery) target(*[instant;sorcery;manacost<=fullpaid]|reveal) moveto(myexile) and!( transforms((,newability[phaseaction[end once checkex] moveto(hand)],newability[canplayfromexile],newability[zerocast])) ueot )! optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!(all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=if type(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary)~equalto~0 then name(Reveal cards) name(Reveal cards) all(*[zpos<=fullpaid]|mylibrary) bottomoflibrary text=Exile the top X cards of your library. You may cast an instant or sorcery spell with mana value X or less from among them without paying its mana cost. Then put the exiled instant and sorcery cards that weren't cast this way into your hand and the rest on the bottom of your library in a random order. mana={X}{U}{U} @@ -69182,7 +69182,7 @@ toughness=3 [/card] [card] name=Myr Kinsmith -auto=may notatarget(Myr|mylibrary) moveto(ownerHand) +auto=may notatarget(Myr|mylibrary) moveto(hand) text=When Myr Kinsmith enters, you may search your library for a Myr card, reveal it, put it into your hand, then shuffle. mana={4} type=Artifact Creature @@ -69194,7 +69194,7 @@ toughness=1 name=Myr Reservoir auto=this(variable{type:myr:myrestrictedcastingzone}>0) {T}:add{C}{C} auto=this(variable{type:myr:mybattlefield}>0) {T}:add{C}{C} -auto={3}{T}:moveto(ownerHand) target(Myr|mygraveyard) +auto={3}{T}:moveto(hand) target(Myr|mygraveyard) text={T}: Add {2}. Spend this mana only to cast Myr spells or activate abilities of Myr. -- {3}, {T}: Return target Myr card from your graveyard to your hand. mana={3} type=Artifact @@ -69334,7 +69334,7 @@ toughness=1 [/card] [card] name=Mystic Confluence -auto=thisforeach(variable{3}) ability$!name(Choose one) if type(other *|stack)~morethan~1 then choice target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever _ choice target(creature) moveto(ownerhand) _ choice draw:1 !$ controller +auto=thisforeach(variable{3}) ability$!name(Choose one) if type(other *|stack)~morethan~0 then choice target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever _ choice target(creature) moveto(hand) _ choice draw:1 !$ controller text=Choose three. You may choose the same mode more than once. -- Counter target spell unless its controller pays {3}. -- Return target creature to its owner's hand. -- Draw a card. mana={3}{U}{U} type=Instant @@ -69462,8 +69462,8 @@ type=Enchantment [/card] [card] name=Mythos of Brokkos -auto=if casted(this) then if spent({U}{B}) then name(Search library) target(*|mylibrary) moveto(myGraveyard) and!( transforms((,newability[name(Return to hand) moveto(ownerHand) target(*[-instant;-sorcery]|myGraveyard)],newability[shuffle])) oneshot )! -auto=if casted(this) then ifnot spent({U}{B}) then name(Return to hand) moveto(ownerHand) target(*[-instant;-sorcery]|myGraveyard) +auto=if casted(this) then if spent({U}{B}) then name(Search library) target(*|mylibrary) moveto(myGraveyard) and!( transforms((,newability[name(Return to hand) moveto(hand) target(*[-instant;-sorcery]|myGraveyard)],newability[shuffle])) oneshot )! +auto=if casted(this) then ifnot spent({U}{B}) then name(Return to hand) moveto(hand) target(*[-instant;-sorcery]|myGraveyard) text=If {U}{B} -- was spent to cast this spell, search your library for a card, put that card into your graveyard, then shuffle. -- Return up to two permanent cards from your graveyard to your hand. mana={2}{G}{G} type=Sorcery @@ -69962,7 +69962,7 @@ toughness=5 [/card] [card] name=Navigation Orb -auto={2}{T}{S}:name(Put land or gate in play) target(*[basic;gate]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[may name(Put land or gate in hand) target(land[basic;gate]|mylibrary) moveto(ownerHand)])) oneshot )! +auto={2}{T}{S}:name(Put land or gate in play) target(*[basic;gate]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[may name(Put land or gate in hand) target(land[basic;gate]|mylibrary) moveto(hand)])) oneshot )! text={2}, {T}, Sacrifice Navigation Orb: Search your library for up to two basic land cards and/or Gate cards, reveal those cards, put one onto the battlefield tapped and the other into your hand, then shuffle. mana={3} type=Artifact @@ -69988,7 +69988,7 @@ type=Enchantment [/card] [card] name=Nazahn, Revered Bladesmith -auto=choice moveto(ownerHand) target(equipment[-Hammer of Nazahn]|myLibrary) +auto=choice moveto(hand) target(equipment[-Hammer of Nazahn]|myLibrary) auto=choice moveTo(myBattlefield) target(Hammer of Nazahn|myLibrary) auto=@combat(attacking) source(creature[geared]|mybattlefield):may tap target(creature|opponentBattlefield) text=When Nazahn, Revered Bladesmith enters, search your library for an Equipment card and reveal it. If you reveal a card named Hammer of Nazahn this way, put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle. -- Whenever an equipped creature you control attacks, you may tap target creature defending player controls. @@ -70183,7 +70183,7 @@ name=Necropanther abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -70230,9 +70230,9 @@ toughness=0 [card] name=Necrosynthesis target=creature -aicode=activate target(*[zpos<=power]|mylibrary) moveto(ownerHand) and!( all(other *[zpos<=power]|mylibrary) moveto(myreveal) and !( bottomoflibrary )! )! +aicode=activate target(*[zpos<=power]|mylibrary) moveto(hand) and!( all(other *[zpos<=power]|mylibrary) moveto(myreveal) and !( bottomoflibrary )! )! auto=teach(creature) transforms((,newability[@movedto(other creature|graveyard) from(battlefield):name(put 1/1 counter) counter(1/1)])) -auto=teach(creature) transforms((,newability[@movedto(this|graveyard) from(battlefield):name(Look top cards) reveal:power optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) +auto=teach(creature) transforms((,newability[@movedto(this|graveyard) from(battlefield):name(Look top cards) reveal:power optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) text=Enchant creature -- Enchanted creature has "Whenever another creature dies, put a +1/+1 counter on this creature." -- When enchanted creature dies, look at the top X cards of your library, where X is its power. Put one of those cards into your hand and the rest on the bottom of your library in a random order. mana={1}{B} type=Enchantment @@ -70487,7 +70487,7 @@ name=Nervous Gardener facedown={3} autofacedown=_WARD2_ autofacedown={G}:morph -autofaceup=target(land[basic]|mylibrary) moveto(ownerHand) +autofaceup=target(land[basic]|mylibrary) moveto(hand) text=Disguise {G} (You may cast this card face down for {3} as a 2/2 creature with ward {2}. Turn it face up any time for its disguise cost.) -- When Nervous Gardener is turned face up, search your library for a land card with a basic land type, reveal it, put it into your hand, then shuffle. mana={1}{G} type=Creature @@ -70530,8 +70530,8 @@ toughness=2 [/card] [card] name=Nessian Wanderer -aicode=activate target(land[zpos<=3]|mylibrary) moveto(ownerHand) -auto=_CONSTELLATION_name(look three) reveal:3 optionone name(Get a land) target(land|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(land[zpos<=3]|mylibrary) moveto(hand) +auto=_CONSTELLATION_name(look three) reveal:3 optionone name(Get a land) target(land|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend text=Constellation - Whenever an enchantment enters under your control, look at the top three cards of your library. You may reveal a land card from among them and put that card into your hand. Put the rest on the bottom of your library in a random order. mana={1}{G} type=Creature @@ -70603,7 +70603,7 @@ toughness=4 [/card] [card] name=Netherborn Altar -auto={T} restriction{type(*[iscommander]|mycommandzone)~morethan~0}:transforms((,newability[counter(0/0.1.Soul) all(this)],newability[moveto(ownerHand) target(*[iscommander]|mycommandzone)],newability[thisforeach(counter{0/0.1.Soul}) life:-3 controller])) oneshot +auto={T} restriction{type(*[iscommander]|mycommandzone)~morethan~0}:transforms((,newability[counter(0/0.1.Soul) all(this)],newability[moveto(hand) target(*[iscommander]|mycommandzone)],newability[thisforeach(counter{0/0.1.Soul}) life:-3 controller])) oneshot text={T}, Put a soul counter on Netherborn Altar: Put your commander into your hand from the command zone. Then you lose 3 life for each soul counter on Netherborn Altar. mana={1}{B} type=Artifact @@ -70633,7 +70633,7 @@ name=Nethroi, Apex of Death abilities=deathtouch,lifelink,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -70728,7 +70728,7 @@ type=Instant [card] name=Neva, Stalked by Nightmares abilities=menace -auto=target(creature,enchantment|mygraveyard) moveto(ownerhand) +auto=target(creature,enchantment|mygraveyard) moveto(hand) auto=@movedTo(enchantment|mygraveyard) from(battlefield):counter(1/1) && _SCRY1_ text=Menace -- When Neva, Stalked by Nightmares enters, return target creature or enchantment card from your graveyard to your hand. -- Whenever an enchantment you control is put into a graveyard from the battlefield, put a +1/+1 counter on Neva, then scry 1. mana={2}{W}{B} @@ -70752,7 +70752,7 @@ type=Sorcery [card] name=Never Happened aicode=activate moveto(exile) notatarget(*[-land]|opponentGraveyard,opponenthand) -auto=choice name(exile from hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose to exile) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=choice name(exile from hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose to exile) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend auto=choice name(exile from graveyard) moveto(exile) target(*[-land]|opponentGraveyard) text=Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. mana={2}{B} @@ -70962,7 +70962,7 @@ toughness=2 [card] name=Niambi, Esteemed Speaker abilities=flash -auto=may moveto(ownerHand) and!(transforms((,newability[dynamicability])))! target(other creature|myBattlefield) +auto=may moveto(hand) and!(transforms((,newability[dynamicability])))! target(other creature|myBattlefield) auto={1}{W}{U}{T}{D(*[legendary]|myHand)}:draw:2 controller text=Flash -- When Niambi, Esteemed Speaker enters, you may return another target creature you control to its owner's hand. If you do, you gain life equal to that creature's mana value. -- {1}{W}{U}, {T}, Discard a legendary card: Draw two cards. mana={W}{U} @@ -70973,8 +70973,8 @@ toughness=1 [/card] [card] name=Niambi, Faithful Healer -auto=moveto(ownerHand) target(Teferi^ Timebender|mylibrary) -auto=moveto(ownerHand) target(Teferi^ Timebender|mygraveyard) +auto=moveto(hand) target(Teferi^ Timebender|mylibrary) +auto=moveto(hand) target(Teferi^ Timebender|mygraveyard) text=When Niambi, Faithful Healer enters, you may search your library and/or graveyard for a card named Teferi, Timebender, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={1}{W}{U} type=Legendary Creature @@ -71136,7 +71136,7 @@ abilities=hasotherkicker other={4}{B}{R} name(Kicker Red) kicker={2}{U} name(Kicker Blue or both) auto=if paid(alternative) then destroy target(land) -auto=if paid(kicker) then ability$!name(Return creatures) name(Return creatures) target(creature[-black]) moveto(ownerhand)!$ controller +auto=if paid(kicker) then ability$!name(Return creatures) name(Return creatures) target(creature[-black]) moveto(hand)!$ controller auto=if paid(kicker) then pay({2}{R}) name(Pay also kicker red) destroy target(land|battlefield) text=Kicker {2}{U} and/or {2}{R} (You may pay an additional {2}{U} and/or {2}{R} as you cast this spell.) -- When Nightscape Battlemage enters, if it was kicked with its {2}{U} kicker, return up to two target nonblack creatures to their owners' hands. -- When Nightscape Battlemage enters, if it was kicked with its {2}{R} kicker, destroy target land. mana={2}{B} @@ -71269,7 +71269,7 @@ auto=@each my firstmain:counter(0/0,1,Lore) auto=foreach(*[foretold]|myexile) life:2 controller auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(type:*[foretold]:myexile)~morethan~0}:this(counter{0/0.2.Lore}=) add{W}{U} auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(type:*[foretold]:myexile)~equalto~0,compare(type:*[foretell]:myhand)~morethan~0}:this(counter{0/0.2.Lore}=) add{W}{U} -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Return card from graveyard) target(*[foretell]|mygraveyard) moveto(ownerHand) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Return card from graveyard) target(*[foretell]|mygraveyard) moveto(hand) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - You gain 2 life for each foretold card you own in exile. -- II - Add {W}{U}. Spend this mana only to foretell cards or cast spells that have foretell. -- III - Return target card with foretell from your graveyard to your hand. mana={1}{W}{U} @@ -71356,7 +71356,7 @@ toughness=3 [card] name=Nimble Larcenist abilities=flying -auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(<1>*[artifact;instant;sorcery]|reveal) moveto(exile) optiononeend optiontwo all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(<1>*[artifact;instant;sorcery]|reveal) moveto(exile) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Flying -- When Nimble Larcenist enters, target opponent reveals their hand. You choose an artifact, instant, or sorcery card from it and exile that card. mana={W}{U}{B} type=Creature @@ -71428,7 +71428,7 @@ type=Artifact [card] name=Nimbus Champion abilities=flying -auto=_ATTACKING_may moveto(ownerHand) target(creature[power<=type:warrior:mybattlefield]) +auto=_ATTACKING_may moveto(hand) target(creature[power<=type:warrior:mybattlefield]) text=Flying -- Whenever Nimbus Champion attacks, you may return target creature to its owner's hand if that creature's power is less than or equal to the number of Warriors your team controls. mana={5}{U} type=Creature @@ -71439,7 +71439,7 @@ toughness=4 [card] name=Nimraiser Paladin abilities=poisontwotoxic -auto=target(creature[manacost<=3]|mygraveyard) moveto(ownerhand) +auto=target(creature[manacost<=3]|mygraveyard) moveto(hand) text=Toxic 2 (Players dealt combat damage by this creature also get two poison counters.) -- When Nimraiser Paladin enters, return target creature card with mana value 3 or less from your graveyard to your hand. mana={4}{B} type=Creature @@ -71473,8 +71473,8 @@ type=Enchantment [card] name=Nine-Fingers Keene abilities=menace -aicode=activate transforms((,newability[if type(*[gate;zpos<=9]|mylibrary)~morethan~0 then target(*[gate;zpos<=9]|mylibrary) moveto(mybattlefield) and!( if type(*[gate]|mybattlefield)~morethan~8 then all(*[zpos<=9]|mylibrary) moveto(ownerHand) else all(*[zpos<=9]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(*[gate;zpos<=9]|mylibrary)~equalto~0 then if type(*[gate]|mybattlefield)~morethan~8 then all(*[zpos<=9]|mylibrary) moveto(ownerHand) else all(*[zpos<=9]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot -auto=@combatdamaged(player) from(this):name(Look top 9 cards) reveal:9 optionone name(Put gate in play) target(*[gate]|reveal) moveto(mybattlefield) optiononeend optiontwo if type(*[gate]|mybattlefield)~morethan~8 then name(Put in hand) all(*|myreveal) moveto(ownerHand) else name(Put On Bottom) target(*|reveal) bottomoflibrary and!( all(*|myreveal) bottomoflibrary )! bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[if type(*[gate;zpos<=9]|mylibrary)~morethan~0 then target(*[gate;zpos<=9]|mylibrary) moveto(mybattlefield) and!( if type(*[gate]|mybattlefield)~morethan~8 then all(*[zpos<=9]|mylibrary) moveto(hand) else all(*[zpos<=9]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(*[gate;zpos<=9]|mylibrary)~equalto~0 then if type(*[gate]|mybattlefield)~morethan~8 then all(*[zpos<=9]|mylibrary) moveto(hand) else all(*[zpos<=9]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot +auto=@combatdamaged(player) from(this):name(Look top 9 cards) reveal:9 optionone name(Put gate in play) target(*[gate]|reveal) moveto(mybattlefield) optiononeend optiontwo if type(*[gate]|mybattlefield)~morethan~8 then name(Put in hand) all(*|myreveal) moveto(hand) else name(Put On Bottom) target(*|reveal) bottomoflibrary and!( all(*|myreveal) bottomoflibrary )! bottomoflibrary optiontwoend revealend auto=@targeted(*[iscommander]|mybattlefield) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 9 life more) name(This spell costs 9 life more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{L:9}]] name(pay 9 life) donothing?fizzle])) oneshot text=Menace -- Ward-Pay 9 life. -- Whenever Nine-Fingers Keene deals combat damage to a player, look at the top nine cards of your library. You may put a Gate card from among them onto the battlefield. Then if you control nine or more Gates, put the rest into your hand. Otherwise, put the rest on the bottom of your library in a random order. mana={1}{B}{G}{U} @@ -71554,8 +71554,8 @@ type=Sorcery [/card] [card] name=Nissa's Triumph -auto=transforms((,newability[name(search 2 forests) moveto(ownerHand) target(forest[basic]|myLibrary)])) ueot -auto=aslongas(*[nissa]|mybattlefield)>0 transforms((,newability[name(search 3 lands) moveto(ownerHand) target(land|myLibrary)])) ueot +auto=transforms((,newability[name(search 2 forests) moveto(hand) target(forest[basic]|myLibrary)])) ueot +auto=aslongas(*[nissa]|mybattlefield)>0 transforms((,newability[name(search 3 lands) moveto(hand) target(land|myLibrary)])) ueot text=Search your library for up to two basic Forest cards. If you control a Nissa planeswalker, instead search your library for up to three land cards. Reveal those cards, put them into your hand, then shuffle. mana={G}{G} type=Sorcery @@ -71564,7 +71564,7 @@ type=Sorcery name=Nissa's Zendikon target=land auto=becomes(Creature Elemental,4/4,haste,reach) -auto=@movedTo(mytgt|Graveyard) from(Battlefield):all(trigger[to]) moveTo(ownerHand) +auto=@movedTo(mytgt|Graveyard) from(Battlefield):all(trigger[to]) moveTo(hand) text=Enchant land -- Enchanted land is a 4/4 Elemental creature with reach and haste. It's still a land. -- When enchanted land dies, return that card to its owner's hand. mana={3}{G} type=Enchantment @@ -71572,9 +71572,9 @@ subtype=Aura [/card] [card] name=Nissa, Resurgent Animist -aicode=activate transforms((,newability[if type(*[elf;elemental]|mylibrary)~equalto~0 then shuffle],newability[if type(elf|mylibrary)~equalto~0 then if type(elemental|mylibrary)~morethan~0 then all(*[zpos=findfirsttypeelemental]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=findfirsttypeelemental]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(elf|mylibrary)~morethan~0 then all(*[zpos=findfirsttypeelf]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=findfirsttypeelf]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +aicode=activate transforms((,newability[if type(*[elf;elemental]|mylibrary)~equalto~0 then shuffle],newability[if type(elf|mylibrary)~equalto~0 then if type(elemental|mylibrary)~morethan~0 then all(*[zpos=findfirsttypeelemental]|mylibrary) moveto(hand) and!( all(*[zpos<=findfirsttypeelemental]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(elf|mylibrary)~morethan~0 then all(*[zpos=findfirsttypeelf]|mylibrary) moveto(hand) and!( all(*[zpos<=findfirsttypeelf]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot auto=@movedTo(land|myBattlefield):name(Add 1 mana) ability$!name(Choose one) choice add{W} _ choice add{U} _ choice add{R} _ choice add{G} _ choice add{B}!$ controller -auto=@movedTo(land|myBattlefield) restriction{thisturn(land[fresh]|myBattlefield)~equalto~1}:name(Reveal cards) name(Reveal cards) Reveal:1 revealzone(mylibrary) revealuntil(*[elf;elemental]|mylibrary) optionone name(Put in hand) target(*[elf;elemental]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=@movedTo(land|myBattlefield) restriction{thisturn(land[fresh]|myBattlefield)~equalto~1}:name(Reveal cards) name(Reveal cards) Reveal:1 revealzone(mylibrary) revealuntil(*[elf;elemental]|mylibrary) optionone name(Put in hand) target(*[elf;elemental]|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Landfall -- Whenever a land enters under your control, add one mana of any color. Then if this is the second time this ability has resolved this turn, reveal cards from the top of your library until you reveal an Elf or Elemental card. Put that card into your hand and the rest on the bottom of your library in a random order. mana={2}{G} type=Legendary Creature @@ -71587,7 +71587,7 @@ name=Nissa, Vastwood Seer backside=Nissa, Sage Animist restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -auto=may name(Search basic forest) target(forest[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=may name(Search basic forest) target(forest[basic]|mylibrary) moveto(hand) and!( shuffle )! auto=@movedto(land|mybattlefield) restriction{type(land|mybattlefield)~morethan~6}:name(Exile and transforms) moveto(exile) and!( moveto(mybattlefield) and!( flip(backside) )! )! text=When Nissa, Vastwood Seer enters, you may search your library for a basic Forest card, reveal it, put it into your hand, then shuffle. -- Whenever a land enters under your control, if you control seven or more lands, exile Nissa, then return her to the battlefield transformed under her owner's control. // Nissa, Sage Animist mana={2}{G} @@ -71599,7 +71599,7 @@ toughness=2 [card] name=Niv-Mizzet Reborn abilities=flying -auto=reveal:10 optionone name(Reveal) target(*[multicolor]|reveal) moveto(ownerHand) optiononeend optiontwo choice all(*|reveal) moveto(mylibrary) optiontwoend revealend +auto=reveal:10 optionone name(Reveal) target(*[multicolor]|reveal) moveto(hand) optiononeend optiontwo choice all(*|reveal) moveto(mylibrary) optiontwoend revealend text=Flying -- When Niv-Mizzet Reborn enters, reveal the top ten cards of your library. For each color pair, choose a card that's exactly those colors from among them. Put the chosen cards into your hand and the rest on the bottom of your library in a random order. mana={W}{U}{B}{R}{G} type=Legendary Creature @@ -71688,7 +71688,7 @@ type=Sorcery [/card] [card] name=Noble Benefactor -auto=_DIES_name(fetch) transforms((,newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ controller],newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ opponent])) oneshot +auto=_DIES_name(fetch) transforms((,newability[ability$! moveto(hand) notatarget(<1>*|mylibrary) !$ controller],newability[ability$! moveto(hand) notatarget(<1>*|mylibrary) !$ opponent])) oneshot text=When Noble Benefactor dies, each player may search their library for a card and put that card into their hand. Then each player who searched their library this way shuffles it. mana={2}{U} type=Creature @@ -71800,7 +71800,7 @@ type=Artifact [card] name=Nostalgic Dreams abilities=exiledeath -auto=choice name(Discard any number of cards) target(*|myhand) reject and!( transforms((,newability[name(Return card from graveyard) target(*|mygraveyard) moveto(ownerHand)])) oneshot )! +auto=choice name(Discard any number of cards) target(*|myhand) reject and!( transforms((,newability[name(Return card from graveyard) target(*|mygraveyard) moveto(hand)])) oneshot )! text=As an additional cost to cast Nostalgic Dreams, discard X cards. -- Return X target cards from your graveyard to your hand. Exile Nostalgic Dreams. mana={G}{G} type=Sorcery @@ -72012,7 +72012,7 @@ toughness=3 [card] name=Nurturing Bristleback auto=create(dinosaur:creature dinosaur:3/3:green) -autohand={2}{cycle}:name(Search forest) target(forest|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={2}{cycle}:name(Search forest) target(forest|myLibrary) moveto(hand) and!( shuffle )! text=When Nurturing Bristleback enters, create a 3/3 green Dinosaur creature token. -- Forestcycling {2} ({2}, Discard this card: Search your library for a Forest card, reveal it, put it into your hand, then shuffle.) mana={5}{G}{G} type=Creature @@ -72083,8 +72083,8 @@ toughness=3 [card] name=Nylea's Intervention abilities=hiddenface -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=X]|mylibrary) && shuffle])) ueot -auto=Choice name(Look X cards) reveal:X optionone name(Get a card) target(<1>*[land]|reveal) moveto(ownerHand) optiononeend revealend && shuffle +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=X]|mylibrary) && shuffle])) ueot +auto=Choice name(Look X cards) reveal:X optionone name(Get a card) target(<1>*[land]|reveal) moveto(hand) optiononeend revealend && shuffle auto=Choice name(Deals X damage) damage:X all(creature[flying]) && damage:X all(creature[flying]) text=Choose one -- Search your library for up to X land cards, reveal them, put them into your hand, then shuffle. -- Nylea's Intervention deals twice X damage to each creature with flying. mana={X}{G}{G} @@ -72093,11 +72093,11 @@ type=Sorcery [card] name=Nylea, Keen-Eyed abilities=indestructible -aicode=activate transforms((,newability[if type(creature[zpos=1]|mylibrary)~morethan~0 then target(creature[zpos=1]|mylibrary) moveto(ownerHand) else target(*[zpos=1]|mylibrary) moveto(mygraveyard)])) ueot +aicode=activate transforms((,newability[if type(creature[zpos=1]|mylibrary)~morethan~0 then target(creature[zpos=1]|mylibrary) moveto(hand) else target(*[zpos=1]|mylibrary) moveto(mygraveyard)])) ueot auto=this(variable{type:manag}<5) transforms((removetypes,newability[becomes(Legendary Enchantment God)])) auto=this(variable{type:manag}>4) transforms((Legendary Enchantment Creature)) auto=lord(creature|mycastingzone) altercost( colorless,-1) -auto={2}{G}:reveal:1 optionone target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in grave) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={2}{G}:reveal:1 optionone target(creature|reveal) moveto(hand) optiononeend optiontwo name(Put in grave) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Indestructible -- As long as your devotion to green is less than five, Nylea isn't a creature. -- Creature spells you cast cost {1} less to cast. -- {2}{G}: Reveal the top card of your library. If it's a creature card, put it into your hand. Otherwise, you may put it into your graveyard. mana={3}{G} type=Legendary Enchantment Creature @@ -72108,7 +72108,7 @@ toughness=6 [card] name=Nymris, Oona's Trickster abilities=flash,flying -auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:name(Look 2 cards) reveal:2 optionone name(Put in hand) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in graveyard) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:name(Look 2 cards) reveal:2 optionone name(Put in hand) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(Put in graveyard) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Flash -- Flying -- Whenever you cast your first spell during each opponent's turn, look at the top two cards of your library. Put one of those cards into your hand and the other into your graveyard. mana={3}{U}{B} type=Legendary Creature @@ -73149,8 +73149,8 @@ toughness=3 [card] name=Oko's Hospitality auto=lord(creature|battlefield) transforms((,setpower=3,settoughness=3)) ueot -auto=moveto(ownerHand) target(Oko^ the Trickster|mylibrary) -auto=moveto(ownerHand) target(Oko^ the Trickster|mygraveyard) +auto=moveto(hand) target(Oko^ the Trickster|mylibrary) +auto=moveto(hand) target(Oko^ the Trickster|mygraveyard) text=Creatures you control have base power and toughness 3/3 until end of turn. You may search your library and/or graveyard for a card named Oko, the Trickster, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{G}{U} type=Instant @@ -73252,7 +73252,7 @@ toughness=4 [card] name=Oliphaunt abilities=trample -autohand={1}{cycle}:name(Search mountain) target(mountain|mylibrary) moveto(ownerHand) and!( shuffle )! +autohand={1}{cycle}:name(Search mountain) target(mountain|mylibrary) moveto(hand) and!( shuffle )! auto=_ATTACKING_name(Creaure gains 2/0 and trample) target(other creature|myBattlefield) transforms((,newability[2/0],trample)) ueot text=Trample -- Whenever Oliphaunt attacks, another target creature you control gets +2/+0 and gains trample until end of turn. -- Mountaincycling {1} ({1}, Discard this card: Search your library for a mountain card, reveal it, put it into your hand, then shuffle.) mana={5}{R} @@ -73349,7 +73349,7 @@ toughness=5 [/card] [card] name=Oltec Archaeologists -auto=may target(artifact|mygraveyard) moveto(ownerHand) +auto=may target(artifact|mygraveyard) moveto(hand) auto=may _SCRY3_ text=When Oltec Archaeologists enters, choose one - -- - Return target artifact card from your graveyard to your hand. -- - Scry 3. (Look at the top three cards of your library, then put any number of them on the bottom and the rest on top in any order.) mana={4}{W} @@ -73423,7 +73423,7 @@ toughness=1 [/card] [card] name=Omen of Fire -auto=moveTo(ownerhand) all(island) +auto=moveTo(hand) all(island) auto=foreach(*[white]|mybattlefield) name(Choose one) ability$!name(Sacrifice plains) choice name(Sacrifice plains) sacrifice notAtarget(plains|mybattlefield) _ choice name(Sacrifice white permanent) sacrifice notatarget(*[white]|mybattlefield)!$ controller auto=foreach(*[white]|opponentBattlefield) name(Choose one) ability$!name(Sacrifice plains) choice name(Sacrifice plains) sacrifice notAtarget(plains|mybattlefield) _ choice name(Sacrifice white permanent)sacrifice notatarget(*[white]|mybattlefield)!$ opponent text=Return all Islands to their owners' hands. -- Each player sacrifices a Plains or a white permanent for each white permanent they control. @@ -73433,7 +73433,7 @@ type=Instant [card] name=Omen of the Dead abilities=flash -auto=moveto(ownerHand) target(creature|myGraveyard) +auto=moveto(hand) target(creature|myGraveyard) aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto={2}{W}{S}:_SCRY2_ text=Flash -- When Omen of the Dead enters, return target creature card from your graveyard to your hand. -- {2}{B}, Sacrifice Omen of the Dead: Scry 2. @@ -73483,7 +73483,7 @@ type=Enchantment [/card] [card] name=Ominous Parcel -auto={2}{T}{S}:target(land[basic]|mylibrary) moveto(ownerHand) +auto={2}{T}{S}:target(land[basic]|mylibrary) moveto(hand) auto={5}{T}{S}:damage:4 target(creature) text={2}, {T}, Sacrifice Ominous Parcel: Search your library for a basic land card, reveal it, put it into your hand, then shuffle. -- {5}, {T}, Sacrifice Ominous Parcel: It deals 4 damage to target creature. mana={1} @@ -73521,7 +73521,7 @@ toughness=4 [card] name=Ominous Traveler auto=name(Draft a card) transforms((,newability[choice name(Dominating Vampire) conjure cards(Dominating Vampire) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Vampire Socialite) conjure cards(Vampire Socialite) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Stromkirk Bloodthief) conjure cards(Stromkirk Bloodthief) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Falkenrath Pit Fighter) conjure cards(Falkenrath Pit Fighter) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Wolfkin Outcast) conjure cards(Wolfkin Outcast) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Howlpack Piper) conjure cards(Howlpack Piper) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Tovolar, Dire Overlord) conjure cards(Tovolar, Dire Overlord) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Patrician Geist) conjure cards(Patrician Geist) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Shipwreck Sifters) conjure cards(Shipwreck Sifters) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Steelclad Spirit) conjure cards(Steelclad Spirit) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Heron-Blessed Geist) conjure cards(Heron-Blessed Geist) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Archghoul of Thraben) conjure cards(Archghoul of Thraben) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Champion of the Perished) conjure cards(Champion of the Perished) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Headless Rider) conjure cards(Headless Rider) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!],newability[choice name(Bladestitched Skaab) conjure cards(Bladestitched Skaab) zone(myhand) and!( counter(0/0.1.PerpetualOminous) notrg )!])) oneshot -auto=emblem transforms((,newability[lord(*[counter{0/0.1.PerpetualOminous}]|mycastingzone) anytypeofmana],newability[@movedto(*|mystack):name(Return to hand) all(trigger[to]) name(Return to hand) transforms((,newability[if compare(hascntperpetualominous)~morethan~0 then name(Return to hand) name(Return to hand) target(Ominous Traveler|mybattlefield) moveto(ownerhand)])) forever])) forever dontremove +auto=emblem transforms((,newability[lord(*[counter{0/0.1.PerpetualOminous}]|mycastingzone) anytypeofmana],newability[@movedto(*|mystack):name(Return to hand) all(trigger[to]) name(Return to hand) transforms((,newability[if compare(hascntperpetualominous)~morethan~0 then name(Return to hand) name(Return to hand) target(Ominous Traveler|mybattlefield) moveto(hand)])) forever])) forever dontremove text=When Ominous Traveler enters, draft a card from Ominous Traveler's spellbook. That card perpetually gains "You may spend mana as though it were mana of any color to cast this spell" and "When you cast this spell, return a card named Ominous Traveler you control to its owner's hand." mana={2} type=Creature @@ -73725,8 +73725,8 @@ toughness=2 name=Once Upon a Time other={0} name(Cast as first spell) otherrestriction=type(*[-land]|mygraveyard)~equalto~0,type(*[-land]|myexile)~equalto~0,type(*|mystack)~equalto~0 -aicode=activate moveto(ownerHand) target(*[creature;land;zpos<=5]|mylibrary) -auto=name(look) reveal:5 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate moveto(hand) target(*[creature;land;zpos<=5]|mylibrary) +auto=name(look) reveal:5 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=If this spell is the first spell you've cast this game, you may cast it without paying its mana cost. -- Look at the top five cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={1}{G} type=Instant @@ -73734,8 +73734,8 @@ type=Instant [card] name=Once and Future abilities=exiledeath -auto=if casted(this) then ifnot spent({G}{G}{G}) then target(*|myGraveyard) moveto(ownerHand) and!( transforms((,newability[name(Return to library) target(*|myGraveyard) moveto(myLibrary)])) oneshot )! -auto=if casted(this) then if spent({G}{G}{G}) then target(*|mygraveyard) moveto(ownerHand) +auto=if casted(this) then ifnot spent({G}{G}{G}) then target(*|myGraveyard) moveto(hand) and!( transforms((,newability[name(Return to library) target(*|myGraveyard) moveto(myLibrary)])) oneshot )! +auto=if casted(this) then if spent({G}{G}{G}) then target(*|mygraveyard) moveto(hand) text=Return target card from your graveyard to your hand. Put up to one other target card from your graveyard on top of your library. Exile Once and Future. -- Adamant - If at least three green mana was spent to cast this spell, instead return those cards to your hand and exile Once and Future. mana={3}{G} type=Instant @@ -73971,7 +73971,7 @@ type=Sorcery [/card] [card] name=Open the Gates -auto=notatarget(*[basic;gate]|mylibrary) moveto(ownerHand) +auto=notatarget(*[basic;gate]|mylibrary) moveto(hand) text=Search your library for a basic land card or Gate card, reveal it, put it into your hand, then shuffle. mana={G} type=Sorcery @@ -74070,8 +74070,8 @@ toughness=1 [/card] [card] name=Oracle of Tragedy -auto=name(Choose one) transforms((,newability[if type(*[manacost>=3]|mygraveyard)~morethan~0 then choice name(Shuffle 4 cards) name(Shuffle 4 cards) target(*[manacost>=3]|mygraveyard) moveto(mylibrary) and!( shuffle )!],newability[choice name(Draw and discard) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot )!])) oneshot -auto=_DIES_name(Choose one) transforms((,newability[if type(*[manacost>=3]|mygraveyard)~morethan~0 then choice name(Shuffle 4 cards) name(Shuffle 4 cards) target(*[manacost>=3]|mygraveyard) moveto(mylibrary) and!( shuffle )!],newability[choice name(Draw and discard) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot )!])) oneshot +auto=name(Choose one) transforms((,newability[if type(*[manacost>=3]|mygraveyard)~morethan~0 then choice name(Shuffle 4 cards) name(Shuffle 4 cards) target(*[manacost>=3]|mygraveyard) moveto(mylibrary) and!( shuffle )!],newability[choice name(Draw and discard) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot )!])) oneshot +auto=_DIES_name(Choose one) transforms((,newability[if type(*[manacost>=3]|mygraveyard)~morethan~0 then choice name(Shuffle 4 cards) name(Shuffle 4 cards) target(*[manacost>=3]|mygraveyard) moveto(mylibrary) and!( shuffle )!],newability[choice name(Draw and discard) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot )!])) oneshot text=When Oracle of Tragedy enters or dies, choose one -- Draw a card, then discard a card. -- Shuffle up to four target cards with mana value 3 or greater from your graveyard into your library. mana={1}{U} type=Creature @@ -74092,7 +74092,7 @@ toughness=5 [/card] [card] name=Oracle's Vault -auto={2}{T}{counter(0/0,1,brick)}:_IMPULSEDRAW_ +auto={2}{T}{counter(0/0,1,brick)}:_IMPULSE_DRAW_ auto=this(counter{0/0.3.brick}) {T}:moveto(exile) and!( transforms((,zerocast,canplayfromexile)) ueot )! all(*[zpos=1]|mylibrary) text={2}, {T}: Exile the top card of your library. Until end of turn, you may play that card. Put a brick counter on Oracle's Vault. -- {T}: Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on Oracle's Vault. mana={4} @@ -74150,7 +74150,7 @@ toughness=2 [/card] [card] name=Orazca Puzzle-Door -auto={1}{T}{S}:reveal:2 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={1}{T}{S}:reveal:2 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text={1}, {T}, Sacrifice Orazca Puzzle-Door: Look at the top two cards of your library. Put one of those cards into your hand and the other into your graveyard. mana={U} type=Artifact @@ -74175,10 +74175,10 @@ type=Artifact [/card] [card] name=Orb of Dragonkind -aicode=activate transforms((,newability[if type(dragon[zpos<=7]|myLibrary)~morethan~0 then target(dragon[zpos<=7]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +aicode=activate transforms((,newability[if type(dragon[zpos<=7]|myLibrary)~morethan~0 then target(dragon[zpos<=7]|myLibrary) moveto(hand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {1}{T}:name(Add two mana) thisforeach(variable{2}) ability$!name(add mana) choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W}!$ controller auto=this(variable{type:dragon:mybattlefield}>0) {1}{T}:name(Add two mana) thisforeach(variable{2}) ability$!name(add mana) choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W}!$ controller -auto={R}{T}{S}:name(Look top 7 cards) reveal:7 optionone name(Get a dragon) target(dragon|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto={R}{T}{S}:name(Look top 7 cards) reveal:7 optionone name(Get a dragon) target(dragon|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text={1}, {T}: Add two mana in any combination of colors. Spend this mana only to cast Dragon spells or to activate abilities of Dragons. -- {R}, {T}, Sacrifice Orb of Dragonkind: Look at the top seven cards of your library. You may reveal a Dragon card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={1}{R} type=Artifact @@ -74205,8 +74205,8 @@ toughness=5 [/card] [card] name=Orchard Strider -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{G}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{G}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=name(Create food) _FOOD_ text=When Orchard Strider enters, create two Food tokens. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Basic landcycling {1}{G} ({1}{G}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) mana={4}{G}{G} @@ -74362,7 +74362,7 @@ type=Instant name=Order of Midnight // Alter Fate abilities=flying,cantblock,adventure other={1}{B} name(Adventure) -auto=if paid(alternative) then name(Return creature from graveyard) name(Return creature from graveyard) target(creature|mygraveyard) moveto(ownerHand) +auto=if paid(alternative) then name(Return creature from graveyard) name(Return creature from graveyard) target(creature|mygraveyard) moveto(hand) auto=if paid(alternative) then _ADVENTURE_ text=Flying -- Order of Midnight can't block. // Return target creature card from your graveyard to your hand. (Then exile this card. You may cast the creature later from exile.) mana={1}{B} @@ -74466,8 +74466,8 @@ type=Sorcery [/card] [card] name=Organ Hoarder -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot -auto=name(Reveal top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(hand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot +auto=name(Reveal top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=When Organ Hoarder enters, look at the top three cards of your library, then put one of them into your hand and the rest into you graveyard. type=Creature subtype=Zombie @@ -74608,7 +74608,7 @@ toughness=3 [/card] [card] name=Orzhov Advokist -auto=@each my upkeep: may lord(creature|opponentBattlefield) cantattack ueot && target(creature|opponentBattlefield) counter(1/1,2) +auto=@each my upkeep:may lord(creature|opponentBattlefield) cantattack ueot && target(creature|opponentBattlefield) counter(1/1,2) auto=@each my upkeep:may target(creature|myBattlefield) counter(1/1,2) text=At the beginning of your upkeep, each player may put two +1/+1 counters on a creature they control. If a player does, creatures that player controls can't attack you or a planeswalker you control until your next turn. mana={2}{W} @@ -74619,7 +74619,7 @@ toughness=4 [/card] [card] name=Orzhov Charm -auto=choice name(Return creature to hand) target(creature|mybattlefield) moveto(ownerHand) +auto=choice name(Return creature to hand) target(creature|mybattlefield) moveto(hand) auto=choice name(Destroy creature) target(creature) dynamicability && destroy auto=choice name(Return creature to battlefield) target(creature[manacost<=1]|mygraveyard) moveto(mybattlefield) text=Choose one Return target creature you control and all Auras you control attached to it to their owner's hand; or destroy target creature and you lose life equal to its toughness; or return target creature card with mana value 1 or less from your graveyard to the battlefield. @@ -74745,10 +74745,10 @@ toughness=2 [card] name=Otawara, Soaring City auto={T}:Add{U} -autohand=this(variable{type:creature[legendary]:mybattlefield}=0) {3}{U}{discard}:name(Return to hand) name(Return to hand) moveTo(ownerhand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) -autohand=this(variable{type:creature[legendary]:mybattlefield}=1) {2}{U}{discard}:name(Return to hand) name(Return to hand) moveTo(ownerhand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) -autohand=this(variable{type:creature[legendary]:mybattlefield}=2) {1}{U}{discard}:name(Return to hand) name(Return to hand) moveTo(ownerhand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) -autohand=this(variable{type:creature[legendary]:mybattlefield}>=3) {U}{discard}:name(Return to hand) name(Return to hand) moveTo(ownerhand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) +autohand=this(variable{type:creature[legendary]:mybattlefield}=0) {3}{U}{discard}:name(Return to hand) name(Return to hand) moveTo(hand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) +autohand=this(variable{type:creature[legendary]:mybattlefield}=1) {2}{U}{discard}:name(Return to hand) name(Return to hand) moveTo(hand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) +autohand=this(variable{type:creature[legendary]:mybattlefield}=2) {1}{U}{discard}:name(Return to hand) name(Return to hand) moveTo(hand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) +autohand=this(variable{type:creature[legendary]:mybattlefield}>=3) {U}{discard}:name(Return to hand) name(Return to hand) moveTo(hand) target(*[artifact;creature;enchantment;planeswalker]|battlefield) text={T}: Add {U}. -- Channel - {3}{U}, Discard Otawara, Soaring City: Return target artifact, creature, enchantment, or planeswalker to it's owner's hand. This ability costs {1} less to activate for each legendary creature you control. type=Legendary Land [/card] @@ -74790,7 +74790,7 @@ name=Otrimi, the Ever-Playful abilities=trample,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -74799,8 +74799,8 @@ auto={999}:equip other={1}{B}{G}{U} name(Mutate) auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Over) name(Mutate Over) target(other creature[-human]|mybattlefield) mutateover auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Under) name(Mutate Under) target(other creature[-human]|mybattlefield) mutateunder -auto=@combatdamaged(player) from(this):name(Return creature) target(creature[mutate]|mygraveyard) moveto(ownerHand) -auto=@combatdamaged(player) from(mytgt):name(Return creature) target(creature[mutate]|mygraveyard) moveto(ownerHand) +auto=@combatdamaged(player) from(this):name(Return creature) target(creature[mutate]|mygraveyard) moveto(hand) +auto=@combatdamaged(player) from(mytgt):name(Return creature) target(creature[mutate]|mygraveyard) moveto(hand) text=Mutate {1}{B}{G}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Trample -- Whenever this creature deals combat damage to a player, return target creature card with mutate from your graveyard to your hand. mana={3}{B}{G}{U} type=Legendary Creature @@ -74936,7 +74936,7 @@ type=Sorcery name=Outpost Siege auto=choice name(Khans) transforms((,newability[counter(0/0.1.Khans)])) forever auto=choice name(Dragons) transforms((,newability[counter(0/0.1.Dragons)])) forever -auto=@each my upkeep:this(counter{0/0.1.Khans}>=1) _IMPULSEDRAW_ +auto=@each my upkeep:this(counter{0/0.1.Khans}>=1) _IMPULSE_DRAW_ auto=@movedto(creature|nonbattlezone) from(mybattlefield):this(counter{0/0.1.Dragons}>=1) damage:1 target(anytarget) text=As Outpost Siege enters, choose Khans or Dragons. -- Khans -- At the beginning of your upkeep, exile the top card of your library. Until end of turn, you may play that card. -- Dragons -- Whenever a creature you control leaves the battlefield, Outpost Siege deals 1 damage to any target. mana={3}{R} @@ -75030,8 +75030,8 @@ type=Land [/card] [card] name=Overgrown Pest -aicode=activate transforms((,newability[if type(*[land;hasbackside;zpos<=5]|myLibrary)~morethan~0 then target(*[land;hasbackside;zpos<=5]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=name(Look top 5 cards) reveal:5 optionone name(Choose a card) target(*[land;hasbackside]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(*[land;hasbackside;zpos<=5]|myLibrary)~morethan~0 then target(*[land;hasbackside;zpos<=5]|myLibrary) moveto(hand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=name(Look top 5 cards) reveal:5 optionone name(Choose a card) target(*[land;hasbackside]|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=When Overgrown Pest enters, look at the top five cards of your library. You may reveal a land or double-faced card from among them and put that card into your hand. Put the rest on the bottom of your library in a random order. mana={2}{G} type=Creature @@ -75114,14 +75114,6 @@ power=3 toughness=2 [/card] [card] -name=Overwhelming Encounter -auto=all(creature|myBattlefield) transforms((,vigilance,trample)) ueot -auto=name(Roll a d20) rolld20 20 winability all(creature|myBattlefield) counter(1/1.4) winabilityend loseability if compare(lastrollresult)~lessthan~10 then all(creature|myBattlefield) 2/2 ueot else all(creature|myBattlefield) counter(1/1.2) loseabilityend rolld20end -text=Creatures you control gain vigilance and trample until end of turn. Roll a d20. -- 1-9 | Creatures you control get +2/+2 until end of turn. -- 10-19 | Put two +1/+1 counters on each creature you control. -- 20 | Put four +1/+1 counters on each creature you control. -mana={3}{G}{G} -type=Sorcery -[/card] -[card] name=Overwhelming Remorse abilities=affinitygravecreatures target=*[creature;planeswalker]|battlefield @@ -75758,7 +75750,7 @@ name=Parcelbeast abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -75767,7 +75759,7 @@ auto={999}:equip other={G}{U} name(Mutate) auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Over) name(Mutate Over) target(other creature[-human]|mybattlefield) mutateover auto=if paid(alternative) then if compare(mutations)~equalto~0 then choice name(Mutate Over) name(Mutate Under) name(Mutate Under) target(other creature[-human]|mybattlefield) mutateunder -auto=transforms((,newability[{1}{T}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[land]|*) then choice name(Put in play) name(Put in play) moveto(mybattlefield)],newability[if cantargetcard(*[land]|*) then choice name(Don't in play) name(Don't in play) donothing])) forever )!])) +auto=transforms((,newability[{1}{T}:name(Look top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[if cantargetcard(*[land]|*) then choice name(Put in play) name(Put in play) moveto(mybattlefield)],newability[if cantargetcard(*[land]|*) then choice name(Don't in play) name(Don't in play) donothing])) forever )!])) text=Mutate {G}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- {1}, {T}: Look at the top card of your library. If it's a land card, you may put it onto the battlefield. If you don't put the card onto the battlefield, put it into your hand. mana={2}{G}{U} type=Creature @@ -76001,7 +75993,7 @@ type=Enchantment [/card] [card] name=Path of Discovery -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=@movedTo(creature|myBattlefield):all(trigger[to]) _EXPLORES_ text=Whenever a creature enters under your control, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on the creature, then put the card back or put it into your graveyard.) mana={3}{G} @@ -76087,7 +76079,7 @@ type=Sorcery [/card] [card] name=Path to the World Tree -auto=target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! auto={2}{W}{U}{B}{R}{G}:transforms((,newability[sacrifice],newability[life:2 controller],newability[draw:2 controller],newability[life:-2 opponent],newability[token(Bear^Creature Bear^2/2^green)],newability[may name(Damage creature) target(creature) damage:2])) oneshot text=When Path to the World Tree enters, search your library for a basic land card, reveal it, put it into your hand, then shuffle. -- {2}{W}{U}{B}{R}{G}, Sacrifice Path to the World Tree: You gain 2 life and draw two cards. Target opponent loses 2 life. Path to the World Tree deals 2 damage to up to one target creature. You create a 2/2 green Bear creature token. mana={1}{G} @@ -76095,7 +76087,7 @@ type=Enchantment [/card] [card] name=Pathfinding Axejaw -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=When Pathfinding Axejaw enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={3}{G} @@ -76228,15 +76220,6 @@ mana={W} type=Instant [/card] [card] -name=Peace Talks -auto=all(creature|battlefield) transforms((,cantattack)) uynt -auto=all(creature|battlefield) transforms((,cantpwattack)) uynt -auto=all(*|battlefield) transforms((,newability[shroud],newability[controllershroud])) uynt -text=This turn and next turn, creatures can't attack, and players and permanents can't be the targets of spells or activated abilities. -mana={1}{W} -type=Sorcery -[/card] -[card] name=Peer into the Abyss auto=choice name(Target opponent) draw:halfuptype:*:opponentlibrary opponent && life:-halfupopponentlifetotal opponent auto=choice name(Target controller) draw:halfuptype:*:mylibrary controller && life:-halfuplifetotal controller @@ -76246,7 +76229,7 @@ type=Sorcery [/card] [card] name=Peerless Ropemaster -auto=may target(creature[tapped]) moveto(ownerhand) +auto=may target(creature[tapped]) moveto(hand) text=When Peerless Ropemaster enters, return up to one target tapped creature to its owner's hand. mana={4}{U} type=Creature @@ -76306,7 +76289,7 @@ restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(Pelakka Caverns) autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Pelakka Caverns) name(Pelakka Caverns) flip(Pelakka Caverns) forcetype(land) aicode=activate reject notatarget(*[manacost>=3]|opponenthand) -auto=name(reveal hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(Choose a card) target(*[manacost>=3]|reveal) reject optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=name(reveal hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(Choose a card) target(*[manacost>=3]|reveal) reject optiononeend optiontwo name(put back) all(*|reveal) moveto(hand) optiontwoend revealend text=Target opponent reveals their hand. You may choose a card from it with mana value 3 or greater. That player discards that card. // Pelakka Caverns mana={2}{B} type=Sorcery @@ -76411,7 +76394,7 @@ toughness=3 [/card] [card] name=Peregrination -auto=if type(land|myLibrary)~morethan~1 then choice name(Search two lands) name(Search two lands) target(land[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[name(Search another land) target(land[basic]|mylibrary) moveto(ownerHand) and!( transforms((,newability[name(Scry 1) _SCRY1_])) oneshot )!])) oneshot )! +auto=if type(land|myLibrary)~morethan~1 then choice name(Search two lands) name(Search two lands) target(land[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[name(Search another land) target(land[basic]|mylibrary) moveto(hand) and!( transforms((,newability[name(Scry 1) _SCRY1_])) oneshot )!])) oneshot )! auto=if type(land|myLibrary)~morethan~0 then choice name(Search one land) name(Search one land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) && _SCRY1_ )! auto=choice name(Don't search any land) _SCRY1_ text=Search your library for up to two basic land cards, reveal those cards, and put one onto the battlefield tapped and the other into your hand. Shuffle your library, then scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) @@ -76442,8 +76425,8 @@ type=Land [card] name=Perilous Voyage aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if type(*[-land;manacost<=2]|opponentBattlefield)~morethan~0 then choice name(Return permanent with manacost 2 or less) name(Return permanent with manacost 2 or less) target(*[-land;manacost<=2]|opponentBattlefield) moveto(ownerhand) && _SCRY2_ -auto=choice name(Return permanent with manacost 3 or more) target(*[-land;manacost>=3]|opponentBattlefield) moveto(ownerhand) +auto=if type(*[-land;manacost<=2]|opponentBattlefield)~morethan~0 then choice name(Return permanent with manacost 2 or less) name(Return permanent with manacost 2 or less) target(*[-land;manacost<=2]|opponentBattlefield) moveto(hand) && _SCRY2_ +auto=choice name(Return permanent with manacost 3 or more) target(*[-land;manacost>=3]|opponentBattlefield) moveto(hand) text=Return target nonland permanent you don't control to its owner's hand. If its mana value was 2 or less, scry 2. mana={1}{U} type=Instant @@ -76482,8 +76465,8 @@ toughness=2 [/card] [card] name=Perplexing Test -auto=choice name(Return all token creatures) all(creature[token]|battlefield) moveto(ownerhand) -auto=choice name(Return all non-token creatures) all(creature[-token]|battlefield) moveto(ownerhand) +auto=choice name(Return all token creatures) all(creature[token]|battlefield) moveto(hand) +auto=choice name(Return all non-token creatures) all(creature[-token]|battlefield) moveto(hand) text=Choose one -- Return all creature tokens to their owners' hands. -- Return all nontoken creatures to their owners' hands. mana={3}{U}{U} type=Instant @@ -77074,7 +77057,7 @@ toughness=0 name=Phyrexian Missionary abilities=lifelink kicker={1}{B} -auto=if paid(kicker) then target(creature|mygraveyard) moveto(ownerhand) +auto=if paid(kicker) then target(creature|mygraveyard) moveto(hand) text=Kicker {1}{B} (You may pay an additional {1}{B} as you cast this spell.) -- Lifelink -- When Phyrexian Missionary enters, if it was kicked, return target creature card from your graveyard to your hand. mana={1}{W} type=Creature @@ -77363,8 +77346,8 @@ toughness=1 [/card] [card] name=Pilgrim of the Ages -auto=may name(Search basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! -autograveyard={6}:name(Return to hand) moveto(ownerHand) +auto=may name(Search basic plains) target(plains[basic]|mylibrary) moveto(hand) and!( shuffle )! +autograveyard={6}:name(Return to hand) moveto(hand) text=When Pilgrim of the Ages enters, you may search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. -- {6}: Return Pilgrim of the Ages from your graveyard to your hand. mana={2}{W} type=Creature @@ -77374,7 +77357,7 @@ toughness=1 [/card] [card] name=Pillage the Bog -auto=name(Reveal x cards) reveal:twicetype:land:mybattlefield optionone name(Get Card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Reveal x cards) reveal:twicetype:land:mybattlefield optionone name(Get Card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend autohand={1}{B}{G}:_PLOT_ autoexile=_PLOTCAST_ text=Look at the top X cards of your library, where X is twice the number of lands you control. Put one of them into your hand and the rest on the bottom of your library in a random order. -- Plot {1}{B}{G} (You may pay {1}{B}{G} and exile this card from your hand. Cast it as a sorcery on a later turn without paying its mana cost. Plot only as a sorcery.) @@ -77401,7 +77384,7 @@ type=Land [card] name=Pillardrop Rescuer abilities=flying -auto=name(Return creature) target(creature[manacost<=3]|mygraveyard) moveto(ownerHand) +auto=name(Return creature) target(creature[manacost<=3]|mygraveyard) moveto(hand) text=Flying -- When Pillardrop Rescuer enters, return target creature card with mana value 3 or less from your graveyard to your hand. mana={4}{W} type=Creature @@ -77412,7 +77395,7 @@ toughness=2 [card] name=Pillardrop Warden abilities=reach -auto={2}{T}{S}:name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) asSorcery +auto={2}{T}{S}:name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(hand) asSorcery text=Reach -- {2}, {T}, Sacrifice Pillardrop Warden: Return target instant or sorcery card from your graveyard to your hand. Activate only as a sorcery. mana={3}{R} type=Creature @@ -77612,7 +77595,7 @@ toughness=3 [card] name=Pitchstone Wall abilities=defender -auto=@discarded(*|myhand):may name(Sacrifice and put in hand) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(ownerHand) && all(this) sacrifice])) oneshot +auto=@discarded(*|myhand):may name(Sacrifice and put in hand) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(hand) && all(this) sacrifice])) oneshot text=Defender (This creature can't attack.) -- Whenever you discard a card, you may sacrifice Pitchstone Wall. If you do, return the discarded card from your graveyard to your hand. mana={2}{R} type=Creature @@ -77859,16 +77842,16 @@ type=Instant [/card] [card] name=Planar Overlay -auto=ability$!name(Return a swamp) name(Return a swamp) target(swamp|myBattlefield) moveto(ownerhand)!$ controller -auto=ability$!name(Return a swamp) name(Return a swamp) target(swamp|myBattlefield) moveto(ownerhand)!$ opponent -auto=ability$!name(Return a plains) name(Return a plains) target(plains|myBattlefield) moveto(ownerhand)!$ controller -auto=ability$!name(Return a plains) name(Return a plains) target(plains|myBattlefield) moveto(ownerhand)!$ opponent -auto=ability$!name(Return a forest) name(Return a forest) target(forest|myBattlefield) moveto(ownerhand)!$ controller -auto=ability$!name(Return a forest) name(Return a forest) target(forest|myBattlefield) moveto(ownerhand)!$ opponent -auto=ability$!name(Return an island) name(Return an island) target(island|myBattlefield) moveto(ownerhand)!$ controller -auto=ability$!name(Return an island) name(Return an island) target(island|myBattlefield) moveto(ownerhand)!$ opponent -auto=ability$!name(Return a mountain) name(Return a mountain) target(mountain|myBattlefield) moveto(ownerhand)!$ controller -auto=ability$!name(Return a mountain) name(Return a mountain) target(mountain|myBattlefield) moveto(ownerhand)!$ opponent +auto=ability$!name(Return a swamp) name(Return a swamp) target(swamp|myBattlefield) moveto(hand)!$ controller +auto=ability$!name(Return a swamp) name(Return a swamp) target(swamp|myBattlefield) moveto(hand)!$ opponent +auto=ability$!name(Return a plains) name(Return a plains) target(plains|myBattlefield) moveto(hand)!$ controller +auto=ability$!name(Return a plains) name(Return a plains) target(plains|myBattlefield) moveto(hand)!$ opponent +auto=ability$!name(Return a forest) name(Return a forest) target(forest|myBattlefield) moveto(hand)!$ controller +auto=ability$!name(Return a forest) name(Return a forest) target(forest|myBattlefield) moveto(hand)!$ opponent +auto=ability$!name(Return an island) name(Return an island) target(island|myBattlefield) moveto(hand)!$ controller +auto=ability$!name(Return an island) name(Return an island) target(island|myBattlefield) moveto(hand)!$ opponent +auto=ability$!name(Return a mountain) name(Return a mountain) target(mountain|myBattlefield) moveto(hand)!$ controller +auto=ability$!name(Return a mountain) name(Return a mountain) target(mountain|myBattlefield) moveto(hand)!$ opponent text=Each player chooses a land they control of each basic land type. Return those lands to their owners' hands. mana={2}{U} type=Sorcery @@ -77885,42 +77868,42 @@ toughness=3 [/card] [card] name=Planeswalker's Favor -auto={3}{G}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets X/X) moveto(ownerhand) and!( target(creature) manacost/manacost ueot )!])) oneshot )! +auto={3}{G}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets X/X) moveto(hand) and!( target(creature) manacost/manacost ueot )!])) oneshot )! text={3}{G}: Target opponent reveals a card at random from their hand. Target creature gets +X/+X until end of turn, where X is the revealed card's mana value. mana={2}{G} type=Enchantment [/card] [card] name=Planeswalker's Fury -auto={3}{R}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Deal damage) moveto(ownerhand) and!( damage:manacost opponent )!])) oneshot )! +auto={3}{R}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Deal damage) moveto(hand) and!( damage:manacost opponent )!])) oneshot )! text={3}{R}: Target opponent reveals a card at random from their hand. Planeswalker's Fury deals damage equal to that card's mana value to that player. Activate this ability only any time you could cast a sorcery. mana={2}{R} type=Enchantment [/card] [card] name=Planeswalker's Mirth -auto={3}{W}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(You gain life) moveto(ownerhand) and!( life:manacost controller )!])) oneshot )! +auto={3}{W}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(You gain life) moveto(hand) and!( life:manacost controller )!])) oneshot )! text={3}{W}: Target opponent reveals a card at random from their hand. You gain life equal to that card's mana value. mana={2}{W} type=Enchantment [/card] [card] name=Planeswalker's Mischief -auto={3}{U}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put to exile) name(Put to exile) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast],newability[phaseaction[end once checkex] moveto(ownerhand)])) ueot)!],newability[if cantargetcard(*[-instant;-sorcery]|*) then choice name(Put back) name(Put back) moveto(ownerhand)])) oneshot )! asSorcery +auto={3}{U}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put to exile) name(Put to exile) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast],newability[phaseaction[end once checkex] moveto(hand)])) ueot)!],newability[if cantargetcard(*[-instant;-sorcery]|*) then choice name(Put back) name(Put back) moveto(hand)])) oneshot )! asSorcery text={3}{U}: Target opponent reveals a card at random from their hand. If it's an instant or sorcery card, exile it. You may cast it without paying its mana cost for as long as it remains exiled. (If it has X in its mana cost, X is 0.) At the beginning of the next end step, if you haven't cast it, return it to its owner's hand. Activate this ability only any time you could cast a sorcery. mana={2}{U} type=Enchantment [/card] [card] name=Planeswalker's Scorn -auto={3}{B}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets -X/-X) moveto(ownerhand) and!( target(creature) -manacost/-manacost ueot )!])) oneshot )! +auto={3}{B}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets -X/-X) moveto(hand) and!( target(creature) -manacost/-manacost ueot )!])) oneshot )! text={3}{B}: Target opponent reveals a card at random from their hand. Target creature gets -X/-X until end of turn, where X is the revealed card's mana value. Activate this ability only any time you could cast a sorcery. mana={2}{B} type=Enchantment [/card] [card] name=Planewide Celebration -auto=thisforeach(variable{4}) ability$!name(Choose one) choice name(Create citizen) token(Citizen,Creature Citizen,2/2,white,blue,black,red,green) _ choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) _ choice name(Proliferate) notatarget(proliferation) proliferate _choice name(Gain life) life:4 controller!$ controller +auto=thisforeach(variable{4}) ability$!name(Choose one) choice name(Create citizen) token(Citizen,Creature Citizen,2/2,white,blue,black,red,green) _ choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(hand) _ choice name(Proliferate) notatarget(proliferation) proliferate _choice name(Gain life) life:4 controller!$ controller text=Choose four. You may choose the same mode more than once. -- Create a 2/2 Citizen creature token that's all colors. -- Return target permanent card from your graveyard to your hand. -- Proliferate. -- You gain 4 life. mana={5}{G}{G} type=Sorcery @@ -78076,7 +78059,7 @@ type=Instant [card] name=Plow Through Reito target=creature -auto=foreach(plains|mybattlefield) may moveto(ownerHand) target(plains|mybattlefield) && 1/1 ueot +auto=foreach(plains|mybattlefield) may moveto(hand) target(plains|mybattlefield) && 1/1 ueot text=Sweep - Return any number of Plains you control to their owner's hand. Target creature gets +1/+1 until end of turn for each Plains returned this way. mana={1}{W} type=Instant @@ -78126,28 +78109,28 @@ toughness=3 name=Plunge into Darkness other={1}{B}{B} name(Entwine) otherrestriction=compare(ishuman)~morethan~0 -aicode=activate target(*[zpos=1]|mylibrary) moveto(ownerHand) and!( life:-1 controller )! +aicode=activate target(*[zpos=1]|mylibrary) moveto(hand) and!( life:-1 controller )! auto=ifnot paid(alternative) then if type(creature|mybattlefield)~morethan~0 then choice name(Sacrifice creatures) name(Sacrifice creatures) name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! -auto=choice name(Pay 1 life and look 1 card) life:-1 controller && name(look) reveal:1 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 2 life and look 2 cards) name(Pay 2 life and look 2 cards) life:-2 controller && name(look) reveal:2 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 3 life and look 3 cards) name(Pay 3 life and look 3 cards) life:-3 controller && name(look) reveal:3 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 4 life and look 4 cards) name(Pay 4 life and look 4 cards) life:-4 controller && name(look) reveal:4 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 5 life and look 5 cards) name(Pay 5 life and look 5 cards) life:-5 controller && name(look) reveal:5 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 6 life and look 6 cards) name(Pay 6 life and look 6 cards) life:-6 controller && name(look) reveal:6 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 7 life and look 7 cards) name(Pay 7 life and look 7 cards) life:-7 controller && name(look) reveal:7 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 8 life and look 8 cards) name(Pay 8 life and look 8 cards) life:-8 controller && name(look) reveal:8 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 9 life and look 9 cards) name(Pay 9 life and look 9 cards) life:-9 controller && name(look) reveal:9 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 10 life and look 10 cards) name(Pay 10 life and look 10 cards) life:-10 controller && name(look) reveal:10 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 11 life and look 11 cards) name(Pay 11 life and look 11 cards) life:-11 controller && name(look) reveal:11 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 12 life and look 12 cards) name(Pay 12 life and look 12 cards) life:-12 controller && name(look) reveal:12 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 13 life and look 13 cards) name(Pay 13 life and look 13 cards) life:-13 controller && name(look) reveal:13 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 14 life and look 14 cards) name(Pay 14 life and look 14 cards) life:-14 controller && name(look) reveal:14 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 15 life and look 15 cards) name(Pay 15 life and look 15 cards) life:-15 controller && name(look) reveal:15 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 16 life and look 16 cards) name(Pay 16 life and look 16 cards) life:-16 controller && name(look) reveal:16 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 17 life and look 17 cards) name(Pay 17 life and look 17 cards) life:-17 controller && name(look) reveal:17 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 18 life and look 18 cards) name(Pay 18 life and look 18 cards) life:-18 controller && name(look) reveal:18 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 19 life and look 19 cards) name(Pay 19 life and look 19 cards) life:-19 controller && name(look) reveal:19 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend -auto=if compare(ishuman)~morethan~0 then choice name(Pay 20 life and look 20 cards) name(Pay 20 life and look 20 cards) life:-20 controller && name(look) reveal:20 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=choice name(Pay 1 life and look 1 card) life:-1 controller && name(look) reveal:1 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 2 life and look 2 cards) name(Pay 2 life and look 2 cards) life:-2 controller && name(look) reveal:2 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 3 life and look 3 cards) name(Pay 3 life and look 3 cards) life:-3 controller && name(look) reveal:3 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 4 life and look 4 cards) name(Pay 4 life and look 4 cards) life:-4 controller && name(look) reveal:4 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 5 life and look 5 cards) name(Pay 5 life and look 5 cards) life:-5 controller && name(look) reveal:5 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 6 life and look 6 cards) name(Pay 6 life and look 6 cards) life:-6 controller && name(look) reveal:6 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 7 life and look 7 cards) name(Pay 7 life and look 7 cards) life:-7 controller && name(look) reveal:7 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 8 life and look 8 cards) name(Pay 8 life and look 8 cards) life:-8 controller && name(look) reveal:8 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 9 life and look 9 cards) name(Pay 9 life and look 9 cards) life:-9 controller && name(look) reveal:9 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 10 life and look 10 cards) name(Pay 10 life and look 10 cards) life:-10 controller && name(look) reveal:10 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 11 life and look 11 cards) name(Pay 11 life and look 11 cards) life:-11 controller && name(look) reveal:11 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 12 life and look 12 cards) name(Pay 12 life and look 12 cards) life:-12 controller && name(look) reveal:12 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 13 life and look 13 cards) name(Pay 13 life and look 13 cards) life:-13 controller && name(look) reveal:13 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 14 life and look 14 cards) name(Pay 14 life and look 14 cards) life:-14 controller && name(look) reveal:14 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 15 life and look 15 cards) name(Pay 15 life and look 15 cards) life:-15 controller && name(look) reveal:15 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 16 life and look 16 cards) name(Pay 16 life and look 16 cards) life:-16 controller && name(look) reveal:16 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 17 life and look 17 cards) name(Pay 17 life and look 17 cards) life:-17 controller && name(look) reveal:17 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 18 life and look 18 cards) name(Pay 18 life and look 18 cards) life:-18 controller && name(look) reveal:18 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 19 life and look 19 cards) name(Pay 19 life and look 19 cards) life:-19 controller && name(look) reveal:19 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend +auto=if compare(ishuman)~morethan~0 then choice name(Pay 20 life and look 20 cards) name(Pay 20 life and look 20 cards) life:-20 controller && name(look) reveal:20 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend text=Choose one Sacrifice any number of creatures, then you gain 3 life for each sacrificed creature; or pay X life, then look at the top X cards of your library, put one of those cards into your hand, and exile the rest. -- Entwine {B} (Choose both if you pay the entwine cost.) mana={1}{B} type=Instant @@ -78480,7 +78463,7 @@ name=Porcuparrot abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -78525,7 +78508,7 @@ type=Artifact [/card] [card] name=Portal of Sanctuary -auto={1}{T}:transforms((,newability[moveto(ownerhand) all(mychild)],newability[moveto(ownerhand)])) target(creature|myBattlefield) myturnonly +auto={1}{T}:transforms((,newability[moveto(hand) all(mychild)],newability[moveto(hand)])) target(creature|myBattlefield) myturnonly text={1}, {T}: Return target creature you control and each Aura attached to it to their owners' hands. Activate this ability only during your turn. mana={2}{U} type=Artifact @@ -78630,7 +78613,7 @@ name=Pouncing Shoreshark abilities=flash,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -78696,7 +78679,7 @@ type=Instant [card] name=Power of Persuasion target=creature|opponentbattlefield -auto=name(Roll a d20) rolld20 20 winability transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[my end once next sourceinplay] moveTo(ownerbattlefield)])) forever winabilityend loseability if compare(srclastrollresult)~lessthan~10 then moveto(ownerhand) else bottomoflibrary loseabilityend rolld20end +auto=name(Roll a d20) rolld20 20 winability transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[my end once next sourceinplay] moveTo(ownerbattlefield)])) forever winabilityend loseability if compare(srclastrollresult)~lessthan~10 then moveto(hand) else bottomoflibrary loseabilityend rolld20end text=Choose target creature an opponent controls, then roll a d20. -- 1-9 | Return it to its owner's hand. -- 10-19 | Its owner puts it on the top of bottom of their library. -- 20 | Gain control of it until the end of your next turn. mana={2}{U} type=Sorcery @@ -78948,7 +78931,7 @@ type=Instant [card] name=Press the Enemy target=*[-land]|opponentstack,opponentbattlefield -auto=if cantargetcard(*|opponentstack) then spellmover(hand) else moveto(ownerhand) +auto=if cantargetcard(*|opponentstack) then spellmover(hand) else moveto(hand) auto=if cantargetcard(*[manacost=0]|*) then if type(instant[manacost<=0]|myhand)~morethan~0 then choice name(Cast instant) name(Cast instant) target(instant[manacost<=0]|myhand) activate castcard(normal) auto=if cantargetcard(*[manacost=0]|*) then if type(sorcery[manacost<=0]|myhand)~morethan~0 then choice name(Cast sorcery) name(Cast sorcery) target(sorcery[manacost<=0]|myhand) activate castcard(normal) auto=if cantargetcard(*[manacost=1]|*) then if type(instant[manacost<=1]|myhand)~morethan~0 then choice name(Cast instant) name(Cast instant) target(instant[manacost<=1]|myhand) activate castcard(normal) @@ -79165,7 +79148,7 @@ toughness=4 [/card] [card] name=Priest of the Wakening Sun -auto={3}{W}{W}{S}:moveto(ownerHand) target(dinosaur|mylibrary) +auto={3}{W}{W}{S}:moveto(hand) target(dinosaur|mylibrary) auto=@each my upkeep if type(dinosaur|myhand)~morethan~0 then life:2 controller text=At the beginning of your upkeep, you may reveal a Dinosaur card from your hand. If you do, you gain 2 life. -- {3}{W}{W}, Sacrifice Priest of the Wakening Sun: Search your library for a Dinosaur card, reveal it, put it into your hand, then shuffle. mana={W} @@ -79586,14 +79569,14 @@ name=Profane Tutor suspend(2)={1}{B} restriction=never mana={0} -auto=name(Search card) target(*|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search card) target(*|mylibrary) moveto(hand) and!( shuffle )! text=Suspend 2-{1}{B} (Rather than cast this card from your hand, pay {1}{B} and exile it with two time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- Search your library for a card, put that card into your hand, then shuffle. type=Sorcery color=black [/card] [card] name=Profaner of the Dead -auto=may name(Exploit) target(creature|mybattlefield) exploits and!( transforms((,newability[name(Return creatures) all(creature[toughness<=tminus1minusend]|opponentbattlefield) moveto(ownerhand)])) oneshot )! +auto=may name(Exploit) target(creature|mybattlefield) exploits and!( transforms((,newability[name(Return creatures) all(creature[toughness<=tminus1minusend]|opponentbattlefield) moveto(hand)])) oneshot )! text=Exploit (When this creature enters, you may sacrifice a creature.) -- When Profaner of the Dead exploits a creature, return to their owners' hands all creatures your opponents control with toughness less than the exploited creature's toughness. mana={3}{U} type=Creature @@ -79605,7 +79588,7 @@ toughness=3 name=Professional Face-Breaker abilities=menace auto=@each my combatdamage restriction{opponentdamagedbycombat}:_TREASURE_ -auto={S(*[Treasure]|myBattlefield)}:_IMPULSEDRAW_ +auto={S(*[Treasure]|myBattlefield)}:_IMPULSE_DRAW_ text=Menace -- Whenever one or more creatures you control deal combat damage to a player, create a Treasure token. -- Sacrifice a Treasure: Exile the top card of your library. You may play that card this turn. mana={2}{R} type=Creature @@ -79752,11 +79735,11 @@ toughness=5 [/card] [card] name=Prophetic Titan -aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) bottomoflibrary )!])) ueot +aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) bottomoflibrary )!])) ueot auto=ifnot delirium then choice name(Deals 4 damage) name(Deals 4 damage) damage:4 target(anytarget) -auto=ifnot delirium then choice name(Reveal 4 cards) name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=ifnot delirium then choice name(Reveal 4 cards) name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend auto=if delirium then name(Deals 4 damage) damage:4 target(anytarget) -auto=if delirium then name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=if delirium then name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Delirium - When Prophetic Titan enters, choose one. If there are four or more card types among cards in your graveyard, choose both instead. -- Prophetic Titan deals 4 damage to any target. -- Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order. mana={4}{U}{R} type=Creature @@ -80142,14 +80125,14 @@ type=Sorcery [/card] [card] name=Psychic Miasma -auto=ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject and!( if cantargetcard(*[land]|*) then target(Psychic Miasma|opponentgraveyard) moveto(ownerhand) )! !$ opponent +auto=ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject and!( if cantargetcard(*[land]|*) then target(Psychic Miasma|opponentgraveyard) moveto(hand) )! !$ opponent text=Target player discards a card. If a land card is discarded this way, return Psychic Miasma to its owner's hand. mana={1}{B} type=Sorcery [/card] [card] name=Psychic Pickpocket -auto=_CONNIVES_ && ability$! may target(*[-land]) moveto(ownerhand) !$ controller +auto=_CONNIVES_ && ability$! may target(*[-land]) moveto(hand) !$ controller text=When Psychic Pickpocket enters, it connives. When it connives this way, return up to one target nonland permanent to its owner's hand. (To have a creature connive, draw a card, then discard a card. If you discarded a nonland card, put a +1/+1 counter on that creature.) mana={4}{U} type=Creature @@ -80180,8 +80163,8 @@ toughness=3 [card] name=Psychic Theft target=player -auto=if type(*[instant;sorcery]|targetedpersonshand)~morethan~0 then name(Exile a card) name(Exile a card) target(*[instant;sorcery]|targetedpersonshand) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[phaseaction[end once checkex] moveto(ownerhand)])) ueot )! -auto=if type(*[instant;sorcery]|targetedpersonshand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|targetedpersonshand) moveto(myreveal) and!( moveto(ownerHand) )! +auto=if type(*[instant;sorcery]|targetedpersonshand)~morethan~0 then name(Exile a card) name(Exile a card) target(*[instant;sorcery]|targetedpersonshand) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[phaseaction[end once checkex] moveto(hand)])) ueot )! +auto=if type(*[instant;sorcery]|targetedpersonshand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|targetedpersonshand) moveto(myreveal) and!( moveto(hand) )! text=Target player reveals their hand. You choose an instant or sorcery card from it and exile that card. You may cast that card for as long as it remains exiled. At the beginning of the next end step, if you haven't cast the card, return it to its owner's hand. mana={1}{U} type=Sorcery @@ -80290,8 +80273,8 @@ type=Instant name=Pull from the Deep abilities=exiledeath target=*[instant]|mygraveyard -auto=moveto(ownerHand) -auto=moveto(ownerHand) target(*[sorcery]|mygraveyard) +auto=moveto(hand) +auto=moveto(hand) target(*[sorcery]|mygraveyard) text=Return up to one target instant card and up to one target sorcery card from your graveyard to your hand. Exile Pull from the Deep. mana={2}{U}{U} type=Sorcery @@ -80497,7 +80480,7 @@ toughness=1 name=Pyretic Rebirth target=artifact,creature|mygraveyard auto=transforms((,newability[target(*[creature;planeswalker]) damage:manacost])) oneshot -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return target artifact or creature card from your graveyard to your hand. Pyretic Rebirth deals damage equal to that card's mana value to up to one target creature or planeswalker. mana={2}{B}{R} type=Instant @@ -80525,7 +80508,7 @@ toughness=4 [/card] [card] name=Pyroclastic Hellion -auto=may moveTo(ownerHand) target(land|myBattlefield) && damage:2 opponent +auto=may moveTo(hand) target(land|myBattlefield) && damage:2 opponent text=When Pyroclastic Hellion enters, you may return a land you control to its owner's hand. When you do, Pyroclastic Hellion deals 2 damage to each opponent. mana={4}{R} type=Creature @@ -80728,8 +80711,8 @@ toughness=4 [/card] [card] name=Quandrix Apprentice -aicode=activate transforms((,newability[target(land[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot -auto=@movedto(*[instant;sorcery]|mystack):name(Reveal top 3 cards) reveal:3 optionone name(Get a land) target(*[land]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[target(land[zpos<=3]|mylibrary) moveto(hand) and!( all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=@movedto(*[instant;sorcery]|mystack):name(Reveal top 3 cards) reveal:3 optionone name(Get a land) target(*[land]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Magecraft - Whenever you cast or copy an instant or sorcery spell, look at the top three cards of your library. You may reveal a land card from among them and put that card into your hand. Put the rest on the bottom of your library in any order. mana={G}{U} type=Creature @@ -80749,10 +80732,10 @@ type=Land [/card] [card] name=Quandrix Command -auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Return card and counterspell) name(Return card and counterspell) name(Return card and counterspell) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|battlefield) moveto(ownerhand)!$ controller -auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and put 1/1 counters) name(Return card and put 1/1 counters) target(*[creature;planeswalker]|battlefield) moveto(ownerhand) && ability$!name(Put two 1/1 counters) name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2)!$ controller -auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and you shuffle) name(Return card and you shuffle) target(*[creature;planeswalker]|battlefield) moveto(ownerhand) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ controller -auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and opponent shuffles) name(Return card and opponent shuffles) target(*[creature;planeswalker]|battlefield) moveto(ownerhand) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ opponent +auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Return card and counterspell) name(Return card and counterspell) name(Return card and counterspell) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|battlefield) moveto(hand)!$ controller +auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and put 1/1 counters) name(Return card and put 1/1 counters) target(*[creature;planeswalker]|battlefield) moveto(hand) && ability$!name(Put two 1/1 counters) name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2)!$ controller +auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and you shuffle) name(Return card and you shuffle) target(*[creature;planeswalker]|battlefield) moveto(hand) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ controller +auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and opponent shuffles) name(Return card and opponent shuffles) target(*[creature;planeswalker]|battlefield) moveto(hand) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ opponent auto=if type(creature|battlefield)~morethan~0 then if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Counterspell and put 1/1 counters) name(Counterspell and put 1/1 counters) name(Counterspell and put 1/1 counters) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Put two 1/1 counters) name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2)!$ controller auto=if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Counterspell and you shuffle) name(Counterspell and you shuffle) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ controller auto=if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Counterspell and opponent shuffles) name(Counterspell and opponent shuffles) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ opponent @@ -80908,7 +80891,7 @@ toughness=3 [card] name=Queen's Agent abilities=lifelink -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=Lifelink -- When Queen's Agent enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={5}{B} @@ -81044,7 +81027,7 @@ toughness=3 [card] name=Quicksilver Wall abilities=defender -auto={4}:moveto(ownerHand) +auto={4}:moveto(hand) auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 4) pay[[{4}]] name(Pay 4) moveto(opponenthand) notatarget(Quicksilver Wall|opponentBattlefield)?donothing!$ opponent])) forever text=Defender (This creature can't attack.) -- {4}: Return Quicksilver Wall to its owner's hand. Any player may activate this ability. mana={2}{U} @@ -81135,8 +81118,8 @@ type=Land [/card] [card] name=Radagast the Brown -auto=name(Look top cards) reveal:manacost optionone name(Get a creature) target(creature|reveal) bottomoflibrary and!( becomes(toberada) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(toberada|mylibrary) transforms((,newability[if type(*[creature;share!types!]|myBattlefield)~equalto~0 then moveto(ownerHand) else losesatype(toberada)])) forever afterrevealedend revealend -auto=@movedto(other creature[-token]|mybattlefield):name(Look top cards) all(trigger[to]) name(Look top cards) transforms((,newability[name(Look top cards) reveal:manacost optionone name(Get a creature) target(creature|reveal) bottomoflibrary and!( becomes(toberada) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(toberada|mylibrary) transforms((,newability[if type(*[creature;share!types!]|myBattlefield)~equalto~0 then moveto(ownerHand) else losesatype(toberada)])) forever afterrevealedend revealend])) forever +auto=name(Look top cards) reveal:manacost optionone name(Get a creature) target(creature|reveal) bottomoflibrary and!( becomes(toberada) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(toberada|mylibrary) transforms((,newability[if type(*[creature;share!types!]|myBattlefield)~equalto~0 then moveto(hand) else losesatype(toberada)])) forever afterrevealedend revealend +auto=@movedto(other creature[-token]|mybattlefield):name(Look top cards) all(trigger[to]) name(Look top cards) transforms((,newability[name(Look top cards) reveal:manacost optionone name(Get a creature) target(creature|reveal) bottomoflibrary and!( becomes(toberada) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(toberada|mylibrary) transforms((,newability[if type(*[creature;share!types!]|myBattlefield)~equalto~0 then moveto(hand) else losesatype(toberada)])) forever afterrevealedend revealend])) forever text=Whenever Radagast the Brown or another nontoken creature enters under your control, look at the top X cards of your library, where X is that creature's mana value. You may reveal a creature card from among them that doesn't share a creature type with a creature you control and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{G}{G} type=Legendary Creature @@ -81392,7 +81375,7 @@ toughness=1 [card] name=Ragavan, Nimble Pilferer other={1}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand)])) forever auto=@combatdamaged(player) from(this):_TREASURE_ auto=@combatdamagefoeof(player) from(this):name(Exile top card) name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[canplayfromexile],newability[phaseaction[end once checkex] moveTo(ownerexile)])) ueot )! auto=@combatdamageof(player) from(this):name(Exile top card) name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[this(cantargetcard(*[-land]|*)) canplayfromexile])) ueot )! @@ -81604,15 +81587,15 @@ type=Sorcery [card] name=Raise the Draugr restriction=type(creature|mygraveyard)~morethan~0 -auto=choice name(Return 1 creature) target(creature|mygraveyard) moveto(ownerHand) -auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveto(ownerHand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveto(ownerHand)])) oneshot )! +auto=choice name(Return 1 creature) target(creature|mygraveyard) moveto(hand) +auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveto(hand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveto(hand)])) oneshot )! text=Choose one -- Return target creature card from your graveyard to your hand. -- Return two target creature cards that share a creature type from your graveyard to your hand. mana={1}{B} type=Instant [/card] [card] name=Raise the Palisade -auto=chooseatype name(Return all creatures) moveTo(ownerhand) all(creature[-chosentype]|battlefield) chooseend +auto=chooseatype name(Return all creatures) moveTo(hand) all(creature[-chosentype]|battlefield) chooseend text=Choose a creature type. Return all creatures that aren't of the chosen type to their owners' hands. mana={4}{U} type=Sorcery @@ -81860,8 +81843,8 @@ subtype=Saga [card] name=Ral's Dispersal target=creature -auto=moveTo(ownerHand) -auto=may name(Search library or graveyard) moveto(ownerHand) target(Ral^ Caller of Storms|myLibrary,myGraveyard) +auto=moveTo(hand) +auto=may name(Search library or graveyard) moveto(hand) target(Ral^ Caller of Storms|myLibrary,myGraveyard) text=Return target creature to its owner's hand. You may search your library and/or graveyard for a card named Ral, Caller of Storms, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{U}{U} type=Instant @@ -81870,7 +81853,7 @@ type=Instant name=Ral's Outburst target=anytarget auto=damage:3 -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Ral's Outburst deals 3 damage to any target. Look at the top two cards of your library. Put one of them into your hand and the other into your graveyard. mana={2}{U}{R} type=Instant @@ -82119,7 +82102,7 @@ toughness=4 [card] name=Rampaging Spiketail auto=target(creature|myBattlefield) transforms((,newability[2/0],indestructible)) ueot -autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveto(hand) and!( shuffle )! text=When Rampaging Spiketail enters, target creature you control gets +2/+0 and gains indestructible until end of turn. -- Swampcycling {2} ({2}, Discard this card: Search your library for a Swamp card, reveal it, put it into your hand, then shuffle.) mana={4}{B}{B} type=Creature @@ -82260,7 +82243,7 @@ subtype=Equipment [card] name=Ranger-Captain of Eos auto={S}:maxCast(*[-creature])0 target(opponent) -auto=may target(creature[manacost<=1]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=may target(creature[manacost<=1]|mylibrary) moveto(hand) and!( shuffle )! text=When Ranger-Captain of Eos enters, you may search your library for a creature card with mana value 1 or less, reveal it, put it into your hand, then shuffle. -- Sacrifice Ranger-Captain of Eos: Your opponents can't cast noncreature spells this turn. mana={1}{W}{W} type=Creature @@ -82331,8 +82314,8 @@ toughness=3 [/card] [card] name=Ransack the Lab -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot -auto=name(look) reveal:3 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(hand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot +auto=name(look) reveal:3 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. mana={1}{B} type=Sorcery @@ -82586,7 +82569,7 @@ toughness=5 [/card] [card] name=Ravenous Gigamole -auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[creature]|mygraveyard)~morethan~0 then choice name(Return a creature) name(Return a creature) target(tobereturn[creature]|mygraveyard) moveto(ownerHand)],newability[choice name(Put 1/1 counter) target(Ravenous Gigamole[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! +auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[creature]|mygraveyard)~morethan~0 then choice name(Return a creature) name(Return a creature) target(tobereturn[creature]|mygraveyard) moveto(hand)],newability[choice name(Put 1/1 counter) target(Ravenous Gigamole[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Ravenous Gigamole enters, mill three cards. You may put a creature card from among the cards milled this way into your hand. If you don't, put a +1/+1 counter on Ravenous Gigamole. (To mill a card, put the top card of your library into your graveyard.) mana={3}{B} type=Creature @@ -82595,17 +82578,6 @@ power=2 toughness=3 [/card] [card] -name=Ravenous Gigantotherium -auto=may notATarget(other creature|mybattlefield) sacrifice && counter(1/1,3) all(this) -auto=target(creature|opponentbattlefield) dynamicability -text=Devour 3 (As this enters, you may sacrifice any number of creatures. This creature enters with three times that many +1/+1 counters on it.) -- When Ravenous Gigantotherium enters, it deals X damage divided as you choose among up to X target creatures, where X is its power. Each of those creatures deals damage equal to its power to Ravenous Gigantotherium. -mana={5}{G}{G} -type=Creature -subtype=Beast -power=3 -toughness=3 -[/card] -[card] name=Ravenous Harpy abilities=flying auto={1}{S(other creature|mybattlefield)}:counter(1/1) @@ -82709,7 +82681,7 @@ type=Sorcery name=Ravos, Soultender abilities=flying,partner auto=lord(other creature|myBattlefield) 1/1 -auto=@each my upkeep: may moveto(ownerHand) target(creature|mygraveyard) +auto=@each my upkeep: may moveto(hand) target(creature|mygraveyard) text=Flying -- Other creatures you control get +1/+1. -- At the beginning of your upkeep, you may return target creature card from your graveyard to your hand. -- Partner (You can have two commanders if both have partner.) mana={3}{W}{B} type=Legendary Creature @@ -82790,7 +82762,7 @@ toughness=1 [card] name=Razaketh's Rite abilities=cycling -auto=moveto(ownerHand) target(*|mylibrary) +auto=moveto(hand) target(*|mylibrary) autohand=__CYCLING__({B}) text=Search your library for a card and put that card into your hand. Then shuffle. -- Cycling {B} ({B}, Discard this card: Draw a card.) mana={3}{B}{B} @@ -82799,7 +82771,7 @@ type=Sorcery [card] name=Razaketh, the Foulblooded abilities=flying, trample -auto={L:2}{S(other creature|mybattlefield)}:moveto(ownerHand) target(*|mylibrary) +auto={L:2}{S(other creature|mybattlefield)}:moveto(hand) target(*|mylibrary) text=Flying, trample -- Pay 2 life, Sacrifice another creature: Search your library for a card and put that card into your hand. Then shuffle. mana={5}{B}{B}{B} type=Legendary Creature @@ -82879,7 +82851,7 @@ type=Instant [card] name=Read the Tides auto=choice name(Draw three cards) draw:3 controller -auto=choice name(Return up to two creatures) moveTo(ownerhand) target(creature) +auto=choice name(Return up to two creatures) moveTo(hand) target(creature) text=Choose one -- Draw three cards. -- Return up to two target creatures to their owners' hands. mana={5}{U} type=Sorcery @@ -82919,8 +82891,8 @@ subtype=Aura [card] name=Reality Heist abilities=affinityartifacts -aicode=activate transforms((,newability[if type(artifact[zpos<=7]|myLibrary)~morethan~0 then target(<2>artifact[zpos<=7]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=name(Look at the top 7 cards) reveal:7 optionone name(Choose 2 artifacts) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(artifact[zpos<=7]|myLibrary)~morethan~0 then target(<2>artifact[zpos<=7]|myLibrary) moveto(hand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=name(Look at the top 7 cards) reveal:7 optionone name(Choose 2 artifacts) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=This spell costs {1} less to cast for each artifact you control. -- Look at the top seven cards of your library. You may reveal up to two artifact cards from among them and put them into your hand. Put the rest on the bottom of your library in a random order. mana={5}{U}{U} type=Instant @@ -83060,7 +83032,7 @@ abilities=hasaftermath flashback={4}{G} name(Believe) aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=ifnot paid(flashback) then _SCRY3_ -auto=if paid(flashback) then all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( if cantargetcard(*[creature]|*) then transforms((,newability[may name(Put on battlefield) moveto(myBattlefield)])) oneshot )! +auto=if paid(flashback) then all(*[zpos=1]|mylibrary) moveto(hand) and!( if cantargetcard(*[creature]|*) then transforms((,newability[may name(Put on battlefield) moveto(myBattlefield)])) oneshot )! text=Scry 3. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Look at the top card of your library. You may put it onto the battlefield if it's a creature card. If you don't, put it into your hand. mana={U} type=Sorcery @@ -83153,7 +83125,7 @@ type=Sorcery [card] name=Recalibrate target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=if type(*[discarded]|mygraveyard)~morethan~0 then draw:1 controller text=Return target creature to its owner's hand. If you've discarded a card this turn, draw a card. mana={1}{U} @@ -83163,7 +83135,7 @@ type=Instant name=Recall target=*|myhand abilities=exiledeath -auto=transforms((,newability[reject],newability[name(Return a card from graveyard) name(Return a card from graveyard) moveto(ownerhand) target(*|mygraveyard)])) forever +auto=transforms((,newability[reject],newability[name(Return a card from graveyard) name(Return a card from graveyard) moveto(hand) target(*|mygraveyard)])) forever text=Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. Exile Recall. mana={X}{X}{U} type=Sorcery @@ -83214,16 +83186,16 @@ type=Sorcery [/card] [card] name=Reckless Handling -auto=if compare(type:*:myhand)~equalto~0 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=1]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~1 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand2plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~2 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand3plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~3 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand4plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~4 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand5plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~5 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand6plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~6 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand7plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~7 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand8plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~equalto~8 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand9plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! -auto=if compare(type:*:myhand)~morethan~9 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(ownerHand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand10plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~0 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=1]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~1 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand2plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~2 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand3plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~3 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand4plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~4 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand5plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~5 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand6plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~6 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand7plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~7 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand8plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~equalto~8 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand9plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! +auto=if compare(type:*:myhand)~morethan~9 then name(Search artifact) name(Search artifact) target(artifact|mylibrary) moveto(hand) and!( transforms((,newability[shuffle],newability[all(*[zpos=genrand10plus1plusend]|myhand) reject and!( if cantargetcard(*[artifact]|*) then damage:2 opponent )!])) oneshot )! text=Search your library for an artifact card, reveal it, put it into your hand, shuffle, then discard a card at random. If an artifact card was discarded this way, Reckless Handling deals 2 damage to each opponent. mana={1}{R} type=Sorcery @@ -83319,8 +83291,8 @@ toughness=4 [/card] [card] name=Reckoner Shakedown -auto=if type(*[-land]|opponenthand)~morethan~0 then name(Look opponent hand) name(Look opponent hand) target(*[-land]|opponenthand) moveto(ownerHand) and!( transforms((,newability[choice name(Discard card) moveto(opponenthand) and!( reject )!],newability[choice name(Don't discard) moveto(opponenthand) and!( name(Put 1/1 counters) target(*[creature;vehicle]|mybattlefield) counter(1/1.2) )!])) ueot )! -auto=if type(*|opponenthand)~morethan~0 then if type(*[-land]|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) moveto(ownerHand) and!( transforms((,newability[moveto(opponenthand) and!( name(Put 1/1 counters) target(*[creature;vehicle]|mybattlefield) counter(1/1.2) )!])) ueot )! +auto=if type(*[-land]|opponenthand)~morethan~0 then name(Look opponent hand) name(Look opponent hand) target(*[-land]|opponenthand) moveto(hand) and!( transforms((,newability[choice name(Discard card) moveto(opponenthand) and!( reject )!],newability[choice name(Don't discard) moveto(opponenthand) and!( name(Put 1/1 counters) target(*[creature;vehicle]|mybattlefield) counter(1/1.2) )!])) ueot )! +auto=if type(*|opponenthand)~morethan~0 then if type(*[-land]|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) moveto(hand) and!( transforms((,newability[moveto(opponenthand) and!( name(Put 1/1 counters) target(*[creature;vehicle]|mybattlefield) counter(1/1.2) )!])) ueot )! auto=if type(*|opponenthand)~equalto~0 then name(Put 1/1 counters) name(Put 1/1 counters) target(*[creature;vehicle]|mybattlefield) counter(1/1.2) text=Target opponent reveals their hand. You may choose a nonland card from it. If you do, that player discards that card. If you don't, put two +1/+1 counters on a creature or Vehicle you control. mana={2}{B} @@ -83336,10 +83308,10 @@ type=Instant [/card] [card] name=Reclaim the Wastes -aicode=activate target(land[basic]|myLibrary) moveto(ownerHand) +aicode=activate target(land[basic]|myLibrary) moveto(hand) kicker={3} -auto=if paid(kicker) then name(search two card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<2>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=ifnot paid(kicker) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=if paid(kicker) then name(search two card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<2>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=ifnot paid(kicker) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- Search your library for a basic land card, reveal it, put it into your hand, then shuffle. If this spell was kicked, search your library for two basic land cards instead of one. mana={G} type=Instant @@ -83387,11 +83359,11 @@ type=Enchantment [card] name=Reconstruct History abilities=exiledeath -auto=ability$!may name(Return artifact) name(Return artifact) target(artifact|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!may name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!may name(Return instant) name(Return instant) target(instant|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!may name(Return sorcery) name(Return sorcery) target(sorcery|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!may name(Return planeswalker) name(Return planeswalker) target(planeswalker|mygraveyard) moveto(ownerHand)!$ controller +auto=ability$!may name(Return artifact) name(Return artifact) target(artifact|mygraveyard) moveto(hand)!$ controller +auto=ability$!may name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(hand)!$ controller +auto=ability$!may name(Return instant) name(Return instant) target(instant|mygraveyard) moveto(hand)!$ controller +auto=ability$!may name(Return sorcery) name(Return sorcery) target(sorcery|mygraveyard) moveto(hand)!$ controller +auto=ability$!may name(Return planeswalker) name(Return planeswalker) target(planeswalker|mygraveyard) moveto(hand)!$ controller text=Return up to one target artifact card, up to one target enchantment card, up to one target instant card, up to one target sorcery card, and up to one target planeswalker card from your graveyard to your hand. -- Exile Reconstruct History. mana={2}{R}{W} type=Sorcery @@ -83417,8 +83389,8 @@ type=Instant [/card] [card] name=Recruiter of the Guard -aicode=activate target(creature[toughness<=2]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[toughness<=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[toughness<=2]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[toughness<=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Recruiter of the Guard enters, you may search your library for a creature card with toughness 2 or less, reveal it, put it into your hand, then shuffle. mana={2}{W} type=Creature @@ -83435,7 +83407,7 @@ type=Sorcery [/card] [card] name=Recruitment Officer -auto={3}{W}:name(look) reveal:4 optionone name(Get a card) target(<1>creature[manacost<=3]|reveal) moveto(ownerhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{W}:name(look) reveal:4 optionone name(Get a card) target(<1>creature[manacost<=3]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text={3}{W}: Look at the top four cards of your library. You may reveal a creature card with mana value 3 or less from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={W} type=Creature @@ -83546,7 +83518,7 @@ type=Instant [card] name=Redtooth Vanguard abilities=trample -autograveyard=@movedTo(enchantment|myBattlefield):pay({2}) moveto(ownerHand) +autograveyard=@movedTo(enchantment|myBattlefield):pay({2}) moveto(hand) text=Trample -- Whenever an enchantment enters under your control, you may pay {2}. If you do, return Redtooth Vanguard from your graveyard to your hand. mana={1}{G} type=Creature @@ -83717,7 +83689,7 @@ name=Regal Leosaur abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -83748,7 +83720,7 @@ toughness=3 [card] name=Regenesis target=*[-instant;-sorcery]|myGraveyard -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return up to two target permanent cards from your graveyard to your hand. mana={3}{G}{G} type=Instant @@ -83813,9 +83785,8 @@ toughness=3 [/card] [card] name=Reign of Chaos -target=land[island;plains]|battlefield -auto=destroy -auto=destroy target(creature[white;blue]|battlefield) +auto=choice name(Destroy Plains and white creature) destroy target(plains) and!(destroy target(creature[white]))! restriction{type(Island)~morethan~0} +auto=choice name(Destroy Island and blue creature) destroy target(Island) and!(destroy target(creature[blue]))! restriction{type(Plains)~morethan~0} text=Choose one Destroy target Plains and target white creature; or destroy target Island and target blue creature. mana={2}{R}{R} type=Sorcery @@ -83831,7 +83802,7 @@ type=Instant [card] name=Reinforced Ronin abilities=haste -auto=@each my end:moveto(ownerhand) +auto=@each my end:moveto(hand) autohand={1}{R}{discard}:draw:1 text=Haste -- At the beginning of your end step, return Reinforced Ronin to its owner's hand. -- Channel - {1}{R}, Discard Reinforced Ronin: Draw a card. mana={R} @@ -83929,7 +83900,7 @@ type=Sorcery [card] name=Relentless Dead autograveyard=_DIES_name(return relentless dead) pay({B}) moveTo(hand) -auto=_DIES_choice name(return cost 1) pay({1}) moveTo(battlefield) target(other zombie|mygraveyard) +auto=_DIES_choice name(return cost) name(return cost) pay({1}) moveTo(battlefield) target(other zombie|mygraveyard) text=Menace (This creature can't be blocked except by two or more creatures.) -- When Relentless Dead dies, you may pay {B}. If you do, return it to its owner's hand. -- When Relentless Dead dies, you may pay {X}. If you do, return another target Zombie creature card with mana value X from your graveyard to the battlefield. mana={B}{B} abilities=menace @@ -83940,8 +83911,8 @@ toughness=2 [/card] [card] name=Relentless Pursuit -aicode=activate transforms((,newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(creature[zpos<=4]|mylibrary) moveto(ownerHand) and!( target(land[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )! )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(land[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then all(*[zpos<=4]|mylibrary) moveto(mygraveyard)])) oneshot -auto=name(Look top 4 cards) reveal:4 optionone name(Get a creature or land) target(*[creature;land]|reveal) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[land]|*) then if type(creature|reveal)~morethan~0 then choice name(Get a creature) name(Get a creature) name(Get a creature) target(creature|reveal) moveto(ownerHand)],newability[if cantargetcard(*[creature]|*) then if type(land|reveal)~morethan~0 then choice name(Get a land) name(Get a land) name(Get a land) target(land|reveal) moveto(ownerHand)],newability[choice name(Don't choose another card) donothing])) oneshot )! optiononeend optiontwo name(Put into your graveyard) target(<4>*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(creature[zpos<=4]|mylibrary) moveto(hand) and!( target(land[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )! )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(land[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then all(*[zpos<=4]|mylibrary) moveto(mygraveyard)])) oneshot +auto=name(Look top 4 cards) reveal:4 optionone name(Get a creature or land) target(*[creature;land]|reveal) moveto(hand) and!( transforms((,newability[if cantargetcard(*[land]|*) then if type(creature|reveal)~morethan~0 then choice name(Get a creature) name(Get a creature) name(Get a creature) target(creature|reveal) moveto(hand)],newability[if cantargetcard(*[creature]|*) then if type(land|reveal)~morethan~0 then choice name(Get a land) name(Get a land) name(Get a land) target(land|reveal) moveto(hand)],newability[choice name(Don't choose another card) donothing])) oneshot )! optiononeend optiontwo name(Put into your graveyard) target(<4>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Reveal the top four cards of your library. You may put a creature card and/or land card from among them into your hand. Put the rest into your graveyard. mana={2}{G} type=Sorcery @@ -84115,8 +84086,8 @@ type=Instant [/card] [card] name=Remember the Fallen -auto=ability$! name(Return target creature) may name(Return target creature) moveto(ownerHand) target(creature|mygraveyard) !$ controller -auto=ability$! name(Return target artifact) may name(Return target artifact) moveto(ownerHand) target(artifact|mygraveyard) !$ controller +auto=ability$! name(Return target creature) may name(Return target creature) moveto(hand) target(creature|mygraveyard) !$ controller +auto=ability$! name(Return target artifact) may name(Return target artifact) moveto(hand) target(artifact|mygraveyard) !$ controller text=Choose one or both Return target creature card from your graveyard to your hand; and/or return target artifact card from your graveyard to your hand. mana={2}{W} type=Sorcery @@ -84223,7 +84194,7 @@ name=Renowned Weaponsmith auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{C}{C} auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{C}{C} aicode=activate moveTo(myBattlefield) target(*[Vial of Dragonfire;Heart-Piercer Bow]|myLibrary) -auto={U}{T}:name(search card) reveal:plibrarycount revealzone(mylibrary) optionone name(choose card) target(<1>*[Vial of Dragonfire;Heart-Piercer Bow]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto={U}{T}:name(search card) reveal:plibrarycount revealzone(mylibrary) optionone name(choose card) target(<1>*[Vial of Dragonfire;Heart-Piercer Bow]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={T}: Add {2}. Spend this mana only to cast artifact spells or activate abilities of artifacts. -- {U}, {T}: Search your library for a card named Heart-Piercer Bow or Vial of Dragonfire, reveal it, put it into your hand, then shuffle. mana={1}{U} type=Creature @@ -84262,7 +84233,7 @@ type=Instant name=Repeating Barrage target=anytarget auto=damage:3 -autograveyard={3}{R}{R} restriction{raid}:moveto(ownerHand) +autograveyard={3}{R}{R} restriction{raid}:moveto(hand) text=Repeating Barrage deals 3 damage to target creature or player. -- Raid-{3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked with a creature this turn. mana={1}{R}{R} type=Sorcery @@ -84320,7 +84291,7 @@ type=Sorcery [/card] [card] name=Repository Skaab -auto=may name(Exploit a creature) notatarget(creature|mybattlefield) exploits and!( transforms((,newability[name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand)])) oneshot )! +auto=may name(Exploit a creature) notatarget(creature|mybattlefield) exploits and!( transforms((,newability[name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(hand)])) oneshot )! text=Exploit (When this creature enters, you may sacrifice a creature.) -- When Repository Skaab exploits a creature, return target instant or sorcery card from your graveyard to your hand. mana={3}{U} type=Creature @@ -84389,7 +84360,7 @@ type=Instant [card] name=Rescuer Chwinga abilities=flash -auto=may name(Natural Shelter) moveto(ownerhand) target(other *|myBattlefield) +auto=may name(Natural Shelter) moveto(hand) target(other *|myBattlefield) text=Flash -- Natural Shelter - When Rescuer Chwinga enters, you may return another permanent you control to its owner's hand. mana={1}{W} type=Creature @@ -84400,7 +84371,7 @@ toughness=2 [card] name=Rescuer Sphinx abilities=flying -auto=may target(*[-land]|myBattlefield) moveto(ownerhand) && counter(1/1) all(this) +auto=may target(*[-land]|myBattlefield) moveto(hand) && counter(1/1) all(this) text=Flying -- As Rescuer Sphinx enters, you may return a nonland permanent you control to its owner's hand. If you do, Rescuer Sphinx enters with a +1/+1 counter on it. mana={2}{U}{U} type=Creature @@ -84633,26 +84604,26 @@ type=Land [/card] [card] name=Restless Dreams -auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && moveto(ownerHand) target(*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(ownerHand) target(<2>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(ownerHand) target(<3>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(ownerHand) target(<4>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(ownerHand) target(<5>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(ownerHand) target(<6>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(ownerHand) target(<7>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(ownerHand) target(<8>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(ownerHand) target(<9>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(ownerHand) target(<10>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(ownerHand) target(<11>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(ownerHand) target(<12>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(ownerHand) target(<13>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(ownerHand) target(<14>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(ownerHand) target(<15>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(ownerHand) target(<16>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(ownerHand) target(<17>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(ownerHand) target(<18>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(ownerHand) target(<19>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(ownerHand) target(<20>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && moveto(hand) target(*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(hand) target(<2>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(hand) target(<3>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(hand) target(<4>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(hand) target(<5>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(hand) target(<6>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(hand) target(<7>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(hand) target(<8>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(hand) target(<9>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(hand) target(<10>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(hand) target(<11>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(hand) target(<12>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(hand) target(<13>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(hand) target(<14>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(hand) target(<15>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(hand) target(<16>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(hand) target(<17>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(hand) target(<18>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(hand) target(<19>*[creature]|mygraveyard) +auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(hand) target(<20>*[creature]|mygraveyard) text=As an additional cost to cast Restless Dreams, discard X cards. -- Return X target creature cards from your graveyard to your hand. mana={B} type=Sorcery @@ -84730,7 +84701,7 @@ type=Land [card] name=Restorative Burst abilities=doublefacedeath -auto=name(Return to hand) target(*[creature;land;planeswalker]|mygraveyard) moveto(ownerHand) +auto=name(Return to hand) target(*[creature;land;planeswalker]|mygraveyard) moveto(hand) auto=all(player) life:4 text=Return up to two target creature, land, and/or planeswalker cards from your graveyard to your hand. Each player gains 4 life. Exile Restorative Burst. // {2}{B} Pestilent Cauldron mana={3}{G}{G} @@ -84775,8 +84746,8 @@ toughness=5 [card] name=Retrieve abilities=exiledeath -auto=may name(Return creature) target(creature|mygraveyard) moveto(ownerHand) -auto=ability$!may name(Return non-creature) name(Return non-creature) target(*[-creature]|mygraveyard) moveto(ownerHand)!$ controller +auto=may name(Return creature) target(creature|mygraveyard) moveto(hand) +auto=ability$!may name(Return non-creature) name(Return non-creature) target(*[-creature]|mygraveyard) moveto(hand)!$ controller text=Return up to one target creature card and up to one target noncreature permanent card from your graveyard to your hand. Exile Retrieve. mana={2}{G} type=Sorcery @@ -84826,8 +84797,8 @@ type=Sorcery [card] name=Return from Extinction restriction=type(creature|mygraveyard)~morethan~0 -auto=choice name(Return 1 creature) target(creature|mygraveyard) moveto(ownerHand) -auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveto(ownerHand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveto(ownerHand)])) oneshot )! +auto=choice name(Return 1 creature) target(creature|mygraveyard) moveto(hand) +auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveto(hand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveto(hand)])) oneshot )! text=Choose one -- Return target creature card from your graveyard to your hand. -- Return two target creature cards that share a creature type from your graveyard to your hand. mana={1}{B} type=Sorcery @@ -84871,7 +84842,7 @@ type=Sorcery [card] name=Returned Pastcaller abilities=flying -auto=name(Return spirit or instant or sorcery) target(*[spirit;instant;sorcery]|mygraveyard) moveto(ownerHand) +auto=name(Return spirit or instant or sorcery) target(*[spirit;instant;sorcery]|mygraveyard) moveto(hand) text=Flying -- When Returned Pastcaller enters, return target Spirit, instant, or sorcery card from your graveyard to your hand. mana={3}{R}{RW}{W} type=Creature @@ -84965,7 +84936,7 @@ toughness=2 [/card] [card] name=Reversal of Fortune -auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(Copy instant or sorcery) target(<1>*[instant;sorcery]|reveal) transforms((,newability[may activate castcard(copied noevent)])) oneshot and!(all(*|reveal) moveto(ownerhand))! optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) oneshot optiontwoend revealend +auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(Copy instant or sorcery) target(<1>*[instant;sorcery]|reveal) transforms((,newability[may activate castcard(copied noevent)])) oneshot and!(all(*|reveal) moveto(hand))! optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) oneshot optiontwoend revealend text=Target opponent reveals their hand. You may copy an instant or sorcery card in it. If you do, you may cast the copy without paying its mana cost. mana={4}{R}{R} type=Sorcery @@ -85010,14 +84981,14 @@ type=Sorcery [card] name=Revive the Shire target=*[-instant&-sorcery]|mygraveyard -auto=moveto(ownerHand) and!( _FOOD_ )! +auto=moveto(hand) and!( _FOOD_ )! text=Return target permanent card from your graveyard to your hand. Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") mana={1}{G} type=Sorcery [/card] [card] name=Revivify -auto=if type(*|mygraveyard)~morethan~0 then name(Roll a d20) name(Roll a d20) all(*[zpos=1]|mygraveyard) transforms((,newability[@dierolled(*|mygraveyard) from(controller) once:if compare(lastrollresultplustype:creature[fresh]:mygraveyardplusend)~lessthan~15 then all(creature[fresh]|mygraveyard) moveto(ownerHand) else all(creature[fresh]|mygraveyard) moveto(mybattlefield)],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot +auto=if type(*|mygraveyard)~morethan~0 then name(Roll a d20) name(Roll a d20) all(*[zpos=1]|mygraveyard) transforms((,newability[@dierolled(*|mygraveyard) from(controller) once:if compare(lastrollresultplustype:creature[fresh]:mygraveyardplusend)~lessthan~15 then all(creature[fresh]|mygraveyard) moveto(hand) else all(creature[fresh]|mygraveyard) moveto(mybattlefield)],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot auto=if type(*|mygraveyard)~equalto~0 then name(Roll a d20) name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end text=Roll a d20 and add the number of creature cards in your graveyard that were put there from the battlefield this turn. -- 1-14 | Return all creature cards in your graveyard that were put there from the battlefield this turn to your hand. -- 15+ | Return those cards from your graveyard to the battlefield. mana={2}{W} @@ -85027,7 +84998,7 @@ type=Instant name=Revolutionist abilities=madness autoexile=restriction{discarded} pay({3}{R}) name(pay 3R to cast) activate name(pay 3R to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard) -auto=name(Return instant or sorcery) target(*[instant;sorcery]|myGraveyard) moveto(ownerHand) +auto=name(Return instant or sorcery) target(*[instant;sorcery]|myGraveyard) moveto(hand) text=When Revolutionist enters, return target instant or sorcery card from your graveyard to your hand. -- Madness {3}{R} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) mana={5}{R} type=Creature @@ -85262,8 +85233,8 @@ type=Enchantment [card] name=Rhythmic Water Vortex target=creature -auto=moveTo(ownerhand) -auto=may moveto(ownerHand) target(Mu Yanling|mylibrary,mygraveyard) +auto=moveTo(hand) +auto=may moveto(hand) target(Mu Yanling|mylibrary,mygraveyard) text=Return up to two target creatures to their owner's hand. -- Search your library and/or graveyard for a card named Mu Yanling, reveal it, and put it into your hand. If you searched your library this way, shuffle it. mana={3}{U}{U} type=Sorcery @@ -85352,7 +85323,7 @@ type=Enchantment [card] name=Riddlemaster Sphinx abilities=flying -auto=may moveto(ownerHand) target(creature|opponentBattlefield) +auto=may moveto(hand) target(creature|opponentBattlefield) text=Flying -- When Riddlemaster Sphinx enters, you may return target creature an opponent controls to its owner's hand. mana={4}{U}{U} type=Creature @@ -85381,7 +85352,7 @@ type=Instant [card] name=Riders of Rohan other={4}{R}{W} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever auto=name(Create knight) token(Human Knight)*2 text=When Riders of Rohan enters, create two 2/2 red Human Knight creature tokens with trample and haste. -- Dash {4}{R}{W} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={3}{R}{W} @@ -85405,7 +85376,7 @@ toughness=3 name=Rienne, Angel of Rebirth abilities=flying auto=lord(other creature[multicolor]|myBattlefield) 1/0 -auto=@movedTo(other creature[multicolor]|graveyard) from(mybattlefield):all(trigger[to]) name(Return to owner hand later) transforms((,newability[phaseaction[end once] moveTo(ownerhand)])) ueot +auto=@movedTo(other creature[multicolor]|graveyard) from(mybattlefield):all(trigger[to]) name(Return to owner hand later) transforms((,newability[phaseaction[end once] moveTo(hand)])) ueot text=Flying -- Other multicolored creatures you control get +1/+0. -- Whenever another multicolored creature you control dies, return it to its owner's hand at the beginning of the next end step. mana={2}{R}{G}{W} type=Legendary Creature @@ -85619,7 +85590,7 @@ type=Artifact [/card] [card] name=Ring of Ma'ruf -auto={5}{T}{E}:transforms((,newability[replacedraw target(*|mysideboard) moveto(ownerHand)])) ueot +auto={5}{T}{E}:transforms((,newability[replacedraw target(*|mysideboard) moveto(hand)])) ueot text={5}, {T}, Exile Ring of Ma'ruf: The next time you would draw a card this turn, instead choose a card you own from outside the game and put it into your hand. mana={5} type=Artifact @@ -85627,37 +85598,37 @@ type=Artifact [card] name=Ringsight autostack=name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller -auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;white;red;blue;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;red;blue]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;blue;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;red;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;red;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[red;blue;black;green]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;blue]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;green]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;blue;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;blue]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;red;blue]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;red;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;black;blue]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[red;black;blue]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;blue]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue;green]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue;black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue;red]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[black;green]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[black;red]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;red]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[black]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[red]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;white;red;blue;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;red;blue]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;blue;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;red;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;red;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[red;blue;black;green]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;blue]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red;green]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;blue;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;blue]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;red;blue]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;red;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;black;blue]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[red;black;blue]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;blue]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;green]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white;red]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue;green]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue;black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue;red]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[black;green]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[black;red]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green;red]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&green]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[green]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&black]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[black]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&red]|mybattlefield)~morethan~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[red]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&white]|mybattlefield)~morethan~0 then if type(creature[legendary&blue]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[white]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(creature[legendary&blue]|mybattlefield)~morethan~0 then if type(creature[legendary&red]|mybattlefield)~equalto~0 then if type(creature[legendary&green]|mybattlefield)~equalto~0 then if type(creature[legendary&black]|mybattlefield)~equalto~0 then if type(creature[legendary&white]|mybattlefield)~equalto~0 then name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) name(Search card) target(*[blue]|mylibrary) moveto(hand) and!( shuffle )! text=The Ring tempts you. Search your library for a card that shares a color with a legendary creature you control, reveal it, put it into your hand, then shuffle. mana={1}{U}{B} type=Sorcery @@ -85665,7 +85636,7 @@ type=Sorcery [card] name=Ringwraiths auto=name(Opponent creature gains -3/-3) target(creature|opponentBattlefield) transforms((,newability[-3/-3],newability[if cantargetcard(*[legendary]|*) then life:-3 controller])) ueot -autograveyard=@ringtemptedof(player):name(Return to hand) moveto(ownerHand) +autograveyard=@ringtemptedof(player):name(Return to hand) moveto(hand) text=When Ringwraiths enters, target creature an opponent controls gets -3/-3 until end of turn. If that creature is legendary, its controller loses 3 life. -- When the Ring tempts you, return Ringwraiths from your graveyard to your hand. mana={4}{B}{B} type=Creature @@ -85788,8 +85759,8 @@ toughness=5 name=Rise // Fall other={B}{R} name(Fail) auto=if paid(alternative) then target(player) ability$!name(Discard 2 nonland cards at random) name(Discard 2 nonland cards at random) all(*[-land;zpos<=2]|myhand) moveto(mygraveyard)!$ targetedplayer -auto=ifnot paid(alternative) then ability$!name(Return creature from graveyard) name(Return creature from graveyard) target(creature|graveyard) moveto(ownerhand)!$ controller -auto=ifnot paid(alternative) then ability$!name(Return creature from battlefield) name(Return creature from battlefield) target(creature|battlefield) moveto(ownerhand)!$ controller +auto=ifnot paid(alternative) then ability$!name(Return creature from graveyard) name(Return creature from graveyard) target(creature|graveyard) moveto(hand)!$ controller +auto=ifnot paid(alternative) then ability$!name(Return creature from battlefield) name(Return creature from battlefield) target(creature|battlefield) moveto(hand)!$ controller text=Return target creature card from a graveyard and target creature on the battlefield to their owners' hands. // Target player reveals two cards at random from their hand, then discards each nonland card revealed this way. mana={U}{B} type=Sorcery @@ -85916,8 +85887,8 @@ toughness=3 [/card] [card] name=Risen Reef -auto=reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) and!(tap(noevent))! optiononeend optiontwo target(<1>*|reveal) moveto(ownerhand) optiontwoend revealend -auto=@movedto(other creature[elemental]|mybattlefield):reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) and!(tap(noevent))! optiononeend optiontwo target(<1>*|reveal) moveto(ownerhand) optiontwoend revealend +auto=reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) and!(tap(noevent))! optiononeend optiontwo target(<1>*|reveal) moveto(hand) optiontwoend revealend +auto=@movedto(other creature[elemental]|mybattlefield):reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) and!(tap(noevent))! optiononeend optiontwo target(<1>*|reveal) moveto(hand) optiontwoend revealend text=Whenever Risen Reef or another Elemental enters under your control, look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. If you don't put the card onto the battlefield, put it into your hand. mana={1}{G}{U} type=Creature @@ -86017,8 +85988,8 @@ type=Sorcery [card] name=Rite of Undoing target=*[-land]|mybattlefield -auto=moveto(ownerhand) -auto=moveto(ownerhand) target(*[-land]|opponentbattlefield) +auto=moveto(hand) +auto=moveto(hand) target(*[-land]|opponentbattlefield) other={delve} name(Delve) text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Return target nonland permanent you control and target nonland permanent you don't control to their owners' hands. mana={4}{U} @@ -86088,7 +86059,7 @@ type=Instant [/card] [card] name=Rites of Spring -auto=choice name(Discard any number of cards) target(*|myhand) reject and!( transforms((,newability[name(Search basic land) target(land[basic]|myLibrary) moveto(ownerHand)])) oneshot )! +auto=choice name(Discard any number of cards) target(*|myhand) reject and!( transforms((,newability[name(Search basic land) target(land[basic]|myLibrary) moveto(hand)])) oneshot )! text=Discard any number of cards. Search your library for that many basic land cards, reveal those cards, and put them into your hand. Then shuffle. mana={1}{G} type=Sorcery @@ -86173,7 +86144,7 @@ toughness=3 [card] name=River Herald Guide abilities=vigilance -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=Vigilance -- When River Herald Guide enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={2}{G} @@ -86261,7 +86232,7 @@ subtype=Aura name=River's Grasp auto=if casted(this) then if spent({B}) then if type(*[-land]|opponenthand)~morethan~0 then ability$!name(Discard non-land card) name(Discard non-land card) name(Discard non-land card) reject notatarget(*[-land]|opponenthand)!$ controller auto=if casted(this) then if spent({B}) then if type(*[-land]|opponenthand)~equalto~0 then ability$!name(Look opponent's hand) name(Look opponent's hand) name(Look opponent's hand) target(*|opponenthand) moveto(opponenthand)!$ controller -auto=if casted(this) then if spent({U}) then ability$!name(Return creature to hand) name(Return creature to hand) target(creature|battlefield) moveto(ownerhand)!$ controller +auto=if casted(this) then if spent({U}) then ability$!name(Return creature to hand) name(Return creature to hand) target(creature|battlefield) moveto(hand)!$ controller text=If {U} was spent to cast River's Grasp, return up to one target creature to its owner's hand. If {B} was spent to cast River's Grasp, target player reveals their hand, you choose a nonland card from it, then that player discards that card. (Do both if {U}{B} was spent.) mana={3}{UB} type=Sorcery @@ -86269,7 +86240,7 @@ type=Sorcery [card] name=River's Rebuke target=player -auto=moveto(ownerHand) all(*[-land]|targetedpersonsbattlefield) +auto=moveto(hand) all(*[-land]|targetedpersonsbattlefield) text=Return all nonland permanents target player controls to their owner's hand. mana={4}{U}{U} type=Sorcery @@ -86364,9 +86335,9 @@ type=Instant [card] name=Road of Return other={2}{G}{G} name(Entwine) -auto=ifnot paid alternative then choice name(Return permanent) moveto(ownerHand) target(*|mygraveyard) -auto=ifnot paid alternative then choice name(Return commander) moveto(ownerHand) target(*[iscommander]|mycommandzone) -auto=if paid(alternative) then moveto(ownerHand) target(*|mygraveyard) && ability$!name(Choose commander from command zone) name(Choose commander from command zone) moveto(ownerHand) target(*[iscommander]|mycommandzone)!$ controller +auto=ifnot paid alternative then choice name(Return permanent) moveto(hand) target(*|mygraveyard) +auto=ifnot paid alternative then choice name(Return commander) moveto(hand) target(*[iscommander]|mycommandzone) +auto=if paid(alternative) then moveto(hand) target(*|mygraveyard) && ability$!name(Choose commander from command zone) name(Choose commander from command zone) moveto(hand) target(*[iscommander]|mycommandzone)!$ controller text=Choose one -- Return target permanent card from your graveyard to your hand. -- Put your commander into your hand from the command zone. -- Entwine 2 (Choose both if you pay the entwine cost.) mana={G}{G} type=Sorcery @@ -86393,7 +86364,7 @@ toughness=5 [card] name=Roaming Ghostlight abilities=flying -auto=may moveTo(ownerhand) target(creature[-spirit]) +auto=may moveTo(hand) target(creature[-spirit]) text=Flying -- When Roaming Ghostlight enters, return up to one target non-Spirit creature to its owner's hand. mana={3}{U}{U} type=Creature @@ -86634,7 +86605,7 @@ toughness=4 [/card] [card] name=Rofellos's Gift -auto=target(enchantment|mygraveyard) moveto(ownerHand) +auto=target(enchantment|mygraveyard) moveto(hand) text=Reveal any number of green cards in your hand. Return an enchantment card from your graveyard to your hand for each card revealed this way. mana={G} type=Sorcery @@ -86677,11 +86648,11 @@ subtype=Class [/card] [card] name=Rogues' Gallery -auto=ability$!name(return white creature) may name(return white creature) moveto(ownerHand) target(creature[white]|mygraveyard)!$ controller -auto=ability$!name(return blue creature) may name(return blue creature) moveto(ownerHand) target(creature[blue]|mygraveyard)!$ controller -auto=ability$!name(return black creature) may name(return black creature) moveto(ownerHand) target(creature[black]|mygraveyard)!$ controller -auto=ability$!name(return red creature) may name(return red creature) moveto(ownerHand) target(creature[red]|mygraveyard)!$ controller -auto=ability$!name(return green creature) may name(return green creature) moveto(ownerHand) target(creature[green]|mygraveyard)!$ controller +auto=ability$!name(return white creature) may name(return white creature) moveto(hand) target(creature[white]|mygraveyard)!$ controller +auto=ability$!name(return blue creature) may name(return blue creature) moveto(hand) target(creature[blue]|mygraveyard)!$ controller +auto=ability$!name(return black creature) may name(return black creature) moveto(hand) target(creature[black]|mygraveyard)!$ controller +auto=ability$!name(return red creature) may name(return red creature) moveto(hand) target(creature[red]|mygraveyard)!$ controller +auto=ability$!name(return green creature) may name(return green creature) moveto(hand) target(creature[green]|mygraveyard)!$ controller text=For each color, return up to one target creature card of that color from your graveyard to your hand. mana={2}{B} type=Sorcery @@ -86751,7 +86722,7 @@ type=Enchantment [card] name=Roiling Waters target=creature|opponentbattlefield -auto=moveto(ownerhand) +auto=moveto(hand) auto=ability$!name(Choose one) choice name(You draw) draw:1 controller _ choice name(Opponent draws) draw:1 opponent!$ controller text=Return up to two target creatures your opponents control to their owners' hands. Target player draws two cards. mana={5}{U}{U} @@ -86779,7 +86750,7 @@ type=Sorcery name=Rona's Vortex kicker={2}{B} target=*[creature;planeswalker]|opponentBattlefield -auto=if paid(kicker) then bottomoflibrary else moveTo(ownerHand) +auto=if paid(kicker) then bottomoflibrary else moveTo(hand) text=Kicker {2}{B} (You may pay an additional {2}{B} as you cast this spell.) -- Return target creature or planeswalker you don't control to its owner's hand. If this spell was kicked, put that permanent on the bottom of its owner's library instead. mana={U} type=Instant @@ -86901,7 +86872,7 @@ name=Rootcoil Creeper auto={T}:name(Add mana) ability$!name(Choose one) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add black mana) add{B} _ choice name(Add white mana) add{W} _ choice name(Add blue mana) add{U}!$ controller auto=aslongas(*[hasflashback]|mygraveyard) {T}:name(Add 2 mana) name(Add 2 mana) ability$!name(Choose one) choice name(Add red mana) add{R}{R} _ choice name(Add green mana) add{G}{G} _ choice name(Add black mana) add{B}{B} _ choice name(Add white mana) add{W}{W} _ choice name(Add blue mana) add{U}{U}!$ controller auto=aslongas(*[-hasflashback;canplayfromgraveyard]|mygraveyard) {T}:name(Add 2 mana) name(Add 2 mana) ability$!name(Choose one) choice name(Add red mana) add{R}{R} _ choice name(Add green mana) add{G}{G} _ choice name(Add black mana) add{B}{B} _ choice name(Add white mana) add{W}{W} _ choice name(Add blue mana) add{U}{U}!$ controller -auto={G}{U}{T}{E}:name(Return card from exile) target(*[hasflashback]|myexile) moveto(ownerHand) +auto={G}{U}{T}{E}:name(Return card from exile) target(*[hasflashback]|myexile) moveto(hand) text={T}: Add one mana of any color. -- {T}: Add two mana of any one color. Spend this mana only to cast spells from your graveyard. -- {G}{U}, {T}, Exile Rootcoil Creeper: Return target card with flashback you own in exile to your hand. type=Creature subtype=Plant Horror @@ -86933,7 +86904,7 @@ toughness=4 [/card] [card] name=Rootless Yew -auto=_DIES_ability$!choice name() name(power 6 or greater) target(creature[power>=6]|mylibrary) moveto(ownerHand) _ choice name(toughness 6 or greater) target(creature[toughness>=6]|mylibrary) moveto(ownerHand)!$ controller +auto=_DIES_ability$!choice name() name(power 6 or greater) target(creature[power>=6]|mylibrary) moveto(hand) _ choice name(toughness 6 or greater) target(creature[toughness>=6]|mylibrary) moveto(hand)!$ controller text=When Rootless Yew dies, search your library for a creature card with power or toughness 6 or greater, reveal it, put it into your hand, then shuffle. mana={3}{G}{G} type=Creature @@ -86970,7 +86941,7 @@ toughness=3 [card] name=Roots of Wisdom autostack=deplete:3 -auto=if type(*[land;elf]|mygraveyard)~morethan~0 then target(*[land;elf]|mygraveyard) moveto(ownerHand) else draw:1 controller +auto=if type(*[land;elf]|mygraveyard)~morethan~0 then target(*[land;elf]|mygraveyard) moveto(hand) else draw:1 controller text=Mill three cards, then return a land card or Elf card from your graveyard to your hand. If you can't, draw a card. (To mill a card, put the top card of your library into your graveyard.) mana={1}{G} type=Sorcery @@ -87208,7 +87179,7 @@ type=Sorcery [/card] [card] name=Rousing of Souls -auto=all(*[zpos=1]|library) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[-land]|*) then token(Spirit^Creature Spirit^1/1^white^flying)],newability[choice name(Put back and draw) moveto(ownerlibrary) and!( draw:1 )!])) oneshot )! +auto=all(*[zpos=1]|library) moveto(hand) and!( transforms((,newability[if cantargetcard(*[-land]|*) then token(Spirit^Creature Spirit^1/1^white^flying)],newability[choice name(Put back and draw) moveto(ownerlibrary) and!( draw:1 )!])) oneshot )! text=Parley - Each player reveals the top card of their library. For each nonland card revealed this way, you put a 1/1 white Spirit creature token with flying onto the battlefield. Then each player draws a card. mana={2}{W} type=Sorcery @@ -87216,7 +87187,7 @@ type=Sorcery [card] name=Rout abilities=flash -restriction=myturnonly +restriction=can play sorcery other={5}{W}{W} name(Cast as instant) auto=bury all(creature) text=You may cast Rout any time you could cast an instant if you pay {2} more to cast it. -- Destroy all creatures. They can't be regenerated. @@ -87257,8 +87228,8 @@ toughness=3 [/card] [card] name=Rowan's Stalwarts -auto=moveto(ownerHand) target(Rowan^ Fearless Sparkmage|mylibrary) -auto=moveto(ownerHand) target(Rowan^ Fearless Sparkmage|mygraveyard) +auto=moveto(hand) target(Rowan^ Fearless Sparkmage|mylibrary) +auto=moveto(hand) target(Rowan^ Fearless Sparkmage|mygraveyard) text=When Rowan's Stalwarts enters, you may search your library and/or graveyard for a card named Rowan, Fearless Sparkmage, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={4}{R} type=Creature @@ -87381,46 +87352,48 @@ toughness=2 [card] name=Rug of Smothering abilities=flying -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~1}:name(Lose 1 life) life:-1 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~2}:name(Lose 2 life) life:-2 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~3}:name(Lose 3 life) life:-3 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~4}:name(Lose 4 life) life:-3 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~5}:name(Lose 5 life) life:-3 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~6}:name(Lose 6 life) life:-3 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~7}:name(Lose 7 life) life:-3 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~8}:name(Lose 8 life) life:-3 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~9}:name(Lose 9 life) life:-3 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~10}:name(Lose 10 life) life:-10 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~11}:name(Lose 11 life) life:-11 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~12}:name(Lose 12 life) life:-12 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~13}:name(Lose 13 life) life:-13 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~14}:name(Lose 14 life) life:-14 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~15}:name(Lose 15 life) life:-15 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~16}:name(Lose 16 life) life:-16 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~17}:name(Lose 17 life) life:-17 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~18}:name(Lose 18 life) life:-18 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~19}:name(Lose 19 life) life:-19 controller -auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~morethan~19}:name(Lose 20 life) life:-20 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~0}:name(Lose 1 life) life:-1 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~1}:name(Lose 1 life) life:-2 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~2}:name(Lose 2 life) life:-3 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~3}:name(Lose 3 life) life:-4 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~4}:name(Lose 4 life) life:-5 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~5}:name(Lose 5 life) life:-6 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~6}:name(Lose 6 life) life:-7 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~7}:name(Lose 7 life) life:-8 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~8}:name(Lose 8 life) life:-9 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~9}:name(Lose 9 life) life:-10 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~10}:name(Lose 10 life) life:-11 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~11}:name(Lose 11 life) life:-12 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~12}:name(Lose 12 life) life:-13 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~13}:name(Lose 13 life) life:-14 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~14}:name(Lose 14 life) life:-15 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~15}:name(Lose 15 life) life:-16 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~16}:name(Lose 16 life) life:-17 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~17}:name(Lose 17 life) life:-18 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~18}:name(Lose 18 life) life:-19 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~equalto~19}:name(Lose 19 life) life:-20 controller +auto=@movedTo(*|mystack) restriction{thisturn(*[instant;sorcery]|mystack)~morethan~19}:name(Lose 20 life) life:-21 controller auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~1}:name(Lose 1 life) life:-1 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~2}:name(Lose 2 life) life:-2 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~3}:name(Lose 3 life) life:-3 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~4}:name(Lose 4 life) life:-3 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~5}:name(Lose 5 life) life:-3 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~6}:name(Lose 6 life) life:-3 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~7}:name(Lose 7 life) life:-3 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~8}:name(Lose 8 life) life:-3 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~9}:name(Lose 9 life) life:-3 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~10}:name(Lose 10 life) life:-10 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~11}:name(Lose 11 life) life:-11 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~12}:name(Lose 12 life) life:-12 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~13}:name(Lose 13 life) life:-13 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~14}:name(Lose 14 life) life:-14 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~15}:name(Lose 15 life) life:-15 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~16}:name(Lose 16 life) life:-16 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~17}:name(Lose 17 life) life:-17 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~18}:name(Lose 18 life) life:-18 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~19}:name(Lose 19 life) life:-19 opponent -auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~morethan~19}:name(Lose 20 life) life:-20 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~1}:name(Lose 1 life) life:-2 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~2}:name(Lose 2 life) life:-3 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~3}:name(Lose 3 life) life:-4 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~4}:name(Lose 4 life) life:-5 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~5}:name(Lose 5 life) life:-6 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~6}:name(Lose 6 life) life:-7 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~7}:name(Lose 7 life) life:-8 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~8}:name(Lose 8 life) life:-9 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~9}:name(Lose 9 life) life:-10 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~10}:name(Lose 10 life) life:-11 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~11}:name(Lose 11 life) life:-12 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~12}:name(Lose 12 life) life:-13 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~13}:name(Lose 13 life) life:-14 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~14}:name(Lose 14 life) life:-15 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~15}:name(Lose 15 life) life:-16 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~16}:name(Lose 16 life) life:-17 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~17}:name(Lose 17 life) life:-18 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~18}:name(Lose 18 life) life:-19 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~equalto~19}:name(Lose 19 life) life:-20 opponent +auto=@movedTo(*|opponentstack) restriction{thisturn(*[instant;sorcery]|opponentstack)~morethan~19}:name(Lose 20 life) life:-21 opponent text=Flying -- Whenever a player casts a spell, they lose 1 life for each spell they've cast this turn. mana={3} type=Artifact Creature @@ -87441,8 +87414,8 @@ toughness=3 [card] name=Ruin Grinder abilities=menace -aicode=activate moveto(ownerHand) target(mountain|myLibrary) -autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(mountain|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(mountain|myLibrary) +autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(mountain|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend auto=_DIES_all(player) draw:7 auto=_DIES_reject all(*|hand) text=Menace -- When Ruin Grinder dies, each player may discard their hand and draw seven cards. -- Mountaincycling {2} ({2}, Discard this card: Search your library for a Mountain card, reveal it, put it into your hand, then shuffle.) @@ -87674,9 +87647,9 @@ type=Instant [/card] [card] name=Run Ashore -auto=choice name(Return to hand) name(Return to hand) target(*[-land]|battlefield) moveto(ownerhand) +auto=choice name(Return to hand) name(Return to hand) target(*[-land]|battlefield) moveto(hand) auto=choice name(Put on top or bottom) name(Put on top or bottom) ability$!name(Choose one) choice name(Put on top) target(*[-land]|battlefield) moveto(ownerlibrary) _ choice name(Put on bottom) target(*[-land]|battlefield) bottomoflibrary!$ controller -auto=choice name(Choose both) name(Choose both) target(*[-land]|battlefield) moveto(ownerhand) && ability$!name(Choose one) choice name(Put on top) target(*[-land]|battlefield) moveto(ownerlibrary) _ choice name(Put on bottom) target(*[-land]|battlefield) bottomoflibrary!$ controller +auto=choice name(Choose both) name(Choose both) target(*[-land]|battlefield) moveto(hand) && ability$!name(Choose one) choice name(Put on top) target(*[-land]|battlefield) moveto(ownerlibrary) _ choice name(Put on bottom) target(*[-land]|battlefield) bottomoflibrary!$ controller text=Choose one or both -- The owner of target nonland permanent puts it on the top or bottom of their library. -- Return target nonland permanent to its owner's hand. mana={4}{U}{U} type=Instant @@ -87684,8 +87657,8 @@ type=Instant [card] name=Run Away Together target=creature|myBattlefield -auto=moveTo(ownerHand) -auto=moveTo(ownerHand) target(creature|opponentBattlefield) +auto=moveTo(hand) +auto=moveTo(hand) target(creature|opponentBattlefield) restriction=type(creature|opponentBattlefield)~morethan~0 text=Choose two target creatures controlled by different players. Return those creatures to their owners' hands. mana={1}{U} @@ -87917,8 +87890,8 @@ subtype=Equipment [card] name=Runeforge Champion auto=choice name(Don't search rune) donothing -auto=choice name(Search your library) target(*[rune]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=choice name(Search your graveyard) target(*[rune]|mygraveyard) moveto(ownerHand) +auto=choice name(Search your library) target(*[rune]|mylibrary) moveto(hand) and!( shuffle )! +auto=choice name(Search your graveyard) target(*[rune]|mygraveyard) moveto(hand) auto=lord(*[rune]|myrestrictedcastingzone) transforms((,newability[{1}:name(Pay with 1 mana) name(Pay with 1 mana) activate castcard(normal)])) text=When Runeforge Champion enters, you may search your library and/or graveyard for a Rune card, reveal it, and put it into your hand. If you search your library this way, shuffle it. -- You may pay {1} rather than pay the mana cost for Rune spells you cast. mana={2}{W} @@ -87930,7 +87903,7 @@ toughness=3 [card] name=Runic Repetition target=*[hasflashback]|myexile -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target exiled card with flashback you own to your hand. mana={2}{U} type=Sorcery @@ -87952,7 +87925,7 @@ backside=Krothuss, Lord of the Deep restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=may name(Return creature) target(creature|mygraveyard) moveto(mylibrary) -auto=@each my upkeep:name(Reveal top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[choice name(Put back) moveto(mylibrary) and!( if cantargetcard(creature[manacost>=6]|*) then name(Transform Runo Stromkirk) name(Transform Runo Stromkirk) target(Runo Stromkirk|mybattlefield) flip(backside) )!])) oneshot )! +auto=@each my upkeep:name(Reveal top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[choice name(Put back) moveto(mylibrary) and!( if cantargetcard(creature[manacost>=6]|*) then name(Transform Runo Stromkirk) name(Transform Runo Stromkirk) target(Runo Stromkirk|mybattlefield) flip(backside) )!])) oneshot )! text=Flying -- When Runo Stromkirk enters, put up to one target creature card from your graveyard on top of your library. -- At the beginning of your upkeep, look at the top card of your library. You may reveal that card. If a creature card with mana value 6 or greater is revealed this way, transform Runo Stromkirk. // Krothuss, Lord of the Deep mana={1}{U}{B} type=Legendary Creature @@ -88220,7 +88193,7 @@ toughness=1 [/card] [card] name=Sacred Excavation -auto=moveto(ownerHand) target(*[cycling]|myGraveyard) +auto=moveto(hand) target(*[cycling]|myGraveyard) text=Return up to two target cards with cycling from your graveyard to your hand. mana={3}{U} type=Sorcery @@ -88408,7 +88381,7 @@ toughness=1 name=Sage-Eye Avengers abilities=prowess auto=@movedTo(*[-creature]|mystack):name(Gets 1/1) 1/1 ueot -auto=_ATTACKING_may name(Return creature) transforms((,newability[name(Choose creature) target(creature[power<=pminus1minusend]|battlefield) moveTo(ownerhand)])) oneshot +auto=_ATTACKING_may name(Return creature) transforms((,newability[name(Choose creature) target(creature[power<=pminus1minusend]|battlefield) moveTo(hand)])) oneshot text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- Whenever Sage-Eye Avengers attacks, you may return target creature to its owner's hand if its power is less than Sage-Eye Avengers's power. mana={4}{U}{U} type=Creature @@ -88501,7 +88474,7 @@ name=Said // Done abilities=flash other={3}{U} name(Done) restriction=can play sorcery -auto=ifnot paid(alternative) then target(other *[instant;sorcery]|mygraveyard) moveto(ownerHand) +auto=ifnot paid(alternative) then target(other *[instant;sorcery]|mygraveyard) moveto(hand) auto=if paid(alternative) then may target(creature|battlefield) freeze text=Return target instant or sorcery card from your graveyard to your hand. -- Tap up to two target creatures. They don't untap during their controllers' next untap step. mana={2}{U} @@ -88615,7 +88588,7 @@ toughness=3 [/card] [card] name=Salvager of Ruin -auto={S}:target(*[-instant;-sorcery;fresh]|mygraveyard) moveto(ownerHand) +auto={S}:target(*[-instant;-sorcery;fresh]|mygraveyard) moveto(hand) text=Sacrifice Salvager of Ruin: Choose target permanent card in your graveyard that was put there from the battlefield this turn. Return it to your hand. mana={3} type=Artifact Creature @@ -88625,7 +88598,7 @@ toughness=1 [/card] [card] name=Salvager of Secrets -auto=target(instant,sorcery|mygraveyard) moveto(ownerhand) +auto=target(instant,sorcery|mygraveyard) moveto(hand) text=When Salvager of Secrets enters, return target instant or sorcery card from your graveyard to your hand. mana={3}{U}{U} type=Creature @@ -88649,7 +88622,7 @@ toughness=9 [card] name=Sam's Desperate Rescue target=creature|mygraveyard -auto=moveto(ownerHand) and!( name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! +auto=moveto(hand) and!( name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! text=Return target creature card from your graveyard to your hand. The Ring tempts you. mana={B} type=Sorcery @@ -88732,7 +88705,7 @@ toughness=4 [card] name=Samwise Gamgee auto=@movedTo(other creature[-token]|myBattlefield):name(Create food) _FOOD_ -auto={S(food|mybattlefield)}{S(food|mybattlefield)}{S(food|mybattlefield)}:name(Reutn historic card) target(*[artifact;legendary;saga]|mygraveyard) moveto(ownerHand) +auto={S(food|mybattlefield)}{S(food|mybattlefield)}{S(food|mybattlefield)}:name(Reutn historic card) target(*[artifact;legendary;saga]|mygraveyard) moveto(hand) text=Whenever another nontoken creature enters under your control, create a Food token. (It's an artifact with "{2}, Sacrifice this artifact: You gain 3 life.") -- Sacrifice three Foods: Return target historic card from your graveyard to your hand. (Artifacts, legendaries, and Sagas are historic.) mana={G}{W} type=Legendary Creature @@ -88743,7 +88716,7 @@ toughness=2 [card] name=Samwise the Stouthearted abilities=flash -auto=may name(Return a permanent) target(*[-instant&-sorcery&fresh]|mygraveyard) moveto(ownerHand) and!( ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! restriction{type(*[-instant&-sorcery&fresh]|mygraveyard)~morethan~0} +auto=may name(Return a permanent) target(*[-instant&-sorcery&fresh]|mygraveyard) moveto(hand) and!( ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! restriction{type(*[-instant&-sorcery&fresh]|mygraveyard)~morethan~0} auto=may name(The ring tempts you) _RINGTEMPTS_ controller text=Flash -- When Samwise the Stouthearted enters, choose up to one target permanent card in your graveyard that was put there from the battlefield this turn. Return it to your hand. Then the Ring tempts you. mana={1}{W} @@ -88787,17 +88760,6 @@ mana={1}{W} type=Sorcery [/card] [card] -name=Sanctuary Blade -auto=teach(creature) 2/0 -auto=teach(creature) protection from(chosencolor) -auto=@targeted(creature) from(this|myBattlefield):chosencolor chosencolorend -text=As Sanctuary Blade becomes attached to a creature, choose a color. -- Equipped creature gets +2/+0 and has protection from the last chosen color. -- Equip {3} -auto={3}:equip -mana={2} -type=Artifact -subtype=Equipment -[/card] -[card] name=Sanctuary Lockdown auto=lord(Human|myBattlefield) 1/1 auto={2}{T(human|myBattlefield)}{T(human|myBattlefield)}:tap target(creature|opponentBattlefield) @@ -88923,7 +88885,7 @@ subtype=Shrine [card] name=Sanctum of Eternity auto={T}:add{1} -auto={2}{T}:moveto(ownerHand) target(*[iscommander]|mybattlefield) myTurnOnly +auto={2}{T}:moveto(hand) target(*[iscommander]|mybattlefield) myTurnOnly text={T}: Add {1}. -- {2}, {T}: Return target commander you own from the battlefield to your hand. Activate this ability only during your turn. type=Land [/card] @@ -88995,8 +88957,8 @@ type=Artifact [card] name=Sandstalker Moloch abilities=flash -aicode=activate transforms((,newability[if type(*[-instant;-sorcery;zpos<=4]|myLibrary)~morethan~0 then target(*[-instant;-sorcery;zpos<=5]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=transforms((,newability[@movedto(*[blue;black]|opponentstack):name(Look top 4 cards) reveal:4 optionone name(Choose a permanent) target(*[-instant;-sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend])) ueot +aicode=activate transforms((,newability[if type(*[-instant;-sorcery;zpos<=4]|myLibrary)~morethan~0 then target(*[-instant;-sorcery;zpos<=5]|myLibrary) moveto(hand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=transforms((,newability[@movedto(*[blue;black]|opponentstack):name(Look top 4 cards) reveal:4 optionone name(Choose a permanent) target(*[-instant;-sorcery]|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend])) ueot text=Flash -- When Sandstalker Moloch enters, if an opponent cast a blue and/or black spell this turn, look at the top four cards of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={1}{G}{G} type=Creature @@ -89078,7 +89040,7 @@ toughness=3 name=Sanguine Indulgence target=creature|mygraveyard anyzone=restriction{compare(lifegain)~morethan~2}:changecost(colorless:-3) forcedalive -auto=moveto(ownerHand) +auto=moveto(hand) text=This spell costs {3} less to cast if you've gained 3 or more life this turn. -- Return up to two target creature cards from your graveyard to your hand. mana={3}{B} type=Sorcery @@ -89312,8 +89274,8 @@ toughness=6 [/card] [card] name=Sarinth Steelseeker -aicode=activate transforms((,newability[target(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot -auto=@movedto(artifact|mybattlefield):name(Look top card) reveal:1 optionone name(May reveal a land) target(land|reveal) moveto(ownerHand) optiononeend optiontwo name(Put back or graveyard) target(*|reveal) transforms((,newability[choice name(Put back to library) moveto(mylibrary)],newability[choice name(Put into graveyard) moveto(mygraveyard)])) oneshot optiontwoend revealend +aicode=activate transforms((,newability[target(land[zpos=1]|mylibrary) moveto(hand)])) oneshot +auto=@movedto(artifact|mybattlefield):name(Look top card) reveal:1 optionone name(May reveal a land) target(land|reveal) moveto(hand) optiononeend optiontwo name(Put back or graveyard) target(*|reveal) transforms((,newability[choice name(Put back to library) moveto(mylibrary)],newability[choice name(Put into graveyard) moveto(mygraveyard)])) oneshot optiontwoend revealend text=Whenever an artifact enters under your control, look at the top card of your library. If it's a land card, you may reveal it and put it into your hand. If you don't put the card into your hand, you may put it into your graveyard. mana={1}{G} type=Creature @@ -89333,7 +89295,7 @@ type=Instant name=Sarkhan's Dragonfire target=anytarget auto=damage:3 -auto=name(Look at the top five) reveal:5 optionone name(reveal a red card) target(*[red]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on the bottom of your library) all(<5>*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Look at the top five) reveal:5 optionone name(reveal a red card) target(*[red]|reveal) moveto(hand) optiononeend optiontwo name(Put on the bottom of your library) all(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Sarkhan's Dragonfire deals 3 damage to any target. -- Look at the top five cards of your library. You may reveal a red card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={3}{R}{R} type=Sorcery @@ -89548,9 +89510,9 @@ toughness=3 [/card] [card] name=Satoru Umezawa -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=3|mylibrary]) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(hand) and!( all(*[zpos<=3|mylibrary]) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot auto=lord(creature|myhand) transforms((,newability[{2}{U}{B}{N}:ninjutsu])) -auto=@ninjutsued(creature|myBattlefield) turnlimited:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +auto=@ninjutsued(creature|myBattlefield) turnlimited:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend text=Whenever you activate a ninjutsu ability, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. This ability triggers only once each turn. -- Each creature card in your hand has ninjutsu {2}{U}{B}. mana={1}{U}{B} type=Legendary Creature @@ -89561,7 +89523,7 @@ toughness=4 [card] name=Satsuki, the Living Lore auto={T}:name(Put lore counter) all(enchantment[saga]|myBattlefield) counter(0/0,1,Lore) asSorcery -auto=_DIES_name(Choose one) transforms((,newability[if type(enchantment[saga;creature]|mybattlefield)~morethan~0 then choice name(Return saga or creature to hand) name(Return saga or creature to hand) target(enchantment[saga;creature]|mybattlefield) moveto(ownerhand)],newability[if type(enchantment[saga]|mygraveyard)~morethan~0 then choice name(Return saga from graveyard) name(Return saga from graveyard) target(enchantment[saga]|mygraveyard) moveto(ownerHand)])) oneshot +auto=_DIES_name(Choose one) transforms((,newability[if type(enchantment[saga;creature]|mybattlefield)~morethan~0 then choice name(Return saga or creature to hand) name(Return saga or creature to hand) target(enchantment[saga;creature]|mybattlefield) moveto(hand)],newability[if type(enchantment[saga]|mygraveyard)~morethan~0 then choice name(Return saga from graveyard) name(Return saga from graveyard) target(enchantment[saga]|mygraveyard) moveto(hand)])) oneshot text={T}: Put a lore counter on each Saga you control. Activate only as a sorcery. -- When Satsuki, the Living Lore dies, choose up to one -- Return target Saga or enchantment creature you control to its owner's hand. -- Return target Saga card from your graveyard to your hand. mana={G}{W} type=Legendary Creature @@ -89609,7 +89571,7 @@ toughness=2 [/card] [card] name=Sauron's Ransom -auto=all(*[zpos=1]|opponentlibrary) moveto(ownerHand) and!( transforms((,newability[all(*[zpos=2]|opponentlibrary) moveto(ownerHand)],newability[all(*[zpos=3]|opponentlibrary) moveto(mygraveyard)],newability[all(*[zpos=4]|opponentlibrary) moveto(mygraveyard)],newability[name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller])) oneshot )! +auto=all(*[zpos=1]|opponentlibrary) moveto(hand) and!( transforms((,newability[all(*[zpos=2]|opponentlibrary) moveto(hand)],newability[all(*[zpos=3]|opponentlibrary) moveto(mygraveyard)],newability[all(*[zpos=4]|opponentlibrary) moveto(mygraveyard)],newability[name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller])) oneshot )! text=Choose an opponent. They look at the top four cards of your library and separate them into a face-down pile and a face-up pile. Put one pile into your hand and the other into your graveyard. The Ring tempts you. mana={1}{U}{B} type=Instant @@ -89895,7 +89857,7 @@ name=Sawtusk Demolisher abilities=trample,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -90094,8 +90056,8 @@ subtype=Forest Plains [/card] [card] name=Scattered Thoughts -aicode=activate target(<2>*[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=2]|mylibrary) moveto(mygraveyard) )! -auto=name(Look top 4 cards) reveal:4 optionone name(Put in hand) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate target(<2>*[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=2]|mylibrary) moveto(mygraveyard) )! +auto=name(Look top 4 cards) reveal:4 optionone name(Put in hand) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top four cards of your library. Put two of those cards into your hand and the rest into your graveyard. mana={3}{U} type=Instant @@ -90254,7 +90216,7 @@ type=Instant [card] name=Scholar of New Horizons auto=counter(1/1) -auto={T}:name(Remove and add counter) target(*[counter{any}]|mybattlefield) transforms((,newability[removesinglecountertype(1)],newability[name(Search plains) target(plains|mylibrary) moveto(ownerHand) and!( transforms((,newability[if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then may name(Put on battlefield) name(Put on battlefield) moveto(mybattlefield) and!( tap(noevent) )!])) oneshot )!])) oneshot +auto={T}:name(Remove and add counter) target(*[counter{any}]|mybattlefield) transforms((,newability[removesinglecountertype(1)],newability[name(Search plains) target(plains|mylibrary) moveto(hand) and!( transforms((,newability[if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then may name(Put on battlefield) name(Put on battlefield) moveto(mybattlefield) and!( tap(noevent) )!])) oneshot )!])) oneshot text=Scholar of New Horizons enters with a +1/+1 counter on it. -- {T}, Remove a counter from a permanent you control: Search your library for a Plains card and reveal it. If an opponent controls more lands than you, you may put that card onto the battlefield tapped. If you don't put the card onto the battlefield, put it into your hand. Then shuffle. mana={1}{W} type=Creature @@ -90274,7 +90236,7 @@ toughness=2 [/card] [card] name=Scholar of the Ages -auto=moveto(ownerHand) target(*[instant;sorcery]|mygraveyard) +auto=moveto(hand) target(*[instant;sorcery]|mygraveyard) text=When Scholar of the Ages enters, return up to two target instant and/or sorcery cards from your graveyard to your hand. mana={5}{U}{U} type=Creature @@ -90331,7 +90293,7 @@ toughness=4 [/card] [card] name=Scion of Halaster -aicode=activate transforms((,newability[target(*[zpos<=2]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=2]|mylibrary) moveto(myreveal) and!( moveto(mygraveyard) )! )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=2]|mylibrary) moveto(hand) and!( all(*[zpos<=2]|mylibrary) moveto(myreveal) and!( moveto(mygraveyard) )! )!])) oneshot auto=this(variable{pdrewcount}=0) lord(creature[iscommander]|mybattlefield) transforms((,newability[replacedraw reveal:2 optionone name(Put into graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(Put back on top) all(*|reveal) moveto(mylibrary) optiontwoend afterrevealed transforms((,newability[draw:1 noreplace])) oneshot afterrevealedend revealend])) text=Commander creatures you own have "The first time you would draw a card each turn, instead look at the top two cards of your library. Put one of them into your graveyard and the other back on top of your library. Then draw a card." mana={1}{B} @@ -90592,7 +90554,7 @@ toughness=3 [/card] [card] name=Scrappy Bruiser -auto=_ATTACKING_may name(Creature gets 2/0 and trample) target(creature[attacking]|battlefield) transforms((,newability[2/0],trample,newability[phaseaction[combatends once] moveTo(ownerhand)])) ueot +auto=_ATTACKING_may name(Creature gets 2/0 and trample) target(creature[attacking]|battlefield) transforms((,newability[2/0],trample,newability[phaseaction[combatends once] moveTo(hand)])) ueot text=Whenever Scrappy Bruiser attacks, up to one target attacking creature gets +2/+0 and gains trample until end of turn. Return that creature to its owner's hand at end of combat. (Return it only if it's on the battlefield.) mana={3}{R} type=Creature @@ -90638,7 +90600,7 @@ name=Scrapyard Recombiner abilities=modular modular=2 auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1) target(creature[artifact]) -auto={T}{S(artifact|myBattlefield)}:moveto(ownerHand) target(creature[construct]|mylibrary) +auto={T}{S(artifact|myBattlefield)}:moveto(hand) target(creature[construct]|mylibrary) text=Modular 2 (This creature enters with two +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.) -- {T}, Sacrifice an artifact: Search your library for a Construct card, reveal it, put it into your hand, then shuffle. mana={3} type=Artifact Creature @@ -90723,7 +90685,7 @@ toughness=4 [/card] [card] name=Scribe of the Mindful -auto={1}{T}{S}:moveto(ownerHand) target(instant,sorcery|mygraveyard) +auto={1}{T}{S}:moveto(hand) target(instant,sorcery|mygraveyard) text={1}, {T}, Sacrifice Scribe of the Mindful: Return target instant or sorcery card from your graveyard to your hand. mana={2}{U} type=Creature @@ -90783,7 +90745,7 @@ type=Enchantment [card] name=Sculpted Sunburst target=creature|mybattlefield -auto=moveto(mybattlefield) and!( all(other creature[mybattlefield]) moveto(exile) )! +auto=transforms((,newability[all(other creature) moveto(exile)])) auto=if cantargetcard(*[power=1]|*) then ability$!name(Choose a creature) name(Choose a creature) target(creature[power<=1]|mybattlefield) moveto(mybattlefield) and!( all(other creature[mybattlefield]) moveto(exile) )! !$ opponent auto=if cantargetcard(*[power=2]|*) then ability$!name(Choose a creature) name(Choose a creature) target(creature[power<=2]|mybattlefield) moveto(mybattlefield) and!( all(other creature[mybattlefield]) moveto(exile) )! !$ opponent auto=if cantargetcard(*[power=3]|*) then ability$!name(Choose a creature) name(Choose a creature) target(creature[power<=3]|mybattlefield) moveto(mybattlefield) and!( all(other creature[mybattlefield]) moveto(exile) )! !$ opponent @@ -90987,7 +90949,7 @@ type=Land [card] name=Sea God's Scorn target=creature,enchantment -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to three target creatures and/or enchantments to their owners' hands. mana={4}{U}{U} type=Sorcery @@ -91031,7 +90993,7 @@ name=Sea-Dasher Octopus abilities=flash,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -91124,8 +91086,8 @@ type=Legendary Enchantment [card] name=Search for Blex abilities=doublefacedeath -aicode=activate all(*[zpos<=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[life:-3 controller],newability[all(*[zpos<=5]|mylibrary) moveto(mygraveyard)])) oneshot )! -auto=name(Look top 5 cards) reveal:5 optionone name(Get any card) target(*|reveal) moveto(ownerHand) and!( transforms((,newability[life:-3 controller])) oneshot )! optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate all(*[zpos<=1]|mylibrary) moveto(hand) and!( transforms((,newability[life:-3 controller],newability[all(*[zpos<=5]|mylibrary) moveto(mygraveyard)])) oneshot )! +auto=name(Look top 5 cards) reveal:5 optionone name(Get any card) target(*|reveal) moveto(hand) and!( transforms((,newability[life:-3 controller])) oneshot )! optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top five cards of your library. You may put any number of them into your hand and the rest into your graveyard. You lose 3 life for each card you put into your hand this way. // {2}{G} Blex, Vexing Pest mana={2}{B}{B} type=Sorcery @@ -91136,8 +91098,8 @@ restriction=compare(mysnowpoolcount)~equalto~0 autohand={1}{i}{W} restriction{compare(mysnowpoolcount)~equalto~1}:name(Cast with 1 snow mana) name(Cast with 1 snow mana) life:1 controller && activate castcard(alternative) autohand={i}{i}{W} restriction{compare(mysnowpoolcount)~morethan~1}:name(Cast with 2 snow mana) name(Cast with 2 snow mana) life:2 controller && activate castcard(alternative) autohand={i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~2,compare(mysnowwhitepoolcount)~morethan~0}:name(Cast with 3 snow mana) name(Cast with 3 snow mana) life:3 controller && activate castcard(alternative) -auto=choice name(Search snow permanent) target(snow[-instant;-sorcery]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=choice name(Search saga or legendary card) target(*[saga;legendary]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=choice name(Search snow permanent) target(snow[-instant;-sorcery]|mylibrary) moveto(hand) and!( shuffle )! +auto=choice name(Search saga or legendary card) target(*[saga;legendary]|mylibrary) moveto(hand) and!( shuffle )! text=Search your library for a snow permanent card, a legendary card, or a Saga card, reveal it, put it into your hand, then shuffle. You gain 1 life for each {S}i} spent to cast this spell. ({S}i} is mana from a snow source.) mana={2}{W} type=Snow Sorcery @@ -91207,9 +91169,9 @@ type=Enchantment [/card] [card] name=Season of Renewal -auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature) name(Return creature) target(creature|mygraveyard) moveto(ownerHand) -auto=if type(enchantment|mygraveyard)~morethan~0 then choice name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(ownerHand) -auto=if type(enchantment|mygraveyard)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and enchantment) name(Return creature and enchantment) name(Return creature and enchantment) target(creature|mygraveyard) moveto(ownerHand) and!( transforms((,newability[name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(ownerHand)])) oneshot )! +auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature) name(Return creature) target(creature|mygraveyard) moveto(hand) +auto=if type(enchantment|mygraveyard)~morethan~0 then choice name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(hand) +auto=if type(enchantment|mygraveyard)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and enchantment) name(Return creature and enchantment) name(Return creature and enchantment) target(creature|mygraveyard) moveto(hand) and!( transforms((,newability[name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(hand)])) oneshot )! text=Choose one or both -- Return target creature card from your graveyard to your hand. -- Return target enchantment card from your graveyard to your hand. mana={2}{G} type=Instant @@ -91246,7 +91208,7 @@ toughness=3 [card] name=Seasoned Dungeoneer auto=_INITIATIVE_CONTROLLER_ -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=@each my blockers:name(Gains protection) target(*[cleric;rogue;warrior;wizard]|myBattlefield) transforms((,newability[protection from creatures],newability[_EXPLORES_])) oneshot text=When Seasoned Dungeoneer enters, you take the initiative. -- Whenever you attack, target attacking Cleric, Rogue, Warrior, or Wizard gains protection from creatures until end of turn. It explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on the creature, then put the card back or put it into your graveyard.) mana={3}{W} @@ -91279,7 +91241,7 @@ toughness=2 [card] name=Seasons Past auto=bottomoflibrary -auto=ability$!may name(Return card with cost 0) moveto(ownerHand) target(*[manacost=0]|myGraveyard)!$ controller && ability$!may name(Return card with cost 1) moveto(ownerHand) target(*[manacost=1]|myGraveyard)!$ controller && ability$!may name(Return card with cost 2) moveto(ownerHand) target(*[manacost=2]|myGraveyard)!$ controller && ability$!may name(Return card with cost 3) moveto(ownerHand) target(*[manacost=3]|myGraveyard)!$ controller && ability$!may name(Return card with cost 4) moveto(ownerHand) target(*[manacost=4]|myGraveyard)!$ controller && ability$!may name(Return card with cost 5) moveto(ownerHand) target(*[manacost=5]|myGraveyard)!$ controller && ability$!may name(Return card with cost 6) moveto(ownerHand) target(*[manacost=6]|myGraveyard)!$ controller && ability$!may name(Return card with cost 7) moveto(ownerHand) target(*[manacost=7]|myGraveyard)!$ controller && ability$!may name(Return card with cost 8) moveto(ownerHand) target(*[manacost=8]|myGraveyard)!$ controller && ability$!may name(Return card with cost 9) moveto(ownerHand) target(*[manacost=9]|myGraveyard)!$ controller && ability$!may name(Return card with cost 10) moveto(ownerHand) target(*[manacost=10]|myGraveyard)!$ controller +auto=ability$!may name(Return card with cost 0) moveto(hand) target(*[manacost=0]|myGraveyard)!$ controller && ability$!may name(Return card with cost 1) moveto(hand) target(*[manacost=1]|myGraveyard)!$ controller && ability$!may name(Return card with cost 2) moveto(hand) target(*[manacost=2]|myGraveyard)!$ controller && ability$!may name(Return card with cost 3) moveto(hand) target(*[manacost=3]|myGraveyard)!$ controller && ability$!may name(Return card with cost 4) moveto(hand) target(*[manacost=4]|myGraveyard)!$ controller && ability$!may name(Return card with cost 5) moveto(hand) target(*[manacost=5]|myGraveyard)!$ controller && ability$!may name(Return card with cost 6) moveto(hand) target(*[manacost=6]|myGraveyard)!$ controller && ability$!may name(Return card with cost 7) moveto(hand) target(*[manacost=7]|myGraveyard)!$ controller && ability$!may name(Return card with cost 8) moveto(hand) target(*[manacost=8]|myGraveyard)!$ controller && ability$!may name(Return card with cost 9) moveto(hand) target(*[manacost=9]|myGraveyard)!$ controller && ability$!may name(Return card with cost 10) moveto(hand) target(*[manacost=10]|myGraveyard)!$ controller text=Return any number of cards with different mana values from your graveyard to your hand. Put Seasons Past on the bottom of its owner's library. mana={4}{G}{G} type=Sorcery @@ -91355,7 +91317,7 @@ type=Sorcery name=Secret Summoning abilities=hiddenface,isconspiracy restriction=never -autocommandzone=chooseaname transforms((,newability[@movedto(creature[chosenname]|mybattlefield):may name(Search library) target(creature[chosenname]|mylibrary) moveto(ownerHand) and!( shuffle )!])) forever chooseend +autocommandzone=chooseaname transforms((,newability[@movedto(creature[chosenname]|mybattlefield):may name(Search library) target(creature[chosenname]|mylibrary) moveto(hand) and!( shuffle )!])) forever chooseend text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Whenever a creature with the chosen name enters under your control, you may search your library for any number of cards with that name, reveal them, put them into your hand, then shuffle. type=Conspiracy [/card] @@ -91440,16 +91402,16 @@ subtype=Aura [/card] [card] name=See the Truth -aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend -auto=if gravecast then name(look) reveal:3 optionone name(Get a card) target(<3>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=3]|mylibrary) moveto(hand) +auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +auto=if gravecast then name(look) reveal:3 optionone name(Get a card) target(<3>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top three cards of your library. Put one of those cards into your hand and the rest on the bottom of your library in any order. If this spell was cast from anywhere other than your hand, put each of those cards into your hand instead. mana={1}{U} type=Sorcery [/card] [card] name=Seed of Hope -auto=all(*[zpos=2]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(*[-instant;-sorcery]|*) then counter(0/0.1.SeedDepleted) notrg],newability[all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[life:2 controller],newability[if cantargetcard(*[-instant;-sorcery]|*) then counter(0/0.1.SeedDepleted) notrg],newability[if type(*[-instant;-sorcery;counter{0/0.1.SeedDepleted}]|mygraveyard)~morethan~0 then choice name(Return permanent) name(Return permanent) target(*[-instant;-sorcery;counter{0/0.1.SeedDepleted}]|mygraveyard) moveto(ownerHand) and!( all(*[counter{0/0.1.SeedDepleted}]|mygraveyard) removeallcounters(0/0.1.SeedDepleted) )!],newability[choice name(Don't return permanent) all(*[counter{0/0.1.SeedDepleted}]|mygraveyard) removeallcounters(0/0.1.SeedDepleted)])) oneshot )!])) oneshot )! +auto=all(*[zpos=2]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(*[-instant;-sorcery]|*) then counter(0/0.1.SeedDepleted) notrg],newability[all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[life:2 controller],newability[if cantargetcard(*[-instant;-sorcery]|*) then counter(0/0.1.SeedDepleted) notrg],newability[if type(*[-instant;-sorcery;counter{0/0.1.SeedDepleted}]|mygraveyard)~morethan~0 then choice name(Return permanent) name(Return permanent) target(*[-instant;-sorcery;counter{0/0.1.SeedDepleted}]|mygraveyard) moveto(hand) and!( all(*[counter{0/0.1.SeedDepleted}]|mygraveyard) removeallcounters(0/0.1.SeedDepleted) )!],newability[choice name(Don't return permanent) all(*[counter{0/0.1.SeedDepleted}]|mygraveyard) removeallcounters(0/0.1.SeedDepleted)])) oneshot )!])) oneshot )! text=Mill two cards. You may put a permanent card from among the milled cards into your hand. You gain 2 life. (To mill two cards, put the top two cards of your library into your graveyard.) mana={G} type=Instant @@ -91497,7 +91459,7 @@ toughness=1 [/card] [card] name=Seekers' Squire -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=When Seekers' Squire enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={1}{B} @@ -91586,7 +91548,7 @@ toughness=3 name=Seismic Monstrosaur abilities=trample auto={2}{R}{S(land|myBattlefield)}:draw:1 -autohand={2}{cycle}:name(Search mountain) target(mountain|mylibrary) moveto(ownerHand) and!( shuffle )! +autohand={2}{cycle}:name(Search mountain) target(mountain|mylibrary) moveto(hand) and!( shuffle )! text=Trample -- {2}{R}, Sacrifice a land: Draw a card. -- Mountaincycling {2} ({2}, Discard this card: Search your library for a Mountain card, reveal it, put it into your hand, then shuffle.) mana={4}{R}{R} type=Creature @@ -91690,7 +91652,7 @@ type=Sorcery [/card] [card] name=Selective Snare -auto=chooseatype target(creature[chosentype]) moveto(ownerhand) chooseend +auto=chooseatype target(creature[chosentype]) moveto(hand) chooseend text=Return X target creatures of the creature type of your choice to their owner's hand. mana={X}{U} type=Sorcery @@ -91800,7 +91762,7 @@ toughness=2 [/card] [card] name=Selvala, Explorer Returned -auto={T}:all(*[zpos=1]|library) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[-land]|*) then add{G} && life:1 controller],newability[choice name(Put back and draw) moveto(ownerlibrary) and!( draw:1 )!])) oneshot )! +auto={T}:all(*[zpos=1]|library) moveto(hand) and!( transforms((,newability[if cantargetcard(*[-land]|*) then add{G} && life:1 controller],newability[choice name(Put back and draw) moveto(ownerlibrary) and!( draw:1 )!])) oneshot )! #auto={T}:reveal:1 revealzone(mylibrary) optionone if type(land|reveal)~lessthan~1 then transforms((,newability[add{G}],newability[life:1 controller])) ueot optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend && reveal:1 revealzone(opponentlibrary) optionone if type(land|reveal)~lessthan~1 then transforms((,newability[add{G}],newability[life:1 controller])) ueot optiononeend optiontwo target(<1>*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed draw:1 opponent afterrevealedend revealend text=Parley-{T}: Each player reveals the top card of their library. For each nonland card revealed this way, add {G} and you gain 1 life. Then each player draws a card. mana={1}{G}{W} @@ -92232,7 +92194,7 @@ toughness=2 [card] name=Serum Snare target=*[-land]|battlefield -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=if cantargetcard(*[manacost<=3]|*) then _PROLIFERATE_ text=Return target nonland permanent to its owner's hand. If that permanent had mana value 3 or less, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) mana={1}{U} @@ -92476,7 +92438,7 @@ toughness=2 [card] name=Shackles of Treachery target=creature -auto=moveto(mybattlefield) and!(transforms((,newability[@damaged(anytarget) from(this):may name(Destroy equipment) target(equipment[attached]|mybattlefield) destroy],newability[@next end:moveTo(previousbattlefield)],newability[untap],haste)) ueot)! +auto=moveto(mybattlefield) and!(transforms((,newability[@damaged(anytarget) from(this):may name(Destroy equipment) target(equipment[attached]) destroy],newability[@next end:moveTo(previousbattlefield)],newability[untap],haste)) ueot)! text=Gain control of target creature until end of turn. Untap that creature. Until end of turn, it gains haste and "Whenever this creature deals damage, destroy target Equipment attached to it." mana={2}{R} type=Sorcery @@ -92506,7 +92468,7 @@ toughness=2 [/card] [card] name=Shadow Prophecy -auto=reveal:pbasiclandtypes optionone may name(Get 2 cards) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=reveal:pbasiclandtypes optionone may name(Get 2 cards) target(*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Domain - Look at the top X cards of your library, where X is the number of basic land types among lands you control. Put up to two of them into your hand and the rest into your graveyard. You lose 2 life. mana={2}{B} type=Instant @@ -92553,7 +92515,7 @@ type=Sorcery [/card] [card] name=Shadow of the Grave -auto=moveto(ownerHand) all(*[fresh]|mygraveyard) +auto=moveto(hand) all(*[fresh]|mygraveyard) text=Return to your hand all cards in your graveyard that you cycled or discarded this turn. mana={1}{B} type=Instant @@ -92914,10 +92876,10 @@ type=Enchantment [/card] [card] name=Shard Convergence -auto=ability$!name(Plains) moveto(ownerHand) notatarget(*[plains]|mylibrary)!$ controller -auto=ability$!name(Island) moveto(ownerHand) notatarget(*[island]|mylibrary)!$ controller -auto=ability$!name(Swamp) moveto(ownerHand) notatarget(*[swamp]|mylibrary)!$ controller -auto=ability$!name(Mountain) moveto(ownerHand) notatarget(*[mountain]|mylibrary)!$ controller +auto=ability$!name(Plains) moveto(hand) notatarget(*[plains]|mylibrary)!$ controller +auto=ability$!name(Island) moveto(hand) notatarget(*[island]|mylibrary)!$ controller +auto=ability$!name(Swamp) moveto(hand) notatarget(*[swamp]|mylibrary)!$ controller +auto=ability$!name(Mountain) moveto(hand) notatarget(*[mountain]|mylibrary)!$ controller text=Search your library for a Plains card, an Island card, a Swamp card, and a Mountain card. Reveal those cards and put them into your hand. Then shuffle. mana={3}{G} type=Sorcery @@ -92944,8 +92906,8 @@ type=Enchantment [/card] [card] name=Shared Summons -auto=if type(creature|mylibrary)~morethan~1 then choice name(Search 2 creatures) name(Search 2 creatures) target(creature|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( transforms((,newability[name(Search second creature) target(creature[notshare!name!]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( ability$!name(Put in hand from library) name(Put in hand from library) target(<2>creature[fresh]|opponentlibrary) moveto(opponenthand) and!( shuffle opponent )! !$ controller )! )!])) oneshot )! )! -auto=if type(creature|mylibrary)~morethan~0 then choice name(Search 1 creature) name(Search 1 creature) target(creature|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( transforms((,newability[ability$!name(Put in hand from library) name(Put in hand from library) target(creature[fresh]|opponentlibrary) moveto(opponenthand) and!( shuffle controller )! !$ opponent])) oneshot )! )! +auto=if type(creature|mylibrary)~morethan~1 then choice name() name(Search 2 creatures) moveTo(hand) notATarget(<2>creature|mylibrary) +auto=if type(creature|mylibrary)~morethan~0 then choice name() name(Search 1 creature) moveTo(hand) notATarget(creature|mylibrary) auto=if type(creature|mylibrary)~morethan~0 then choice name(Don't search) name(Don't search) donothing text=Search your library for up to two creature cards with different names, reveal them, put them into your hand, then shuffle. mana={3}{G}{G} @@ -92988,8 +92950,8 @@ name=Shatter Assumptions target=opponent aicode=activate choice reject all(*[-land;colorless]|targetedpersonshand) aicode=activate choice reject all(*[multicolor]|targetedpersonshand) -auto=choice name(discard colorless) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look at the cards) target(*|reveal) transforms((,newability[moveto(ownerhand) and!( reject )! all(*[-land;colorless]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend -auto=choice name(discard multicolor) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look at the cards) target(*|reveal) transforms((,newability[moveto(ownerhand) and!( reject )! all(*[multicolor]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=choice name(discard colorless) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look at the cards) target(*|reveal) transforms((,newability[moveto(hand) and!( reject )! all(*[-land;colorless]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend +auto=choice name(discard multicolor) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look at the cards) target(*|reveal) transforms((,newability[moveto(hand) and!( reject )! all(*[multicolor]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Choose one -- Target opponent reveals their hand and discards all colorless nonland cards. -- Target opponent reveals their hand and discards all multicolored cards. mana={1}{B}{B} type=Sorcery @@ -93056,7 +93018,7 @@ name=Shatterskull Charger abilities=trample,haste kicker={2} auto=if paid(kicker) then counter(1/1) -auto=@each end:this(counter{1/1}<1) moveTo(ownerHand) all(this) +auto=@each end:this(counter{1/1}<1) moveTo(hand) all(this) text=Kicker {2} -- Trample, haste -- If kicked, Shatterskull Charger enters with a +1/+1 counter. -- At the beginning of the end phase, if it has no +1/+1 counter on it, return to hand. mana={1}{R}{R} type=Creature @@ -93147,7 +93109,7 @@ abilities=deathtouch auto=_WARD2_ auto=lord(other spider|myBattlefield) deathtouch auto=@targeted(other spider|myBattlefield) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot -auto=@vampired(creature) from(spider|myBattlefield):counter(1/1) all(this):may name(Copy creature damaged by spider) all(trigger[to]) clone and!( transforms((removetypes,newability[becomes(Artifact Food) forever],newability[{2}{T}{S}:name(Sacrifice and gain 3 life) life:3 controller])) forever )! +auto=@vampired(creature) from(spider|myBattlefield):may name(Copy creature damaged by spider) all(trigger[to]) clone and!( transforms((removetypes,newability[becomes(Artifact Food) forever],newability[{2}{T}{S}:name(Sacrifice and gain 3 life) life:3 controller])) forever )! text=Deathtouch, ward {2} -- Other Spiders you control have deathtouch and ward {2}. -- Whenever another creature dealt damage this turn by a Spider you controlled dies, create a token that's a copy of that creature, except it's a Food artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life," and it loses all other card types. mana={4}{B}{G} type=Legendary Creature @@ -93321,7 +93283,7 @@ name=Shepherd of the Flock // Usher to Safety abilities=adventure,asflash restriction=can play creature other={W} name(Adventure) -auto=if paid(alternative) then name(Return permanent to hand) name(Return permanent to hand) target(*|myBattlefield) moveTo(ownerhand) +auto=if paid(alternative) then name(Return permanent to hand) name(Return permanent to hand) target(*|myBattlefield) moveTo(hand) auto=if paid(alternative) then _ADVENTURE_ text=Return target permanent you control to its owner's hand. (Then exile this card. You may cast the creature later from exile.) mana={1}{W} @@ -93378,7 +93340,7 @@ subtype=Equipment [card] name=Shield-Wall Sentinel abilities=defender -auto=name(Search creature) target(creature[defender]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search creature) target(creature[defender]|mylibrary) moveto(hand) and!( shuffle )! text=Defender -- When Shield-Wall Sentinel enters, you may search your library for a creature card with defender, reveal it, put it into your hand, then shuffle. mana={4} type=Artifact Creature @@ -93431,16 +93393,16 @@ toughness=1 [card] name=Shigeki, Jukai Visionary auto={1}{G}{T}{H}:reveal:4 optionone name(Get a land) target(land|reveal) moveto(myBattlefield) and!(tap(noevent))! optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -autohand={2}{G}{G}{discard}:name(Channel {2}{G}{G}) target(*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={4}{G}{G}{discard}:name(Channel {4}{G}{G}) target(<2>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={6}{G}{G}{discard}:name(Channel {6}{G}{G}) target(<3>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={8}{G}{G}{discard}:name(Channel {8}{G}{G}) target(<4>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={10}{G}{G}{discard}:name(Channel {10}{G}{G}) target(<5>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={12}{G}{G}{discard}:name(Channel {12}{G}{G}) target(<6>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={14}{G}{G}{discard}:name(Channel {14}{G}{G}) target(<7>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={16}{G}{G}{discard}:name(Channel {16}{G}{G}) target(<8>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={18}{G}{G}{discard}:name(Channel {18}{G}{G}) target(<9>*[-legendary]|mygraveyard) moveto(ownerhand) -autohand={20}{G}{G}{discard}:name(Channel {20}{G}{G}) target(<10>*[-legendary]|mygraveyard) moveto(ownerhand) +autohand={2}{G}{G}{discard}:name(Channel {2}{G}{G}) target(*[-legendary]|mygraveyard) moveto(hand) +autohand={4}{G}{G}{discard}:name(Channel {4}{G}{G}) target(<2>*[-legendary]|mygraveyard) moveto(hand) +autohand={6}{G}{G}{discard}:name(Channel {6}{G}{G}) target(<3>*[-legendary]|mygraveyard) moveto(hand) +autohand={8}{G}{G}{discard}:name(Channel {8}{G}{G}) target(<4>*[-legendary]|mygraveyard) moveto(hand) +autohand={10}{G}{G}{discard}:name(Channel {10}{G}{G}) target(<5>*[-legendary]|mygraveyard) moveto(hand) +autohand={12}{G}{G}{discard}:name(Channel {12}{G}{G}) target(<6>*[-legendary]|mygraveyard) moveto(hand) +autohand={14}{G}{G}{discard}:name(Channel {14}{G}{G}) target(<7>*[-legendary]|mygraveyard) moveto(hand) +autohand={16}{G}{G}{discard}:name(Channel {16}{G}{G}) target(<8>*[-legendary]|mygraveyard) moveto(hand) +autohand={18}{G}{G}{discard}:name(Channel {18}{G}{G}) target(<9>*[-legendary]|mygraveyard) moveto(hand) +autohand={20}{G}{G}{discard}:name(Channel {20}{G}{G}) target(<10>*[-legendary]|mygraveyard) moveto(hand) text={1}{G}, {T}, Return Shigeki, Jukai Visionary to its owner's hand: Reveal the top four cards of your library. You may put a land card from among them onto the battlefield tapped. Put the rest into your graveyard. -- Channel - {X}{X}{G}{G}, Discard Shigeki: Return X target nonlegendary cards from your graveyard to your hand. mana={1}{G} type=Legendary Enchantment Creature @@ -93504,8 +93466,8 @@ toughness=6 [/card] [card] name=Shimmer of Possibility -aicode=activate moveto(ownerHand) all(*[zpos<=1]|mylibrary) -auto=name(Look 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate moveto(hand) all(*[zpos<=1]|mylibrary) +auto=name(Look 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order. mana={1}{U} type=Sorcery @@ -93531,7 +93493,7 @@ toughness=4 [card] name=Shimmerwing Chimera abilities=flying -auto=@each my upkeep:may moveTo(ownerhand) notatarget(other enchantment|myBattlefield) +auto=@each my upkeep:may moveTo(hand) notatarget(other enchantment|myBattlefield) text=Flying -- At the beginning of your upkeep, return up to one other target enchantment you control to its owner's hand. mana={3}{U} type=Enchantment Creature @@ -93606,7 +93568,7 @@ toughness=6 name=Shipwreck Dowser abilities=prowess auto=@movedTo(*[-creature]|mystack):1/1 ueot -auto=moveto(ownerHand) target(*[instant;sorcery]|myGraveyard) +auto=moveto(hand) target(*[instant;sorcery]|myGraveyard) text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- When Shipwreck Dowser enters, return target instant or sorcery card from your graveyard to your hand. mana={3}{U}{U} type=Creature @@ -94009,7 +93971,7 @@ toughness=2 [/card] [card] name=Shrine Steward -auto=activate moveto(ownerHand) target(*[Aura;Shrine]|myLibrary) +auto=activate moveto(hand) target(*[Aura;Shrine]|myLibrary) text=When Shrine Steward enters, you may search your library for an Aura or Shrine card, reveal it, put it into your hand, then shuffle. mana={5} type=Artifact Creature @@ -94348,7 +94310,7 @@ toughness=3 name=Sigarda, Champion of Light abilities=flying,trample aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(human[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(human[zpos<=5]|mylibrary)~morethan~0 then target(human[zpos<=5]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! ])) oneshot -auto=@combat(attacking) source(this) restriction{coven}:name(Look top 5 cards) reveal:5 optionone name(Get a human) target(human|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +auto=@combat(attacking) source(this) restriction{coven}:name(Look top 5 cards) reveal:5 optionone name(Get a human) target(human|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=lord(human|mybattlefield) 1/1 text=Flying, trample -- Humans you control get +1/+1. -- Coven - Whenever Sigarda attacks, if you control three or more creatures with different powers, look at the top five cards of your library. You may reveal a Human creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. type=Legendary Creature @@ -94620,16 +94582,16 @@ toughness=3 [/card] [card] name=Silumgar's Command -auto=if type(*[-creature]|opponentstack)~morethan~0 then choice name(Counter opponent spell and return permanent) name(Counter opponent spell and return permanent) target(*[-creature]|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(ownerhand)!$ opponent])) oneshot -auto=if type(other *[-creature]|mystack)~morethan~0 then choice name(Counter your spell and return permanent) name(Counter your spell and return permanent) target(*[-creature]|mystack) transforms((,newability[fizzle],newability[ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(ownerhand)!$ controller])) oneshot +auto=if type(*[-creature]|opponentstack)~morethan~0 then choice name(Counter opponent spell and return permanent) name(Counter opponent spell and return permanent) target(*[-creature]|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(hand)!$ opponent])) oneshot +auto=if type(other *[-creature]|mystack)~morethan~0 then choice name(Counter your spell and return permanent) name(Counter your spell and return permanent) target(*[-creature]|mystack) transforms((,newability[fizzle],newability[ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(hand)!$ controller])) oneshot auto=if type(*[-creature]|opponentstack)~morethan~0 then choice name(Counter opponent spell and creature gets -3/-3) name(Counter opponent spell and creature gets -3/-3) target(*[-creature]|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ opponent])) oneshot auto=if type(other *[-creature]|mystack)~morethan~0 then choice name(Counter your spell and and creature gets -3/-3) name(Counter your spell and and creature gets -3/-3) target(*[-creature]|mystack) transforms((,newability[fizzle],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ controller])) oneshot auto=if type(*[-creature]|opponentstack)~morethan~0 then choice name(Counter opponent spell and destroy planeswalker) name(Counter opponent spell and destroy planeswalker) target(*[-creature]|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ opponent])) oneshot auto=if type(other *[-creature]|mystack)~morethan~0 then choice name(Counter your spell and destroy planeswalker) name(Counter your spell and destroy planeswalker) target(*[-creature]|mystack) transforms((,newability[fizzle],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ controller])) oneshot -auto=if type(*|opponentbattlefield)~morethan~0 then choice name(Return opponent permanent and creature gets -3/-3) name(Return opponent permanent and creature gets -3/-3) target(*|opponentbattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ opponent])) oneshot -auto=if type(*|mybattlefield)~morethan~0 then choice name(Return your permanent and creature gets -3/-3) name(Return your permanent and creature gets -3/-3) target(*|mybattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ controller])) oneshot -auto=if type(*|opponentbattlefield)~morethan~0 then choice name(Return opponent permanent and destroy planeswalker) name(Return opponent permanent and destroy planeswalker) target(*|opponentbattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ opponent])) oneshot -auto=if type(*|mybattlefield)~morethan~0 then choice name(Return your permanent and destroy planeswalker) name(Return your permanent and destroy planeswalker) target(*|mybattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ controller])) oneshot +auto=if type(*|opponentbattlefield)~morethan~0 then choice name(Return opponent permanent and creature gets -3/-3) name(Return opponent permanent and creature gets -3/-3) target(*|opponentbattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ opponent])) oneshot +auto=if type(*|mybattlefield)~morethan~0 then choice name(Return your permanent and creature gets -3/-3) name(Return your permanent and creature gets -3/-3) target(*|mybattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ controller])) oneshot +auto=if type(*|opponentbattlefield)~morethan~0 then choice name(Return opponent permanent and destroy planeswalker) name(Return opponent permanent and destroy planeswalker) target(*|opponentbattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ opponent])) oneshot +auto=if type(*|mybattlefield)~morethan~0 then choice name(Return your permanent and destroy planeswalker) name(Return your permanent and destroy planeswalker) target(*|mybattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ controller])) oneshot auto=if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent creature gets -3/-3 and destroy planeswalker) name(Opponent creature gets -3/-3 and destroy planeswalker) target(creature|opponentbattlefield) transforms((,newability[-3/-3 ueot],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ opponent])) oneshot auto=if type(creature|mybattlefield)~morethan~0 then choice name(Your creature gets -3/-3 and destroy planeswalker) name(Your creature gets -3/-3 and destroy planeswalker) target(creature|mybattlefield) transforms((,newability[-3/-3 ueot],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ controller])) oneshot text=Choose two -- Counter target noncreature spell. -- Return target permanent to its owner's hand. -- Target creature gets -3/-3 until end of turn. -- Destroy target planeswalker. @@ -94648,8 +94610,8 @@ name=Silundi Vision restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(Silundi Isle) autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Silundi Isle) name(Silundi Isle) flip(Silundi Isle) forcetype(land) -aicode=activate target(*[instant;sorcery;zpos<=6]|mylibrary) moveto(ownerHand) -auto=name(Reveal 6 cards) reveal:6 optionone name(Get instant or sorcery) target(*[instant;sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[instant;sorcery;zpos<=6]|mylibrary) moveto(hand) +auto=name(Reveal 6 cards) reveal:6 optionone name(Get instant or sorcery) target(*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top six cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. // Silundi Isle mana={2}{U} type=Instant @@ -94911,7 +94873,7 @@ type=Enchantment name=Simic Charm auto=choice name(Creature gets +3/+3) target(creature) 3/3 ueot auto=choice name(Permanents gain hexproof) all(*|mybattlefield) hexproof ueot -auto=choice name(Return creature to hand) target(creature) moveto(ownerhand) +auto=choice name(Return creature to hand) target(creature) moveto(hand) text=Choose one Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner's hand. mana={G}{U} type=Instant @@ -94976,7 +94938,7 @@ toughness=2 [/card] [card] name=Sindbad -auto={T}:name(Draw and reveal) reveal:1 optionone if type(land|reveal)~lessthan~1 then target(*|reveal) moveto(mygraveyard) optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(*|reveal) moveto(ownerHand) optiontwoend revealend +auto={T}:name(Draw and reveal) reveal:1 optionone if type(land|reveal)~lessthan~1 then target(*|reveal) moveto(mygraveyard) optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(*|reveal) moveto(hand) optiontwoend revealend text={T}: Draw a card and reveal it. If it isn't a land card, discard it. mana={1}{U} type=Creature @@ -95044,7 +95006,7 @@ type=Sorcery [card] name=Sink into Takenuma target=swamp|mybattlefield -auto=moveto(ownerHand) && ability$!name(discard) notatarget(*|myhand) reject!$ +auto=moveto(hand) && ability$!name(discard) notatarget(*|myhand) reject!$ opponent text=Sweep - Return any number of Swamps you control to their owner's hand. Target player discards a card for each Swamp returned this way. mana={3}{B} type=Sorcery @@ -95094,8 +95056,8 @@ toughness=2 [card] name=Siona, Captain of the Pyleas abilities=hiddenface -aicode=activate transforms((,newability[if type(aura[zpos<=7]|myLibrary)~morethan~0 then target(aura[zpos<=7]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto=name(Look at the top seven cards) reveal:7 optionone name(Choose an aura) target(aura|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(aura[zpos<=7]|myLibrary)~morethan~0 then target(aura[zpos<=7]|myLibrary) moveto(hand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto=name(Look at the top seven cards) reveal:7 optionone name(Choose an aura) target(aura|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=@targeted(creature|myBattlefield) from(aura|myzones):name(Create soldier) token(Soldier,Creature Human Soldier,1/1,white) text=When Siona, Captain of the Pyleas enters, look at the top seven cards of your library. You may reveal an Aura card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Whenever an Aura you control becomes attached to a creature you control, create a 1/1 white Human Soldier creature token. mana={1}{G}{W} @@ -95116,7 +95078,7 @@ type=Instant [card] name=Siren Lookout abilities=flying -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=Flying -- When Siren Lookout enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={2}{U} @@ -95174,7 +95136,7 @@ type=Instant name=Sirocco target=player aicode=activate transforms((,newability[all(instant[blue]|targetedpersonshand) transforms((,newability[pay[[{L:4}]] name(pay 4 life) donothing?reject])) forever])) oneshot -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiononeend afterrevealed all(instant[blue]|targetedpersonshand) transforms((,newability[pay[[{L:4}]] name(pay 4 life) donothing?reject])) forever afterrevealedend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiononeend afterrevealed all(instant[blue]|targetedpersonshand) transforms((,newability[pay[[{L:4}]] name(pay 4 life) donothing?reject])) forever afterrevealedend revealend text=Target player reveals their hand. For each blue instant card revealed this way, that player discards that card unless they pay 4 life. mana={1}{R} type=Instant @@ -95266,8 +95228,8 @@ toughness=1 [/card] [card] name=Skalla Wolf -aicode=activate target(*[green;zpos<=5]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:5 optionone name(Get green card) target(*[green]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[green;zpos<=5]|mylibrary) moveto(hand) +auto=name(look) reveal:5 optionone name(Get green card) target(*[green]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=When Skalla Wolf enters, look at the top five cards of your library. You may reveal a green card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={3}{G}{G} type=Creature @@ -95549,7 +95511,7 @@ toughness=3 [/card] [card] name=Skittering Surveyor -auto=may name(Search basic land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=may name(Search basic land) target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! text=When Skittering Surveyor enters, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle. mana={3} type=Artifact Creature @@ -95760,7 +95722,7 @@ toughness=3 [card] name=Skullwinder abilities=deathtouch -auto=name(Return a card) target(*|myGraveyard) moveto(ownerHand) and!( transforms((,newability[ability$!name(Return a card) name(Return a card) target(*|myGraveyard) moveto(ownerHand)!$ opponent])) oneshot )! +auto=name(Return a card) target(*|myGraveyard) moveto(hand) and!( transforms((,newability[ability$!name(Return a card) name(Return a card) target(*|myGraveyard) moveto(hand)!$ opponent])) oneshot )! text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- When Skullwinder enters, return target card from your graveyard to your hand, then choose an opponent. That player returns a card from their graveyard to their hand. mana={2}{G} type=Creature @@ -95846,8 +95808,8 @@ name=Skyblade's Boon target=creature auto=1/1 auto=flying -auto={2}{W}:all(this) moveto(ownerhand) -autograveyard={2}{W}:all(this) moveto(ownerhand) +auto={2}{W}:all(this) moveto(hand) +autograveyard={2}{W}:all(this) moveto(hand) text=Enchant creature -- Enchanted creature gets +1/+1 and has flying. -- {2}{W}: Return Skyblade's Boon to its owner's hand. Activate only if Skyblade's Boon is on the battlefield or in your graveyard. mana={1}{W} type=Enchantment @@ -95950,7 +95912,7 @@ toughness=1 [card] name=Skyclave Invader abilities=flying -auto=ability$!name(Reveal) reveal:1 optionone if type(*[-land]|reveal)~morethan~0 then name(put card into your hand) name(put card into your hand) target(*|reveal) moveto(ownerHand) else name(May move to battlefield) target(*[land]|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put land in hand) target(<1>*[land]|reveal) moveto(ownerHand) optiontwoend revealend!$ controller +auto=ability$!name(Reveal) reveal:1 optionone if type(*[-land]|reveal)~morethan~0 then name(put card into your hand) name(put card into your hand) target(*|reveal) moveto(hand) else name(May move to battlefield) target(*[land]|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put land in hand) target(<1>*[land]|reveal) moveto(hand) optiontwoend revealend!$ controller text=Flying -- When this creature transforms into Skyclave Invader, look at the top card of your library. If it's a land card, you may put it onto the battlefield. If you don't put the card onto the battlefield, put it into your hand. color=green,blue type=Creature @@ -95970,8 +95932,8 @@ subtype=Equipment [/card] [card] name=Skyclave Plunder -aicode=activate moveto(ownerHand) target(*[zpos<=calculatepartyplus3plusend]|myLibrary) -auto=reveal:calculatepartyplus3plusend optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate moveto(hand) target(*[zpos<=calculatepartyplus3plusend]|myLibrary) +auto=reveal:calculatepartyplus3plusend optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top X cards of your library, where X is three plus the number of creatures in your party. Put three cards from among them into your hand, and put the rest on the bottom of your library in a random order. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) mana={4}{U} type=Sorcery @@ -96501,7 +96463,7 @@ toughness=1 [card] name=Slinn Voda, the Rising Deep kicker={1}{U} -auto=if paid(kicker) then moveto(ownerhand) all(creature[-Merfolk;-Kraken;-Leviathan;-Octopus;-Serpent]|battlefield) +auto=if paid(kicker) then moveto(hand) all(creature[-Merfolk;-Kraken;-Leviathan;-Octopus;-Serpent]|battlefield) text=Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.) -- When Slinn Voda, the Rising Deep enters, if it was kicked, return all creatures to their owners' hands except for Merfolk, Krakens, Leviathans, Octopuses, and Serpents. mana={6}{U}{U} type=Legendary Creature @@ -96691,8 +96653,8 @@ toughness=3 name=Slogurk, the Overslime abilities=trample auto=@movedto(land|mygraveyard):name(Put 1/1 counter) counter(1/1) -auto={C(1/1,-3)}:name(Return to hand) moveto(ownerhand) -auto=@movedto(this|nonbattlezone) from(battlefield):if type(land|mygraveyard)~morethan~0 then may name(Return lands) name(Return lands) transforms((,newability[if type(land|mygraveyard)~morethan~2 then choice name(Return 3 lands) name(Return 3 lands) target(<3>land|mygraveyard) moveto(ownerHand)],newability[if type(land|mygraveyard)~morethan~1 then choice name(Return 2 lands) name(Return 2 lands) target(<2>land|mygraveyard) moveto(ownerHand)],newability[if type(land|mygraveyard)~morethan~0 then choice name(Return 1 land) name(Return 1 land) target(land|mygraveyard) moveto(ownerHand)])) oneshot +auto={C(1/1,-3)}:name(Return to hand) moveto(hand) +auto=@movedto(this|nonbattlezone) from(battlefield):if type(land|mygraveyard)~morethan~0 then may name(Return lands) name(Return lands) transforms((,newability[if type(land|mygraveyard)~morethan~2 then choice name(Return 3 lands) name(Return 3 lands) target(<3>land|mygraveyard) moveto(hand)],newability[if type(land|mygraveyard)~morethan~1 then choice name(Return 2 lands) name(Return 2 lands) target(<2>land|mygraveyard) moveto(hand)],newability[if type(land|mygraveyard)~morethan~0 then choice name(Return 1 land) name(Return 1 land) target(land|mygraveyard) moveto(hand)])) oneshot text=Trample -- Whenever a land card is put into your graveyard from anywhere, put a +1/+1 counter on Slogurk, the Overslime. -- Remove three +1/+1 counters from Slogurk: Return it to its owner's hand. -- When Slogurk leaves the battlefield, return up to three target land cards from your graveyard to your hand. type=Legendary Creature subtype=Ooze @@ -96716,7 +96678,7 @@ toughness=5 name=Sludge Titan abilities=trample auto= -auto=_ATTACKING_deplete:5 may creature and/or a land from among them inmoveto(ownerhand) +auto=_ATTACKING_deplete:5 may creature and/or a land from among them inmoveto(hand) text=Trample -- Whenever Sludge Titan enters the battlefield or attacks, mill five cards. You may put a creature card and/or a land card from among them into your hand. mana={4}{BG}{BG} type=Creature @@ -97012,7 +96974,7 @@ name=Snapdax, Apex of the Hunt abilities=double strike,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -97224,7 +97186,7 @@ toughness=3 name=Soaring Sandwing abilities=flying auto=life:3 -autohand={2}{cycle}:name(Search plains) target(plains|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={2}{cycle}:name(Search plains) target(plains|myLibrary) moveto(hand) and!( shuffle )! text=Flying -- When Soaring Sandwing enters, you gain 3 life. -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, put it into your hand, then shuffle.) mana={4}{W}{W} type=Creature @@ -97268,8 +97230,8 @@ toughness=2 [card] name=Sojourner's Companion abilities=affinityartifacts -aicode=activate target(land[artifact]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[artifact]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[artifact]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[artifact]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Affinity for artifacts -- Artifact landcycling {2} ({2}, Discard this card: Search your library for an artifact land card, reveal it, put it into your hand, then shuffle.) mana={7} type=Artifact Creature @@ -97279,7 +97241,7 @@ toughness=4 [/card] [card] name=Sokenzan Smelter -auto=@each my combatbegins:name(Pay 1 and create construct) pay({1}) name(Pay 1 and create construct) token(Construct Artifact,Creature Artifact Construct,3/1,red,haste) +auto=@each my combatbegins restriction{type(artifact|MyBattlefield)~morethan~0}:name(Pay 1 and create construct) pay({1}) name(Pay 1 and create construct) all(this) transforms((,newability[sacrifice notatarget(artifact|mybattlefield)],newability[create(Construct Artifact:Creature Artifact Construct:3/1:red:haste)])) text=At the beginning of combat on your turn, you may pay {1} and sacrifice an artifact. If you do, create a 3/1 red Construct artifact creature token with haste. mana={1}{R} type=Creature @@ -97549,7 +97511,7 @@ toughness=3 [/card] [card] name=Solve the Equation -auto=name(Search instant or sorcery) target(*[instant;sorcery]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search instant or sorcery) target(*[instant;sorcery]|mylibrary) moveto(hand) and!( shuffle )! text=Search your library for an instant or sorcery card, reveal it, put it into your hand, then shuffle. mana={2}{U} type=Sorcery @@ -97626,7 +97588,7 @@ subtype=Saga [/card] [card] name=Song of Inspiration -auto=all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:name(Return permanents to hand) if compare(lastrollresult)~lessthan~11 then target(*[-instant;-sorcery]|mygraveyard) moveto(ownerHand) else transforms((,newability[moveto(ownerHand)],newability[life:manacost])) oneshot],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot +auto=all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:name(Return permanents to hand) if compare(lastrollresult)~lessthan~11 then target(*[-instant;-sorcery]|mygraveyard) moveto(hand) else transforms((,newability[moveto(hand)],newability[life:manacost])) oneshot],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot text=Choose up to two target permanent cards in your graveyard. Roll a d20 and add the total mana value of those cards. -- 1-14 | Return those cards to your hand. -- 15+ | Return those cards to your hand. You gain life equal to their total mana value. mana={3}{G}{G} type=Instant @@ -97707,7 +97669,7 @@ toughness=2 [card] name=Soothing of Smeagol target=creature[-token]|battlefield -auto=moveTo(ownerHand) and!( ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! +auto=moveTo(hand) and!( ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! text=Return target nontoken creature to its owner's hand. The Ring tempts you. mana={1}{U} type=Instant @@ -97820,8 +97782,8 @@ toughness=4 [/card] [card] name=Sorin's Guide -auto=may moveto(ownerHand) target(Sorin^ Vampire Lord|mylibrary) -auto=may moveto(ownerHand) target(Sorin^ Vampire Lord|mygraveyard) +auto=may moveto(hand) target(Sorin^ Vampire Lord|mylibrary) +auto=may moveto(hand) target(Sorin^ Vampire Lord|mygraveyard) text=When Sorin's Guide enters, you may search your library and/or graveyard for a card named Sorin, Vampire Lord, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{B}{B} type=Creature @@ -97887,8 +97849,8 @@ type=Artifact [card] name=Soul Manipulation auto=if type(creature|stack)~morethan~0 then choice name(Counter creature spell) name(Counter creature spell) target(creature|stack) fizzle -auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature to hand) name(Return creature to hand) target(creature|mygraveyard) moveto(ownerHand) -auto=if type(creature|stack)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Choose both) name(Choose both) name(Choose both) target(creature|mygraveyard) moveto(ownerHand) and!( transforms((,newability[name(Counter creature) target(creature|stack) fizzle])) oneshot )! +auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature to hand) name(Return creature to hand) target(creature|mygraveyard) moveto(hand) +auto=if type(creature|stack)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Choose both) name(Choose both) name(Choose both) target(creature|mygraveyard) moveto(hand) and!( transforms((,newability[name(Counter creature) target(creature|stack) fizzle])) oneshot )! text=Choose one or both Counter target creature spell; and/or return target creature card from your graveyard to your hand. mana={1}{U}{B} type=Instant @@ -97912,7 +97874,7 @@ type=Instant [card] name=Soul Salvage target=creature|mygraveyard -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return up to two target creature cards from your graveyard to your hand. mana={2}{B} type=Sorcery @@ -97948,7 +97910,7 @@ type=Instant [card] name=Soul Strings target=<2>creature|mygraveyard -auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?moveto(ownerHand)])) forever +auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?moveto(hand)])) forever text=Return two target creature cards from your graveyard to your hand unless any player pays {X}. mana={X}{B} type=Sorcery @@ -97957,9 +97919,9 @@ type=Sorcery name=Soul Transfer otherrestriction=type(artifact|mybattlefield)~morethan~0,type(enchantment|mybattlefield)~morethan~0 auto=ifnot paid(alternative) then if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Exile creature or planeswalker) name(Exile creature or planeswalker) name(Exile creature or planeswalker) target(*[creature;planeswalker]|battlefield) moveto(exile) -auto=ifnot paid(alternative) then if type(*[creature;planeswalker]|mygraveyard)~morethan~0 then choice name(Return creature or planeswalker) name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(ownerHand) +auto=ifnot paid(alternative) then if type(*[creature;planeswalker]|mygraveyard)~morethan~0 then choice name(Return creature or planeswalker) name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(hand) auto=if paid(alternative) then if type(*[creature;planeswalker]|battlefield)~morethan~0 then name(Exile creature or planeswalker) name(Exile creature or planeswalker) name(Exile creature or planeswalker) target(*[creature;planeswalker]|battlefield) moveto(exile) -auto=if paid(alternative) then if type(*[creature;planeswalker]|mygraveyard)~morethan~0 then name(Return creature or planeswalker) name(Return creature or planeswalker) name(Return creature or planeswalker) ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(ownerHand)!$ controller +auto=if paid(alternative) then if type(*[creature;planeswalker]|mygraveyard)~morethan~0 then name(Return creature or planeswalker) name(Return creature or planeswalker) name(Return creature or planeswalker) ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(hand)!$ controller text=Choose one. If you control an artifact and an enchantment as you cast this spell, you may choose both. -- Exile target creature or planeswalker. -- Return target creature or planeswalker card from your graveyard to your hand. other={1}{B}{B} name(Choose both) mana={1}{B}{B} @@ -98293,7 +98255,7 @@ name=Souvenir Snatcher abilities=flying,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -98326,7 +98288,7 @@ abilities=isconspiracy restriction=never autocommandzone=all(land[basic]|myhand,mylibrary,mycommandzone,myexile,mygraveyard,myBattlefield) moveto(mysideboard) #autocommandzone=discard:phandcount && transforms((,newability[draw:5 controller])) oneshot -autocommandzone={E(*|myhand)} restriction{can play land}:name(Choose basic land in sideboard) name(Choose basic land in sideboard) target(land[basic]|mysideboard) moveto(ownerHand) and!( transforms((,newability[@each end:moveto(mysideboard)])) ueot )! limit:1 +autocommandzone={E(*|myhand)} restriction{can play land}:name(Choose basic land in sideboard) name(Choose basic land in sideboard) target(land[basic]|mysideboard) moveto(hand) and!( transforms((,newability[@each end:moveto(mysideboard)])) ueot )! limit:1 autocommandzone=lord(land[basic]|myBattlefield) transforms((,newability[{T}:add{B}],newability[{T}:add{U}],newability[{T}:add{G}],newability[{T}:add{R}],newability[{T}:add{W}])) text=(Start the game with this conspiracy face up in the command zone.) -- Your deck can't have basic land cards and your starting hand size is five. -- Exile a card from your hand: This turn, you may play basic land cards from outside the game. -- Basic lands you control have "{T}: Add one mana of any color." type=Conspiracy @@ -98523,7 +98485,7 @@ toughness=2 [/card] [card] name=Spawnbed Protector -auto=@each my end:may moveto(ownerHand) target(creature[Eldrazi]|myGraveyard) +auto=@each my end:may moveto(hand) target(creature[Eldrazi]|myGraveyard) auto=@each my end:_ELDRAZISCION_*2 text=At the beginning of your end step, return up to one target Eldrazi creature card from your graveyard to your hand. Create two 1/1 colorless Eldrazi Scion creature tokens with "Sacrifice this creature: Add {C}." mana={7} @@ -98704,7 +98666,7 @@ name=Spectral Deluge abilities=foretell autohand=_FORETELL_ autoexile={1}{U}{U} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative) -auto=moveto(ownerhand) all(creature[toughness<=type:island:mybattlefield]|opponentbattlefield) +auto=moveto(hand) all(creature[toughness<=type:island:mybattlefield]|opponentbattlefield) text=Return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control. -- Foretell {1}{U}{U} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) mana={4}{U}{U} type=Sorcery @@ -98745,7 +98707,7 @@ toughness=1 name=Spectral Steel target=creature auto=teach(creature) 2/2 -autograveyard={1}{W}{E}:name(Return aura or equipment) target(other *[aura;equipment]|mygraveyard) moveto(ownerHand) +autograveyard={1}{W}{E}:name(Return aura or equipment) target(other *[aura;equipment]|mygraveyard) moveto(hand) text=Enchant creature -- Enchanted creature gets +2/+2. -- {1}{W}, Exile Spectral Steel from your graveyard: Return another target Aura or Equipment card from your graveyard to your hand. mana={1}{W} type=Enchantment @@ -98859,7 +98821,7 @@ type=Instant [/card] [card] name=Spellkeeper Weird -auto={2}{T}{S}:target(instant,sorcery|mygraveyard) moveto(ownerhand) +auto={2}{T}{S}:target(instant,sorcery|mygraveyard) moveto(hand) text={2}, {T}, Sacrifice Spellkeeper Weird: Return target instant or sorcery card from your graveyard to your hand. mana={2}{U} type=Creature @@ -98870,8 +98832,8 @@ toughness=4 [card] name=Spellpyre Phoenix abilities=flying -auto=may name(Return instant or sorcery) target(*[instant;sorcery;cycling]|myGraveyard) moveto(ownerHand) -autograveyard=@each end restriction{compare(pcycledcount)~morethan~1}:name(Return to hand) moveto(ownerHand) +auto=may name(Return instant or sorcery) target(*[instant;sorcery;cycling]|myGraveyard) moveto(hand) +autograveyard=@each end restriction{compare(pcycledcount)~morethan~1}:name(Return to hand) moveto(hand) text=Flying -- When Spellpyre Phoenix enters, you may return target instant or sorcery card with a cycling ability from your graveyard to your hand. -- At the beginning of each end step, if you cycled two or more cards this turn, return Spellpyre Phoenix from your graveyard to your hand. mana={3}{R}{R} type=Creature @@ -98909,7 +98871,7 @@ toughness=3 [/card] [card] name=Spellseeker -auto=may moveto(ownerHand) target(*[instant;sorcery;manacost<=2]|myLibrary) +auto=may moveto(hand) target(*[instant;sorcery;manacost<=2]|myLibrary) text=When Spellseeker enters, you may search your library for an instant or sorcery card with mana value 2 or less, reveal it, put it into your hand, then shuffle. mana={2}{U} type=Creature @@ -98937,7 +98899,7 @@ type=Sorcery [/card] [card] name=Spellweaver Duo -auto=may target(creature[tapped]) moveto(ownerhand) +auto=may target(creature[tapped]) moveto(hand) text=Assist (Another player can pay up to {6} of this spell's cost.) -- When Spellweaver Duo enters, you may return target tapped creature to its owner's hand. mana={6}{U} type=Creature @@ -99138,7 +99100,7 @@ toughness=0 [/card] [card] name=Spike, Tournament Grinder -auto={p(B)}{p(B)}{p(B)}{p(B)}:name(Choose card outside the game) name(Choose card outside the game) target(*|mysideboard) moveto(ownerHand) +auto={p(B)}{p(B)}{p(B)}{p(B)}:name(Choose card outside the game) name(Choose card outside the game) target(*|mysideboard) moveto(hand) text=(Phyrexian {B} can be paid with either {B} or 2 life.) -- Phyrexian {B} Phyrexian {B} Phyrexian {B} Phyrexian {B}: Choose a card you own from outside the game that has been banned or restricted in a Constructed format, reveal that card, and put it into your hand. mana={2}{p(B)}{p(B)} color=black @@ -99400,7 +99362,7 @@ toughness=1 [/card] [card] name=Spirit of the Aldergard -auto=target(land[snow]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=target(land[snow]|mylibrary) moveto(hand) and!( shuffle )! auto=foreach(other snow|myBattlefield) 1/0 text=When Spirit of the Aldergard enters, search your library for a snow land card, reveal it, put it into your hand, then shuffle. -- Spirit of the Aldergard gets +1/+0 for each other snow permanent you control. mana={3}{G} @@ -99460,7 +99422,7 @@ type=Enchantment name=Spit Flame target=creature auto=damage:4 -autograveyard=@movedTo(Dragon|myBattlefield):may name(Return Spit Flame) pay({R}) name(Return Spit Flame) moveto(ownerHand) +autograveyard=@movedTo(Dragon|myBattlefield):may name(Return Spit Flame) pay({R}) name(Return Spit Flame) moveto(hand) text=Spit Flame deals 4 damage to target creature. -- Whenever a Dragon enters under your control, you may pay {R}. If you do, return Spit Flame from your graveyard to your hand. mana={2}{R} type=Instant @@ -99560,8 +99522,8 @@ type=Sorcery [/card] [card] name=Split the Party -auto=choice name(Target opponent) target(creature|opponentbattlefield) moveTo(ownerhand) -auto=choice name(Target yourself) target(creature|mybattlefield) moveTo(ownerhand) +auto=choice name(Target opponent) target(creature|opponentbattlefield) moveTo(hand) +auto=choice name(Target yourself) target(creature|mybattlefield) moveTo(hand) text=Choose target player. Return half the creatures they control to their owner's hand, rounded up. mana={3}{U}{U} type=Sorcery @@ -99569,7 +99531,7 @@ type=Sorcery [card] name=Split the Spoils target=*[-instant;-sorcery]|mygraveyard -auto=moveto(myreveal) and!( transforms((,newability[if compare(genrand2)~equalto~1 then moveto(myexile) else moveto(ownerHand)])) oneshot )! +auto=moveto(myreveal) and!( transforms((,newability[if compare(genrand2)~equalto~1 then moveto(myexile) else moveto(hand)])) oneshot )! text=Exile up to five target permanent cards from your graveyard and separate them into two piles. An opponent chooses one of those piles. Put that pile into your hand and the other into your graveyard. (Piles can be empty.) mana={2}{G} type=Sorcery @@ -99779,7 +99741,7 @@ toughness=1 [card] name=Spring-Leaf Avenger autohand={3}{G}{N}:ninjutsu -auto=@combatdamaged(player) from(this):target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) +auto=@combatdamaged(player) from(this):target(*[-instant;-sorcery]|mygraveyard) moveto(hand) text=Ninjutsu {3}{G} ({3}{G}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever Spring-Leaf Avenger deals combat damage to a player, return target permanent card from your graveyard to your hand. mana={3}{G}{G} type=Creature @@ -99919,7 +99881,7 @@ toughness=7 [card] name=Sprouting Goblin kicker={G} -auto=if paid(kicker) then target(target(*[plains;island;swamp;mountain;forest])|mylibrary) moveto(ownerHand) +auto=if paid(kicker) then target(target(*[plains;island;swamp;mountain;forest])|mylibrary) moveto(hand) auto={R}{T}{S(land|myBattlefield)}:draw:1 text=Kicker {G} (You may pay an additional {G} as you cast this spell.) -- When Sprouting Goblin enters, if it was kicked, search your library for a land card with a basic land type, reveal it, put it into your hand, then shuffle. -- {R}, {T}, Sacrifice a land: Draw a card. mana={1}{R} @@ -99940,7 +99902,7 @@ type=Sorcery [card] name=Spy Eye abilities=flying -auto=@combatdamaged(player) from(this):may moveto(ownerHand) all(*[zpos=1]|opponentlibrary) +auto=@combatdamaged(player) from(this):may moveto(hand) all(*[zpos=1]|opponentlibrary) text=Flying -- Whenever Spy Eye deals combat damage to a player, you may draw a card from that player's library. mana={2}{U}{U} type=Creature @@ -100082,7 +100044,7 @@ color=green [card] name=Squirrel Sanctuary auto=_SQUIRRELTOKEN_ -auto=@movedto(graveyard) from(creature[-token]|myBattlefield):pay({1}) name(Pay 1 and return to hand) moveTo(ownerhand) +auto=@movedto(graveyard) from(creature[-token]|myBattlefield):pay({1}) name(Pay 1 and return to hand) moveTo(hand) text=When Squirrel Sanctuary enters, create a 1/1 green Squirrel creature token. -- Whenever a nontoken creature you control dies, you may pay {1}. If you do, return Squirrel Sanctuary to its owner's hand. mana={G} type=Enchantment @@ -100307,7 +100269,7 @@ toughness=4 name=Stand // Deliver other={2}{U} name(Deliver) auto=ifnot paid(alternative) then prevent:2 target(creature) -auto=if paid(alternative) then moveto(ownerhand) target(*|battlefield) +auto=if paid(alternative) then moveto(hand) target(*|battlefield) text=Prevent the next 2 damage that would be dealt to target creature this turn. // Return target permanent to its owner's hand. mana={W} type=Instant @@ -100800,9 +100762,9 @@ type=Sorcery [card] name=Step Through target=<2>creature|battlefield -aicode=activate moveto(ownerHand) target(wizard|myLibrary) -autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>wizard|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend -auto=moveto(ownerhand) +aicode=activate moveto(hand) target(wizard|myLibrary) +autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>wizard|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend +auto=moveto(hand) text=Return two target creatures to their owners' hands. -- Wizardcycling {2} ({2} , Discard this card: Search your library for a Wizard card, reveal it, put it into your hand, then shuffle.) mana={3}{U}{U} type=Sorcery @@ -100841,7 +100803,7 @@ toughness=4 [card] name=Stern Dismissal target=creature,enchantment -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return target creature or enchantment an opponent controls to its owner's hand. mana={U} type=Instant @@ -101089,7 +101051,7 @@ toughness=1 [/card] [card] name=Stockpiling Celebrant -auto=may name(Return nonland) target(other *[-land]|myBattlefield) moveto(ownerhand) and!( _SCRY2_ )! +auto=may name(Return nonland) target(other *[-land]|myBattlefield) moveto(hand) and!( _SCRY2_ )! text=When Stockpiling Celebrant enters, you may return another target nonland permanent you control to its owner's hand. If you do, scry 2. mana={2}{W} type=Creature @@ -101117,8 +101079,8 @@ abilities=foretell autohand=_FORETELL_ autoexile={1}{W} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative) auto=if compare(type:land:mybattlefield)~lessthan~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle])) oneshot )! -auto=if compare(type:land:mybattlefield)~equalto~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(ownerHand) -auto=if compare(type:land:mybattlefield)~morethan~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(ownerHand) +auto=if compare(type:land:mybattlefield)~equalto~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(hand) +auto=if compare(type:land:mybattlefield)~morethan~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(hand) text=When Stoic Farmer enters, search your library for a basic Plains card and reveal it. If an opponent controls more lands than you, put it onto the battlefield tapped. Otherwise put it into your hand. Then shuffle. -- Foretell {1}{W} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) mana={3}{W} type=Creature @@ -101145,7 +101107,7 @@ type=Instant [/card] [card] name=Stolen by the Fae -auto=moveto(ownerhand) target(creature[manacost=X]|battlefield) +auto=moveto(hand) target(creature[manacost=X]|battlefield) auto=thisforeach(X) create(Faerie:creature Faerie:1/1:blue:flying) controller text=Return target creature with mana value X to its owner's hand. You create X 1/1 blue Faerie creature tokens with flying. mana={X}{U}{U} @@ -101436,7 +101398,7 @@ type=Instant [card] name=Storm Sculptor abilities=unblockable -auto=moveto(ownerHand) target(creature|mybattlefield) +auto=moveto(hand) target(creature|mybattlefield) text=Storm Sculptor can't be blocked. -- When Storm Sculptor enters, return a creature you control to its owner's hand. mana={3}{U} type=Creature @@ -101666,7 +101628,7 @@ toughness=3 [card] name=Storrev, Devkarin Lich abilities=trample -auto=@combatdamaged(player,planeswalker) from(this):moveto(ownerhand) target(*[creature;planeswalker;-fresh]|mygraveyard) +auto=@combatdamaged(player,planeswalker) from(this):moveto(hand) target(*[creature;planeswalker;-fresh]|mygraveyard) text=Trample -- Whenever Storrev, Devkarin Lich deals combat damage to a player or planeswalker, return to your hand target creature or planeswalker card in your graveyard that wasn't put there this combat. mana={1}{B}{B}{G} type=Legendary Creature @@ -101956,7 +101918,7 @@ kicker={GW} other={1}{B}{G}{W} name(Both kickers) auto=if paid(kicker) then life:3 auto=if paid(alternative) then life:6 -auto=@each my combatdamage restriction{opponentdamagedbycombat}:may all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[damage:manacost controller])) )! +auto=@each my combatdamage restriction{opponentdamagedbycombat}:may all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[damage:manacost controller])) )! text=Kicker {G} and/or {W} (You may pay an additional {G} and/or {W} as you cast this spell.) -- When Stronghold Arena enters, you gain 3 life for each time it was kicked. -- Whenever one or more creatures you control deal combat damage to a player, you may reveal the top card of your library and put it into your hand. If you do, you lose life equal to its mana value. mana={1}{B} type=Enchantment @@ -102110,8 +102072,8 @@ type=Sorcery [/card] [card] name=Sublime Epiphany -auto=if type(*|stack)~morethan~1 then choice name(Counter target spell) name(Counter target spell) target(*|stack) transforms((,newability[fizzle],newability[ability$!name(Target player draws card) may name(Target player draws card) target(player) draw:1!$ opponent],newability[ability$!name(Return permanent) may name(Return permanent) target(*[-land]|battlefield) moveto(ownerhand)!$ opponent],newability[ability$!name(Copy creature) may name(Copy creature) clone target(creature|mybattlefield)!$ opponent])) forever -auto=choice name(Don't counter any spell) name(Don't counter any spell) transforms((,newability[ability$!name(Target player draws card) may name(Target player draws card) target(player) draw:1!$ controller],newability[ability$!name(Return permanent) may name(Return permanent) target(*[-land]|battlefield) moveto(ownerhand)!$ controller],newability[ability$!name(Copy creature) may name(Copy creature) clone target(creature|mybattlefield)!$ controller])) forever +auto=if type(*|stack)~morethan~1 then choice name(Counter target spell) name(Counter target spell) target(*|stack) transforms((,newability[fizzle],newability[ability$!name(Target player draws card) may name(Target player draws card) target(player) draw:1!$ opponent],newability[ability$!name(Return permanent) may name(Return permanent) target(*[-land]|battlefield) moveto(hand)!$ opponent],newability[ability$!name(Copy creature) may name(Copy creature) clone target(creature|mybattlefield)!$ opponent])) forever +auto=choice name(Don't counter any spell) name(Don't counter any spell) transforms((,newability[ability$!name(Target player draws card) may name(Target player draws card) target(player) draw:1!$ controller],newability[ability$!name(Return permanent) may name(Return permanent) target(*[-land]|battlefield) moveto(hand)!$ controller],newability[ability$!name(Copy creature) may name(Copy creature) clone target(creature|mybattlefield)!$ controller])) forever text=Choose one or more -- Counter target spell. -- Counter target activated or triggered ability. -- Return target nonland permanent to its owner's hand. -- Create a token that's a copy of target creature you control. -- Target player draws a card. mana={4}{U}{U} type=Instant @@ -102291,7 +102253,7 @@ toughness=4 [/card] [card] name=Sumala Woodshaper -auto=target(*[creature;enchantment;zpos<=4]|mylibrary) moveto(ownerHand) +auto=target(*[creature;enchantment;zpos<=4]|mylibrary) moveto(hand) text=When Sumala Woodshaper enters, look at the top four cards of your library. You may reveal a creature or enchantment card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={2}{G}{W} type=Creature @@ -102327,7 +102289,7 @@ type=Sorcery name=Summoner's Bond abilities=hiddenface,isconspiracy restriction=never -autocommandzone=chooseaname transforms((,newability[@movedto(creature[-chosenname]|mybattlefield):may name(Search library) target(creature[chosenname]|mylibrary) moveto(ownerHand) and!( shuffle )!],newability[@movedto(creature[chosenname]|mybattlefield) from(mystack):may name(Search library) target(creature[-chosenname]|mylibrary) moveto(ownerHand) and!( shuffle )!])) forever chooseend +autocommandzone=chooseaname transforms((,newability[@movedto(creature[-chosenname]|mybattlefield):may name(Search library) target(creature[chosenname]|mylibrary) moveto(hand) and!( shuffle )!],newability[@movedto(creature[chosenname]|mybattlefield) from(mystack):may name(Search library) target(creature[-chosenname]|mylibrary) moveto(hand) and!( shuffle )!])) forever chooseend text=Double agenda (Start the game with this conspiracy face down in the command zone and secretly name two different cards. You may turn this conspiracy face up any time and reveal the chosen names.) -- Whenever you cast a creature spell with one of the chosen names, you may search your library for a creature card with the other chosen name, reveal it, put it into your hand, then shuffle. type=Conspiracy [/card] @@ -102471,7 +102433,7 @@ toughness=2 [/card] [card] name=Sun-Blessed Mount -auto=may moveto(ownerHand) target(Huatli^ Dinosaur Knight|mylibrary,mygraveyard) +auto=may moveto(hand) target(Huatli^ Dinosaur Knight|mylibrary,mygraveyard) text=When Sun-Blessed Mount enters, you may search your library and/or graveyard for a card named Huatli, Dinosaur Knight, reveal it, then put it into your hand. If you searched your library this way, shuffle it. mana={3}{R}{W} type=Creature @@ -102549,7 +102511,7 @@ toughness=3 [card] name=Sunblade Samurai abilities=vigilance -autohand={2}{discard}:name(Search basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) && life:2 +autohand={2}{discard}:name(Search basic plains) target(plains[basic]|mylibrary) moveto(hand) && life:2 text=Vigilance -- Channel - {2}, Discard Sunblade Samurai: Search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. You gain 2 life. mana={4}{W} type=Enchantment Creature @@ -102707,7 +102669,7 @@ toughness=3 [card] name=Sunrise Seeker abilities=vigilance -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=Vigilance -- When Sunrise Seeker enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={4}{W} @@ -102843,7 +102805,7 @@ type=Instant [card] name=Supply // Demand other={1}{G}{W} name(Demand) -auto=if paid(alternative) then Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose multicolored card) target(<1>*[multicolor]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=if paid(alternative) then Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose multicolored card) target(<1>*[multicolor]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=ifnot paid(alternative) then _GOBLINTOKEN_*x text=Put X 1/1 green Saproling creature tokens onto the battlefield. // Search your library for a multicolored card, reveal it, and put it into your hand. Then shuffle. mana={X}{G}{W} @@ -102902,7 +102864,7 @@ toughness=3 [card] name=Supreme Will auto=choice restriction{type(*|stack)~morethan~0} transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever target(*|stack) -auto=choice reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=choice reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Choose one -- Counter target spell unless its controller pays {3}. -- Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={2}{U} type=Instant @@ -102996,7 +102958,7 @@ toughness=3 [card] name=Surgical Skullbomb auto={1}{S}:draw:1 -auto={2}{U}{S}:target(creature) moveto(ownerhand) && draw:1 controller asSorcery +auto={2}{U}{S}:target(creature) moveto(hand) && draw:1 controller asSorcery text={1}, Sacrifice Surgical Skullbomb: Draw a card. -- {2}{U}, Sacrifice Surgical Skullbomb: Return target creature to its owner's hand. Draw a card. Activate only as a sorcery. mana={1} type=Artifact @@ -103090,8 +103052,8 @@ toughness=1 [/card] [card] name=Survivors' Bond -auto=ability$! may moveto(ownerHand) target(creature[human]|myGraveyard)!$ controller -auto=ability$! may moveto(ownerHand) target(creature[-human]|myGraveyard)!$ controller +auto=ability$! may moveto(hand) target(creature[human]|myGraveyard)!$ controller +auto=ability$! may moveto(hand) target(creature[-human]|myGraveyard)!$ controller text=Choose one or both -- Return target Human creature card from your graveyard to your hand. -- Return target non-Human creature card from your graveyard to your hand. mana={1}{G} type=Sorcery @@ -103422,7 +103384,7 @@ toughness=4 [card] name=Swirling Torrent auto=ability$! name(Put on library) may name(Put on library) moveTo(ownerlibrary) target(creature)!$ controller -auto=ability$! name(Return to hand) may name(Return to hand) moveTo(ownerHand) target(creature)!$ controller +auto=ability$! name(Return to hand) may name(Return to hand) moveTo(hand) target(creature)!$ controller text=Choose one or both -- Put target creature on top of its owner's library. -- Return target creature to its owner's hand. mana={5}{U} type=Sorcery @@ -103459,7 +103421,7 @@ name=Sword Coast Serpent // Capsizing Wave abilities=adventure,asflash restriction=can play creature other={1}{U} name(Adventure) -auto=if paid(alternative) then may name(Return creature) name(Return creature) target(creature|battlefield) moveto(ownerhand) +auto=if paid(alternative) then may name(Return creature) name(Return creature) target(creature|battlefield) moveto(hand) auto=if paid(alternative) then _ADVENTURE_ auto=ifnot paid(alternative) then if thisturn(*[-creature]|mystack)~morethan~0 then transforms((,unblockable)) ueot auto=@movedTo(*[-creature]|mystack) turnlimited:name(Becomes unblockable) transforms((,unblockable)) ueot @@ -104080,7 +104042,7 @@ toughness=4 name=Taigam, Sidisi's Hand auto=phasealter(remove,draw,controller) aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=3]|mylibrary) moverandom(*[zpos<=3]) from(mylibrary) to(mylibrary)])) ueot -auto=@each my upkeep:name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=@each my upkeep:name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto={B}{T}{E(*|myGraveyard)}:target(creature) -1/-1 ueot auto={B}{T}{E(*|myGraveyard)}{E(*|myGraveyard)}:target(creature) -2/-2 ueot auto={B}{T}{E(*|myGraveyard)}{E(*|myGraveyard)}{E(*|myGraveyard)}:target(creature) -3/-3 ueot @@ -104203,10 +104165,10 @@ toughness=1 [/card] [card] name=Tajuru Paragon -aicode=activate target(creature[elf;cleric;warrior;rogue;wizard;zpos<=6]|myLibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-elf;-cleric;-warrior;-rogue;-wizard]|*) then bottomoflibrary)! +aicode=activate target(creature[elf;cleric;warrior;rogue;wizard;zpos<=6]|myLibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-elf;-cleric;-warrior;-rogue;-wizard]|*) then bottomoflibrary)! auto=becomes(Cleric Rogue Warrior Wizard) kicker={3} -auto=if paid(kicker) then name(Reveal six cards from top) Reveal:6 revealzone(myLibrary) optionone target(creature[elf;cleric;warrior;rogue;wizard]|reveal) moveTo(ownerHand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +auto=if paid(kicker) then name(Reveal six cards from top) Reveal:6 revealzone(myLibrary) optionone target(creature[elf;cleric;warrior;rogue;wizard]|reveal) moveTo(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend text=Tajuru Paragon is also a Cleric, Rogue, Warrior, and Wizard. -- Kicker {3} -- When Tajuru Paragon enters, if it was kicked, reveal the top six cards of your library. You may put a card that shares a creature type with it from among them into your hand. Put the rest on the bottom of your library in a random order. mana={1}{G} type=Creature @@ -104291,17 +104253,17 @@ type=Instant [card] name=Takenuma, Abandoned Mire auto={T}:Add{B} -autohand=this(variable{type:creature[legendary]:mybattlefield}=0) {3}{B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(ownerHand)!$ controller -autohand=this(variable{type:creature[legendary]:mybattlefield}=1) {2}{B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(ownerHand)!$ controller -autohand=this(variable{type:creature[legendary]:mybattlefield}=2) {1}{B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(ownerHand)!$ controller -autohand=this(variable{type:creature[legendary]:mybattlefield}>=3) {B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(ownerHand)!$ controller +autohand=this(variable{type:creature[legendary]:mybattlefield}=0) {3}{B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(hand)!$ controller +autohand=this(variable{type:creature[legendary]:mybattlefield}=1) {2}{B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(hand)!$ controller +autohand=this(variable{type:creature[legendary]:mybattlefield}=2) {1}{B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(hand)!$ controller +autohand=this(variable{type:creature[legendary]:mybattlefield}>=3) {B}{discard}:deplete:3 && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(hand)!$ controller text={T}: Add {B}. -- Channel - {3}{B}, Discard Takenuma, Abandoned Mire: Mill three cards, then return a creature or planeswalker card from your graveyard to your hand. This ability costs {1} less to activate for each legendary creature you control. type=Legendary Land [/card] [card] name=Talas Lookout abilities=flying -auto=_DIES_name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=_DIES_name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Flying -- When Talas Lookout dies, look at the top two cards of your library. Put one of them into your hand and the other into your graveyard. mana={2}{U}{U} type=Creature @@ -104428,7 +104390,7 @@ name=Talons of Wildwood target=creature auto=teach(creature) +1/+1 auto=teach(creature) trample -autograveyard={2}{G}:moveto(ownerHand) +autograveyard={2}{G}:moveto(hand) text=Enchant creature -- Enchanted creature gets +1/+1 and has trample. (It can deal excess combat damage to the player or planeswalker it's attacking.) -- {2}{G}: Return Talons of Wildwood from your graveyard to your hand. mana={1}{G} type=Enchantment @@ -104706,8 +104668,8 @@ toughness=4 [card] name=Tapping at the Window flashback={2}{G} -aicode=activate transforms((,newability[if type(creature[zpos<=3]|mylibrary)~equalto~0 then all(*[zpos<=3]|mylibrary) moveto(mygraveyard) else target(creature[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot -auto=name(Look top 3 cards) reveal:3 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=3]|mylibrary)~equalto~0 then all(*[zpos<=3]|mylibrary) moveto(mygraveyard) else target(creature[zpos<=3]|mylibrary) moveto(hand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot +auto=name(Look top 3 cards) reveal:3 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top three cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest into your graveyard. -- Flashback {2}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={1}{G} type=Sorcery @@ -105059,7 +105021,7 @@ toughness=5 [card] name=Tazeem Raptor abilities=flying -auto=may moveTo(ownerHand) target(land|myBattlefield) +auto=may moveTo(hand) target(land|myBattlefield) text=Flying -- When Tazeem Raptor enters, you may return a land you control to its owner's hand. mana={2}{W} type=Creature @@ -105070,7 +105032,7 @@ toughness=2 [card] name=Tazeem Roilmage kicker={4} -auto=if paid(kicker) then moveto(ownerHand) target(*[instant;sorcery]|myGraveyard) +auto=if paid(kicker) then moveto(hand) target(*[instant;sorcery]|myGraveyard) text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- When Tazeem Whirlwind Mage enters, if this creature was kicked, return target instant or sorcery card from your graveyard to your hand. mana={1}{U} type=Creature @@ -105081,8 +105043,8 @@ toughness=1 [card] name=Tazri, Beacon of Unity abilities=affinityparty -aicode=activate moveto(ownerHand) target(creature[ally;cleric;rogue;warrior;wizard;zpos<=6]|myLibrary) -auto={2U}{2B}{2R}{2G}:name(Reveal six cards from top) reveal:6 optionone name(Get cards) target(*[ally;cleric;rogue;warrior;wizard]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate moveto(hand) target(creature[ally;cleric;rogue;warrior;wizard;zpos<=6]|myLibrary) +auto={2U}{2B}{2R}{2G}:name(Reveal six cards from top) reveal:6 optionone name(Get cards) target(*[ally;cleric;rogue;warrior;wizard]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend text=This spell costs {1} less to cast for each creature in your party. -- {2/U}{2/B}{2/R}{2/G}: Look at the top six cards of your library. You may reveal up to two Cleric, Rogue, Warrior, Wizard, and/or Ally cards from among them and put them into your hand. Put the rest on the bottom of your library in a random order. mana={4}{W} type=Legendary Creature @@ -105093,7 +105055,7 @@ toughness=6 [card] name=Tazri, Stalwart Survivor auto=lord(creature|myBattlefield) transforms((,newability[this(variable{type:creature:mybattlefield}>0) {T}:add{W}],newability[this(variable{type:creature:mybattlefield}>0) {T}:add{G}],newability[this(variable{type:creature:mybattlefield}>0) {T}:add{B}],newability[this(variable{type:creature:mybattlefield}>0) {T}:add{R}],newability[this(variable{type:creature:mybattlefield}>0) {T}:add{U}])) -auto={W}{U}{B}{R}{G}{T}:name(Mill 5 cards) all(*[zposz<=5]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(*[creature]|*) then may name(Return creature to hand) moveto(ownerHand)])) oneshot )! +auto={W}{U}{B}{R}{G}{T}:name(Mill 5 cards) all(*[zposz<=5]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(*[creature]|*) then may name(Return creature to hand) moveto(hand)])) oneshot )! text=Each creature you control has "{T}: Add one mana of any of this creature's colors. Spend this mana only to activate an ability of a creature. Activate only if this creature has another activated ability." -- {W}{U}{B}{R}{G}, {T}: Mill five cards. Put all creature cards with activated abilities that aren't mana abilities from among the milled cards into your hand. mana={2}{W} type=Legendary Creature @@ -105279,7 +105241,7 @@ type=Enchantment [card] name=Teferi's Wavecaster abilities=flash -auto=may name(Search library or graveyard) moveto(ownerHand) target(Teferi^ Timeless Voyager|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Teferi^ Timeless Voyager|myLibrary,myGraveyard) text=Flash -- When Teferi's Wavecaster enters, you may search your library and/or graveyard for a card named Teferi, Timeless Voyager, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{U}{U} type=Creature @@ -105481,7 +105443,7 @@ type=Sorcery [card] name=Temporal Machinations target=creature -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=aslongas(artifact|myBattlefield) draw:1 controller text=Return target creature to its owner's hand. If you control an artifact, draw a card. mana={2}{U} @@ -105938,7 +105900,7 @@ type=Instant [/card] [card] name=Testament Bearer -auto=_DIES_name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=_DIES_name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=When Testament Bearer dies, look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. mana={3}{B} type=Creature @@ -106006,16 +105968,16 @@ toughness=3 name=Tezzeret's Betrayal target=creature auto=destroy -auto=choice name(Search Library) may moveto(ownerHand) target(Tezzeret^ Master of Metal|myLibrary) -auto=choice name(Search Graveyard) may moveto(ownerHand) target(Tezzeret^ Master of Metal|myGraveyard) +auto=choice name(Search Library) may moveto(hand) target(Tezzeret^ Master of Metal|myLibrary) +auto=choice name(Search Graveyard) may moveto(hand) target(Tezzeret^ Master of Metal|myGraveyard) text=Destroy target creature. You may search your library and/or graveyard for a card named Tezzeret, Master of Metal, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{U}{B} type=Sorcery [/card] [card] name=Tezzeret's Gatebreaker -aicode=activate target(*[blue;artifact;zpos<=5]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:5 optionone name(Get blue or artifact card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[blue;artifact;zpos<=5]|mylibrary) moveto(hand) +auto=name(look) reveal:5 optionone name(Get blue or artifact card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend auto={5}{U}{T}{S}:all(creature|mybattlefield) unblockable text=When Tezzeret's Gatebreaker enters, look at the top five cards of your library. You may reveal a blue or artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- {5}{U}, {T}, Sacrifice Tezzeret's Gatebreaker: Creatures you control can't be blocked this turn. mana={4} @@ -106102,8 +106064,8 @@ toughness=5 [/card] [card] name=Thassa's Intervention -aicode=activate target(*[zpos<=X]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=X]) moveto(myreveal) and!( bottomoflibrary )! )! -auto=choice name(Look X cards) reveal:X optionone name(Get 2 cards) target(*|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=X]|mylibrary) moveto(hand) and!( all(*[zpos<=X]) moveto(myreveal) and!( bottomoflibrary )! )! +auto=choice name(Look X cards) reveal:X optionone name(Get 2 cards) target(*|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend auto=choice name(Counter target spell) target(*|stack) transforms((,newability[pay[[{value:twicestoredx}]] name(pay {X}{X} mana) donothing?fizzle])) oneshot text=Choose one -- Look at the top X cards of your library. Put up to two of them into your hand and the rest on the bottom of your library in a random order. -- Counter target spell unless its controller pays twice {X}. mana={X}{U}{U} @@ -106137,7 +106099,7 @@ toughness=5 [/card] [card] name=Thaumatic Compass -auto={3}{T}:moveto(ownerHand) target(basic|mylibrary) +auto={3}{T}:moveto(hand) target(basic|mylibrary) auto=@each my end:if type(land|mybattlefield)~morethan~6 then flip(Spires of Orazca) text={3}, {T}: Search your library for a basic land card, reveal it, put it into your hand, then shuffle. -- At the beginning of your end step, if you control seven or more lands, transform Thaumatic Compass. mana={2} @@ -106184,8 +106146,8 @@ toughness=8 name=The Antiquities War auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=reveal:5 optionone name(Get artifact) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) reveal:5 optionone name(Get artifact) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:5 optionone name(Get artifact) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) reveal:5 optionone name(Get artifact) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(artifact|mybattlefield) becomes(Artifact Creature,5/5) ueot auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Look at the top five cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- III - Artifacts you control become artifact creatures with base power and toughness 5/5 until end of turn. @@ -106319,7 +106281,7 @@ subtype=Saga [/card] [card] name=The Biblioplex -aicode=activate moveto(ownerHand) target(*[instant;sorcery;zpos=1]|mylibrary) +aicode=activate moveto(hand) target(*[instant;sorcery;zpos=1]|mylibrary) auto={T}:add{C} auto={2}{T} restriction{type(*|myhand)~equalto~0}:name(Look top card) reveal:1 optionone target(*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(Put back or graveyard) target(<1>*|reveal) transforms((,newability[choice name(Put back) moveto(mylibrary)],newability[choice name(Put graveyard) moveto(mygraveyard)])) oneshot optiontwoend revealend auto={2}{T} restriction{type(*|myhand)~equalto~7}:name(Look top card) reveal:1 optionone target(*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(Put back or graveyard) target(<1>*|reveal) transforms((,newability[choice name(Put back) moveto(mylibrary)],newability[choice name(Put graveyard) moveto(mygraveyard)])) oneshot optiontwoend revealend @@ -106343,7 +106305,7 @@ auto=@each my firstmain:counter(0/0,1,Lore) auto=deplete:3 opponent auto=deplete:3 controller auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) ability$!name(Choose one) choice name(Don't exile any card) donothing _ choice name(Exile 1 card) moveto(exile) target(<1>*|graveyard) && life:1 controller _ choice name(Exile 2 cards) moveto(exile) target(<2>*|graveyard) && life:2 controller!$ controller -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveto(ownerHand) target(*[land;creature]|mygraveyard) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveto(hand) target(*[land;creature]|mygraveyard) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Each player mills three cards. -- II - Exile up to two target cards from graveyards. For each creature card exiled this way, you gain 1 life. -- III - Return target creature or land card from your graveyard to your hand. mana={1}{G} @@ -106352,8 +106314,8 @@ subtype=Saga [/card] [card] name=The Birth of Meletis -aicode=activate target(Plains[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Plains[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(Plains[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Plains[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) create(Wall:artifact creature Wall:0/4:defender) @@ -106725,7 +106687,7 @@ auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=all(*|myhand) reject auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) draw:2 controller -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}=) moveto(ownerHand) target(*[land;creature]|mygraveyard) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}=) moveto(hand) target(*[land;creature]|mygraveyard) auto=@damaged(creature|opponentBattlefield) from(*[-The Flame of Keld;red]|*) restriction{compare(hascntlore)~equalto~3}:all(trigger[to]) damage:2 auto=@damaged(creature|myBattlefield) from(*[-The Flame of Keld;red]|myzones) restriction{compare(hascntlore)~equalto~3}:all(trigger[to]) damage:2 auto=@damageof(player) from(*[-The Flame of Keld;red]|myzones) restriction{compare(hascntlore)~equalto~3}:damage:2 controller @@ -106789,7 +106751,7 @@ abilities=nomaxhand auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=draw:type:*:myhand controller -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Return creatures) all(creature[-phyrexian]|battlefield) moveto(ownerhand) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Return creatures) all(creature[-phyrexian]|battlefield) moveto(hand) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Cast spells for zero) target(*[-land]|myhand) activate castcard(normal) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Exile and return) moveto(myexile) and!( moveto(mybattlefield) and!( transforms((Legendary)) forever )! )! text=(As this Saga enters and after your draw step, add a lore counter.) -- I - Draw cards equal to the number of cards in your hand. You have no maximum hand size for as long as you control The Great Synthesis. -- II - Return all non-Phyrexian creatures to their owners' hands. -- III - You may cast any number of spells from your hand without paying their mana costs. Exile The Great Synthesis, then return it to the battlefield (front face up). @@ -106875,7 +106837,7 @@ anyzone={0}:doubleside(backside) auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=name(Exile nonland permanent) target(*[-land]|opponentbattlefield) moveto(exile) -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Return nonland permanent) name(Return nonland permanent) target(*[-land]|battlefield) moveto(ownerhand) and!( ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent )! +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Return nonland permanent) name(Return nonland permanent) target(*[-land]|battlefield) moveto(hand) and!( ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent )! auto=@counteradded(0/0,1,Lore) from(this) turnlimited:this(counter{0/0.3.Lore}) moveto(exile) and!( flip(backside) forcetype(Enchantment Creature) )! text=(As this Saga enters and after your draw step, add a lore counter.) -- I - Exile target nonland permanent an opponent controls. -- II - Return up to one other target nonland permanent to its owner's hand. Then each opponent discards a card. -- III - Exile this Saga, then return it to the battlefield transformed under your control. mana={1}{W}{U}{B}{R}{G} @@ -106911,7 +106873,7 @@ name=The Locust God abilities=flying auto=@drawn(controller):token(Insect,creature Insect,1/1,red,blue,flying,haste) auto={2}{U}{R}:_LOOT_ -auto=_DIES_phaseaction[end once] moveTo(ownerhand) ueot +auto=_DIES_phaseaction[end once] moveTo(hand) ueot text=Flying -- Whenever you draw a card, create a 1/1 blue and red Insect creature token with flying and haste. -- {2}{U}{R}: Draw a card, then discard a card. -- When The Locust God dies, return it to its owner's hand at the beginning of the next end step. mana={4}{U}{R} type=Legendary Creature @@ -106957,8 +106919,8 @@ name=The Mending of Dominaria auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=deplete:2 -auto=target(creature|mygraveyard) moveto(ownerhand) -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(creature|mygraveyard) moveto(ownerhand) +auto=target(creature|mygraveyard) moveto(hand) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(creature|mygraveyard) moveto(hand) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) deplete:2 auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(land|mygraveyard) moveto(battlefield) && moveTo(mylibrary) all(*|mygraveyard) @@ -106990,8 +106952,8 @@ type=Legendary Artifact name=The Mirari Conjecture auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=target(instant|mygraveyard) moveto(ownerhand) -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(sorcery|mygraveyard) moveto(ownerhand) +auto=target(instant|mygraveyard) moveto(hand) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(sorcery|mygraveyard) moveto(hand) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) transforms((,newability[@movedto(*[instant;sorcery]|mystack):all(trigger[to]) activate castcard(copied noevent)])) ueot auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Return target instant card from your graveyard to your hand. -- II - Return target sorcery card from your graveyard to your hand. -- III - Until end of turn, whenever you cast an instant or sorcery spell, copy it. You may choose new targets for the copy. @@ -107188,7 +107150,7 @@ restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=name(Search basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search basic plains) target(plains[basic]|mylibrary) moveto(hand) and!( shuffle )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Discard and return) name(Discard and return) target(*|myhand) reject and!( transforms((,newability[name(Return permanent) target(*[-instant&-sorcery&manacost<=2]|mygraveyard) moveto(mybattlefield) and!( tap(noevent) )!])) oneshot )! auto=@counteradded(0/0,1,Lore) from(this) turnlimited:this(counter{0/0.3.Lore}) moveto(exile) and!( flip(backside) forcetype(Enchantment Creature) )! text=(As this Saga enters and after your draw step, add a lore counter.) -- I - Search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. -- II - You may discard a card. When you do, return target permanent card with mana value 2 or less from your graveyard to the battlefield tapped. -- III - Exile this Saga, then return it to the battlefield transformed under your control. @@ -107229,7 +107191,7 @@ aicode=activate transforms((,newability[all(*[zpos<=type:zombie:mybattlefield]|m auto={2}{U}{B}:target(creature|graveyard) clone and!( transforms((Zombie,setpower=4,settoughness=4,black)) forever )! && moveTo(exile) auto=@each my upkeep:scry:type:zombie:mybattlefield scrycore delayed dontshow donothing scrycoreend scryend auto=@each my upkeep:foreach(zombie|mybattlefield) life:-1 opponent -auto=_DIES_phaseaction[end once] moveTo(ownerhand) ueot +auto=_DIES_phaseaction[end once] moveTo(hand) ueot text=At the beginning of your upkeep, each opponent loses X life and you scry X, where X is the number of Zombies you control. -- {2}{U}{B}: Exile target creature card from a graveyard. Create a token that's a copy of it, except it's a 4/4 black Zombie. -- When The Scarab God dies, return it to its owner's hand at the beginning of the next end step. mana={3}{U}{B} type=Legendary Creature @@ -107241,7 +107203,7 @@ toughness=5 name=The Scorpion God auto=@movedto(graveyard) from(creature[counter{-1/-1}]|battlefield):draw:1 auto={1}{B}{R}:counter(-1/-1) target(other creature) -auto=_DIES_phaseaction[end once] moveTo(ownerhand) ueot +auto=_DIES_phaseaction[end once] moveTo(hand) ueot text=Whenever a creature with a -1/-1 counter on it dies, draw a card. -- {1}{B}{R}: Put a -1/-1 counter on another target creature. -- When The Scorpion God dies, return it to its owner's hand at the beginning of the next end step. mana={3}{B}{R} type=Legendary Creature @@ -107333,7 +107295,7 @@ name=The Three Seasons auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=deplete:3 controller -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Return snow permanents) target(snow[-instant;-sorcery]|mygraveyard) moveto(ownerHand) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Return snow permanents) target(snow[-instant;-sorcery]|mygraveyard) moveto(hand) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Choose 3 cards in your graveyards) target(<3>*|mygraveyard) moveTo(mylibrary) and!( shuffle )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) ability$!name(Choose 3 cards in opponent's graveyards) name(Choose 3 cards in opponent's graveyards) target(<3>*|opponentgraveyard) moveTo(opponentlibrary) and!( shuffle opponent )! !$ controller auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) @@ -107346,7 +107308,7 @@ subtype=Saga name=The Torment of Gollum target=player aicode=activate transforms((,newability[if type(*[-land]|targetedpersonshand)~morethan~0 then name(Discard nonland card) notatarget(*[-land]|targetedpersonshand) reject and!( _AMASSORC2_ )!],newability[if type(*[-land]|targetedpersonshand)~equalto~0 then name(Amass orcs 2) _AMASSORC2_ ])) oneshot -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(Choose nonland card) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(Put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed _AMASSORC2_ afterrevealedend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(Choose nonland card) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(Put back) target(*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed _AMASSORC2_ afterrevealedend revealend text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. -- Amass Orcs 2. (Put two +1/+1 counters on an Army you control. It's also an Orc. If you don't control an Army, create a 0/0 black Orc Army creature token first.) mana={3}{B} type=Sorcery @@ -107395,7 +107357,7 @@ subtype=Saga [card] name=The Underworld Cookbook auto={T}{D(*|myHand)}:name(Create food) _FOOD_ -auto={4}{T}{S}:name(Return creature) target(creature|mygraveyard) moveto(ownerHand) +auto={4}{T}{S}:name(Return creature) target(creature|mygraveyard) moveto(hand) text={T}, Discard a card: Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- {4}, {T}, Sacrifice The Underworld Cookbook: Return target creature card from your graveyard to your hand. mana={1} type=Artifact @@ -107599,7 +107561,7 @@ toughness=3 [/card] [card] name=Thirsting Roots -auto=choice target(land[basic]|mylibrary) moveto(ownerHand) +auto=choice target(land[basic]|mylibrary) moveto(hand) auto=choice _PROLIFERATE_ text=Choose one - -- - Search your library for a basic land card, reveal it, put it into your hand, then shuffle. -- - Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) mana={G} @@ -107899,8 +107861,8 @@ subtype=Equipment [card] name=Thran Spider abilities=reach -aicode=activate transforms((,newability[if type(artifact[zpos<=4]|myLibrary)~morethan~0 then target(artifact[zpos<=4]|myLibrary) moveto(ownerHand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot -auto={7}:name(Look top 4 cards) reveal:4 optionone name(Get an artifact) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate transforms((,newability[if type(artifact[zpos<=4]|myLibrary)~morethan~0 then target(artifact[zpos<=4]|myLibrary) moveto(hand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot +auto={7}:name(Look top 4 cards) reveal:4 optionone name(Get an artifact) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=name(Create powerstone) token(Powerstone) and!( tap(noevent) )! auto=ability$!name(Create powerstone) token(Powerstone) and!( tap(noevent) )! opponent !$ text=Reach -- When Thran Spider enters, you and target opponent each create a tapped Powerstone token. -- {7}: Look at the top four cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. @@ -107987,8 +107949,8 @@ toughness=2 [card] name=Thrasios, Triton Hero abilities=partner -aicode=activate target(*[zpos<=1]|mylibrary) moveto(ownerHand) and!( if cantargetcard(*[land]|*) then moveto(mybattlefield) and!( tap(noevent) )! )! -auto={4}:scry:1 scrycore delayed dontshow transforms((,newability[if type(land[zpos=1]|mylibrary)~equalto~0 then all(*[zpos=1]|mylibrary) moveto(ownerHand) else all(land[zpos=1]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!])) oneshot scrycoreend scryend +aicode=activate target(*[zpos<=1]|mylibrary) moveto(hand) and!( if cantargetcard(*[land]|*) then moveto(mybattlefield) and!( tap(noevent) )! )! +auto={4}:scry:1 scrycore delayed dontshow transforms((,newability[if type(land[zpos=1]|mylibrary)~equalto~0 then all(*[zpos=1]|mylibrary) moveto(hand) else all(land[zpos=1]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!])) oneshot scrycoreend scryend text={4}: Scry 1, then reveal the top card of your library. If it's a land card, put it onto the battlefield tapped. Otherwise, draw a card. -- Partner (You can have two commanders if both have partner.) mana={G}{U} type=Legendary Creature @@ -108488,7 +108450,7 @@ type=Sorcery [card] name=Tiamat abilities=flying -auto=if casted(this) then may name(Search dragons) target(*[dragon;-tiamat]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=if casted(this) then may name(Search dragons) target(*[dragon;-tiamat]|mylibrary) moveto(hand) and!( shuffle )! text=Flying -- When Tiamat enters, if you cast it, search your library for up to five Dragon cards not named Tiamat that each have different names, reveal them, put them into your hand, then shuffle. mana={2}{W}{U}{B}{R}{G} type=Legendary Creature @@ -108509,7 +108471,7 @@ toughness=3 [card] name=Tiana, Ship's Caretaker abilities=flying,first strike -auto=@movedto(*[aura;enchantment]|myGraveyard) from(Battlefield):may phaseaction[end once] name(Move to hand) moveto(ownerhand) target(*[aura;enchantment;fresh]|myGraveyard) +auto=@movedto(*[aura;enchantment]|myGraveyard) from(Battlefield):may phaseaction[end once] name(Move to hand) moveto(hand) target(*[aura;enchantment;fresh]|myGraveyard) text=Flying, first strike -- Whenever an Aura or Equipment you control is put into a graveyard from the battlefield, you may return that card to its owner's hand at the beginning of the next end step. mana={3}{R}{W} type=Legendary Creature @@ -108551,8 +108513,8 @@ toughness=4 [card] name=Tidal Terror auto=_ATTACKING_may transforms((,newability[tap notatarget(<2>creature[-tapped]|myBattlefield)],newability[unblockable ueot])) oneshot -aicode=activate moveto(ownerHand) target(island|myLibrary) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>island|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(island|myLibrary) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>island|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Whenever Tidal Terror attacks, you may tap two other untapped creatures you control. If you do, Tidal Terror can't be blocked this turn. -- Islandcycling {2} ({2}, Discard this card: Search your library for an Island card, reveal it, put it into your hand, then shuffle.) mana={4}{U}{U} type=Creature @@ -108674,8 +108636,8 @@ type=Land [card] name=Timberland Ancient abilities=reach,trample -aicode=activate moveto(ownerHand) target(forest|myLibrary) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(forest|myLibrary) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Reach, trample -- Forestcycling {2} ({2}, Discard this card: Search your library for a Forest card, reveal it, put it into your hand, then shuffle.) mana={4}{G}{G} type=Creature @@ -108702,7 +108664,7 @@ type=Artifact [/card] [card] name=Time Wipe -auto=name(Return a creature) target(creature|myBattlefield) moveto(ownerhand) and!( destroy all(creature) )! +auto=name(Return a creature) target(creature|myBattlefield) moveto(hand) and!( destroy all(creature) )! text=Return a creature you control to its owner's hand, then destroy all creatures. mana={2}{W}{W}{U} type=Sorcery @@ -108713,7 +108675,7 @@ auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=target(creature|opponentBattlefield) transforms((,newability[tap],newability[doesnotuntap])) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(creature|opponentBattlefield) freeze -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature[tapped]|battlefield) moveTo(ownerHand) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature[tapped]|battlefield) moveTo(hand) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Tap target creature an opponent controls. It doesn't untap during its controller's untap step for as long as you control Time of Ice. -- III - Return all tapped creatures to their owners' hands. mana={3}{U} @@ -108741,8 +108703,8 @@ type=Instant [card] name=Timeless Dragon abilities=flying -aicode=activate target(plains|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(plains|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend autograveyard={2}{W}{W}{E}:_ETERNALIZE_ text=Flying -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, put it into your hand, then shuffle.) -- Eternalize {2}{W}{W} ({2}{W}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Dragon with no mana cost. Eternalize only as a sorcery.) mana={3}{W}{W} @@ -108761,7 +108723,7 @@ type=Legendary Artifact [/card] [card] name=Timeless Witness -auto=name(Return card) target(*|myGraveyard) moveto(ownerHand) +auto=name(Return card) target(*|myGraveyard) moveto(hand) autograveyard={5}{G}{G}{E}:_ETERNALIZE_ text=When Timeless Witness enters, return target card from your graveyard to your hand. -- Eternalize {5}{G}{G} ({5}{G}{G}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Human Shaman with no mana cost. Eternalize only as a sorcery.) mana={2}{G}{G} @@ -108854,7 +108816,7 @@ toughness=1 [card] name=Tin Street Dodger abilities=haste -auto={R}:transforms((,newability[cantbeblockedby(creature[-defender])])) +auto={R}:transforms((,newability[cantbeblockedby(creature)])) text=Haste -- {R}: Tin Street Dodger can't be blocked this turn except by creatures with defender. mana={R} type=Creature @@ -108940,7 +108902,7 @@ toughness=2 [/card] [card] name=Tishana's Wayfinder -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto=_EXPLORES_ text=When Tishana's Wayfinder enters, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={2}{G} @@ -109261,7 +109223,7 @@ toughness=3 [card] name=Together Forever auto=may target(other creature|battlefield) counter(1/1) -auto={1}:target(creature[counter{any}]) transforms((,newability[_DIES_all(trigger[to]) moveTo(ownerHand)])) ueot +auto={1}:target(creature[counter{any}]) transforms((,newability[_DIES_all(trigger[to]) moveTo(hand)])) ueot text=When Together Forever enters, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) -- {1}: Choose target creature with a counter on it. When that creature dies this turn, return that card to its owner's hand. mana={W}{W} type=Enchantment @@ -109314,7 +109276,7 @@ type=Enchantment name=Tolarian Geyser kicker={W} target=creature -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=draw:1 controller auto=if paid(kicker) then life:3 controller text=Kicker {W} (You may pay an additional {W} as you cast this spell.) -- Return target creature to its owner's hand. Draw a card. If this spell was kicked, you gain 3 life. @@ -109353,7 +109315,7 @@ toughness=5 [card] name=Toll of the Invasion target=opponent -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[-land]|reveal) moveto(ownerhand) and!( transforms((,newability[reject],newability[all(*|reveal) moveto(ownerhand)])) oneshot )! optiononeend optiontwo name(look) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed ability$!name(Amass zombies 1) _AMASSZOMBIE1_!$ controller afterrevealedend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[-land]|reveal) moveto(hand) and!( transforms((,newability[reject],newability[all(*|reveal) moveto(hand)])) oneshot )! optiononeend optiontwo name(look) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed ability$!name(Amass zombies 1) _AMASSZOMBIE1_!$ controller afterrevealedend revealend text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. -- Amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) mana={2}{B} type=Sorcery @@ -109395,7 +109357,7 @@ toughness=1 [/card] [card] name=Tomakul Scrapsmith -auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[artifact]|mygraveyard)~morethan~0 then choice name(Return an artifact) name(Return an artifact) target(tobereturn[artifact]|mygraveyard) moveto(ownerHand)],newability[choice name(Put 1/1 counter) target(Tomakul Scrapsmith[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! +auto=name(Mill 3 cards) all(*[zpos<=2]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=3]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[if type(tobereturn[artifact]|mygraveyard)~morethan~0 then choice name(Return an artifact) name(Return an artifact) target(tobereturn[artifact]|mygraveyard) moveto(hand)],newability[choice name(Put 1/1 counter) target(Tomakul Scrapsmith[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Tomakul Scrapsmith enters, mill three cards. You may put an artifact card from among the cards milled this way into your hand. If you don't, put a +1/+1 counter on Tomakul Scrapsmith. (To mill a card, put the top card of your library into your graveyard.) mana={2}{R} type=Creature @@ -109406,7 +109368,7 @@ toughness=1 [card] name=Tomb Robber abilities=menace -aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(ownerHand)])) oneshot +aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(hand)])) oneshot auto={1}{D(*|myhand)}:_EXPLORES_ text=Menace -- {1}, Discard a card: Tomb Robber explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.) mana={2}{B} @@ -109622,7 +109584,7 @@ toughness=4 [card] name=Topiary Panther abilities=trample -autohand={1}{G}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +autohand={1}{G}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Trample -- Basic landcycling {1}{G} ({1}{G}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) mana={4}{G}{G} type=Creature @@ -109668,7 +109630,7 @@ toughness=3 name=Toralf's Hammer auto={1}{R}:equip auto=teach(legendary) 3/0 -auto=teach(creature) transforms((,newability[{1}{R}{T}:target(Toralf's Hammer[attached]|mybattlefield) moveTo(ownerhand) and!( transforms((,newability[choice name(Damage player) damage:3 target(player)],newability[choice name(Damage creature) damage:3 target(creature)],newability[choice name(Damage planeswalker) damage:3 target(planeswalker)])) oneshot )!])) +auto=teach(creature) transforms((,newability[{1}{R}{T}:target(Toralf's Hammer[attached]|mybattlefield) moveTo(hand) and!( transforms((,newability[choice name(Damage player) damage:3 target(player)],newability[choice name(Damage creature) damage:3 target(creature)],newability[choice name(Damage planeswalker) damage:3 target(planeswalker)])) oneshot )!])) text=Equipped creature has "{1}{R}, {T}, Unattach Toralf's Hammer: It deals 3 damage to any target. Return Toralf's Hammer to its owner's hand." -- Equipped creature gets +3/+0 as long as it's legendary. -- Equip {1}{R} // {2}{R}{R} Toralf, God of Fury mana={1}{R} type=Legendary Artifact @@ -110070,7 +110032,7 @@ type=Sorcery [card] name=Tower Winder abilities=deathtouch,reach -auto=moveto(ownerHand) target(Command Tower|mylibrary,mygraveyard) +auto=moveto(hand) target(Command Tower|mylibrary,mygraveyard) text=Reach, deathtouch -- When Tower Winder enters, search your library and/or graveyard for a card named Command Tower, reveal it, and put it into your hand. If you search your library this way, shuffle. mana={1}{G} type=Creature @@ -110205,7 +110167,7 @@ toughness=7 [card] name=Track Down aicode=activate if type(*[creature;land;zpos=1]|mylibrary)~morethan~0 then draw:1 controller -auto=scry:3 scrycore delayed dontshow transforms((,newability[if type(*[creature;land;zpos=1]|mylibrary)~morethan~0 then all(*[zpos=1]|mylibrary) moveto(ownerHand) else target(*[zpos=1]|mylibrary) moveto(myreveal) and!( placefromthetop(1) )!])) oneshot scrycoreend scryend +auto=scry:3 scrycore delayed dontshow transforms((,newability[if type(*[creature;land;zpos=1]|mylibrary)~morethan~0 then all(*[zpos=1]|mylibrary) moveto(hand) else target(*[zpos=1]|mylibrary) moveto(myreveal) and!( placefromthetop(1) )!])) oneshot scrycoreend scryend text=Scry 3, then reveal the top card of your library. If it's a creature or land card, draw a card. (To scry 3, look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) mana={1}{G} type=Sorcery @@ -110236,7 +110198,7 @@ type=Instant [card] name=Tragic Lesson auto=draw:2 -auto=choice target(land|mybattlefield) moveto(ownerHand) +auto=choice target(land|mybattlefield) moveto(hand) auto=choice D(*|myhand) text=Draw two cards. Then discard a card unless you return a land you control to its owner's hand. mana={2}{U} @@ -110245,7 +110207,7 @@ type=Instant [card] name=Trail of Crumbs auto=_FOOD_ -auto=@sacrificed(food|mybattlefield):pay({1}) name(look) reveal:2 optionone name(Get a permanent card) target(<1>*[-instant;-sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +auto=@sacrificed(food|mybattlefield):pay({1}) name(look) reveal:2 optionone name(Get a permanent card) target(<1>*[-instant;-sorcery]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend text=When Trail of Crumbs enters, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Whenever you sacrifice a Food, you may pay 1. If you do, look at the top two cards of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={1}{G} type=Enchantment @@ -110538,7 +110500,7 @@ auto=@dierolled(this) result(16) from(controller):name(Gain life and draw) life: auto=@dierolled(this) result(17) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller auto=@dierolled(this) result(18) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller auto=@dierolled(this) result(19) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller -auto=@dierolled(this) result(20) from(controller):name(Search Library) target(*|mylibrary) transforms((,newability[if cantargetcard(*[-artifact]|*) then moveto(ownerHand)],newability[if cantargetcard(*[artifact]|*) then choice name(Put on battlefield) name(Put on battlefield) moveto(mybattlefield)],newability[if cantargetcard(*[artifact]|*) then choice name(Put in hand) name(Put in hand) moveto(ownerHand)])) oneshot +auto=@dierolled(this) result(20) from(controller):name(Search Library) target(*|mylibrary) transforms((,newability[if cantargetcard(*[-artifact]|*) then moveto(hand)],newability[if cantargetcard(*[artifact]|*) then choice name(Put on battlefield) name(Put on battlefield) moveto(mybattlefield)],newability[if cantargetcard(*[artifact]|*) then choice name(Put in hand) name(Put in hand) moveto(hand)])) oneshot text={4}, Sacrifice Treasure Chest: Roll a d20. -- 1 | Trapped! - You lose 3 life. -- 2-9 | Create five Treasure tokens. -- 10-19 | You gain 3 life and draw three cards. -- 20 | Search your library for a card. If it's an artifact card you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle. mana={3} type=Artifact @@ -110636,7 +110598,7 @@ toughness=5 [card] name=Treetop Ambusher other={1}{G} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever auto=_ATTACKING_target(creature|mybattlefield) 1/1 ueot text=Dash {1}{G} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) -- Whenever Treetop Ambusher attacks, target creature you control gets +1/+1 until end of turn. mana={1}{G} @@ -110698,7 +110660,7 @@ subtype=Aura Curse name=Trial // Error other={U}{B} name(Error) auto=if paid(alternative) then target(*[multicolor]|stack) fizzle -auto=ifnot paid(alternative) then target(creature[blocked;blocking]) moveto(ownerhand) +auto=ifnot paid(alternative) then target(creature[blocked;blocking]) moveto(hand) text=Return all creatures blocking or blocked by target creature to their owner's hand. // Counter target multicolored spell. mana={W}{U} type=Instant @@ -110706,7 +110668,7 @@ type=Instant [card] name=Trial of Ambition auto=ability$!name(Sacrifice a creature) notatarget(creature|mybattlefield) sacrifice!$ target(opponent) -auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) +auto=@movedto(cartouche|mybattlefield):moveto(hand) text=When Trial of Ambition enters, target opponent sacrifices a creature. -- When a Cartouche enters under your control, return Trial of Ambition to its owner's hand. mana={1}{B} type=Enchantment @@ -110714,7 +110676,7 @@ type=Enchantment [card] name=Trial of Knowledge auto=draw:3 && transforms((,newability[target(*|myhand) reject])) forever -auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) +auto=@movedto(cartouche|mybattlefield):moveto(hand) text=When Trial of Knowledge enters, draw three cards, then discard a card. -- When a Cartouche enters under your control, return Trial of Knowledge to its owner's hand. mana={3}{U} type=Enchantment @@ -110723,7 +110685,7 @@ type=Enchantment name=Trial of Solidarity auto=all(creature|mybattlefield) 2/1 ueot auto=all(creature|mybattlefield) vigilance ueot -auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) +auto=@movedto(cartouche|mybattlefield):moveto(hand) text=When Trial of Solidarity enters, creatures you control get +2/+1 and gain vigilance until end of turn. -- When a Cartouche enters under your control, return Trial of Solidarity to its owner's hand. mana={2}{W} type=Enchantment @@ -110731,7 +110693,7 @@ type=Enchantment [card] name=Trial of Strength auto=token(Beast,creature Beast,4/2,green) -auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) +auto=@movedto(cartouche|mybattlefield):moveto(hand) text=When Trial of Strength enters, create a 4/2 green Beast creature token. -- When a Cartouche enters under your control, return Trial of Strength to its owner's hand. mana={2}{G} type=Enchantment @@ -110739,7 +110701,7 @@ type=Enchantment [card] name=Trial of Zeal auto=damage:3 target(anytarget) -auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) +auto=@movedto(cartouche|mybattlefield):moveto(hand) text=When Trial of Zeal enters, it deals 3 damage to target creature or player. -- When a Cartouche enters under your control, return Trial of Zeal to its owner's hand. mana={2}{R} type=Enchantment @@ -110767,8 +110729,8 @@ toughness=4 [/card] [card] name=Tribute Mage -aicode=activate target(artifact[manacost=2]|mylibrary) moveto(ownerHand) -auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(artifact[manacost=2]|mylibrary) moveto(hand) +auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Tribute Mage enters, you may search your library for an artifact card with mana value 2, reveal that card, put it into your hand, then shuffle. mana={2}{U} type=Creature @@ -110907,7 +110869,7 @@ type=Instant [card] name=Troll of Khazad-dum abilities=threeblockers -autohand={1}{cycle}:name(Search swamp) target(swamp|myLibrary) moveto(ownerHand) and!( shuffle )! +autohand={1}{cycle}:name(Search swamp) target(swamp|myLibrary) moveto(hand) and!( shuffle )! text=Troll of Khazad-dum can't be blocked except by three or more creatures. -- Swampcycling {1} ({1}, Discard this card: Search your library for a Swamp card, reveal it, put it into your hand, then shuffle.) mana={5}{B} type=Creature @@ -111062,7 +111024,7 @@ toughness=2 [card] name=Truga Cliffcharger abilities=trample -auto=may name(Discard a card) target(*|myhand) reject and!( transforms((,newability[name(Search land or battle) target(*[land;battle]|mylibrary) moveto(ownerHand) and!( shuffle )!])) oneshot )! +auto=may name(Discard a card) target(*|myhand) reject and!( transforms((,newability[name(Search land or battle) target(*[land;battle]|mylibrary) moveto(hand) and!( shuffle )!])) oneshot )! text=Trample -- When Truga Cliffcharger enters, you may discard a card. If you do, search your library for a land or battle card, reveal it, put it into your hand, then shuffle. color=red,green type=Creature @@ -111075,7 +111037,7 @@ name=Trumpeting Gnarr abilities=mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -111114,7 +111076,7 @@ toughness=2 [/card] [card] name=Trustworthy Scout -auto={1}{W}{E(this|mygraveyard)}:moveto(ownerHand) target(Trustworthy Scout|mylibrary) +auto={1}{W}{E(this|mygraveyard)}:moveto(hand) target(Trustworthy Scout|mylibrary) text=1{W}, Exile Trustworthy Scout from your graveyard: Search your library for a card named Trustworthy Scout, reveal it, put it into your hand, then shuffle. mana={1}{W} type=Creature @@ -111124,7 +111086,7 @@ toughness=2 [/card] [card] name=Trusty Packbeast -auto=target(artifact|mygraveyard) moveto(ownerhand) +auto=target(artifact|mygraveyard) moveto(hand) text=When Trusty Packbeast enters, return target artifact card from your graveyard to your hand. mana={2}{W} type=Creature @@ -111135,7 +111097,7 @@ toughness=3 [card] name=Trusty Retriever auto=choice name(Put counter) counter(1/1) -auto=choice name(Return artifact or enchantment) moveto(ownerHand) target(artifact,enchantment|mygraveyard) +auto=choice name(Return artifact or enchantment) moveto(hand) target(artifact,enchantment|mygraveyard) text=When Trusty Retriever enters, Choose one -- Put a +1/+1 counter on Trusty Retriever. -- Return target artifact or enchantment card from your graveyard to your hand. mana={3}{W} type=Creature @@ -111255,26 +111217,26 @@ toughness=3 [/card] [card] name=Turbulent Dreams -auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && moveto(ownerhand) target(*[-land]|battlefield) -auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(ownerhand) target(<2>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(ownerhand) target(<3>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(ownerhand) target(<4>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(ownerhand) target(<5>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(ownerhand) target(<6>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(ownerhand) target(<7>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(ownerhand) target(<8>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(ownerhand) target(<9>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(ownerhand) target(<10>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(ownerhand) target(<11>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(ownerhand) target(<12>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(ownerhand) target(<13>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(ownerhand) target(<14>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(ownerhand) target(<15>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(ownerhand) target(<16>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(ownerhand) target(<17>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(ownerhand) target(<18>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(ownerhand) target(<19>*[-land]|battlefield) -auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(ownerhand) target(<20>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && moveto(hand) target(*[-land]|battlefield) +auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(hand) target(<2>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(hand) target(<3>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(hand) target(<4>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(hand) target(<5>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(hand) target(<6>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(hand) target(<7>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(hand) target(<8>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(hand) target(<9>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(hand) target(<10>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(hand) target(<11>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(hand) target(<12>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(hand) target(<13>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(hand) target(<14>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(hand) target(<15>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(hand) target(<16>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(hand) target(<17>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(hand) target(<18>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(hand) target(<19>*[-land]|battlefield) +auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(hand) target(<20>*[-land]|battlefield) text=As an additional cost to cast Turbulent Dreams, discard X cards. -- Return X target nonland permanents to their owners' hands. mana={U}{U} type=Sorcery @@ -111303,7 +111265,7 @@ type=Instant [card] name=Turn into a Pumpkin target=*[-land] -auto=moveto(ownerhand) +auto=moveto(hand) auto=draw:1 controller auto=if casted(this) then if spent({U}{U}{U}) then _FOOD_ text=Return target nonland permanent to its owner's hand. Draw a card. -- Adamant - If at least three blue mana was spent to cast this spell, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") @@ -111332,7 +111294,7 @@ toughness=4 [card] name=Turntimber Sower auto=@movedto(land|mygraveyard):create(plant:creature plant:0/1:green) -auto={G}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:target(land|mygraveyard) moveto(ownerhand) +auto={G}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:target(land|mygraveyard) moveto(hand) text=Whenever one or more land cards are put into your graveyard from anywhere, create a 0/1 green Plant creature token. -- {G}, Sacrifice three creatures: Return target land card from your graveyard to your hand. mana={2}{G} type=Creature @@ -111417,7 +111379,7 @@ name=Twilight Prophet abilities=flying auto=_ASCEND_ auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_ -auto=@each my upkeep restriction{type(City's Blessing|mybattlefield)~morethan~0}:name(Reveal top card) all(*[zpos=1]|mylibrary) moveto(ownerHand) and!( transforms((,newability[damage:manacost opponent],newability[life:manacost controller])) ueot )! +auto=@each my upkeep restriction{type(City's Blessing|mybattlefield)~morethan~0}:name(Reveal top card) all(*[zpos=1]|mylibrary) moveto(hand) and!( transforms((,newability[damage:manacost opponent],newability[life:manacost controller])) ueot )! text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- At the beginning of your upkeep, if you have the city's blessing, reveal the top card of your library and put it into your hand. Each opponent loses X life and you gain X life, where X is that card's mana value. mana={2}{B}{B} type=Creature @@ -111735,7 +111697,7 @@ toughness=5 [card] name=Tyrant's Scorn auto=destroy target(creature[manacost<=3]) -auto=moveTo(ownerHand) target(creature) +auto=moveTo(hand) target(creature) text=Choose one -- Destroy target creature with mana value 3 or less. -- Return target creature to its owner's hand. mana={U}{B} type=Instant @@ -111824,8 +111786,8 @@ toughness=4 name=Ugin's Binding abilities=devoid target=*[-land|opponentBattlefield] -auto=moveTo(ownerHand) -autograveyard=@movedto(eldrazi[manacost>=6]|mystack):may moveto(exile) and!(all(*[-land]|opponentBattlefield) moveto(ownerhand))! +auto=moveTo(hand) +autograveyard=@movedto(eldrazi[manacost>=6]|mystack):may moveto(exile) and!(all(*[-land]|opponentBattlefield) moveto(hand))! auto=Whenever you castcolorless spell with mana value 7 or greater you may exile Ugin's Binding from your graveyard When you do return each nonland permanent you don't control to its owner's hand text=Devoid (This card has no color.) -- Return target nonland permanent you don't control to its owner's hand. -- Whenever you cast a colorless spell with mana value 7 or greater, you may exile Ugin's Binding from your graveyard. When you do, return each nonland permanent you don't control to its owner's hand. mana={2}{U} @@ -112027,7 +111989,7 @@ toughness=5 [card] name=Unauthorized Exit target=*[-land] -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=_SURVEIL1_ text=Return target nonland permanent to its owner's hand. Surveil 1. (Look at the top card of your library. You may put it into your graveyard.) mana={1}{U} @@ -112087,7 +112049,7 @@ type=Instant [/card] [card] name=Uncage the Menagerie -auto=moveto(ownerHand) target(creature[manacost=X]|mylibrary) +auto=moveto(hand) target(creature[manacost=X]|mylibrary) text=Search your library for up to X creature cards with different names that each have mana value X, reveal them, put them into your hand, then shuffle. mana={X}{G}{G} type=Sorcery @@ -112130,7 +112092,7 @@ name=Unconventional Tactics target=creature auto=+3/+3 auto=flying -autograveyard=@movedto(zombie|mybattlefield):pay({W}) moveto(ownerHand) +autograveyard=@movedto(zombie|mybattlefield):pay({W}) moveto(hand) text=Target creature gets +3/+3 and gains flying until end of turn. -- Whenever a Zombie enters under your control, you may pay {W}. If you do, return Unconventional Tactics from your graveyard to your hand. mana={2}{W} type=Sorcery @@ -112171,7 +112133,7 @@ toughness=2 [card] name=Undead Butler auto=name(Mill 3 cards) deplete:3 controller -auto=_DIES_may name(Exile and return) all(this|mygraveyard) moveto(myexile) and!( transforms((,newability[name(Return a creature) target(creature|mygraveyard) moveto(ownerHand)])) oneshot )! +auto=_DIES_may name(Exile and return) all(this|mygraveyard) moveto(myexile) and!( transforms((,newability[name(Return a creature) target(creature|mygraveyard) moveto(hand)])) oneshot )! text=When Undead Butler enters, mill three cards. (Put the top three cards of your library into your graveyard.) -- When Undead Butler dies, you may exile it. When you do, return target creature card from your graveyard to your hand. mana={1}{B} type=Creature @@ -112207,7 +112169,7 @@ type=Enchantment name=Undercity restriction=never autocommandzone=transforms((,newability[shroud],indestructible)) forever -autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Secret Entrance) name(Secret Entrance) target(land[basic]|mylibrary) moveto(ownerHand)!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Secret Entrance) name(Secret Entrance) target(land[basic]|mylibrary) moveto(hand)!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Forge or Lost Well) all(Undercity|mycommandzone) transforms((,newability[if type(creature|battlefield)~morethan~0 then choice name(Forge) name(Forge) all(Undercity|mycommandzone) counter(0/0.1.Forge) && target(creature|battlefield) counter(1/1.2)],newability[choice name(Lost Well) all(Undercity|mycommandzone) counter(0/0.1.LostWell) && _SCRY2_])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntforge)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Trap or Arena) name(Trap or Arena) transforms((,newability[choice name(Target player losses 5 life) all(Undercity|mycommandzone) counter(0/0.1.Trap) && target(player) life:-5],newability[if type(creature|battlefield)~morethan~0 then choice name(Goad creature) name(Goad creature) all(Undercity|mycommandzone) counter(0/0.1.Arena) && target(creature|battlefield) _GOAD_])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntlostwell)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Arena or Stash) name(Arena or Stash) transforms((,newability[choice name(Create treasure) all(Undercity|mycommandzone) counter(0/0.1.Stash) && _TREASURE_],newability[if type(creature|battlefield)~morethan~0 then choice name(Goad creature) name(Goad creature) all(Undercity|mycommandzone) counter(0/0.1.Arena) && target(creature|battlefield) _GOAD_])) oneshot!$ controller @@ -112385,7 +112347,7 @@ toughness=4 [/card] [card] name=Underrealm Lich -auto=replacedraw reveal:3 optionone name(Get card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=replacedraw reveal:3 optionone name(Get card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto={L:4}:indestructible && tap text=If you would draw a card, instead look at the top three cards of your library, then put one into your hand and the rest into your graveyard. -- Pay 4 life: Underrealm Lich gains indestructible until end of turn. Tap it. mana={3}{B}{G} @@ -112420,7 +112382,7 @@ auto=lord(*|mygraveyard) cantbetargetof(*|opponentzones) auto=lord(*|mygraveyard) cantbetargetof(*|myzones) auto=lord(*|opponentgraveyard) cantbetargetof(*|opponentzones) auto=lord(*|opponentgraveyard) cantbetargetof(*|myzones) -auto=_DIES_moveto(myexile) all(this) && moveto(ownerHand) all(creature|myGraveyard) && moveto(opponentHand) all(creature|opponentGraveyard) +auto=_DIES_moveto(myexile) all(this) && moveto(hand) all(creature|myGraveyard) && moveto(opponentHand) all(creature|opponentGraveyard) text=Underworld Cerberus can't be blocked except by three or more creatures. -- Cards in graveyards can't be the targets of spells or abilities. -- When Underworld Cerberus dies, exile it and each player returns all creature cards from their graveyard to their hand. mana={3}{B}{R} type=Creature @@ -112530,7 +112492,7 @@ type=Conspiracy [card] name=Unexpected Results auto=shuffle -auto=reveal:1 optionone transforms((,newability[if type(land|reveal)~morethan~0 then moveto(ownerhand) && all(*[land]|reveal) moveto(ownerbattlefield)])) forever optiononeend optiontwo name(Put Back) target(<1>*[-land]|reveal) moveto(mylibrary) and!(transforms((,newability[may activate castcard(normal)])) oneshot)! optiontwoend revealend +auto=reveal:1 optionone transforms((,newability[if type(land|reveal)~morethan~0 then moveto(hand) && all(*[land]|reveal) moveto(ownerbattlefield)])) forever optiononeend optiontwo name(Put Back) target(<1>*[-land]|reveal) moveto(mylibrary) and!(transforms((,newability[may activate castcard(normal)])) oneshot)! optiontwoend revealend text=Shuffle your library, then reveal the top card. If it's a nonland card, you may cast it without paying its mana cost. If it's a land card, you may put it onto the battlefield and return Unexpected Results to its owner's hand. mana={2}{G}{U} type=Sorcery @@ -112554,7 +112516,7 @@ type=Instant [card] name=Unexplained Disappearance target=creature|battlefield -auto=moveto(ownerHand) +auto=moveto(hand) aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot auto=_SURVEIL1_ text=Return target creature to its owner's hand. -- Surveil 1. (Look at the top card of your library. You may put that card into your graveyard.) @@ -112690,7 +112652,6 @@ toughness=1 [/card] [card] name=Universal Surveillance -other={improvise} name(Improvise) auto=name(Draw X cards) draw:x controller text=Improvise (Your artifacts can help cast this spell. Each artifact you tap after you're done activating mana abilities pays for {1}.) -- Draw X cards. mana={X}{U}{U}{U} @@ -112803,7 +112764,7 @@ type=Sorcery [card] name=Unnatural Restoration target=*[-instant;-sorcery]|mygraveyard -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=_PROLIFERATE_ text=Return target permanent card from your graveyard to your hand. Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) mana={1}{G} @@ -112813,7 +112774,7 @@ type=Sorcery name=Unquenchable Fury target=creature auto=teach(creature) transforms((,newability[_ATTACKING_damage:type:*:opponenthand opponent])) -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Enchant creature -- Enchanted creature has "Whenever this creature attacks, it deals X damage to defending player, where X is the number of cards in their hand." -- When Unquenchable Fury is put into your graveyard from the battlefield, return it to your hand. mana={2}{R} type=Enchantment @@ -112889,7 +112850,7 @@ toughness=2 [card] name=Unseal the Necropolis auto=all(player) deplete:3 -auto=may moveTo(ownerHand) notatarget(creature|myGraveyard) +auto=may moveTo(hand) notatarget(creature|myGraveyard) text=Each player mills three cards. Then you return up to two creature cards from your graveyard to your hand. (To mill three cards, a player mills three cards.) mana={2}{B} type=Instant @@ -112927,7 +112888,7 @@ toughness=1 [card] name=Unsubstantiate restriction=compare(type:creature:battlefieldplustype:*:stackplusend)~morethan~0 -auto=if type(creature|battlefield)~morethan~0 then choice name(Return target creature) name(Return target creature) target(creature|battlefield) moveTo(ownerHand) +auto=if type(creature|battlefield)~morethan~0 then choice name(Return target creature) name(Return target creature) target(creature|battlefield) moveTo(hand) auto=if type(*|stack)~morethan~1 then choice name(Return target spell) name(Return target spell) target(*|stack) spellmover(hand) text=Return target spell or creature to its owner's hand. mana={1}{U} @@ -113101,8 +113062,8 @@ toughness=2 name=Urborg Repossession kicker={1}{G} target=creature|mygraveyard -auto=moveTo(ownerHand) && life:2 -auto=if paid(kicker) then target(*[artifact;creature;enchantment;land;planeswalker]|mygraveyard) moveto(ownerhand) +auto=moveTo(hand) && life:2 +auto=if paid(kicker) then target(*[artifact;creature;enchantment;land;planeswalker]|mygraveyard) moveto(hand) text=Kicker {1}{G} (You may pay an additional {1}{G} as you cast this spell.) -- Return target creature card from your graveyard to your hand. You gain 2 life. If this spell was kicked, return another target permanent card from your graveyard to your hand. mana={B} type=Sorcery @@ -113224,7 +113185,7 @@ toughness=4 [card] name=Urza's Bauble aicode=name(look) activate name(look) phaseaction[upkeep once] draw:1 controller -auto={T}{S}:target(player) reveal:1 revealzone(opponenthand) optionone name(Look a card) target(<1>*|reveal) moveto(ownerhand) optiononeend afterrevealed transforms((,newability[phaseaction[upkeep once] draw:1 controller])) oneshot afterrevealedend revealend +auto={T}{S}:target(player) reveal:1 revealzone(opponenthand) optionone name(Look a card) target(<1>*|reveal) moveto(hand) optiononeend afterrevealed transforms((,newability[phaseaction[upkeep once] draw:1 controller])) oneshot afterrevealedend revealend text={T}, Sacrifice Urza's Bauble: Look at a card at random in target player's hand. You draw a card at the beginning of the next turn's upkeep. mana={0} type=Artifact @@ -113314,7 +113275,7 @@ toughness=4 [card] name=Urza's Sylex auto={2}{W}{W}{T}:name(Exile and destroy) all(this) moveto(exile) and!( transforms((,newability[all(*[-land]|mybattlefield) destroy],newability[all(*[-land]|opponentbattlefield) destroy],newability[ability$!if type(land|mybattlefield)~morethan~6 then name(Choose lands to destroy) name(Choose lands to destroy) name(Choose lands to destroy) target(land|mybattlefield) destroy!$ controller],newability[ability$!if type(land|mybattlefield)~morethan~6 then name(Choose lands to destroy) name(Choose lands to destroy) name(Choose lands to destroy) target(land|mybattlefield) destroy!$ opponent])) oneshot )! asSorcery -auto=@movedto(exile) from(myBattlefield):name(Search planeswalker) pay({2}) name(Search planeswalker) target(planeswalker|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=@movedto(exile) from(myBattlefield):name(Search planeswalker) pay({2}) name(Search planeswalker) target(planeswalker|mylibrary) moveto(hand) and!( shuffle )! text={2}{W}{W}, {T}, Exile Urza's Sylex: Each player chooses six lands they control. Destroy all other permanents. Activate only as a sorcery. -- When Urza's Sylex is put into exile from the battlefield, you may pay {2}. If you do, search your library for a planeswalker card, reveal it, put it into your hand, then shuffle. mana={3} type=Legendary Artifact @@ -113448,7 +113409,7 @@ name=Vacuumelt abilities=hasnokicker,hasreplicate target=creature kicker=multi{2}{U} name(Replicate) -auto=name(Return to hand) moveto(ownerhand) +auto=name(Return to hand) moveto(hand) auto=thisforeach(variable{kicked}>0) ability$!name(Copy Vacuumelt) name(Copy Vacuumelt) activate castcard(copied noevent named!:Vacuumelt:!)!$ controller text=Replicate {2}{U} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Return target creature to its owner's hand. mana={2}{U} @@ -113471,7 +113432,7 @@ name=Vadrok, Apex of Thunder abilities=flying,first strike,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -113555,14 +113516,6 @@ power=1 toughness=1 [/card] [card] -name=Valiant Endeavor -auto=name(Roll a d6) all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(*|mylibrary) from(controller) once:all(creature[power>=lastrollresult]|battlefield) destroy],newability[name(Roll a d6) rolld6 6 winability donothing winabilityend rolld6end])) oneshot -auto=name(Roll a d6) rolld6 6 winability _KNIGHTTOKEN_*lastrollresult winabilityend loseability _KNIGHTTOKEN_*lastrollresult loseabilityend rolld6end -text=Roll two d6 and choose on result. Destroy each creature with power greater than or equal to that result. Then create a number of 2/2 white Knight creature tokens with vigilance equal to the other result. -mana={4}{W}{W} -type=Sorcery -[/card] -[card] name=Valiant Knight auto=lord(other knight|myBattlefield) +1/+1 auto={3}{W}{W}:all(knight|myBattlefield) double strike ueot @@ -113697,7 +113650,7 @@ toughness=3 [card] name=Vampire Charmseeker abilities=flying -auto=target(instant,sorcery,creature|graveyard) moveTo(ownerHand) +auto=target(instant,sorcery,creature|graveyard) moveTo(hand) text=Assist (Another player can pay up to {6} of this spell's cost.) -- Flying -- When Vampire Charmseeker enters, return target instant, sorcery, or creature card from a graveyard to its owner's hand. mana={6}{U}{B} type=Creature @@ -114268,7 +114221,7 @@ toughness=5 [card] name=Veinwitch Coven abilities=menace -auto=@lifeof(player) from(*[-lifefaker]|*):pay({B}) target(creature|mygraveyard) moveto(ownerHand) +auto=@lifeof(player) from(*[-lifefaker]|*):pay({B}) target(creature|mygraveyard) moveto(hand) text=Menace -- Whenever you gain life, you may pay {B}. If you do, return target creature card from your graveyard to your hand. mana={2}{B} type=Creature @@ -114441,28 +114394,28 @@ toughness=3 [card] name=Vengeful Rebirth auto=moveto(myexile) all(this) -auto=if type(land|mygraveyard)~morethan~0 then choice name(Return land card):target(land|mygraveyard) moveto(ownerHand) -auto=if type(*[manacost=0]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 0):target(*[manacost=0]|mygraveyard) moveto(ownerHand) -auto=if type(*[manacost=1]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 1):target(*[manacost=1]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:1!$ controller -auto=if type(*[manacost=2]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 2):target(*[manacost=2]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:2!$ controller -auto=if type(*[manacost=3]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 3):target(*[manacost=3]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:3!$ controller -auto=if type(*[manacost=4]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 4):target(*[manacost=4]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:4!$ controller -auto=if type(*[manacost=5]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 5):target(*[manacost=5]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:5!$ controller -auto=if type(*[manacost=6]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 6):target(*[manacost=6]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:6!$ controller -auto=if type(*[manacost=7]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 7):target(*[manacost=7]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:7!$ controller -auto=if type(*[manacost=8]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 8):target(*[manacost=8]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:8!$ controller -auto=if type(*[manacost=9]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 9):target(*[manacost=9]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:9!$ controller -auto=if type(*[manacost=10]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 10):target(*[manacost=10]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:10!$ controller -auto=if type(*[manacost=11]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 11):target(*[manacost=11]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:11!$ controller -auto=if type(*[manacost=12]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 12):target(*[manacost=12]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:12!$ controller -auto=if type(*[manacost=13]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 13):target(*[manacost=13]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:13!$ controller -auto=if type(*[manacost=14]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 14):target(*[manacost=14]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:14!$ controller -auto=if type(*[manacost=15]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 15):target(*[manacost=15]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:15!$ controller -auto=if type(*[manacost=16]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 16):target(*[manacost=16]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:16!$ controller -auto=if type(*[manacost=17]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 17):target(*[manacost=17]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:17!$ controller -auto=if type(*[manacost=18]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 18):target(*[manacost=18]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:18!$ controller -auto=if type(*[manacost=19]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 19):target(*[manacost=19]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:19!$ controller -auto=if type(*[manacost>=20]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 20):target(*[manacost>=20]|mygraveyard) moveto(ownerHand) && ability$!name(Damage target creature or player) target(anytarget) damage:20!$ controller +auto=if type(land|mygraveyard)~morethan~0 then choice name(Return land card):target(land|mygraveyard) moveto(hand) +auto=if type(*[manacost=0]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 0):target(*[manacost=0]|mygraveyard) moveto(hand) +auto=if type(*[manacost=1]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 1):target(*[manacost=1]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:1!$ controller +auto=if type(*[manacost=2]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 2):target(*[manacost=2]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:2!$ controller +auto=if type(*[manacost=3]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 3):target(*[manacost=3]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:3!$ controller +auto=if type(*[manacost=4]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 4):target(*[manacost=4]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:4!$ controller +auto=if type(*[manacost=5]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 5):target(*[manacost=5]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:5!$ controller +auto=if type(*[manacost=6]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 6):target(*[manacost=6]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:6!$ controller +auto=if type(*[manacost=7]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 7):target(*[manacost=7]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:7!$ controller +auto=if type(*[manacost=8]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 8):target(*[manacost=8]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:8!$ controller +auto=if type(*[manacost=9]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 9):target(*[manacost=9]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:9!$ controller +auto=if type(*[manacost=10]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 10):target(*[manacost=10]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:10!$ controller +auto=if type(*[manacost=11]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 11):target(*[manacost=11]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:11!$ controller +auto=if type(*[manacost=12]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 12):target(*[manacost=12]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:12!$ controller +auto=if type(*[manacost=13]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 13):target(*[manacost=13]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:13!$ controller +auto=if type(*[manacost=14]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 14):target(*[manacost=14]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:14!$ controller +auto=if type(*[manacost=15]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 15):target(*[manacost=15]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:15!$ controller +auto=if type(*[manacost=16]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 16):target(*[manacost=16]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:16!$ controller +auto=if type(*[manacost=17]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 17):target(*[manacost=17]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:17!$ controller +auto=if type(*[manacost=18]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 18):target(*[manacost=18]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:18!$ controller +auto=if type(*[manacost=19]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 19):target(*[manacost=19]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:19!$ controller +auto=if type(*[manacost>=20]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 20):target(*[manacost>=20]|mygraveyard) moveto(hand) && ability$!name(Damage target creature or player) target(anytarget) damage:20!$ controller text=Return target card from your graveyard to your hand. If you return a nonland card to your hand this way, Vengeful Rebirth deals damage equal to that card's mana value to target creature or player. -- Exile Vengeful Rebirth. mana={4}{R}{G} type=Sorcery @@ -114545,7 +114498,7 @@ toughness=3 [card] name=Venser's Diffusion target=*[-land] -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return target nonland permanent or suspended card to its owner's hand. mana={2}{U} type=Instant @@ -114564,7 +114517,7 @@ toughness=3 [card] name=Venser, Shaper Savant abilities=flash -auto=if type(*|battlefield)~morethan~0 then choice name(Return target permanent) name(Return target permanent) target(*|battlefield) moveTo(ownerHand) +auto=if type(*|battlefield)~morethan~0 then choice name(Return target permanent) name(Return target permanent) target(*|battlefield) moveTo(hand) auto=if type(*|stack)~morethan~0 then choice name(Return target spell) name(Return target spell) target(*|stack) spellmover(hand) text=Flash (You may cast this spell any time you could cast an instant.) -- When Venser, Shaper Savant enters, return target spell or permanent to its owner's hand. mana={2}{U}{U} @@ -114630,7 +114583,7 @@ type=Instant [/card] [card] name=Verdant Confluence -auto=thisforeach(variable{3}) ability$!name(Choose one) choice target(*[creature]) counter(1/1,2) _ choice target(*[-sorcery;-instant]|mygraveyard) moveto(ownerHand) _ choice moveto(mybattlefield) target(land[basic]|mylibrary) and!(tap(noevent))! !$ controller +auto=thisforeach(variable{3}) ability$!name(Choose one) choice target(*[creature]) counter(1/1,2) _ choice target(*[-sorcery;-instant]|mygraveyard) moveto(hand) _ choice moveto(mybattlefield) target(land[basic]|mylibrary) and!(tap(noevent))! !$ controller text=Choose three. You may choose the same mode more than once. -- Put two +1/+1 counters on target creature. -- Return target permanent card from your graveyard to your hand. -- Search your library for a basic land card, put it onto the battlefield tapped, then shuffle. mana={4}{G}{G} type=Sorcery @@ -114638,7 +114591,7 @@ type=Sorcery [card] name=Verdant Crescendo auto=target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! -auto=ability$!name(Search Nissa, Nature's Artisan) name(Search Nissa, Nature's Artisan) target(Nissa^ Nature's Artisan|mylibrary,mygraveyard) moveto(ownerHand) and!( shuffle )! !$ controller +auto=ability$!name(Search Nissa, Nature's Artisan) name(Search Nissa, Nature's Artisan) target(Nissa^ Nature's Artisan|mylibrary,mygraveyard) moveto(hand) and!( shuffle )! !$ controller text=Search your library for a basic land card and put it onto the battlefield tapped. Search your library and graveyard for a card named Nissa, Nature's Artisan, reveal it, and put it into your hand. Then shuffle. mana={3}{G} type=Sorcery @@ -114649,13 +114602,13 @@ other={3}{G} name(Cast for less) restriction=type(land[basic]|myLibrary)~morethan~0 otherrestriction=type(land[basic]|myLibrary)~morethan~0 auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~morethan~1 then ability$!name(Put 2 lands in play) name(Put 2 lands in play) target(<2>land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller -auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~morethan~3 then ability$!name(Put 2 lands in your hand) name(Put 2 lands in your hand) target(<2>land[basic]|mylibrary) moveto(ownerHand)!$ controller -auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~equalto~3 then ability$!name(Put 1 land in your hand) name(Put 1 land in your hand) target(land[basic]|mylibrary) moveto(ownerHand)!$ controller +auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~morethan~3 then ability$!name(Put 2 lands in your hand) name(Put 2 lands in your hand) target(<2>land[basic]|mylibrary) moveto(hand)!$ controller +auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~equalto~3 then ability$!name(Put 1 land in your hand) name(Put 1 land in your hand) target(land[basic]|mylibrary) moveto(hand)!$ controller auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~equalto~1 then ability$!name(Put 1 land in play) name(Put 1 land in play) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller auto=if paid(alternative) then ability$!name(Put 1 land in opponent battlefield) name(Put 1 land in opponent battlefield) target(land[basic]|mylibrary) moveto(opponentbattlefield) and!( tap(noevent) )! !$ controller auto=if paid(alternative) then if type(land[basic]|myLibrary)~equalto~2 then ability$!name(Put 1 land in play) name(Put 1 land in play) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller auto=if paid(alternative) then if type(land[basic]|myLibrary)~morethan~2 then ability$!name(Put 2 lands in play) name(Put 2 lands in play) target(<2>land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller -auto=if paid(alternative) then if type(land[basic]|myLibrary)~morethan~3 then ability$!name(Put 1 land in your hand) name(Put 1 land in your hand) target(land[basic]|mylibrary) moveto(ownerHand)!$ controller +auto=if paid(alternative) then if type(land[basic]|myLibrary)~morethan~3 then ability$!name(Put 1 land in your hand) name(Put 1 land in your hand) target(land[basic]|mylibrary) moveto(hand)!$ controller text=You may pay {3}{G} rather than pay this spell's mana cost. -- Search your library for up to four basic land cards and reveal them. Put one of them onto the battlefield tapped under an opponent's control if the {3}{G} cost was paid. Put two of them onto the battlefield tapped under your control and the rest into your hand. Then shuffle. mana={5}{G} type=Sorcery @@ -115012,7 +114965,7 @@ toughness=1 [card] name=Viashino Sandsprinter abilities=trample,haste -auto=@each end:moveTo(ownerHand) +auto=@each end:moveTo(hand) autohand={R}{cycle}:name(cycling) draw:1 text=Trample, haste -- At the beginning of the end step, return Viashino Sandsprinter to its owner's hand. (Return it only if it's on the battlefield.) -- Cycling {R} ({R}, Discard this card: Draw a card.) mana={1}{R}{R} @@ -115130,7 +115083,7 @@ toughness=3 name=View from Above target=creature auto=flying ueot -auto=if type(*[white]|mybattlefield)~morethan~0 then moveto(ownerHand) all(this) +auto=if type(*[white]|mybattlefield)~morethan~0 then moveto(hand) all(this) text=Target creature gains flying until end of turn. If you control a white permanent, return View from Above to its owner's hand. mana={1}{U} type=Instant @@ -115343,7 +115296,7 @@ toughness=3 [card] name=Vineshaper Prodigy kicker={1}{U} -auto=if paid(kicker) then name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +auto=if paid(kicker) then name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend text=Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.) -- When Vineshaper Prodigy enters, if it was kicked, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={1}{G} type=Creature @@ -115431,7 +115384,7 @@ toughness=1 [/card] [card] name=Virtus's Maneuver -auto=ability$!name(Return to hand) name(Return to hand) target(creature|mygraveyard) moveto(ownerhand)!$ +auto=ability$!name(Return to hand) name(Return to hand) target(creature|mygraveyard) moveto(hand)!$ auto=ability$!name(Sacrifice creature) name(Sacrifice creature) target(creature|mybattlefield) sacrifice!$ opponent text=For each player, choose friend or foe. Each friend returns a creature card from their graveyard to their hand. Each foe sacrifices a creature they control. mana={2}{B} @@ -115470,7 +115423,7 @@ toughness=2 [/card] [card] name=Visage of Bolas -auto=may moveto(ownerHand) target(Nicol Bolas^ the Deceiver|mylibrary,mygraveyard) +auto=may moveto(hand) target(Nicol Bolas^ the Deceiver|mylibrary,mygraveyard) auto={T}:Add{U} auto={T}:Add{B} auto={T}:Add{R} @@ -115681,7 +115634,7 @@ toughness=1 name=Vivid Revival abilities=exiledeath target=*[multicolor]|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return up to three target multicolored cards from your graveyard to your hand. Exile Vivid Revival. mana={4}{G} type=Sorcery @@ -115705,7 +115658,7 @@ toughness=3 [/card] [card] name=Vivien's Grizzly -auto={3}{G}:reveal:1 optionone target(creature,planeswalker|reveal) moveto(ownerHand) optiononeend optiontwo name(Bottom of library) target(<1>*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{G}:reveal:1 optionone target(creature,planeswalker|reveal) moveto(hand) optiononeend optiontwo name(Bottom of library) target(<1>*|reveal) bottomoflibrary optiontwoend revealend text={3}{G}: Look at the top card of your library. If it's a creature or planeswalker card, you may reveal it and put it into your hand. If you don't put the card into your hand, put it on the bottom of your library. mana={2}{G} type=Creature @@ -115724,7 +115677,7 @@ type=Sorcery [card] name=Vivien's Jaguar abilities=reach -autograveyard={2}{G} restriction{type(planeswalker[vivien]|mybattlefield)~morethan~0}:name(Return to hand) name(Return to hand) moveto(ownerHand) +autograveyard={2}{G} restriction{type(planeswalker[vivien]|mybattlefield)~morethan~0}:name(Return to hand) name(Return to hand) moveto(hand) text=Reach (This creature can block creatures with flying.) -- {2}{G}: Return Vivien's Jaguar from your graveyard to your hand. Activate this ability only if you control a Vivien planeswalker. mana={2}{G} type=Creature @@ -116031,7 +115984,7 @@ toughness=3 [card] name=Voidwing Hybrid abilities=flying,poisontoxic -autograveyard=@proliferateof(player):name(Return to hand) moveto(ownerHand) +autograveyard=@proliferateof(player):name(Return to hand) moveto(hand) text=Flying -- Toxic 1 (Players dealt combat damage by this creature also get a poison counter.) -- When you proliferate, return Voidwing Hybrid from your graveyard to your hand. mana={U}{B} type=Creature @@ -116132,7 +116085,7 @@ type=Sorcery name=Volcanic Vision abilities=exiledeath target=*[instant;sorcery]|mygraveyard -auto=moveto(ownerHand) && damage:manacost all(creature|opponentbattlefield) +auto=moveto(hand) && damage:manacost all(creature|opponentbattlefield) text=Return target instant or sorcery card from your graveyard to your hand. Volcanic Vision deals damage equal to that card's mana value to each creature your opponents control. Exile Volcanic Vision. mana={5}{R}{R} type=Sorcery @@ -116470,7 +116423,7 @@ abilities=reach,trample backside=The Grand Evolution restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -auto=may name(Search forest) target(forest|myLibrary) moveto(ownerHand) and!( shuffle )! +auto=may name(Search forest) target(forest|myLibrary) moveto(hand) and!( shuffle )! auto={6}{G}{G}:name(Exile and return) name(Exile and return) moveto(myexile) and!( flip(backside) forcetype(Enchantment Saga) )! asSorcery text=Trample, reach -- When Vorinclex enters, search your library for up to two Forest cards, reveal them, put them into your hand, then shuffle. -- {6}{G}{G}: Exile Vorinclex, then return it to the battlefield transformed under its owner's control. Activate only as a sorcery. mana={3}{G}{G} @@ -116590,7 +116543,7 @@ toughness=2 [card] name=Vraska's Scorn auto=life:-4 opponent -auto=may name(Move Vraska, Scheming Gorgon to hand) name(Move Vraska, Scheming Gorgon to hand) target(Vraska^ Scheming Gorgon|mylibrary,mygraveyard) moveto(ownerHand) +auto=may name(Move Vraska, Scheming Gorgon to hand) name(Move Vraska, Scheming Gorgon to hand) target(Vraska^ Scheming Gorgon|mylibrary,mygraveyard) moveto(hand) text=Target opponent loses 4 life. You may search your library and/or graveyard for a card named Vraska, Scheming Gorgon, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={2}{B}{B} type=Sorcery @@ -116599,7 +116552,7 @@ type=Sorcery name=Vraska's Stoneglare target=creature auto=destroy -auto=may name(Search library or graveyard) moveto(ownerHand) target(Vraska^ Regal Gorgon|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Vraska^ Regal Gorgon|myLibrary,myGraveyard) text=Destroy target creature. You gain life equal to its toughness. You may search your library and/or graveyard for a card named Vraska, Regal Gorgon, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={4}{B}{G} type=Sorcery @@ -116631,7 +116584,7 @@ name=Vulpikeet abilities=flying,mutate otherrestriction=type(creature[-human]|mybattlefield)~morethan~0 auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard) -auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(hand) auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile) auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary) auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard) @@ -116715,9 +116668,9 @@ toughness=7 [card] name=Waker of Waves abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(ownerHand) and!(deplete:1)!])) ueot +aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(hand) and!(deplete:1)!])) ueot auto=lord(creature|opponentBattlefield) -1/-0 -autohand={1}{U}{D(Waker of Waves|myHand)}:name(look) reveal:2 optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +autohand={1}{U}{D(Waker of Waves|myHand)}:name(look) reveal:2 optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Creatures your opponents control get -1/-0. -- {1}{U}, Discard Waker of Waves: Look at the top two cards of your library. Put one of them into your hand and the other into your graveyard. mana={5}{U}{U} type=Creature @@ -116846,7 +116799,7 @@ toughness=5 name=Wall of Mourning abilities=defender auto=all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0.1.WallExiled) )! -auto=@each my end restriction{coven}:name(Return exiled card) target(*[counter{0/0.1.WallExiled}]|myexile) moveTo(ownerhand) +auto=@each my end restriction{coven}:name(Return exiled card) target(*[counter{0/0.1.WallExiled}]|myexile) moveTo(hand) text=Defender -- When Wall of Mourning enters, exile a card from the top of your library face down for each opponent you have. -- Coven - At the beginning of your end step, if you control three or more creatures with different powers, put a card exiled with Wall of Mourning into its owner's hand. mana={1}{W} type=Creature @@ -116937,7 +116890,7 @@ type=Artifact name=Wander in Death abilities=cycling target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) autohand=__CYCLING__({2}) text=Return up to two target creature cards from your graveyard to your hand. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={2}{B} @@ -116990,8 +116943,8 @@ toughness=3 [card] name=Wandering Mind abilities=flying -aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(*[-creature;-land;zpos<=6]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(*[-creature;-land;zpos<=6]|mylibrary)~morethan~0 then target(*[-creature;-land;zpos<=6]|mylibrary) moveto(ownerHand) and!( transforms((,newability[all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! ])) oneshot -auto=name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(*[-creature;-land]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(*[-creature;-land;zpos<=6]|mylibrary)~equalto~0 then all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(*[-creature;-land;zpos<=6]|mylibrary)~morethan~0 then target(*[-creature;-land;zpos<=6]|mylibrary) moveto(hand) and!( transforms((,newability[all(*[zpos<=6]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! ])) oneshot +auto=name(Look top 6 cards) reveal:6 optionone name(Put in hand) target(*[-creature;-land]|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Flying -- When Wandering Mind enters, look at the top six cards of your library. You may reveal a noncreature, nonland card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. mana={1}{U}{R} type=Creature @@ -117090,8 +117043,8 @@ toughness=3 name=War of the Last Alliance auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=name(Search legendary creature) target(creature[legendary]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}<=2) name(Search legendary creature) name(Search legendary creature) target(creature[legendary]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search legendary creature) target(creature[legendary]|mylibrary) moveto(hand) and!( shuffle )! +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}<=2) name(Search legendary creature) name(Search legendary creature) target(creature[legendary]|mylibrary) moveto(hand) and!( shuffle )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Creatures gain double strike) name(Creatures gain double strike) all(other creature|myBattlefield) transforms((,double strike)) ueot auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(The ring tempts you) name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice @@ -117293,10 +117246,10 @@ type=Enchantment [card] name=Warlock Class auto=counter(0/0,1,Level) -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=3]|mylibrary) moveTo(mygraveyard) )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(hand) and!( all(*[zpos<=3]|mylibrary) moveTo(mygraveyard) )!])) oneshot auto=@each my end restriction{morbid}:name(Opponent looses life) life:-1 opponent auto=this(variable{hascntlevel}=1) {1}{B}:name(Level 2) counter(0/0,1,Level) asSorcery -auto=@counteradded(0/0.1.Level) from(this) restriction{compare(hascntlevel)~equalto~2}:name(Look top 3) reveal:3 optionone name(Get a Card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=@counteradded(0/0.1.Level) from(this) restriction{compare(hascntlevel)~equalto~2}:name(Look top 3) reveal:3 optionone name(Get a Card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto=this(variable{hascntlevel}=2) {6}{B}:name(Level 3) counter(0/0,1,Level) asSorcery auto=@each my end restriction{compare(hascntlevel)~morethan~2}:name(Opponent looses life) damage:oplifelost opponent text=(Gain the next level as a sorcery to add its ability.) -- At the beginning of your end step, if a creature died this turn, each opponent loses 1 life. -- {1}{B}: Level 2 -- When this Class becomes level 2, look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. -- {6}{B}: Level 3 -- At the beginning of your end step, each opponent loses life equal to the life they lost this turn. (Damage causes loss of life.) @@ -117323,7 +117276,7 @@ type=Sorcery [/card] [card] name=Warm Welcome -auto=reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary && _CITIZENTOKEN_ )! optiontwoend revealend +auto=reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary && _CITIZENTOKEN_ )! optiontwoend revealend text=Look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. Create a 1/1 green and white Citizen creature token. mana={2}{G} type=Instant @@ -117464,7 +117417,7 @@ toughness=1 [/card] [card] name=Wasteful Harvest -auto=name(Mill 5 cards) all(*[zpos<=4]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=5]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[may name(Return a permanent) target(tobereturn[-instant&-sorcery]|mygraveyard) moveto(ownerHand)])) ueot )!])) ueot )! +auto=name(Mill 5 cards) all(*[zpos<=4]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[all(*[zpos=5]|mylibrary) moveto(mygraveyard) and!( transforms((tobereturn,newability[may name(Return a permanent) target(tobereturn[-instant&-sorcery]|mygraveyard) moveto(hand)])) ueot )!])) ueot )! text=Mill five cards. You may put a permanent card from among the cards milled this way into your hand. (To mill a card, put the top card of your library into your graveyard.) mana={2}{G} type=Instant @@ -117640,7 +117593,7 @@ toughness=2 [/card] [card] name=Wave Goodbye -auto=all(creature[-counter{1/1}]) moveto(ownerhand) +auto=all(creature[-counter{1/1}]) moveto(hand) text=Return each creature without a +1/+1 counter on it to its owner's hand. mana={2}{U}{U} type=Sorcery @@ -117707,7 +117660,7 @@ toughness=3 [card] name=Wayward Guide-Beast abilities=trample,haste -auto=@combatdamaged(player) from(this):moveTo(ownerHand) target(land|myBattlefield) +auto=@combatdamaged(player) from(this):moveTo(hand) target(land|myBattlefield) text=Trample, haste -- Whenever Wayward Guide-Beast deals combat damage to a player, return a land you control to its owner's hand. mana={R} type=Creature @@ -117825,7 +117778,7 @@ type=Artifact [card] name=Weatherlight abilities=flying -aicode=activate target(*[artifact;legendary;saga;zpos<=5]|mylibrary) moveto(ownerHand) +aicode=activate target(*[artifact;legendary;saga;zpos<=5]|mylibrary) moveto(hand) auto=@combatdamaged(player) from(this):reveal:5 optionone name(Get historic) target(*[artifact;legendary;saga]|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend auto={crew(other creature[power>=3]|myBattlefield)}:name(crew 3 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~2} auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 3 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~2} @@ -118394,7 +118347,7 @@ toughness=3 [/card] [card] name=Wild Crocodile -auto=reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When this creature enters, search your library for a basic land card, reveal it, put it into your hand, then shuffle. mana={1}{G} type=Host Creature @@ -118531,8 +118484,8 @@ name=Wildsong Howler abilities=nightbound backside=Howlpack Piper auto=if type(*[day;night]|battlefield)~equalto~0 then if type(*[nonight]|battlefield)~equalto~0 then name(It becomes night) name(It becomes night) name(It becomes night) activate castcard(noevent named!:Night:!) -aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(creature[zpos<=5]|mylibrary)~morethan~0 then target(creature[zpos<=5]|mylibrary) moveto(ownerHand) and!( transforms((,newability[all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! ])) oneshot -auto=name(Look top 5 cards) reveal:5 optionone name(Get a creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(creature[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(creature[zpos<=5]|mylibrary)~morethan~0 then target(creature[zpos<=5]|mylibrary) moveto(hand) and!( transforms((,newability[all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! ])) oneshot +auto=name(Look top 5 cards) reveal:5 optionone name(Get a creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Whenever this creature enters or transforms into Wildsong Howler, look at the top six cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Howlpack Piper type=Creature subtype=Werewolf @@ -118543,7 +118496,7 @@ toughness=4 [card] name=Wildwood Escort abilities=exiledeath -auto=target(creature,battle|mygraveyard) moveto(ownerhand) +auto=target(creature,battle|mygraveyard) moveto(hand) text=When Wildwood Escort enters, return target creature or battle card from your graveyard to your hand. -- If Wildwood Escort would die, exile it instead. mana={4}{G} type=Creature @@ -118768,8 +118721,8 @@ toughness=3 [/card] [card] name=Winding Way -auto=choice name(Creature) reveal:4 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) and!( all(creature|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Land) reveal:4 optionone name(Get Land) target(land|reveal) moveto(ownerHand) and!( all(land|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Creature) reveal:4 optionone name(Get Creature) target(creature|reveal) moveto(hand) and!( all(creature|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Land) reveal:4 optionone name(Get Land) target(land|reveal) moveto(hand) and!( all(land|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=Choose creature or land. Reveal the top four cards of your library. Put all cards of the chosen type revealed this way into your hand and the rest into your graveyard. mana={1}{G} type=Sorcery @@ -118798,7 +118751,7 @@ type=Sorcery [card] name=Winds of Rebuke target=*[-land] -auto=moveto(ownerhand) +auto=moveto(hand) auto=all(player) deplete:2 text=Return target nonland permanent to its owner's hand. Each player mills two cards. mana={1}{U} @@ -119016,7 +118969,7 @@ toughness=4 [/card] [card] name=Winter Eladrin -auto=may name(Gust of Wind) target(other creature) moveto(ownerhand) +auto=may name(Gust of Wind) target(other creature) moveto(hand) text=Gust of Wind - When Winter Eladrin enters, return up to one other target creature to its owner's hand. mana={2}{U} type=Creature @@ -119092,7 +119045,7 @@ type=Sorcery [card] name=Wishclaw Talisman auto=counter(0/0,3,wish) -auto={1}{T}{C(0/0,-1,wish)}:name(search card) moveto(ownerHand) target(*|mylibrary) && moveTo(opponentbattlefield) all(this) +auto={1}{T}{C(0/0,-1,wish)}:name(search card) moveto(hand) target(*|mylibrary) && moveTo(opponentbattlefield) all(this) text=Wishclaw Talisman enters with three wish counters on it. -- {1}, {T}, Remove a wish counter from Wishclaw Talisman: Search your library for a card, put it into your hand, then shuffle. An opponent gains control of Wishclaw Talisman. Activate this ability only during your turn. mana={1}{B} type=Artifact @@ -119132,7 +119085,7 @@ toughness=4 name=Witch of the Moors abilities=deathtouch auto=@each my end restriction{compare(lifegain)~morethan~0}:ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent -auto=@each my end restriction{compare(lifegain)~morethan~0}:moveto(ownerHand) target(creature|mygraveyard) +auto=@each my end restriction{compare(lifegain)~morethan~0}:moveto(hand) target(creature|mygraveyard) text=Deathtouch -- At the beginning of your end step, if you gained life this turn, each opponent sacrifices a creature and you return up to one target creature card from your graveyard to your hand. mana={3}{B}{B} type=Creature @@ -119220,8 +119173,8 @@ type=Artifact [/card] [card] name=Withdraw -auto=ability$!name(Bounce) moveto(ownerhand) notatarget(creature)!$ controller -auto=target(creature) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?moveto(ownerhand)])) forever +auto=ability$!name(Bounce) moveto(hand) notatarget(creature)!$ controller +auto=target(creature) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?moveto(hand)])) forever text=Return target creature to its owner's hand. Then return another target creature to its owner's hand unless its controller pays {1}. mana={U}{U} type=Instant @@ -119257,12 +119210,12 @@ type=Land [/card] [card] name=Witherbloom Command -auto=choice name(You mill and destroy permanent) transforms((,newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(ownerHand)])) oneshot && ability$!name(Destroy permanent) name(Destroy permanent) target(*[-creature;-land;manacost<=2]|battlefield) destroy!$ controller -auto=choice name(Opponent mills and destroy permanent) transforms((,newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(ownerHand)])) oneshot && ability$!name(Destroy permanent) name(Destroy permanent) target(*[-creature;-land;manacost<=2]|battlefield) destroy!$ controller -auto=choice name(You mill and creature gets -3/-1) transforms((,newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(ownerHand)])) oneshot && ability$!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller -auto=choice name(Opponent mills and creature gets -3/-1) transforms((,newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(ownerHand)])) oneshot && ability$!!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller -auto=choice name(You mill and you gain life) transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(ownerHand)])) oneshot -auto=choice name(Opponent mills and you gain life) transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(ownerHand)])) oneshot +auto=choice name(You mill and destroy permanent) transforms((,newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(hand)])) oneshot && ability$!name(Destroy permanent) name(Destroy permanent) target(*[-creature;-land;manacost<=2]|battlefield) destroy!$ controller +auto=choice name(Opponent mills and destroy permanent) transforms((,newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(hand)])) oneshot && ability$!name(Destroy permanent) name(Destroy permanent) target(*[-creature;-land;manacost<=2]|battlefield) destroy!$ controller +auto=choice name(You mill and creature gets -3/-1) transforms((,newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(hand)])) oneshot && ability$!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller +auto=choice name(Opponent mills and creature gets -3/-1) transforms((,newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(hand)])) oneshot && ability$!!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller +auto=choice name(You mill and you gain life) transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(hand)])) oneshot +auto=choice name(Opponent mills and you gain life) transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(hand)])) oneshot auto=choice name(Destroy permanent and creature gets -3/-1) target(*[-creature;-land;manacost<=2]|battlefield) destroy && ability$!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller auto=choice name(Destroy permanent and you gain life) target(*[-creature;-land;manacost<=2]|battlefield) destroy && life:2 controller && life:-2 opponent auto=choice name(Creature gets -3/-1 and you gain life) target(creature|battlefield) -3/-1 ueot && life:2 controller && life:-2 opponent @@ -119315,8 +119268,8 @@ toughness=4 name=Witness the Future autostack=choice name(Target yourself) ability$!may name(Shuffle four cards) name(Shuffle four cards) target(*|mygraveyard) moveto(mylibrary) and!( shuffle)! !$ controller autostack=choice name(Target opponent) ability$!may name(Shuffle four cards) name(Shuffle four cards) target(*|mygraveyard) moveto(mylibrary) and!( shuffle)! !$ opponent -aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary)! )! -auto=name(Reveal) reveal:4 optionone name(Put in hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary)! )! +auto=name(Reveal) reveal:4 optionone name(Put in hand) target(*|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Target player shuffles up to four target cards from their graveyard into their library. You look at the top four cards of your library, then put one of those cards into your hand and the rest on the bottom of your library in a random order. mana={2}{U} type=Sorcery @@ -119571,8 +119524,8 @@ type=Artifact [/card] [card] name=Wood Sage -aicode=activate target(<4>creature[chosenname;zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )! -auto={T}:name(Name a creature) ability$!chooseaname reveal:4 optionone name(Put named creatures in hand) name(Put named creatures in hand) target(<4>creature[chosenname]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in graveyard) target(<4>*|reveal) moveto(mygraveyard) optiontwoend revealend chooseend nonland!$ controller +aicode=activate target(<4>creature[chosenname;zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )! +auto={T}:name(Name a creature) ability$!chooseaname reveal:4 optionone name(Put named creatures in hand) name(Put named creatures in hand) target(<4>creature[chosenname]|reveal) moveto(hand) optiononeend optiontwo name(Put in graveyard) target(<4>*|reveal) moveto(mygraveyard) optiontwoend revealend chooseend nonland!$ controller text={T}: Name a creature card. Reveal the top four cards of your library and put all of them with that name into your hand. Put the rest into your graveyard. mana={G}{U} type=Creature @@ -119663,7 +119616,7 @@ type=Enchantment [/card] [card] name=Words of Wind -auto={1}:transforms((,newability[replacedraw target(*|mybattlefield) moveto(ownerhand) and!( ability$!name(Return a permanent) notatarget(*|mybattlefield) moveto(ownerhand)!$ opponent )!])) ueot +auto={1}:transforms((,newability[replacedraw target(*|mybattlefield) moveto(hand) and!( ability$!name(Return a permanent) notatarget(*|mybattlefield) moveto(hand)!$ opponent )!])) ueot text={1}: The next time you would draw a card this turn, each player returns a permanent they control to its owner's hand instead. mana={2}{U} type=Enchantment @@ -119740,8 +119693,8 @@ toughness=3 name=World-Weary target=creature auto=teach(creature) -4/-4 -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{B}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{B}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Enchant creature -- Enchanted creature gets -4/-4. -- Basic landcycling {1}{B} ({1}{B}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) mana={3}{B}{B} type=Enchantment @@ -119757,7 +119710,7 @@ type=Conspiracy [/card] [card] name=Worldpurge -auto=all(*|battlefield) moveto(ownerhand) +auto=all(*|battlefield) moveto(hand) auto=ability$!name(Discard cards) name(Discard cards) target(*|myhand) moveto(mylibrary) and!( shuffle )! !$ controller auto=ability$!name(Discard cards) name(Discard cards) target(*|myhand) moveto(mylibrary) and!( shuffle )! !$ opponent auto=removeMana(*) @@ -119768,7 +119721,6 @@ type=Sorcery [card] name=Worldsoul Colossus auto=counter(1/1,X) -other={convoke} name(Convoke) text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Worldsoul Colossus enters with X +1/+1 counters on it. mana={X}{G}{W} type=Creature @@ -119803,7 +119755,7 @@ auto=maxPlay(land)-99 controller auto=maxPlay(land)-99 opponent auto=@movedto(land|battlefield) from(graveyard):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownergraveyard) auto=@movedto(land|battlefield) from(exile):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownerexile) -auto=@movedto(land|battlefield) from(hand):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownerhand) +auto=@movedto(land|battlefield) from(hand):name(Lands can't enter the battlefield) all(trigger[to]) moveto(hand) auto=@movedto(land|battlefield) from(sideboard):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownersideboard) auto=@movedto(land|battlefield) from(commandzone):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownercommandzone) auto=@movedto(land|battlefield) from(library):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownerlibrary) and!( shuffle )! @@ -119953,22 +119905,14 @@ toughness=1 [/card] [card] name=Wretched Confluence -auto=choice name(Choose 1,1,1) target(player) draw:3 && life:-3 -auto=choice name(Choose 1,1,2) target(player) draw:2 && life:-2 && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller -auto=choice name(Choose 1,2,2) target(player) draw:1 && life:-1 && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller -auto=choice name(Choose 1,2,3) target(player) draw:1 && life:-1 && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Return creature to hand) notatarget(creature|mygraveyard) moveto(ownerHand)!$ controller -auto=choice name(Choose 1,3,3) target(player) draw:1 && life:-1 && ability$!name(Return creature to hand) notatarget(<2>creature|mygraveyard) moveto(ownerHand)!$ controller -auto=choice name(Choose 2,2,2) target(creature) -2/-2 ueot && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller -auto=choice name(Choose 2,2,3) target(creature) -2/-2 ueot && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Return creature to hand) notatarget(creature|mygraveyard) moveto(ownerHand)!$ controller -auto=choice name(Choose 2,3,3) target(creature) -2/-2 ueot && ability$!name(Return creature to hand) notatarget(<2>creature|mygraveyard) moveto(ownerHand)!$ controller -auto=choice name(Choose 3,3,3) target(<3>creature|mygraveyard) moveto(ownerHand) +auto=thisforeach(variable{3}) ability$!name(Choose one) choice draw:1 && life:-1 _ choice name(opponent draws) draw:1 opponent && life:-1 opponent _ if type(creature)~morethan~0 then choice target(creature) -2/-2 ueot _ if type(creature|myGraveyard)~morethan~0 then choice target(creature|myGraveyard) moveto(hand) !$ controller text=Choose three. You may choose the same mode more than once. -- Target player draws a card and loses 1 life. -- Target creature gets -2/-2 until end of turn. -- Return target creature card from your graveyard to your hand. mana={3}{B}{B} type=Instant [/card] [card] name=Wretched Throng -auto=_DIES_may name(Search card) target(Wretched Throng|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=_DIES_may name(Search card) target(Wretched Throng|mylibrary) moveto(hand) and!( shuffle )! text=When Wretched Throng dies, you may search your library for a card named Wretched Throng, reveal it, put it into your hand, then shuffle. mana={1}{U} type=Creature @@ -120096,7 +120040,7 @@ toughness=1 [/card] [card] name=Xanathar, Guild Kingpin -auto=@each my upkeep:transforms((,newability[maxcast(*)0 opponent],newability[{0}:if type(*[counter{0/0.1.XanaEffect}]|myhand)~equalto~0 then name(Look top card) name(Look top card) all(*[zpos=1]|opponentlibrary) moveto(ownerHand) and!( transforms((,newability[choice name(Put back) moveto(opponentlibrary)],newability[choice name(Can play card) transforms((,newability[anytypeofmana],newability[counter(0/0.1.XanaEffect)])) ueot])) ueot )! ])) ueot +auto=@each my upkeep:transforms((,newability[maxcast(*)0 opponent],newability[{0}:if type(*[counter{0/0.1.XanaEffect}]|myhand)~equalto~0 then name(Look top card) name(Look top card) all(*[zpos=1]|opponentlibrary) moveto(hand) and!( transforms((,newability[choice name(Put back) moveto(opponentlibrary)],newability[choice name(Can play card) transforms((,newability[anytypeofmana],newability[counter(0/0.1.XanaEffect)])) ueot])) ueot )! ])) ueot auto=@each my end:all(*[counter{0/0.1.XanaEffect}]|myhand) moveto(opponentlibrary) text=At the beginning of your upkeep, choose target opponent. Until end of turn, that player can't cast spells, you may look at the top card of their library any time, you may play the top card of their library, and you may spend mana as though it were mana of any color to cast spells this way. mana={4}{U}{B} @@ -120196,7 +120140,7 @@ toughness=5 [card] name=Yanling's Harbinger abilities=flying -auto=may name(Search library or graveyard) moveto(ownerHand) target(Mu Yanling^ Celestial Wind|myLibrary,myGraveyard) +auto=may name(Search library or graveyard) moveto(hand) target(Mu Yanling^ Celestial Wind|myLibrary,myGraveyard) text=Flying -- When Yanling's Harbinger enters, you may search your library and/or graveyard for a card named Mu Yanling, Celestial Wind, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={3}{U}{U} type=Creature @@ -120274,7 +120218,7 @@ toughness=1 [/card] [card] name=Yarok's Wavecrasher -auto=moveTo(ownerhand) notatarget(other creature|myBattlefield) +auto=moveTo(hand) notatarget(other creature|myBattlefield) text=When Yarok's Wavecrasher enters, return another creature you control to its owner's hand. mana={3}{U} type=Creature @@ -120285,9 +120229,9 @@ toughness=4 [card] name=Yasharn, Implacable Earth #Forbid the life and sacrifice payments is not supported ATM... -auto=if type(forest[basic]|mylibrary)~morethan~0 then if type(plains[basic]|mylibrary)~morethan~0 then name(Search for basic forest) name(Search for basic forest) name(Search for basic forest) target(forest[basic]|myLibrary) moveto(ownerHand) and!( transforms((,newability[name(Search for basic plains) target(plains[basic]|myLibrary) moveto(ownerHand) and!( shuffle )!])) oneshot )! -auto=if type(forest[basic]|mylibrary)~morethan~0 then if type(plains[basic]|mylibrary)~equalto~0 then name(Search for basic forest) name(Search for basic forest) name(Search for basic forest) target(forest[basic]|myLibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(forest[basic]|mylibrary)~equalto~0 then if type(plains[basic]|mylibrary)~morethan~0 then name(Search for basic plains) name(Search for basic plains) name(Search for basic plains) target(plains[basic]|myLibrary) moveto(ownerHand) and!( shuffle )! +auto=if type(forest[basic]|mylibrary)~morethan~0 then if type(plains[basic]|mylibrary)~morethan~0 then name(Search for basic forest) name(Search for basic forest) name(Search for basic forest) target(forest[basic]|myLibrary) moveto(hand) and!( transforms((,newability[name(Search for basic plains) target(plains[basic]|myLibrary) moveto(hand) and!( shuffle )!])) oneshot )! +auto=if type(forest[basic]|mylibrary)~morethan~0 then if type(plains[basic]|mylibrary)~equalto~0 then name(Search for basic forest) name(Search for basic forest) name(Search for basic forest) target(forest[basic]|myLibrary) moveto(hand) and!( shuffle )! +auto=if type(forest[basic]|mylibrary)~equalto~0 then if type(plains[basic]|mylibrary)~morethan~0 then name(Search for basic plains) name(Search for basic plains) name(Search for basic plains) target(plains[basic]|myLibrary) moveto(hand) and!( shuffle )! text=When Yasharn, Implacable Earth enters, search your library for a basic Forest card and a basic Plains card, reveal those cards, put them into your hand, then shuffle. -- Players can't pay life or sacrifice nonland permanents to cast spells or activate abilities. mana={2}{G}{W} type=Legendary Creature @@ -120504,7 +120448,7 @@ type=Instant [/card] [card] name=You Come to a River -auto=choice name(Return non-land permanent) target(*[-land]|battlefield) moveTo(ownerhand) +auto=choice name(Return non-land permanent) target(*[-land]|battlefield) moveTo(hand) auto=choice name(Creature gets 1/0) target(creature|battlefield) transforms((,newability[1/0],unblockable)) ueot text=Choose one -- Fight the Current - Return target nonland permanent top its owner's hand. -- Find a Crossing - Target creature gets +1/+0 until end of turn and can't be blocked this turn. mana={1}{U} @@ -120546,8 +120490,8 @@ type=Instant [/card] [card] name=You Happen On a Glade -auto=choice name(Search library) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerHand) +auto=choice name(Search library) target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! +auto=choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(hand) text=Choose one -- Journey On - Search your library for up to two basic land cards, reveal them, put them into your hand, then shuffle. -- Make Camp - Return target permanent card from your graveyard to your hand. mana={2}{G} type=Instant @@ -120570,8 +120514,8 @@ type=Instant [/card] [card] name=You Meet in a Tavern -aicode=activate target(creature[zpos<=5]|mylibrary) moveto(ownerHand) and!( all(*[-creature;zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! -auto=choice name(Search library) reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(creature[zpos<=5]|mylibrary) moveto(hand) and!( all(*[-creature;zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! +auto=choice name(Search library) reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend auto=choice name(Creatures get +2/+2) all(creature|mybattlefield) transforms((,newability[2/2])) ueot text=Choose one -- Form a Party - Look at the top five cards of your library. You may reveal any number of creature cards from among them and put them into your hand. Put the rest on the bottom of your library in a random order. -- Start a Brawl - Creatures you control get +2/+2 until end of turn. mana={2}{G}{G} @@ -120595,7 +120539,7 @@ type=Instant [/card] [card] name=You're Ambushed on the Road -auto=choice name(Return creature to hand) target(creature|myBattlefield) moveto(ownerhand) +auto=choice name(Return creature to hand) target(creature|myBattlefield) moveto(hand) auto=choice name(Creature gets 1/3) target(creature|battlefield) 1/3 ueot text=Choose one -- Make a Retreat - Return target creature you control to its owner's hand. -- Stand and Fight - Target creature gets +1/+3 until end of turn. mana={W} @@ -120714,8 +120658,8 @@ toughness=6 name=Yuriko, the Tiger's Shadow autohand={U}{B}{N}:ninjutsu autocommandzone={U}{B}{N}:ninjutsu -auto=@combatdamagefoeof(player) from(ninja|myBattlefield):moveto(ownerHand) and!( transforms((,newability[damage:manacost opponent])) ueot )! all(*[zpos=1]|mylibrary) -auto=@combatdamageof(player) from(ninja|myBattlefield):moveto(ownerHand) and!( transforms((,newability[damage:manacost controller])) ueot )! all(*[zpos=1]|mylibrary) +auto=@combatdamagefoeof(player) from(ninja|myBattlefield):moveto(hand) and!( transforms((,newability[damage:manacost opponent])) ueot )! all(*[zpos=1]|mylibrary) +auto=@combatdamageof(player) from(ninja|myBattlefield):moveto(hand) and!( transforms((,newability[damage:manacost controller])) ueot )! all(*[zpos=1]|mylibrary) text=Commander ninjutsu {U}{B} ({U}{B}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand or the command zone tapped and attacking.) -- Whenever a Ninja you control deals combat damage to a player, reveal the top card of your library and put that card into your hand. Each opponent loses life equal to that card's mana value. mana={1}{U}{B} type=Legendary Creature @@ -120866,8 +120810,8 @@ toughness=4 [card] name=Zara, Renegade Recruiter abilities=flying -aicode=activate target(creature|opponenthand) moveto(mybattlefield) and!( transforms((,newability[readytofight],newability[@next end:moveto(ownerhand)])) forever )! -auto=_ATTACKING_reveal:type:*:opponenthand revealzone(opponenthand) optionone name(Reveal) target(creature|reveal) moveto(mybattlefield) and!( transforms((,newability[readytofight],newability[@next end:moveto(ownerhand)])) forever )! optiononeend optiontwo all(*|reveal) moveto(opponenthand) optiontwoend revealend +aicode=activate target(creature|opponenthand) moveto(mybattlefield) and!( transforms((,newability[readytofight],newability[@next end:moveto(hand)])) forever )! +auto=_ATTACKING_reveal:type:*:opponenthand revealzone(opponenthand) optionone name(Reveal) target(creature|reveal) moveto(mybattlefield) and!( transforms((,newability[readytofight],newability[@next end:moveto(hand)])) forever )! optiononeend optiontwo all(*|reveal) moveto(opponenthand) optiontwoend revealend text=Flying -- Whenever Zara, Renegade Recruiter attacks, look at defending player's hand. You may put a creature card from it onto the battlefield under your control tapped and attacking that player or a planeswalker they control. Return that creature to its owner's hand at the beginning of the next end step. mana={3}{U}{R} type=Legendary Creature @@ -121016,7 +120960,7 @@ toughness=1 [card] name=Zephyr Sentinel abilities=flash,flying -auto=may name(Return other creature) target(other creature|myBattlefield) moveto(ownerhand) and!( if cantargetcard(*[soldier]|*) then all(this) counter(1/1) )! +auto=may name(Return other creature) target(other creature|myBattlefield) moveto(hand) and!( if cantargetcard(*[soldier]|*) then all(this) counter(1/1) )! text=Flash -- Flying -- When Zephyr Sentinel enters, return up to one other target creature you control to its owner's hand. If it was a Soldier, put a +1/+1 counter on Zephyr Sentinel. mana={1}{U} type=Creature @@ -121228,7 +121172,7 @@ toughness=2 [card] name=Zndrsplt's Judgment auto=ability$!name(Create a token copy) name(Create a token copy) target(creature|mybattlefield) clone!$ controller -auto=ability$!name(Return to hand) name(Return to hand) target(creature|mybattlefield) moveto(ownerhand)!$ opponent +auto=ability$!name(Return to hand) name(Return to hand) target(creature|mybattlefield) moveto(hand)!$ opponent text=For each player, choose friend or foe. Each friend creates a token that's a copy of a creature they control. Each foe returns a creature they control to its owner's hand. mana={4}{U} type=Sorcery @@ -121331,9 +121275,9 @@ toughness=4 [card] name=Zurgo and Ojutai abilities=flying,haste -aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( transforms((,newability[may name(Return dragon) target(dragon[attacking]|mybattlefield) moveto(ownerhand)],newability[all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! -auto=@combatdamaged(player) from(dragon|mybattlefield) turnlimited:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend afterrevealed may name(Return dragon to hand) target(dragon[attacking]|mybattlefield) moveto(ownerhand) afterrevealedend revealend -auto=@combatdamaged(battle) from(dragon|mybattlefield) turnlimited:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend afterrevealed may name(Return dragon to hand) target(dragon[attacking]|mybattlefield) moveto(ownerhand) afterrevealedend revealend +aicode=activate target(*[zpos<=3]|mylibrary) moveto(hand) and!( transforms((,newability[may name(Return dragon) target(dragon[attacking]|mybattlefield) moveto(hand)],newability[all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! +auto=@combatdamaged(player) from(dragon|mybattlefield) turnlimited:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend afterrevealed may name(Return dragon to hand) target(dragon[attacking]|mybattlefield) moveto(hand) afterrevealedend revealend +auto=@combatdamaged(battle) from(dragon|mybattlefield) turnlimited:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend afterrevealed may name(Return dragon to hand) target(dragon[attacking]|mybattlefield) moveto(hand) afterrevealedend revealend auto=transforms((,hexproof)) ueot text=Flying, haste -- Zurgo and Ojutai has hexproof as long as it entered the battlefield this turn. -- Whenever one or more Dragons you control deal combat damage to a player or battle, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. You may return one of those Dragons to its owner's hand. mana={2}{U}{R}{W} diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 84bd8054c..8d63595d6 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -250,8 +250,8 @@ name=Absorb Vis target=player auto=life:-4 auto=life:4 controller -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{B}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{B}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Target player loses 4 life and you gain 4 life. -- Basic landcycling {1}{B} ({1}{B}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={6}{B} type=Sorcery @@ -279,8 +279,8 @@ toughness=1 [/card] [card] name=Abundance -auto=name(Get Land) replacedraw choice name(Land) Reveal:1 revealzone(mylibrary) revealuntil(*[land]|mylibrary) optionone choice name(Get Cards) target(land|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend -auto=name(Get NonLand) replacedraw choice name(NonLand) Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Get Cards) target(*[-land]|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Get Land) replacedraw choice name(Land) Reveal:1 revealzone(mylibrary) revealuntil(*[land]|mylibrary) optionone choice name(Get Cards) target(land|reveal) moveto(hand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Get NonLand) replacedraw choice name(NonLand) Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Get Cards) target(*[-land]|reveal) moveto(hand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=If you would draw a card, you may instead choose land or nonland and reveal cards from the top of your library until you reveal a card of the chosen kind. Put that card into your hand and put all other cards revealed this way on the bottom of your library in any order. mana={2}{G}{G} type=Enchantment @@ -780,14 +780,14 @@ type=Sorcery [card] name=Active Volcano auto=aslongas(*[blue]|battlefield) choice destroy target(*[blue]) -auto=aslongas(island|battlefield) choice moveTo(ownerhand) target(island) +auto=aslongas(island|battlefield) choice moveTo(hand) target(island) text=Choose one - Destroy target blue permanent; or return target Island to its owner's hand. mana={R} type=Instant [/card] [card] name=Ad Nauseam -auto=reveal:1 optionone name(Reveal and lose life) target(*|reveal) transforms((,newability[life:-manacost controller],newability[moveto(ownerHand)])) forever optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend repeat revealend +auto=reveal:1 optionone name(Reveal and lose life) target(*|reveal) transforms((,newability[life:-manacost controller],newability[moveto(hand)])) forever optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend repeat revealend text=Reveal the top card of your library and put that card into your hand. You lose life equal to its mana value. You may repeat this process any number of times. mana={3}{B}{B} type=Instant @@ -866,7 +866,7 @@ toughness=3 [card] name=Addle target=player -auto=chooseacolor reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(*[chosencolor]|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend chooseend +auto=chooseacolor reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(*[chosencolor]|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend chooseend text=Choose a color. Target player reveals their hand and you choose a card of that color from it. That player discards that card. mana={1}{B} type=Sorcery @@ -884,7 +884,7 @@ toughness=6 [/card] [card] name=Adun Oakenshield -auto={B}{R}{G}{T}:moveto(ownerHand) target(creature|mygraveyard) +auto={B}{R}{G}{T}:moveto(hand) target(creature|mygraveyard) text={B}{R}{G}, {T}: Return target creature card from your graveyard to your hand. mana={B}{R}{G} type=Legendary Creature @@ -953,8 +953,8 @@ type=Instant [card] name=Advice from the Fae abilities=hiddenface -aicode=activate transforms((,newability[if control more creatures then name(Pick 2) target(<2>*[zpos<=5]|mylibrary) moveto(ownerHand) else name(pick 1) target(<1>*[zpos<=5]|mylibrary) moveto(ownerHand)])) ueot -auto=name(look) reveal:5 optionone if control more creatures then name(Pick 2) target(<2>*|reveal) moveto(ownerHand) else name(pick 1) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put On Bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[if control more creatures then name(Pick 2) target(<2>*[zpos<=5]|mylibrary) moveto(hand) else name(pick 1) target(<1>*[zpos<=5]|mylibrary) moveto(hand)])) ueot +auto=name(look) reveal:5 optionone if control more creatures then name(Pick 2) target(<2>*|reveal) moveto(hand) else name(pick 1) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(Put On Bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=({(2/u)} can be paid with any two mana or with {U}. This card's mana value is 6.) -- Look at the top five cards of your library. If you control more creatures than each other player, put two of those cards into your hand. Otherwise, put one of them into your hand. Then put the rest on the bottom of your library in any order. mana={2U}{2U}{2U} type=Sorcery @@ -982,7 +982,7 @@ toughness=5 [/card] [card] name=Aegis Automaton -auto={4}{W}:target(other creature|mybattlefield) moveto(ownerhand) +auto={4}{W}:target(other creature|mybattlefield) moveto(hand) text={4}{W}: Return another target creature you control to its owner's hand. mana={2} type=Artifact Creature @@ -1164,7 +1164,7 @@ toughness=1 [/card] [card] name=Aether Adept -auto=moveTo(ownerhand) target(creature) +auto=moveTo(hand) target(creature) text=When Aether Adept enters, return target creature to its owner's hand. mana={1}{U}{U} type=Creature @@ -1183,7 +1183,7 @@ type=Enchantment [card] name=Aether Burst target=creature|battlefield -auto=moveto(ownerhand) +auto=moveto(hand) text=Return up to X target creatures to their owners' hands, where X is one plus the number of cards named Aether Burst in all graveyards as you cast Aether Burst. mana={1}{U} type=Instant @@ -1229,7 +1229,7 @@ type=Enchantment [card] name=Aether Gale target=<6>*[-land] -auto=moveto(ownerhand) +auto=moveto(hand) text=Return six target nonland permanents to their owners' hands. mana={3}{U}{U} type=Sorcery @@ -1283,7 +1283,7 @@ subtype=Aura [card] name=Aether Membrane abilities=defender,reach -auto=@combat(blocking) source(this) from(creature):all(trigger[from]) phaseaction[combatends once] moveTo(ownerhand) +auto=@combat(blocking) source(this) from(creature):all(trigger[from]) phaseaction[combatends once] moveTo(hand) text=Defender; reach (This creature can block creatures with flying.) -- Whenever Aether Membrane blocks a creature, return that creature to its owner's hand at end of combat. mana={1}{R}{R} type=Creature @@ -1294,7 +1294,7 @@ toughness=5 [card] name=Aether Mutation target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=_SAPROLINGTOKEN_*manacost text=Return target creature to its owner's hand. Put X 1/1 green Saproling creature tokens onto the battlefield, where X is that creature's mana value. mana={3}{G}{U} @@ -1330,7 +1330,7 @@ type=Sorcery [/card] [card] name=Aether Spellbomb -auto={U}{S}:name(Return creature to hand) moveTo(ownerhand) target(creature) +auto={U}{S}:name(Return creature to hand) moveTo(hand) target(creature) auto={1}{S}:name(Draw a card) draw:1 controller text={U}, Sacrifice Aether Spellbomb: Return target creature to its owner's hand. -- {1}, Sacrifice Aether Spellbomb: Draw a card. mana={1} @@ -1370,8 +1370,8 @@ toughness=3 [card] name=Aether Tradewinds target=*|mybattlefield -auto=moveTo(ownerhand) -auto=target(*|opponentbattlefield) moveTo(ownerhand) +auto=moveTo(hand) +auto=target(*|opponentbattlefield) moveTo(hand) restriction=type(*|mybattlefield)~morethan~0,type(*|opponentbattlefield)~morethan~0 text=Return target permanent you control and target permanent you don't control to their owners' hands. mana={2}{U} @@ -1429,7 +1429,7 @@ toughness=1 [/card] [card] name=Aetherize -auto=moveto(ownerhand) all(creature[attacking]) +auto=moveto(hand) all(creature[attacking]) text=Return all attacking creatures to their owner's hand. mana={3}{U} type=Instant @@ -1449,7 +1449,7 @@ toughness=5 [/card] [card] name=Aethermage's Touch -auto=reveal:4 optionone name(Get Creature) target(creature|reveal) transforms((,newability[moveto(mybattlefield)],newability[@next my end:moveto(ownerHand)])) forever optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:4 optionone name(Get Creature) target(creature|reveal) transforms((,newability[moveto(mybattlefield)],newability[@next my end:moveto(hand)])) forever optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Reveal the top four cards of your library. You may put a creature card from among them onto the battlefield. It has "At the beginning of your end step, return this creature to its owner's hand." Then put the rest of the cards revealed this way on the bottom of your library in any order. mana={2}{W}{U} type=Instant @@ -1457,7 +1457,7 @@ type=Instant [card] name=Aethersnipe other={1}{U}{U} name(Evoke) -auto=moveTo(ownerhand) target(*[-land]) +auto=moveTo(hand) target(*[-land]) auto=alternative sacrifice text=When Aethersnipe enters, return target nonland permanent to its owner's hand. -- Evoke {1}{U}{U} (You may cast this spell for its evoke cost. If you do, it's sacrificed when it enters.) mana={5}{U} @@ -1490,7 +1490,7 @@ type=Instant name=Aethersquall Ancient abilities=flying auto=@each my upkeep:alterenergy:3 controller -auto={E:8}:all(other creature|battlefield) moveto(ownerHand) asSorcery +auto={E:8}:all(other creature|battlefield) moveto(hand) asSorcery text=Flying -- At the beginning of your upkeep, you get {E}{E}{E} (three energy counters). -- Pay {E}{E}{E}{E}{E}{E}{E}{E}: Return all other creatures to their owners' hands. Activate this ability only any time you could cast a sorcery. mana={5}{U}{U} type=Creature @@ -1514,7 +1514,7 @@ toughness=3 name=Aethertide Whale abilities=flying auto=alterenergy:6 controller -auto={e:4}:moveto(ownerhand) +auto={e:4}:moveto(hand) text=Flying -- When Aethertide Whale enters, you get {E}{E}{E}{E}{E}{E} (six energy counters). -- Pay {E}{E}{E}{E}: Return Aethertide Whale to its owner's hand. mana={4}{U}{U} type=Creature @@ -1788,7 +1788,7 @@ type=Instant name=Agonizing Memories target=player aicode=activate target(<2>*|targetedpersonshand) moveTo(targetedpersonslibrary) -auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose cards) target(<2>*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose cards) target(<2>*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Look at target player's hand and choose two cards from it. Put them on top of that player's library in any order. mana={2}{B}{B} type=Sorcery @@ -1806,7 +1806,7 @@ type=Instant name=Agoraphobia target=creature auto=teach(creature) -5/0 -auto={2}{U}:moveto(ownerhand) +auto={2}{U}:moveto(hand) text=Enchant creature -- Enchanted creature gets -5/-0. -- {2}{U}: Return Agoraphobia to its owner's hand. mana={1}{U} type=Enchantment @@ -2590,7 +2590,7 @@ toughness=2 [card] name=Alesha's Vanguard other={2}{B} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Dash {2}{B} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={3}{B} type=Creature @@ -2622,22 +2622,22 @@ subtype=Aura [card] name=Alexi, Zephyr Mage auto={X}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 0) donothing -auto={1}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 1) target(creature) moveTo(ownerhand) -auto={2}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 2) target(<2>creature) moveTo(ownerhand) -auto={3}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 3) target(<3>creature) moveTo(ownerhand) -auto={4}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 4) target(<4>creature) moveTo(ownerhand) -auto={5}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 5) target(<5>creature) moveTo(ownerhand) -auto={6}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 6) target(<6>creature) moveTo(ownerhand) -auto={7}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 7) target(<7>creature) moveTo(ownerhand) -auto={8}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 8) target(<8>creature) moveTo(ownerhand) -auto={9}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 9) target(<9>creature) moveTo(ownerhand) -auto={10}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 10) target(<10>creature) moveTo(ownerhand) -auto={11}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 11) target(<11>creature) moveTo(ownerhand) -auto={12}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 12) target(<12>creature) moveTo(ownerhand) -auto={13}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 13) target(<13>creature) moveTo(ownerhand) -auto={14}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 14) target(<14>creature) moveTo(ownerhand) -auto={15}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 15) target(<15>creature) moveTo(ownerhand) -auto={16}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 16) target(<16>creature) moveTo(ownerhand) +auto={1}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 1) target(creature) moveTo(hand) +auto={2}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 2) target(<2>creature) moveTo(hand) +auto={3}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 3) target(<3>creature) moveTo(hand) +auto={4}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 4) target(<4>creature) moveTo(hand) +auto={5}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 5) target(<5>creature) moveTo(hand) +auto={6}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 6) target(<6>creature) moveTo(hand) +auto={7}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 7) target(<7>creature) moveTo(hand) +auto={8}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 8) target(<8>creature) moveTo(hand) +auto={9}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 9) target(<9>creature) moveTo(hand) +auto={10}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 10) target(<10>creature) moveTo(hand) +auto={11}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 11) target(<11>creature) moveTo(hand) +auto={12}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 12) target(<12>creature) moveTo(hand) +auto={13}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 13) target(<13>creature) moveTo(hand) +auto={14}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 14) target(<14>creature) moveTo(hand) +auto={15}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 15) target(<15>creature) moveTo(hand) +auto={16}{U}{T}{D(*|myhand)}{D(*|myhand)}:name(X = 16) target(<16>creature) moveTo(hand) text={X}{U}, {T}, Discard two cards: Return X target creatures to their owners' hands. mana={3}{U}{U} type=Legendary Creature @@ -2709,11 +2709,11 @@ subtype=Eldrazi [card] name=All Suns' Dawn auto=moveto(exile) -auto=ability$!Choice name(Green) target(*[green]|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!Choice name(Red) target(*[red]|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!Choice name(White) target(*[white]|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!Choice name(Black) target(*[black]|mygraveyard) moveto(ownerHand)!$ controller -auto=ability$!Choice name(Blue) target(*[blue]|mygraveyard) moveto(ownerHand)!$ controller +auto=ability$!Choice name(Green) target(*[green]|mygraveyard) moveto(hand)!$ controller +auto=ability$!Choice name(Red) target(*[red]|mygraveyard) moveto(hand)!$ controller +auto=ability$!Choice name(White) target(*[white]|mygraveyard) moveto(hand)!$ controller +auto=ability$!Choice name(Black) target(*[black]|mygraveyard) moveto(hand)!$ controller +auto=ability$!Choice name(Blue) target(*[blue]|mygraveyard) moveto(hand)!$ controller text=For each color, return up to one target card of that color from your graveyard to your hand. Exile All Suns' Dawn. mana={4}{G} type=Sorcery @@ -2731,7 +2731,7 @@ type=Instant name=Alley Evasion target=creature|mybattlefield auto=choice 1/2 ueot -auto=choice moveto(ownerhand) +auto=choice moveto(hand) text=Choose one -- --Target creature you control gets +1/+2 until end of turn. --Return target creature you control to its owner's hand. mana={W} type=Instant @@ -2926,8 +2926,8 @@ type=Artifact [/card] [card] name=Altar of Bone -aicode=activate target(creature|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=As an additional cost to cast Altar of Bone, sacrifice a creature. -- Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle. mana={G}{W}{S(creature|mybattlefield)} type=Sorcery @@ -3047,7 +3047,7 @@ toughness=3 [card] name=Ambuscade Shaman other={3}{B} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever auto=2/2 ueot auto=@movedto(other creature|mybattlefield):all(trigger) 2/2 ueot text=Whenever Ambuscade Shaman or another creature enters under your control, that creature gets +2/+2 until end of turn. -- Dash {3}{B} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) @@ -3078,7 +3078,7 @@ toughness=2 [card] name=Ambush Krotiq abilities=trample -auto=moveTo(ownerhand) notatarget(other creature|myBattlefield) +auto=moveTo(hand) notatarget(other creature|myBattlefield) text=Trample -- When Ambush Krotiq enters, return another creature you control to its owner's hand. mana={5}{G} type=Creature @@ -3110,7 +3110,7 @@ toughness=1 name=Amnesia target=player aicode=activate choice reject all(*[-land]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) and!( reject )! all(*[-land]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[-land]|reveal) transforms((,newability[moveto(hand) and!( reject )! all(*[-land]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand and discards all nonland cards. mana={3}{U}{U}{U} type=Sorcery @@ -3206,7 +3206,7 @@ toughness=2 [card] name=Amugaba abilities=flying -auto={2}{U}{D(*|myhand)}:moveTo(ownerhand) +auto={2}{U}{D(*|myhand)}:moveTo(hand) text=Flying -- {2}{U}, Discard a card: Return Amugaba to its owner's hand. mana={5}{U}{U} type=Creature @@ -3361,7 +3361,7 @@ toughness=4 [/card] [card] name=Anarchist -auto=may moveto(ownerHand) target(sorcery|mygraveyard) +auto=may moveto(hand) target(sorcery|mygraveyard) text=When Anarchist enters, you may return target sorcery card from your graveyard to your hand. mana={4}{R} type=Creature @@ -3441,8 +3441,8 @@ subtype=Aura [/card] [card] name=Ancestral Memories -aicode=name(look) activate name(look) transforms((,newability[target(<2>*[zpos<=7]|mylibrary) moveto(ownerHand)],newability[deplete:5])) ueot -auto=name(Look) reveal:7 optionone name(Get 2 cards) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<7>*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=name(look) activate name(look) transforms((,newability[target(<2>*[zpos<=7]|mylibrary) moveto(hand)],newability[deplete:5])) ueot +auto=name(Look) reveal:7 optionone name(Get 2 cards) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<7>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top seven cards of your library. Put two of them into your hand and the rest into your graveyard. mana={2}{U}{U}{U} type=Sorcery @@ -3457,7 +3457,7 @@ type=Instant [/card] [card] name=Ancestral Statue -auto=moveto(ownerhand) notatarget(*[-land]|mybattlefield) +auto=moveto(hand) notatarget(*[-land]|mybattlefield) text=When Ancestral Statue enters, return a nonland permanent you control to its owner's hand. mana={4} type=Artifact Creature @@ -3631,8 +3631,8 @@ type=Land name=Ancient Stirrings mana={G} type=Sorcery -aicode=activate target(*[-white;-blue;-black;-red;-green;zpos<=5]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:5 optionone name(Get Colorless Card) target(*[-white;-blue;-black;-red;-green]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[-white;-blue;-black;-red;-green;zpos<=5]|mylibrary) moveto(hand) +auto=name(look) reveal:5 optionone name(Get Colorless Card) target(*[-white;-blue;-black;-red;-green]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top five cards of your library. You may reveal a colorless card from among them and put it into your hand. Then put the rest on the bottom of your library in any order. (Cards with no colored mana in their mana costs are colorless. Lands are also colorless.) [/card] [card] @@ -3697,7 +3697,7 @@ toughness=4 [card] name=Angel of Flight Alabaster abilities=flying -auto=@each my upkeep:moveTo(ownerhand) target(spirit|mygraveyard) +auto=@each my upkeep:moveTo(hand) target(spirit|mygraveyard) text=Flying -- At the beginning of your upkeep, return target Spirit card from your graveyard to your hand. mana={4}{W} type=Creature @@ -3948,7 +3948,7 @@ auto=4/4 auto=flying auto=first strike auto=transforms((Angel)) -auto=@movedto(graveyard) from(mytgt|Battlefield):all(this) moveTo(ownerhand) +auto=@movedto(graveyard) from(mytgt|Battlefield):all(this) moveTo(hand) text=Enchant creature -- Enchanted creature gets +4/+4, has flying and first strike, and is an Angel in addition to its other types. -- When enchanted creature dies, return Angelic Destiny to its owner's hand. mana={2}{W}{W} type=Enchantment @@ -4034,7 +4034,7 @@ type=Enchantment [card] name=Angelic Shield auto=lord(creature|myBattlefield) 0/1 -auto={S}:moveTo(ownerhand) target(other creature) +auto={S}:moveTo(hand) target(other creature) text=Creatures you control get +0/+1. -- Sacrifice Angelic Shield: Return target creature to its owner's hand. mana={W}{U} type=Enchantment @@ -4331,8 +4331,8 @@ toughness=0 [card] name=Anticipate abilities=hiddenface -aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=3]|mylibrary) moveto(hand) +auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={1}{U} type=Instant @@ -4466,7 +4466,7 @@ toughness=2 [/card] [card] name=Aphetto Dredging -auto=chooseatype target(creature[chosentype]|mygraveyard) moveto(ownerHand) chooseend +auto=chooseatype target(creature[chosentype]|mygraveyard) moveto(hand) chooseend text=Return up to three target creature cards of the creature type of your choice from your graveyard to your hand. mana={3}{B} type=Sorcery @@ -4572,7 +4572,7 @@ toughness=1 name=Appetite for Brains target=opponent aicode=activate moveto(exile) notatarget(*[manacost>=4]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[manacost>=4]|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[manacost>=4]|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a card from it with mana value 4 or greater and exile that card. mana={B} type=Sorcery @@ -4797,7 +4797,7 @@ toughness=5 name=Arbiter of the Ideal abilities=flying auto=lord(*[counter{0%0.1.manifstation}]|mybattlefield) transforms((enchantment)) forever -auto=@untapped(this):reveal:1 optionone target(*[artifact;creature;land]|reveal) moveto(mybattlefield) and!(counter(0/0,1,manifstation))! optiononeend optiontwo name(Put on Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +auto=@untapped(this):reveal:1 optionone target(*[artifact;creature;land]|reveal) moveto(mybattlefield) and!(counter(0/0.1.manifstation))! optiononeend optiontwo name(Put on Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend text=Flying -- Inspired -- Whenever Arbiter of the Ideal becomes untapped, reveal the top card of your library. If it's an artifact, creature, or land card, you may put it onto the battlefield with a manifestation counter on it. That permanent is an enchantment in addition to its other types. mana={4}{U}{U} type=Creature @@ -4959,7 +4959,7 @@ subtype=Aura [card] name=Arcanis the Omnipotent auto={T}:draw:3 -auto={2}{U}{U}:moveTo(ownerhand) +auto={2}{U}{U}:moveTo(hand) text={T}: Draw three cards. -- {2}{U}{U}: Return Arcanis the Omnipotent to its owner's hand. mana={3}{U}{U}{U} type=Legendary Creature @@ -5137,7 +5137,7 @@ type=Land [/card] [card] name=Archaeomancer -auto=if type(*[instant;sorcery]|mygraveyard)~morethan~0 then moveto(ownerHand) target(instant,sorcery|mygraveyard) +auto=if type(*[instant;sorcery]|mygraveyard)~morethan~0 then moveto(hand) target(instant,sorcery|mygraveyard) text=When Archaeomancer enters, return target instant or sorcery card from your graveyard to your hand. mana={2}{U}{U} type=Creature @@ -5363,7 +5363,7 @@ toughness=1 [card] name=Archmage Ascension auto=@each end restriction{compare(pdrewcount)~morethan~1}:may counter(0/0,1,Quest) -auto=this(counter{0/0.1.Quest}>=6) transforms((,newability[replacedraw name(search a card) notatarget(*|mylibrary) moveto(ownerhand)])) +auto=this(counter{0/0.1.Quest}>=6) transforms((,newability[replacedraw name(search a card) notatarget(*|mylibrary) moveto(hand)])) text=At the beginning of each end step, if you drew two or more cards this turn, you may put a quest counter on Archmage Ascension. -- As long as Archmage Ascension has six or more quest counters on it, if you would draw a card, you may instead search your library for a card, put that card into your hand, then shuffle. mana={2}{U} type=Enchantment @@ -5415,7 +5415,7 @@ toughness=5 [card] name=Archwing Dragon abilities=flying,haste -auto=@each end:moveto(ownerhand) all(this) +auto=@each end:moveto(hand) all(this) text=Flying, haste -- At the beginning of the end step, return Archwing Dragon to its owner's hand. mana={2}{R}{R} type=Creature @@ -5603,7 +5603,7 @@ subtype=Equipment [/card] [card] name=Argivian Archaeologist -auto={T}{W}{W}:moveto(ownerHand) target(artifact|mygraveyard) +auto={T}{W}{W}:moveto(hand) target(artifact|mygraveyard) text={W}{W}, {T}: Return target artifact card from your graveyard to your hand. mana={1}{W}{W} type=Creature @@ -5624,7 +5624,7 @@ toughness=2 [card] name=Argivian Find target=artifact,enchantment|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target artifact or enchantment card from your graveyard to your hand. mana={W} type=Instant @@ -5716,7 +5716,7 @@ type=Artifact [card] name=Arm with Aether text=Until end of turn, creatures you control gain "Whenever this creature deals damage to an opponent, you may return target creature that player controls to its owner's hand." -auto=all(creature|mybattlefield) transforms((,newability[@damagefoeof(player) from(this) once:may moveto(ownerhand) target(creature|opponentbattlefield)])) ueot +auto=all(creature|mybattlefield) transforms((,newability[@damagefoeof(player) from(this) once:may moveto(hand) target(creature|opponentbattlefield)])) ueot mana={2}{U} type=Sorcery [/card] @@ -5816,8 +5816,8 @@ type=Instant [/card] [card] name=Armillary Sphere -aicode=activate moveto(ownerHand) target(land[basic]|myLibrary) -auto={2}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(land[basic]|myLibrary) +auto={2}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text={2}, {T}, Sacrifice Armillary Sphere: Search your library for up to two basic land cards, reveal them, and put them into your hand. Then shuffle. mana={2} type=Artifact @@ -6106,7 +6106,7 @@ type=Instant [/card] [card] name=Arsenal Thresher -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[artifact]|myhand) optionone foreach(*[artifact]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[artifact]|myhand) optionone foreach(*[artifact]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=As Arsenal Thresher enters, you may reveal any number of other artifact cards from your hand. Arsenal Thresher enters with a +1/+1 counter on it for each card revealed this way. mana={2}{WB}{U} type=Artifact Creature @@ -6170,8 +6170,8 @@ type=Instant [/card] [card] name=Artificer's Intuition -aicode=activate target(artifact[manacost<=1]|mylibrary) moveto(ownerHand) -auto={U}{D(artifact|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(artifact[manacost<=1]|mylibrary) moveto(hand) +auto={U}{D(artifact|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={U}, Discard an artifact card: Search your library for an artifact card with mana value 1 or less, reveal that card, and put it into your hand. Then shuffle. mana={1}{U} type=Enchantment @@ -6249,8 +6249,8 @@ type=Enchantment [card] name=Ash Barrens auto={t}:add{c} -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={T}: Add {C}. -- Basic landcycling {1} ({1}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) type=Land [/card] @@ -6449,7 +6449,7 @@ toughness=1 [/card] [card] name=Ashnod's Altar -auto={S(creature|myBattlefield)}:Add{2} restriction{compare(ishuman)~morethan~0} +auto={S(creature|myBattlefield)} restriction{compare(ishuman)~morethan~0}:Add{2} text=Sacrifice a creature: Add {2}. mana={3} type=Artifact @@ -6509,7 +6509,7 @@ type=Instant [card] name=Aspect of Mongoose target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=shroud text=Enchant creature -- Enchanted creature has shroud. (It can't be the target of spells or abilities.) -- When Aspect of Mongoose is put into a graveyard from the battlefield, return Aspect of Mongoose to its owner's hand. mana={1}{G} @@ -6646,7 +6646,7 @@ toughness=5 [/card] [card] name=Assembly Hall -auto={4}{T}:target(creature|myhand) transforms((,newability[moveto(ownerHand) target(creature[share!name!]|mylibrary) oneshot])) +auto={4}{T}:target(creature|myhand) transforms((,newability[moveto(hand) target(creature[share!name!]|mylibrary) oneshot])) text={4}, {T}: Reveal a creature card in your hand. Search your library for a card with the same name as that card, reveal the card, and put it into your hand. Then shuffle. mana={5} type=Artifact @@ -6824,8 +6824,8 @@ type=Enchantment [/card] [card] name=Attune with Aether -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=alterenergy:2 controller text=Search your library for a basic land card, reveal it, put it into your hand, then shuffle. You get {E}{E} (two energy counters). mana={G} @@ -6879,8 +6879,8 @@ toughness=3 [/card] [card] name=Augur of Bolas -aicode=activate target(*[instant;sorcery;zpos<=3]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:3 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[instant;sorcery;zpos<=3]|mylibrary) moveto(hand) +auto=name(look) reveal:3 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=When Augur of Bolas enters, look at the top three cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={1}{U} type=Creature @@ -6901,8 +6901,8 @@ toughness=1 [/card] [card] name=Augury Adept -aicode=activate target(*[zpos=1]|mylibrary) moveto(ownerHand) and!(dynamicability)! -auto=@combatdamaged(player) from(this):reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:manacost controller])) forever optiononeend optiontwo choice all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[zpos=1]|mylibrary) moveto(hand) and!(dynamicability)! +auto=@combatdamaged(player) from(this):reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:manacost controller])) forever optiononeend optiontwo choice all(*|reveal) moveto(hand) optiontwoend revealend text=Whenever Augury Adept deals combat damage to a player, reveal the top card of your library and put that card into your hand. You gain life equal to its mana value. mana={1}{WU}{WU} type=Creature @@ -6933,7 +6933,7 @@ type=Land [card] name=Auntie's Snitch abilities=cantblock -autograveyard=@combatdamaged(player) from(*[goblin;rogue]|mybattlefield):may moveto(ownerhand) +autograveyard=@combatdamaged(player) from(*[goblin;rogue]|mybattlefield):may moveto(hand) other={1}{B} name(Prowl) otherrestriction=prowl text=Auntie's Snitch can't block. -- Prowl {1}{B} (You may cast this for its prowl cost if you dealt combat damage to a player this turn with a Goblin or Rogue.) -- Whenever a Goblin or Rogue you control deals combat damage to a player, if Auntie's Snitch is in your graveyard, you may return Auntie's Snitch to your hand. @@ -7051,7 +7051,7 @@ type=Enchantment [/card] [card] name=Auramancer -auto=may moveto(ownerHand) target(enchantment|mygraveyard) +auto=may moveto(hand) target(enchantment|mygraveyard) text=When Auramancer enters, you may return target enchantment card from your graveyard to your hand. mana={2}{W} type=Creature @@ -7153,7 +7153,7 @@ toughness=2 [/card] [card] name=Auriok Salvagers -auto={1}{W}:moveto(ownerHand) target(artifact[manacost<=1]|mygraveyard) +auto={1}{W}:moveto(hand) target(artifact[manacost<=1]|mygraveyard) text={1}{W}: Return target artifact card with mana value 1 or less from your graveyard to your hand. mana={3}{W} type=Creature @@ -7217,8 +7217,8 @@ toughness=3 [card] name=Aurochs Herd abilities=trample -aicode=activate target(*[aurochs]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[aurochs]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[aurochs]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[aurochs]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=_ATTACKING_all(this) foreach(other aurochs[attacking]) 1/0 ueot text=Trample -- When Aurochs Herd enters, you may search your library for an Aurochs card, reveal it, and put it into your hand. If you do, shuffle your library. -- Whenever Aurochs Herd attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. mana={5}{G} @@ -7230,7 +7230,7 @@ toughness=4 [card] name=Aurora Eidolon auto={W}{S}:prevent:3 target(anytarget) -autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(hand) text={W}, Sacrifice Aurora Eidolon: Prevent the next 3 damage that would be dealt to any target this turn. -- Whenever you cast a multicolored spell, you may return Aurora Eidolon from your graveyard to your hand. mana={3}{W} type=Creature @@ -7413,8 +7413,8 @@ toughness=2 [card] name=Avarax abilities=haste -aicode=activate target(Avarax|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>Avarax|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(Avarax|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>Avarax|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto={1}{R}:1/0 text=Haste -- When Avarax enters, you may search your library for a card named Avarax, reveal it, and put it into your hand. If you do, shuffle your library. -- {1}{R}: Avarax gets +1/+0 until end of turn. mana={3}{R}{R} @@ -7548,7 +7548,7 @@ toughness=2 [card] name=Aven Augur abilities=flying -auto={S}:target(other creature) moveTo(ownerhand) myUpkeepOnly +auto={S}:target(other creature) moveTo(hand) myUpkeepOnly text=Flying -- Sacrifice Aven Augur: Return up to two target creatures to their owners' hands. Activate this ability only during your upkeep. mana={3}{U} type=Creature @@ -7648,7 +7648,7 @@ toughness=3 [card] name=Aven Fogbringer abilities=flying -auto=moveTo(ownerhand) target(land|battlefield) +auto=moveTo(hand) target(land|battlefield) text=Flying -- When Aven Fogbringer enters, return target land to its owner's hand. mana={3}{U} type=Creature @@ -7756,7 +7756,7 @@ toughness=1 name=Aven Surveyor abilities=flying auto=choice name(+1/+1 counter) counter(1/1) -auto=choice name(bounce creature) moveto(ownerhand) target(creature) +auto=choice name(bounce creature) moveto(hand) target(creature) text=Flying. -- When Aven Surveyor enters, choose one: -- Put a +1/+1 counter on Aven Surveyor. -- Return target creature to its owners hand. mana={3}{U}{U} type=Creature @@ -7808,8 +7808,8 @@ type=Instant [card] name=Aven Warhawk abilities=flying -aicode=activate target(*[bird;soldier]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[bird;soldier]|myhand) optionone foreach(*[bird;soldier]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[bird;soldier]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[bird;soldier]|myhand) optionone foreach(*[bird;soldier]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Amplify 1 (As this creature enters, put a +1/+1 counter on it for each Bird and/or Soldier card you reveal in your hand.) -- Flying mana={4}{W} type=Creature @@ -7890,7 +7890,7 @@ toughness=2 [/card] [card] name=Aviary Mechanic -auto=may moveTo(ownerhand) notatarget(other *|mybattlefield) +auto=may moveTo(hand) notatarget(other *|mybattlefield) text=When Aviary Mechanic enters, you may return another permanent you control to its owner's hand. mana={1}{W} type=Creature @@ -7960,7 +7960,7 @@ type=Sorcery [/card] [card] name=Awoken Horror -auto=moveto(ownerhand) all(creature[-horror]) +auto=moveto(hand) all(creature[-horror]) text=When this creature transforms into Awoken Horror, return all non-Horror creatures to their owners' hands. type=Creature subtype=Kraken Horror @@ -8131,7 +8131,7 @@ toughness=1 [card] name=Azorius Chancery auto=tap(noevent) -auto=moveTo(ownerhand) notatarget(land|mybattlefield) +auto=moveTo(hand) notatarget(land|mybattlefield) auto={T}:Add{W}{U} text=Azorius Chancery enters tapped. -- When Azorius Chancery enters, return a land you control to its owner's hand. -- {T}: Add {W}{U}. type=Land @@ -8341,8 +8341,8 @@ toughness=3 [/card] [card] name=Bala Ged Thief -auto=target(player) Reveal:type:ally:mybattlefield revealzone(targetedpersonshand) optionone target(*|reveal) reject optiononeend optiontwo all(*|reveal) moveto(ownerhand) optiontwoend revealend -auto=_RALLY_target(player) Reveal:type:ally:mybattlefield revealzone(targetedpersonshand) optionone target(*|reveal) reject optiononeend optiontwo all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=target(player) Reveal:type:ally:mybattlefield revealzone(targetedpersonshand) optionone target(*|reveal) reject optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend +auto=_RALLY_target(player) Reveal:type:ally:mybattlefield revealzone(targetedpersonshand) optionone target(*|reveal) reject optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Whenever Bala Ged Thief or another Ally enters under your control, target player reveals a number of cards from their hand equal to the number of Allies you control. You choose one of them. That player discards that card. mana={3}{B} type=Creature @@ -8532,7 +8532,7 @@ name=Baleful Stare target=opponent auto=foreach(mountain|opponenthand) draw:1 controller auto=foreach(*[red]|opponenthand) draw:1 controller -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiononeend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiononeend revealend text=Target opponent reveals their hand. You draw a card for each Mountain and red card in it. mana={2}{U} type=Sorcery @@ -8643,7 +8643,7 @@ subtype=Trap [/card] [card] name=Baloth Null -auto=moveto(ownerHand) target(creature|mygraveyard) +auto=moveto(hand) target(creature|mygraveyard) text=When Baloth Null enters, return up to two target creature cards from your graveyard to your hand. mana={4}{B}{G} type=Creature @@ -8852,7 +8852,7 @@ toughness=2 [card] name=Banishing Knack target=creature -auto=teach(creature) {T}:moveto(ownerhand) target(*[-land]|battlefield) +auto=teach(creature) {T}:moveto(hand) target(*[-land]|battlefield) text=Until end of turn, target creature gains "{T}: Return target nonland permanent to its owner's hand." mana={U} type=Instant @@ -8971,7 +8971,7 @@ type=Instant [card] name=Baral's Expertise target=*[artifact;creature] -auto=moveto(ownerhand) +auto=moveto(hand) auto=may castcard(normal) notatarget(*[-land;manacost<=4]|myhand) text=Return up to three target artifacts and/or creatures to their owners' hands. -- You may cast a card with mana value 4 or less from your hand without paying its mana cost. mana={3}{U}{U} @@ -8989,11 +8989,11 @@ toughness=2 [/card] [card] name=Barbarian Guides -auto={2}{R}{T}:name(plains) target(creature) transforms((,newability[phaseaction[end once] moveTo(ownerhand)],snowplainswalk)) ueot -auto={2}{R}{T}:name(island) target(creature) transforms((,newability[phaseaction[end once] moveTo(ownerhand)],snowislandwalk)) ueot -auto={2}{R}{T}:name(swamp) target(creature) transforms((,newability[phaseaction[end once] moveTo(ownerhand)],snowswampwalk)) ueot -auto={2}{R}{T}:name(mountain) target(creature) transforms((,newability[phaseaction[end once] moveTo(ownerhand)],snowmountainwalk)) ueot -auto={2}{R}{T}:name(forest) target(creature) transforms((,newability[phaseaction[end once] moveTo(ownerhand)],snowforestwalk)) ueot +auto={2}{R}{T}:name(plains) target(creature) transforms((,newability[phaseaction[end once] moveTo(hand)],snowplainswalk)) ueot +auto={2}{R}{T}:name(island) target(creature) transforms((,newability[phaseaction[end once] moveTo(hand)],snowislandwalk)) ueot +auto={2}{R}{T}:name(swamp) target(creature) transforms((,newability[phaseaction[end once] moveTo(hand)],snowswampwalk)) ueot +auto={2}{R}{T}:name(mountain) target(creature) transforms((,newability[phaseaction[end once] moveTo(hand)],snowmountainwalk)) ueot +auto={2}{R}{T}:name(forest) target(creature) transforms((,newability[phaseaction[end once] moveTo(hand)],snowforestwalk)) ueot text={2}{R}, {T}: Choose a land type. Target creature you control gains snow landwalk of the chosen type until end of turn. Return that creature to its owner's hand at the beginning of the next end step. mana={2}{R} type=Creature @@ -9318,7 +9318,7 @@ type=Artifact [/card] [card] name=Barrin, Master Wizard -auto={2}{S(*|myBattlefield)}:moveTo(ownerhand) target(creature) +auto={2}{S(*|myBattlefield)}:moveTo(hand) target(creature) text={2}, Sacrifice a permanent: Return target creature to its owner's hand. mana={1}{U}{U} type=Legendary Creature @@ -9628,7 +9628,7 @@ toughness=3 [card] name=Batterskull auto={5}:equip -auto={3}:name(Return to hand) moveTo(ownerhand) +auto={3}:name(Return to hand) moveTo(hand) auto=teach(creature) 4/4 auto=teach(creature) vigilance auto=teach(creature) lifelink @@ -10083,8 +10083,8 @@ type=Instant [/card] [card] name=Beast Hunt -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mygraveyard))! -auto=reveal:3 optionone name(Reveal) target(<3>creature|reveal) moveto(ownerHand) optiononeend optiontwo choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mygraveyard))! +auto=reveal:3 optionone name(Reveal) target(<3>creature|reveal) moveto(hand) optiononeend optiontwo choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Reveal the top three cards of your library. Put all creature cards revealed this way into your hand and the rest into your graveyard. mana={3}{G} type=Sorcery @@ -10267,8 +10267,8 @@ type=Enchantment name=Behold the Beyond auto=reject all(*|myhand) abilities=hiddenface -aicode=activate moveto(ownerHand) target(<3>*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<3>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(<3>*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<3>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Discard your hand. Search your library for three cards and put those cards into your hand. Then shuffle. mana={5}{B}{B} type=Sorcery @@ -10661,8 +10661,8 @@ type=Enchantment [/card] [card] name=Beseech the Queen -aicode=activate target(*[manacost<=type:land:mybattlefield]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost<=type:land:mybattlefield]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[manacost<=type:land:mybattlefield]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost<=type:land:mybattlefield]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=({(2/b)} can be paid with any two mana or with {B}. This card's mana value is 6.) -- Search your library for a card with mana value less than or equal to the number of lands you control, reveal it, and put it into your hand. Then shuffle. mana={2B}{2B}{2B} type=Sorcery @@ -10896,8 +10896,8 @@ subtype=Aura [/card] [card] name=Bitter Revelation -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos<=2]|mylibrary) && deplete:2 && life:-2])) ueot -auto=name(look) reveal:4 optionone name(Get 2 card) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<4>*|reveal) moveto(graveyard) optiontwoend afterrevealed choice life:-2 afterrevealedend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos<=2]|mylibrary) && deplete:2 && life:-2])) ueot +auto=name(look) reveal:4 optionone name(Get 2 card) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<4>*|reveal) moveto(graveyard) optiontwoend afterrevealed choice life:-2 afterrevealedend revealend text=Look at the top four cards of your library. Put two of them into your hand and the rest into your graveyard. You lose 2 life. mana={3}{B} type=Sorcery @@ -11079,7 +11079,7 @@ toughness=1 name=Blackmail target=player aicode=activate reject notatarget(*[-land]|targetedpersonshand) -auto=reveal:3 revealzone(targetedpersonshand) optionone name(Put in graveyard) target(<1>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put Back) all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=reveal:3 revealzone(targetedpersonshand) optionone name(Put in graveyard) target(<1>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put Back) all(*|reveal) moveto(hand) optiontwoend revealend text=Target player reveals three cards from their hand and you choose one of them. That player discards that card. mana={B} type=Sorcery @@ -11780,7 +11780,7 @@ type=Instant [/card] [card] name=Blinking Spirit -auto={0}:moveto(ownerhand) +auto={0}:moveto(hand) text={0}: Return Blinking Spirit to its owner's hand. mana={3}{W} type=Creature @@ -11938,8 +11938,8 @@ toughness=5 [card] name=Blizzard Specter abilities=flying -auto=@combatdamagefoeof(player) from(this):all(this) transforms((,newability[choice name(bounce) ability$! target(*|mybattlefield) moveTo(ownerhand) !$opponent],newability[choice name(discard) ability$! target(*|myhand) reject !$opponent])) ueot -auto=@combatdamageof(player) from(this):all(this) transforms((,newability[choice name(bounce) ability$! target(*|mybattlefield) moveTo(ownerhand) !$controller],newability[choice name(discard) ability$! target(*|myhand) reject !$controller])) ueot +auto=@combatdamagefoeof(player) from(this):all(this) transforms((,newability[choice name(bounce) ability$! target(*|mybattlefield) moveTo(hand) !$opponent],newability[choice name(discard) ability$! target(*|myhand) reject !$opponent])) ueot +auto=@combatdamageof(player) from(this):all(this) transforms((,newability[choice name(bounce) ability$! target(*|mybattlefield) moveTo(hand) !$controller],newability[choice name(discard) ability$! target(*|myhand) reject !$controller])) ueot text=Flying -- Whenever Blizzard Specter deals combat damage to a player, choose one - That player returns a permanent they control to its owner's hand; or that player discards a card. mana={2}{U}{B} type=Snow Creature @@ -12023,8 +12023,8 @@ toughness=1 [/card] [card] name=Blood Clock -auto=@each opponent upkeep:ability$!choice notatarget(*|mybattlefield) moveTo(ownerhand) _ choice life:-2 !$ opponent -auto=@each my upkeep:transforms((,newability[choice name(bounce) notatarget(*|mybattlefield) moveTo(ownerhand)],newability[choice life:-2])) ueot +auto=@each opponent upkeep:ability$!choice notatarget(*|mybattlefield) moveTo(hand) _ choice life:-2 !$ opponent +auto=@each my upkeep:transforms((,newability[choice name(bounce) notatarget(*|mybattlefield) moveTo(hand)],newability[choice life:-2])) ueot text=At the beginning of each player's upkeep, that player returns a permanent they control to its owner's hand unless they pay 2 life. mana={4} type=Artifact @@ -12119,14 +12119,14 @@ type=Enchantment [/card] [card] name=Blood Oath -auto=choice name(Artifact) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(artifact|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend -auto=choice name(creature) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(creature|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend -auto=choice name(enchantment) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(enchantment|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend -auto=choice name(instant) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(instant|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend -auto=choice name(land) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(land|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend -auto=choice name(planeswalker) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(planeswalker|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend -auto=choice name(sorcery) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(sorcery|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend -auto=choice name(tribal) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(tribal|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend +auto=choice name(Artifact) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(artifact|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend +auto=choice name(creature) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(creature|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend +auto=choice name(enchantment) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(enchantment|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend +auto=choice name(instant) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(instant|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend +auto=choice name(land) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(land|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend +auto=choice name(planeswalker) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(planeswalker|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend +auto=choice name(sorcery) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(sorcery|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend +auto=choice name(tribal) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Deal Damage) foreach(tribal|reveal) damage:3 opponent optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend text=Choose a card type. Target opponent reveals their hand. Blood Oath deals 3 damage to that player for each card of the chosen type revealed this way. (Artifact, creature, enchantment, instant, land, planeswalker, sorcery, and tribal are card types.) mana={3}{R} type=Instant @@ -12188,9 +12188,9 @@ toughness=1 [/card] [card] name=Blood Speaker -aicode=activate target(demon|mylibrary) moveto(ownerHand) -auto={S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>demon|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend limit:1 myUpkeepOnly -autograveyard=@movedTo(demon|mybattlefield):moveto(ownerHand) +aicode=activate target(demon|mylibrary) moveto(hand) +auto={S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>demon|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend limit:1 myUpkeepOnly +autograveyard=@movedTo(demon|mybattlefield):moveto(hand) text=At the beginning of your upkeep, you may sacrifice Blood Speaker. If you do, search your library for a Demon card, reveal that card, and put it into your hand. Then shuffle. -- Whenever a Demon enters under your control, return Blood Speaker from your graveyard to your hand. mana={3}{B} type=Creature @@ -12594,8 +12594,8 @@ toughness=3 [/card] [card] name=Bloodline Shaman -aicode=activate all(*[zpos=1]|mylibrary) moveto(myreveal) and!( if cantargetcard(creature[chosentype]|*) then moveto(ownerHand) else moveto(mygraveyard) )! -auto={T}:name(Choose a creature type) transforms((,newability[chooseatype transforms((,newability[reveal:1 optionone name(Get creature) target(creature[chosentype]|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in graveyard) target(*|reveal) moveto(mygraveyard) optiontwoend revealend])) oneshot chooseend])) oneshot +aicode=activate all(*[zpos=1]|mylibrary) moveto(myreveal) and!( if cantargetcard(creature[chosentype]|*) then moveto(hand) else moveto(mygraveyard) )! +auto={T}:name(Choose a creature type) transforms((,newability[chooseatype transforms((,newability[reveal:1 optionone name(Get creature) target(creature[chosentype]|reveal) moveto(hand) optiononeend optiontwo name(Put in graveyard) target(*|reveal) moveto(mygraveyard) optiontwoend revealend])) oneshot chooseend])) oneshot text={T}: Choose a creature type. Reveal the top card of your library. If that card is a creature card of the chosen type, put it into your hand. Otherwise, put it into your graveyard. mana={1}{G} type=Creature @@ -13004,7 +13004,7 @@ toughness=2 [card] name=Body of Jukai abilities=trample -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=8]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=8]|mygraveyard) text=Trample -- Soulshift 8 (When this dies, you may return target Spirit card with mana value 8 or less from your graveyard to your hand.) mana={7}{G}{G} type=Creature @@ -13240,7 +13240,7 @@ toughness=1 [card] name=Boggart Birth Rite target=goblin|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target Goblin card from your graveyard to your hand. mana={B} type=Tribal Sorcery @@ -13697,7 +13697,7 @@ type=Artifact [card] name=Boomerang target=* -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return target permanent to its owner's hand. mana={U}{U} type=Instant @@ -13768,8 +13768,8 @@ toughness=7 name=Borborygmos Enraged abilities=trample auto={D(land|myhand)}:target(anytarget) damage:3 -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-land]|*) then moveto(mygraveyard))! -auto=@combatdamaged(player) from(this):reveal:3 optionone name(Reveal) target(<3>land|reveal) moveto(ownerHand) optiononeend optiontwo name(Send To Grave) choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-land]|*) then moveto(mygraveyard))! +auto=@combatdamaged(player) from(this):reveal:3 optionone name(Reveal) target(<3>land|reveal) moveto(hand) optiononeend optiontwo name(Send To Grave) choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Trample -- Whenever Borborygmos Enraged deals combat damage to a player, reveal the top three cards of your library. Put all land cards revealed this way into your hand and the rest into your graveyard. -- Discard a land card: Borborygmos Enraged deals 3 damage to any target. mana={4}{R}{R}{G}{G} type=Legendary Creature @@ -13826,8 +13826,8 @@ toughness=3 [/card] [card] name=Borderland Ranger -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Borderland Ranger enters, you may search your library for a basic land card, reveal it, and put it into your hand. If you do, shuffle your library. mana={2}{G} type=Creature @@ -13924,7 +13924,7 @@ type=Instant [card] name=Boros Garrison auto=tap(noevent) -auto=moveto(ownerhand) notatarget(land|myBattlefield) +auto=moveto(hand) notatarget(land|myBattlefield) auto={T}:Add{R}{W} text=Boros Garrison enters tapped. -- When Boros Garrison enters, return a land you control to its owner's hand. -- {T}: Add {R}{W}. type=Land @@ -14292,8 +14292,8 @@ type=Artifact [/card] [card] name=Braidwood Sextant -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto={2}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto={2}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={2}, {T}, Sacrifice Braidwood Sextant: Search your library for a basic land card, reveal that card, and put it into your hand. Then shuffle. mana={1} type=Artifact @@ -14309,7 +14309,7 @@ type=Instant [card] name=Brain Maggot aicode=activate hand(blink)forsrc notatarget(*[-land]|targetedpersonshand) -auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone hand(blink)forsrc notatarget(*[-land]|reveal) 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 hand(blink)forsrc notatarget(*[-land]|reveal) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=When Brain Maggot enters, target opponent reveals their hand and you choose a nonland card from it. Exile that card until Brain Maggot leaves the battlefield. mana={1}{B} type=Enchantment Creature @@ -14350,7 +14350,7 @@ type=Artifact name=Brainbite target=opponent aicode=activate reject notatarget(*|targetedpersonshand) and!( draw:1 controller )! -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed transforms((,newability[draw:1 controller])) oneshot afterrevealedend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed transforms((,newability[draw:1 controller])) oneshot afterrevealedend revealend text=Target opponent reveals their hand. You choose a card from it. That player discards that card. -- Draw a card. mana={2}{U}{B} type=Sorcery @@ -14367,8 +14367,8 @@ name=Brainspoil target=creature[-enchanted] auto=cantregen auto=destroy -aicode=activate target(*[manacost=5]|mylibrary) moveto(ownerHand) -autohand={1}{B}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=5]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=5]|mylibrary) moveto(hand) +autohand={1}{B}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=5]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Destroy target creature that isn't enchanted. It can't be regenerated. -- Transmute {1}{B}{B} ({1}{B}{B}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={3}{B}{B} type=Sorcery @@ -14509,8 +14509,8 @@ toughness=1 [/card] [card] name=Brass Herald -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-chosentype]|*) then bottomoflibrary)! -auto=chooseatype transforms((,newability[lord(creature[chosentype]|mybattlefield) 1/1],newability[reveal:4 optionone name(Reveal) target(<4>creature[chosentype]|reveal) moveto(ownerHand) optiononeend optiontwo target(<4>*|reveal) bottomoflibrary optiontwoend revealend])) forever chooseend +aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-chosentype]|*) then bottomoflibrary)! +auto=chooseatype transforms((,newability[lord(creature[chosentype]|mybattlefield) 1/1],newability[reveal:4 optionone name(Reveal) target(<4>creature[chosentype]|reveal) moveto(hand) optiononeend optiontwo target(<4>*|reveal) bottomoflibrary optiontwoend revealend])) forever chooseend text=As Brass Herald enters, choose a creature type. -- When Brass Herald enters, reveal the top four cards of your library. Put all creature cards of the chosen type revealed this way into your hand and the rest on the bottom of your library in any order. -- Creatures of the chosen type get +1/+1. mana={6} type=Artifact Creature @@ -14944,7 +14944,7 @@ toughness=3 [card] name=Brilliant Halo target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=1/2 text=Enchant creature -- Enchanted creature gets +1/+2. -- When Brilliant Halo dies, return Brilliant Halo to its owner's hand. mana={1}{W} @@ -15198,7 +15198,7 @@ type=Sorcery [/card] [card] name=Broken Fall -auto={0}:moveTo(ownerhand) all(this) && regenerate target(creature) limit:1 +auto={0}:moveTo(hand) all(this) && regenerate target(creature) limit:1 text=Return Broken Fall to its owner's hand: Regenerate target creature. mana={2}{G} type=Enchantment @@ -15298,7 +15298,7 @@ toughness=3 [card] name=Brood of Cockroaches auto=@movedTo(this|mygraveyard) from(battlefield):phaseaction[end once] life:-1 controller -auto=@movedTo(this|mygraveyard) from(battlefield):phaseaction[end once] moveto(ownerHand) +auto=@movedTo(this|mygraveyard) from(battlefield):phaseaction[end once] moveto(hand) text=When Brood of Cockroaches is put into your graveyard from the battlefield, at the beginning of the next end step, you lose 1 life and return Brood of Cockroaches to your hand. mana={1}{B} type=Creature @@ -15396,8 +15396,8 @@ toughness=2 [card] name=Browse abilities=hiddenface -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && ingest:4])) ueot -auto={2}{u}{u}:name(look) reveal:5 optionone name(pick a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) target(<5>*|reveal) moveto(myexile) optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && ingest:4])) ueot +auto={2}{u}{u}:name(look) reveal:5 optionone name(pick a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) target(<5>*|reveal) moveto(myexile) optiontwoend revealend text={2}{U}{U}: Look at the top five cards of your library, put one of them into your hand, and exile the rest. mana={2}{U}{U} type=Enchantment @@ -15628,7 +15628,7 @@ toughness=5 [/card] [card] name=Bull Elephant -auto=aslongas(forest|mybattlefield) choice target(<2>forest|mybattlefield) moveTo(ownerhand) oneshot >1 +auto=aslongas(forest|mybattlefield) choice target(<2>forest|mybattlefield) moveTo(hand) oneshot >1 auto=choice sacrifice all(this) text=When Bull Elephant enters, sacrifice it unless you return two Forests you control to their owner's hand. mana={3}{G} @@ -15723,7 +15723,7 @@ type=Sorcery [card] name=Buried Ruin auto={T}:Add{1} -auto={2}{T}{S}:moveto(ownerHand) target(other artifact|mygraveyard) +auto={2}{T}{S}:moveto(hand) target(other artifact|mygraveyard) text={T}: Add 1. -- {2}, {T}, Sacrifice Buried Ruin: Return target artifact card from your graveyard to your hand. type=Land [/card] @@ -15854,8 +15854,8 @@ type=Enchantment [card] name=Burning Wish auto=moveTo(exile) -aicode=activate target(sorcery|mysideboard) moveto(ownerHand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>sorcery|reveal) moveto(ownerHand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend +aicode=activate target(sorcery|mysideboard) moveto(hand) +auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>sorcery|reveal) moveto(hand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend text=You may choose a sorcery card you own from outside the game, reveal that card, and put it into your hand. Exile Burning Wish. mana={1}{R} type=Sorcery @@ -15913,7 +15913,7 @@ type=Instant [/card] [card] name=Burr Grafter -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=3]|mygraveyard) auto={S}:2/2 target(other creature) text=Sacrifice Burr Grafter: Target creature gets +2/+2 until end of turn. -- Soulshift 3 (When this dies, you may return target Spirit card with mana value 3 or less from your graveyard to your hand.) mana={3}{G} @@ -16126,7 +16126,7 @@ toughness=1 [/card] [card] name=Cabal Interrogator -auto={x}{b}{t}:target(player) reveal:x revealzone(targetedpersonshand) optionone name(Put in graveyard) target(<1>*|reveal) moveto(ownerhand) and!(reject)! optiononeend optiontwo name(put Back) all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto={x}{b}{t}:target(player) reveal:x revealzone(targetedpersonshand) optionone name(Put in graveyard) target(<1>*|reveal) moveto(hand) and!(reject)! optiononeend optiontwo name(put Back) all(*|reveal) moveto(hand) optiontwoend revealend text={X}{B}, {T}: Target player reveals X cards from their hand and you choose one of them. That player discards that card. Activate this ability only any time you could cast a sorcery. mana={1}{B} type=Creature @@ -16173,7 +16173,7 @@ toughness=1 [/card] [card] name=Cabal Surgeon -auto={2}{B}{B}{T}{E(*|mygraveyard)}{E(*|mygraveyard)}:moveto(ownerHand) target(creature|mygraveyard) +auto={2}{B}{B}{T}{E(*|mygraveyard)}{E(*|mygraveyard)}:moveto(hand) target(creature|mygraveyard) text={2}{B}{B}, {T}, Exile two cards from your graveyard: Return target creature card from your graveyard to your hand. mana={2}{B}{B} type=Creature @@ -16204,7 +16204,7 @@ toughness=1 [/card] [card] name=Cache Raiders -auto=@each my upkeep:moveTo(ownerhand) notatarget(*|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(*|myBattlefield) text=At the beginning of your upkeep, return a permanent you control to its owner's hand. mana={3}{U}{U} type=Creature @@ -16271,7 +16271,7 @@ toughness=1 [card] name=Cadaver Imp abilities=flying -auto=moveto(ownerHand) target(creature|myGraveyard) +auto=moveto(hand) target(creature|myGraveyard) text=Flying -- When Cadaver Imp enters, return target creature card from your graveyard to your hand. mana={1}{B}{B} type=Creature @@ -16304,7 +16304,7 @@ target=creature auto=cantattack auto=cantpwattack auto=cantblock -auto={1}{W}:moveTo(ownerhand) +auto={1}{W}:moveTo(hand) text=Enchant creature -- Enchanted creature can't attack or block. -- {1}{W}: Return Cage of Hands to its owner's hand. mana={2}{W} type=Enchantment @@ -16468,8 +16468,8 @@ type=Enchantment [/card] [card] name=Call the Gatewatch -aicode=activate target(*[planeswalker]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[planeswalker]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[planeswalker]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[planeswalker]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a planeswalker card, reveal it, and put it into your hand. Then shuffle. mana={2}{W} type=Sorcery @@ -16501,7 +16501,7 @@ type=Instant [card] name=Call to Heel target=creature -auto=moveto(ownerhand) +auto=moveto(hand) auto=draw:1 targetController text=Return target creature to its owner's hand. Its controller draws a card. mana={1}{U} @@ -16510,7 +16510,7 @@ type=Instant [card] name=Call to Mind target=instant,sorcery|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target instant or sorcery card from your graveyard to your hand. mana={2}{U} type=Sorcery @@ -16539,7 +16539,7 @@ name=Call to the Netherworld abilities=madness autoexile=restriction{discarded} pay({0}) name(pay 0 to cast) activate name(pay 0 to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard) target=creature[black]|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target black creature card from your graveyard to your hand. -- Madness {0} (If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard.) mana={B} type=Sorcery @@ -16695,8 +16695,8 @@ subtype=Aura [card] name=Canopy Crawler auto={t}:target(creature) thisforeach(counter{1/1.1}) +1/+1 ueot -aicode=activate target(*[beast]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[beast]|myhand) optionone foreach(*[beast]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[beast]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[beast]|myhand) optionone foreach(*[beast]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Amplify 1 (As this creature enters, put a +1/+1 counter on it for each Beast card you reveal in your hand.) -- {T}: Target creature gets +1/+1 until end of turn for each +1/+1 counter on Canopy Crawler. mana={3}{G} type=Creature @@ -16877,7 +16877,7 @@ toughness=1 [card] name=Capsize target=* -auto=moveTo(ownerhand) +auto=moveTo(hand) buyback={1}{U}{U}{3} text=Buyback {3} (You may pay an additional {3} as you cast this spell. If you do, put this card into your hand as it resolves.) -- Return target permanent to its owner's hand. mana={1}{U}{U} @@ -16885,8 +16885,8 @@ type=Instant [/card] [card] name=Captain Sisay -aicode=activate target(*[legendary]|mylibrary) moveto(ownerHand) -auto={T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[legendary]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[legendary]|mylibrary) moveto(hand) +auto={T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[legendary]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={T}: Search your library for a legendary card, reveal that card, and put it into your hand. Then shuffle. mana={2}{G}{W} type=Legendary Creature @@ -17014,8 +17014,8 @@ toughness=5 [/card] [card] name=Caravan Vigil -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) and!(transforms((,newability[if morbid then may moveto(mybattlefield)])) oneshot)! -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerHand) and!(transforms((,newability[if morbid then may moveto(mybattlefield)],newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!])) oneshot)! optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) and!(transforms((,newability[if morbid then may moveto(mybattlefield)])) oneshot)! +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) moveto(hand) and!(transforms((,newability[if morbid then may moveto(mybattlefield)],newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!])) oneshot)! optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a basic land card, reveal it, put it into your hand then shuffle. -- Morbid - You may put that card onto the battlefield instead of putting it into your hand if a creature died this turn. mana={G} type=Sorcery @@ -17270,7 +17270,7 @@ toughness=2 [/card] [card] name=Carrion Thrash -auto=_DIES_pay({2}) moveto(ownerhand) target(other creature|mygraveyard) +auto=_DIES_pay({2}) moveto(hand) target(other creature|mygraveyard) text=When Carrion Thrash dies, you may pay {2}. If you do, return another target creature card from your graveyard to your hand. mana={2}{B}{R}{G} type=Creature @@ -17305,7 +17305,7 @@ toughness=2 [/card] [card] name=Cartographer -auto=may moveto(ownerHand) target(land|mygraveyard) +auto=may moveto(hand) target(land|mygraveyard) text=When Cartographer enters, you may return target land card from your graveyard to your hand. mana={2}{G} type=Creature @@ -17347,7 +17347,7 @@ subtype=Aura name=Castigate target=opponent aicode=activate moveto(exile) notatarget(*[-land]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a nonland card from it and exile that card. mana={W}{B} type=Sorcery @@ -17565,8 +17565,8 @@ toughness=5 [/card] [card] name=Cateran Summons -aicode=activate target(mercenary|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mercenary|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(mercenary|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mercenary|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a Mercenary card, reveal that card, and put it into your hand. Then shuffle. mana={B} type=Sorcery @@ -17671,7 +17671,7 @@ subtype=Aura name=Cauldron Dance restriction=during battle target=creature|mygraveyard -auto=moveto(mybattlefield) && transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) ueot +auto=moveto(mybattlefield) && transforms((,haste,newability[@next end:moveto(hand) all(this)])) ueot auto=may name(put in play) notatarget(creature|myhand) transforms((,newability[moveto(mybattlefield)],newability[phaseaction[end] sacrifice all(this)],newability[haste all(this)])) ueot mana={4}{B}{R} type=Instant @@ -17837,8 +17837,8 @@ toughness=3 [card] name=Cavern Harpy abilities=flying -auto=moveTo(ownerhand) notatarget(creature[blue;black]|myBattlefield) -auto={L:1}:moveTo(ownerhand) +auto=moveTo(hand) notatarget(creature[blue;black]|myBattlefield) +auto={L:1}:moveTo(hand) text=Flying -- When Cavern Harpy enters, return a blue or black creature you control to its owner's hand. -- Pay 1 life: Return Cavern Harpy to its owner's hand. mana={U}{B} type=Creature @@ -18056,7 +18056,7 @@ toughness=2 name=Cemetery Recruitment target=creature|mygraveyard auto=if cantargetcard(zombie|*) then draw:1 -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target creature card from your graveyard to your hand. If it's a Zombie card, draw a card. mana={1}{B} type=Sorcery @@ -18146,7 +18146,7 @@ toughness=3 [card] name=Centaur Omenreader auto=this(tapped) lord(*|mycastingzone) altercost(colorless, -2) -auto=@untapped(this):all(*|myhand) moveto(ownerHand) +auto=@untapped(this):all(*|myhand) moveto(hand) text=As long as Centaur Omenreader is tapped, creature spells you cast cost {2} less to cast. mana={3}{G} type=Snow Creature @@ -18190,7 +18190,7 @@ toughness=3 name=Centaur Vinecrasher abilities=trample auto=foreach(land|graveyard) counter(1/1) -autograveyard=@movedto(land|graveyard):pay({G}{G}) moveto(ownerhand) +autograveyard=@movedto(land|graveyard):pay({G}{G}) moveto(hand) text=Trample -- Centaur Vinecrasher enters with a number of +1/+1 counters on it equal to the number of land cards in all graveyards. -- Whenever a land card is put into a graveyard from anywhere, you may pay {G}{G}. If you do, return Centaur Vinecrasher from your graveyard to your hand. mana={3}{G} type=Creature @@ -18250,8 +18250,8 @@ type=Land [/card] [card] name=Cephalid Constable -auto=@combatdamagefoeof(player) from(this):name(bounce) ability$!name(bounce) target(*|opponentbattlefield) moveto(ownerhand) !$ controller -auto=@combatdamageof(player) from(this):name(bounce) ability$!name(bounce) target(*|mybattlefield) moveto(ownerhand) !$ controller +auto=@combatdamagefoeof(player) from(this):name(bounce) ability$!name(bounce) target(*|opponentbattlefield) moveto(hand) !$ controller +auto=@combatdamageof(player) from(this):name(bounce) ability$!name(bounce) target(*|mybattlefield) moveto(hand) !$ controller text=Whenever Cephalid Constable deals combat damage to a player, return up to that many target permanents that player controls to their owners' hands. mana={1}{U}{U} type=Creature @@ -18435,7 +18435,7 @@ toughness=3 [card] name=Cessation target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=cantattack auto=cantpwattack text=Enchant creature -- Enchanted creature can't attack. -- When Cessation is put into a graveyard from the battlefield, return Cessation to its owner's hand. @@ -18713,7 +18713,7 @@ subtype=Equipment [card] name=Champion's Victory target=creature[attacking]|opponentBattlefield -auto=moveTo(ownerhand) +auto=moveTo(hand) restriction=opponentblockersonly text=Cast Champion's Victory only during the declare attackers step and only if you've been attacked this step. -- Return target attacking creature to its owner's hand. mana={U} @@ -18758,9 +18758,9 @@ type=Instant [card] name=Chandra's Phoenix abilities=flying,haste -autograveyard=@damagefoeof(player) from(instant[red]|mystack):moveTo(ownerhand) -autograveyard=@damagefoeof(player) from(sorcery[red]|mystack):moveTo(ownerhand) -autograveyard=@damagefoeof(player) from(planeswalker[red]|mybattlefield):moveTo(ownerhand) +autograveyard=@damagefoeof(player) from(instant[red]|mystack):moveTo(hand) +autograveyard=@damagefoeof(player) from(sorcery[red]|mystack):moveTo(hand) +autograveyard=@damagefoeof(player) from(planeswalker[red]|mybattlefield):moveTo(hand) text=Flying -- Haste -- Whenever an opponent is dealt damage by a red instant or sorcery spell you control or by a red planeswalker you control, return Chandra's Phoenix from your graveyard to your hand. mana={1}{R}{R} type=Creature @@ -18989,7 +18989,7 @@ type=Artifact [card] name=Charge Across the Araba target=plains|mybattlefield -auto=moveto(ownerHand) && all(creature|mybattlefield) 1/1 ueot +auto=moveto(hand) && all(creature|mybattlefield) 1/1 ueot text=Sweep - Return any number of Plains you control to their owner's hand. Creatures you control get +1/+1 until end of turn for each Plains returned this way. mana={4}{W} type=Instant @@ -19112,7 +19112,7 @@ toughness=3 [card] name=Charnelhoard Wurm abilities=trample -auto=@damagefoeof(player) from(this):may moveto(ownerHand) target(*|mygraveyard) +auto=@damagefoeof(player) from(this):may moveto(hand) target(*|mygraveyard) text=Trample -- Whenever Charnelhoard Wurm deals damage to an opponent, you may return target card from your graveyard to your hand. mana={4}{B}{R}{G} type=Creature @@ -19123,8 +19123,8 @@ toughness=6 [card] name=Chartooth Cougar auto={R}:1/0 -aicode=activate target(mountain|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mountain|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(mountain|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>mountain|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={R}: Chartooth Cougar gets +1/+0 until end of turn. -- Mountaincycling {2} ({2}, Discard this card: Search your library for a Mountain card, reveal it, and put it into your hand. Then shuffle.) mana={5}{R} type=Creature @@ -19687,8 +19687,8 @@ toughness=2 [card] name=Chromescale Drake abilities=affinityartifacts,flying -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-artifact]|*) then moveto(mygraveyard))! -auto=name(Reveal 3 cards) reveal:3 optionone name(Artifacts) target(<3>artifact|reveal) moveto(ownerHand) optiononeend optiontwo choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-artifact]|*) then moveto(mygraveyard))! +auto=name(Reveal 3 cards) reveal:3 optionone name(Artifacts) target(<3>artifact|reveal) moveto(hand) optiononeend optiontwo choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Affinity for artifacts (This spell costs {1} less to cast for each artifact you control.) -- Flying -- When Chromescale Drake enters, reveal the top three cards of your library. Put all artifact cards revealed this way into your hand and the rest into your graveyard. mana={6}{U}{U}{U} type=Creature @@ -19793,8 +19793,8 @@ toughness=1 [card] name=Churning Eddy target=creature -auto=moveTo(ownerhand) -auto=target(land) moveTo(ownerhand) +auto=moveTo(hand) +auto=target(land) moveTo(hand) restriction=type(creature|battlefield)~morethan~0,type(land|battlefield)~morethan~0 text=Return target creature and target land to their owners' hands. mana={3}{U} @@ -19876,7 +19876,7 @@ toughness=1 [/card] [card] name=Cinder Seer -auto={2}{r}{t}:Reveal:type:*:myhand revealzone(myhand) revealtype(*[red]|myhand) optionone target(anytarget) damage:type:*[red]:reveal optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +auto={2}{r}{t}:Reveal:type:*:myhand revealzone(myhand) revealtype(*[red]|myhand) optionone target(anytarget) damage:type:*[red]:reveal optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text={2}{R}, {T}: Reveal any number of red cards in your hand. Cinder Seer deals X damage to any target, where X is the number of cards revealed this way. mana={3}{R} type=Creature @@ -20063,8 +20063,8 @@ toughness=1 [/card] [card] name=Citanul Flute -aicode=activate target(creature[manacost<=x]|mylibrary) moveto(ownerHand) -auto={X}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[manacost<=x]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[manacost<=x]|mylibrary) moveto(hand) +auto={X}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[manacost<=x]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={X}{T}: Search your library for a creature card with mana value X or less, reveal it, and put it into your hand. Then shuffle. type=Artifact mana={5} @@ -20147,8 +20147,8 @@ subtype=Equipment [/card] [card] name=Civic Wayfinder -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Civic Wayfinder enters, you may search your library for a basic land card, reveal it, and put it into your hand. If you do, shuffle your library. mana={2}{G} type=Creature @@ -20182,7 +20182,7 @@ subtype=Aura name=Clairvoyance target=player aicode=name(look) activate name(look) target(*|targetedpersonshand) donothing -auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend auto=@next upkeep:draw:1 controller text=Look at target player's hand. -- Draw a card at the beginning of the next turn's upkeep. mana={U} @@ -20695,8 +20695,8 @@ toughness=1 [/card] [card] name=Cloud Cover -auto=@targeted(other *|mybattlefield) from(*|opponentbattlefield):all(trigger[to]) may moveTo(ownerhand) -auto=@targeted(other *|mybattlefield) from(*|opponenthand):all(trigger[to]) may moveTo(ownerhand) +auto=@targeted(other *|mybattlefield) from(*|opponentbattlefield):all(trigger[to]) may moveTo(hand) +auto=@targeted(other *|mybattlefield) from(*|opponenthand):all(trigger[to]) may moveTo(hand) text=Whenever another permanent you control becomes the target of a spell or ability an opponent controls, you may return that permanent to its owner's hand. mana={2}{W}{U} type=Enchantment @@ -20972,10 +20972,10 @@ toughness=2 [/card] [card] name=Cloudstone Curio -auto=@movedto(land[-artifact]|mybattlefield) restriction{type(land|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(ownerhand) notatarget(other land|mybattlefield)])) -auto=@movedto(creature[-artifact]|mybattlefield) restriction{type(creature|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(ownerhand) notatarget(other creature|mybattlefield)])) -auto=@movedto(enchantment[-artifact]|mybattlefield) restriction{type(enchantment|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(ownerhand) notatarget(other enchantment|mybattlefield)])) -auto=@movedto(planeswalker[-artifact]|mybattlefield) restriction{type(planeswalker|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(ownerhand) notatarget(other planeswalker|mybattlefield)])) +auto=@movedto(land[-artifact]|mybattlefield) restriction{type(land|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(hand) notatarget(other land|mybattlefield)])) +auto=@movedto(creature[-artifact]|mybattlefield) restriction{type(creature|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(hand) notatarget(other creature|mybattlefield)])) +auto=@movedto(enchantment[-artifact]|mybattlefield) restriction{type(enchantment|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(hand) notatarget(other enchantment|mybattlefield)])) +auto=@movedto(planeswalker[-artifact]|mybattlefield) restriction{type(planeswalker|mybattlefield)~morethan~1}:all(trigger) transforms((,newability[may moveto(hand) notatarget(other planeswalker|mybattlefield)])) text=Whenever a nonartifact permanent enters under your control, you may return another permanent you control that shares a card type with it to its owner's hand. mana={3} type=Artifact @@ -21016,7 +21016,7 @@ type=Enchantment [card] name=Clutch of Currents target=creature|battlefield -auto=moveto(ownerhand) +auto=moveto(hand) other={4}{U} name(Awaken) auto=if paid(alternative) then target(land|mybattlefield) transforms((Elemental Creature,newability[counter(1/1.3)],haste)) forever text=Return target creature to its owner's hand. -- Awaken 3-{4}{U} (If you cast this spell for {4}{U}, also put three +1/+1 counters on target land you control and it becomes a 0/0 Elemental creature with haste. It's still a land.) @@ -21036,10 +21036,10 @@ subtype=Aura [card] name=Clutch of the Undercity target=* -auto=moveto(ownerhand) +auto=moveto(hand) auto=life:-3 targetController -aicode=activate target(*[manacost=4]|mylibrary) moveto(ownerHand) -autohand={1}{U}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=4]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=4]|mylibrary) moveto(hand) +autohand={1}{U}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=4]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Return target permanent to its owner's hand. Its controller loses 3 life. -- Transmute {1}{U}{B} ({1}{U}{B}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={1}{U}{U}{B} type=Instant @@ -21107,7 +21107,7 @@ toughness=1 [card] name=Coastal Breach anyzone=changecost(colorless:-1) forcedalive -auto=moveto(ownerhand) all(*[-land]) +auto=moveto(hand) all(*[-land]) text=Undaunted (This spell costs {1} less to cast for each opponent.) -- Return all nonland permanents to their owners' hands. mana={6}{U} type=Sorcery @@ -21124,7 +21124,7 @@ type=Sorcery [card] name=Coastal Drake abilities=flying -auto={1}{U}{T}:moveTo(ownerhand) target(kavu) +auto={1}{U}{T}:moveTo(hand) target(kavu) text=Flying -- {1}{U}, {T}: Return target Kavu to its owner's hand. mana={2}{U} type=Creature @@ -21159,7 +21159,7 @@ type=Land [/card] [card] name=Coastal Wizard -auto={T}:moveTo(ownerhand) all(this) && moveTo(ownerhand) target(creature) restriction{during my turn,before attackers} +auto={T}:moveTo(hand) all(this) && moveTo(hand) target(creature) restriction{during my turn,before attackers} text={T}: Return Coastal Wizard and another target creature to their owners' hands. Activate this ability only during your turn, before attackers are declared. mana={2}{U}{U} type=Creature @@ -21217,7 +21217,7 @@ toughness=4 [card] name=Codex Shredder auto={T}:deplete:1 target(player) -auto={5}{T}{S}:moveto(ownerHand) target(other *|mygraveyard) +auto={5}{T}{S}:moveto(hand) target(other *|mygraveyard) text={T}: Target player mills a card. -- {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand. mana={1} type=Artifact @@ -21234,7 +21234,7 @@ type=Sorcery name=Coercion target=opponent aicode=activate reject notatarget(*|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a card from it. That player discards that card. mana={2}{B} type=Sorcery @@ -21299,8 +21299,8 @@ toughness=1 [/card] [card] name=Coiling Oracle -aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(land|*) then moveto(mybattlefield))! -auto=reveal:1 optionone target(land|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(land|*) then moveto(mybattlefield))! +auto=reveal:1 optionone target(land|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(hand) optiontwoend revealend text=When Coiling Oracle enters, reveal the top card of your library. If it's a land card, put it onto the battlefield. Otherwise, put that card into your hand. mana={G}{U} type=Creature @@ -21510,7 +21510,7 @@ type=Instant [card] name=Command of Unsummoning target=creature[attacking]|opponentBattlefield -auto=moveTo(ownerhand) +auto=moveTo(hand) restriction=opponentblockersonly text=Cast Command of Unsummoning only during the declare attackers step and only if you've been attacked this step. -- Return one or two target attacking creatures to their owner's hand. mana={2}{U} @@ -21581,15 +21581,15 @@ type=Instant [/card] [card] name=Commune with Nature -aicode=activate target(creature[zpos<=5]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(creature[zpos<=5]|mylibrary) moveto(hand) +auto=name(look) reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={G} type=Sorcery [/card] [card] name=Commune with the Gods -auto=reveal:5 optionone target(*[creature;enchantment]|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=reveal:5 optionone target(*[creature;enchantment]|reveal) moveto(hand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=Reveal the top five cards of your library. You may put a creature or enchantment card from among them into your hand. Put the rest into your graveyard. mana={1}{G} type=Sorcery @@ -21606,7 +21606,7 @@ type=Instant [card] name=Compelling Deterrence target=*[-land] -auto=moveto(ownerhand) +auto=moveto(hand) auto=if type(zombie|mybattlefield)~morethan~0 then ability$!name(discard) target(*|myhand) reject!$ targetcontroller text=Return target nonland permanent to its owner's hand. Then that player discards a card if you control a Zombie. mana={1}{U} @@ -21623,7 +21623,7 @@ type=Instant [/card] [card] name=Complex Automaton -auto=@each my upkeep restriction{type(*|myBattlefield)~morethan~6}:moveto(ownerHand) +auto=@each my upkeep restriction{type(*|myBattlefield)~morethan~6}:moveto(hand) text=At the beginning of your upkeep, if you control seven or more permanents, return Complex Automaton to its owner's hand. mana={4} type=Artifact Creature @@ -21808,8 +21808,8 @@ toughness=4 [card] name=Conduit of Ruin alias=401847 -aicode=activate target(creature[colorless;manacost>=7]|mylibrary) moveto(ownerHand) -autostack=if casted(this) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[colorless;manacost>=7]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[colorless;manacost>=7]|mylibrary) moveto(hand) +autostack=if casted(this) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[colorless;manacost>=7]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=lord(creature|mycastingzone) conduited dontremove text=When you cast Conduit of Ruin, you may search your library for a colorless creature card with mana value 7 or greater, reveal it, then shuffle and put that card on top of it. -- The first creature spell you cast each turn costs {2} less to cast. mana={6} @@ -21978,7 +21978,7 @@ type=Artifact [card] name=Consign to Dream target=* -auto=teach(*[-red;-green]) moveTo(ownerhand) +auto=teach(*[-red;-green]) moveTo(hand) auto=teach(*[red;green]) moveTo(ownerlibrary) text=Return target permanent to its owner's hand. If that permanent is red or green, put it on top of its owner's library instead. mana={2}{U} @@ -22240,7 +22240,7 @@ type=Enchantment [card] name=Contempt target=creature -auto=@combat(attacking) source(mytgt) :all(trigger[to]) phaseaction[combatends once] moveTo(ownerhand) && phaseaction[combatends once] moveTo(ownerhand) all(this) +auto=@combat(attacking) source(mytgt) :all(trigger[to]) phaseaction[combatends once] moveTo(hand) && phaseaction[combatends once] moveTo(hand) all(this) text=Enchant creature -- Whenever enchanted creature attacks, return it and Contempt to their owners' hands at end of combat. mana={1}{U} type=Enchantment @@ -22320,7 +22320,7 @@ subtype=Aura name=Controvert target=*|stack auto=fizzle -autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({2}{U}{U}) name(recover) moveto(ownerhand)?name(exile) moveto(exile) +autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({2}{U}{U}) name(recover) moveto(hand)?name(exile) moveto(exile) text=Counter target spell. -- Recover {2}{U}{U} (When a creature is put into your graveyard from the battlefield, you may pay {2}{U}{U}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) mana={2}{U}{U} type=Instant @@ -22373,7 +22373,7 @@ toughness=2 name=Conviction target=creature auto=1/3 -auto={W}:moveTo(ownerhand) +auto={W}:moveTo(hand) text=Enchant creature -- Enchanted creature gets +1/+3. -- {W}: Return Conviction to its owner's hand. mana={1}{W} type=Enchantment @@ -22517,7 +22517,7 @@ type=Enchantment [card] name=Coral Atoll auto=tap(noevent) -auto=aslongas(island[-tapped]|mybattlefield) moveto(ownerHand) notatarget(island[-tapped]|mybattlefield) oneshot +auto=aslongas(island[-tapped]|mybattlefield) moveto(hand) notatarget(island[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{U} text=Coral Atoll enters tapped. -- When Coral Atoll enters, sacrifice it unless you return an untapped Island you control to its owner's hand. -- {T}: Add {1}{U}. @@ -22667,7 +22667,7 @@ toughness=4 [card] name=Corpse Churn auto=deplete:3 controller -auto=ability$!name(return creature from graveyard) notatarget(creature|mygraveyard) moveto(ownerHand)!$ controller +auto=ability$!name(return creature from graveyard) notatarget(creature|mygraveyard) moveto(hand)!$ controller text=Put the top three cards of your library into your graveyard, then you may return a creature card from your graveyard to your hand. mana={1}{B} type=Instant @@ -22687,7 +22687,7 @@ toughness=3 [card] name=Corpse Cur abilities=infect -auto=may moveTo(ownerhand) target(creature[infect]|mygraveyard) +auto=may moveTo(hand) target(creature[infect]|mygraveyard) text=Infect (This creature deals damage to creatures in form of -1/-1 counters and to players in form of poison counters.) -- When Corpse Cur enters, you may return target creature card with infect from your graveyard to you hand. mana={4} type=Artifact Creature @@ -22697,7 +22697,7 @@ toughness=2 [/card] [card] name=Corpse Harvester -auto={1}{B}{T}{S(creature|mybattlefield)}:name(fetch) transforms((,newability[ability$!notatarget(swamp|mylibrary) moveto(ownerhand)!$ controller],newability[ability$!notatarget(zombie|mylibrary) moveto(ownerhand)!$ controller])) ueot +auto={1}{B}{T}{S(creature|mybattlefield)}:name(fetch) transforms((,newability[ability$!notatarget(swamp|mylibrary) moveto(hand)!$ controller],newability[ability$!notatarget(zombie|mylibrary) moveto(hand)!$ controller])) ueot text={1}{B}, {T}, Sacrifice a creature: Search your library for a Zombie card and a Swamp card, reveal them, and put them into your hand. Then shuffle. mana={3}{B}{B} type=Creature @@ -22707,7 +22707,7 @@ toughness=3 [/card] [card] name=Corpse Hauler -auto={2}{B}{S}:moveTo(ownerhand) target(other creature|mygraveyard) +auto={2}{B}{S}:moveTo(hand) target(other creature|mygraveyard) text={2}{B}, Sacrifice Corpse Hauler. Return another target creature card from your graveyard to your hand. mana={1}{B} type=Creature @@ -22726,7 +22726,7 @@ type=Instant [card] name=Corpse Traders aicode=activate reject notatarget(*|targetedpersonshand) -auto={2}{B}{S(creature|mybattlefield)}:target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend asSorcery +auto={2}{B}{S(creature|mybattlefield)}:target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend asSorcery text={2}{B}, Sacrifice a creature: Target opponent reveals their hand. You choose a card from it. That player discards that card. Activate this ability only any time you could cast a sorcery. mana={3}{B} type=Creature @@ -22865,7 +22865,7 @@ subtype=Aura name=Corrupted Zendikon target=land auto=becomes(Creature Ooze,3/3,black) -auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerhand) +auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(hand) text=Enchant land -- Enchanted land is a 3/3 black Ooze creature. It's still a land. -- When enchanted land is put into a graveyard, return that card to its owner's hand. mana={1}{B} type=Enchantment @@ -22946,7 +22946,7 @@ type=Instant [card] name=Counterintelligence target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return one or two target creatures to their owners' hands. mana={2}{U}{U} type=Sorcery @@ -22999,8 +22999,8 @@ toughness=3 [/card] [card] name=Courageous Outrider -aicode=activate target(human[zpos<=4]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:4 optionone name(Get a Human card) target(<1>*[human]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(human[zpos<=4]|mylibrary) moveto(hand) +auto=name(look) reveal:4 optionone name(Get a Human card) target(<1>*[human]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=When Courageous Outrider enters, look at the top four cards of your library. You may reveal a Human card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={3}{W} type=Creature @@ -23076,8 +23076,8 @@ toughness=1 [/card] [card] name=Court Hussar -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot +auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend abilities=vigilance,hiddenface text=Vigilance -- When Court Hussar enters, look at the top three cards of your library, then put one of them into your hand and the rest on the bottom of your library in any order. -- When Court Hussar enters, sacrifice it unless {W} was spent to cast it. auto=ifnot spent({w}) then sacrifice all(this) @@ -23148,7 +23148,7 @@ toughness=5 [/card] [card] name=Cowardice -auto=@targeted(creature):all(trigger[to]) moveto(ownerhand) +auto=@targeted(creature):all(trigger[to]) moveto(hand) text=Whenever a creature becomes the target of a spell or ability, return that creature to its owner's hand. (It won't be affected by the spell or ability.) mana={3}{U}{U} type=Enchantment @@ -23207,7 +23207,7 @@ type=Enchantment [card] name=Crackleburr auto={UR}{UR}{T(creature[red]|mybattlefield)}{T(creature[red]|mybattlefield)}{T}:damage:3 target(anytarget) -auto={UR}{UR}{q(creature[blue]|mybattlefield)}{q(creature[blue]|mybattlefield)}{q}:moveTo(ownerhand) target(creature) +auto={UR}{UR}{q(creature[blue]|mybattlefield)}{q(creature[blue]|mybattlefield)}{q}:moveTo(hand) target(creature) text={(u/r){(u/r)}, {T}, Tap two untapped red creatures you control: Crackleburr deals 3 damage to any target. -- {(u/r){(u/r)}, {Q}, Untap two tapped blue creatures you control: Return target creature to its owner's hand. ({Q} is the untap symbol.) mana={1}{UR}{UR} type=Creature @@ -23458,7 +23458,7 @@ toughness=4 [card] name=Crawling Filth abilities=fear -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=5]|mygraveyard) text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- Soulshift 5 (When this dies, you may return target Spirit card with mana value 5 or less from your graveyard to your hand.) mana={5}{B} type=Creature @@ -23570,11 +23570,11 @@ type=Sorcery [/card] [card] name=Creeping Renaissance -auto=choice name(creature) moveto(ownerHand) all(creature|mygraveyard) -auto=choice name(artifact) moveto(ownerHand) all(artifact|mygraveyard) -auto=choice name(land) moveto(ownerHand) all(land|mygraveyard) -auto=choice name(enchantment) moveto(ownerHand) all(enchantment|mygraveyard) -auto=choice name(planeswalker) moveto(ownerHand) all(planeswalker|mygraveyard) +auto=choice name(creature) moveto(hand) all(creature|mygraveyard) +auto=choice name(artifact) moveto(hand) all(artifact|mygraveyard) +auto=choice name(land) moveto(hand) all(land|mygraveyard) +auto=choice name(enchantment) moveto(hand) all(enchantment|mygraveyard) +auto=choice name(planeswalker) moveto(hand) all(planeswalker|mygraveyard) flashback={5}{G}{G} text=Choose a permanent type. Return all cards of the chosen type from your graveyard to your hand. -- Flashback {5}{G}{G} mana={3}{G}{G} @@ -23826,7 +23826,7 @@ type=Instant [card] name=Crop Sigil auto=@each my upkeep:may deplete:1 -auto=while(restriction{delirium}) {2}{g}{s}:target(other creature|mygraveyard) transforms((,newability[moveto(ownerHand)],newability[target(land|mygraveyard) moveto(ownerHand)])) forever +auto=while(restriction{delirium}) {2}{g}{s}:target(other creature|mygraveyard) transforms((,newability[moveto(hand)],newability[target(land|mygraveyard) moveto(hand)])) forever text=At the beginning of your upkeep, you may put the top card of your library into your graveyard. -- Delirium -- {2}{G}, Sacrifice Crop Sigil: Return up to one target creature card and up to one target land card from your graveyard to your hand. Activate this ability only if there are four or more card types among cards in your graveyard. mana={G} type=Enchantment @@ -23843,7 +23843,7 @@ toughness=3 [/card] [card] name=Crosis's Catacombs -auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(hand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto=this(counter{0/0.1.payment}<1) {T}:Add{U} auto=this(counter{0/0.1.payment}<1) {T}:Add{B} @@ -23854,7 +23854,7 @@ subtype=Lair [/card] [card] name=Crosis's Charm -auto=aslongas(*|battlefield) choice moveTo(ownerhand) target(*) +auto=aslongas(*|battlefield) choice moveTo(hand) target(*) auto=aslongas(creature[-black]|battlefield) choice bury target(creature[-black]) auto=aslongas(artifact|battlefield) choice destroy target(artifact) text=Choose one - Return target permanent to its owner's hand; or destroy target nonblack creature, and it can't be regenerated; or destroy target artifact. @@ -23944,7 +23944,7 @@ toughness=0 name=Crovax, Ascendant Hero auto=lord(other creature[white]) 1/1 auto=lord(creature[-white]) -1/-1 -auto={L:2}:moveTo(ownerhand) +auto={L:2}:moveTo(hand) text=Other white creatures get +1/+1. -- Nonwhite creatures get -1/-1. -- Pay 2 life: Return Crovax, Ascendant Hero to its owner's hand. mana={4}{W}{W} type=Legendary Creature @@ -24037,7 +24037,7 @@ type=Artifact name=Crown of Flames target=creature auto={R}:1/0 -auto={R}:moveTo(ownerhand) +auto={R}:moveTo(hand) text=Enchant creature -- {R}: Enchanted creature gets +1/+0 until end of turn. -- {R}: Return Crown of Flames to its owner's hand. mana={R} type=Enchantment @@ -24161,7 +24161,7 @@ type=Instant name=Cruel Revival target=creature[-zombie] auto=bury -auto=may moveto(ownerHand) target(zombie|mygraveyard) +auto=may moveto(hand) target(zombie|mygraveyard) text=Destroy target non-Zombie creature. It can't be regenerated. Return up to one target Zombie card from your graveyard to your hand. mana={4}{B} type=Instant @@ -24210,7 +24210,7 @@ name=Cruel Ultimatum target=opponent auto=ability$!choice life:5 controller!$ controller auto=ability$!choice draw:3 controller!$ controller -auto=ability$!choice moveto(ownerhand) notatarget(creature|mygraveyard)!$ controller +auto=ability$!choice moveto(hand) notatarget(creature|mygraveyard)!$ controller auto=ability$!choice life:-5 controller!$ targetedplayer auto=ability$!choice reject notatarget(<3>*|myhand)!$ targetedplayer auto=ability$!choice sacrifice notatarget(creature|mybattlefield)!$ targetedplayer @@ -24345,7 +24345,7 @@ type=Sorcery name=Crusher Zendikon target=land auto=becomes(Creature Beast,4/2,red,trample) -auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerhand) +auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(hand) text=Enchant land -- Enchanted land is a 4/2 red Beast creature with trample. It's still a land. -- When enchanted land is put into a graveyard, return that card to its owner's hand. mana={2}{R} type=Enchantment @@ -24397,7 +24397,7 @@ type=Instant [card] name=Crypt Angel abilities=flying,protection from white -auto=moveto(ownerHand) target(creature[blue;red]|mygraveyard) +auto=moveto(hand) target(creature[blue;red]|mygraveyard) text=Flying, protection from white -- When Crypt Angel enters, return target blue or red creature card from your graveyard to your hand. mana={4}{B} type=Creature @@ -24585,7 +24585,7 @@ type=Artifact [/card] [card] name=Crystal Chimes -auto={3}{T}{S}:moveto(ownerHand) all(enchantment|mygraveyard) +auto={3}{T}{S}:moveto(hand) all(enchantment|mygraveyard) text={3}, {T}, Sacrifice Crystal Chimes: Return all enchantment cards from your graveyard to your hand. mana={3} type=Artifact @@ -24618,7 +24618,7 @@ type=Artifact name=Crystal Seer aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=4]|mylibrary) moverandom(*[zpos<=4]) from(mylibrary) to(mylibrary)])) ueot auto=name(Look) reveal:4 optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<4>*|reveal) moveto(mylibrary) optiontwoend revealend -auto={4}{u}:name(return to hand) moveto(ownerHand) all(this) +auto={4}{u}:name(return to hand) moveto(hand) all(this) text=When Crystal Seer enters, look at the top four cards of your library, then put them back in any order. -- {4}{U}: Return Crystal Seer to its owner's hand. mana={4}{U} type=Creature @@ -24628,7 +24628,7 @@ toughness=2 [/card] [card] name=Crystal Shard -auto={3U}{T}:name(bounce) target(creature) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?name(bounce) moveto(ownerhand)])) forever +auto={3U}{T}:name(bounce) target(creature) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?name(bounce) moveto(hand)])) forever text={3}, {T} or {U}, {T}: Return target creature to its owner's hand unless its controller pays {1}. mana={3} type=Artifact @@ -24771,7 +24771,7 @@ subtype=Equipment [/card] [card] name=Cultivate -auto=name(fetch to play) notatarget(land[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(land[basic]|mylibrary) moveto(ownerHand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot +auto=name(fetch to play) notatarget(land[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(land[basic]|mylibrary) moveto(hand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot text=Search your library for up to two basic land cards, reveal those cards, and put one onto the battlefield tapped and the other in your hand. Then shuffle. mana={2}{G} type=Sorcery @@ -24901,8 +24901,8 @@ type=Instant [card] name=Cunning Wish auto=moveTo(exile) -aicode=activate target(instant|mysideboard) moveto(ownerHand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>instant|reveal) moveto(ownerHand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend +aicode=activate target(instant|mysideboard) moveto(hand) +auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>instant|reveal) moveto(hand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend text=You may choose an instant card you own from outside the game, reveal that card, and put it into your hand. Exile Cunning Wish. mana={2}{U} type=Instant @@ -24919,8 +24919,8 @@ toughness=3 [/card] [card] name=Curfew -auto=moveto(ownerhand) notatarget(creature|mybattlefield) -auto=ability$! moveto(ownerhand) notatarget(creature|mybattlefield) !$ opponent +auto=moveto(hand) notatarget(creature|mybattlefield) +auto=ability$! moveto(hand) notatarget(creature|mybattlefield) !$ opponent text=Each player returns a creature they control to its owner's hand. mana={U} type=Instant @@ -25173,7 +25173,7 @@ type=Enchantment [card] name=Cut the Earthly Bond target=*[enchanted] -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return target enchanted permanent to its owner's hand. mana={U} type=Instant @@ -25181,7 +25181,7 @@ subtype=Arcane [/card] [card] name=Cut the Tethers -auto=all(spirit) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?name(bounce) moveto(ownerhand)])) forever +auto=all(spirit) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?name(bounce) moveto(hand)])) forever text=For each Spirit, return it to its owner's hand unless that player pays {3}. mana={2}{U}{U} type=Sorcery @@ -25221,8 +25221,8 @@ name=Cyclonic Rift abilities=overload other={6}{U} name(Overload) target=*[-land]|opponentbattlefield -auto=overload moveto(ownerhand) all(*[-land]|opponentbattlefield) -auto=paidmana moveto(ownerhand) +auto=overload moveto(hand) all(*[-land]|opponentbattlefield) +auto=paidmana moveto(hand) text=Return target nonland permanent you don't control to its owner's hand. -- Overload {6}{U} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") mana={1}{U} type=Instant @@ -25239,7 +25239,7 @@ toughness=1 [/card] [card] name=Cyclopean Snare -auto={3}{T}:tap target(creature) && all(this) moveto(ownerhand) +auto={3}{T}:tap target(creature) && all(this) moveto(hand) text={3}, {T}: Tap target creature, then return Cyclopean Snare to its owner's hand. mana={2} type=Artifact @@ -25660,7 +25660,7 @@ toughness=3 [/card] [card] name=Darigaaz's Caldera -auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(hand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto=this(counter{0/0.1.payment}<1) {T}:Add{B} auto=this(counter{0/0.1.payment}<1) {T}:Add{R} @@ -25671,7 +25671,7 @@ subtype=Lair [/card] [card] name=Darigaaz's Charm -auto=aslongas(creature|mygraveyard) choice moveto(ownerHand) target(creature|mygraveyard) +auto=aslongas(creature|mygraveyard) choice moveto(hand) target(creature|mygraveyard) auto=choice damage:3 target(anytarget) auto=aslongas(creature|battlefield) choice 3/3 target(creature) text=Choose one - Return target creature card from your graveyard to your hand; or Darigaaz's Charm deals 3 damage to any target; or target creature gets +3/+3 until end of turn. @@ -25745,8 +25745,8 @@ type=Instant [/card] [card] name=Dark Confidant -aicode=activate target(*[zpos=1]|mylibrary) moveto(ownerHand) and!(dynamicability)! -auto=@each my upkeep:reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:-manacost controller])) forever optiononeend optiontwo name(Claim your card) choice all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[zpos=1]|mylibrary) moveto(hand) and!(dynamicability)! +auto=@each my upkeep:reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:-manacost controller])) forever optiononeend optiontwo name(Claim your card) choice all(*|reveal) moveto(hand) optiontwoend revealend text=At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its mana value. mana={1}{B} type=Creature @@ -25836,8 +25836,8 @@ type=Sorcery [card] name=Dark Petition abilities=hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then add{B}{B}{B} text=Search your library for a card and put that card into your hand. Then shuffle. -- Spell mastery -- If there are two or more instant and/or sorcery cards in your graveyard, add {B}{B}{B}. mana={3}{B}{B} @@ -25923,8 +25923,8 @@ type=Instant [/card] [card] name=Dark Tutelage -aicode=activate target(*[zpos=1]|mylibrary) moveto(ownerHand) and!(dynamicability)! -auto=@each my upkeep:reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:-manacost controller])) forever optiononeend optiontwo name(Claim your card) choice all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[zpos=1]|mylibrary) moveto(hand) and!(dynamicability)! +auto=@each my upkeep:reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:-manacost controller])) forever optiononeend optiontwo name(Claim your card) choice all(*|reveal) moveto(hand) optiontwoend revealend text=At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its mana value. mana={2}{B} type=Enchantment @@ -26190,8 +26190,8 @@ toughness=1 [card] name=Daru Cavalier abilities=first strike -aicode=activate target(daru cavalier|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>daru cavalier|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(daru cavalier|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>daru cavalier|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=First strike -- When Daru Cavalier enters, you may search your library for a card named Daru Cavalier, reveal it, and put it into your hand. If you do, shuffle your library. mana={3}{W} type=Creature @@ -26266,8 +26266,8 @@ toughness=1 [/card] [card] name=Daru Stinger -aicode=activate target(*[human;soldier]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[human;soldier]|myhand) optionone foreach(*[human;soldier]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[human;soldier]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[human;soldier]|myhand) optionone foreach(*[human;soldier]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend auto={t}:target(creature[attacking;blocking]) thisforeach(counter{1/1.1}) damage:1 text=Amplify 1 (As this creature enters, put a +1/+1 counter on it for each Human and/or Soldier card you reveal in your hand.) -- {T}: Daru Stinger deals damage equal to the number of +1/+1 counters on it to target attacking or blocking creature. mana={3}{W} @@ -26884,8 +26884,8 @@ name=Deadwood Treefolk auto=counter(0/0,3,Time) auto=@each my upkeep:counter(0/0,-1,Time) auto=this(counter{0/0.1.Time}<=0) sacrifice -auto=moveto(ownerHand) target(other creature|myGraveyard) -auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveto(ownerHand) target(other creature|myGraveyard) +auto=moveto(hand) target(other creature|myGraveyard) +auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveto(hand) target(other creature|myGraveyard) text=Vanishing 3 (This permanent enters with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Deadwood Treefolk enters or leaves the battlefield, return another target creature card from your graveyard to your hand. mana={5}{G} type=Creature @@ -26961,7 +26961,7 @@ toughness=1 [card] name=Death Denied target=creature|mygraveyard -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return X target creature cards from your graveyard to your hand. mana={X}{B}{B} type=Instant @@ -27039,7 +27039,7 @@ type=Instant name=Death Spark target=anytarget auto=damage:1 -autograveyard={1}:moveto(ownerhand) restriction{type(creature[zpos=myposplus1plusend]|mygraveyard)~morethan~0,myupkeeponly} +autograveyard={1}:moveto(hand) restriction{type(creature[zpos=myposplus1plusend]|mygraveyard)~morethan~0,myupkeeponly} text=Death Spark deals 1 damage to any target. -- At the beginning of your upkeep, if Death Spark is in your graveyard with a creature card directly above it, you may pay {1}. If you do, return Death Spark to your hand. mana={R} type=Instant @@ -27095,8 +27095,8 @@ type=Instant name=Death Wish auto=moveTo(exile) auto=life:-halfdownlifetotal -aicode=activate target(*|mysideboard) moveto(ownerHand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*|reveal) moveto(ownerHand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend +aicode=activate target(*|mysideboard) moveto(hand) +auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*|reveal) moveto(hand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend text=You may choose a card you own from outside the game and put it into your hand. You lose half your life, rounded up. Exile Death Wish. mana={1}{B}{B} type=Sorcery @@ -27114,7 +27114,7 @@ name=Death of a Thousand Stings target=player auto=life:-1 auto=life:1 controller -autograveyard=@each my upkeep:if type(*|myhand)~morethan~type(*|opponenthand) then may moveto(ownerHand) +autograveyard=@each my upkeep:if type(*|myhand)~morethan~type(*|opponenthand) then may moveto(hand) text=Target player loses 1 life and you gain 1 life. -- At the beginning of your upkeep, if you have more cards in hand than each opponent, you may return Death of a Thousand Stings from your graveyard to your hand. mana={4}{B} type=Instant @@ -27141,7 +27141,7 @@ type=Sorcery [card] name=Death's Duet target=<2>creature|mygraveyard -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return two target creature cards from your graveyard to your hand. mana={2}{B} type=Sorcery @@ -27328,7 +27328,7 @@ type=Enchantment name=Deathknell Kami abilities=flying auto={2}:1/1 && treason -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=1]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=1]|mygraveyard) text=Flying -- {2}: Deathknell Kami gets +1/+1 until end of turn. Sacrifice it at the beginning of the next end step. -- Soulshift 1 (When this dies, you may return target Spirit card with mana value 1 or less from your graveyard to your hand.) mana={1}{B} type=Creature @@ -27357,7 +27357,7 @@ toughness=7 [card] name=Deathless Behemoth abilities=vigilance -autograveyard={S(Eldrazi Scion|mybattlefield)}{S(Eldrazi Scion|mybattlefield)}:moveto(ownerHand) asSorcery +autograveyard={S(Eldrazi Scion|mybattlefield)}{S(Eldrazi Scion|mybattlefield)}:moveto(hand) asSorcery text=Vigilance -- Sacrifice two Eldrazi Scions: Return Deathless Behemoth from your graveyard to your hand. Activate this ability only any time you could cast a sorcery. mana={6} type=Creature @@ -27481,7 +27481,7 @@ type=Enchantment [card] name=Decaying Soil auto=@each my upkeep:moveto(exile) notatarget(*|mygraveyard) -auto=@movedto(creature[-token]|mygraveyard) from(battlefield) restriction{type(*|mygraveyard)~morethan~6}:all(trigger[from]) pay[[{1}]] activate moveto(ownerhand) oneshot +auto=@movedto(creature[-token]|mygraveyard) from(battlefield) restriction{type(*|mygraveyard)~morethan~6}:all(trigger[from]) pay[[{1}]] activate moveto(hand) oneshot text=At the beginning of your upkeep, exile a card from your graveyard. -- Threshold - As long as seven or more cards are in your graveyard, Decaying Soil has "Whenever a nontoken creature is put into your graveyard from the battlefield, you may pay {1}. If you do, return that card to your hand." mana={1}{B}{B} type=Enchantment @@ -27538,7 +27538,7 @@ type=Sorcery [card] name=Decoction Module auto=@movedTo(creature|myBattlefield):alterenergy:1 controller -auto={4}{T}:moveto(ownerhand) target(creature|mybattlefield) +auto={4}{T}:moveto(hand) target(creature|mybattlefield) text=Whenever a creature enters under your control, you get {E} (an energy counter). -- {4}, {T}: Return target creature you control to its owner's hand. mana={2} type=Artifact @@ -28178,7 +28178,7 @@ toughness=7 [card] name=Deja Vu target=sorcery|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target sorcery card from your graveyard to your hand. mana={2}{U} type=Sorcery @@ -28252,7 +28252,7 @@ toughness=1 [card] name=Dematerialize target=* -auto=moveTo(ownerhand) +auto=moveTo(hand) flashback={5}{U}{U} text=Return target permanent to its owner's hand. -- Flashback {5}{U}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={3}{U} @@ -28390,8 +28390,8 @@ subtype=Aura [card] name=Demonic Collusion abilities=hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend buyback={3}{B}{B}{D(other *|myhand)}{D(other *|myhand)} text=Buyback - Discard two cards. (You may discard two cards in addition to any other costs as you cast this spell. If you do, put this card into your hand as it resolves.) -- Search your library for a card and put that card into your hand. Then shuffle. mana={3}{B}{B} @@ -28449,8 +28449,8 @@ subtype=Aura [card] name=Demonic Tutor abilities=hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a card and put that card into your hand. Then shuffle. mana={1}{B} type=Sorcery @@ -28506,7 +28506,7 @@ abilities=strong facedown={3} autofacedown={1}{G}:morph autofaceup=counter(1/1) -autofaceup=moveto(ownerhand) target(*|mygraveyard) +autofaceup=moveto(hand) target(*|mygraveyard) text=Creatures with power less than Den Protector's power can't block it. Megamorph {1}{G} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.) -- When Den Protector is turned face up, return target card from your graveyard to your hand. mana={1}{G} type=Creature @@ -28516,7 +28516,7 @@ toughness=1 [/card] [card] name=Denizen of the Deep -auto=moveto(ownerHand) all(other creature|myBattlefield) +auto=moveto(hand) all(other creature|myBattlefield) text=When Denizen of the Deep enters, return each other creature you control to its owner's hand. mana={6}{U}{U} type=Creature @@ -28549,7 +28549,7 @@ type=Instant [card] name=Deny Reality target=*|battlefield -auto=moveTo(ownerhand) +auto=moveTo(hand) autostack=if casted(this) then cascade:plibrarycount text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom in a random order.) -- Return target permanent to its owner's hand. mana={3}{U}{B} @@ -28568,8 +28568,8 @@ type=Sorcery name=Depala, Pilot Exemplar auto=lord(other dwarf|mybattlefield) 1/1 auto=lord(creature[vehicle]|mybattlefield) 1/1 -aicode=activate target(*[zpos<=x]|mylibrary) moveto(ownerHand) and!( if cantargetcard(*[-dwarf&-vehicle]|*) then bottomoflibrary )! -auto=@tapped(this):may name(Pay and reveal) pay({X}) name(Pay and reveal) reveal:x optionone name(Get dwarves and vehicles) target(*[dwarf;vehicle]|reveal) moveto(ownerhand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +aicode=activate target(*[zpos<=x]|mylibrary) moveto(hand) and!( if cantargetcard(*[-dwarf&-vehicle]|*) then bottomoflibrary )! +auto=@tapped(this):may name(Pay and reveal) pay({X}) name(Pay and reveal) reveal:x optionone name(Get dwarves and vehicles) target(*[dwarf;vehicle]|reveal) moveto(hand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Other Dwarves you control get +1/+1. -- Each Vehicle you control gets +1/+1 as long as it's a creature. -- Whenever Depala, Pilot Exemplar becomes tapped, you may pay {X}. If you do, reveal the top X cards of your library, put all Dwarf and Vehicle cards from among them into your hand, then put the rest on the bottom of your library in a random order. mana={1}{R}{W} type=Legendary Creature @@ -28603,7 +28603,7 @@ type=Instant [card] name=Deputy of Acquittals abilities=flash -auto=may moveTo(ownerhand) target(creature|mybattlefield) +auto=may moveTo(hand) target(creature|mybattlefield) text=Flash -- When Deputy of Acquittals enters, you may return another target creature you control to its owner's hand. mana={W}{U} type=Creature @@ -28750,7 +28750,7 @@ type=Sorcery [/card] [card] name=Desecrator Hag -auto=moveTo(ownerhand) target(creature[power=power:highest:creature:mygraveyard]|mygraveyard) oneshot +auto=moveTo(hand) target(creature[power=power:highest:creature:mygraveyard]|mygraveyard) oneshot text=When Desecrator Hag enters, return to your hand the creature card in your graveyard with the greatest power. If two or more cards are tied for greatest power, you choose one of them. mana={2}{BG}{BG} type=Creature @@ -28891,7 +28891,7 @@ toughness=2 name=Despise target=opponent aicode=activate reject notatarget(*[creature;planeswalker]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[creature;planeswalker]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[creature;planeswalker]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a creature or planeswalker card from it. That player discards that card. mana={B} type=Sorcery @@ -28919,7 +28919,7 @@ toughness=1 [card] name=Despondency target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=-2/0 text=Enchant creature -- Enchanted creature gets -2/-0. -- When Despondency is put into a graveyard from the battlefield, return Despondency to its owner's hand. mana={1}{B} @@ -29054,7 +29054,7 @@ type=Sorcery [/card] [card] name=Devastation Tide -auto=moveTo(ownerhand) all(*[-land]) +auto=moveTo(hand) all(*[-land]) autohand=restriction{miracle} pay[[{1}{U}]] name(Miracle) activate name(Miracle) castcard(restricted) text=Return all nonland permanents to their owners' hands. -- Miracle {1}{U} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.) mana={3}{U}{U} @@ -29292,8 +29292,8 @@ type=Instant [card] name=Diabolic Intent abilities=hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=As an additional cost to cast Diabolic Intent, sacrifice a creature. -- Search your library for a card and put that card into your hand. Then shuffle. mana={1}{B}{S(creature|mybattlefield)} type=Sorcery @@ -29311,8 +29311,8 @@ toughness=4 [card] name=Diabolic Revelation abilities=hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto=this(variable{castx} >0) name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto=this(variable{castx} >0) name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for up to X cards and put those cards into your hand. Then shuffle. mana={X}{3}{B}{B} type=Sorcery @@ -29320,8 +29320,8 @@ type=Sorcery [card] name=Diabolic Tutor abilities=hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a card and put that card into your hand. Then shuffle. mana={2}{B}{B} type=Sorcery @@ -29330,7 +29330,7 @@ type=Sorcery name=Diabolic Vision abilities=hiddenface aicode=name(look) activate name(look) transforms((,newability[moverandom(*[zpos<=5]) from(mylibrary) to(myhand)])) ueot -auto=name(look) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +auto=name(look) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top five cards of your library. Put one of them into your hand and the rest on top of your library in any order. mana={U}{B} type=Sorcery @@ -29417,8 +29417,8 @@ type=Artifact [/card] [card] name=Dig Through Time -aicode=activate target(<2>*[zpos<=7]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:7 optionone name(Get Card) target(<2>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<2>*[zpos<=7]|mylibrary) moveto(hand) +auto=name(look) reveal:7 optionone name(Get Card) target(<2>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend revealend text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Look at the top seven cards of your library. Put two of them into your hand and the rest on the bottom of your library in any order. mana={6}{U}{U} other={delve} name(Delve) @@ -29449,7 +29449,7 @@ toughness=5 [card] name=Dimensional Infiltrator abilities=devoid,flash,flying -auto={1}{C}:name(exile) target(opponent) reveal:1 optionone all(*|reveal) moveto(ownerexile) and!( if cantargetcard(land|*) then may moveto(ownerhand) all(this) )! optiononeend revealend +auto={1}{C}:name(exile) target(opponent) reveal:1 optionone all(*|reveal) moveto(ownerexile) and!( if cantargetcard(land|*) then may moveto(hand) all(this) )! optiononeend revealend text=Devoid (This card has no color.) -- Flash -- Flying -- {1}{C}: Target opponent exiles the top card of their library. If it's a land card, you may return Dimensional Infiltrator to its owner's hand. ({C} represents colorless mana.) mana={1}{U} type=Creature @@ -29480,7 +29480,7 @@ type=Sorcery [card] name=Dimir Aqueduct auto=tap(noevent) -auto=moveto(ownerhand) notatarget(land|myBattlefield) +auto=moveto(hand) notatarget(land|myBattlefield) auto={T}:Add{U}{B} text=Dimir Aqueduct enters tapped. -- When Dimir Aqueduct enters, return a land you control to its owner's hand. -- {T}: Add {U}{B}. type=Land @@ -29538,8 +29538,8 @@ toughness=2 [card] name=Dimir House Guard abilities=fear -aicode=activate target(*[manacost=4]|mylibrary) moveto(ownerHand) -autohand={1}{B}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=4]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=4]|mylibrary) moveto(hand) +autohand={1}{B}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=4]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- Sacrifice a creature: Regenerate Dimir House Guard. -- Transmute {1}{B}{B} ({1}{B}{B}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={3}{B} type=Creature @@ -29550,8 +29550,8 @@ toughness=3 [card] name=Dimir Infiltrator abilities=unblockable -aicode=activate target(*[manacost=2]|mylibrary) moveto(ownerHand) -autohand={1}{U}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=2]|mylibrary) moveto(hand) +autohand={1}{U}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Dimir Infiltrator is unblockable. -- Transmute {1}{U}{B} ({1}{U}{B}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={U}{B} type=Creature @@ -29573,7 +29573,7 @@ name=Dimir Machinations target=player aicode=activate choice all(*[zpos<=3]|targetedpersonslibrary) moveto(exile) auto=name(look) reveal:3 revealzone(targetedpersonslibrary) optionone name(Exile Cards) target(*|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<3>*|reveal) moveto(ownerlibrary) optiontwoend revealend -autohand={1}{B}{B}{discard}:moveto(ownerHand) target(*[manacost=3]|mylibrary) asSorcery +autohand={1}{B}{B}{discard}:moveto(hand) target(*[manacost=3]|mylibrary) asSorcery text=Look at the top three cards of target player's library. Exile any number of those cards, then put the rest back in any order. -- Transmute {1}{B}{B} ({1}{B}{B}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={2}{B} type=Sorcery @@ -29613,7 +29613,7 @@ type=Artifact [/card] [card] name=Dinrova Horror -auto=target(*) moveto(ownerhand) and!(ability$!reject notatarget(*|myhand)!$ targetcontroller)! +auto=target(*) moveto(hand) and!(ability$!reject notatarget(*|myhand)!$ targetcontroller)! text=When Dinrova Horror enters, return target permanent to its owner's hand, then that player discards a card. mana={4}{U}{B} type=Creature @@ -29625,7 +29625,7 @@ toughness=4 name=Diplomacy of the Wastes target=opponent aicode=activate reject notatarget(*[-land]|targetedpersonshand) and!( if type(warrior|mybattlefield)~morethan~0 then life:-2 targetedplayer )! -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed transforms((,newability[if type(*[warrior]|mybattlefield)~morethan~0 then life:-2 opponent])) oneshot afterrevealedend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed transforms((,newability[if type(*[warrior]|mybattlefield)~morethan~0 then life:-2 opponent])) oneshot afterrevealedend revealend text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. If you control a Warrior, that player loses 2 life. mana={2}{B} type=Sorcery @@ -29750,7 +29750,7 @@ toughness=3 [card] name=Disappear target=creature -auto={U}:moveTo(ownerhand) all(this) && moveTo(ownerhand) +auto={U}:moveTo(hand) all(this) && moveTo(hand) text=Enchant creature -- {U}: Return enchanted creature and Disappear to their owners' hands. mana={2}{U}{U} type=Enchantment @@ -29832,7 +29832,7 @@ toughness=2 [/card] [card] name=Disciple of Phenax -auto=target(player) reveal:type:manab:mybattlefield revealzone(targetedpersonshand) optionone choice name(choose Discards) target(<1>*|reveal) moveto(ownerhand) and!(reject)! optiononeend optiontwo all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=target(player) reveal:type:manab:mybattlefield revealzone(targetedpersonshand) optionone choice name(choose Discards) target(<1>*|reveal) moveto(hand) and!(reject)! optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=When Disciple of Phenax enters, target player reveals a number of cards from their hand equal to your devotion to black. You choose one of them. That player discards that card. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.) mana={2}{B}{B} type=Creature @@ -29887,6 +29887,7 @@ toughness=1 [card] name=Discombobulate target=*|stack +auto=fizzle auto=name(Look at My top cards) reveal:4 optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<4>*|reveal) moveto(mylibrary) optiontwoend revealend text=Counter target spell. Look at the top four cards of your library, then put them back in any order. mana={2}{U}{U} @@ -29967,7 +29968,7 @@ type=Instant [card] name=Disentomb target=creature|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target creature card from your graveyard to your hand. mana={B} type=Sorcery @@ -30122,7 +30123,7 @@ type=Instant [/card] [card] name=Dispersal Technician -auto=may moveto(ownerhand) target(artifact) +auto=may moveto(hand) target(artifact) text=When Dispersal Technician enters, you may return target artifact to its owner's hand. mana={4}{U} type=Creature @@ -30133,14 +30134,14 @@ toughness=2 [card] name=Disperse target=*[-land] -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return target nonland permanent to its owner's hand. mana={1}{U} type=Instant [/card] [card] name=Dispersing Orb -auto={3}{U}{S(*|myBattlefield)}:moveTo(ownerhand) target(*) +auto={3}{U}{S(*|myBattlefield)}:moveTo(hand) target(*) text={3}{U}, Sacrifice a permanent: Return target permanent to its owner's hand. mana={3}{U}{U} type=Enchantment @@ -30155,7 +30156,7 @@ type=Instant [/card] [card] name=Displacement Wave -auto=moveto(ownerhand) all(*[manacost<=X;-land]|battlefield) +auto=moveto(hand) all(*[manacost<=X;-land]|battlefield) text=Return all nonland permanents with mana value X or less to their owners' hands. mana={X}{U}{U} type=Sorcery @@ -30209,7 +30210,7 @@ type=Instant [card] name=Dissipation Field mana={2}{U}{U} -auto=@damageof(player) from(*|battlefield):all(trigger[from]) moveto(ownerhand) +auto=@damageof(player) from(*|battlefield):all(trigger[from]) moveto(hand) type=Enchantment text=Whenever a permanent deals damage to you, return it to its owner's hand. [/card] @@ -30264,7 +30265,7 @@ type=Artifact [card] name=Distorting Wake target=*[-land] -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return X target nonland permanents to their owners' hands. mana={X}{U}{U}{U} type=Sorcery @@ -30283,7 +30284,7 @@ type=Sorcery name=Distress target=player aicode=activate reject notatarget(*[-land]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose a nonland card from it. That player discards that card. mana={B}{B} type=Sorcery @@ -30291,7 +30292,7 @@ type=Sorcery [card] name=Disturbed Burial target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) buyback={1}{B}{3} text=Buyback {3} (You may pay an additional {3} as you cast this spell. If you do, put this card into your hand as it resolves.) -- Return target creature card from your graveyard to your hand. mana={1}{B} @@ -30300,8 +30301,8 @@ type=Sorcery [card] name=Disturbing Plot target=creature|graveyard -auto=moveTo(ownerhand) -auto=alternative moveTo(ownerhand) target(creature|graveyard) +auto=moveTo(hand) +auto=alternative moveTo(hand) target(creature|graveyard) other={1}{B}{T(creature[black]|mybattlefield)}{T(creature[black]|mybattlefield)} name(Pay Conspire) otherrestriction=type(creature[black]|myBattlefield)~morethan~1 text=Return target creature card in a graveyard to its owner's hand. -- Conspire (As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy.) @@ -30469,8 +30470,8 @@ toughness=4 name=Dizzy Spell target=creature auto=-3/0 -aicode=activate target(*[manacost=1]|mylibrary) moveto(ownerHand) -autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=1]|mylibrary) moveto(hand) +autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Target creature gets -3/-0 until end of turn. -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={U} type=Instant @@ -30698,8 +30699,8 @@ toughness=10 name=Doomsday Specter abilities=flying aicode=activate reject notatarget(*|opponenthand) -auto=@combatdamagefoeof(player) from(this):name(look) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(<1>*|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend -auto=moveTo(ownerhand) notatarget(creature[blue;black]|myBattlefield) +auto=@combatdamagefoeof(player) from(this):name(look) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(<1>*|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend +auto=moveTo(hand) notatarget(creature[blue;black]|myBattlefield) text=Flying -- When Doomsday Specter enters, return a blue or black creature you control to its owner's hand. -- Whenever Doomsday Specter deals combat damage to a player, look at that player's hand and choose a card from it. The player discards that card. mana={2}{U}{B} type=Creature @@ -30768,7 +30769,7 @@ toughness=2 [card] name=Dormant Volcano auto=tap(noevent) -auto=aslongas(mountain[-tapped]|mybattlefield) moveto(ownerHand) notatarget(mountain[-tapped]|mybattlefield) oneshot +auto=aslongas(mountain[-tapped]|mybattlefield) moveto(hand) notatarget(mountain[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{R} text=Dormant Volcano enters tapped. -- When Dormant Volcano enters, sacrifice it unless you return an untapped Mountain you control to its owner's hand. -- {T}: Add {1}{R}. @@ -30913,7 +30914,7 @@ name=Downsize abilities=overload other={2}{U} name(Overload) target=creature|opponentbattlefield -auto=overload -4/0 all(creature|opponentbattlefield) ueot +auto=overload all(creature|opponentbattlefield) -4/0 ueot auto=paidmana -4/0 ueot text=Target creature you don't control gets -4/-0 until end of turn. -- Overload {2}{U} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") mana={U} @@ -30921,7 +30922,7 @@ type=Instant [/card] [card] name=Dowsing Shaman -auto={2}{G}{T}:moveto(ownerHand) target(enchantment|mygraveyard) +auto={2}{G}{T}:moveto(hand) target(enchantment|mygraveyard) text={2}{G}, {T}: Return target enchantment card from your graveyard to your hand. mana={4}{G} type=Creature @@ -30964,7 +30965,7 @@ type=Instant [card] name=Drag Under target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=draw:1 controller text=Return target creature to its owner's hand. -- Draw a card. mana={2}{U} @@ -31133,7 +31134,7 @@ subtype=Aura [/card] [card] name=Dragon Mask -auto={3}{T}:target(creature|mybattlefield) transforms((,newability[2/2],newability[@next end:moveTo(ownerhand)])) ueot +auto={3}{T}:target(creature|mybattlefield) transforms((,newability[2/2],newability[@next end:moveTo(hand)])) ueot text={3}, {T}: Target creature you control gets +2/+2 until end of turn. Return it to its owner's hand at the beginning of the next end step. (Return it only if it's on the battlefield.) mana={3} type=Artifact @@ -31322,8 +31323,8 @@ toughness=5 name=Dragonlord Ojutai abilities=flying,hiddenface auto=this(untapped) hexproof -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot -auto=@combatdamaged(player) from(this):name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot +auto=@combatdamaged(player) from(this):name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=Flying -- Dragonlord Ojutai has hexproof as long as it's untapped. -- Whenever Dragonlord Ojutai deals combat damage to a player, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={3}{W}{U} type=Legendary Creature @@ -31481,7 +31482,7 @@ toughness=1 [card] name=Drake Familiar abilities=flying -auto=aslongas(enchantment|mybattlefield) moveTo(ownerhand) notatarget(enchantment|battlefield) oneshot +auto=aslongas(enchantment|mybattlefield) moveTo(hand) notatarget(enchantment|battlefield) oneshot auto=moveTo(graveyard) notatarget(this|myBattlefield) text=Flying -- When Drake Familiar enters, sacrifice it unless you return an enchantment to its owner's hand. mana={1}{U} @@ -31572,7 +31573,7 @@ type=Instant [card] name=Dramatic Rescue target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=life:2 controller text=Return target creature to its owner's hand. You gain 2 life. mana={W}{U} @@ -31874,7 +31875,7 @@ toughness=5 [/card] [card] name=Dream Stalker -auto=moveTo(ownerhand) target(*|mybattlefield) +auto=moveTo(hand) target(*|mybattlefield) text=When Dream Stalker enters, return a permanent you control to its owner's hand. mana={1}{U} type=Creature @@ -32029,7 +32030,7 @@ toughness=3 name=Dregs of Sorrow target=creature[-black] auto=destroy -auto=draw:X controller +auto=draw:1 controller text=Destroy X target nonblack creatures. Draw X cards. mana={X}{4}{B} type=Sorcery @@ -32068,8 +32069,8 @@ toughness=3 [card] name=Drift of Phantasms abilities=defender,flying -aicode=activate target(*[manacost=3]|mylibrary) moveto(ownerHand) -autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=3]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=3]|mylibrary) moveto(hand) +autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=3]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Defender (This creature can't attack.) -- Flying -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={2}{U} type=Creature @@ -32252,7 +32253,7 @@ toughness=3 [/card] [card] name=Dromar's Cavern -auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(hand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto=this(counter{0/0.1.payment}<1) {T}:Add{W} auto=this(counter{0/0.1.payment}<1) {T}:Add{U} @@ -32273,7 +32274,7 @@ type=Instant [card] name=Dromar, the Banisher abilities=flying -auto=@combatdamaged(player) from(this):pay({2}{U}) activatechooseacolor all(creature[chosencolor]|battlefield) moveTo(ownerhand) activatechooseend +auto=@combatdamaged(player) from(this):pay({2}{U}) activatechooseacolor all(creature[chosencolor]|battlefield) moveTo(hand) activatechooseend text=Flying -- Whenever Dromar, the Banisher deals combat damage to a player, you may pay {2}{U}. If you do, choose a color, then return all creatures of that color to their owners' hands. mana={3}{W}{U}{B} type=Legendary Creature @@ -32964,7 +32965,7 @@ type=Enchantment name=Duress target=opponent aicode=activate reject notatarget(*[-creature;-land]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature;-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature;-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a noncreature, nonland card from it. That player discards that card. mana={B} type=Sorcery @@ -33116,8 +33117,8 @@ name=Duskwatch Recruiter backside=Krallenhorde Howler restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -aicode=activate target(creature[zpos<=3]|mylibrary) moveto(ownerHand) -auto={2}{G}:name(look) reveal:3 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(creature[zpos<=3]|mylibrary) moveto(hand) +auto={2}{G}:name(look) reveal:3 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend auto=@each upkeep restriction{lastturn(*|stack)~lessthan~1}:name(Transform Human Werewolf) flip(backside) text={2}{G}: Look at the top three cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in any order. -- At the beginning of each upkeep, if no spells were cast last turn, transform Duskwatch Recruiter. // Krallenhorde Howler mana={1}{G} @@ -33157,7 +33158,7 @@ subtype=Aura [card] name=Dust Elemental abilities=flash,flying,fear -auto=moveTo(ownerhand) target(<3>creature|myBattlefield) +auto=moveTo(hand) target(<3>creature|myBattlefield) text=Flash (You may cast this spell any time you could cast an instant.) -- Flying; fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- When Dust Elemental enters, return three creatures you control to their owner's hand. mana={2}{W}{W} type=Creature @@ -33168,7 +33169,7 @@ toughness=6 [card] name=Dust Stalker abilities=haste -auto=@each end restriction{type(other creature[colorless]|mybattlefield)~lessthan~1}:moveto(ownerhand) +auto=@each end restriction{type(other creature[colorless]|mybattlefield)~lessthan~1}:moveto(hand) text=Devoid (This card has no color.) -- Haste -- At the beginning of each end step, if you control no other colorless creatures, return Dust Stalker to its owner's hand. mana={2}{B}{R} abilities=devoid @@ -33187,7 +33188,7 @@ type=Sorcery [/card] [card] name=Dutiful Attendant -auto=_DIES_moveto(ownerHand) target(other creature|mygraveyard) +auto=_DIES_moveto(hand) target(other creature|mygraveyard) text=When Dutiful Attendant dies, return another target creature card from your graveyard to your hand. mana={2}{B} type=Creature @@ -33198,7 +33199,7 @@ toughness=2 [card] name=Dutiful Return target=creature|mygraveyard -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to two target creature cards from your graveyard to your hand. mana={3}{B} type=Sorcery @@ -33914,7 +33915,7 @@ text=Level up {1}{U} -- [Level 2-3] {U}{U}, {T}: Copy target instant or sorcery name=Echo Tracer facedown={3} autofacedown={2}{U}:morph -autofaceup=moveTo(ownerhand) target(creature) +autofaceup=moveTo(hand) target(creature) text=Morph {2}{U} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Echo Tracer is turned face up, return target creature to its owner's hand. mana={2}{U} type=Creature @@ -33966,8 +33967,8 @@ type=Sorcery [card] name=Echoing Truth target=*[-land] -auto=moveTo(ownerhand) -auto=all(*[share!name!]) moveTo(ownerhand) +auto=moveTo(hand) +auto=all(*[share!name!]) moveTo(hand) text=Return target nonland permanent and all other permanents with the same name as that permanent to their owners' hands. mana={1}{U} type=Instant @@ -34044,8 +34045,8 @@ type=Instant [/card] [card] name=Eerie Procession -aicode=activate target(arcane|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>arcane|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(arcane|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>arcane|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for an Arcane card, reveal that card, and put it into your hand. Then shuffle. mana={2}{U} type=Sorcery @@ -34140,7 +34141,7 @@ type=Legendary Land [card] name=Eiganjo Free-Riders abilities=flying -auto=@each my upkeep:moveTo(ownerhand) notatarget(creature[white]|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(creature[white]|myBattlefield) text=Flying -- At the beginning of your upkeep, return a white creature you control to its owner's hand. mana={3}{W} type=Creature @@ -34199,8 +34200,8 @@ toughness=1 [/card] [card] name=Eladamri's Call -aicode=activate target(creature|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle. mana={G}{W} type=Instant @@ -34303,9 +34304,9 @@ subtype=Aura [/card] [card] name=Elder Pine of Jukai -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-land]|*) then bottomoflibrary)! -auto=@movedTo(arcane,spirit|mystack):reveal:4 optionone name(Get Lands) target(<4>land|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=2]|mygraveyard) +aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-land]|*) then bottomoflibrary)! +auto=@movedTo(arcane,spirit|mystack):reveal:4 optionone name(Get Lands) target(<4>land|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=_DIES_may moveto(hand) target(spirit[manacost<=2]|mygraveyard) text=Whenever you cast a Spirit or Arcane spell, reveal the top three cards of your library. Put all land cards revealed this way into your hand and the rest on the bottom of your library in any order. -- Soulshift 2 (When this creature dies, you may return target Spirit card with mana value 2 or less from your graveyard to your hand.) mana={2}{G} type=Creature @@ -34316,7 +34317,7 @@ toughness=1 [card] name=Elder Spawn auto=cantbeblockedby(creature[red]) -auto=upcost[{S(island|mybattlefield)}] sacrifice && damage:6 controller +auto=upcostmulti[{S(island|mybattlefield)}] sacrifice && damage:6 controller text=At the beginning of your upkeep, unless you sacrifice an Island, sacrifice Elder Spawn and it deals 6 damage to you. -- Elder Spawn can't be blocked by red creatures. mana={4}{U}{U}{U} type=Creature @@ -34677,8 +34678,8 @@ type=Land [/card] [card] name=Elfhame Sanctuary -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) and!(nextphasealter(remove,draw,controller))! -auto=@each my upkeep:may name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerHand) and!(nextphasealter(remove,draw,controller))! optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) and!(nextphasealter(remove,draw,controller))! +auto=@each my upkeep:may name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) moveto(hand) and!(nextphasealter(remove,draw,controller))! optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=At the beginning of your upkeep, you may search your library for a basic land card, reveal that card, and put it into your hand. If you do, you skip your draw step this turn and shuffle your library. mana={1}{G} type=Enchantment @@ -34840,7 +34841,7 @@ toughness=4 [card] name=Elven Cache target=*|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target card from your graveyard to your hand. mana={2}{G}{G} type=Sorcery @@ -34909,8 +34910,8 @@ toughness=1 [card] name=Elvish Aberration auto={T}:add{G}{G}{G} -aicode=activate target(forest|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(forest|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={T}: Add {G}{G}{G}. -- Forestcycling {2} ({2}, Discard this card: Search your library for a Forest card, reveal it, and put it into your hand. Then shuffle.) mana={5}{G} type=Creature @@ -35244,7 +35245,7 @@ toughness=3 [card] name=Emancipation Angel abilities=flying -auto=moveTo(ownerhand) notatarget(*|mybattlefield) +auto=moveTo(hand) notatarget(*|mybattlefield) text=Flying -- When Emancipation Angel enters, return a permanent you control to its owner's hand. mana={1}{W}{W} type=Creature @@ -35256,8 +35257,8 @@ toughness=3 name=Embalmed Brawler auto=_ATTACKING_thisforeach(counter{1/1.1}) life:-1 controller auto=@combat(blocking) source(this):thisforeach(counter{1/1.1}) life:-1 controller -aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Zombie]|myhand) optionone foreach(*[Zombie]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Zombie]|myhand) optionone foreach(*[Zombie]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Amplify 1 (As this creature enters, put a +1/+1 counter on it for each Zombie card you reveal in your hand.) -- Whenever Embalmed Brawler attacks or blocks, you lose 1 life for each +1/+1 counter on it. mana={2}{B} type=Creature @@ -35356,8 +35357,8 @@ toughness=2 [/card] [card] name=Embermage Goblin -aicode=activate target(embermage goblin|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>embermage goblin|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(embermage goblin|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>embermage goblin|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto={T}:damage:1 target(anytarget) text=When Embermage Goblin enters, you may search your library for a card named Embermage Goblin, reveal it, and put it into your hand. If you do, shuffle your library. -- {T}: Embermage Goblin deals 1 damage to any target. mana={3}{R} @@ -35537,7 +35538,7 @@ toughness=3 [card] name=Emeria Shepherd abilities=flying -auto=@movedTo(land[-plains]|myBattlefield):moveto(ownerHand) target(*[-land;-instant;-sorcery]|mygraveyard) +auto=@movedTo(land[-plains]|myBattlefield):moveto(hand) target(*[-land;-instant;-sorcery]|mygraveyard) auto=@movedTo(land[plains]|myBattlefield):moveto(mybattlefield) target(*[-land;-instant;-sorcery]|mygraveyard) text=Flying -- Landfall -- Whenever a land enters under your control, you may return target nonland permanent card from your graveyard to your hand. If that land is a Plains, you may return that nonland permanent card to the battlefield instead. mana={5}{W}{W} @@ -35639,7 +35640,7 @@ type=Sorcery [/card] [card] name=Empty the Catacombs -auto=moveto(ownerHand) all(creature|myGraveyard) +auto=moveto(hand) all(creature|myGraveyard) auto=moveto(opponentHand) all(creature|opponentGraveyard) text=Each player returns all creature cards from their graveyard to their hand. mana={3}{B} @@ -35831,7 +35832,7 @@ toughness=2 name=Encroach target=player aicode=activate reject notatarget(land[-basic]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>land[-basic]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>land[-basic]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose a nonbasic land card from it. That player discards that card. mana={B} type=Sorcery @@ -35895,7 +35896,7 @@ type=Sorcery [/card] [card] name=Endless Cockroaches -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=When Endless Cockroaches dies, return Endless Cockroaches to its owner's hand. mana={1}{B}{B} type=Creature @@ -36160,7 +36161,7 @@ type=Enchantment [/card] [card] name=Engulf the Shore -auto=moveto(ownerhand) all(creature[toughness<=type:island:mybattlefield]|battlefield) +auto=moveto(hand) all(creature[toughness<=type:island:mybattlefield]|battlefield) text=Return to their owners' hands all creatures with toughness less than or equal to the number of Islands you control. mana={3}{U} type=Instant @@ -36196,7 +36197,7 @@ type=Instant [card] name=Enigma Eidolon auto={U}{S}:deplete:3 target(player) -autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(hand) text={U}, Sacrifice Enigma Eidolon: Target player mills three cards. -- Whenever you cast a multicolored spell, you may return Enigma Eidolon from your graveyard to your hand. mana={3}{U} type=Creature @@ -36256,8 +36257,8 @@ toughness=5 [/card] [card] name=Enlistment Officer -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-soldier]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Soldiers) target(<4>soldier|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-soldier]|*) then bottomoflibrary)! +auto=reveal:4 optionone name(Get Soldiers) target(<4>soldier|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=First strike -- When Enlistment Officer enters, reveal the top four cards of your library. Put all Soldier cards revealed this way into your hand and the rest on the bottom of your library. mana={3}{W} type=Creature @@ -36305,8 +36306,8 @@ toughness=1 [/card] [card] name=Enshrined Memories -aicode=activate target(*[zpos<=castx]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then bottomoflibrary)! -auto=reveal:x optionone name(Get creatures) target(<50>creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<50>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=castx]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then bottomoflibrary)! +auto=reveal:x optionone name(Get creatures) target(<50>creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<50>*|reveal) bottomoflibrary optiontwoend revealend text=Reveal the top X cards of your library. Put all creature cards revealed this way into your hand and the rest on the bottom of your library in any order. mana={X}{G} type=Sorcery @@ -36423,9 +36424,9 @@ type=Instant [/card] [card] name=Entomber Exarch -auto=choice moveto(ownerHand) target(creature|mygraveyard) restriction type(creature|mygraveyard)~morethan~0 +auto=choice moveto(hand) target(creature|mygraveyard) restriction type(creature|mygraveyard)~morethan~0 aicode=activate reject notatarget(*[-creature]|targetedpersonshand) -auto=choice target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=choice target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=When Entomber Exarch enters, choose one - Return target creature card from your graveyard to your hand; or target opponent reveals their hand, you choose a noncreature card from it, then that player discards that card. mana={2}{B}{B} type=Creature @@ -36446,7 +36447,7 @@ toughness=1 [card] name=Entropic Eidolon auto={B}{S}:life:-1 target(player) && life:1 controller -autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(hand) text={B}, Sacrifice Entropic Eidolon: Target player loses 1 life and you gain 1 life. -- Whenever you cast a multicolored spell, you may return Entropic Eidolon from your graveyard to your hand. mana={3}{B} type=Creature @@ -36487,7 +36488,7 @@ name=Ephara's Enlightenment target=creature auto=counter(1/1) auto=teach(creature) flying -auto=@movedto(creature|mybattlefield):may moveto(ownerHand) all(this) +auto=@movedto(creature|mybattlefield):may moveto(hand) all(this) text=Enchant creature -- When Ephara's Enlightenment enters, put a +1/+1 counter on enchanted creature. -- Enchanted creature has flying. -- Whenever a creature enters under your control, you may return Ephara's Enlightenment to its owner's hand. mana={1}{W}{U} type=Enchantment @@ -36537,7 +36538,7 @@ type=Instant [card] name=Ephemeron abilities=flying -auto={D(*|myhand)}:moveto(ownerHand) +auto={D(*|myhand)}:moveto(hand) text=Flying -- Discard a card: Return Ephemeron to its owner's hand. mana={4}{U}{U} type=Creature @@ -36612,7 +36613,7 @@ subtype=Aura [/card] [card] name=Equilibrium -auto=@movedto(creature|mystack):pay({1}) moveto(ownerhand) target(creature) +auto=@movedto(creature|mystack):pay({1}) moveto(hand) target(creature) text=Whenever you cast a creature spell, you may pay {1}. If you do, return target creature to its owner's hand. mana={1}{U}{U} type=Enchantment @@ -36800,7 +36801,7 @@ type=Instant [/card] [card] name=Erratic Portal -auto={1}{T}:name(bounce) target(creature) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?name(bounce) moveto(ownerhand)])) forever +auto={1}{T}:name(bounce) target(creature) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?name(bounce) moveto(hand)])) forever text={1}, {T}: Return target creature to its owner's hand unless its controller pays {1}. mana={4} type=Artifact @@ -36856,7 +36857,7 @@ toughness=4 [card] name=Escape Artist abilities=unblockable -auto={U}{D(*|myhand)}:moveTo(ownerhand) +auto={U}{D(*|myhand)}:moveTo(hand) text=Escape Artist is unblockable. -- {U}, Discard a card: Return Escape Artist to its owner's hand. mana={1}{U} type=Creature @@ -36866,7 +36867,7 @@ toughness=1 [/card] [card] name=Escape Routes -auto={2}{U}:moveTo(ownerhand) target(creature[white;black]|myBattlefield) +auto={2}{U}:moveTo(hand) target(creature[white;black]|myBattlefield) text={2}{U}: Return target white or black creature you control to its owner's hand. mana={2}{U} type=Enchantment @@ -36964,7 +36965,7 @@ toughness=1 [card] name=Esperzoa abilities=flying -auto=@each my upkeep:moveTo(ownerhand) notatarget(artifact|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(artifact|myBattlefield) text=Flying -- At the beginning of your upkeep, return an artifact you control to its owner's hand. mana={2}{U} type=Artifact Creature @@ -37059,7 +37060,7 @@ type=Instant name=Essence Fracture abilities=cycling target=<2>creature -auto=moveTo(ownerhand) +auto=moveTo(hand) autohand=__CYCLING__({2}{U}) text=Return two target creatures to their owners' hands. -- Cycling {2}{U} ({2}{U}, Discard this card: Draw a card.) mana={3}{U}{U} @@ -37158,9 +37159,9 @@ type=Sorcery [card] name=Eternal Dragon abilities=flying -aicode=activate target(plains|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -autograveyard={3}{W}{W}:moveto(ownerHand) myUpkeepOnly +aicode=activate target(plains|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +autograveyard={3}{W}{W}:moveto(hand) myUpkeepOnly text=Flying -- {3}{W}{W}: Return Eternal Dragon from your graveyard to your hand. Activate this ability only during your upkeep. -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, and put it into your hand. Then shuffle.) mana={5}{W}{W} type=Creature @@ -37208,7 +37209,7 @@ subtype=Aura [/card] [card] name=Eternal Witness -auto=may moveto(ownerHand) target(*|mygraveyard) +auto=may moveto(hand) target(*|mygraveyard) text=When Eternal Witness enters, you may return target card from your graveyard to your hand. mana={1}{G}{G} type=Creature @@ -37298,8 +37299,8 @@ subtype=Arcane [card] name=Ethereal Usher auto={U}{T}:unblockable target(creature) -aicode=activate target(*[manacost=6]|mylibrary) moveto(ownerHand) -autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=6]|mylibrary) moveto(hand) +autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text={U}, {T}: Target creature is unblockable this turn. -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={5}{U} type=Creature @@ -37349,7 +37350,7 @@ toughness=2 [/card] [card] name=Etherium-Horn Sorcerer -auto={1}{U}{R}:moveto(ownerhand) +auto={1}{U}{R}:moveto(hand) autostack=if casted(this) then cascade:plibrarycount text={1}{U}{R}: Return Etherium-Horn Sorcerer to its owner's hand. -- Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom in a random order.) mana={4}{U}{R} @@ -37411,7 +37412,7 @@ type=Sorcery [/card] [card] name=Evacuation -auto=moveTo(ownerhand) all(creature) +auto=moveTo(hand) all(creature) text=Return all creatures to their owners' hands. mana={3}{U}{U} type=Instant @@ -37504,7 +37505,7 @@ type=Artifact [card] name=Everglades auto=tap(noevent) -auto=aslongas(swamp[-tapped]|mybattlefield) moveto(ownerHand) notatarget(swamp[-tapped]|mybattlefield) oneshot +auto=aslongas(swamp[-tapped]|mybattlefield) moveto(hand) notatarget(swamp[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{B} text=Everglades enters tapped. -- When Everglades enters, sacrifice it unless you return an untapped Swamp you control to its owner's hand. -- {T}: Add {1}{B}. @@ -37599,9 +37600,9 @@ toughness=5 [/card] [card] name=Evolution Charm -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=choice name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=aslongas(creature|mygraveyard) choice moveto(ownerHand) target(creature|mygraveyard) +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=choice name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=aslongas(creature|mygraveyard) choice moveto(hand) target(creature|mygraveyard) auto=aslongas(creature|myBattlefield) choice flying target(creature) text=Choose one - Search your library for a basic land card, reveal it, put it into your hand, then shuffle; or return target creature card from your graveyard to your hand; or target creature gains flying until end of turn. mana={1}{G} @@ -37623,7 +37624,7 @@ type=Enchantment [/card] [card] name=Evolutionary Leap -auto={g}{s(creature|mybattlefield)}:Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={g}{s(creature|mybattlefield)}:Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal) moveto(hand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text={G}, Sacrifice a creature: Reveal cards from the top of your library until you reveal a creature card. Put that card into your hand and the rest on the bottom of your library in a random order. mana={1}{G} type=Enchantment @@ -37766,7 +37767,7 @@ type=Instant name=Exile into Darkness target=player auto=ability$!name(sacrifice creature) notatarget(creature[manacost<=3]|mybattlefield) sacrifice!$ targetedplayer -autograveyard=@each my upkeep:if type(*|myhand)~morethan~type(*|opponenthand) then may moveto(ownerHand) +autograveyard=@each my upkeep:if type(*|myhand)~morethan~type(*|opponenthand) then may moveto(hand) text=Target player sacrifices a creature with mana value 3 or less. -- At the beginning of your upkeep, if you have more cards in hand than each opponent, you may return Exile into Darkness from your graveyard to your hand. mana={4}{B} type=Sorcery @@ -37836,8 +37837,8 @@ toughness=1 [/card] [card] name=Expedition Map -aicode=activate target(land|mylibrary) moveto(ownerHand) -auto={2}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land|mylibrary) moveto(hand) +auto={2}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={2}, {T}, Sacrifice Expedition Map: Search your library for a land card, reveal it, and put it into your hand. Then shuffle. mana={1} type=Artifact @@ -37936,7 +37937,7 @@ type=Instant [/card] [card] name=Explosive Revelation -auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Get Card) all(*[-land]|reveal) moveto(ownerHand) optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed choice name(Deal Damage) target(anytarget) damage:revealedmana afterrevealedend revealend +auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Get Card) all(*[-land]|reveal) moveto(hand) optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed choice name(Deal Damage) target(anytarget) damage:revealedmana afterrevealedend revealend text=Choose any target. Reveal cards from the top of your library until you reveal a nonland card. Explosive Revelation deals damage equal to that card's mana value to that creature or player. Put the nonland card into your hand and the rest on the bottom of your library in any order. mana={3}{R}{R} type=Sorcery @@ -38019,7 +38020,7 @@ type=Instant name=Extortion target=player aicode=activate reject notatarget(*|targetedpersonshand) -auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(*|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(*|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Look at target player's hand and choose up to two cards from it. That player discards those cards. mana={3}{B}{B} type=Sorcery @@ -38174,7 +38175,7 @@ type=Artifact [card] name=Eye of Nowhere target=* -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return target permanent to its owner's hand. mana={U}{U} type=Sorcery @@ -38200,14 +38201,14 @@ mana={3}{W} [card] name=Eye of Ugin auto=lord(eldrazi[colorless]|mycastingzone) altercost(colorless,-2) -aicode=activate target(creature[colorless]|mylibrary) moveto(ownerHand) -auto={7}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[colorless]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[colorless]|mylibrary) moveto(hand) +auto={7}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[colorless]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Colorless Eldrazi spells you cast cost {2} less to cast. -- {7}, {T}: Search your library for a colorless creature card, reveal it, and put it into your hand. Then shuffle. type=Legendary Land [/card] [card] name=Eye of Yawgmoth -auto={3}{T}{S(creature|mybattlefield)}:reveal:storedpower optionone name(pick a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) target(<1>*|reveal) moveto(myexile) and!( moveto(exile) all(*|reveal) )! optiontwoend revealend +auto={3}{T}{S(creature|mybattlefield)}:reveal:storedpower optionone name(pick a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(Put in exile) target(<1>*|reveal) moveto(myexile) and!( moveto(exile) all(*|reveal) )! optiontwoend revealend text={3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature's power. Put one into your hand and exile the rest. mana={3} type=Artifact @@ -38329,8 +38330,8 @@ toughness=2 [/card] [card] name=Fabricate -aicode=activate target(artifact|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(artifact|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for an artifact card, reveal it, and put it into your hand. Then shuffle. mana={2}{U} type=Sorcery @@ -38424,7 +38425,7 @@ toughness=2 [/card] [card] name=Faerie Impostor -auto=aslongas(other creature|mybattlefield) choice notatarget(other creature|mybattlefield) moveTo(ownerhand) oneshot +auto=aslongas(other creature|mybattlefield) choice notatarget(other creature|mybattlefield) moveTo(hand) oneshot auto=choice sacrifice abilities=flying text=Flying -- When Faerie Impostor enters, sacrifice it unless you return another creature you control to its owner's hand. @@ -38458,8 +38459,8 @@ toughness=2 [card] name=Faerie Mechanist abilities=flying -aicode=activate target(artifact[zpos<=3]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:3 optionone name(Get artifact) target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(artifact[zpos<=3]|mylibrary) moveto(hand) +auto=name(look) reveal:3 optionone name(Get artifact) target(artifact|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Flying -- When Faerie Mechanist enters, look at the top three cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={3}{U} type=Artifact Creature @@ -38763,7 +38764,7 @@ toughness=1 [card] name=Fallen Ideal target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=flying auto=teach(creature) {S(creature|mybattlefield)}:2/1 text=Enchant creature -- Enchanted creature has flying and "Sacrifice a creature: This creature gets +2/+1 until end of turn." -- When Fallen Ideal is put into a graveyard from the battlefield, return Fallen Ideal to its owner's hand. @@ -39303,7 +39304,7 @@ toughness=3 [/card] [card] name=Fathom Trawl -auto=Reveal:3 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Get Cards) target(<3>*[-land]|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=Reveal:3 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Get Cards) target(<3>*[-land]|reveal) moveto(hand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Reveal cards from the top of your library until you reveal three nonland cards. Put the nonland cards revealed this way into your hand, then put the rest of the revealed cards on the bottom of your library in any order. mana={3}{U}{U} type=Sorcery @@ -39349,8 +39350,8 @@ toughness=4 [/card] [card] name=Fauna Shaman -aicode=activate target(creature|mylibrary) moveto(ownerHand) -auto={G}{T}{D(creature|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature|mylibrary) moveto(hand) +auto={G}{T}{D(creature|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={G},{T}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle. mana={1}{G} type=Creature @@ -39506,7 +39507,7 @@ type=Instant [card] name=Fecundity auto=@movedTo(creature|mygraveyard) from(battlefield):may draw:1 controller -auto=@movedTo(creature|opponentgraveyard) from(battlefield):may draw:1 opponent +auto=@movedTo(creature|opponentgraveyard) from(battlefield):ability$! may draw:1 !$ opponent text=Whenever a creature dies, that creature's controller may draw a card. mana={2}{G} type=Enchantment @@ -39668,7 +39669,7 @@ subtype=Aura [/card] [card] name=Fell Shepherd -auto=@combatdamaged(player) from(this):may name(Get All Creatures) moveto(ownerHand) all(creature[fresh]|mygraveyard) +auto=@combatdamaged(player) from(this):may name(Get All Creatures) moveto(hand) all(creature[fresh]|mygraveyard) auto={b}{s(creature|mybattlefield)}:target(creature) -2/-2 ueot text=Whenever Fell Shepherd deals combat damage to a player, you may return to your hand all creature cards that were put into your graveyard from the battlefield this turn. -- {B}, Sacrifice another creature: Target creature gets -2/-2 until end of turn. mana={5}{B}{B} @@ -39895,8 +39896,8 @@ toughness=3 [/card] [card] name=Feral Throwback -aicode=activate target(*[beast]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1,2) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[beast]|myhand) optionone foreach(*[beast]|reveal) counter(1/1,2) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[beast]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1,2) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[beast]|myhand) optionone foreach(*[beast]|reveal) counter(1/1,2) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend auto=_ATTACKING_may provoke target(creature|opponentbattlefield) text=Amplify 2 (As this creature enters, put two +1/+1 counters on it for each Beast card you reveal in your hand.) -- Provoke (When this attacks, you may have target creature defending player controls untap and block it if able.) mana={4}{G}{G} @@ -40263,7 +40264,7 @@ type=World Enchantment name=Field of Reality target=creature auto=cantbeblockedby(spirit) -auto={1}{U}:moveTo(ownerhand) +auto={1}{U}:moveTo(hand) text=Enchant creature -- Enchanted creature can't be blocked by Spirits. -- {1}{U}: Return Field of Reality to its owner's hand. mana={2}{U} type=Enchantment @@ -40320,8 +40321,8 @@ toughness=2 [/card] [card] name=Fierce Empath -aicode=activate target(creature[manacost>=6]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[manacost>=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[manacost>=6]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[manacost>=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Fierce Empath enters, you may search your library for a creature card with mana value 6 or more, reveal it, put it into your hand, then shuffle. mana={2}{G} type=Creature @@ -40348,8 +40349,8 @@ type=Instant name=Fiery Fall target=creature auto=damage:5 -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{R}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{R}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Fiery Fall deals 5 damage to target creature. -- Basic landcycling {1}{R} ({1}{R}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={5}{R} type=Instant @@ -40375,7 +40376,7 @@ type=Instant [card] name=Fiery Mantle target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto={R}:1/0 text=Enchant creature -- {R}: Enchanted creature gets +1/+0 until end of turn. -- When Fiery Mantle is put into a graveyard from the battlefield, return Fiery Mantle to its owner's hand. mana={1}{R} @@ -40907,9 +40908,9 @@ toughness=2 [/card] [card] name=Firemind's Foresight -auto=ability$!name(converted cost 3) moveto(ownerHand) notatarget(instant[manacost=3]|mylibrary)!$ controller -auto=ability$!name(converted cost 2) moveto(ownerHand) notatarget(instant[manacost=2]|mylibrary)!$ controller -auto=ability$!name(converted cost 1) moveto(ownerHand) notatarget(instant[manacost=1]|mylibrary)!$ controller +auto=ability$!name(converted cost 3) moveto(hand) notatarget(instant[manacost=3]|mylibrary)!$ controller +auto=ability$!name(converted cost 2) moveto(hand) notatarget(instant[manacost=2]|mylibrary)!$ controller +auto=ability$!name(converted cost 1) moveto(hand) notatarget(instant[manacost=1]|mylibrary)!$ controller text=Search your library for an instant card with mana value 3, reveal it, and put it into your hand. Then repeat this process for instant cards with mana values 2 and 1. Then shuffle. mana={5}{U}{R} type=Instant @@ -41002,7 +41003,7 @@ type=Artifact [/card] [card] name=Firewing Phoenix -autograveyard={1}{R}{R}{R}:moveto(ownerHand) +autograveyard={1}{R}{R}{R}:moveto(hand) abilities=flying text=Flying -- {1}{R}{R}{R}: Return Firewing Phoenix from your graveyard to your hand. mana={3}{R} @@ -41480,7 +41481,7 @@ type=Instant [card] name=Flash Flood auto=aslongas(*[red]|battlefield) choice destroy target(*[red]) -auto=aslongas(mountain|battlefield) choice moveTo(ownerhand) target(mountain) +auto=aslongas(mountain|battlefield) choice moveTo(hand) target(mountain) text=Choose one - Destroy target red permanent; or return target Mountain to its owner's hand. mana={U} type=Instant @@ -41690,7 +41691,7 @@ subtype=Equipment [card] name=Fleetfoot Panther abilities=flash -auto=moveTo(ownerhand) notatarget(creature[green;white]|myBattlefield) +auto=moveTo(hand) notatarget(creature[green;white]|myBattlefield) text=Flash -- When Fleetfoot Panther enters, return a green or white creature you control to its owner's hand. mana={1}{G}{W} type=Creature @@ -41701,7 +41702,7 @@ toughness=4 [card] name=Fleeting Aven abilities=flying -auto=@cycled(*|hand):moveTo(ownerhand) +auto=@cycled(*|hand):moveTo(hand) text=Flying -- Whenever a player cycles a card, return Fleeting Aven to its owner's hand. mana={1}{U}{U} type=Creature @@ -41721,7 +41722,7 @@ type=Instant [card] name=Fleeting Image abilities=flying -auto={1}{U}:moveto(ownerHand) +auto={1}{U}:moveto(hand) text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- {1}{U}: Return Fleeting Image to its owner's hand. mana={2}{U} type=Creature @@ -41887,7 +41888,7 @@ name=Flickering Ward abilities=auraward target=creature auto=chooseacolor teach(creature) protection from(*[chosencolor]) chooseend -auto={W}:moveTo(ownerhand) +auto={W}:moveTo(hand) text=Enchant creature -- As Flickering Ward enters, choose a color. -- Enchanted creature has protection from the chosen color. This effect doesn't remove Flickering Ward. -- {W}: Return Flickering Ward to its owner's hand. mana={W} type=Enchantment @@ -42048,7 +42049,7 @@ type=Land [/card] [card] name=Flooded Shoreline -auto={U}{U}{H(island|myBattlefield)}{H(island|myBattlefield)}:moveTo(ownerhand) target(creature) +auto={U}{U}{H(island|myBattlefield)}{H(island|myBattlefield)}:moveTo(hand) target(creature) text={U}{U}, Return two Islands you control to their owner's hand: Return target creature to its owner's hand. mana={U}{U} type=Enchantment @@ -42561,7 +42562,7 @@ type=Artifact [/card] [card] name=Font of Return -auto={3}{B}{T}{S}:target(other creature|mygraveyard) moveto(ownerHand) +auto={3}{B}{T}{S}:target(other creature|mygraveyard) moveto(hand) text={3}{B}, Sacrifice Font of Return: Return up to three target creature cards from your graveyard to your hand. mana={1}{B} type=Enchantment @@ -42577,7 +42578,7 @@ type=Enchantment name=Fool's Demise target=creature auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(mybattlefield) -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Enchant creature -- When enchanted creature is put into a graveyard, return that card to the battlefield under your control. -- When Fool's Demise is put into a graveyard from the battlefield, return Fool's Demise to its owner's hand. mana={4}{U} type=Enchantment @@ -42651,8 +42652,8 @@ type=Instant name=Forbidden Alchemy flashback={6}{B} abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) and!(deplete:3)!])) ueot -auto=name(look) reveal:4 optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(hand) and!(deplete:3)!])) ueot +auto=name(look) reveal:4 optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard. -- Flashback {6}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{U} type=Instant @@ -42660,7 +42661,7 @@ type=Instant [card] name=Forbidden Crypt abilities=mygraveexiler -auto=replacedraw if type(*|mygraveyard)~morethan~0 then moveto(ownerhand) notatarget(*|mygraveyard) else wingame opponent +auto=replacedraw if type(*|mygraveyard)~morethan~0 then moveto(hand) notatarget(*|mygraveyard) else wingame opponent text=If you would draw a card, return a card from your graveyard to your hand instead. If you can't, you lose the game. -- If a card would be put into your graveyard from anywhere, exile that card instead. mana={3}{B}{B} type=Enchantment @@ -42696,7 +42697,7 @@ type=Land [card] name=Force Away target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=_FEROCIOUS_ may _LOOT_ text=Return target creature to its owner's hand. Ferocious - If you control a creature with power 4 or greater, you may draw a card. If you do, discard a card. mana={1}{U} @@ -42785,7 +42786,7 @@ name=Forced Worship target=creature auto=cantattack auto=cantpwattack -auto={2}{W}:moveTo(ownerhand) +auto={2}{W}:moveTo(hand) text=Enchant creature -- Enchanted creature can't attack. -- {2}{W}: Return Forced Worship to its owner's hand. mana={1}{W} type=Enchantment @@ -42955,7 +42956,7 @@ type=Instant [/card] [card] name=Fork in the Road -auto=name(put in hand) moveto(ownerHand) notatarget(land[basic]|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(land[basic]|mylibrary))! oneshot +auto=name(put in hand) moveto(hand) notatarget(land[basic]|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(land[basic]|mylibrary))! oneshot text=Search your library for up to two basic land cards and reveal them. Put one into your hand and the other into your graveyard. Then shuffle. mana={1}{G} type=Sorcery @@ -42969,7 +42970,7 @@ type=Sorcery [/card] [card] name=Forked-Branch Garami -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=4]|mygraveyard) text=Soulshift 4, soulshift 4 (When this creature dies, you may return up to two target Spirit cards with mana value 4 or less from your graveyard to your hand.) mana={3}{G}{G} type=Creature @@ -43075,7 +43076,7 @@ type=Instant [card] name=Fortitude target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto={S(forest|myBattlefield)}:regenerate text=Enchant creature -- Sacrifice a Forest: Regenerate enchanted creature. -- When Fortitude is put into a graveyard from the battlefield, return Fortitude to its owner's hand. mana={1}{G} @@ -43122,7 +43123,7 @@ type=Sorcery [/card] [card] name=Foster -auto=@movedTo(creature|graveyard) from(mybattlefield): pay({1}) Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=@movedTo(creature|graveyard) from(mybattlefield): pay({1}) Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal) moveto(hand) optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Whenever a creature you control dies, you may pay {1}. If you do, reveal cards from the top of your library until you reveal a creature card. Put that card into your hand and the rest into your graveyard. mana={2}{G}{G} type=Enchantment @@ -43130,7 +43131,7 @@ type=Enchantment [card] name=Foul Familiar abilities=cantblock -auto={L:1}{B}:moveto(ownerhand) +auto={L:1}{B}:moveto(hand) text=Foul Familiar can't block. -- {B}, Pay 1 life: Return Foul Familiar to its owner's hand. mana={2}{B} type=Creature @@ -43554,7 +43555,7 @@ toughness=1 [card] name=Freyalise's Charm auto=@movedto(*[black]|opponentstack):pay({G}{G}) draw:1 -auto={G}{G}:moveto(ownerhand) +auto={G}{G}:moveto(hand) text=Whenever an opponent casts a black spell, you may pay {G}{G}. If you do, you draw a card. -- {G}{G}: Return Freyalise's Charm to its owner's hand. mana={G}{G} type=Enchantment @@ -43645,8 +43646,8 @@ toughness=1 [card] name=From Beyond auto=@each my upkeep:_ELDRAZISCION_ controller -aicode=activate target(*[eldrazi]|mylibrary) moveto(ownerHand) -auto={1}{G}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[eldrazi]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[eldrazi]|mylibrary) moveto(hand) +auto={1}{G}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[eldrazi]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Devoid (This card has no color.) -- At the beginning of your upkeep, put a 1/1 colorless Eldrazi Scion creature token onto the battlefield. It has "Sacrifice this creature: Add {1}." -- {1}{G}, Sacrifice From Beyond: Search your library for an Eldrazi card, reveal it, put it into your hand, then shuffle. mana={3}{G} abilities=devoid @@ -44351,8 +44352,8 @@ type=Sorcery [/card] [card] name=Gaea's Bounty -aicode=activate target(forest|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(forest|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for up to two Forest cards, reveal those cards, and put them into your hand. Then shuffle. mana={2}{G} type=Sorcery @@ -44559,8 +44560,8 @@ toughness=3 [card] name=Gamble abilities=hiddenface -aicode=activate moveto(ownerHand) and!(discard:1 controller)! target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand) and!(discard:1 controller)!])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) and!(discard:1 controller)! target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand) and!(discard:1 controller)!])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a card, put that card into your hand, discard a card at random, then shuffle. mana={R} type=Sorcery @@ -44698,7 +44699,7 @@ toughness=5 [card] name=Garza's Assassin auto={S}:destroy target(other creature[-black]) -autograveyard=@movedto(other creature|mygraveyard) from(battlefield):name(Recover) transforms((,newability[choice name(pay halfup life) moveto(ownerhand) and!( life:-halfdownlifetotal controller )!],newability[choice name(move to exile) moveto(exile)])) +autograveyard=@movedto(other creature|mygraveyard) from(battlefield):name(Recover) transforms((,newability[choice name(pay halfup life) moveto(hand) and!( life:-halfdownlifetotal controller )!],newability[choice name(move to exile) moveto(exile)])) text=Sacrifice Garza's Assassin: Destroy target nonblack creature. -- Recover - Pay half your life, rounded up. (When another creature is put into your graveyard from the battlefield, you may pay half your life, rounded up. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) mana={B}{B}{B} type=Creature @@ -44754,8 +44755,8 @@ type=Artifact [card] name=Gatecreeper Vine abilities=defender -auto=if type(land[basic]|mylibrary)~morethan~0 then may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! -auto=if type(gate|mylibrary)~morethan~0 then may name(Search gate) name(Search gate) target(gate|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=if type(land[basic]|mylibrary)~morethan~0 then may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(hand) and!( shuffle )! +auto=if type(gate|mylibrary)~morethan~0 then may name(Search gate) name(Search gate) target(gate|mylibrary) moveto(hand) and!( shuffle )! text=Defender -- When Gatecreeper Vine enters, you may search your library for a basic land card or a Gate card, reveal it, put it into your hand, then shuffle. mana={1}{G} type=Creature @@ -44808,8 +44809,8 @@ type=Instant [/card] [card] name=Gather the Pack -auto=if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then reveal:5 optionone target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then reveal:5 optionone target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then reveal:5 optionone target(creature|reveal) moveto(hand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then reveal:5 optionone target(creature|reveal) moveto(hand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=Reveal the top five cards of your library. You may put a creature card from among them into your hand. Put the rest into your graveyard. -- Spell mastery -- If there are two or more instant and/or sorcery cards in your graveyard, put up to two creature cards from among the revealed cards into your hand instead of one. mana={1}{G} type=Sorcery @@ -45242,8 +45243,8 @@ type=Land [/card] [card] name=General Tazri -aicode=activate target(ally|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>ally|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(ally|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>ally|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto={W}{U}{B}{R}{G}:name(+X/+X) aslongas(ally[white]|myBattlefield) 1/1 all(ally|mybattlefield) && aslongas(ally[blue]|myBattlefield) 1/1 all(ally|mybattlefield) && aslongas(ally[black]|myBattlefield) 1/1 all(ally|mybattlefield) && aslongas(ally[red]|myBattlefield) 1/1 all(ally|mybattlefield) && aslongas(ally[green]|myBattlefield) 1/1 all(ally|mybattlefield) text=When General Tazri enters, you may search your library for an Ally creature card, reveal it, put it into your hand, then shuffle. -- {W}{U}{B}{R}{G}: Ally creatures you control get +X/+X until end of turn, where X is the number of colors among those creatures. mana={4}{W} @@ -45264,7 +45265,7 @@ subtype=Equipment [/card] [card] name=Genesis -autograveyard={2}{G}:moveto(ownerHand) target(creature|mygraveyard) myUpkeepOnly +autograveyard={2}{G}:moveto(hand) target(creature|mygraveyard) myUpkeepOnly text=At the beginning of your upkeep, if Genesis is in your graveyard, you may pay {2}{G}. If you do, return target creature card from your graveyard to your hand. mana={4}{G} type=Creature @@ -45304,7 +45305,7 @@ text=Reveal the top X cards of your library. You may put any number of permanent name=Genju of the Cedars target=land[forest] auto={2}:transforms((Spirit Creature,setpower=4,settoughness=4,green)) ueot -auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(hand) all(this) text=Enchant Forest -- {2}: Enchanted Forest becomes a 4/4 green Spirit creature until end of turn. It's still a land. -- When enchanted Forest is put into a graveyard, you may return Genju of the Cedars from your graveyard to your hand. mana={G} type=Enchantment @@ -45314,7 +45315,7 @@ subtype=Aura name=Genju of the Falls target=land[island] auto={2}:transforms((Spirit Creature,setpower=3,settoughness=2,flying,blue)) ueot -auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(hand) all(this) text=Enchant Island -- {2}: Enchanted Island becomes a 3/2 blue Spirit creature with flying until end of turn. It's still a land. -- When enchanted Island is put into a graveyard, you may return Genju of the Falls from your graveyard to your hand. mana={U} type=Enchantment @@ -45324,7 +45325,7 @@ subtype=Aura name=Genju of the Fens target=land[swamp] auto={2}:transforms((Spirit Creature,newability[{B}:1/1],setpower=2,settoughness=2,black)) ueot -auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(hand) all(this) text=Enchant Swamp -- {2}: Until end of turn, enchanted Swamp becomes a 2/2 black Spirit creature with "{B}: This creature gets +1/+1 until end of turn." It's still a land. -- When enchanted Swamp is put into a graveyard, you may return Genju of the Fens from your graveyard to your hand. mana={B} type=Enchantment @@ -45334,7 +45335,7 @@ subtype=Aura name=Genju of the Fields target=land[plains] auto={2}:transforms((Spirit Creature,setpower=2,settoughness=5,spiritlink,white)) ueot -auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(hand) all(this) text=Enchant Plains -- {2}: Until end of turn, enchanted Plains becomes a 2/5 white Spirit creature with "Whenever this creature deals damage, its controller gains that much life." It's still a land. -- When enchanted Plains is put into a graveyard, you may return Genju of the Fields from your graveyard to your hand. mana={W} type=Enchantment @@ -45344,7 +45345,7 @@ subtype=Aura name=Genju of the Realm target=land auto={2}:transforms((Legendary Spirit Creature,setpower=8,settoughness=12,trample)) ueot -auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(hand) all(this) text=Enchant land -- {2}: Enchanted land becomes a legendary 8/12 Spirit creature with trample until end of turn. It's still a land. -- When enchanted land is put into a graveyard, you may return Genju of the Realm from your graveyard to your hand. mana={W}{U}{B}{R}{G} type=Legendary Enchantment @@ -45354,7 +45355,7 @@ subtype=Aura name=Genju of the Spires target=land[mountain] auto={2}:transforms((Spirit Creature,setpower=6,settoughness=1,red)) ueot -auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(hand) all(this) text=Enchant Mountain -- {2}: Enchanted Mountain becomes a 6/1 red Spirit creature until end of turn. It's still a land. -- When enchanted Mountain is put into a graveyard, you may return Genju of the Spires from your graveyard to your hand. mana={R} type=Enchantment @@ -45527,7 +45528,7 @@ toughness=4 [card] name=Ghastlord of Fugue auto=unblockable -auto=@combatdamaged(player) from(this):reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose card) notatarget(*|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=@combatdamaged(player) from(this):reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose card) notatarget(*|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Ghastlord of Fugue is unblockable. -- Whenever Ghastlord of Fugue deals combat damage to a player, that player reveals their hand. You choose a card from it. That player exiles that card. mana={UB}{UB}{UB}{UB}{UB} type=Creature @@ -45556,9 +45557,9 @@ type=Sorcery [/card] [card] name=Ghastly Remains -aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Zombie]|myhand) optionone foreach(*[Zombie]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend -autograveyard={B}{B}{B}:moveto(ownerHand) myUpkeepOnly +aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Zombie]|myhand) optionone foreach(*[Zombie]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend +autograveyard={B}{B}{B}:moveto(hand) myUpkeepOnly text=Amplify 1 (As this creature enters, put a +1/+1 counter on it for each Zombie card you reveal in your hand.) -- At the beginning of your upkeep, if Ghastly Remains is in your graveyard, you may pay {B}{B}{B}. If you do, return Ghastly Remains to your hand. mana={B}{B}{B} type=Creature @@ -45658,7 +45659,7 @@ name=Ghitu Firebreathing abilities=flash target=creature auto={R}:1/0 -auto={R}:moveTo(ownerhand) +auto={R}:moveTo(hand) text=Flash (You may cast this spell any time you could cast an instant.) -- Enchant creature -- {R}: Enchanted creature gets +1/+0 until end of turn. -- {R}: Return Ghitu Firebreathing to its owner's hand. mana={1}{R} type=Enchantment @@ -45767,7 +45768,7 @@ toughness=5 [card] name=Ghost Town auto={T}:Add{1} -auto={0}:moveto(ownerHand) opponentturnonly +auto={0}:moveto(hand) opponentturnonly text={T}: Add {1}. -- {0}: Return Ghost Town to its owner's hand. Activate this ability only if it's not your turn. type=Land [/card] @@ -45957,7 +45958,7 @@ name=Ghostly Wings target=creature auto=1/1 auto=flying -auto={D(*|myhand)}:teach(creature) moveTo(ownerhand) +auto={D(*|myhand)}:teach(creature) moveTo(hand) text=Enchant creature -- Enchanted creature gets +1/+1 and has flying. -- Discard a card: Return enchanted creature to its owner's hand. mana={1}{U} type=Enchantment @@ -46017,8 +46018,8 @@ type=Artifact [/card] [card] name=Ghoulcaller's Chant -auto=choice moveTo(ownerhand) target(creature|mygraveyard) -auto=choice moveTo(ownerhand) target(<2>zombie|mygraveyard) +auto=choice moveTo(hand) target(creature|mygraveyard) +auto=choice moveTo(hand) target(<2>zombie|mygraveyard) text=Choose one - Return target creature card from your graveyard to your hand; or return two target Zombie cards from your graveyard to your hand. mana={B} type=Sorcery @@ -46317,7 +46318,7 @@ toughness=2 [card] name=Gibbering Kami abilities=flying -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=3]|mygraveyard) text=Flying -- Soulshift 3 (When this dies, you may return target Spirit card with mana value 3 or less from your graveyard to your hand.) mana={3}{B} type=Creature @@ -46362,8 +46363,8 @@ type=Instant [/card] [card] name=Gift of Estates -aicode=activate target(plains|mylibrary) moveto(ownerHand) -auto=if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(plains|mylibrary) moveto(hand) +auto=if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=If an opponent controls more lands than you, search your library for up to three Plains cards, reveal them, and put them into your hand. Then shuffle. mana={1}{W} type=Sorcery @@ -46423,8 +46424,8 @@ subtype=Aura [/card] [card] name=Gift of the Gargantuan -aicode=activate transforms((,newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(creature[zpos<=4]|mylibrary) moveto(ownerHand) and!( target(land[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(land[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot -auto=name(Look top 4 cards) reveal:4 optionone name(Get a creature or land) target(*[creature;land]|reveal) moveto(ownerHand) and!( transforms((,newability[if cantargetcard(*[land]|*) then if type(creature|reveal)~morethan~0 then choice name(Get a creature) name(Get a creature) name(Get a creature) target(creature|reveal) moveto(ownerHand)],newability[if cantargetcard(*[creature]|*) then if type(land|reveal)~morethan~0 then choice name(Get a land) name(Get a land) name(Get a land) target(land|reveal) moveto(ownerHand)],newability[choice name(Don't choose another card) donothing])) oneshot )! optiononeend optiontwo name(Put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(creature[zpos<=4]|mylibrary) moveto(hand) and!( target(land[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~morethan~0 then target(land[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=4]|mylibrary)~morethan~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then target(creature[zpos<=4]|mylibrary) moveto(hand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(creature[zpos<=4]|mylibrary)~equalto~0 then if type(land[zpos<=4]|mylibrary)~equalto~0 then all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot +auto=name(Look top 4 cards) reveal:4 optionone name(Get a creature or land) target(*[creature;land]|reveal) moveto(hand) and!( transforms((,newability[if cantargetcard(*[land]|*) then if type(creature|reveal)~morethan~0 then choice name(Get a creature) name(Get a creature) name(Get a creature) target(creature|reveal) moveto(hand)],newability[if cantargetcard(*[creature]|*) then if type(land|reveal)~morethan~0 then choice name(Get a land) name(Get a land) name(Get a land) target(land|reveal) moveto(hand)],newability[choice name(Don't choose another card) donothing])) oneshot )! optiononeend optiontwo name(Put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top four cards of your library. You may reveal a creature card and/or a land card from among them and put the revealed cards into your hand. Put the rest on the bottom of your library in any order. mana={2}{G} type=Sorcery @@ -46482,7 +46483,7 @@ toughness=0 [card] name=Gigapede abilities=shroud -autograveyard={D(*|myhand)}:moveto(ownerHand) myUpkeepOnly +autograveyard={D(*|myhand)}:moveto(hand) myUpkeepOnly text=Shroud (This permanent can't be the target of spells or abilities.) -- At the beginning of your upkeep, if Gigapede is in your graveyard, you may discard a card. If you do, return Gigapede to your hand. mana={3}{G}{G} type=Creature @@ -46587,7 +46588,7 @@ toughness=3 name=Gitaxian Probe target=player aicode=name(look) activate name(look) target(*|targetedpersonshand) donothing -auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend auto=draw:1 controller text=({p(U)} may be paid for with either {U} or 2 life.) -- Look at target player's hand. -- Draw a card. color=blue @@ -46783,7 +46784,7 @@ toughness=4 [card] name=Glasses of Urza aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto={t}:target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto={t}:target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend text={T}:Look at target player's hand. mana={1} type=Artifact @@ -46810,8 +46811,8 @@ type=Enchantment name=Gleam of Resistance auto=all(creature|myBattlefield) 1/2 ueot auto=untap all(creature|myBattlefield) -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{W}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{W}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Creatures you control get +1/+2 until end of turn. Untap those creatures. -- Basic landcycling {1}{W} ({1}{W}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={4}{W} type=Instant @@ -46819,7 +46820,7 @@ type=Instant [card] name=Gleancrawler abilities=trample -auto=@each my end:moveto(ownerHand) all(creature[fresh]|mygraveyard) +auto=@each my end:moveto(hand) all(creature[fresh]|mygraveyard) text=({(b/g)} can be paid with either {B} or {G}.) -- Trample -- At the beginning of your end step, return to your hand all creature cards in your graveyard that were put there from the battlefield this turn. mana={3}{BG}{BG}{BG} type=Creature @@ -46864,7 +46865,7 @@ toughness=3 [card] name=Glen Elendra Pranksters abilities=flying -auto=@movedto(*|stack) from(*|myhand) restriction{opponentturnonly}:target(creature|mybattlefield) moveto(ownerhand) +auto=@movedto(*|stack) from(*|myhand) restriction{opponentturnonly}:target(creature|mybattlefield) moveto(hand) text=Flying -- Whenever you cast a spell during an opponent's turn, you may return target creature you control to its owner's hand. mana={3}{U} type=Creature @@ -46942,8 +46943,8 @@ type=Sorcery [card] name=Glimpse the Future abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) and!(deplete:2)!])) ueot -auto=name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(hand) and!(deplete:2)!])) ueot +auto=name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. mana={2}{U} type=Sorcery @@ -46977,7 +46978,7 @@ type=Instant name=Glint Hawk abilities=flying auto=choice sacrifice -auto=aslongas(artifact|myBattlefield) choice moveTo(ownerhand) notatarget(artifact|myBattlefield) oneshot +auto=aslongas(artifact|myBattlefield) choice moveTo(hand) notatarget(artifact|myBattlefield) oneshot text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- When Glint Hawk enters, sacrifice it unless you return an artifact you control to its owner's hand. mana={W} type=Creature @@ -47007,8 +47008,8 @@ toughness=2 [card] name=Glint-Nest Crane abilities=flying -aicode=activate target(artifact[zpos<=4]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:4 optionone name(Get an artifact card) target(<1>artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(artifact[zpos<=4]|mylibrary) moveto(hand) +auto=name(look) reveal:4 optionone name(Get an artifact card) target(<1>artifact|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Flying -- When Glint-Nest Crane enters, look at the top four cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={1}{U} type=Creature @@ -47071,7 +47072,7 @@ type=Instant [card] name=Glissa, the Traitor abilities=first strike,deathtouch -auto=@movedto(graveyard) from(creature|opponentbattlefield):may moveto(ownerHand) target(artifact|mygraveyard) +auto=@movedto(graveyard) from(creature|opponentbattlefield):may moveto(hand) target(artifact|mygraveyard) text=First strike. -- Deathtouch. -- Whenever a creature an opponent controls dies, you may return target artifact card from your graveyard to your hand. mana={B}{G}{G} type=Legendary Creature @@ -47094,7 +47095,7 @@ name=Glistening Oil target=creature auto=infect auto=@each my upkeep:counter(-1/-1) -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Enchant creature -- Enchanted creature has Infect. -- At the beginning of your upkeep, put a -1/-1 counter on enchanted creature. -- When Glistening Oil is put into a graveyard from the battlefield, return Glistening Oil to its owner's hand. mana={B}{B} type=Enchantment @@ -47103,7 +47104,7 @@ subtype=Aura [card] name=Glitterfang abilities=haste -auto=@each end:moveto(ownerhand) all(this) +auto=@each end:moveto(hand) all(this) text=Haste -- At the beginning of the end step, return Glitterfang to its owner's hand. mana={R} type=Creature @@ -47114,8 +47115,8 @@ toughness=1 [card] name=Glittering Wish auto=moveTo(exile) -aicode=activate target(*[multicolor]|mysideboard) moveto(ownerHand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[multicolor]|reveal) moveto(ownerHand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend +aicode=activate target(*[multicolor]|mysideboard) moveto(hand) +auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[multicolor]|reveal) moveto(hand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend text=You may choose a multicolored card you own from outside the game, reveal that card, and put it into your hand. Exile Glittering Wish. mana={G}{W} type=Sorcery @@ -47222,8 +47223,8 @@ toughness=3 [/card] [card] name=Glowering Rogon -aicode=activate target(*[beast]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[beast]|myhand) optionone foreach(*[beast]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[beast]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[beast]|myhand) optionone foreach(*[beast]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Amplify 1 (As this creature enters, put a +1/+1 counter on it for each Beast card you reveal in your hand.) mana={5}{G} type=Creature @@ -47233,7 +47234,7 @@ toughness=4 [/card] [card] name=Glowing Anemone -auto=may moveto(ownerhand) target(land) +auto=may moveto(hand) target(land) text=When Glowing Anemone enters, you may return target land to its owner's hand. mana={3}{U} type=Creature @@ -47876,8 +47877,8 @@ type=Sorcery [card] name=Goblin Guide abilities=haste -aicode=activate target(land[zpos<=1]|opponentLibrary) moveto(ownerhand) -auto=_ATTACKING_reveal:1 revealzone(opponentlibrary) optionone name(choose card) notatarget(<1>*|reveal) moveto(ownerlibrary) and!( if cantargetcard(*[land]|*) then moveto(ownerhand) )! optiononeend revealend +aicode=activate target(land[zpos<=1]|opponentLibrary) moveto(hand) +auto=_ATTACKING_reveal:1 revealzone(opponentlibrary) optionone name(choose card) notatarget(<1>*|reveal) moveto(ownerlibrary) and!( if cantargetcard(*[land]|*) then moveto(hand) )! optiononeend revealend text=Haste -- Whenever Goblin Guide attacks, defending player reveals the top card of their library. If it's a land card, that player puts it into their hand. mana={R} type=Creature @@ -47889,7 +47890,7 @@ toughness=2 name=Goblin Heelcutter auto=_ATTACKING_cantblock target(creature) ueot other={2}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Dash {2}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) -- Whenever Goblin Heelcutter attacks, target creature can't block this turn. mana={3}{R} type=Creature @@ -48013,8 +48014,8 @@ toughness=1 [/card] [card] name=Goblin Matron -aicode=activate target(goblin|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>goblin|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(goblin|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>goblin|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Goblin Matron enters, you may search your library for a Goblin card, reveal that card, and put it into your hand. If you do, shuffle your library. mana={2}{R} type=Creature @@ -48187,8 +48188,8 @@ toughness=2 [card] name=Goblin Ringleader abilities=haste -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-goblin]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Goblin) target(<4>Goblin|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-goblin]|*) then bottomoflibrary)! +auto=reveal:4 optionone name(Get Goblin) target(<4>Goblin|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Haste -- When Goblin Ringleader enters, reveal the top four cards of your library. Put all Goblin cards revealed this way into your hand and the rest on the bottom of your library. mana={3}{R} type=Creature @@ -48740,8 +48741,8 @@ type=Artifact [card] name=Golden Wish auto=moveTo(exile) -aicode=activate target(*[artifact;enchantment]|mysideboard) moveto(ownerHand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[artifact;enchantment]|reveal) moveto(ownerHand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend +aicode=activate target(*[artifact;enchantment]|mysideboard) moveto(hand) +auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[artifact;enchantment]|reveal) moveto(hand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend text=You may choose an artifact or enchantment card you own from outside the game, reveal that card, and put it into your hand. Exile Golden Wish. mana={3}{W}{W} type=Sorcery @@ -48915,7 +48916,7 @@ subtype=Gate [/card] [card] name=Golgari Guildmage -auto={4}{B}{S(creature|myBattlefield)}:moveto(ownerHand) target(creature|mygraveyard) +auto={4}{B}{S(creature|myBattlefield)}:moveto(hand) target(creature|mygraveyard) auto={4}{G}:counter(1/1) target(creature) text=({(b/g)} can be paid with either {B} or {G}.) -- {4}{B}, Sacrifice a creature: Return target creature card from your graveyard to your hand. -- {4}{G}: Put a +1/+1 counter on target creature. mana={BG}{BG} @@ -48944,7 +48945,7 @@ toughness=4 [card] name=Golgari Rot Farm auto=tap(noevent) -auto=moveto(ownerhand) notatarget(land|myBattlefield) +auto=moveto(hand) notatarget(land|myBattlefield) auto={T}:Add{B}{G} text=Golgari Rot Farm enters tapped. -- When Golgari Rot Farm enters, return a land you control to its owner's hand. -- {T}: Add {B}{G}. type=Land @@ -49414,7 +49415,7 @@ toughness=3 [card] name=Grapple with the Past auto=deplete:3 -auto=moveto(ownerHand) target(creature,land|mygraveyard) +auto=moveto(hand) target(creature,land|mygraveyard) text=Put the top three cards of your library into your graveyard, then you may return a creature or land card from your graveyard to your hand. mana={1}{G} type=Instant @@ -49506,8 +49507,8 @@ toughness=4 [/card] [card] name=Grave Defiler -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-zombie]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Zombie) target(<4>zombie|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-zombie]|*) then bottomoflibrary)! +auto=reveal:4 optionone name(Get Zombie) target(<4>zombie|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=When Grave Defiler enters, reveal the top four cards of your library. Put all Zombie cards revealed this way into your hand and the rest on the bottom of your library. -- {1}{B}: Regenerate Grave Defiler. auto={1}{B}:regenerate mana={3}{B} @@ -49519,7 +49520,7 @@ toughness=1 [card] name=Grave Exchange target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) auto=target(player) ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ targetedplayer text=Return target creature card from your graveyard to your hand. Target player sacrifices a creature. mana={4}{B}{B} @@ -49553,7 +49554,7 @@ toughness=1 name=Grave Scrabbler abilities=madness autoexile=restriction{discarded} pay({1}{B}) name(pay {1}{B} to cast) activate name(pay 1B to cast) castcard(normal madness)?name(put in graveyard) moveto(ownergraveyard) -auto=if madnessplayed then target(creature|graveyard) moveto(ownerhand) +auto=if madnessplayed then target(creature|graveyard) moveto(hand) text=Madness {1}{B} (If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard.) -- When Grave Scrabbler enters, if its madness cost was paid, you may return target creature card from a graveyard to its owner's hand. mana={3}{B} type=Creature @@ -49586,8 +49587,8 @@ toughness=6 name=Grave Upheaval target=creature|graveyard auto=moveto(mybattlefield) and!(haste)! -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Put target creature card from a graveyard onto the battlefield under your control. It gains haste. -- Basic landcycling {2} ({2}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={4}{B}{R} type=Sorcery @@ -49658,7 +49659,7 @@ toughness=1 [/card] [card] name=Gravedigger -auto=may moveto(ownerHand) target(creature|mygraveyard) +auto=may moveto(hand) target(creature|mygraveyard) text=When Gravedigger enters, you may return target creature card from your graveyard to your hand. mana={3}{B} type=Creature @@ -50129,7 +50130,7 @@ subtype=Aura [/card] [card] name=Greenbelt Rampager -auto=if compare(penergy)~morethan~1 then alterenergy:-2 controller else choice moveto(ownerhand) and!(alterenergy:1 controller)! +auto=if compare(penergy)~morethan~1 then alterenergy:-2 controller else choice moveto(hand) and!(alterenergy:1 controller)! text=When Greenbelt Rampager enters, pay {E}{E} (two energy counters). If you can't, return Greenbelt Rampager to its owner's hand and you get {E}. mana={G} type=Creature @@ -50157,8 +50158,8 @@ toughness=3 [/card] [card] name=Greenseeker -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto={G}{T}{D(*|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto={G}{T}{D(*|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={G}, {T}, Discard a card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle. mana={G} type=Creature @@ -50178,8 +50179,8 @@ toughness=1 [/card] [card] name=Greenwarden of Murasa -auto=may name(return card) moveto(ownerHand) target(*|mygraveyard) -auto=_DIES_may all(trigger[to]) moveto(exile) && target(other *|mygraveyard) moveto(ownerHand) +auto=may name(return card) moveto(hand) target(*|mygraveyard) +auto=_DIES_may all(trigger[to]) moveto(exile) && target(other *|mygraveyard) moveto(hand) text=When Greenwarden of Murasa enters, you may return target card from your graveyard to your hand. -- When Greenwarden of Murasa dies, you may exile it. If you do, return target card from your graveyard to your hand. mana={4}{G}{G} type=Creature @@ -50266,7 +50267,7 @@ type=Land [card] name=Griffin Dreamfinder abilities=flying -auto=moveto(ownerHand) target(enchantment|mygraveyard) +auto=moveto(hand) target(enchantment|mygraveyard) text=Flying -- When Griffin Dreamfinder enters, return target enchantment card from your graveyard to your hand. mana={3}{W}{W} type=Creature @@ -50407,8 +50408,8 @@ toughness=2 [card] name=Grim Harvest target=creature|mygraveyard -auto=moveto(ownerhand) -autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({2}{B}) name(recover) moveto(ownerhand)?name(exile) moveto(exile) +auto=moveto(hand) +autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({2}{B}) name(recover) moveto(hand)?name(exile) moveto(exile) text=Return target creature card from your graveyard to your hand. -- Recover {2}{B} (When a creature is put into your graveyard from the battlefield, you may pay {2}{B}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) mana={1}{B} type=Instant @@ -50465,8 +50466,8 @@ toughness=1 [card] name=Grim Tutor abilities=hiddenface -aicode=activate moveto(ownerHand) and!(life:-3 controller)! target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand) and!(life:-3 controller)!])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) and!(life:-3 controller)! target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand) and!(life:-3 controller)!])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a card and put that card into your hand, then shuffle. You lose 3 life. mana={1}{B}{B} type=Sorcery @@ -50609,7 +50610,7 @@ toughness=5 [/card] [card] name=Grisly Salvage -auto=reveal:5 optionone name(Get creature or land) target(creature,land|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=reveal:5 optionone name(Get creature or land) target(creature,land|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Reveal the top five cards of your library. You may put a creature or land card from among them into your hand. Put the rest into your graveyard. mana={B}{G} type=Instant @@ -50666,7 +50667,7 @@ toughness=2 [/card] [card] name=Grixis Charm -auto=aslongas(*|battlefield) choice moveTo(ownerhand) target(*) +auto=aslongas(*|battlefield) choice moveTo(hand) target(*) auto=aslongas(creature|battlefield) choice -4/-4 target(creature) auto=choice all(creature|myBattlefield) 2/0 ueot text=Choose one - Return target permanent to its owner's hand; or target creature gets -4/-4 until end of turn; or creatures you control get +2/+0 until end of turn. @@ -50793,7 +50794,7 @@ type=Sorcery [/card] [card] name=Groffskithur -auto=_BLOCKED_may moveto(ownerHand) target(groffskithur|mygraveyard) +auto=_BLOCKED_may moveto(hand) target(groffskithur|mygraveyard) text=Whenever Groffskithur becomes blocked, you may return target card named Groffskithur from your graveyard to your hand. mana={5}{G} type=Creature @@ -50916,7 +50917,7 @@ toughness=5 [/card] [card] name=Groundskeeper -auto={1}{G}:moveto(ownerHand) target(land[basic]|mygraveyard) +auto={1}{G}:moveto(hand) target(land[basic]|mygraveyard) text={1}{G}: Return target basic land card from your graveyard to your hand. mana={G} type=Creature @@ -50989,10 +50990,10 @@ type=Sorcery [card] name=Grozoth abilities=defender -auto=moveto(ownerHand) target(*[manacost=9]|myLibrary) +auto=moveto(hand) target(*[manacost=9]|myLibrary) auto={4}:-defender -aicode=activate target(*[manacost=9]|mylibrary) moveto(ownerHand) -autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=9]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=9]|mylibrary) moveto(hand) +autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=9]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Defender (This creature can't attack.) -- When Grozoth enters, you may search your library for any number of cards that have mana value 9, reveal them, and put them into your hand. If you do, shuffle your library. -- {4}: Grozoth loses defender until end of turn. -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={6}{U}{U}{U} type=Creature @@ -51014,7 +51015,7 @@ name=Gruesome Discovery target=player aicode=activate reject notatarget(<2>*|targetedpersonshand) auto=ifnot morbid then ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ targetedplayer -auto=if morbid then reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<2>*|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=if morbid then reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<2>*|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player discards two cards. -- Morbid - If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards. mana={2}{B}{B} type=Sorcery @@ -51123,7 +51124,7 @@ type=Artifact [card] name=Gruul Turf auto=tap(noevent) -auto=moveTo(ownerhand) notatarget(land|mybattlefield) +auto=moveTo(hand) notatarget(land|mybattlefield) auto={T}:Add{R}{G} text=Gruul Turf enters tapped. -- When Gruul Turf enters, return a land you control to its owner's hand. -- {T}: Add {R}{G}. type=Land @@ -51250,7 +51251,7 @@ toughness=1 name=Guardian Zendikon target=land auto=becomes(Creature Wall,2/6,defender,white) -auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerhand) +auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(hand) text=Enchant land -- Enchanted land is a 2/6 white Wall creature with defender. It's still a land. -- When enchanted land is put into a graveyard, return that card to its owner's hand. mana={2}{W} type=Enchantment @@ -51405,9 +51406,9 @@ type=Instant [/card] [card] name=Guided Passage -auto=ability$! notatarget(creature|opponentlibrary) moveto(ownerhand) !$ opponent -auto=ability$! notatarget(land|opponentlibrary) moveto(ownerhand) !$ opponent -auto=ability$! notatarget(*[-land;-creature]|opponentlibrary) moveto(ownerhand) !$ opponent +auto=ability$! notatarget(creature|opponentlibrary) moveto(hand) !$ opponent +auto=ability$! notatarget(land|opponentlibrary) moveto(hand) !$ opponent +auto=ability$! notatarget(*[-land;-creature]|opponentlibrary) moveto(hand) !$ opponent text=Reveal the cards in your library. An opponent chooses from among them a creature card, a land card, and a noncreature, nonland card. You put the chosen cards into your hand. Then shuffle. mana={U}{R}{G} type=Sorcery @@ -51962,7 +51963,7 @@ subtype=Plains Island [/card] [card] name=Hallowed Ground -auto={W}{W}:moveTo(ownerhand) target(land[-snow]|myBattlefield) +auto={W}{W}:moveTo(hand) target(land[-snow]|myBattlefield) text={W}{W}: Return target nonsnow land you control to its owner's hand. mana={1}{W} type=Enchantment @@ -52059,7 +52060,7 @@ toughness=1 name=Hammer of Bogardan target=anytarget auto=damage:3 -autograveyard={2}{R}{R}{R}:moveto(ownerHand) myUpkeepOnly +autograveyard={2}{R}{R}{R}:moveto(hand) myUpkeepOnly text=Hammer of Bogardan deals 3 damage to any target. -- {2}{R}{R}{R}: Return Hammer of Bogardan from your graveyard to your hand. Activate this ability only during your upkeep. mana={1}{R}{R} type=Sorcery @@ -52135,7 +52136,7 @@ toughness=3 [/card] [card] name=Hana Kami -auto={1}{G}{S}:moveto(ownerHand) target(other arcane|mygraveyard) +auto={1}{G}{S}:moveto(hand) target(other arcane|mygraveyard) text={1}{G}, Sacrifice Hana Kami: Return target Arcane card from your graveyard to your hand. mana={G} type=Creature @@ -52147,7 +52148,7 @@ toughness=1 name=Hanabi Blast target=anytarget auto=damage:2 -auto=moveto(ownerhand) and!(discard:1 controller)! all(this) +auto=moveto(hand) and!(discard:1 controller)! all(this) text=Hanabi Blast deals 2 damage to any target. Return Hanabi Blast to its owner's hand, then discard a card at random. mana={1}{R}{R} type=Instant @@ -52246,7 +52247,7 @@ type=Enchantment [/card] [card] name=Hanna, Ship's Navigator -auto={1}{W}{U}{T}:moveto(ownerHand) target(artifact,enchantment|mygraveyard) +auto={1}{W}{U}{T}:moveto(hand) target(artifact,enchantment|mygraveyard) text={1}{W}{U}, {T}: Return target artifact or enchantment card from your graveyard to your hand. mana={1}{W}{U} type=Legendary Creature @@ -52358,7 +52359,7 @@ toughness=3 [card] name=Harbinger of Spring auto=protection from(creature[-spirit]) -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=4]|mygraveyard) text=Protection from non-Spirit creatures -- Soulshift 4 (When this dies, you may return target Spirit card with mana value 4 or less from your graveyard to your hand.) mana={4}{G} type=Creature @@ -52587,7 +52588,7 @@ type=Instant [card] name=Haru-Onna auto=draw:1 controller -auto=@movedto(arcane,spirit|mystack):may moveto(ownerhand) +auto=@movedto(arcane,spirit|mystack):may moveto(hand) text=When Haru-Onna enters, draw a card. -- Whenever you cast a Spirit or Arcane spell, you may return Haru-Onna to its owner's hand. mana={3}{G} type=Creature @@ -52617,7 +52618,7 @@ toughness=2 [/card] [card] name=Harvest Wurm -auto=aslongas(land[basic]|mygraveyard) moveto(ownerHand) notatarget(land[basic]|mygraveyard) oneshot +auto=aslongas(land[basic]|mygraveyard) moveto(hand) notatarget(land[basic]|mygraveyard) oneshot auto=moveTo(graveyard) notatarget(this|myBattlefield) text=When Harvest Wurm enters, sacrifice it unless you return a basic land card from your graveyard to your hand. mana={1}{G} @@ -52851,7 +52852,7 @@ toughness=2 [/card] [card] name=Havengul Skaab -auto=_ATTACKING_moveto(ownerhand) notatarget(other creature|mybattlefield) +auto=_ATTACKING_moveto(hand) notatarget(other creature|mybattlefield) text=Whenever Havengul Skaab attacks, return another creature you control to its owner's hand. mana={5}{U} type=Creature @@ -52998,8 +52999,8 @@ toughness=1 name=He Who Hungers abilities=flying aicode=activate reject notatarget(*|targetedpersonshand) -auto={1}{S(creature[spirit]|mybattlefield)}:target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend asSorcery -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) +auto={1}{S(creature[spirit]|mybattlefield)}:target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend asSorcery +auto=_DIES_may moveto(hand) target(spirit[manacost<=4]|mygraveyard) text=Flying -- {1}, Sacrifice a Spirit: Target opponent reveals their hand. You choose a card from it. That player discards that card. Activate this ability only any time you could cast a sorcery. -- Soulshift 4 (When this dies, you may return target Spirit card with mana value 4 or less from your graveyard to your hand.) mana={4}{B} type=Legendary Creature @@ -53010,7 +53011,7 @@ toughness=2 [card] name=Head Games target=opponent -auto=count(type:*:opponenthand) && all(*|opponenthand) moveto(ownerlibrary) && transforms((,newability[notatarget(*|opponentlibrary) moveto(ownerhand)])) forever +auto=count(type:*:opponenthand) && all(*|opponenthand) moveto(ownerlibrary) && transforms((,newability[notatarget(*|opponentlibrary) moveto(hand)])) forever text=Target opponent puts the cards from their hand on top of their library. Search that player's library for that many cards. The player puts those cards into their hand, then shuffles their library. mana={3}{B}{B} type=Sorcery @@ -53601,7 +53602,7 @@ toughness=* [/card] [card] name=Heidar, Rimewind Master -auto=aslongas(*[snow]|myBattlefield) {2}{T}:moveTo(ownerhand) target(*) >3 +auto=aslongas(*[snow]|myBattlefield) {2}{T}:moveTo(hand) target(*) >3 text={2}, {T}: Return target permanent to its owner's hand. Activate this ability only if you control four or more snow permanents. mana={4}{U} type=Legendary Creature @@ -53675,8 +53676,8 @@ toughness=3 [/card] [card] name=Heliod's Pilgrim -aicode=activate target(aura|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>aura|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(aura|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>aura|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Heliod's Pilgrim enters, you may search your library for an Aura card, reveal it, put it into your hand, then shuffle. mana={2}{W} type=Creature @@ -54186,7 +54187,7 @@ subtype=Aura [/card] [card] name=Hermit Druid -auto={g}{t}:Reveal:1 revealzone(mylibrary) revealuntil(land[basic]|mylibrary) optionone choice name(Get Card) target(land[basic]|reveal) moveto(ownerHand) optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={g}{t}:Reveal:1 revealzone(mylibrary) revealuntil(land[basic]|mylibrary) optionone choice name(Get Card) target(land[basic]|reveal) moveto(hand) optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text={G}, {T}: Reveal cards from the top of your library until you reveal a basic land card. Put that card into your hand and all other cards revealed this way into your graveyard. mana={1}{G} type=Creature @@ -54371,14 +54372,14 @@ toughness=7 [/card] [card] name=Hibernation -auto=moveTo(ownerhand) all(*[green]) +auto=moveTo(hand) all(*[green]) text=Return all green permanents to their owners' hands. mana={2}{U} type=Instant [/card] [card] name=Hibernation Sliver -auto=lord(sliver) {L:2}:moveto(ownerHand) +auto=lord(sliver) {L:2}:moveto(hand) text=All Slivers have "Pay 2 life: Return this permanent to its owner's hand." mana={U}{B} type=Creature @@ -54671,8 +54672,8 @@ toughness=2 [card] name=Higure, the Still Wind autohand={2}{U}{U}{N}:ninjutsu -aicode=activate target(ninja|mylibrary) moveto(ownerHand) -auto=@combatdamaged(player) from(this):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>ninja|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(ninja|mylibrary) moveto(hand) +auto=@combatdamaged(player) from(this):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>ninja|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto={2}:unblockable target(creature[ninja]) text=Ninjutsu {2}{U}{U} ({2}{U}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever Higure deals combat damage to a player, you may search your library for a Ninja card, reveal it, and put it into your hand. If you do, shuffle your library. -- {2}: Target Ninja creature is unblockable this turn. mana={3}{U}{U} @@ -54737,7 +54738,7 @@ type=Instant [card] name=Hint of Insanity target=player -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(discards) all(*[-land]|reveal) transforms((,newability[all(other *[share!name!]|reveal) moveto(ownerhand) and!(reject)!])) oneshot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(discards) all(*[-land]|reveal) transforms((,newability[all(other *[share!name!]|reveal) moveto(hand) and!(reject)!])) oneshot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. That player discards all nonland cards with the same name as another card in their hand. mana={2}{B} type=Sorcery @@ -55375,7 +55376,7 @@ toughness=2 [card] name=Hoodwink target=artifact,enchantment,land -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return target artifact, enchantment, or land to its owner's hand. mana={1}{U} type=Instant @@ -55556,8 +55557,8 @@ toughness=1 [/card] [card] name=Horizon Spellbomb -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto={2}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto={2}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=_DIES_pay({G}) draw:1 mana={1} type=Artifact @@ -55616,7 +55617,7 @@ subtype=Equipment [/card] [card] name=Horned Kavu -auto=moveTo(ownerhand) notatarget(creature[red;green]|myBattlefield) +auto=moveTo(hand) notatarget(creature[red;green]|myBattlefield) text=When Horned Kavu enters, return a red or green creature you control to its owner's hand. mana={R}{G} type=Creature @@ -55876,7 +55877,7 @@ toughness=3 [card] name=Hoverguard Sweepers abilities=flying -auto=may moveTo(ownerhand) target(creature) +auto=may moveTo(hand) target(creature) text=Flying -- When Hoverguard Sweepers enters, you may return up to two target creatures to their owners' hands. mana={6}{U}{U} type=Creature @@ -55967,8 +55968,8 @@ type=Artifact [/card] [card] name=Howling Wolf -aicode=activate target(howling wolf|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(howling wolf|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(howling wolf|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(howling wolf|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Howling Wolf enters, you may search your library for up to three cards named Howling Wolf, reveal them, and put them into your hand. If you do, shuffle your library. mana={2}{G}{G} type=Creature @@ -56044,7 +56045,7 @@ toughness=3 [card] name=Hubris target=creature|battlefield -auto=transforms((,newability[moveto(ownerhand) all(mychild)],newability[moveto(ownerhand)])) forever +auto=transforms((,newability[moveto(hand) all(mychild)],newability[moveto(hand)])) forever text=Return target creature and all Auras attached to it to their owners' hands. mana={1}{U} type=Instant @@ -56165,7 +56166,7 @@ toughness=4 [card] name=Hundred-Talon Kami abilities=flying -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=4]|mygraveyard) text=Flying -- Soulshift 4 (When this dies, you may return target Spirit card with mana value 4 or less from your graveyard to your hand.) mana={4}{W} type=Creature @@ -56381,8 +56382,8 @@ type=Sorcery [/card] [card] name=Hunting Cheetah -aicode=activate target(forest|mylibrary) moveto(ownerHand) -auto=@damagefoeof(player) from(this):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(forest|mylibrary) moveto(hand) +auto=@damagefoeof(player) from(this):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Whenever Hunting Cheetah deals damage to an opponent, you may search your library for a Forest card, reveal that card, put it into your hand, then shuffle. mana={2}{G} type=Creature @@ -56655,7 +56656,7 @@ toughness=4 name=Hypervolt Grasp target=creature auto=teach(creature) {T}:damage:1 target(anytarget) -auto={1}{U}:moveTo(ownerhand) +auto={1}{U}:moveTo(hand) text=Enchant creature -- Enchanted creature has "{T}: This creature deals 1 damage to any target." -- {1}{U}: Return Hypervolt Grasp to its owner's hand. mana={2}{R} type=Enchantment @@ -56900,7 +56901,7 @@ type=Enchantment name=Icefall target=*[artifact;land] auto=destroy -autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({R}{R}) name(recover) moveto(ownerhand)?name(exile) moveto(exile) +autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({R}{R}) name(recover) moveto(hand)?name(exile) moveto(exile) text=Destroy target artifact or land. -- Recover {R}{R} (When a creature is put into your graveyard from the battlefield, you may pay {R}{R}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) mana={2}{R}{R} type=Sorcery @@ -56910,7 +56911,7 @@ name=Icefeather Aven abilities=flying facedown={3} autofacedown={1}{G}{U}:morph -autofaceup=moveTo(ownerhand) target(other creature|battlefield) +autofaceup=moveTo(hand) target(other creature|battlefield) text=Morph {1}{G}{U} (You may cast this card face down as a 2/2 creature for 3. Turn it face up any time for its morph cost.)-- When Icefeather Aven is turned face up, you may return another target creature to its owner's hand. mana={G}{U} type=Creature @@ -57052,8 +57053,8 @@ type=Enchantment [/card] [card] name=Idyllic Tutor -aicode=activate moveto(ownerHand) notatarget(enchantment|myLibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>enchantment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) notatarget(enchantment|myLibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>enchantment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for an enchantment card, reveal it, and put it into your hand. Then shuffle. mana={2}{W} type=Sorcery @@ -57071,8 +57072,8 @@ toughness=4 [card] name=Igneous Pouncer abilities=haste -aicode=activate target(*[mountain;swamp]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[mountain;swamp]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[mountain;swamp]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[mountain;swamp]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Haste -- Swampcycling {2}, mountaincycling {2} ({2}, Discard this card: Search your library for a Swamp or Mountain card, reveal it, and put it into your hand. Then shuffle.) mana={4}{B}{R} type=Creature @@ -57103,7 +57104,7 @@ toughness=1 [/card] [card] name=Ignorant Bliss -auto=all(*|myhand) moveto(myexile) and!( transforms((,newability[phaseaction[end once checkex] moveto(ownerHand)])) ueot )! +auto=all(*|myhand) moveto(myexile) and!( transforms((,newability[phaseaction[end once checkex] moveto(hand)])) ueot )! auto=phaseaction[end once] draw:1 text=Exile all cards from your hand face down. At the beginning of the next end step, return those cards to your hand, then draw a card. mana={1}{R} @@ -57148,7 +57149,7 @@ toughness=2 name=Ill-Gotten Gains abilities=exiledeath auto=reject all(*|hand) -auto=ability$!moveto(ownerhand) notatarget(*|mygraveyard)!$ controller && ability$!moveto(ownerhand) notatarget(*|mygraveyard)!$ opponent +auto=ability$!moveto(hand) notatarget(*|mygraveyard)!$ controller && ability$!moveto(hand) notatarget(*|mygraveyard)!$ opponent text=Exile Ill-Gotten Gains. Each player discards their hand, then returns up to three cards from their graveyard to their hand. mana={2}{B}{B} type=Sorcery @@ -57295,7 +57296,7 @@ toughness=1 [/card] [card] name=Imaginary Pet -auto=@each my upkeep restriction{type(*|myhand)~morethan~0}:moveto(ownerHand) +auto=@each my upkeep restriction{type(*|myhand)~morethan~0}:moveto(hand) text=At the beginning of your upkeep, if you have a card in hand, return Imaginary Pet to its owner's hand. mana={1}{U} type=Creature @@ -57435,8 +57436,8 @@ name=Imperial Hellkite abilities=flying facedown={3} autofacedown={6}{R}{R}:morph -aicode=activate target(dragon|mylibrary) moveto(ownerHand) -autofaceup=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>dragon|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(dragon|mylibrary) moveto(hand) +autofaceup=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>dragon|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Flying -- Morph {6}{R}{R} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Imperial Hellkite is turned face up, you may search your library for a Dragon card, reveal it, and put it into your hand. If you do, shuffle your library. mana={5}{R}{R} type=Creature @@ -57453,7 +57454,7 @@ abilities=controllershroud [/card] [card] name=Imperial Recruiter -auto=name(Search creature) target(creature[power<=2]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=name(Search creature) target(creature[power<=2]|mylibrary) moveto(hand) and!( shuffle )! text=When Imperial Recruiter enters, search your library for a creature card with power 2 or less, reveal it, and put it into your hand. Then shuffle. mana={2}{R} type=Creature @@ -57600,8 +57601,8 @@ type=Instant [card] name=Impulse abilities=hiddenface -aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerhand) -auto=name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=4]|mylibrary) moveto(hand) +auto=name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library. mana={1}{U} type=Instant @@ -57678,7 +57679,7 @@ toughness=4 [/card] [card] name=Iname, Life Aspect -auto=_DIES_may all(trigger[to]) moveto(exile) && target(spirit|mygraveyard) moveto(ownerHand) +auto=_DIES_may all(trigger[to]) moveto(exile) && target(spirit|mygraveyard) moveto(hand) text=When Iname, Life Aspect dies, you may exile it. If you do, return any number of target Spirit cards from your graveyard to your hand. mana={4}{G}{G} type=Legendary Creature @@ -57784,9 +57785,9 @@ toughness=3 [card] name=Increasing Ambition abilities=hiddenface -aicode=activate transforms((,newability[ifnot gravecast then target(*|myLibrary) moveto(ownerHand)],newability[if gravecast then target(<2>*|myLibrary) moveto(ownerHand)])) ueot -auto=ifnot gravecast then name(search card) reveal:plibrarycount optionone name(choose card) target(*|reveal) moveto(ownerHand) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! afterrevealedend revealend -auto=if gravecast then name(search card) reveal:plibrarycount optionone name(choose card) target(<2>*|reveal) moveto(ownerHand) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! afterrevealedend revealend +aicode=activate transforms((,newability[ifnot gravecast then target(*|myLibrary) moveto(hand)],newability[if gravecast then target(<2>*|myLibrary) moveto(hand)])) ueot +auto=ifnot gravecast then name(search card) reveal:plibrarycount optionone name(choose card) target(*|reveal) moveto(hand) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! afterrevealedend revealend +auto=if gravecast then name(search card) reveal:plibrarycount optionone name(choose card) target(<2>*|reveal) moveto(hand) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! afterrevealedend revealend flashback={7}{B} text=Search your library for a card and put that card into your hand. If Increasing Ambition was cast from a graveyard, instead search your library for two cards and put those cards into your hand. Then shuffle. -- Flashback {7}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={4}{B} @@ -58048,8 +58049,8 @@ target=creature auto=teach(creature) 2/1 auto=teach(creature) haste auto=teach(creature) mustattack -aicode=activate target(Infectious Bloodlust|mylibrary) moveto(ownerHand) -auto=@movedto(mytgt|graveyard) from(Battlefield):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>Infectious Bloodlust|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(Infectious Bloodlust|mylibrary) moveto(hand) +auto=@movedto(mytgt|graveyard) from(Battlefield):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>Infectious Bloodlust|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Enchant creature -- Enchanted creature gets +2/+1, has haste, and attacks each combat if able. -- When enchanted creature dies, you may search your library for a card named Infectious Bloodlust, reveal it, put it into your hand, then shuffle. mana={1}{R} type=Enchantment @@ -58079,7 +58080,7 @@ toughness=1 name=Infernal Caretaker facedown={3} autofacedown={3}{B}:morph -autofaceup=moveto(ownerHand) all(zombie|mygraveyard) +autofaceup=moveto(hand) all(zombie|mygraveyard) autofaceup=moveTo(opponenthand) all(zombie|opponentgraveyard) text=Morph {3}{B} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Infernal Caretaker is turned face up, return all Zombie cards from all graveyards to their owners' hands. mana={3}{B} @@ -58134,8 +58135,8 @@ type=Enchantment [card] name=Infernal Tutor abilities=hiddenface -auto=if type(*|myhand)~morethan~0 name(search a copy) then name(search a copy) target(*|myhand) transforms((,newability[target(*[share!name!]|mylibrary) moveto(ownerHand)])) oneshot -auto=if type(*|myhand)~lessthan~1 then target(*|mylibrary) moveto(ownerHand) +auto=if type(*|myhand)~morethan~0 name(search a copy) then name(search a copy) target(*|myhand) transforms((,newability[target(*[share!name!]|mylibrary) moveto(hand)])) oneshot +auto=if type(*|myhand)~lessthan~1 then target(*|mylibrary) moveto(hand) text=Reveal a card from your hand. Search your library for a card with the same name as that card, reveal it, put it into your hand, then shuffle. -- Hellbent - If you have no cards in hand, instead search your library for a card, put it into your hand, then shuffle. mana={1}{B} type=Sorcery @@ -58294,7 +58295,7 @@ toughness=3 name=Ingenious Thief abilities=flying aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend text=Flying -- When Ingenious Thief enters, look at target player's hand. mana={1}{U} type=Creature @@ -58492,7 +58493,7 @@ type=Sorcery name=Inquisition target=player auto=damage:type:*[white]:targetedpersonshand targetedplayer -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiononeend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiononeend revealend text=Target player reveals their hand. Inquisition deals damage to that player equal to the number of white cards in their hand. mana={2}{B} type=Sorcery @@ -58501,7 +58502,7 @@ type=Sorcery name=Inquisition of Kozilek target=player aicode=activate reject notatarget(*[-land;manacost<=3]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land;manacost<=3]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land;manacost<=3]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose a nonland card from it with mana value 3 or less. That player discards that card. mana={B} type=Sorcery @@ -58802,7 +58803,7 @@ toughness=1 name=Into Thin Air abilities=affinityartifacts target=artifact -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Affinity for artifacts (This spell costs {1} less to cast for each artifact you control.) -- Return target artifact to its owner's hand. mana={5}{U} type=Instant @@ -58836,7 +58837,7 @@ type=Sorcery name=Into the Roil target=*[-land] kicker={1}{U} -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=if paid(kicker) then draw:1 controller text=Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.) -- Return target nonland permanent to its owner's hand. If Into the Roil was kicked, draw a card. mana={1}{U} @@ -58845,7 +58846,7 @@ type=Instant [card] name=Into the Void target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to two target creatures to their owners' hands. mana={3}{U} type=Sorcery @@ -58882,14 +58883,14 @@ type=Enchantment [/card] [card] name=Inundate -auto=moveTo(ownerhand) all(creature[-blue]|battlefield) +auto=moveTo(hand) all(creature[-blue]|battlefield) text=Return all nonblue creatures to their owners' hands. mana={3}{U}{U}{U} type=Sorcery [/card] [card] name=Invasive Species -auto=moveTo(ownerhand) notatarget(other *|mybattlefield) +auto=moveTo(hand) notatarget(other *|mybattlefield) text=When Invasive Species enters, return another permanent you control to its owner's hand. mana={2}{G} type=Creature @@ -58932,8 +58933,8 @@ subtype=Equipment name=Inventors' Fair auto=@each my upkeep restriction{type(artifact|mybattlefield)~morethan~2}:life:1 controller auto={T}:add{C} -auto={4}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend restriction{type(artifact|mybattlefield)~morethan~2} -aicode=activate target(artifact|mylibrary) moveto(ownerHand) +auto={4}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend restriction{type(artifact|mybattlefield)~morethan~2} +aicode=activate target(artifact|mylibrary) moveto(hand) text=At the beginning of your upkeep, if you control three or more artifacts, you gain 1 life. -- {T}: Add {C}. -- {4}, {T}, Sacrifice Inventors' Fair: Search your library for an artifact card, reveal it, put it into your hand, then shuffle. Activate this ability only if you control three or more artifacts. type=Legendary Land [/card] @@ -59241,7 +59242,7 @@ toughness=4 [/card] [card] name=Ironclad Slayer -auto=may moveto(ownerHand) target(aura,equipment|mygraveyard) +auto=may moveto(hand) target(aura,equipment|mygraveyard) text=When Ironclad Slayer enters, you may return target Aura or Equipment card from your graveyard to your hand. mana={2}{W} type=Creature @@ -59646,14 +59647,14 @@ toughness=5 [card] name=Izzet Boilerworks auto=tap(noevent) -auto=moveTo(ownerhand) notatarget(land|mybattlefield) +auto=moveTo(hand) notatarget(land|mybattlefield) auto={T}:Add{U}{R} text=Izzet Boilerworks enters tapped. -- When Izzet Boilerworks enters, return a land you control to its owner's hand. -- {T}: Add {U}{R}. type=Land [/card] [card] name=Izzet Chronarch -auto=moveto(ownerHand) target(instant,sorcery|mygraveyard) +auto=moveto(hand) target(instant,sorcery|mygraveyard) text=When Izzet Chronarch enters, return target instant or sorcery card from your graveyard to your hand. mana={3}{U}{R} type=Creature @@ -59801,7 +59802,7 @@ toughness=1 [/card] [card] name=Jackalope Herd -auto=@movedTo(*|mystack):moveTo(ownerHand) +auto=@movedTo(*|mystack):moveTo(hand) text=When you cast a spell, return Jackalope Herd to its owner's hand. mana={3}{G} type=Creature @@ -59979,7 +59980,7 @@ toughness=3 [/card] [card] name=Jarad's Orders -auto=name(put in hand) moveto(ownerHand) notatarget(creature|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(creature|mylibrary))! oneshot +auto=name(put in hand) moveto(hand) notatarget(creature|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(creature|mylibrary))! oneshot text=Search your library for up to two creature cards and reveal them. Put one into your hand and the other into your graveyard. Then shuffle. mana={2}{B}{G} type=Sorcery @@ -59988,7 +59989,7 @@ type=Sorcery name=Jarad, Golgari Lich Lord auto=type:creature:mygraveyard/type:creature:mygraveyard nonstatic auto={1}{B}{G}{S(other creature|myBattlefield)}:life:-storedpower opponent -autograveyard={S(swamp|mybattlefield)}{S(forest|mybattlefield)}:name(reclaim) moveto(ownerHand) +autograveyard={S(swamp|mybattlefield)}{S(forest|mybattlefield)}:name(reclaim) moveto(hand) text=Jarad, Golgari Lich Lord gets +1/+1 for each creature card in your graveyard. -- {1}{B}{G}, Sacrifice another creature: Each opponent loses life equal to the sacrificed creature's power. -- Sacrifice a Swamp and a Forest: Return Jarad from your graveyard to your hand. mana={B}{B}{G}{G} type=Legendary Creature @@ -60176,7 +60177,7 @@ type=Artifact [card] name=Jeskai Barricade abilities=flash,defender -auto=may name(bounce target creature you control) moveTo(ownerhand) target(other creature|myBattlefield) +auto=may name(bounce target creature you control) moveTo(hand) target(other creature|myBattlefield) text=Flash (You may cast this spell any time you could cast an instant.) -- Defender -- When Jeskai Barricade enters, you may return another target creature you control to its owner's hand. mana={1}{W} type=Creature @@ -60334,8 +60335,8 @@ toughness=3 [card] name=Jhessian Zombies abilities=fear -aicode=activate target(*[island;swamp]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[island;swamp]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[island;swamp]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[island;swamp]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- Islandcycling {2}, swampcycling {2} ({2}, Discard this card: Search your library for an Island or Swamp card, reveal it, and put it into your hand. Then shuffle.) mana={4}{U}{B} type=Creature @@ -60384,7 +60385,7 @@ type=Enchantment name=Jilt kicker={1}{R} target=creature -auto=moveto(ownerhand) +auto=moveto(hand) auto=if paid(kicker) then damage:2 target(creature) text=Kicker {1}{R} (You may pay an additional {1}{R} as you cast this spell.) -- Return target creature to its owner's hand. If Jilt was kicked, it deals 2 damage to another target creature. mana={1}{U} @@ -60667,8 +60668,8 @@ toughness=3 [card] name=Journey of Discovery other={4}{G}{G} name(Entwine) -auto=if paid(alternative) then transforms((,newability[notatarget(land[basic]|mylibrary) moveto(ownerhand)],newability[maxPlay(land)+2])) -auto=ifnot paid(alternative) then transforms((,newability[choice name(fetch 2 basic lands to hand) notatarget(land[basic]|mylibrary) moveto(ownerhand)],newability[choice name(can play 2 additional lands) maxPlay(land)+2 controller])) +auto=if paid(alternative) then transforms((,newability[notatarget(land[basic]|mylibrary) moveto(hand)],newability[maxPlay(land)+2])) +auto=ifnot paid(alternative) then transforms((,newability[choice name(fetch 2 basic lands to hand) notatarget(land[basic]|mylibrary) moveto(hand)],newability[choice name(can play 2 additional lands) maxPlay(land)+2 controller])) text=Choose one - Search your library for up to two basic land cards, reveal them, put them into your hand, then shuffle; or you may play up to two additional lands this turn. -- Entwine {2}{G} (Choose both if you pay the entwine cost.) mana={2}{G} type=Sorcery @@ -60682,8 +60683,8 @@ type=Enchantment [/card] [card] name=Journeyer's Kite -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto={3}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto={3}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={3}, {T}: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle. mana={2} type=Artifact @@ -60878,7 +60879,7 @@ toughness=6 [card] name=Jungle Basin auto=tap(noevent) -auto=aslongas(forest[-tapped]|mybattlefield) moveto(ownerHand) notatarget(forest[-tapped]|mybattlefield) oneshot +auto=aslongas(forest[-tapped]|mybattlefield) moveto(hand) notatarget(forest[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{G} text=Jungle Basin enters tapped. -- When Jungle Basin enters, sacrifice it unless you return an untapped Forest you control to its owner's hand. -- {T}: Add {1}{G}. @@ -60988,7 +60989,7 @@ toughness=4 [card] name=Junk Diver abilities=flying -auto=_DIES_moveto(ownerHand) target(other artifact|mygraveyard) +auto=_DIES_moveto(hand) target(other artifact|mygraveyard) text=Flying -- When Junk Diver dies, return another target artifact card from your graveyard to your hand. mana={3} type=Artifact Creature @@ -61072,7 +61073,7 @@ type=Instant [card] name=Just the Wind target=creature -auto=moveto(ownerhand) +auto=moveto(hand) abilities=madness autoexile=restriction{discarded} pay({u}) name(pay u to cast) activate name(pay u to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard) text=Return target creature to its owner's hand. -- Madness {U} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) @@ -61170,8 +61171,8 @@ type=Land [/card] [card] name=Kabira Evangel -auto=may chooseacolor all(ally|mybattlefield) protection from(*[chosencolor]) ueot chooseend -auto=_RALLY_may chooseacolor all(ally|mybattlefield) protection from(*[chosencolor]) ueot chooseend +auto=chooseacolor all(ally|mybattlefield) protection from(*[chosencolor]) chooseend +auto=_RALLY_chooseacolor all(ally|mybattlefield) protection from(*[chosencolor]) chooseend text=Whenever Kabira Evangel or another Ally enters under your control, you may choose a color. If you do, Allies you control gain protection from the chosen color until end of turn. mana={2}{W} type=Creature @@ -61267,7 +61268,7 @@ toughness=* [/card] [card] name=Kaijin of the Vanishing Touch -auto=@combat(blocking) source(this) from(creature):all(trigger[from]) phaseaction[combatends,sourceinplay] moveTo(ownerhand) +auto=@combat(blocking) source(this) from(creature):all(trigger[from]) phaseaction[combatends,sourceinplay] moveTo(hand) text=Defender (This creature can't attack.) -- Whenever Kaijin of the Vanishing Touch blocks a creature, return that creature to its owner's hand at end of combat. (Return it only if it's on the battlefield.) mana={1}{U} type=Creature @@ -61454,7 +61455,7 @@ toughness=2 [/card] [card] name=Kami of Empty Graves -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=3]|mygraveyard) text=Soulshift 3 (When this dies, you may return target Spirit card with mana value 3 or less from your graveyard to your hand.) mana={3}{B} type=Creature @@ -61485,7 +61486,7 @@ toughness=3 [card] name=Kami of Lunacy abilities=flying -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=5]|mygraveyard) text=Flying -- Soulshift 5 (When this dies, you may return target Spirit card with mana value 5 or less from your graveyard to your hand.) mana={4}{B}{B} type=Creature @@ -61513,7 +61514,7 @@ toughness=5 [/card] [card] name=Kami of Twisted Reflection -auto={S}:moveTo(ownerhand) target(other creature|mybattlefield) +auto={S}:moveTo(hand) target(other creature|mybattlefield) text=Sacrifice Kami of Twisted Reflection: Return target creature you control to its owner's hand. mana={1}{U}{U} type=Creature @@ -61536,7 +61537,7 @@ toughness=3 name=Kami of the Honored Dead abilities=flying auto=_ENRAGE_life:thatmuch controller -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=6]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=6]|mygraveyard) text=Flying -- Whenever Kami of the Honored Dead is dealt damage, you gain that much life. -- Soulshift 6 (When this dies, you may return target Spirit card with mana value 6 or less from your graveyard to your hand.) mana={5}{W}{W} type=Creature @@ -61571,7 +61572,7 @@ toughness=3 [card] name=Kami of the Palace Fields abilities=flying,first strike -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=5]|mygraveyard) text=Flying, first strike -- Soulshift 5 (When this dies, you may return target Spirit card with mana value 5 or less from your graveyard to your hand.) mana={5}{W} type=Creature @@ -61582,7 +61583,7 @@ toughness=2 [card] name=Kami of the Tended Garden auto=upcost[{G}] sacrifice -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=3]|mygraveyard) text=At the beginning of your upkeep, sacrifice Kami of the Tended Garden unless you pay {G}. -- Soulshift 3 (When this dies, you may return target Spirit card with mana value 3 or less from your graveyard to your hand.) mana={3}{G} type=Creature @@ -61629,7 +61630,7 @@ toughness=3 [card] name=Karakas auto={T}:Add{W} -auto={T}:moveTo(ownerhand) target(creature[legendary]) +auto={T}:moveTo(hand) target(creature[legendary]) text={T}: Add {W}. -- {T}: Return target legendary creature to its owner's hand. type=Legendary Land [/card] @@ -61773,7 +61774,7 @@ toughness=5 [card] name=Karoo auto=tap(noevent) -auto=aslongas(plains[-tapped]|mybattlefield) moveto(ownerHand) notatarget(plains[-tapped]|mybattlefield) oneshot +auto=aslongas(plains[-tapped]|mybattlefield) moveto(hand) notatarget(plains[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{W} text=Karoo enters tapped. -- When Karoo enters, sacrifice it unless you return an untapped Plains you control to its owner's hand. -- {T}: Add {1}{W}. @@ -62014,8 +62015,8 @@ toughness=1 [/card] [card] name=Kavu Howler -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-kavu]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Kavu) target(<4>kavu|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-kavu]|*) then bottomoflibrary)! +auto=reveal:4 optionone name(Get Kavu) target(<4>kavu|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=When Kavu Howler enters, reveal the top four cards of your library. Put all Kavu cards revealed this way into your hand and the rest on the bottom of your library. mana={4}{G}{G} type=Creature @@ -62193,7 +62194,7 @@ toughness=3 [/card] [card] name=Kederekt Leviathan -auto=moveTo(ownerhand) all(other *[-land]) +auto=moveTo(hand) all(other *[-land]) autograveyard={6}{U}:name(Unearth) moveto(mybattlefield) and!( transforms((,haste,newability[unearth],newability[exiledeath])) forever )! asSorcery text=When Kederekt Leviathan enters, return all other nonland permanents to their owners' hands. -- Unearth {6}{U} ({6}{U}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.) mana={6}{U}{U} @@ -62360,7 +62361,7 @@ toughness=2 [card] name=Keeper of the Nine Gales abilities=flying -auto={T}{T(bird|myBattlefield)}{T(bird|myBattlefield)}:moveTo(ownerhand) target(*|battlefield) +auto={T}{T(bird|myBattlefield)}{T(bird|myBattlefield)}:moveTo(hand) target(*|battlefield) text=Flying -- {T}, Tap two untapped Birds you control: Return target permanent to its owner's hand. mana={2}{U} type=Creature @@ -62579,7 +62580,7 @@ toughness=4 [card] name=Kemuri-Onna auto=target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer -auto=@movedto(arcane,spirit|mystack) from(myhand):may moveto(ownerHand) all(this) +auto=@movedto(arcane,spirit|mystack) from(myhand):may moveto(hand) all(this) text=When Kemuri-Onna enters, target player discards a card. -- Whenever you cast a Spirit or Arcane spell, you may return Kemuri-Onna to its owner's hand. mana={4}{B} type=Creature @@ -62704,7 +62705,7 @@ type=Artifact [card] name=Keymaster Rogue abilities=unblockable -auto=moveto(ownerhand) notatarget(creature|mybattlefield) +auto=moveto(hand) notatarget(creature|mybattlefield) text=Keymaster Rogue is unblockable. -- When Keymaster Rogue enters, return a creature you control to its owner's hand. mana={3}{U} type=Creature @@ -62743,7 +62744,7 @@ type=Land [/card] [card] name=Khalni Gem -auto=moveTo(ownerhand) target(<2>land|myBattlefield) +auto=moveTo(hand) target(<2>land|myBattlefield) auto={T}:Add{W}{W} auto={T}:Add{U}{U} auto={T}:Add{B}{B} @@ -62898,8 +62899,8 @@ toughness=3 name=Kilnmouth Dragon abilities=flying auto={t}:target(anytarget) thisforeach(counter{1/1.1}) damage:1 -aicode=activate target(*[dragon]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1,3) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Dragon]|myhand) optionone foreach(*[Dragon]|reveal) counter(1/1,3) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[dragon]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1,3) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Dragon]|myhand) optionone foreach(*[Dragon]|reveal) counter(1/1,3) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Amplify 3 (As this creature enters, put three +1/+1 counters on it for each Dragon card you reveal in your hand.) -- Flying -- {T}: Kilnmouth Dragon deals damage equal to the number of +1/+1 counters on it to any target. mana={5}{R}{R} type=Creature @@ -63130,8 +63131,8 @@ toughness=3 [/card] [card] name=Kiri-Onna -auto=moveTo(ownerhand) target(creature) -auto=@movedto(arcane,spirit|mystack):may moveTo(ownerhand) +auto=moveTo(hand) target(creature) +auto=@movedto(arcane,spirit|mystack):may moveTo(hand) text=When Kiri-Onna enters, return target creature to its owner's hand. -- Whenever you cast a Spirit or Arcane spell, you may return Kiri-Onna to its owner's hand. mana={4}{U} type=Creature @@ -63882,7 +63883,7 @@ toughness=4 [/card] [card] name=Kodama's Reach -auto=name(fetch to play) notatarget(land[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(land[basic]|mylibrary) moveto(ownerHand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot +auto=name(fetch to play) notatarget(land[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(land[basic]|mylibrary) moveto(hand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot text=Search your library for two basic land cards, reveal those cards, and put one onto the battlefield tapped and the other into your hand. Then shuffle. mana={2}{G} type=Sorcery @@ -63914,7 +63915,7 @@ name=Kolaghan Forerunners abilities=trample anyzone=type:creature:mybattlefield/3 cdaactive other={R}{2} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Trample -- Kolaghan Forerunners's power is equal to the number of creatures you control. -- Dash {2}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={2}{R} type=Creature @@ -63934,7 +63935,7 @@ type=Artifact [card] name=Kolaghan Skirmisher other={2}{B} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Dash {2}{B} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={1}{B} type=Creature @@ -63961,7 +63962,7 @@ name=Kolaghan, the Storm's Fury abilities=flying auto=@combat(attacking) source(dragon|mybattlefield):all(creature|mybattlefield) 1/0 ueot other={3}{R}{B} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Flying. -- Whenever a Dragon you control attacks, creatures you control get +1/+0 until end of turn. -- Dash {3}{B}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={3}{B}{R} type=Legendary Creature @@ -64189,7 +64190,7 @@ toughness=2 [card] name=Kor Skyfisher abilities=flying -auto=moveTo(ownerhand) notatarget(*|myBattlefield) +auto=moveTo(hand) notatarget(*|myBattlefield) text=Flying -- When Kor Skyfisher enters, return a permanent you control to its owner's hand. mana={1}{W} type=Creature @@ -64748,8 +64749,8 @@ toughness=2 [/card] [card] name=Krosan Tusker -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand=@cycled(this|hand):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand=@cycled(this|hand):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend autohand={2}{G}{cycle}:name(cycling) draw:1 text=Cycling {2}{G} ({2}{G}, Discard this card: Draw a card.) -- When you cycle Krosan Tusker, you may search your library for a basic land card, reveal that card, put it into your hand, then shuffle. mana={5}{G}{G} @@ -64762,7 +64763,7 @@ toughness=5 name=Krosan Verge auto=tap(noevent) auto={T}:Add{1} -auto={2}{T}{S}:name(sacrifice to search) transforms((,newability[ability$! notatarget(forest|mylibrary) moveto(ownerbattlefield) and!(tap(noevent))! !$ controller],newability[ability$! notatarget(plains|mylibrary) moveto(ownerbattlefield) and!(tap(noevent))! !$ controller])) oneshot +auto={2}{T}{S}:name(sacrifice to search) transforms((,newability[ability$! notatarget(forest|mylibrary) moveto(ownerbattlefield) !$ controller],newability[ability$!notatarget(plains|mylibrary) moveto(ownerbattlefield) controller])) oneshot text=Krosan Verge enters tapped. -- {T}: Add {1}. -- {2}, {T}, Sacrifice Krosan Verge: Search your library for a Forest card and a Plains card and put them onto the battlefield tapped. Then shuffle. type=Land [/card] @@ -64821,7 +64822,7 @@ subtype=Aura [/card] [card] name=Krovikan Horror -autograveyard=@each end restriction{type(creature[zpos=myposplus1plusend]|mygraveyard)~morethan~0}:may moveto(ownerhand) +autograveyard=@each end restriction{type(creature[zpos=myposplus1plusend]|mygraveyard)~morethan~0}:may moveto(hand) auto={1}{S(creature|mybattlefield)}:damage:1 target(anytarget) text=At the beginning of the end step, if Krovikan Horror is in your graveyard with a creature card directly above it, you may return Krovikan Horror to your hand. -- {1}, Sacrifice a creature: Krovikan Horror deals 1 damage to any target. mana={3}{B} @@ -64855,7 +64856,7 @@ subtype=Aura name=Krovikan Rot target=creature[power<=2] auto=destroy -autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({1}{B}{B}) name(recover) moveto(ownerhand)?name(exile) moveto(exile) +autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({1}{B}{B}) name(recover) moveto(hand)?name(exile) moveto(exile) text=Destroy target creature with power 2 or less. -- Recover {1}{B}{B} (When a creature is put into your graveyard from the battlefield, you may pay {1}{B}{B}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) mana={2}{B} type=Instant @@ -64927,7 +64928,7 @@ toughness=3 [/card] [card] name=Kruphix's Insight -auto=reveal:6 optionone target(enchantment|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=reveal:6 optionone target(enchantment|reveal) moveto(hand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=Reveal the top six cards of your library. Put up to three enchantment cards from among them into your hand and the rest of the revealed cards into your graveyard. mana={2}{G} type=Sorcery @@ -65351,7 +65352,7 @@ toughness=4 [/card] [card] name=Lady Sun -auto={T}:moveTo(ownerhand) all(this) && moveTo(ownerhand) target(other creature) restriction{during my turn,before attackers} +auto={T}:moveTo(hand) all(this) && moveTo(hand) target(other creature) restriction{during my turn,before attackers} text={T}: Return Lady Sun and another target creature to their owners' hands. Activate this ability only during your turn, before attackers are declared. mana={1}{U}{U} type=Legendary Creature @@ -65399,8 +65400,8 @@ toughness=4 [/card] [card] name=Lair Delve -aicode=activate target(<2>*[zpos<=2]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-creature;-land]|*) then bottomoflibrary)! -auto=reveal:2 optionone name(Get creature and land) target(<2>*[creature;land]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<2>*[zpos<=2]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-creature;-land]|*) then bottomoflibrary)! +auto=reveal:2 optionone name(Get creature and land) target(<2>*[creature;land]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend text=Reveal the top two cards of your library. Put all creature and land cards revealed this way into your hand and the rest on the bottom of your library in any order. mana={2}{G} type=Sorcery @@ -65492,8 +65493,8 @@ type=Enchantment [card] name=Land Grant other={0} name(Cast for free) -aicode=activate target(forest|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(forest|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend otherrestriction=type(land|myhand)~lessthan~1 autostack=if paid(alternative) then ability$!name(look at opponent hand) notatarget(*|opponenthand) 0/0!$ opponent text=If you have no land cards in hand, you may reveal your hand rather than pay Land Grant's mana cost. -- Search your library for a Forest card, reveal that card, and put it into your hand. Then shuffle. @@ -65518,8 +65519,8 @@ type=Artifact [/card] [card] name=Land Tax -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=@each my upkeep restriction{control less lands}:may name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=@each my upkeep restriction{control less lands}:may name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=At the beginning of your upkeep, if an opponent controls more lands than you, you may search your library for up to three basic land cards, reveal them, and put them into your hand. If you do, shuffle your library. mana={W} type=Enchantment @@ -65570,7 +65571,7 @@ toughness=2 [card] name=Lantern Spirit abilities=flying -auto={U}:moveTO(ownerhand) +auto={U}:moveTO(hand) text=Flying -- {U}: Return Lantern Spirit to its owner's hand. mana={2}{U} type=Creature @@ -65843,7 +65844,7 @@ toughness=3 [card] name=Launch target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=flying text=Enchant creature -- Enchanted creature has flying. -- When Launch is put into a graveyard from the battlefield, return Launch to its owner's hand. mana={1}{U} @@ -65937,7 +65938,7 @@ type=Land [/card] [card] name=Lava Zombie -auto=moveTo(ownerhand) notatarget(creature[black;red]|myBattlefield) +auto=moveTo(hand) notatarget(creature[black;red]|myBattlefield) auto={2}:1/0 text=When Lava Zombie enters, return a black or red creature you control to its owner's hand. -- {2}: Lava Zombie gets +1/+0 until end of turn. mana={1}{B}{R} @@ -66080,8 +66081,8 @@ type=Sorcery [/card] [card] name=Lay of the Land -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a basic land card, reveal that card, and put it into your hand. Then shuffle. mana={G} type=Sorcery @@ -66112,7 +66113,7 @@ type=Instant [/card] [card] name=Lead the Stampede -auto=reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top five cards of your library. You may reveal any number of creature cards from among them and put the revealed cards into your hand. Put the rest on the bottom of your library in any order. mana={2}{G} type=Sorcery @@ -66260,7 +66261,7 @@ type=Instant [/card] [card] name=Leashling -auto={s2l(*|myhand)}:moveto(ownerHand) +auto={s2l(*|myhand)}:moveto(hand) text=Put a card in your hand on top of your library: Return Leashling to its owner's hand. mana={6} type=Artifact Creature @@ -66287,7 +66288,7 @@ type=Instant [card] name=Leave in the Dust target=*[-land]|battlefield -auto=moveTo(ownerHand) +auto=moveTo(hand) auto=draw:1 controller text=Return target nonland permanent to its owner's hand. -- Draw a card. mana={3}{U} @@ -66522,7 +66523,7 @@ toughness=1 [/card] [card] name=Leonin Squire -auto=moveto(ownerHand) target(artifact[manacost<=1]|mygraveyard) +auto=moveto(hand) target(artifact[manacost<=1]|mygraveyard) text=When Leonin Squire enters, return target artifact card with mana value 1 or less from your graveyard to your hand. mana={1}{W} type=Creature @@ -66549,8 +66550,8 @@ subtype=Aura [card] name=Leshrac's Sigil aicode=activate notatarget(*|opponenthand) reject -auto=@movedto(*[green]|opponentstack):pay({B}{B}) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend -auto={B}{B}:moveto(ownerhand) +auto=@movedto(*[green]|opponentstack):pay({B}{B}) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend +auto={B}{B}:moveto(hand) text=Whenever an opponent casts a green spell, you may pay {B}{B}. If you do, look at that player's hand and choose a card from it. The player discards that card. -- {B}{B}: Return Leshrac's Sigil to its owner's hand. mana={B}{B} type=Enchantment @@ -66626,8 +66627,8 @@ type=Enchantment [/card] [card] name=Leyline Phantom -auto=@combatdamaged(creature) from(this):phaseaction[combatends,sourceinplay] moveto(ownerhand) -auto=@combatdamaged(player) from(this):phaseaction[combatends,sourceinplay] moveto(ownerhand) +auto=@combatdamaged(creature) from(this):phaseaction[combatends,sourceinplay] moveto(hand) +auto=@combatdamaged(player) from(this):phaseaction[combatends,sourceinplay] moveto(hand) text=When Leyline Phantom deals combat damage, return it to its owner's hand. (Return it only if it survived combat.) mana={4}{U} type=Creature @@ -66845,7 +66846,7 @@ type=Enchantment [/card] [card] name=Life from the Loam -auto=target(land|mygraveyard) moveto(ownerHand) +auto=target(land|mygraveyard) moveto(hand) dredge=dredge(3) text=Return up to three target land cards from your graveyard to your hand. -- Dredge 3 (If you would draw a card, instead you may put exactly three cards from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card.) mana={1}{G} @@ -66871,7 +66872,7 @@ type=Sorcery name=Lifebane Zombie abilities=intimidate aicode=activate moveto(exile) notatarget(creature[green;white]|targetedpersonshand) -auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(creature[green;white]|reveal) moveto(exile) 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(creature[green;white]|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Intimidate. -- When Lifebane Zombie enters, target opponent reveals their hand. You choose a green or white creature card from it and exile that card. mana={1}{B}{B} type=Creature @@ -67111,7 +67112,7 @@ type=Instant [card] name=Lightning Berserker other={R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever auto={R}:1/0 ueot text={R}: Lightning Berserker gets +1/+0 until end of turn. -- Dash {R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={R} @@ -67415,8 +67416,8 @@ toughness=3 [/card] [card] name=Liliana's Shade -aicode=activate target(swamp|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>swamp|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(swamp|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>swamp|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto={B}:1/1 text=When Liliana's Shade enters, you may search your library for a Swamp card, reveal it, put it into your hand, then shuffle. -- {B}: Liliana's Shade gets +1/+1 until end of turn. mana={2}{B}{B} @@ -67765,8 +67766,8 @@ toughness=6 [card] name=Living Wish auto=moveTo(exile) -aicode=activate target(*[land;creature]|mysideboard) moveto(ownerHand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[land;creature]|reveal) moveto(ownerHand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend +aicode=activate target(*[land;creature]|mysideboard) moveto(hand) +auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[land;creature]|reveal) moveto(hand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend text=You may choose a creature or land card you own from outside the game, reveal that card, and put it into your hand. Exile Living Wish. mana={1}{G} type=Sorcery @@ -67863,8 +67864,8 @@ toughness=1 [/card] [card] name=Llanowar Empath -aicode=activate target(creature[zpos=1]|mylibrary) moveto(ownerHand) -auto=scry:2 scrycore delayed dontshow transforms((,newability[if type(creature[zpos=1]|mylibrary)~equalto~1 then all(creature[zpos=1]|mylibrary) moveto(ownerHand) else target(*[zpos=1]|mylibrary) moveto(myreveal) and!( placefromthetop(1) )!])) oneshot scrycoreend scryend +aicode=activate target(creature[zpos=1]|mylibrary) moveto(hand) +auto=scry:2 scrycore delayed dontshow transforms((,newability[if type(creature[zpos=1]|mylibrary)~equalto~1 then all(creature[zpos=1]|mylibrary) moveto(hand) else target(*[zpos=1]|mylibrary) moveto(myreveal) and!( placefromthetop(1) )!])) oneshot scrycoreend scryend text=When Llanowar Empath enters, scry 2, then reveal the top card of your library. If it's a creature card, put it into your hand. (To scry 2, look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) mana={3}{G} type=Creature @@ -67935,7 +67936,7 @@ type=Land [card] name=Llawan, Cephalid Empress auto=maxCast(creature[blue])0 opponent -auto=moveTo(ownerhand) all(creature[blue]|opponentbattlefield) +auto=moveTo(hand) all(creature[blue]|opponentbattlefield) text=When Llawan, Cephalid Empress enters, return all blue creatures your opponents control to their owners' hands. -- Your opponents can't cast blue creature spells. mana={3}{U} type=Legendary Creature @@ -68022,7 +68023,7 @@ toughness=4 name=Lobotomy target=player aicode=activate notatarget(*[-basic]|targetedpersonshand) transforms((,newability[all(*[share!name!]|myhand) moveto(exile)],newability[all(*[share!name!]|mylibrary) moveto(exile) and!( shuffle )!],newability[all(*[share!name!]|mygraveyard) moveto(exile)])) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(*[-basic]|reveal) moveto(exile) and!( transforms((,newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!],newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(*[-basic]|reveal) moveto(exile) and!( transforms((,newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!],newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand, then you choose a card other than a basic land card from it. Search that player's graveyard, hand, and library for all cards with the same name as the chosen card and exile them. Then that player shuffles their library. mana={2}{U}{B} type=Sorcery @@ -68112,8 +68113,8 @@ toughness=1 [card] name=Lone Revenant abilities=hexproof, hiddenface -aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerHand) -auto=@combatdamagefoeof(player) from(this) restriction{type(other creature|myBattlefield)~lessthan~1}:name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=4]|mylibrary) moveto(hand) +auto=@combatdamagefoeof(player) from(this) restriction{type(other creature|myBattlefield)~lessthan~1}:name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Hexproof (This creature can't be the target of spells or abilities your opponents control.) -- Whenever Lone Revenant deals combat damage to a player, if you control no other creatures, look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={3}{U}{U} type=Creature @@ -68352,7 +68353,7 @@ toughness=7 [card] name=Lord of the Undead auto=lord(other zombie) 1/1 -auto={1}{B}{T}:moveto(ownerHand) target(zombie|mygraveyard) +auto={1}{B}{T}:moveto(hand) target(zombie|mygraveyard) text=Other Zombie creatures get +1/+1. -- {1}{B}, {T}: Return target Zombie card from your graveyard to your hand. mana={1}{B}{B} type=Creature @@ -68515,7 +68516,7 @@ type=Instant name=Lost in the Mist target=*|stack auto=fizzle -auto=moveTo(ownerhand) target(*|battlefield) +auto=moveTo(hand) target(*|battlefield) text=Counter target spell. Return target permanent to its owner's hand. mana={3}{U}{U} type=Instant @@ -68619,7 +68620,7 @@ type=Land name=Lotus-Eye Mystics abilities=prowess auto=@movedTo(*[-creature]|mystack):1/1 ueot -auto=choice moveto(ownerHand) target(enchantment|mygraveyard) +auto=choice moveto(hand) target(enchantment|mygraveyard) text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- When Lotus-Eye Mystics enters, return target enchantment card from your graveyard to your hand. mana={3}{W} type=Creature @@ -68992,7 +68993,7 @@ toughness=2 [card] name=Lumengrid Drake abilities=flying -auto=aslongas(artifact|myBattlefield) moveTo(ownerhand) target(creature) >2 oneshot +auto=aslongas(artifact|myBattlefield) moveTo(hand) target(creature) >2 oneshot text=Flying -- Metalcraft - When Lumengrid Drake enters, if you control three or more artifacts, return target creature to its owner's hand. mana={3}{U} type=Creature @@ -69391,7 +69392,7 @@ toughness=4 [card] name=Macabre Waltz target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) auto=target(*|myhand) reject text=Return up to two target creature cards from your graveyard to your hand, then discard a card. mana={1}{B} @@ -69411,7 +69412,7 @@ toughness=4 [card] name=Machinate aicode=name(look) activate name(look) transforms((,newability[moverandom(*[zpos<=type:artifact:mybattlefield]) from(mylibrary) to(myhand)])) ueot -auto=name(Look) reveal:type:artifact:mybattlefield optionone name(Look) target(*|reveal) moveto(ownerHand) optiononeend optiontwo target(<60>*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Look) reveal:type:artifact:mybattlefield optionone name(Look) target(*|reveal) moveto(hand) optiononeend optiontwo target(<60>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top X cards of your library, where X is the number of artifacts you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. mana={1}{U}{U} type=Instant @@ -69748,7 +69749,7 @@ type=Artifact name=Magma Phoenix abilities=flying auto=_DIES_damage:3 all(creature) && damage:3 all(player) -autograveyard={3}{R}{R}:moveto(ownerHand) +autograveyard={3}{R}{R}:moveto(hand) text=Flying -- When Magma Phoenix dies, it deals 3 damage to each creature and each player. -- {3}{R}{R}: Return Magma Phoenix from your graveyard to your hand. mana={3}{R}{R} type=Creature @@ -70001,7 +70002,7 @@ toughness=3 [/card] [card] name=Magus of the Jar -auto={T}{S}:name(hand blink) all(*|hand) transforms((,newability[moveto(exile)],newability[phaseaction[end once checkex] moveto(ownerhand)])) && ability$!draw:7 all(player) _ phaseaction[end once] reject all(*|hand)!$ controller +auto={T}{S}:name(hand blink) all(*|hand) transforms((,newability[moveto(exile)],newability[phaseaction[end once checkex] moveto(hand)])) && ability$!draw:7 all(player) _ phaseaction[end once] reject all(*|hand)!$ controller text={T}, Sacrifice Magus of the Jar: Each player exiles all cards from their hand face down and draws seven cards. At the beginning of the next end step, each player discards their hand and returns to their hand each card they exiled this way. mana={3}{U}{U} type=Creature @@ -70299,7 +70300,7 @@ toughness=4 [/card] [card] name=Malevolent Awakening -auto={1}{B}{B}{S(creature|myBattlefield)}:moveto(ownerHand) target(creature|mygraveyard) +auto={1}{B}{B}{S(creature|myBattlefield)}:moveto(hand) target(creature|mygraveyard) text={1}{B}{B}, Sacrifice a creature: Return target creature card from your graveyard to your hand. mana={1}{B}{B} type=Enchantment @@ -70386,7 +70387,7 @@ subtype=Aura [/card] [card] name=Man-o'-War -auto=moveTo(ownerhand) target(creature) +auto=moveTo(hand) target(creature) text=When Man-o'-War enters, return target creature to its owner's hand. mana={2}{U} type=Creature @@ -70402,15 +70403,15 @@ auto={C(0/0,-1,Charge)}:Add{R} limit:1 auto={C(0/0,-1,Charge)}:Add{U} limit:1 auto={C(0/0,-1,Charge)}:Add{B} limit:1 auto={C(0/0,-1,Charge)}:Add{W} limit:1 -auto=this(counter{0/0.1.Charge}<1) transforms((,newability[@each my upkeep:moveto(ownerhand)])) +auto=this(counter{0/0.1.Charge}<1) transforms((,newability[@each my upkeep:moveto(hand)])) text=Mana Bloom enters with X charge counters on it. -- Remove a charge counter from Mana Bloom: Add one mana of any color. Activate this ability only once each turn. -- At the beginning of your upkeep, if Mana Bloom has no charge counters on it, return it to its owner's hand. mana={X}{G} type=Enchantment [/card] [card] name=Mana Breach -auto=@movedTo(*|opponentstack):ability$!name(bounce land) notatarget(land|mybattlefield) moveTo(ownerhand) !$ opponent -auto=@movedTo(*|mystack):notatarget(land|mybattlefield) moveTo(ownerhand) +auto=@movedTo(*|opponentstack):ability$!name(bounce land) notatarget(land|mybattlefield) moveTo(hand) !$ opponent +auto=@movedTo(*|mystack):notatarget(land|mybattlefield) moveTo(hand) text=Whenever a player casts a spell, that player returns a land they control to its owner's hand. mana={2}{U} type=Enchantment @@ -70712,7 +70713,7 @@ toughness=1 name=Mangara's Blessing auto=life:5 controller autograveyard=while(restriction{discardbyopponent}) life:2 controller -autograveyard=@each my end restriction{discardbyopponent}:moveto(ownerhand) +autograveyard=@each my end restriction{discardbyopponent}:moveto(hand) autoexile=while(restriction{discardbyopponent}) life:2 controller text=You gain 5 life. -- When a spell or ability an opponent controls causes you to discard Mangara's Blessing, you gain 2 life, and you return Mangara's Blessing from your graveyard to your hand at the beginning of the next end step. mana={2}{W} @@ -70980,7 +70981,7 @@ text=Each noncreature artifact is an artifact creature with power and toughness [card] name=March of the Returned target=creature|mygraveyard -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to two target creature cards from your graveyard to your hand. mana={3}{B} type=Sorcery @@ -71063,7 +71064,7 @@ name=Mardu Charm aicode=activate reject notatarget(*[-creature;-land]|targetedpersonshand) auto=choice name(4 Damage) damage:4 target(creature) auto=choice name(2 Warrior tokens) token(Warrior,Creature Warrior,1/1,white) and!( transforms((,newability[first strike ueot])) )!*2 -auto=choice name(discard opponent) target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=choice name(discard opponent) target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Choose one: -- Mardu Charm deals 4 damage to target creature. -- Put two 1/1 white Warrior creature tokens onto the battlefield. They gain first strike until end of turn. -- Target opponent reveals their hand. You choose a noncreature, nonland card from it. That player discards that card. mana={R}{W}{B} type=Instant @@ -71121,7 +71122,7 @@ subtype=Aura [card] name=Mardu Scout other={1}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Dash {1}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={R}{R} type=Creature @@ -71133,7 +71134,7 @@ toughness=1 name=Mardu Shadowspear auto=_ATTACKING_life:-1 opponent other={1}{B} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Whenever Mardu Shadowspear attacks, each opponent loses 1 life. -- Dash {1}{B} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={B} type=Creature @@ -71156,7 +71157,7 @@ toughness=1 name=Mardu Strike Leader auto=_ATTACKING_token(Warrior,Creature Warrior,2/1,black) controller other={3}{B} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Whenever Mardu Strike Leader attacks, put a 2/1 black Warrior creature token onto the battlefield. -- Dash {3}{B} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={2}{B} type=Creature @@ -71247,7 +71248,7 @@ type=Enchantment name=Mark of Fury target=creature auto=haste -auto=@each end:moveTo(ownerhand) all(this) +auto=@each end:moveTo(hand) all(this) text=Enchant creature -- Enchanted creature has haste. -- At the beginning of the end step, return Mark of Fury to its owner's hand. mana={R} type=Enchantment @@ -71455,7 +71456,7 @@ type=Sorcery [/card] [card] name=Marsh Crocodile -auto=name(bounce) notatarget(creature[blue;black]|myBattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(discard) notatarget(*|myhand) reject!$ controller],newability[ability$!name(discard) notatarget(*|myhand) reject!$ opponent])) oneshot +auto=name(bounce) notatarget(creature[blue;black]|myBattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(discard) notatarget(*|myhand) reject!$ controller],newability[ability$!name(discard) notatarget(*|myhand) reject!$ opponent])) oneshot text=When Marsh Crocodile enters, return a blue or black creature you control to its owner's hand. -- When Marsh Crocodile enters, each player discards a card. mana={2}{U}{B} type=Creature @@ -71728,7 +71729,7 @@ type=Instant [card] name=Masked Admirers auto=draw:1 -autograveyard=@movedto(creature|mystack):pay({G}{G}) moveto(ownerhand) +autograveyard=@movedto(creature|mystack):pay({G}{G}) moveto(hand) text=When Masked Admirers enters, draw a card. -- Whenever you cast a creature spell, you may pay {G}{G}. If you do, return Masked Admirers from your graveyard to your hand. mana={2}{G}{G} type=Creature @@ -72085,8 +72086,8 @@ toughness=1 [/card] [card] name=Matter Reshaper -aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-instant;-sorcery;manacost<=3]|*) then moveto(mybattlefield))! -auto=_DIES_name(Reshape) reveal:1 optionone if type(*[manacost <=3]|reveal)~morethan~0 then target(*|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-instant;-sorcery;manacost<=3]|*) then moveto(mybattlefield))! +auto=_DIES_name(Reshape) reveal:1 optionone if type(*[manacost <=3]|reveal)~morethan~0 then target(*|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(hand) optiontwoend revealend text=({C} represents colorless mana.) -- When Matter Reshaper dies, reveal the top card of your library. You may put that card onto the battlefield if it's a permanent card with mana value 3 or less. Otherwise, put that card into your hand. mana={2}{C} type=Creature @@ -72524,8 +72525,8 @@ toughness=3 [/card] [card] name=Meletis Astronomer -aicode=activate target(enchantment[zpos<=3]|mylibrary) moveto(ownerHand) -auto=_HEROIC_name(look) reveal:3 optionone name(put in hand) notatarget(<1>*[enchantment]|reveal) moveto(ownerhand) optiononeend optiontwo notatarget(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(enchantment[zpos<=3]|mylibrary) moveto(hand) +auto=_HEROIC_name(look) reveal:3 optionone name(put in hand) notatarget(<1>*[enchantment]|reveal) moveto(hand) optiononeend optiontwo notatarget(<3>*|reveal) bottomoflibrary optiontwoend revealend text=Heroic -- Whenever you cast a spell that targets Meletis Astronomer, look at the top three cards of your library. You may reveal an enchantment card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={1}{U} type=Creature @@ -72610,7 +72611,7 @@ type=Enchantment [/card] [card] name=Memory Jar -auto={T}{S}:name(hand blink) all(*|hand) transforms((,newability[moveto(exile)],newability[phaseaction[end once checkex] moveto(ownerhand)])) && ability$!draw:7 all(player) _ phaseaction[end once] reject all(*|hand)!$ controller +auto={T}{S}:name(hand blink) all(*|hand) transforms((,newability[moveto(exile)],newability[phaseaction[end once checkex] moveto(hand)])) && ability$!draw:7 all(player) _ phaseaction[end once] reject all(*|hand)!$ controller text={T}, Sacrifice Memory Jar: Each player exiles all cards from their hand face down and draws seven cards. At the beginning of the next end step, each player discards their hand and returns to their hand each card they exiled this way. mana={5} type=Artifact @@ -72837,8 +72838,8 @@ toughness=4 [/card] [card] name=Merchant Scroll -aicode=activate target(instant[blue]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>instant[blue]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(instant[blue]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>instant[blue]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a blue instant card, reveal that card, and put it into your hand. Then shuffle. mana={1}{U} type=Sorcery @@ -72939,7 +72940,7 @@ toughness=2 [/card] [card] name=Mercurial Pretender -auto=may copy NotATarget(creature|myBattlefield) and!( transforms((,newability[{2}{U}{U}:moveto(ownerhand)])) forever )! +auto=may copy NotATarget(creature|myBattlefield) and!( transforms((,newability[{2}{U}{U}:moveto(hand)])) forever )! text=You may have Mercurial Pretender enter the battlefield as a copy of any creature you control except it gains "{2}{U}{U}: Return this creature to its owner's hand." mana={4}{U} type=Creature @@ -73074,8 +73075,8 @@ toughness=2 [card] name=Merfolk Wayfinder abilities=flying -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-island]|*) then bottomoflibrary)! -auto=reveal:3 optionone name(Get islands) target(<3>island|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-island]|*) then bottomoflibrary)! +auto=reveal:3 optionone name(Get islands) target(<3>island|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=Flying -- When Merfolk Wayfinder enters, reveal the top three cards of your library. Put all Island cards revealed this way into your hand and the rest on the bottom of your library in any order. mana={2}{U} type=Creature @@ -73208,7 +73209,7 @@ toughness=1 [card] name=Mesmeric Fiend aicode=activate hand(blink)forsrc notatarget(*[-land]|targetedpersonshand) -auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone hand(blink)forsrc notatarget(*[-land]|reveal) 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 hand(blink)forsrc notatarget(*[-land]|reveal) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=When Mesmeric Fiend enters, target opponent reveals their hand and you choose a nonland card from it. Exile that card. -- When Mesmeric Fiend leaves the battlefield, return the exiled card to its owner's hand. mana={1}{B} type=Creature @@ -73339,7 +73340,7 @@ auto=@movedto(*[instant;sorcery;manacost=17]|mystack):create(Construct:Artifact auto=@movedto(*[instant;sorcery;manacost=18]|mystack):create(Construct:Artifact Creature Construct:18/18) controller auto=@movedto(*[instant;sorcery;manacost=19]|mystack):create(Construct:Artifact Creature Construct:19/19) controller auto=@movedto(*[instant;sorcery;manacost=20]|mystack):create(Construct:Artifact Creature Construct:20/20) controller -auto={3}{U}{U}{E}:moveto(ownerhand) all(*[instant;sorcery]|mygraveyard) restriction{type(artifact|mybattlefield)~morethan~5} +auto={3}{U}{U}{E}:moveto(hand) all(*[instant;sorcery]|mygraveyard) restriction{type(artifact|mybattlefield)~morethan~5} text=Whenever you cast an instant or sorcery spell, create an X/X colorless Construct artifact creature token, where X is that spell's mana value. -- {3}{U}{U}, Exile Metallurgic Summonings: Return all instant and sorcery cards from your graveyard to your hand. Activate this ability only if you control six or more artifacts. mana={3}{U}{U} type=Enchantment @@ -73370,7 +73371,7 @@ anyzone=foreach(artifact[-creature;manacost=13]|mybattlefield) changecost(colorl anyzone=foreach(artifact[-creature;manacost=14]|mybattlefield) changecost(colorless:-14) forcedalive anyzone=foreach(artifact[-creature;manacost=15]|mybattlefield) changecost(colorless:-15) forcedalive anyzone=foreach(artifact[-creature;manacost=16]|mybattlefield) changecost(colorless:-16) forcedalive -autograveyard={S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:name(reclaim) moveto(ownerHand) +autograveyard={S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:name(reclaim) moveto(hand) text=Metalwork Colossus costs {X} less to cast, where X is the total mana value of noncreature artifacts you control. -- Sacrifice two artifacts: Return Metalwork Colossus from your graveyard to your hand. mana={11} type=Artifact Creature @@ -73400,23 +73401,23 @@ type=Instant [card] name=Metathran Aerostat abilities=flying -auto={U}:name(X = 0) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=0]|myhand) -auto={1}{U}:name(X = 1) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=1]|myhand) -auto={2}{U}:name(X = 2) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=2]|myhand) -auto={3}{U}:name(X = 3) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=3]|myhand) -auto={4}{U}:name(X = 4) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=4]|myhand) -auto={5}{U}:name(X = 5) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=5]|myhand) -auto={6}{U}:name(X = 6) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=6]|myhand) -auto={7}{U}:name(X = 7) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=7]|myhand) -auto={8}{U}:name(X = 8) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=8]|myhand) -auto={9}{U}:name(X = 9) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=9]|myhand) -auto={10}{U}:name(X = 10) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=10]|myhand) -auto={11}{U}:name(X = 11) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=11]|myhand) -auto={12}{U}:name(X = 12) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=12]|myhand) -auto={13}{U}:name(X = 13) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=13]|myhand) -auto={14}{U}:name(X = 14) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=14]|myhand) -auto={15}{U}:name(X = 15) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=15]|myhand) -auto={16}{U}:name(X = 16) moveTo(ownerhand) all(this) && moveTo(mybattlefield) target(creature[manacost=16]|myhand) +auto={U}:name(X = 0) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=0]|myhand) +auto={1}{U}:name(X = 1) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=1]|myhand) +auto={2}{U}:name(X = 2) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=2]|myhand) +auto={3}{U}:name(X = 3) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=3]|myhand) +auto={4}{U}:name(X = 4) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=4]|myhand) +auto={5}{U}:name(X = 5) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=5]|myhand) +auto={6}{U}:name(X = 6) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=6]|myhand) +auto={7}{U}:name(X = 7) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=7]|myhand) +auto={8}{U}:name(X = 8) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=8]|myhand) +auto={9}{U}:name(X = 9) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=9]|myhand) +auto={10}{U}:name(X = 10) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=10]|myhand) +auto={11}{U}:name(X = 11) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=11]|myhand) +auto={12}{U}:name(X = 12) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=12]|myhand) +auto={13}{U}:name(X = 13) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=13]|myhand) +auto={14}{U}:name(X = 14) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=14]|myhand) +auto={15}{U}:name(X = 15) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=15]|myhand) +auto={16}{U}:name(X = 16) moveTo(hand) all(this) && moveTo(mybattlefield) target(creature[manacost=16]|myhand) text=Flying -- {X}{U}: You may put a creature card with mana value X from your hand onto the battlefield. If you do, return Metathran Aerostat to its owner's hand. mana={2}{U}{U} type=Creature @@ -73602,7 +73603,7 @@ type=Sorcery [/card] [card] name=Midnight Scavengers -auto=may target(creature[manacost <=3]|mygraveyard) moveto(ownerHand) +auto=may target(creature[manacost <=3]|mygraveyard) moveto(hand) text=When Midnight Scavengers enters, you may return target creature card with mana value 3 or less from your graveyard to your hand. -- (Melds with Graf Rats.) mana={4}{B} type=Creature @@ -73724,8 +73725,8 @@ type=Instant [card] name=Migratory Route auto=create(Bird:Creature Bird:1/1:white:flying)*4 -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Create four 1/1 white Bird creature tokens with flying. -- Basic landcycling {2} ({2}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={3}{W}{U} type=Sorcery @@ -74014,7 +74015,7 @@ type=Sorcery [card] name=Mind Slash aicode=activate notatarget(*|targetedpersonshand) reject -auto={B}{S(creature|mybattlefield)}:target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend asSorcery +auto={B}{S(creature|mybattlefield)}:target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend asSorcery text={B}, Sacrifice a creature: Target opponent reveals their hand. You choose a card from it. That player discards that card. Activate this ability only any time you could cast a sorcery. mana={1}{B}{B} type=Enchantment @@ -74069,7 +74070,7 @@ type=Enchantment [card] name=Mind Warp aicode=reject notatarget(*|opponenthand) -auto=reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Look at target player's hand and choose X cards from it. That player discards them. mana={X}{3}{B} type=Sorcery @@ -74119,7 +74120,7 @@ toughness=1 [/card] [card] name=Mindclaw Shaman -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 in hand) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend 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 in hand) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend text=When Mindclaw Shaman enters, target opponent reveals their hand. You may cast an instant or sorcery card from it without paying its mana cost. mana={4}{R} type=Creature @@ -74597,7 +74598,7 @@ type=Sorcery [card] name=Mire's Toll target=player -auto=reveal:type:swamp:mybattlefield revealzone(targetedpersonshand) optionone name(choose card) notatarget(*|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:swamp:mybattlefield revealzone(targetedpersonshand) optionone name(choose card) notatarget(*|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals a number of cards from their hand equal to the number of Swamps you control. You choose one of them. That player discards that card. mana={B} type=Sorcery @@ -74623,7 +74624,7 @@ toughness=4 [card] name=Mirozel abilities=flying -auto=@targeted(this):moveTo(ownerhand) +auto=@targeted(this):moveTo(hand) text=Flying -- When Mirozel becomes the target of a spell or ability, return Mirozel to its owner's hand. mana={3}{U} type=Creature @@ -74836,7 +74837,7 @@ type=Artifact [card] name=Misery Charm auto=if type(cleric|battlefield)~morethan~0 then choice destroy target(cleric) -auto=if type(cleric|mygraveyard)~morethan~0 then choice moveto(ownerHand) target(cleric|myGraveyard) +auto=if type(cleric|mygraveyard)~morethan~0 then choice moveto(hand) target(cleric|myGraveyard) auto=choice life:-2 target(player) text=Choose one - Destroy target Cleric; or return target Cleric card from your graveyard to your hand; or target player loses 2 life. mana={B} @@ -74984,7 +74985,7 @@ toughness=2 [card] name=Mist Raven abilities=flying -auto=moveto(ownerhand) target(creature) +auto=moveto(hand) target(creature) text=Flying -- When Mist Raven enters, return target creature to its owner's hand. mana={2}{U}{U} type=Creature @@ -75016,8 +75017,8 @@ toughness=4 [card] name=Mistblade Shinobi autohand={U}{N}:ninjutsu -auto=@combatdamagefoeof(player) from(this):may moveTo(ownerhand) target(creature|opponentBattlefield) -auto=@combatdamageof(player) from(this):may moveTo(ownerhand) target(creature|myBattlefield) +auto=@combatdamagefoeof(player) from(this):may moveTo(hand) target(creature|opponentBattlefield) +auto=@combatdamageof(player) from(this):may moveTo(hand) target(creature|myBattlefield) text=Ninjutsu {U} ({U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever Mistblade Shinobi deals combat damage to a player, you may return target creature that player controls to its owner's hand. mana={2}{U} type=Creature @@ -75334,7 +75335,7 @@ toughness=2 [card] name=Mnemonic Wall abilities=defender -auto=may moveto(ownerHand) target(instant,sorcery|mygraveyard) +auto=may moveto(hand) target(instant,sorcery|mygraveyard) text=Defender -- When Mnemonic Wall enters, you may return target instant or sorcery card from your graveyard to your hand. mana={4}{U} type=Creature @@ -75850,7 +75851,7 @@ toughness=1 [/card] [card] name=Molting Skin -auto={0}:moveTo(ownerhand) all(this) && regenerate target(creature) limit:1 +auto={0}:moveTo(hand) all(this) && regenerate target(creature) limit:1 text=Return Molting Skin to its owner's hand: Regenerate target creature. mana={2}{G} type=Enchantment @@ -75923,9 +75924,9 @@ subtype=Aura [/card] [card] name=Momir Vig, Simic Visionary -aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mylibrary))! +aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mylibrary))! auto=@movedTo(creature[green]|mystack):target(creature|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! -auto=@movedTo(creature[blue]|mystack):reveal:1 optionone target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(Put Back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +auto=@movedTo(creature[blue]|mystack):reveal:1 optionone target(creature|reveal) moveto(hand) optiononeend optiontwo name(Put Back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend text=Whenever you cast a green creature spell, you may search your library for a creature card and reveal it. If you do, shuffle your library and put that card on top of it. -- Whenever you cast a blue creature spell, reveal the top card of your library. If it's a creature card, put that card into your hand. mana={3}{G}{U} type=Legendary Creature @@ -75950,7 +75951,7 @@ name=Monastery Loremaster facedown={3} autofacedown={5}{U}:morph autofaceup=counter(1/1) -autofaceup=moveto(ownerHand) target(*[-creature;-land]|mygraveyard) +autofaceup=moveto(hand) target(*[-creature;-land]|mygraveyard) text=Megamorph {5}{U} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.) -- When Monastery Loremaster is turned face up, return target noncreature, nonland card from your graveyard to your hand. mana={3}{U} type=Creature @@ -76010,7 +76011,7 @@ toughness=1 [/card] [card] name=Monk Idealist -auto=moveto(ownerHand) target(enchantment|mygraveyard) +auto=moveto(hand) target(enchantment|mygraveyard) text=When Monk Idealist enters, return target enchantment card from your graveyard to your hand. mana={2}{W} type=Creature @@ -76191,8 +76192,8 @@ type=Instant [/card] [card] name=Moonlight Bargain -aicode=activate choice all(*[zpos<=5]|mylibrary) transforms((,newability[pay({L:2}) name(Pay Life) moveto(ownerHand)?moveto(mygraveyard)])) ueot -auto=name(look) reveal:5 optionone name(Select Cards) target(*|reveal) transforms((,newability[pay({L:2}) name(Pay Life) moveto(ownerHand) ])) forever optiononeend optiontwo name(put in graveyard) target(<5>*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate choice all(*[zpos<=5]|mylibrary) transforms((,newability[pay({L:2}) name(Pay Life) moveto(hand)?moveto(mygraveyard)])) ueot +auto=name(look) reveal:5 optionone name(Select Cards) target(*|reveal) transforms((,newability[pay({L:2}) name(Pay Life) moveto(hand) ])) forever optiononeend optiontwo name(put in graveyard) target(<5>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top five cards of your library. For each card, put that card into your graveyard unless you pay 2 life. Then put the rest into your hand. mana={3}{B}{B} type=Instant @@ -76215,7 +76216,7 @@ auto={S}:name(Blue) protection from blue target(other creature|myBattlefield) auto={S}:name(Black) protection from black target(other creature|myBattlefield) auto={S}:name(Red) protection from red target(other creature|myBattlefield) auto={S}:name(Green) protection from green target(other creature|myBattlefield) -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=3]|mygraveyard) text=Sacrifice Moonlit Strider: Target creature you control gains protection from the color of your choice until end of turn. -- Soulshift 3 (When this dies, you may return target Spirit card with mana value 3 or less from your graveyard to your hand.) mana={3}{W} type=Creature @@ -76353,13 +76354,6 @@ mana={1}{W}{W} type=Instant [/card] [card] -name=Morality Shift -auto=moveTo(myLibrary) all(*|mygraveyard) && moveTo(mygraveyard) all(*|myLibrary) -text=Exchange your graveyard and library. Then shuffle. -mana={5}{B}{B} -type=Sorcery -[/card] -[card] name=Moratorium Stone auto={2}{T}:moveTo(exile) target(*|graveyard) auto={2}{W}{B}{T}{S}:moveTo(exile) target(other *|graveyard) && moveTo(exile) all(*[share!name!]|graveyard,battlefield) @@ -76396,7 +76390,7 @@ type=Sorcery [card] name=Morbid Plunder target=creature|mygraveyard -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to two target creature cards from your graveyard to your hand. mana={1}{B}{B} type=Sorcery @@ -76417,7 +76411,7 @@ toughness=5 [card] name=Morgue Burst target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) auto=transforms((,newability[choice name(Creature) target(creature) dynamicability],newability[choice name(player) target(Player) dynamicability])) forever text=Return target creature card from your graveyard to your hand. Morgue Burst deals damage to any target equal to the power of the card returned this way. mana={4}{B}{R} @@ -76426,7 +76420,7 @@ type=Sorcery [card] name=Morgue Theft target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target creature card from your graveyard to your hand. -- Flashback {4}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={1}{B} flashback={4}{B} @@ -76493,7 +76487,7 @@ toughness=2 [/card] [card] name=Moriok Scavenger -auto=may moveto(ownerHand) target(creature[artifact]|mygraveyard) +auto=may moveto(hand) target(creature[artifact]|mygraveyard) text=When Moriok Scavenger enters, you may return target artifact creature card from your graveyard to your hand. mana={3}{B} type=Creature @@ -76713,7 +76707,7 @@ type=Land [/card] [card] name=Mortus Strider -auto=_DIES_all(trigger[to]) moveto(ownerhand) +auto=_DIES_all(trigger[to]) moveto(hand) text=When Mortus Strider dies, return it to its owner's hand. mana={1}{U}{B} type=Creature @@ -76894,7 +76888,7 @@ toughness=1 name=Mourning target=creature auto=-2/0 -auto={B}:moveTo(ownerhand) +auto={B}:moveTo(hand) text=Enchant creature -- Enchanted creature gets -2/-0. -- {B}: Return Mourning to its owner's hand. mana={1}{B} type=Enchantment @@ -77003,7 +76997,7 @@ type=Artifact [card] name=Mtenda Griffin abilities=flying -auto={W}{T}:moveTo(ownerhand) all(this) && moveTo(ownerhand) target(griffin|mygraveyard) myUpkeepOnly +auto={W}{T}:moveTo(hand) all(this) && moveTo(hand) target(griffin|mygraveyard) myUpkeepOnly text=Flying -- {W}, {T}: Return Mtenda Griffin to its owner's hand and return target Griffin card from your graveyard to your hand. Activate this ability only during your upkeep. mana={3}{W} type=Creature @@ -77085,8 +77079,8 @@ toughness=1 name=Muddle the Mixture target=*[instant;sorcery]|stack auto=fizzle -aicode=activate target(*[manacost=2]|mylibrary) moveto(ownerHand) -autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=2]|mylibrary) moveto(hand) +autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Counter target instant or sorcery spell. -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={U}{U} type=Instant @@ -77133,8 +77127,8 @@ toughness=2 [/card] [card] name=Mulch -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(ownerHand) name(revealed card) and!(if cantargetcard(*[-land]|*) then moveto(mygraveyard))! -auto=reveal:4 optionone name(Get land) target(<4>land|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(hand) name(revealed card) and!(if cantargetcard(*[-land]|*) then moveto(mygraveyard))! +auto=reveal:4 optionone name(Get land) target(<4>land|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Reveal the top four cards of your library. Put all land cards revealed this way into your hand and the rest into your graveyard. mana={1}{G} type=Sorcery @@ -77344,7 +77338,7 @@ toughness=2 [card] name=Murk Strider abilities=devoid -auto=if type(*|opponentexile)~morethan~0 then may notatarget(*|opponentexile) moveto(ownergraveyard) and!( target(creature) moveto(ownerhand) )! +auto=if type(*|opponentexile)~morethan~0 then may notatarget(*|opponentexile) moveto(ownergraveyard) and!( target(creature) moveto(hand) )! text=Devoid (This card has no color.) -- When Murk Strider enters, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target creature to its owner's hand. mana={3}{U} type=Creature @@ -77546,9 +77540,9 @@ toughness=5 [/card] [card] name=Mycosynth Wellspring -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=_DIES_name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=_DIES_name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Mycosynth Wellspring enters or is put into a graveyard from the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle. mana={2} type=Artifact @@ -77736,7 +77730,7 @@ toughness=4 [/card] [card] name=Myr Retriever -auto=_DIES_moveto(ownerHand) target(other artifact|mygraveyard) +auto=_DIES_moveto(hand) target(other artifact|mygraveyard) text=When Myr Retriever dies, return another target artifact card from your graveyard to your hand. mana={2} type=Artifact Creature @@ -77972,7 +77966,7 @@ subtype=Aura [card] name=Mystic Retrieval target=instant,sorcery|mygraveyard -auto=moveTo(ownerhand) +auto=moveTo(hand) flashback={2}{R} text=Return target instant or sorcery card from your graveyard to your hand. -- Flashback {2}{R} mana={3}{U} @@ -78033,9 +78027,9 @@ toughness=2 [/card] [card] name=Mystical Teachings -aicode=activate target(*[instant]|mylibrary) moveto(ownerHand) -auto=choice name(search instant) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[instant]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=choice name(search card with flash) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[flash]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[instant]|mylibrary) moveto(hand) +auto=choice name(search instant) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[instant]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=choice name(search card with flash) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[flash]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend flashback={5}{B} text=Search your library for an instant card or a card with flash, reveal it, and put it into your hand. Then shuffle. -- Flashback {5}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={3}{U} @@ -78129,8 +78123,8 @@ toughness=3 [card] name=Nagging Thoughts abilities=madness,hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(ownerHand) and!(deplete:1)!],newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) and!(deplete:1)!])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(hand) and!(deplete:1)!],newability[choice all(*[zpos=1]|mylibrary) moveto(hand) and!(deplete:1)!])) ueot +auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend autoexile=restriction{discarded} pay({1}{U}) name(pay 1U to cast) activate name(pay 1U to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard) text=Look at the top two cards of your library. Put one of them into your hand and the other into your graveyard. -- Madness {1}{U} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) mana={1}{U} @@ -78342,7 +78336,7 @@ toughness=2 [card] name=Narrow Escape target=*|myBattlefield -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=life:4 controller text=Return target permanent you control to its owner's hand. You gain 4 life. mana={2}{W} @@ -78427,7 +78421,7 @@ type=Instant [/card] [card] name=Natural Emergence -auto=moveTo(ownerhand) notatarget(enchantment[red;green]|myBattlefield) +auto=moveTo(hand) notatarget(enchantment[red;green]|myBattlefield) auto=@movedTo(enchantment[red;green]|myhand) from(myBattlefield):all(land|myBattlefield) becomes(Creature,2/2,first strike) text=When Natural Emergence enters, return a red or green enchantment you control to its owner's hand. -- Lands you control are 2/2 creatures with first strike. They're still lands. mana={2}{R}{G} @@ -78550,7 +78544,7 @@ type=Sorcery [card] name=Nature's Spiral target=*[-instant;-sorcery]|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target permanent card from your graveyard to your hand. mana={1}{G} type=Sorcery @@ -78608,7 +78602,7 @@ toughness=2 [card] name=Naya Charm auto=aslongas(creature|battlefield) choice damage:3 target(creature) -auto=aslongas(*|graveyard) choice moveTo(ownerhand) target(*|graveyard) +auto=aslongas(*|graveyard) choice moveTo(hand) target(*|graveyard) auto=choice tap all(creature|opponentBattlefield) text=Choose one - Naya Charm deals 3 damage to target creature; or return target card in a graveyard to its owner's hand; or tap all creatures target player controls. mana={R}{G}{W} @@ -78827,7 +78821,7 @@ type=Enchantment name=Necromancer's Magemark target=creature auto=lord(creature[enchanted]|myBattlefield) 1/1 -auto=lord(creature[enchanted]|myBattlefield) transforms((,newability[_DIES_all(trigger[to]) moveto(ownerhand)])) +auto=lord(creature[enchanted]|myBattlefield) transforms((,newability[_DIES_all(trigger[to]) moveto(hand)])) text=Enchant creature -- Creatures you control that are enchanted get +1/+1. -- If a creature you control that's enchanted would be put into a graveyard, return it to its owner's hand instead. mana={2}{B} type=Enchantment @@ -78852,7 +78846,7 @@ type=Sorcery [card] name=Necromantic Thirst target=creature -auto=@combatdamaged(player) from(mytgt):may moveto(ownerHand) target(creature|mygraveyard) +auto=@combatdamaged(player) from(mytgt):may moveto(hand) target(creature|mygraveyard) text=Enchant creature -- Whenever enchanted creature deals combat damage to a player, you may return target creature card from your graveyard to your hand. mana={2}{B}{B} type=Enchantment @@ -78934,7 +78928,7 @@ toughness=5 name=Necropotence abilities=mygraveexiler auto=phasealter(remove,draw,controller) -auto={L:1}:name(pay life & exile) transforms((,newability[hiddenmoveto(exile)],newability[phaseaction[my end once checkex] moveto(ownerhand)])) forever all(*[zpos=1]|mylibrary) +auto={L:1}:name(pay life & exile) transforms((,newability[hiddenmoveto(exile)],newability[phaseaction[my end once checkex] moveto(hand)])) forever all(*[zpos=1]|mylibrary) text=Skip your draw step. -- Whenever you discard a card, exile that card from your graveyard. -- Pay 1 life: Exile the top card of your library face down. Put that card into your hand at the beginning of your next end step. mana={B}{B}{B} type=Enchantment @@ -79229,8 +79223,8 @@ toughness=3 [/card] [card] name=Nessian Game Warden -aicode=activate target(creature[zpos<=type:forest:mybattlefield]|mylibrary) moveto(ownerHand) -auto=name(Look) reveal:type:forest:mybattlefield optionone name(Get a Card) target(creature|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(creature[zpos<=type:forest:mybattlefield]|mylibrary) moveto(hand) +auto=name(Look) reveal:type:forest:mybattlefield optionone name(Get a Card) target(creature|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend text=When Nessian Game Warden enters, look at the top X cards of your library, where X is the number of Forests you control. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={3}{G}{G} type=Creature @@ -79261,8 +79255,8 @@ toughness=2 [card] name=Nesting Wurm abilities=trample -aicode=activate target(nesting wurm|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(nesting wurm|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(nesting wurm|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(nesting wurm|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Trample -- When Nesting Wurm enters, you may search your library for up to three cards named Nesting Wurm, reveal them, and put them into your hand. If you do, shuffle your library. mana={4}{G}{G} type=Creature @@ -79332,8 +79326,8 @@ type=World Enchantment [card] name=Netherborn Phalanx auto=life:-type:creature:opponentbattlefield opponent -aicode=activate moveto(ownerHand) target(*[manacost=6]|mylibrary) -autohand={1}{B}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate moveto(hand) target(*[manacost=6]|mylibrary) +autohand={1}{B}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=When Netherborn Phalanx enters, each opponent loses 1 life for each creature they control. -- Transmute {1}{B}{B} ({1}{B}{B}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={5}{B} type=Creature @@ -79416,8 +79410,8 @@ toughness=1 [card] name=Neurok Familiar abilities=flying -aicode=activate transforms((,newability[if type(artifact[zpos=1]|mylibrary)~morethan~0 then target(artifact[zpos=1]|mylibrary) moveto(ownerHand) else target(*[zpos=1]|mylibrary) moveto(mygraveyard)])) ueot -auto=reveal:1 optionone target(artifact|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in grave) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[if type(artifact[zpos=1]|mylibrary)~morethan~0 then target(artifact[zpos=1]|mylibrary) moveto(hand) else target(*[zpos=1]|mylibrary) moveto(mygraveyard)])) ueot +auto=reveal:1 optionone target(artifact|reveal) moveto(hand) optiononeend optiontwo name(Put in grave) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend text=Flying -- When Neurok Familiar enters, reveal the top card of your library. If it's an artifact card, put it into your hand. Otherwise, put it into your graveyard. mana={1}{U} type=Creature @@ -79448,7 +79442,7 @@ toughness=1 [card] name=Neurok Prodigy abilities=flying -auto={D(artifact|myhand)}:moveto(ownerhand) +auto={D(artifact|myhand)}:moveto(hand) text=Flying -- Discard an artifact card: Return Neurok Prodigy to its owner's hand. mana={2}{U} type=Creature @@ -79458,7 +79452,7 @@ toughness=1 [/card] [card] name=Neurok Replica -auto={1}{U}{S}:moveTo(ownerhand) target(other creature) +auto={1}{U}{S}:moveTo(hand) target(other creature) text={1}{U}, Sacrifice Sacrifice Neurok Replica: Return target creature to its owner's hand. mana={3} type=Artifact Creature @@ -79690,27 +79684,27 @@ toughness=7 [card] name=Night Dealings auto=@damagefoeof(player) from(*|mybattlefield,mystack,mygraveyard,mylibrary,myexile):counter(0/0,thatmuch,Theft) -auto={2}{B}{B}:name(X = 0) && moveto(ownerHand) target(*[-land;manacost=0]|mylibrary) -auto=this(counter{0/0.1.Theft}>=) {2}{B}{B}{C(0/0,-1,Theft)}:name(X = 1) && moveto(ownerHand) target(*[-land;manacost=1]|mylibrary) -auto=this(counter{0/0.2.Theft}>=) {2}{B}{B}{C(0/0,-2,Theft)}:name(X = 2) && moveto(ownerHand) target(*[-land;manacost=2]|mylibrary) -auto=this(counter{0/0.3.Theft}>=) {2}{B}{B}{C(0/0,-3,Theft)}:name(X = 3) && moveto(ownerHand) target(*[-land;manacost=3]|mylibrary) -auto=this(counter{0/0.4.Theft}>=) {2}{B}{B}{C(0/0,-4,Theft)}:name(X = 4) && moveto(ownerHand) target(*[-land;manacost=4]|mylibrary) -auto=this(counter{0/0.5.Theft}>=) {2}{B}{B}{C(0/0,-5,Theft)}:name(X = 5) && moveto(ownerHand) target(*[-land;manacost=5]|mylibrary) -auto=this(counter{0/0.6.Theft}>=) {2}{B}{B}{C(0/0,-6,Theft)}:name(X = 6) && moveto(ownerHand) target(*[-land;manacost=6]|mylibrary) -auto=this(counter{0/0.7.Theft}>=) {2}{B}{B}{C(0/0,-7,Theft)}:name(X = 7) && moveto(ownerHand) target(*[-land;manacost=7]|mylibrary) -auto=this(counter{0/0.8.Theft}>=) {2}{B}{B}{C(0/0,-8,Theft)}:name(X = 8) && moveto(ownerHand) target(*[-land;manacost=8]|mylibrary) -auto=this(counter{0/0.9.Theft}>=) {2}{B}{B}{C(0/0,-9,Theft)}:name(X = 9) && moveto(ownerHand) target(*[-land;manacost=9]|mylibrary) -auto=this(counter{0/0.10.Theft}>=) {2}{B}{B}{C(0/0,-10,Theft)}:name(X = 10) && moveto(ownerHand) target(*[-land;manacost=10]|mylibrary) -auto=this(counter{0/0.11.Theft}>=) {2}{B}{B}{C(0/0,-11,Theft)}:name(X = 11) && moveto(ownerHand) target(*[-land;manacost=11]|mylibrary) -auto=this(counter{0/0.12.Theft}>=) {2}{B}{B}{C(0/0,-12,Theft)}:name(X = 12) && moveto(ownerHand) target(*[-land;manacost=12]|mylibrary) -auto=this(counter{0/0.13.Theft}>=) {2}{B}{B}{C(0/0,-13,Theft)}:name(X = 13) && moveto(ownerHand) target(*[-land;manacost=13]|mylibrary) -auto=this(counter{0/0.14.Theft}>=) {2}{B}{B}{C(0/0,-14,Theft)}:name(X = 14) && moveto(ownerHand) target(*[-land;manacost=14]|mylibrary) -auto=this(counter{0/0.15.Theft}>=) {2}{B}{B}{C(0/0,-15,Theft)}:name(X = 15) && moveto(ownerHand) target(*[-land;manacost=15]|mylibrary) -auto=this(counter{0/0.16.Theft}>=) {2}{B}{B}{C(0/0,-16,Theft)}:name(X = 16) && moveto(ownerHand) target(*[-land;manacost=16]|mylibrary) -auto=this(counter{0/0.17.Theft}>=) {2}{B}{B}{C(0/0,-17,Theft)}:name(X = 17) && moveto(ownerHand) target(*[-land;manacost=17]|mylibrary) -auto=this(counter{0/0.18.Theft}>=) {2}{B}{B}{C(0/0,-18,Theft)}:name(X = 18) && moveto(ownerHand) target(*[-land;manacost=18]|mylibrary) -auto=this(counter{0/0.19.Theft}>=) {2}{B}{B}{C(0/0,-19,Theft)}:name(X = 19) && moveto(ownerHand) target(*[-land;manacost=19]|mylibrary) -auto=this(counter{0/0.20.Theft}>=) {2}{B}{B}{C(0/0,-20,Theft)}:name(X = 20) && moveto(ownerHand) target(*[-land;manacost=20]|mylibrary) +auto={2}{B}{B}:name(X = 0) && moveto(hand) target(*[-land;manacost=0]|mylibrary) +auto=this(counter{0/0.1.Theft}>=) {2}{B}{B}{C(0/0,-1,Theft)}:name(X = 1) && moveto(hand) target(*[-land;manacost=1]|mylibrary) +auto=this(counter{0/0.2.Theft}>=) {2}{B}{B}{C(0/0,-2,Theft)}:name(X = 2) && moveto(hand) target(*[-land;manacost=2]|mylibrary) +auto=this(counter{0/0.3.Theft}>=) {2}{B}{B}{C(0/0,-3,Theft)}:name(X = 3) && moveto(hand) target(*[-land;manacost=3]|mylibrary) +auto=this(counter{0/0.4.Theft}>=) {2}{B}{B}{C(0/0,-4,Theft)}:name(X = 4) && moveto(hand) target(*[-land;manacost=4]|mylibrary) +auto=this(counter{0/0.5.Theft}>=) {2}{B}{B}{C(0/0,-5,Theft)}:name(X = 5) && moveto(hand) target(*[-land;manacost=5]|mylibrary) +auto=this(counter{0/0.6.Theft}>=) {2}{B}{B}{C(0/0,-6,Theft)}:name(X = 6) && moveto(hand) target(*[-land;manacost=6]|mylibrary) +auto=this(counter{0/0.7.Theft}>=) {2}{B}{B}{C(0/0,-7,Theft)}:name(X = 7) && moveto(hand) target(*[-land;manacost=7]|mylibrary) +auto=this(counter{0/0.8.Theft}>=) {2}{B}{B}{C(0/0,-8,Theft)}:name(X = 8) && moveto(hand) target(*[-land;manacost=8]|mylibrary) +auto=this(counter{0/0.9.Theft}>=) {2}{B}{B}{C(0/0,-9,Theft)}:name(X = 9) && moveto(hand) target(*[-land;manacost=9]|mylibrary) +auto=this(counter{0/0.10.Theft}>=) {2}{B}{B}{C(0/0,-10,Theft)}:name(X = 10) && moveto(hand) target(*[-land;manacost=10]|mylibrary) +auto=this(counter{0/0.11.Theft}>=) {2}{B}{B}{C(0/0,-11,Theft)}:name(X = 11) && moveto(hand) target(*[-land;manacost=11]|mylibrary) +auto=this(counter{0/0.12.Theft}>=) {2}{B}{B}{C(0/0,-12,Theft)}:name(X = 12) && moveto(hand) target(*[-land;manacost=12]|mylibrary) +auto=this(counter{0/0.13.Theft}>=) {2}{B}{B}{C(0/0,-13,Theft)}:name(X = 13) && moveto(hand) target(*[-land;manacost=13]|mylibrary) +auto=this(counter{0/0.14.Theft}>=) {2}{B}{B}{C(0/0,-14,Theft)}:name(X = 14) && moveto(hand) target(*[-land;manacost=14]|mylibrary) +auto=this(counter{0/0.15.Theft}>=) {2}{B}{B}{C(0/0,-15,Theft)}:name(X = 15) && moveto(hand) target(*[-land;manacost=15]|mylibrary) +auto=this(counter{0/0.16.Theft}>=) {2}{B}{B}{C(0/0,-16,Theft)}:name(X = 16) && moveto(hand) target(*[-land;manacost=16]|mylibrary) +auto=this(counter{0/0.17.Theft}>=) {2}{B}{B}{C(0/0,-17,Theft)}:name(X = 17) && moveto(hand) target(*[-land;manacost=17]|mylibrary) +auto=this(counter{0/0.18.Theft}>=) {2}{B}{B}{C(0/0,-18,Theft)}:name(X = 18) && moveto(hand) target(*[-land;manacost=18]|mylibrary) +auto=this(counter{0/0.19.Theft}>=) {2}{B}{B}{C(0/0,-19,Theft)}:name(X = 19) && moveto(hand) target(*[-land;manacost=19]|mylibrary) +auto=this(counter{0/0.20.Theft}>=) {2}{B}{B}{C(0/0,-20,Theft)}:name(X = 20) && moveto(hand) target(*[-land;manacost=20]|mylibrary) text=Whenever a source you control deals damage to another player, put that many theft counters on Night Dealings. -- {2}{B}{B}, Remove X theft counters from Night Dealings: Search your library for a nonland card with mana value X, reveal it, and put it into your hand. Then shuffle. mana={2}{B}{B} type=Enchantment @@ -79758,7 +79752,7 @@ type=Enchantment name=Night Terrors target=player aicode=activate moveto(exile) notatarget(*[-land]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone target(*[-land]|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone target(*[-land]|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose a nonland card from it. Exile that card. mana={2}{B} type=Sorcery @@ -79895,7 +79889,7 @@ subtype=Equipment name=Nightmare Void target=player aicode=activate reject notatarget(*|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend dredge=dredge(2) text=Target player reveals their hand. You choose a card from it. That player discards that card. -- Dredge 2 (If you would draw a card, instead you may put exactly two cards from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card.) mana={3}{B} @@ -79933,7 +79927,7 @@ toughness=1 [/card] [card] name=Nightscape Master -auto={U}{U}{T}:moveTo(ownerhand) target(creature) +auto={U}{U}{T}:moveTo(hand) target(creature) auto={R}{R}{T}:Damage:2 target(creature) text={U}{U}, {T}: Return target creature to its owner's hand. -- {R}{R}, {T}: Nightscape Master deals 2 damage to target creature. mana={2}{B}{B} @@ -79987,14 +79981,14 @@ toughness=1 [card] name=Nightsnare target=opponent -auto=Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Discard Nonland) target(*[-land]|reveal) transforms((,newability[reject],newability[all(*|reveal) moveto(ownerhand)])) oneshot optiononeend optiontwo name(Give Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)],newability[ability$!target(<2>*|myhand) reject!$ controller])) ueot optiontwoend revealend +auto=Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Discard Nonland) target(*[-land]|reveal) transforms((,newability[reject],newability[all(*|reveal) moveto(hand)])) oneshot optiononeend optiontwo name(Give Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)],newability[ability$!target(<2>*|myhand) reject!$ controller])) ueot optiontwoend revealend text=Target opponent reveals their hand. You may choose a nonland card from it. If you do, that player discards that card. If you don't, that player discards two cards. mana={3}{B} type=Sorcery [/card] [card] name=Nightsoil Kami -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=5]|mygraveyard) text=Soulshift 5 (When this dies, you may return target Spirit card with mana value 5 or less from your graveyard to your hand.) mana={4}{G}{G} type=Creature @@ -80064,7 +80058,7 @@ toughness=4 [card] name=Nikko-Onna auto=destroy target(enchantment) -auto=@movedto(arcane,spirit|mystack):may moveTo(ownerhand) +auto=@movedto(arcane,spirit|mystack):may moveTo(hand) text=When Nikko-Onna enters, destroy target enchantment. -- Whenever you cast a Spirit or Arcane spell, you may return Nikko-Onna to its owner's hand. mana={2}{W} type=Creature @@ -80335,8 +80329,8 @@ type=Sorcery [/card] [card] name=Nissa's Pilgrimage -auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then name(fetch to play) notatarget(forest[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(forest[basic]|mylibrary) moveto(ownerHand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot -auto=if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then name(fetch to play) notatarget(forest[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(forest[basic]|mylibrary) moveto(ownerHand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot +auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then name(fetch to play) notatarget(forest[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(forest[basic]|mylibrary) moveto(hand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot +auto=if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then name(fetch to play) notatarget(forest[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(forest[basic]|mylibrary) moveto(hand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot text=Search your library for up to two basic Forest cards, reveal those cards, and put one onto the battlefield tapped and the rest into your hand. Then shuffle. -- Spell mastery -- If there are two or more instant and/or sorcery cards in your graveyard, search your library for up to three basic Forest cards instead of two. mana={2}{G} type=Sorcery @@ -80446,7 +80440,7 @@ type=Enchantment [/card] [card] name=No Rest for the Wicked -auto={S}:moveto(ownerHand) all(creature[fresh]|mygraveyard) +auto={S}:moveto(hand) all(creature[fresh]|mygraveyard) text=Sacrifice No Rest for the Wicked: Return to your hand all creature cards in your graveyard that were put there from the battlefield this turn. mana={1}{B} type=Enchantment @@ -80533,8 +80527,8 @@ type=Enchantment [card] name=Noble Templar abilities=vigilance -aicode=activate target(plains|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(plains|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Vigilance -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, and put it into your hand. Then shuffle.) mana={5}{W} type=Creature @@ -80562,22 +80556,22 @@ type=Instant [/card] [card] name=Noetic Scales -auto=@each my upkeep restriction{type(*|myhand)~equalto~7}:moveTo(ownerhand) all(creature[power>=8]|mybattlefield) -auto=@each my upkeep restriction{type(*|myhand)~equalto~6}:moveTo(ownerhand) all(creature[power>=7]|mybattlefield) -auto=@each my upkeep restriction{type(*|myhand)~equalto~5}:moveTo(ownerhand) all(creature[power>=6]|mybattlefield) -auto=@each my upkeep restriction{type(*|myhand)~equalto~4}:moveTo(ownerhand) all(creature[power>=5]|mybattlefield) -auto=@each my upkeep restriction{type(*|myhand)~equalto~3}:moveTo(ownerhand) all(creature[power>=4]|mybattlefield) -auto=@each my upkeep restriction{type(*|myhand)~equalto~2}:moveTo(ownerhand) all(creature[power>=3]|mybattlefield) -auto=@each my upkeep restriction{type(*|myhand)~equalto~1}:moveTo(ownerhand) all(creature[power>=2]|mybattlefield) -auto=@each my upkeep restriction{type(*|myhand)~lessthan~1}:moveTo(ownerhand) all(creature[power>=1]|mybattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~7}:moveTo(ownerhand) all(creature[power>=8]|opponentbattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~6}:moveTo(ownerhand) all(creature[power>=7]|opponentbattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~5}:moveTo(ownerhand) all(creature[power>=6]|opponentbattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~4}:moveTo(ownerhand) all(creature[power>=5]|opponentbattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~3}:moveTo(ownerhand) all(creature[power>=4]|opponentbattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~2}:moveTo(ownerhand) all(creature[power>=3]|opponentbattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~1}:moveTo(ownerhand) all(creature[power>=2]|opponentbattlefield) -auto=@each opponent upkeep restriction{type(*|opponenthand)~lessthan~1}:moveTo(ownerhand) all(creature[power>=1]|opponentbattlefield) +auto=@each my upkeep restriction{type(*|myhand)~equalto~7}:moveTo(hand) all(creature[power>=8]|mybattlefield) +auto=@each my upkeep restriction{type(*|myhand)~equalto~6}:moveTo(hand) all(creature[power>=7]|mybattlefield) +auto=@each my upkeep restriction{type(*|myhand)~equalto~5}:moveTo(hand) all(creature[power>=6]|mybattlefield) +auto=@each my upkeep restriction{type(*|myhand)~equalto~4}:moveTo(hand) all(creature[power>=5]|mybattlefield) +auto=@each my upkeep restriction{type(*|myhand)~equalto~3}:moveTo(hand) all(creature[power>=4]|mybattlefield) +auto=@each my upkeep restriction{type(*|myhand)~equalto~2}:moveTo(hand) all(creature[power>=3]|mybattlefield) +auto=@each my upkeep restriction{type(*|myhand)~equalto~1}:moveTo(hand) all(creature[power>=2]|mybattlefield) +auto=@each my upkeep restriction{type(*|myhand)~lessthan~1}:moveTo(hand) all(creature[power>=1]|mybattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~7}:moveTo(hand) all(creature[power>=8]|opponentbattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~6}:moveTo(hand) all(creature[power>=7]|opponentbattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~5}:moveTo(hand) all(creature[power>=6]|opponentbattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~4}:moveTo(hand) all(creature[power>=5]|opponentbattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~3}:moveTo(hand) all(creature[power>=4]|opponentbattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~2}:moveTo(hand) all(creature[power>=3]|opponentbattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~equalto~1}:moveTo(hand) all(creature[power>=2]|opponentbattlefield) +auto=@each opponent upkeep restriction{type(*|opponenthand)~lessthan~1}:moveTo(hand) all(creature[power>=1]|opponentbattlefield) text=At the beginning of each player's upkeep, return to its owner's hand each creature that player controls with power greater than the number of cards in their hand. mana={4} type=Artifact @@ -80586,7 +80580,7 @@ type=Artifact name=Noggin Whack other={1}{b} name(Prowl) otherrestriction=prowl -auto=Reveal:3 revealzone(opponenthand) optionone choice name(choose Discards) target(<2>*|reveal) transforms((,newability[moveto(ownerhand) and!(reject)!])) oneshot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) oneshot optiontwoend revealend +auto=Reveal:3 revealzone(opponenthand) optionone choice name(choose Discards) target(<2>*|reveal) transforms((,newability[moveto(hand) and!(reject)!])) oneshot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) oneshot optiontwoend revealend text=Prowl {1}{B} (You may cast this for its prowl cost if you dealt combat damage to a player this turn with a Rogue.) -- Target player reveals three cards from their hand. You choose two of them. That player discards those cards. mana={2}{B}{B} type=Tribal Sorcery @@ -80604,7 +80598,7 @@ toughness=2 [/card] [card] name=Noggle Bridgebreaker -auto=moveTo(ownerhand) notatarget(land|myBattlefield) +auto=moveTo(hand) notatarget(land|myBattlefield) text=When Noggle Bridgebreaker enters, return a land you control to its owner's hand. mana={2}{UR}{UR} type=Creature @@ -80959,8 +80953,8 @@ toughness=4 [/card] [card] name=Nucklavee -auto=ability$!name(return red sorcery) may moveto(ownerhand) target(sorcery[red]|mygraveyard)!$ controller -auto=ability$!name(return blue instant) may moveto(ownerhand) target(instant[blue]|mygraveyard)!$ controller +auto=ability$!name(return red sorcery) may moveto(hand) target(sorcery[red]|mygraveyard)!$ controller +auto=ability$!name(return blue instant) may moveto(hand) target(instant[blue]|mygraveyard)!$ controller text=When Nucklavee enters, you may return target red sorcery card from your graveyard to your hand. -- When Nucklavee enters, you may return target blue instant card from your graveyard to your hand. mana={4}{UR}{UR} type=Creature @@ -81188,7 +81182,7 @@ subtype=Aura name=Nyx Weaver abilities=reach auto=@each myupkeep:deplete:2 controller -auto={1}{B}{G}{E}:moveto(ownerhand) target(other *|mygraveyard) +auto={1}{B}{G}{E}:moveto(hand) target(other *|mygraveyard) text=Reach -- At the beginning of your upkeep, put the top two cards of your library into your graveyard. -- {1}{B}{G}, Exile Nyx Weaver: Return target card from your graveyard to your hand. mana={1}{B}{G} type=Enchantment Creature @@ -81350,8 +81344,8 @@ type=Legendary Enchantment [/card] [card] name=Oath of Ghouls -auto=@each my upkeep:if type(creature|mygraveyard)~morethan~type(creature|opponentgraveyard) then target(creature|mygraveyard) moveto(ownerHand) -auto=@each opponent upkeep:if type(creature|opponentgraveyard)~morethan~type(creature|mygraveyard) then ability$!name(return creature from graveyard) target(creature|mygraveyard) moveto(ownerHand)!$ opponent +auto=@each my upkeep:if type(creature|mygraveyard)~morethan~type(creature|opponentgraveyard) then target(creature|mygraveyard) moveto(hand) +auto=@each opponent upkeep:if type(creature|opponentgraveyard)~morethan~type(creature|mygraveyard) then ability$!name(return creature from graveyard) target(creature|mygraveyard) moveto(hand)!$ opponent text=At the beginning of each player's upkeep, that player chooses target player whose graveyard has fewer creature cards in it than their graveyard does and is their opponent. The first player may return a creature card from their graveyard to their hand. mana={1}{B} type=Enchantment @@ -81399,8 +81393,8 @@ type=Enchantment [/card] [card] name=Oath of Nissa -aicode=activate target(*[creature;land;planeswalker;zpos<=3]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*[creature;land;planeswalker]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[creature;land;planeswalker;zpos<=3]|mylibrary) moveto(hand) +auto=name(look) reveal:3 optionone name(Get a card) target(<1>*[creature;land;planeswalker]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend auto=lord(planeswalker|mycastingzone) anytypeofmana text=When Oath of Nissa enters, look at the top three cards of your library. You may reveal a creature, land, or planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in any order. -- You may spend mana as though it were mana of any color to cast planeswalker spells. mana={G} @@ -81494,7 +81488,7 @@ type=Artifact [/card] [card] name=Obelisk of Undoing -auto={6}{T}:moveto(ownerHand) target(*|myBattlefield) +auto={6}{T}:moveto(hand) target(*|myBattlefield) text={6}, {T}: Return target permanent you own and control to your hand. mana={1} type=Artifact @@ -81593,7 +81587,7 @@ toughness=3 [card] name=Oboro, Palace in the Clouds auto={T}:Add{U} -auto={1}:moveto(ownerhand) +auto={1}:moveto(hand) text={T}: Add {U}. -- {1}: Return Oboro, Palace in the Clouds to its owner's hand. type=Legendary Land [/card] @@ -81772,8 +81766,8 @@ toughness=3 [/card] [card] name=Odunos River Trawler -auto=moveto(ownerHand) target(creature[enchantment]|mygraveyard) -auto=aslongas(creature[enchantment]|mygraveyard) {W}{S}:moveto(ownerHand) target(other creature[enchantment]|mygraveyard) +auto=moveto(hand) target(creature[enchantment]|mygraveyard) +auto=aslongas(creature[enchantment]|mygraveyard) {W}{S}:moveto(hand) target(other creature[enchantment]|mygraveyard) text=When Odunos River Trawler enters, return target enchantment creature card from your graveyard to your hand. -- {W}, Sacrifice Odunos River Trawler: Return target enchantment creature card from your graveyard to your hand. mana={2}{B} type=Creature @@ -81918,7 +81912,7 @@ toughness=3 [/card] [card] name=Ogre Savant -auto=if spent({U}) then moveTo(ownerhand) target(creature) +auto=if spent({U}) then moveTo(hand) target(creature) text=When Ogre Savant enters, if {U} was spent to cast Ogre Savant, return target creature to its owner's hand. mana={4}{R} type=Creature @@ -82363,7 +82357,7 @@ subtype=Aura [card] name=Oni of Wild Places abilities=haste -auto=@each my upkeep:moveTo(ownerhand) notatarget(creature[red]|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(creature[red]|myBattlefield) text=Haste -- At the beginning of your upkeep, return a red creature you control to its owner's hand. mana={5}{R} type=Creature @@ -82595,8 +82589,8 @@ toughness=2 [/card] [card] name=Open the Armory -aicode=activate notatarget(*[aura;equipment]|mylibrary) moveTo(ownerhand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) revealtype(*[aura;equipment]|mylibrary) optionone name(choose card) target(*[aura;equipment]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend revealend +aicode=activate notatarget(*[aura;equipment]|mylibrary) moveTo(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) revealtype(*[aura;equipment]|mylibrary) optionone name(choose card) target(*[aura;equipment]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend revealend text=Search your library for an Aura or Equipment card, reveal it, and put it into your hand. Then shuffle. mana={1}{W} type=Sorcery @@ -83397,7 +83391,7 @@ toughness=6 [card] name=Orzhov Basilica auto=tap(noevent) -auto=moveTo(ownerhand) notatarget(land|mybattlefield) +auto=moveTo(hand) notatarget(land|mybattlefield) auto={T}:Add{W}{B} text=Orzhov Basilica enters tapped. -- When Orzhov Basilica enters, return a land you control to its owner's hand. -- {T}: Add {W}{B}. type=Land @@ -83480,7 +83474,7 @@ toughness=2 name=Ostracize target=opponent aicode=activate reject notatarget(creature|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>creature|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>creature|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a creature card from it. That player discards that card. mana={B} type=Sorcery @@ -83582,7 +83576,7 @@ toughness=2 [/card] [card] name=Ovalchase Daredevil -autograveyard=@movedto(artifact|mybattlefield):may moveto(ownerHand) +autograveyard=@movedto(artifact|mybattlefield):may moveto(hand) text=Whenever an artifact enters under your control, you may return Ovalchase Daredevil from your graveyard to your hand. mana={3}{B} type=Creature @@ -83614,8 +83608,8 @@ toughness=* [/card] [card] name=Overburden -auto=@movedTo(creature[-token]|mybattlefield):target(land|mybattlefield) moveto(ownerHand) -auto=@movedTo(creature[-token]|opponentbattlefield):ability$!name(bounce land) target(land|mybattlefield) moveto(ownerHand)!$ opponent +auto=@movedTo(creature[-token]|mybattlefield):target(land|mybattlefield) moveto(hand) +auto=@movedTo(creature[-token]|opponentbattlefield):ability$!name(bounce land) target(land|mybattlefield) moveto(hand)!$ opponent text=Whenever a player puts a nontoken creature onto the battlefield, that player returns a land they control to its owner's hand. mana={1}{U} type=Enchantment @@ -83716,7 +83710,7 @@ toughness=5 [/card] [card] name=Oversold Cemetery -auto=@each my upkeep restriction{type(creature|mygraveyard)~morethan~3}:may target(creature|mygraveyard) moveto(ownerHand) +auto=@each my upkeep restriction{type(creature|mygraveyard)~morethan~3}:may target(creature|mygraveyard) moveto(hand) text=At the beginning of your upkeep, if you have four or more creature cards in your graveyard, you may return target creature card from your graveyard to your hand. mana={1}{B} type=Enchantment @@ -83802,7 +83796,7 @@ type=Instant [/card] [card] name=Ovinomancer -auto=aslongas(land[basic]|mybattlefield) choice target(<3>land[basic]|mybattlefield) moveTo(ownerhand) oneshot >2 +auto=aslongas(land[basic]|mybattlefield) choice target(<3>land[basic]|mybattlefield) moveTo(hand) oneshot >2 auto=choice sacrifice all(this) auto={T}{H}:bury target(other creature) && token(Sheep,Creature Sheep,0/1,green) targetcontroller text=When Ovinomancer enters, sacrifice it unless you return three basic lands you control to their owner's hand. -- {T}, Return Ovinomancer to its owner's hand: Destroy target creature. It can't be regenerated. That creature's controller puts a 0/1 green Sheep creature token onto the battlefield. @@ -83916,7 +83910,7 @@ toughness=3 [card] name=Pack Hunt target=creature -auto=target(*[share!name!]|mylibrary) moveto(ownerHand) +auto=target(*[share!name!]|mylibrary) moveto(hand) text=Search your library for up to three cards with the same name as target creature, reveal them, and put them into your hand. Then shuffle. mana={3}{G} type=Sorcery @@ -83979,8 +83973,8 @@ type=Enchantment [/card] [card] name=Pain Seer -aicode=activate target(*[zpos=1]|mylibrary) moveto(ownerHand) and!(transforms((,newability[life:-manacost controller])) ueot)! -auto=@untapped(this):reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:-manacost controller])) forever optiononeend optiontwo name(Claim your card) choice all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[zpos=1]|mylibrary) moveto(hand) and!(transforms((,newability[life:-manacost controller])) ueot)! +auto=@untapped(this):reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:-manacost controller])) forever optiononeend optiontwo name(Claim your card) choice all(*|reveal) moveto(hand) optiontwoend revealend text=Inspired -- Whenever Pain Seer becomes untapped, reveal the top card of your library and put that card into your hand. You lose life equal to that card's mana value. mana={1}{B} type=Creature @@ -84007,7 +84001,7 @@ toughness=1 name=Painful Memories target=player aicode=activate target(*|targetedpersonshand) moveTo(ownerlibrary) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose cards) target(<1>*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose cards) target(<1>*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Look at target opponent's hand and choose a card from it. Put that card on top of that player's library. mana={1}{B} type=Sorcery @@ -84061,7 +84055,7 @@ toughness=1 [/card] [card] name=Palace Siege -auto=choice name(Khans) transforms((,newability[counter(0/0.1.Khans)],newability[@each my upkeep:moveto(ownerHand) target(creature|mygraveyard)])) forever +auto=choice name(Khans) transforms((,newability[counter(0/0.1.Khans)],newability[@each my upkeep:moveto(hand) target(creature|mygraveyard)])) forever auto=choice name(Dragons) transforms((,newability[counter(0/0.1.Dragons)],newability[@each my upkeep:life:-2 opponent && life:2 controller])) forever text=As Palace Siege enters, choose Khans or Dragons. -- -- Khans -- At the beginning of your upkeep, return target creature card from your graveyard to your hand. -- -- Dragons -- At the beginning of your upkeep, each opponent loses 2 life and you gain 2 life. mana={3}{B}{B} @@ -84101,8 +84095,8 @@ toughness=2 [card] name=Pale Recluse abilities=reach -aicode=activate target(*[plains;forest]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[plains;forest]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[plains;forest]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[plains;forest]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Reach (This can block creatures with flying.) -- Forestcycling {2}, plainscycling {2} ({2}, Discard this card: Search your library for a Forest or Plains card, reveal it, and put it into your hand. Then shuffle.) mana={4}{G}{W} type=Creature @@ -84137,7 +84131,7 @@ toughness=4 [/card] [card] name=Paleoloth -auto=@movedTo(other creature[power>=5]|myBattlefield):may moveto(ownerHand) target(creature|mygraveyard) +auto=@movedTo(other creature[power>=5]|myBattlefield):may moveto(hand) target(creature|mygraveyard) text=Whenever another creature with power 5 or greater enters under your control, you may return target creature card from your graveyard to your hand. mana={4}{G}{G} type=Creature @@ -84149,7 +84143,7 @@ toughness=5 name=Palinchron abilities=flying auto=may untap target(land) -auto={2}{U}{U}:moveTo(ownerhand) +auto={2}{U}{U}:moveTo(hand) text=Flying -- When Palinchron enters, untap up to seven lands. -- {2}{U}{U}: Return Palinchron to its owner's hand. mana={5}{U}{U} type=Creature @@ -84254,7 +84248,7 @@ toughness=2 [/card] [card] name=Pangosaur -auto=@movedTo(land|battlefield) from(hand):moveTo(ownerhand) +auto=@movedTo(land|battlefield) from(hand):moveTo(hand) text=Whenever a player plays a land, return Pangosaur to its owner's hand. mana={2}{G}{G} type=Creature @@ -84334,7 +84328,7 @@ type=Legendary Artifact [card] name=Paradoxical Outcome target=*[-land;-token]|mybattlefield -auto=moveTo(ownerhand) and!( draw:1 controller )! +auto=moveTo(hand) and!( draw:1 controller )! text=Return any number of target nonland, nontoken permanents you control to their owners' hands. Draw a card for each card returned to your hand this way. mana={3}{U} type=Instant @@ -84627,7 +84621,7 @@ type=Sorcery [/card] [card] name=Part the Veil -auto=moveTo(ownerhand) all(creature|myBattlefield) +auto=moveTo(hand) all(creature|myBattlefield) text=Return all creatures you control to their owner's hand. mana={3}{U} type=Instant @@ -85002,7 +84996,7 @@ toughness=4 name=Pearl Lake Ancient abilities=flash,nofizzle,prowess auto=@movedTo(*[-creature]|mystack):1/1 ueot -auto={H(land|myBattlefield)}{H(land|myBattlefield)}{H(land|myBattlefield)}: moveto(ownerhand) +auto={H(land|myBattlefield)}{H(land|myBattlefield)}{H(land|myBattlefield)}: moveto(hand) text=Flash. -- Pearl Lake Ancient can't be countered. -- Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- Return three lands you control to their owner's hand: Return Pearl Lake Ancient to its owner's hand. mana={5}{U}{U} type=Creature @@ -85064,7 +85058,7 @@ type=Enchantment name=Peek target=player aicode=name(look) activate name(look) target(*|targetedpersonshand) donothing -auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=name(look) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend auto=draw:1 controller text=Look at target player's hand. -- Draw a card. mana={U} @@ -85073,8 +85067,8 @@ type=Instant [card] name=Peel from Reality target=creature|mybattlefield -auto=moveTo(ownerhand) -auto=moveTo(ownerhand) target(creature|opponentbattlefield) +auto=moveTo(hand) +auto=moveTo(hand) target(creature|opponentbattlefield) restriction=type(creature|opponentbattlefield)~morethan~0,type(creature|mybattlefield)~morethan~0 text=Return target creature you control and target creature you don't control to their owners' hands. mana={1}{U} @@ -85111,8 +85105,8 @@ type=Sorcery [/card] [card] name=Peer Through Depths -aicode=activate target(instant,sorcery[zpos<=5]|mylibrary) moveto(ownerHand) -auto=name(look) reveal:5 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(instant,sorcery[zpos<=5]|mylibrary) moveto(hand) +auto=name(look) reveal:5 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top five cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={1}{U} type=Instant @@ -85454,7 +85448,7 @@ type=Sorcery name=Perish the Thought target=opponent aicode=activate notatarget(*|targetedpersonshand) transforms((,newability[moveto(ownerlibrary)],newability[shuffle])) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone target(*|reveal) moveto(ownerlibrary) and!( shuffle )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone target(*|reveal) moveto(ownerlibrary) and!( shuffle )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a card from it. That player shuffles that card into their library. mana={2}{B} type=Sorcery @@ -85513,7 +85507,7 @@ type=Artifact [card] name=Persecute target=player -auto=chooseacolor reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone all(*[chosencolor]|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend chooseend +auto=chooseacolor reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone all(*[chosencolor]|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend chooseend text=Choose a color. Target player reveals their hand and discards all cards of that color. mana={2}{B}{B} type=Sorcery @@ -85521,7 +85515,7 @@ type=Sorcery [card] name=Persistent Nightmare abilities=skulk -auto=@combatdamaged(player) from(this):moveto(ownerhand) +auto=@combatdamaged(player) from(this):moveto(hand) color=blue text=Skulk (This creature can't be blocked by creatures with greater power.) -- When Persistent Nightmare deals combat damage to a player, return it to its owner's hand. type=Creature @@ -85629,7 +85623,7 @@ toughness=6 [/card] [card] name=Petrahydrox -auto=@targeted(this):moveTo(ownerhand) +auto=@targeted(this):moveTo(hand) text=({(u/r)} can be paid with either {U} or {R}.) -- When Petrahydrox becomes the target of a spell or ability, return Petrahydrox to its owner's hand. mana={3}{UR} type=Creature @@ -85650,7 +85644,7 @@ toughness=2 [card] name=Petrified Field auto={T}:Add{1} -auto={T}{S}:moveto(ownerHand) target(other land|mygraveyard) +auto={T}{S}:moveto(hand) target(other land|mygraveyard) text={T}: Add {1}. -- {T}, Sacrifice Petrified Field: Return target land card from your graveyard to your hand. type=Land [/card] @@ -85935,8 +85929,8 @@ toughness=2 [/card] [card] name=Phantom Whelp -auto=_ATTACKING_phaseaction[combatends,sourceinplay] moveTo(ownerhand) -auto=@combat(blocking) source(this):phaseaction[combatends,sourceinplay] moveTo(ownerhand) +auto=_ATTACKING_phaseaction[combatends,sourceinplay] moveTo(hand) +auto=@combat(blocking) source(this):phaseaction[combatends,sourceinplay] moveTo(hand) text=When Phantom Whelp attacks or blocks, return it to its owner's hand at end of combat. (Return it only if it's on the battlefield.) mana={1}{U} type=Creature @@ -85948,7 +85942,7 @@ toughness=2 name=Phantom Wings target=creature auto=flying -auto={S}:teach(creature) moveTo(ownerhand) +auto={S}:teach(creature) moveTo(hand) text=Enchant creature -- Enchanted creature has flying. -- Sacrifice Phantom Wings: Return enchanted creature to its owner's hand. mana={1}{U} type=Enchantment @@ -85997,7 +85991,7 @@ toughness=3 [/card] [card] name=Pharika's Mender -auto=may moveto(ownerHand) target(creature,enchantment|mygraveyard) +auto=may moveto(hand) target(creature,enchantment|mygraveyard) text=When Pharika's Mender enters, you may return target creature or enchantment card from your graveyard to your hand. mana={3}{B}{G} type=Creature @@ -86022,7 +86016,7 @@ toughness=5 name=Phelddagrif auto={G}:trample && token(Hippo,Creature Hippo,1/1,green) && moveTo(opponentBattlefield) all(hippo[token]|myBattlefield) auto={W}:flying && life:2 opponent -auto={U}:moveTo(ownerhand) && draw:1 opponent +auto={U}:moveTo(hand) && draw:1 opponent text={G}: Phelddagrif gains trample until end of turn. Target opponent puts a 1/1 green Hippo creature token onto the battlefield. -- {W}: Phelddagrif gains flying until end of turn. Target opponent gains 2 life. -- {U}: Return Phelddagrif to its owner's hand. Target opponent may draw a card. mana={1}{G}{W}{U} type=Legendary Creature @@ -86463,7 +86457,7 @@ toughness=3 [/card] [card] name=Phyrexian Reclamation -auto={L:2}{1}{B}:moveto(ownerHand) target(creature|mygraveyard) +auto={L:2}{1}{B}:moveto(hand) target(creature|mygraveyard) text={1}{B}, Pay 2 life: Return target creature card from your graveyard to your hand. mana={B} type=Enchantment @@ -86665,14 +86659,14 @@ toughness=2 name=Pick the Brain target=opponent aicode=activate notatarget(*[-land]|targetedpersonshand) moveto(exile) and!( if delirium then transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )! -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) moveto(exile) and!( if delirium then transforms((,newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)],newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) moveto(exile) and!( if delirium then transforms((,newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)],newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a nonland card from it and exile that card. -- Delirium -- If there are four or more card types among cards in your graveyard, search that player's graveyard, hand, and library for any number of cards with the same name as the exiled card, exile those cards, then that player shuffles their library. mana={2}{B} type=Sorcery [/card] [card] name=Pieces of the Puzzle -auto=reveal:5 optionone name(Get Cards) target(*[instant;sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(put in graveyard) target(<1>*|reveal) moveto(ownergraveyard) and!( all(*|reveal) moveto(ownergraveyard) )! optiontwoend revealend +auto=reveal:5 optionone name(Get Cards) target(*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(put in graveyard) target(<1>*|reveal) moveto(ownergraveyard) and!( all(*|reveal) moveto(ownergraveyard) )! optiontwoend revealend text=Reveal the top five cards of your library. Put up to two instant and/or sorcery cards from among them into your hand and the rest into your graveyard. mana={2}{U} type=Sorcery @@ -86725,8 +86719,8 @@ toughness=4 [card] name=Pilgrim's Eye abilities=flying -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Flying -- When Pilgrim's Eye enters, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle. mana={3} type=Artifact Creature @@ -87004,7 +86998,7 @@ toughness=1 [/card] [card] name=Pit Keeper -auto=aslongas(creature|mygraveyard) moveTo(ownerhand) target(creature|mygraveyard) >3 oneshot +auto=aslongas(creature|mygraveyard) moveTo(hand) target(creature|mygraveyard) >3 oneshot text=When Pit Keeper enters, if you have four or more creature cards in your graveyard, you may return target creature card from your graveyard to your hand. mana={1}{B} type=Creature @@ -87088,7 +87082,7 @@ toughness=4 name=Pitiless Horde other={2}{B}{B} name(Dash) auto=@each my upkeep:life:-2 controller -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=At the beginning of your upkeep, you lose 2 life. -- Dash {2}{B}{B} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={2}{B} type=Creature @@ -87353,8 +87347,8 @@ type=Sorcery [card] name=Planar Portal abilities=hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto={6}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto={6}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={6}, {T}: Search your library for a card and put that card into your hand. Then shuffle. mana={6} type=Artifact @@ -87517,8 +87511,8 @@ toughness=2 [/card] [card] name=Plea for Guidance -aicode=activate target(enchantment|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(enchantment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(enchantment|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(enchantment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for up to two enchantment cards, reveal them, and put them into your hand. Then shuffle. mana={5}{W} type=Sorcery @@ -87776,7 +87770,7 @@ type=Enchantment [card] name=Port Inspector aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto=_BLOCKED_name(look) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=_BLOCKED_name(look) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend text=Whenever Port Inspector becomes blocked, you may look at defending player's hand. mana={1}{U} type=Creature @@ -87882,7 +87876,7 @@ type=Artifact [/card] [card] name=Possessed Skaab -auto=moveto(ownerHand) target(*[creature;instant;sorcery]|mygraveyard) +auto=moveto(hand) target(*[creature;instant;sorcery]|mygraveyard) auto=_DIES_moveto(exile) text=When Possessed Skaab enters, return target instant, sorcery, or creature card from your graveyard to your hand. -- If Possessed Skaab would die, exile it instead. mana={3}{U}{B} @@ -88024,7 +88018,7 @@ toughness=1 [card] name=Praetor's Counsel auto=moveTo(exile) -auto=moveto(ownerHand) all(*|mygraveyard) +auto=moveto(hand) all(*|mygraveyard) autoexile=emblem transforms((,newability[lord(*|myBattlefield) nomaxhand])) forever dontremove text=Return all cards from your graveyard to your hand. Exile Praetor's Counsel. You have no maximum hand size for the rest of the game. mana={5}{G}{G}{G} @@ -89144,7 +89138,7 @@ type=Sorcery [/card] [card] name=Promised Kannushi -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=7]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=7]|mygraveyard) text=Soulshift 7 (When this dies, you may return target Spirit card with mana value 7 or less from your graveyard to your hand.) mana={G} type=Creature @@ -89213,8 +89207,8 @@ toughness=3 name=Prophetic Bolt target=anytarget auto=damage:4 -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot -auto=name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot +auto=name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Prophetic Bolt deals 4 damage to any target. Look at the top four cards of your library. Put one of those cards into your hand and the rest on the bottom of your library. mana={3}{U}{R} type=Instant @@ -89484,7 +89478,7 @@ type=Sorcery name=Psychic Spear target=player aicode=activate reject notatarget(*[spirit;arcane]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[spirit;arcane]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[spirit;arcane]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose a Spirit or Arcane card from it. That player discards that card. mana={B} type=Sorcery @@ -89641,7 +89635,7 @@ toughness=1 [card] name=Pulse of Murasa target=creature,land|graveyard -auto=moveto(ownerhand) +auto=moveto(hand) auto=life:6 controller text=Return target creature or land card from a graveyard to its owner's hand. You gain 6 life. mana={2}{G} @@ -89650,7 +89644,7 @@ type=Instant [card] name=Pulse of the Dross target=player -auto=Reveal:3 revealzone(targetedpersonshand) optionone choice name(choose Discards) target(<1>*|reveal) transforms((,newability[moveto(ownerhand) and!(reject)!])) oneshot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) oneshot optiontwoend afterrevealed if type(*|myhand)~lessthan~type(*|opponenthand) then moveto(ownerHand) all(this) afterrevealedend revealend +auto=Reveal:3 revealzone(targetedpersonshand) optionone choice name(choose Discards) target(<1>*|reveal) transforms((,newability[moveto(hand) and!(reject)!])) oneshot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) oneshot optiontwoend afterrevealed if type(*|myhand)~lessthan~type(*|opponenthand) then moveto(hand) all(this) afterrevealedend revealend text=Target player reveals three cards from their hand and you choose one of them. That player discards that card. Then if that player has more cards in hand than you, return Pulse of the Dross to its owner's hand. mana={1}{B}{B} type=Sorcery @@ -89658,7 +89652,7 @@ type=Sorcery [card] name=Pulse of the Fields auto=life:4 controller -auto=if compare(lifetotal)~lessthan~compare(opponentlifetotal) then moveTo(ownerhand) +auto=if compare(lifetotal)~lessthan~compare(opponentlifetotal) then moveTo(hand) text=You gain 4 life. Then if an opponent has more life than you, return Pulse of the Fields to its owner's hand. mana={1}{W}{W} type=Instant @@ -89667,7 +89661,7 @@ type=Instant name=Pulse of the Forge target=player auto=damage:4 -auto=if compare(lifetotal)~lessthan~compare(opponentlifetotal) then moveTo(ownerhand) +auto=if compare(lifetotal)~lessthan~compare(opponentlifetotal) then moveTo(hand) text=Pulse of the Forge deals 4 damage to target player. Then if that player has more life than you, return Pulse of the Forge to its owner's hand. mana={1}{R}{R} type=Instant @@ -89676,7 +89670,7 @@ type=Instant name=Pulse of the Grid auto=draw:2 controller auto=target(*|myhand) reject -auto=if type(*|opponenthand)~morethan~type(*|myhand) then moveto(ownerHand) +auto=if type(*|opponenthand)~morethan~type(*|myhand) then moveto(hand) text=Draw two cards, then discard a card. Then if an opponent has more cards in hand than you, return Pulse of the Grid to its owner's hand. mana={1}{U}{U} type=Instant @@ -89684,7 +89678,7 @@ type=Instant [card] name=Pulse of the Tangle auto=_BEASTTOKEN_ -auto=if control less creatures then moveto(ownerHand) +auto=if control less creatures then moveto(hand) text=Put a 3/3 green Beast creature token onto the battlefield. Then if an opponent controls more creatures than you, return Pulse of the Tangle to its owner's hand. mana={1}{G}{G} type=Sorcery @@ -89756,7 +89750,7 @@ type=Instant name=Punishing Fire target=anytarget auto=damage:2 -autograveyard=@lifefoeof(player):pay({R}) moveto(ownerhand) +autograveyard=@lifefoeof(player):pay({R}) moveto(hand) text=Punishing Fire deals 2 damage to any target. -- Whenever an opponent gains life, you may pay {R}. If you do, return Punishing Fire from your graveyard to your hand. mana={1}{R} type=Instant @@ -89979,7 +89973,7 @@ type=Enchantment [card] name=Pus Kami auto={B}{S}:destroy target(other creature[-black]) -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=6]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=6]|mygraveyard) text={B}, Sacrifice Pus Kami: Destroy target nonblack creature. -- Soulshift 6 (When this dies, you may return target Spirit card with mana value 6 or less from your graveyard to your hand.) mana={5}{B}{B} type=Creature @@ -90154,7 +90148,7 @@ toughness=3 [card] name=Pyre Zombie auto={1}{R}{R}{S}:damage:2 target(anytarget) -autograveyard={1}{B}{B}:moveto(ownerHand) myUpkeepOnly +autograveyard={1}{B}{B}:moveto(hand) myUpkeepOnly text=At the beginning of your upkeep, if Pyre Zombie is in your graveyard, you may pay {1}{B}{B}. If you do, return Pyre Zombie from your graveyard to your hand. -- {1}{R}{R}, Sacrifice Pyre Zombie: Pyre Zombie deals 2 damage to any target. mana={1}{B}{R} type=Creature @@ -90183,7 +90177,7 @@ type=Instant [card] name=Pyrewild Shaman autohand={1}{R}{discard}:name(bloodrush) target(creature[attacking]) 3/1 ueot -autograveyard=@each combatdamage restriction{opponentdamagedbycombat}:pay({3}) moveto(ownerhand) +autograveyard=@each combatdamage restriction{opponentdamagedbycombat}:pay({3}) moveto(hand) text=Bloodrush -- {1}{R}, Discard Pyrewild Shaman: Target attacking creature gets +3/+1 until end of turn. -- Whenever one or more creatures you control deal combat damage to a player, if Pyrewild Shaman is in your graveyard, you may pay {3}. If you do, return Pyrewild Shaman to your hand. mana={2}{R} type=Creature @@ -90380,8 +90374,8 @@ toughness=1 [card] name=Quagnoth abilities=split second -autograveyard=while(restriction{discardbyopponent}) choice moveto(ownerhand) -autoexile=while(restriction{discardbyopponent}) choice moveto(ownerhand) +autograveyard=while(restriction{discardbyopponent}) choice moveto(hand) +autoexile=while(restriction{discardbyopponent}) choice moveto(hand) text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- Shroud (This permanent can't be the target of spells or abilities.) -- When a spell or ability an opponent controls causes you to discard Quagnoth, return it to your hand. mana={5}{G} type=Creature @@ -90539,7 +90533,7 @@ type=Instant [card] name=Quickling abilities=flying,flash -auto=aslongas(other creature|mybattlefield) choice notatarget(other creature|mybattlefield) moveTo(ownerhand) oneshot +auto=aslongas(other creature|mybattlefield) choice notatarget(other creature|mybattlefield) moveTo(hand) oneshot auto=choice sacrifice text=Flash (You may cast this spell any time you could cast an instant.) -- Flying -- When Quickling enters, sacrifice it unless you return another creature you control to its owner's hand. mana={1}{U} @@ -90565,8 +90559,8 @@ type=Artifact [card] name=Quicksilver Behemoth abilities=affinityartifacts -auto=_ATTACKING_phaseaction[combatends,sourceinplay] moveTo(ownerhand) -auto=@combat(blocking) source(this):phaseaction[combatends,sourceinplay] moveTo(ownerhand) +auto=_ATTACKING_phaseaction[combatends,sourceinplay] moveTo(hand) +auto=@combat(blocking) source(this):phaseaction[combatends,sourceinplay] moveTo(hand) text=Affinity for artifacts (This spell costs {1} less to cast for each artifact you control.) -- When Quicksilver Behemoth attacks or blocks, return it to its owner's hand at end of combat. (Return it only if it's on the battlefield.) mana={6}{U} type=Creature @@ -90597,7 +90591,7 @@ toughness=7 [card] name=Quicksilver Geyser target=*[-land] -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to two target nonland permanents to their owners' hands. mana={4}{U} type=Instant @@ -90640,16 +90634,6 @@ mana={2}{U} type=Enchantment [/card] [card] -name=Quiet Disrepair -target=artifact,enchantment -auto=@each my upkeep:choice name(Destroy enchanted permanent) (mytgt):destroy -auto=@each my upkeep:choice name(Gain 2 life) life:2 -text=Enchant artifact or enchantment -- At the beginning of your upkeep, choose one - Destroy enchanted permanent or You gain 2 life. -mana={1}{G} -type=Enchantment -subtype=Aura -[/card] -[card] name=Quiet Purity target=enchantment auto=destroy @@ -90708,18 +90692,18 @@ toughness=2 [card] name=Quillmane Baku auto=@movedTo(spirit,arcane|mystack):may counter(0/0,1,Ki) -auto={1}{C(0/0,-1,Ki)}{T}:name(Remove 1 Counters) moveTo(ownerhand) target(creature[manacost<=1]) -auto={1}{C(0/0,-2,Ki)}{T}:name(Remove 2 Counters) moveTo(ownerhand) target(creature[manacost<=2]) -auto={1}{C(0/0,-3,Ki)}{T}:name(Remove 3 Counters) moveTo(ownerhand) target(creature[manacost<=3]) -auto={1}{C(0/0,-4,Ki)}{T}:name(Remove 4 Counters) moveTo(ownerhand) target(creature[manacost<=4]) -auto={1}{C(0/0,-5,Ki)}{T}:name(Remove 5 Counters) moveTo(ownerhand) target(creature[manacost<=5]) -auto={1}{C(0/0,-6,Ki)}{T}:name(Remove 6 Counters) moveTo(ownerhand) target(creature[manacost<=6]) -auto={1}{C(0/0,-7,Ki)}{T}:name(Remove 7 Counters) moveTo(ownerhand) target(creature[manacost<=7]) -auto={1}{C(0/0,-8,Ki)}{T}:name(Remove 8 Counters) moveTo(ownerhand) target(creature[manacost<=8]) -auto={1}{C(0/0,-9,Ki)}{T}:name(Remove 9 Counters) moveTo(ownerhand) target(creature[manacost<=9]) -auto={1}{C(0/0,-10,Ki)}{T}:name(Remove 10 Counters) moveTo(ownerhand) target(creature[manacost<=10]) -auto={1}{C(0/0,-11,Ki)}{T}:name(Remove 11 Counters) moveTo(ownerhand) target(creature[manacost<=11]) -auto={1}{C(0/0,-12,Ki)}{T}:name(Remove 12 Counters) moveTo(ownerhand) target(creature[manacost<=12]) +auto={1}{C(0/0,-1,Ki)}{T}:name(Remove 1 Counters) moveTo(hand) target(creature[manacost<=1]) +auto={1}{C(0/0,-2,Ki)}{T}:name(Remove 2 Counters) moveTo(hand) target(creature[manacost<=2]) +auto={1}{C(0/0,-3,Ki)}{T}:name(Remove 3 Counters) moveTo(hand) target(creature[manacost<=3]) +auto={1}{C(0/0,-4,Ki)}{T}:name(Remove 4 Counters) moveTo(hand) target(creature[manacost<=4]) +auto={1}{C(0/0,-5,Ki)}{T}:name(Remove 5 Counters) moveTo(hand) target(creature[manacost<=5]) +auto={1}{C(0/0,-6,Ki)}{T}:name(Remove 6 Counters) moveTo(hand) target(creature[manacost<=6]) +auto={1}{C(0/0,-7,Ki)}{T}:name(Remove 7 Counters) moveTo(hand) target(creature[manacost<=7]) +auto={1}{C(0/0,-8,Ki)}{T}:name(Remove 8 Counters) moveTo(hand) target(creature[manacost<=8]) +auto={1}{C(0/0,-9,Ki)}{T}:name(Remove 9 Counters) moveTo(hand) target(creature[manacost<=9]) +auto={1}{C(0/0,-10,Ki)}{T}:name(Remove 10 Counters) moveTo(hand) target(creature[manacost<=10]) +auto={1}{C(0/0,-11,Ki)}{T}:name(Remove 11 Counters) moveTo(hand) target(creature[manacost<=11]) +auto={1}{C(0/0,-12,Ki)}{T}:name(Remove 12 Counters) moveTo(hand) target(creature[manacost<=12]) text=Whenever you cast a Spirit or Arcane spell, you may put a ki counter on Quillmane Baku. -- {1}, {T}, Remove X ki counters from Quillmane Baku: Return target creature with mana value X or less to its owner's hand. mana={4}{U} type=Creature @@ -91343,7 +91327,7 @@ type=Land [card] name=Raise Dead target=creature|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target creature card from your graveyard to your hand. mana={B} type=Sorcery @@ -91387,7 +91371,7 @@ type=Enchantment [/card] [card] name=Rakalite -auto={2}:prevent:1 target(anytarget) && all(this) transforms((,newability[@next end:moveTo(ownerhand)])) +auto={2}:prevent:1 target(anytarget) && all(this) transforms((,newability[@next end:moveTo(hand)])) text={2}: Prevent the next 1 damage that would be dealt to any target this turn. Return Rakalite to its owner's hand at the beginning of the next end step. mana={6} type=Artifact @@ -91406,7 +91390,7 @@ toughness=1 [card] name=Rakdos Carnarium auto=tap(noevent) -auto=moveTo(ownerhand) notatarget(land|myBattlefield) +auto=moveTo(hand) notatarget(land|myBattlefield) auto={T}:Add{B}{R} text=Rakdos Carnarium enters tapped. -- When Rakdos Carnarium enters, return a land you control to its owner's hand. -- {T}: Add {B}{R}. type=Land @@ -91884,7 +91868,7 @@ name=Rancor target=Creature auto=2/0 auto=trample -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Enchant creature -- Enchanted creature gets +2/+0 and has trample. -- When Rancor is put into a graveyard from the battlefield, return Rancor to its owner's hand. mana={G} type=Enchantment @@ -91903,8 +91887,8 @@ toughness=2 [/card] [card] name=Ranger of Eos -aicode=activate target(creature[manacost<=1]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(creature[manacost<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[manacost<=1]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(creature[manacost<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Ranger of Eos enters, you may search your library for up to two creature cards with mana value 1 or less, reveal them, and put them into your hand. If you do, shuffle your library. mana={3}{W} type=Creature @@ -92014,27 +91998,27 @@ toughness=3 [/card] [card] name=Rashmi, Eternities Crafter -auto=@movedto(*[-land;manacost=1]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=0]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=2]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=1]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=3]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=2]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=4]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=3]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=5]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=4]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=6]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=5]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=7]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=6]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=8]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=7]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=9]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=8]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=10]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=9]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=11]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=10]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=12]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=11]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=13]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=12]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=14]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=13]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=15]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=14]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=16]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=15]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=17]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=16]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=18]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=17]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=19]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=18]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=20]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=19]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend -auto=@movedto(*[-land;manacost=21]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=20]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(ownerhand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=1]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=0]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=2]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=1]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=3]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=2]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=4]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=3]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=5]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=4]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=6]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=5]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=7]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=6]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=8]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=7]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=9]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=8]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=10]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=9]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=11]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=10]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=12]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=11]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=13]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=12]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=14]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=13]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=15]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=14]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=16]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=15]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=17]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=16]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=18]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=17]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=19]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=18]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=20]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=19]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend +auto=@movedto(*[-land;manacost=21]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:reveal:1 revealzone(mylibrary) optionone name(choose card) target(*[-land;manacost<=20]|reveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put in hand) all(*|reveal) moveto(hand) optiontwoend afterrevealed all(tobecast|myexile) moveto(myexile) and!( activate castcard(normal) )! afterrevealedend revealend text=Whenever you cast your first spell each turn, reveal the top card of your library. If it's a nonland card with mana value less than that spell's, you may cast it without paying its mana cost. If you don't cast the revealed card, put it into your hand. mana={2}{G}{U} type=Legendary Creature @@ -92058,8 +92042,8 @@ toughness=1 [card] name=Ratcatcher abilities=fear -aicode=activate target(rat|mylibrary) moveto(ownerHand) -auto=@each my upkeep:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>rat|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(rat|mylibrary) moveto(hand) +auto=@each my upkeep:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>rat|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- At the beginning of your upkeep, you may search your library for a Rat card, reveal it, and put it into your hand. If you do, shuffle your library. mana={4}{B}{B} type=Creature @@ -92283,8 +92267,8 @@ toughness=6 name=Raven Familiar abilities=flying,hiddenface auto=upcost[{2}{u};next upkeep] sacrifice -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot -auto=reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot +auto=reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=Flying -- Echo {2}{U} (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.) -- When Raven Familiar enters, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={2}{U} type=Creature @@ -92511,7 +92495,7 @@ type=Sorcery [/card] [card] name=Razing Snidd -auto=name(bounce) notatarget(creature[red;black]|myBattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(sacrifice) notatarget(land|mybattlefield) sacrifice!$ controller],newability[ability$!name(sacrifice) notatarget(land|mybattlefield) sacrifice!$ opponent])) oneshot +auto=name(bounce) notatarget(creature[red;black]|myBattlefield) transforms((,newability[moveto(hand)],newability[ability$!name(sacrifice) notatarget(land|mybattlefield) sacrifice!$ controller],newability[ability$!name(sacrifice) notatarget(land|mybattlefield) sacrifice!$ opponent])) oneshot text=When Razing Snidd enters, return a black or red creature you control to its owner's hand. -- When Razing Snidd enters, each player sacrifices a land. mana={4}{B}{R} type=Creature @@ -92544,7 +92528,7 @@ toughness=4 [card] name=Razor Hippogriff abilities=flying -auto=moveto(ownerHand) and!(transforms((,newability[dynamicability])))! target(artifact|mygraveyard) +auto=moveto(hand) and!(transforms((,newability[dynamicability])))! target(artifact|mygraveyard) text=Flying -- When Razor Hippogriff enters, return target artifact card from your graveyard to your hand. You gain life equal to that card's mana value. mana={3}{W}{W} type=Creature @@ -92600,7 +92584,7 @@ toughness=4 [/card] [card] name=Razorfin Abolisher -auto={1}{U}{T}:moveTo(ownerhand) target(creature[counter{any}]) +auto={1}{U}{T}:moveTo(hand) target(creature[counter{any}]) text={1}{U}, {T}: Return target creature with a counter on it to its owner's hand. mana={2}{U} type=Creature @@ -92696,7 +92680,7 @@ subtype=Arcane [card] name=Reach of Branches auto=token(Treefolk,Creature Treffolk,2/5,green) -autograveyard=@movedTo(forest|myBattlefield):may moveto(ownerHand) +autograveyard=@movedTo(forest|myBattlefield):may moveto(hand) text=Put a 2/5 green Treefolk Shaman creature token onto the battlefield. -- Whenever a Forest enters under your control, you may return Reach of Branches from your graveyard to your hand. mana={4}{G} type=Tribal Instant @@ -92757,8 +92741,8 @@ toughness=2 [card] name=Realm Seekers auto=counter(1/1,type:*:hand) -aicode=activate target(land|mylibrary) moveto(ownerHand) -auto={2}{G}{C(1/1,-1)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land|mylibrary) moveto(hand) +auto={2}{G}{C(1/1,-1)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Realm Seekers enters with X +1/+1 counters on it, where X is the total number of cards in all players' hands. -- {2}{G}, Remove a +1/+1 counter from Realm Seekers: Search your library for a land card, reveal it, put it into your hand, then shuffle. mana={4}{G}{G} type=Creature @@ -92792,7 +92776,7 @@ type=Sorcery [card] name=Reap target=opponent -auto=moveto(ownerhand) target(*|mygraveyard) +auto=moveto(hand) target(*|mygraveyard) text=Return up to X target cards from your graveyard to your hand, where X is the number of black permanents target opponent controls as you cast Reap. mana={1}{G} type=Instant @@ -92800,7 +92784,7 @@ type=Instant [card] name=Reap Intellect aicode=activate notatarget(*[-land]|opponenthand) moveto(exile) and!( transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )! -auto=reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose card) notatarget(*[-land]|reveal) moveto(exile) and!( transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose card) notatarget(*[-land]|reveal) moveto(exile) and!( transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose up to X nonland cards from it and exile them. For each card exiled this way, search that player's graveyard, hand, and library for any number of cards with the same name as that card and exile them. Then that player shuffles their library. mana={X}{2}{U}{B} type=Sorcery @@ -92882,7 +92866,7 @@ toughness=5 [card] name=Reaping the Graves abilities=storm -auto=moveto(ownerHand) target(creature|myGraveyard) +auto=moveto(hand) target(creature|myGraveyard) text=Return target creature card from your graveyard to your hand. -- Storm (When you cast this spell, copy it for each spell cast before it this turn. You may choose new targets for the copies.) mana={2}{B} type=Instant @@ -92949,7 +92933,7 @@ toughness=2 [card] name=Reborn Hope target=*[multicolor]|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target multicolored card from your graveyard to your hand. mana={G}{W} type=Sorcery @@ -92957,7 +92941,7 @@ type=Sorcery [card] name=Rebuild abilities=cycling -auto=moveTo(ownerhand) all(artifact) +auto=moveTo(hand) all(artifact) autohand=__CYCLING__({2}) text=Return all artifacts to their owners' hands. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={2}{U} @@ -92983,7 +92967,7 @@ type=Sorcery name=Recantation auto=@each my upkeep:may counter(0/0,1,Verse) auto=this(counter{0/0.1.Verse}<1) {U}{S}:name(do nothing) donothing -auto=this(counter{0/0.1.Verse}>0) {U}{S}:moveTo(ownerhand) target(other *|battlefield) +auto=this(counter{0/0.1.Verse}>0) {U}{S}:moveTo(hand) target(other *|battlefield) text=At the beginning of your upkeep, you may put a verse counter on Recantation. -- {U}, Sacrifice Recantation: Return up to X target permanents to their owners' hands, where X is the number of verse counters on Recantation. mana={3}{U}{U} type=Enchantment @@ -93078,7 +93062,7 @@ toughness=3 name=Reckless Imp abilities=flying,cantblock other={1}{B} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Flying -- Reckless Imp can't block. -- Dash {1}{B} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={2}{B} type=Creature @@ -93221,7 +93205,7 @@ toughness=4 [card] name=Recoil target=*|battlefield -auto=moveto(ownerhand) +auto=moveto(hand) auto=transforms((,newability[ability$!name(discard) target(*|myhand) reject!$ controller])) text=Return target permanent to its owner's hand. Then that player discards a card. mana={1}{U}{B} @@ -93230,7 +93214,7 @@ type=Instant [card] name=Recollect target=*|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target card from your graveyard to your hand. mana={2}{G} type=Sorcery @@ -93245,7 +93229,7 @@ type=Enchantment [card] name=Reconstruction target=artifact|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target artifact card from your graveyard to your hand. mana={U} type=Sorcery @@ -93262,7 +93246,7 @@ type=Sorcery [card] name=Recover target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) auto=draw:1 controller text=Return target creature card from your graveyard to your hand. -- Draw a card. mana={2}{B} @@ -93398,7 +93382,7 @@ type=Sorcery [/card] [card] name=Reduce to Dreams -auto=moveto(ownerhand) all(artifact,enchantment) +auto=moveto(hand) all(artifact,enchantment) text=Return all artifacts and enchantments to their owners' hands. mana={3}{U}{U} type=Sorcery @@ -93556,7 +93540,7 @@ subtype=Aura [card] name=Regress target=* -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return target permanent to its owner's hand. mana={2}{U} type=Instant @@ -93564,7 +93548,7 @@ type=Instant [card] name=Regrowth target=*|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target card from your graveyard to your hand. mana={1}{G} type=Sorcery @@ -93661,7 +93645,7 @@ toughness=2 name=Rekindled Flame target=anytarget auto=damage:4 -autograveyard=@each my upkeep restriction{type(*|opponenthand)~lessthan~1}:may moveto(ownerhand) +autograveyard=@each my upkeep restriction{type(*|opponenthand)~lessthan~1}:may moveto(hand) text=Rekindled Flame deals 4 damage to any target. -- At the beginning of your upkeep, if an opponent has no cards in hand, you may return Rekindled Flame from your graveyard to your hand. mana={2}{R}{R} type=Sorcery @@ -93677,7 +93661,7 @@ type=Instant [card] name=Relearn target=instant,sorcery|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target instant or sorcery card from your graveyard to your hand. mana={1}{U}{U} type=Sorcery @@ -93776,7 +93760,7 @@ subtype=Aura [card] name=Relic Seeker auto=_RENOWN_(1) -auto=this(cantargetcard(*[renown]) transforms((,newability[may moveto(ownerHand) notatarget(equipment|mylibrary)])) +auto=this(cantargetcard(*[renown]) transforms((,newability[may moveto(hand) notatarget(equipment|mylibrary)])) text=Renown 1 (When this creature deals combat damage to a player, if it isn't renowned, put a +1/+1 counter on it and it becomes renowned.) -- When Relic Seeker becomes renowned, you may search your library for an Equipment card, reveal it, put it into your hand, then shuffle. mana={1}{W} type=Creature @@ -93830,7 +93814,7 @@ type=Instant [/card] [card] name=Remembrance -auto=@movedTo(creature|graveyard) from(mybattlefield):may all(trigger[to]) transforms((,newability[target(creature[share!name!]|mylibrary) moveto(ownerHand)])) +auto=@movedTo(creature|graveyard) from(mybattlefield):may all(trigger[to]) transforms((,newability[target(creature[share!name!]|mylibrary) moveto(hand)])) text=Whenever a nontoken creature you control dies, you may search your library for a card with the same name as that creature, reveal it, and put it into your hand. If you do, shuffle your library. mana={3}{W} type=Enchantment @@ -93863,7 +93847,7 @@ type=Land [card] name=Remove target=creature[attacking]|opponentBattlefield -auto=moveTo(ownerHand) +auto=moveTo(hand) restriction=opponentblockersonly text=Cast Remove only during the declare attackers step and only if you've been attacked this step. -- Return target attacking creature to its owner's hand. mana={U} @@ -93968,8 +93952,8 @@ toughness=3 [card] name=Renegade Map auto=tap(noevent) -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto={t}{s}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto={t}{s}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Renegade Map enters tapped. -- {T}, Sacrifice Renegade Map: Search your library for a basic land card, reveal it, put it into your hand, then shuffle. mana={1} type=Artifact @@ -94109,7 +94093,7 @@ type=Sorcery [/card] [card] name=Repeal -auto=moveTo(ownerhand) target(*[-land;manacost=X]) +auto=moveTo(hand) target(*[-land;manacost=X]) auto=draw:1 controller text=Return target nonland permanent with mana value X to its owner's hand. -- Draw a card. mana={X}{U} @@ -94213,7 +94197,7 @@ type=Sorcery [card] name=Repulse target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=draw:1 controller text=Return target creature to its owner's hand. -- Draw a card. mana={2}{U} @@ -94234,7 +94218,7 @@ toughness=5 name=Rescind abilities=cycling target=* -auto=moveTo(ownerhand) +auto=moveTo(hand) autohand=__CYCLING__({2}) text=Return target permanent to its owner's hand. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{U}{U} @@ -94243,7 +94227,7 @@ type=Instant [card] name=Rescue target=*|myBattlefield -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target permanent you control to its owner's hand. mana={U} type=Instant @@ -94313,7 +94297,7 @@ toughness=1 name=Resize target=creature auto=3/3 -autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({1}{G}) name(recover) moveto(ownerhand)?name(exile) moveto(exile) +autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({1}{G}) name(recover) moveto(hand)?name(exile) moveto(exile) text=Target creature gets +3/+3 until end of turn. -- Recover {1}{G} (When a creature is put into your graveyard from the battlefield, you may pay {1}{G}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) mana={1}{G} type=Instant @@ -94383,9 +94367,9 @@ type=Instant [card] name=Resounding Wave target=* -auto=moveTo(ownerhand) +auto=moveTo(hand) autohand={5}{W}{U}{B}{cycle}:name(cycling) draw:1 -autohand=@cycled(this|hand):target(<2>*) moveTo(ownerhand) +autohand=@cycled(this|hand):target(<2>*) moveTo(hand) text=Return target permanent to its owner's hand. -- Cycling {5}{W}{U}{B} ({5}{W}{U}{B}, Discard this card: Draw a card.) -- When you cycle Resounding Wave, return two target permanents to their owners' hands. mana={2}{U} type=Instant @@ -94393,7 +94377,7 @@ type=Instant [card] name=Resourceful Return target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) auto=if type(artifact|mybattlefield)~morethan~0 then draw:1 controller text=Return target creature card from your graveyard to your hand. If you control an artifact, draw a card. mana={1}{B} @@ -94469,7 +94453,7 @@ toughness=1 name=Restock abilities=exiledeath target=<2>*|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return two target cards from your graveyard to your hand. Exile Restock. mana={3}{G}{G} type=Sorcery @@ -94487,7 +94471,7 @@ toughness=4 [/card] [card] name=Restoration Gearsmith -auto=moveto(ownerhand) target(*[artifact;creature]|mygraveyard) +auto=moveto(hand) target(*[artifact;creature]|mygraveyard) text=When Restoration Gearsmith enters, return target artifact or creature card from your graveyard to your hand. mana={2}{W}{B} type=Creature @@ -94497,7 +94481,7 @@ toughness=3 [/card] [card] name=Restoration Specialist -auto={W}{S}:target(other *[artifact;enchantment]|mygraveyard) moveto(ownerHand) and!( if cantargetcard(artifact|nonbattlezone) then moveto(ownerHand) target(enchantment|mygraveyard) else moveto(ownerHand) target(artifact|mygraveyard) )! +auto={W}{S}:target(other *[artifact;enchantment]|mygraveyard) moveto(hand) and!( if cantargetcard(artifact|nonbattlezone) then moveto(hand) target(enchantment|mygraveyard) else moveto(hand) target(artifact|mygraveyard) )! text={W}, Sacrifice Restoration Specialist: Return up to one target artifact card and up to one target enchantment card from your graveyard to your hand. mana={1}{W} type=Creature @@ -94530,7 +94514,7 @@ type=Sorcery [/card] [card] name=Restore the Peace -auto=all(creature[damager]) moveto(ownerhand) +auto=all(creature[damager]) moveto(hand) text=Return each creature that dealt damage this turn to its owner's hand. mana={1}{W}{U} type=Instant @@ -94611,7 +94595,7 @@ type=Sorcery [/card] [card] name=Retract -auto=moveto(ownerhand) all(artifact|myBattlefield) +auto=moveto(hand) all(artifact|myBattlefield) text=Return all artifacts you control to their owner's hand. mana={U} type=Instant @@ -94619,7 +94603,7 @@ type=Instant [card] name=Retraction Helix target=creature -auto=teach(creature) {T}:moveto(ownerhand) target(*[-land]|battlefield) ueot +auto=teach(creature) {T}:moveto(hand) target(*[-land]|battlefield) ueot text=Until end of turn, target creature gains "Tap: Return target nonland permanent to its owner's hand." mana={U} type=Instant @@ -94691,7 +94675,7 @@ type=Sorcery [card] name=Return to Battle target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target creature card from your graveyard to your hand. mana={B} type=Sorcery @@ -94919,7 +94903,7 @@ type=Sorcery [card] name=Revive target=*[green]|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target green card from your graveyard to your hand. mana={1}{G} type=Sorcery @@ -94934,11 +94918,11 @@ type=Instant [/card] [card] name=Reviving Melody -auto=alternative @movedto(creature|myhand) source(this):moveto(ownerHand) target(enchantment|mygraveyard) -auto=alternative @movedto(enchantment|myhand) source(this):moveto(ownerHand) target(creature|mygraveyard) +auto=alternative @movedto(creature|myhand) source(this):moveto(hand) target(enchantment|mygraveyard) +auto=alternative @movedto(enchantment|myhand) source(this):moveto(hand) target(creature|mygraveyard) other={2}{G} name(Both) target=creature,enchantment|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Choose one or both - Return target creature card from your graveyard to your hand; and/or return target enchantment card from your graveyard to your hand. otherrestriction=type(creature|mygraveyard)~morethan~0,type(enchantment|mygraveyard)~morethan~0 mana={2}{G} @@ -94947,7 +94931,7 @@ type=Sorcery [card] name=Reviving Vapors abilities=hiddenface -auto=reveal:3 optionone name(Reveal and gain life) target(<1>*|reveal) transforms((,newability[life:manacost controller],newability[moveto(ownerHand)])) forever optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=reveal:3 optionone name(Reveal and gain life) target(<1>*|reveal) transforms((,newability[life:manacost controller],newability[moveto(hand)])) forever optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Reveal the top three cards of your library and put one of them into your hand. You gain life equal to that card's mana value. Put all other cards revealed this way into your graveyard. mana={2}{W}{U} type=Instant @@ -95307,7 +95291,7 @@ type=Land [card] name=Riftwing Cloudskate abilities=flying -auto=moveto(ownerhand) target(*) +auto=moveto(hand) target(*) text=Flying -- When Riftwing Cloudskate enters, return target permanent to its owner's hand. -- Suspend 3 - {1}{U} (Rather than cast this card from your hand, you may pay {1}{U} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.) mana={3}{U}{U} suspend(3)={1}{u} @@ -95504,8 +95488,8 @@ type=Artifact [card] name=Ring of Three Wishes auto=counter(0/0,3,Wish) -aicode=activate target(*|mylibrary) moveto(ownerHand) -auto={5}{T}{C(0/0,-1,Wish)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*|mylibrary) moveto(hand) +auto={5}{T}{C(0/0,-1,Wish)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Ring of Three Wishes enters with three wish counters on it. -- {5}{T}, Remove a wish counter from Ring of Three Wishes: Search your library for a card and put that card into your hand. Then shuffle. mana={5} type=Artifact @@ -95659,7 +95643,7 @@ toughness=2 [card] name=Riptide Chimera abilities=flying -auto=@each my upkeep:moveTo(ownerhand) notatarget(enchantment|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(enchantment|myBattlefield) text=Flying -- At the beginning of your upkeep, return an enchantment you control to its owner's hand. mana={2}{U} type=Enchantment Creature @@ -95713,7 +95697,7 @@ toughness=1 [card] name=Riptide Laboratory auto={T}:Add{1} -auto={1}{U}{T}:moveTo(ownerhand) target(wizard|myBattlefield) +auto={1}{U}{T}:moveTo(hand) target(wizard|myBattlefield) text={T}: Add {1}. -- {1}{U}, {T}: Return target Wizard you control to its owner's hand. type=Land [/card] @@ -95979,7 +95963,7 @@ toughness=3 [/card] [card] name=Rith's Grove -auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(hand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto=this(counter{0/0.1.payment}<1) {T}:Add{R} auto=this(counter{0/0.1.payment}<1) {T}:Add{G} @@ -96002,7 +95986,7 @@ toughness=6 [card] name=Ritual of Restoration target=artifact|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target artifact card from your graveyard to your hand. mana={W} type=Sorcery @@ -96181,7 +96165,7 @@ type=Sorcery [/card] [card] name=Roaring Primadox -auto=@each my upkeep:moveTo(ownerhand) notatarget(creature|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(creature|myBattlefield) text=At the beginning of your upkeep, return a creature you control to its owner's hand. mana={3}{G} type=Creature @@ -96768,7 +96752,7 @@ toughness=3 [card] name=Rootrunner auto={G}{G}{S}:moveTo(ownerlibrary) target(other land) -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=3]|mygraveyard) text={G}{G}, Sacrifice Rootrunner: Put target land on top of its owner's library. -- Soulshift 3 (When this dies, you may return target Spirit card with mana value 3 or less from your graveyard to your hand.) mana={2}{G}{G} type=Creature @@ -96834,7 +96818,7 @@ type=Land [/card] [card] name=Rootwater Diver -auto={T}{S}:moveto(ownerHand) target(other artifact|mygraveyard) +auto={T}{S}:moveto(hand) target(other artifact|mygraveyard) text={T}, Sacrifice Rootwater Diver: Return target artifact card from your graveyard to your hand. mana={U} type=Creature @@ -97252,9 +97236,9 @@ toughness=8 [/card] [card] name=Ruin in Their Wake -aicode=activate transforms((,newability[if type(Wastes|mybattlefield)~morethan~0 then moveto(mybattlefield) and!(tap(noevent))! notatarget(land[basic]|mylibrary) else moveto(ownerHand) notatarget(land[basic]|mylibrary)])) ueot +aicode=activate transforms((,newability[if type(Wastes|mybattlefield)~morethan~0 then moveto(mybattlefield) and!(tap(noevent))! notatarget(land[basic]|mylibrary) else moveto(hand) notatarget(land[basic]|mylibrary)])) ueot auto=if type(Wastes|mybattlefield)~morethan~0 then name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend -auto=if type(Wastes|mybattlefield)~lessthan~1 then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=if type(Wastes|mybattlefield)~lessthan~1 then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Devoid (This card has no color.) -- Search your library for a basic land card and reveal it. You may put that card onto the battlefield tapped if you control a land named Wastes. Otherwise, put that card into your hand. Then shuffle. mana={1}{G} abilities=devoid @@ -97433,8 +97417,8 @@ toughness=2 [card] name=Rune-Scarred Demon abilities=flying,hiddenface -aicode=activate moveto(ownerHand) target(*|mylibrary) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(*|mylibrary) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Flying -- When Rune-Scarred Demon enters, search your library for a card, put it into your hand, then shuffle. mana={5}{B}{B} type=Creature @@ -97681,8 +97665,8 @@ abilities=hasotherkicker other={2}{U}{S(land|mybattlefield)} name(Pay Kicker) restriction=type(*[-land]|battlefield)~morethan~0 otherrestriction=type(*[-land]|battlefield)~morethan~1 -auto=ifnot paid(alternative) then name(Return 1 non-land permanent) name(Return 1 non-land permanent) target(*[-land]|battlefield) moveto(ownerhand) -auto=if paid(alternative) then name(Return 2 non-land permanents) name(Return 2 non-land permanents) target(<2>*[-land]|battlefield) moveto(ownerhand) +auto=ifnot paid(alternative) then name(Return 1 non-land permanent) name(Return 1 non-land permanent) target(*[-land]|battlefield) moveto(hand) +auto=if paid(alternative) then name(Return 2 non-land permanents) name(Return 2 non-land permanents) target(<2>*[-land]|battlefield) moveto(hand) text=Kicker - Sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.) -- Return target nonland permanent to its owner's hand. If Rushing River was kicked, return another target nonland permanent to its owner's hand. mana={2}{U} type=Instant @@ -98039,7 +98023,7 @@ subtype=Mountain Plains [/card] [card] name=Sacred Guide -auto={w}{1}{s}:Reveal:1 revealzone(mylibrary) revealuntil(*[white]|mylibrary) optionone name(Get White) target(*[white]|myreveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) moveto(exile) optiontwoend revealend +auto={w}{1}{s}:Reveal:1 revealzone(mylibrary) revealuntil(*[white]|mylibrary) optionone name(Get White) target(*[white]|myreveal) moveto(hand) optiononeend optiontwo all(*|reveal) moveto(exile) optiontwoend revealend text={1}{W}, Sacrifice Sacred Guide: Reveal cards from the top of your library until you reveal a white card. Put that card into your hand and exile all other cards revealed this way. mana={W} type=Creature @@ -98212,8 +98196,8 @@ toughness=2 [/card] [card] name=Safewright Quest -aicode=activate target(*[forest;plains]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[forest;plains]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[forest;plains]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[forest;plains]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a Forest or Plains card, reveal it, and put it into your hand. Then shuffle. mana={GW} type=Sorcery @@ -98333,7 +98317,7 @@ subtype=Wizard [card] name=Sage's Knowledge target=sorcery|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target sorcery card from your graveyard to your hand. mana={2}{U} type=Sorcery @@ -98362,8 +98346,8 @@ toughness=5 [/card] [card] name=Sages of the Anima -aicode=activate target(<3>creature[zpos<=3]|mylibrary) moveto(ownerHand) -auto=replacedraw reveal:3 optionone name(Get creatures) target(<3>creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<3>creature[zpos<=3]|mylibrary) moveto(hand) +auto=replacedraw reveal:3 optionone name(Get creatures) target(<3>creature|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=If you would draw a card, instead reveal the top three cards of your library. Put all creature cards revealed this way into your hand and the rest on the bottom of your library in any order. mana={3}{G}{U} type=Creature @@ -98556,7 +98540,7 @@ toughness=1 [/card] [card] name=Salvage Scout -auto={W}{S}:moveTo(ownerhand) target(other artifact|mygraveyard) +auto={W}{S}:moveTo(hand) target(other artifact|mygraveyard) text={W}, Sacrifice Salvage Scout: Return target artifact card from your graveyard to your hand. mana={W} type=Creature @@ -98566,7 +98550,7 @@ toughness=1 [/card] [card] name=Salvage Scuttler -auto=_ATTACKING_moveto(ownerhand) target(artifact|mybattlefield) +auto=_ATTACKING_moveto(hand) target(artifact|mybattlefield) text=Whenever Salvage Scuttler attacks, return an artifact you control to its owner's hand. mana={4}{U} type=Creature @@ -98588,7 +98572,7 @@ toughness=1 name=Salvage Titan other={S(artifact|myBattlefield)}{S(artifact|myBattlefield)}{S(artifact|myBattlefield)} name(Sacrifice 3 Artifacts) otherrestriction=type(artifact|mybattlefield)~morethan~2 -autograveyard={E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)} restriction{type(artifact|mygraveyard)~morethan~3}:moveto(ownerHand) +autograveyard={E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)} restriction{type(artifact|mygraveyard)~morethan~3}:moveto(hand) text=You may sacrifice three artifacts rather than pay Salvage Titan's mana cost. -- Exile three artifact cards from your graveyard: Return Salvage Titan from your graveyard to your hand. mana={4}{B}{B} type=Artifact Creature @@ -98734,7 +98718,7 @@ toughness=2 [card] name=Sanctum Gargoyle abilities=flying -auto=may moveto(ownerHand) target(artifact|mygraveyard) +auto=may moveto(hand) target(artifact|mygraveyard) text=Flying -- When Sanctum Gargoyle enters, you may return target artifact card from your graveyard to your hand. mana={3}{W} type=Artifact Creature @@ -98745,8 +98729,8 @@ toughness=3 [card] name=Sanctum Plowbeast abilities=defender -aicode=activate target(*[plains;island]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[plains;island]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[plains;island]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[plains;island]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Defender -- Plainscycling {2}, islandcycling {2} ({2}, Discard this card: Search your library for a Plains or Island card, reveal it, and put it into your hand. Then shuffle.) mana={4}{W}{U} type=Artifact Creature @@ -98757,8 +98741,8 @@ toughness=6 [card] name=Sanctum of Ugin auto={T}:add{1} -aicode=activate moveto(ownerHand) target(creature[colorless]|mylibrary) -auto=@movedto(*[colorless;manacost>=7]|mystack):may pay({S}) name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[colorless]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate moveto(hand) target(creature[colorless]|mylibrary) +auto=@movedto(*[colorless;manacost>=7]|mystack):may pay({S}) name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[colorless]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={T}: Add {1}. -- Whenever you cast a colorless spell with mana value 7 or greater, you may sacrifice Sanctum of Ugin. If you do, search your library for a colorless creature card, reveal it, put it into your hand, then shuffle. type=Land [/card] @@ -98977,7 +98961,7 @@ toughness=4 [card] name=Sandstorm Eidolon auto={R}{S}:cantblock target(other creature) -autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(hand) text={R}, Sacrifice Sandstorm Eidolon: Target creature can't block this turn. -- Whenever you cast a multicolored spell, you may return Sandstorm Eidolon from your graveyard to your hand. mana={3}{R} type=Creature @@ -99074,7 +99058,7 @@ toughness=5 [/card] [card] name=Sanitarium Skeleton -autograveyard={2}{B}:moveto(ownerHand) +autograveyard={2}{B}:moveto(hand) text={2}{B}: Return Sanitarium Skeleton from your graveyard to your hand. mana={B} type=Creature @@ -99102,8 +99086,8 @@ type=Sorcery [card] name=Sapling of Colfenor abilities=indestructible -aicode=activate notatarget(*[zpos=1]|mylibrary) name(revealed card) moveto(mylibrary) name(revealed card) and!(if cantargetcard(creature|*) then moveto(ownerHand) and!(transforms((,newability[life:toughness],newability[life:-power])) ueot)!)! -auto=_ATTACKING_reveal:1 optionone name(Reveal and gain/lose life) target(creature|reveal) transforms((,newability[life:toughness],newability[life:-power],newability[moveto(ownerHand)])) forever optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +aicode=activate notatarget(*[zpos=1]|mylibrary) name(revealed card) moveto(mylibrary) name(revealed card) and!(if cantargetcard(creature|*) then moveto(hand) and!(transforms((,newability[life:toughness],newability[life:-power])) ueot)!)! +auto=_ATTACKING_reveal:1 optionone name(Reveal and gain/lose life) target(creature|reveal) transforms((,newability[life:toughness],newability[life:-power],newability[moveto(hand)])) forever optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend text=Sapling of Colfenor is indestructible. -- Whenever Sapling of Colfenor attacks, reveal the top card of your library. If it's a creature card, you gain life equal to that card's toughness, lose life equal to its power, then put it into your hand. mana={3}{BG}{BG} type=Legendary Creature @@ -99143,7 +99127,7 @@ type=Artifact [card] name=Saprazzan Bailiff auto=moveTo(exile) all(enchantment,artifact|graveyard) -auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveto(ownerHand) all(artifact,enchantment|mygraveyard) && moveTo(opponenthand) all(artifact,enchantment|opponentgraveyard) +auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveto(hand) all(artifact,enchantment|mygraveyard) && moveTo(opponenthand) all(artifact,enchantment|opponentgraveyard) text=When Saprazzan Bailiff enters, exile all artifact and enchantment cards from all graveyards. -- When Saprazzan Bailiff leaves the battlefield, return all artifact and enchantment cards from all graveyards to their owners' hands. mana={3}{U}{U} type=Creature @@ -99203,7 +99187,7 @@ toughness=5 [/card] [card] name=Saprazzan Raider -auto=_BLOCKED_moveto(ownerHand) all(this) +auto=_BLOCKED_moveto(hand) all(this) text=When Saprazzan Raider becomes blocked, return it to its owner's hand. mana={2}{U} type=Creature @@ -99268,8 +99252,8 @@ type=Instant [/card] [card] name=Sarkhan's Triumph -aicode=activate target(creature[dragon]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[dragon]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[dragon]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[dragon]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a Dragon creature card, reveal it, put it into your hand, then shuffle. mana={2}{R} type=Instant @@ -99370,7 +99354,7 @@ toughness=1 [/card] [card] name=Satyr Wayfinder -auto=reveal:4 optionone target(land|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=reveal:4 optionone target(land|reveal) moveto(hand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=When Satyr Wayfinder enters, reveal the top four cards of your library. You may put a land card from among them into your hand. Put the rest into your graveyard. mana={1}{G} type=Creature @@ -99434,7 +99418,7 @@ subtype=Aura [card] name=Savage Knuckleblade auto={2}{G}: 2/2 ueot limit:1 -auto={2}{U}:moveto(ownerhand) +auto={2}{U}:moveto(hand) auto={R}:haste text={2}{G}: Savage Knuckleblade gets +2/+2 until end of turn. Activate this ability only once each turn. -- {2}{U}: Return Savage Knuckleblade to its owner's hand. -- {R}: Savage Knuckleblade gains haste until end of turn. mana={G}{U}{R} @@ -99536,7 +99520,7 @@ toughness=1 [card] name=Saving Grasp target=creature|mybattlefield -auto=moveTo(ownerhand) +auto=moveTo(hand) flashback={W} text=Return target creature card you own to your hand. -- Flashback {W} mana={U} @@ -99576,7 +99560,7 @@ toughness=4 [card] name=Sawtooth Loon abilities=flying -auto=moveTo(ownerhand) notatarget(creature[white;blue]|myBattlefield) +auto=moveTo(hand) notatarget(creature[white;blue]|myBattlefield) auto=draw:2 && transforms((,newability[target(<2>*|myhand) bottomoflibrary])) oneshot text=Flying -- When Sawtooth Loon enters, return a white or blue creature you control to its owner's hand. -- When Sawtooth Loon enters, draw two cards, then put two cards from your hand on the bottom of your library. mana={2}{W}{U} @@ -99768,7 +99752,7 @@ toughness=5 [card] name=Scapegoat target=creature|mybattlefield -auto=moveTo(ownerhand) +auto=moveTo(hand) text=As an additional cost to cast Scapegoat, sacrifice a creature. -- Return any number of target creatures you control to their owner's hand. mana={W}{S(creature|mybattlefield)} type=Instant @@ -100244,7 +100228,7 @@ toughness=1 [/card] [card] name=Scoria Wurm -auto=@each my upkeep:flipacoin loseability moveTo(ownerhand) loseabilityend flipend +auto=@each my upkeep:flipacoin loseability moveTo(hand) loseabilityend flipend text=At the beginning of your upkeep, flip a coin. If you lose the flip, return Scoria Wurm to its owner's hand. mana={4}{R} type=Creature @@ -100357,7 +100341,7 @@ toughness=2 [/card] [card] name=Scourge of Fleets -auto=moveto(ownerhand) all(creature[toughness<=type:island:mybattlefield]|opponentbattlefield) +auto=moveto(hand) all(creature[toughness<=type:island:mybattlefield]|opponentbattlefield) text=When Scourge of Fleets enters, return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control. mana={5}{U}{U} type=Creature @@ -100474,7 +100458,7 @@ type=Sorcery [/card] [card] name=Scout the Borders -auto=reveal:5 optionone name(Get creature or land) target(creature,land|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=reveal:5 optionone name(Get creature or land) target(creature,land|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Reveal the top five cards of your library. You may put a creature or land card from among them into your hand. Put the rest into your graveyard. mana={2}{G} type=Sorcery @@ -100533,22 +100517,22 @@ type=Sorcery [/card] [card] name=Scrap Trawler -auto=@movedto(artifact[manacost=1]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=0]|mygraveyard) -auto=@movedto(artifact[manacost=2]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=1]|mygraveyard) -auto=@movedto(artifact[manacost=3]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=2]|mygraveyard) -auto=@movedto(artifact[manacost=4]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=3]|mygraveyard) -auto=@movedto(artifact[manacost=5]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=4]|mygraveyard) -auto=@movedto(artifact[manacost=6]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=5]|mygraveyard) -auto=@movedto(artifact[manacost=7]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=6]|mygraveyard) -auto=@movedto(artifact[manacost=8]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=7]|mygraveyard) -auto=@movedto(artifact[manacost=9]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=8]|mygraveyard) -auto=@movedto(artifact[manacost=10]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=9]|mygraveyard) -auto=@movedto(artifact[manacost=11]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=10]|mygraveyard) -auto=@movedto(artifact[manacost=12]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=11]|mygraveyard) -auto=@movedto(artifact[manacost=13]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=12]|mygraveyard) -auto=@movedto(artifact[manacost=14]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=13]|mygraveyard) -auto=@movedto(artifact[manacost=15]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=14]|mygraveyard) -auto=@movedto(artifact[manacost=16]|graveyard) from(mybattlefield):moveto(ownerHand) target(artifact[manacost<=15]|mygraveyard) +auto=@movedto(artifact[manacost=1]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=0]|mygraveyard) +auto=@movedto(artifact[manacost=2]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=1]|mygraveyard) +auto=@movedto(artifact[manacost=3]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=2]|mygraveyard) +auto=@movedto(artifact[manacost=4]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=3]|mygraveyard) +auto=@movedto(artifact[manacost=5]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=4]|mygraveyard) +auto=@movedto(artifact[manacost=6]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=5]|mygraveyard) +auto=@movedto(artifact[manacost=7]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=6]|mygraveyard) +auto=@movedto(artifact[manacost=8]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=7]|mygraveyard) +auto=@movedto(artifact[manacost=9]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=8]|mygraveyard) +auto=@movedto(artifact[manacost=10]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=9]|mygraveyard) +auto=@movedto(artifact[manacost=11]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=10]|mygraveyard) +auto=@movedto(artifact[manacost=12]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=11]|mygraveyard) +auto=@movedto(artifact[manacost=13]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=12]|mygraveyard) +auto=@movedto(artifact[manacost=14]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=13]|mygraveyard) +auto=@movedto(artifact[manacost=15]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=14]|mygraveyard) +auto=@movedto(artifact[manacost=16]|graveyard) from(mybattlefield):moveto(hand) target(artifact[manacost<=15]|mygraveyard) text=Whenever Scrap Trawler or another artifact you control is put into a graveyard from the battlefield, return to your hand target artifact card in your graveyard with lesser mana value. mana={3} type=Artifact Creature @@ -100647,8 +100631,8 @@ type=Sorcery [card] name=Screaming Seahawk abilities=flying -aicode=activate target(screaming seahawk|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>screaming seahawk|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(screaming seahawk|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>screaming seahawk|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Flying -- When Screaming Seahawk enters, you may search your library for a card named Screaming Seahawk, reveal it, and put it into your hand. If you do, shuffle your library. mana={4}{U} type=Creature @@ -100659,7 +100643,7 @@ toughness=2 [card] name=Screamreach Brawler other={1}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Dash {1}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={2}{R} type=Creature @@ -100775,7 +100759,7 @@ toughness=1 [/card] [card] name=Scrivener -auto=may moveto(ownerHand) target(instant|mygraveyard) +auto=may moveto(hand) target(instant|mygraveyard) text=When Scrivener enters, you may return target instant card from your graveyard to your hand. mana={4}{U} type=Creature @@ -100879,8 +100863,8 @@ toughness=1 [card] name=Scrying Sheets auto={T}:add{C} -aicode=activate target(*[snow;zpos=1]|mylibrary) moveto(ownerHand) -auto={1}{i}{T}:name(Look top card) reveal:1 optionone if type(*[snow]|reveal)~morethan~0 then target(*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +aicode=activate target(*[snow;zpos=1]|mylibrary) moveto(hand) +auto={1}{i}{T}:name(Look top card) reveal:1 optionone if type(*[snow]|reveal)~morethan~0 then target(*|reveal) moveto(hand) optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend text={T}: Add {1}. -- {1}{S}i}, {T}: Look at the top card of your library. If that card is snow, you may reveal it and put it into your hand. ({S}i} can be paid with one mana from a snow permanent.) type=Snow Land [/card] @@ -100948,7 +100932,7 @@ toughness=2 [card] name=Scuttling Death auto={S}:-1/-1 target(other creature) -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=4]|mygraveyard) text=Sacrifice Scuttling Death: Target creature gets -1/-1 until end of turn. -- Soulshift 4 (When this dies, you may return target Spirit card with mana value 4 or less from your graveyard to your hand.) mana={4}{B} type=Creature @@ -101043,7 +101027,7 @@ subtype=Equipment [card] name=Sea Drake abilities=flying -auto=target(<2>land|mybattlefield) moveto(ownerHand) +auto=target(<2>land|mybattlefield) moveto(hand) text=Flying -- When Sea Drake enters, return two target lands you control to their owner's hand. mana={2}{U} type=Creature @@ -101074,8 +101058,8 @@ toughness=3 [card] name=Sea Gate Oracle abilities=hiddenface -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot +auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend text=When Sea Gate Oracle enters, look at the top two cards of your library. Put one of them into your hand and the other on the bottom of your library. mana={2}{U} type=Creature @@ -101092,8 +101076,8 @@ type=Land [/card] [card] name=Sea God's Revenge -aicode=activate transforms((,newability[target(creature|opponentbattlefield) moveto(ownerhand)])) oneshot -auto=scry:1 scrycore delayed target(creature|opponentbattlefield) moveto(ownerhand) scrycoreend scryend +aicode=activate transforms((,newability[target(creature|opponentbattlefield) moveto(hand)])) oneshot +auto=scry:1 scrycore delayed target(creature|opponentbattlefield) moveto(hand) scrycoreend scryend text=Return up to three target creatures your opponents control to their owners' hands. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={5}{U} type=Sorcery @@ -101272,7 +101256,7 @@ type=Enchantment [/card] [card] name=Seal of Removal -auto={S}:moveTo(ownerhand) target(other creature) +auto={S}:moveTo(hand) target(other creature) text=Sacrifice Seal of Removal: Return target creature to its owner's hand. mana={U} type=Enchantment @@ -101314,7 +101298,7 @@ type=Enchantment name=Search Warrant target=player auto=life:type:*:targetedpersonshand controller -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiononeend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiononeend revealend text=Target player reveals their hand. You gain life equal to the number of cards in that player's hand. mana={W}{U} type=Sorcery @@ -101550,8 +101534,8 @@ subtype=Aura name=Secret Salvage target=*[-land]|mygraveyard auto=moveto(exile) -aicode=activate target(*[share!name!]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(*[share!name!]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[share!name!]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(*[share!name!]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Exile target nonland card from your graveyard. Search your library for any number of cards with the same name as that card, reveal them, and put them into your hand. Then shuffle. mana={3}{B}{B} type=Sorcery @@ -101632,7 +101616,7 @@ toughness=2 [/card] [card] name=Sedraxis Alchemist -auto=aslongas(*[blue]|myBattlefield) moveTo(ownerhand) target(*[-land]) oneshot +auto=aslongas(*[blue]|myBattlefield) moveTo(hand) target(*[-land]) oneshot text=When Sedraxis Alchemist enters, if you control a blue permanent, return target nonland permanent to its owner's hand. mana={2}{B} type=Creature @@ -101740,7 +101724,7 @@ toughness=4 [/card] [card] name=Seedling Charm -auto=aslongas(aura|battlefield) choice moveTo(ownerhand) target(aura) +auto=aslongas(aura|battlefield) choice moveTo(hand) target(aura) auto=aslongas(creature|battlefield) choice regenerate target(creature) auto=aslongas(creature|battlefield) choice trample target(creature) text=Choose one - Return target Aura attached to a creature to its owner's hand; or regenerate target green creature; or target creature gains trample until end of turn. @@ -101749,7 +101733,8 @@ type=Instant [/card] [card] name=Seeds of Innocence -alias=3410 +auto=all(artifact) trasforms((,newability[life:manacost sourceowner])) +auto=all(artifact) bury text=Destroy all artifacts. They can't be regenerated. The controller of each artifact destroyed this way gains life equal to its mana value. mana={1}{G}{G} type=Sorcery @@ -101758,7 +101743,7 @@ type=Sorcery name=Seeds of Renewal abilities=exiledeath target=<2>*|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) anyzone=changecost(colorless:-1) forcedalive text=Undaunted (This spell costs {1} less to cast for each opponent.) -- Return up to two target cards from your graveyard to your hand. Exile Seeds of Renewal. mana={6}{G} @@ -101774,16 +101759,16 @@ type=Instant [/card] [card] name=Seek the Horizon -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for up to three basic land cards, reveal them, and put them into your hand. Then shuffle. mana={3}{G} type=Sorcery [/card] [card] name=Seek the Wilds -aicode=activate moveto(ownerHand) target(*[creature;land;zpos<=4]|mylibrary) -auto=name(look) reveal:4 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate moveto(hand) target(*[creature;land;zpos<=4]|mylibrary) +auto=name(look) reveal:4 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top four cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={1}{G} type=Sorcery @@ -102033,7 +102018,7 @@ toughness=3 [card] name=Select for Inspection target=creature[tapped] -auto=moveto(ownerhand) +auto=moveto(hand) auto=_SCRY1_ text=Return target tapped creature to its owner's hand. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={U} @@ -102050,7 +102035,7 @@ type=Sorcery [card] name=Selenia, Dark Angel abilities=flying -auto={L:2}:moveTo(ownerhand) +auto={L:2}:moveTo(hand) text=Flying -- Pay 2 life: Return Selenia, Dark Angel to its owner's hand. mana={3}{W}{B} type=Legendary Creature @@ -102118,7 +102103,7 @@ type=Artifact [card] name=Selesnya Sanctuary auto=tap(noevent) -auto=moveto(ownerhand) notatarget(land|myBattlefield) +auto=moveto(hand) notatarget(land|myBattlefield) auto={T}:Add{G}{W} text=Selesnya Sanctuary enters tapped. -- When Selesnya Sanctuary enters, return a land you control to its owner's hand. -- {T}: Add {G}{W}. type=Land @@ -102142,7 +102127,7 @@ type=Artifact [/card] [card] name=Self-Assembler -auto=notatarget(creature[Assembly-Worker]|mylibrary) moveTo(ownerhand) +auto=notatarget(creature[Assembly-Worker]|mylibrary) moveTo(hand) text=When Self-Assembler enters, you may search your library for an Assembly-Worker creature card, reveal it, put it into your hand, then shuffle. mana={5} type=Artifact Creature @@ -102203,10 +102188,10 @@ toughness=3 [card] name=Selkie Hedge-Mage auto=if type(forest|mybattlefield)~morethan~1 then if type(island|mybattlefield)~lessthan~2 then may life:3 controller oneshot -auto=if type(island|mybattlefield)~morethan~1 then if type(forest|mybattlefield)~lessthan~2 then may moveTo(ownerhand) target(creature[tapped]) oneshot +auto=if type(island|mybattlefield)~morethan~1 then if type(forest|mybattlefield)~lessthan~2 then may moveTo(hand) target(creature[tapped]) oneshot auto=if type(forest|mybattlefield)~morethan~1 then if type(island|mybattlefield)~morethan~1 then choice life:3 controller oneshot -auto=if type(forest|mybattlefield)~morethan~1 then if type(island|mybattlefield)~morethan~1 then choice moveTo(ownerhand) target(creature[tapped]) oneshot -auto=if type(forest|mybattlefield)~morethan~1 then if type(island|mybattlefield)~morethan~1 then name(do both) choice name(do both) target(creature[tapped]) moveTo(ownerhand) oneshot && name(do both) life:3 controller oneshot +auto=if type(forest|mybattlefield)~morethan~1 then if type(island|mybattlefield)~morethan~1 then choice moveTo(hand) target(creature[tapped]) oneshot +auto=if type(forest|mybattlefield)~morethan~1 then if type(island|mybattlefield)~morethan~1 then name(do both) choice name(do both) target(creature[tapped]) moveTo(hand) oneshot && name(do both) life:3 controller oneshot text=When Selkie Hedge-Mage enters, if you control two or more Forests, you may gain 3 life. -- When Selkie Hedge-Mage enters, if you control two or more Islands, you may return target tapped creature to its owner's hand. mana={2}{GU} type=Creature @@ -102418,7 +102403,7 @@ toughness=3 [/card] [card] name=Separatist Voidmage -auto=may moveto(ownerhand) target(creature|battlefield) +auto=may moveto(hand) target(creature|battlefield) text=When Separatist Voidmage enters, you may return target creature to its owner's hand. mana={3}{U} type=Creature @@ -103135,7 +103120,7 @@ toughness=1 name=Shackles target=creature auto=doesnotuntap -auto={W}:moveTo(ownerhand) +auto={W}:moveTo(hand) text=Enchant creature -- Enchanted creature doesn't untap during its controller's untap step. -- {W}: Return Shackles to its owner's hand. mana={2}{W} type=Enchantment @@ -103532,7 +103517,7 @@ toughness=3 name=Shard Phoenix abilities=flying auto={S}:damage:2 all(creature[-flying]) -autograveyard={R}{R}{R}:moveto(ownerHand) myUpkeeponly +autograveyard={R}{R}{R}:moveto(hand) myUpkeeponly text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- Sacrifice Shard Phoenix: Shard Phoenix deals 2 damage to each creature without flying. -- {R}{R}{R}: Return Shard Phoenix from your graveyard to your hand. Activate this ability only during your upkeep. mana={4}{R} type=Creature @@ -103636,7 +103621,7 @@ toughness=3 name=Shattered Crypt target=creature|mygraveyard auto=life:-x controller -auto=moveto(ownerHand) +auto=moveto(hand) text=Return X target creature cards from your graveyard to your hand. You lose X life. mana={X}{B}{B} type=Sorcery @@ -103645,7 +103630,7 @@ type=Sorcery name=Shattered Dreams target=opponent aicode=activate reject notatarget(artifact|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(artifact|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(artifact|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose an artifact card from it. That player discards that card. mana={B} type=Sorcery @@ -104064,7 +104049,7 @@ toughness=0 name=Shimian Specter abilities=flying aicode=name(put in exile) activate name(put in exile) notatarget(*[-land]|opponenthand) transforms((,newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!],newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)])) ueot -auto=@combatdamaged(player) from(this):reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose card) notatarget(*[-land]|reveal) moveto(exile) and!( transforms((,newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!],newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=@combatdamaged(player) from(this):reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose card) notatarget(*[-land]|reveal) moveto(exile) and!( transforms((,newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!],newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Flying -- Whenever Shimian Specter deals combat damage to a player, that player reveals their hand. You choose a nonland card from it. Search that player's graveyard, hand, and library for all cards with the same name as that card and exile them. Then that player shuffles their library. mana={2}{B}{B} type=Creature @@ -104139,7 +104124,7 @@ type=Instant name=Shimmering Wings target=creature auto=flying -auto={U}:moveTo(ownerhand) +auto={U}:moveTo(hand) text=Enchant creature (Target a creature as you cast this. This card enters attached to that creature.) -- Enchanted creature has flying. (It can't be blocked except by creatures with flying or reach.) -- {U}: Return Shimmering Wings to its owner's hand. mana={U} type=Enchantment @@ -104341,7 +104326,7 @@ type=Land [card] name=Shivan Phoenix abilities=flying -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Flying -- When Shivan Phoenix dies, return Shivan Phoenix to its owner's hand. mana={4}{R}{R} type=Creature @@ -104371,7 +104356,7 @@ type=Land [card] name=Shivan Wurm abilities=trample -auto=moveTo(ownerhand) notatarget(creature[red;green]|myBattlefield) +auto=moveTo(hand) notatarget(creature[red;green]|myBattlefield) text=Trample -- When Shivan Wurm enters, return a red or green creature you control to its owner's hand. mana={3}{R}{G} type=Creature @@ -104492,8 +104477,8 @@ toughness=2 [card] name=Shoreline Ranger abilities=flying -aicode=activate target(island|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>island|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(island|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>island|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Flying -- Islandcycling {2} ({2}, Discard this card: Search your library for an Island card, reveal it, and put it into your hand. Then shuffle.) mana={5}{U} type=Creature @@ -104579,8 +104564,8 @@ type=Instant name=Shred Memory target=*|graveyard auto=moveTo(exile) -aicode=activate target(*[manacost=2]|mylibrary) moveto(ownerHand) -autohand={1}{B}{B}{D(this|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=2]|mylibrary) moveto(hand) +autohand={1}{B}{B}{D(this|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Exile up to four target cards from a single graveyard. -- Transmute {1}{B}{B} ({1}{B}{B}, Discard this card: Search your library for a card with the same mana value as this card, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) mana={1}{B} type=Instant @@ -104596,7 +104581,7 @@ type=Instant [card] name=Shreds of Sanity target=sorcery|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) auto=target(*|myhand) reject auto=all(this) moveto(exile) text=Return up to one target instant card and up to one target sorcery card from your graveyard to your hand, then discard a card. Exile Shreds of Sanity. @@ -104664,7 +104649,7 @@ type=Enchantment [card] name=Shrieking Drake abilities=flying -auto=moveTo(ownerhand) notatarget(creature|myBattlefield) +auto=moveTo(hand) notatarget(creature|myBattlefield) text=Flying -- When Shrieking Drake enters, return a creature you control to its owner's hand. mana={U} type=Creature @@ -104772,8 +104757,8 @@ mana={2} type=Artifact auto=@each my upkeep:counter(0/0,1,charge) auto=@movedTo(*[blue]|mystack):counter(0/0,1,charge) -aicode=activate target(*[zpos<=counter{0%0.1.charge}]|mylibrary) moveto(ownerHand) -auto={t}{s}:name(Look) reveal:counter{0%0.1.charge} optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=counter{0%0.1.charge}]|mylibrary) moveto(hand) +auto={t}{s}:name(Look) reveal:counter{0%0.1.charge} optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend text=At the beginning of your upkeep or whenever you cast a blue spell, put a charge counter on Shrine of Piercing Vision. {T}, Sacrifice Shrine of Piercing Vision: Look at the top X cards of your library, where X is the number of charge counters on Shrine of Piercing Vision. Put one of those cards into your hand and the rest on the bottom of your library in any order. [/card] [card] @@ -104941,7 +104926,7 @@ toughness=3 [/card] [card] name=Sibsig Muckdraggers -auto=target(creature|mygraveyard) moveto(ownerHand) +auto=target(creature|mygraveyard) moveto(hand) text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- When Sibsig Muckdraggers enters, return target creature card from your graveyard to your hand. other={delve} name(Delve) mana={8}{B} @@ -105024,7 +105009,7 @@ toughness=1 [/card] [card] name=Sidisi's Faithful -auto=may name(Exploit) exploits notatarget(creature|mybattlefield) && transforms((,newability[moveto(ownerhand) target(creature|battlefield)])) forever +auto=may name(Exploit) exploits notatarget(creature|mybattlefield) && transforms((,newability[moveto(hand) target(creature|battlefield)])) forever text=Exploit (When this creature enters, you may sacrifice a creature.) -- When Sidisi's Faithful exploits a creature, return target creature to its owner's hand. mana={U} type=Creature @@ -105047,8 +105032,8 @@ toughness=4 [card] name=Sidisi, Undead Vizier abilities=deathtouch,hiddenface -aicode=activate moveto(ownerHand) notatarget(*|mylibrary) -auto=may name(Exploit) exploits notatarget(creature|mybattlefield) and!( reveal:plibrarycount optionone name(choose card) target(*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend )! +aicode=activate moveto(hand) notatarget(*|mylibrary) +auto=may name(Exploit) exploits notatarget(creature|mybattlefield) and!( reveal:plibrarycount optionone name(choose card) target(*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend )! text=Deathtouch -- Exploit (When this creature enters, you may sacrifice a creature.) -- When Sidisi, Undead Vizier exploits a creature, you may search your library for a card, put it into your hand, then shuffle. mana={3}{B}{B} type=Legendary Creature @@ -105193,8 +105178,8 @@ toughness=2 [card] name=Sight Beyond Sight abilities=hiddenface -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot +auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend auto=_REBOUND_ text=Look at the top two cards of your library. Put one of them into your hand and the other on the bottom of your library. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.) mana={3}{U} @@ -105284,8 +105269,8 @@ subtype=Equipment [card] name=Sigil of Sleep target=creature -auto=@damagefoeof(player) from(mytgt):moveto(ownerhand) target(creature|opponentbattlefield) -auto=@damageof(player) from(mytgt):moveto(ownerhand) target(creature|mybattlefield) +auto=@damagefoeof(player) from(mytgt):moveto(hand) target(creature|opponentbattlefield) +auto=@damageof(player) from(mytgt):moveto(hand) target(creature|mybattlefield) text=Enchant creature -- Whenever enchanted creature deals damage to a player, return target creature that player controls to its owner's hand. mana={U} type=Enchantment @@ -105311,7 +105296,7 @@ subtype=Aura [/card] [card] name=Sigil of the New Dawn -auto=@movedto(creature|mygraveyard) from(battlefield):all(trigger[to]) pay[[{1}{W}]] activate moveto(ownerHand) oneshot +auto=@movedto(creature|mygraveyard) from(battlefield):all(trigger[to]) pay[[{1}{W}]] activate moveto(hand) oneshot text=Whenever a creature is put into your graveyard from the battlefield, you may pay {1}{W}. If you do, return that card to your hand. mana={3}{W} type=Enchantment @@ -105443,7 +105428,7 @@ toughness=2 [card] name=Silent Departure target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) flashback={4}{U} text=Return target creature to its owner's hand. -- Flashback {4}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={U} @@ -105710,7 +105695,7 @@ toughness=7 [card] name=Silver Drake abilities=flying -auto=moveTo(ownerhand) notatarget(creature[white;blue]|myBattlefield) +auto=moveTo(hand) notatarget(creature[white;blue]|myBattlefield) text=Flying -- When Silver Drake enters, return a white or blue creature you control to its owner's hand. mana={1}{W}{U} type=Creature @@ -105991,7 +105976,7 @@ toughness=2 [card] name=Simic Growth Chamber auto=tap(noevent) -auto=moveTo(ownerhand) notatarget(land|myBattlefield) +auto=moveTo(hand) notatarget(land|myBattlefield) auto={T}:Add{G}{U} text=Simic Growth Chamber enters tapped. -- When Simic Growth Chamber enters, return a land you control to its owner's hand. -- {T}: Add {G}{U}. type=Land @@ -106081,7 +106066,7 @@ type=Instant [/card] [card] name=Sin Collector -auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(<1>*[instant;sorcery]|reveal) moveto(exile) optiononeend optiontwo all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(<1>*[instant;sorcery]|reveal) moveto(exile) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=When Sin Collector enters target opponent reveals their hand. You choose an instant or a sorcery card from it and exile that card. mana={1}{W}{B} type=Creature @@ -106369,7 +106354,7 @@ type=Land name=Skarrgan Firebird abilities=flying auto=bloodthirst:3 -autograveyard=this(opponentdamagecount > 0) {R}{R}{R}:moveto(ownerhand) +autograveyard=this(opponentdamagecount > 0) {R}{R}{R}:moveto(hand) text=Bloodthirst 3 (If an opponent was dealt damage this turn, this creature enters with three +1/+1 counters on it.) -- Flying -- {R}{R}{R}: Return Skarrgan Firebird from your graveyard to your hand. Activate this ability only if an opponent was dealt damage this turn. mana={4}{R}{R} type=Creature @@ -106491,8 +106476,8 @@ subtype=Equipment [/card] [card] name=Skeleton Shard -auto={3}{T}:moveto(ownerHand) target(creature[artifact]|mygraveyard) -auto={B}{T}:moveto(ownerHand) target(creature[artifact]|mygraveyard) +auto={3}{T}:moveto(hand) target(creature[artifact]|mygraveyard) +auto={B}{T}:moveto(hand) target(creature[artifact]|mygraveyard) text={3}, {T} or {B}, {T}: Return target artifact creature card from your graveyard to your hand. mana={3} type=Artifact @@ -106892,7 +106877,7 @@ type=Artifact [/card] [card] name=Skull Collector -auto=@each my upkeep:moveTo(ownerhand) notatarget(creature[black]|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(creature[black]|myBattlefield) auto={1}{B}:regenerate text=At the beginning of your upkeep, return a black creature you control to its owner's hand. -- {1}{B}: Regenerate Skull Collector. mana={1}{B}{B} @@ -106919,7 +106904,7 @@ type=Sorcery [/card] [card] name=Skull of Orm -auto={5}{T}:moveto(ownerHand) target(enchantment|myGraveyard) +auto={5}{T}:moveto(hand) target(enchantment|myGraveyard) text={5}, {T}: Return target enchantment card from your graveyard to your hand. mana={3} type=Artifact @@ -107256,7 +107241,7 @@ toughness=4 [/card] [card] name=Skymark Roc -auto=_ATTACKING_may moveto(ownerhand) target(creature[toughness<=2]|opponentbattlefield) +auto=_ATTACKING_may moveto(hand) target(creature[toughness<=2]|opponentbattlefield) abilities=flying text=Flying -- Whenever Skymark Roc attacks, you may return target creature defending player controls with toughness 2 or less to its owner's hand. mana={2}{W}{U} @@ -107358,7 +107343,7 @@ toughness=3 name=Skyship Weatherlight aicode=activate moveto(myexile) and!(transforms((skyshipped)) forever)! target(*[creature;artifact]|mylibrary) auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(*[creature;artifact]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myexile) and!(becomes(skyshipped) forever)!])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto={4}{T}:moverandom(*[skyshipped]) from(myexile) to(ownerhand) +auto={4}{T}:moverandom(*[skyshipped]) from(myexile) to(hand) text=When Skyship Weatherlight enters, search your library for any number of artifact and/or creature cards and exile them. Then shuffle. -- {4}, {T}: Choose a card at random that was exiled with Skyship Weatherlight. Put that card into its owner's hand. mana={4} type=Legendary Artifact @@ -107508,8 +107493,8 @@ toughness=3 [/card] [card] name=Skyshroud Sentinel -aicode=activate target(skyshroud sentinel|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(skyshroud sentinel|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(skyshroud sentinel|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(skyshroud sentinel|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Skyshroud Sentinel enters, you may search your library for up to three cards named Skyshroud Sentinel, reveal them, and put them into your hand. If you do, shuffle your library. mana={2}{G} type=Creature @@ -107607,8 +107592,8 @@ toughness=4 [card] name=Skyward Eye Prophets abilities=vigilance -aicode=activate transforms((,newability[if type(land[zpos=1]|mylibrary)~morethan~0 then target(land[zpos=1]|mylibrary) moveto(ownerbattlefield) else target(*[zpos=1]|mylibrary) moveto(ownerhand)])) ueot -auto={t}:reveal:1 optionone target(land|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate transforms((,newability[if type(land[zpos=1]|mylibrary)~morethan~0 then target(land[zpos=1]|mylibrary) moveto(ownerbattlefield) else target(*[zpos=1]|mylibrary) moveto(hand)])) ueot +auto={t}:reveal:1 optionone target(land|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(hand) optiontwoend revealend text=Vigilance -- {T}: Reveal the top card of your library. If it's a land card, put it onto the battlefield. Otherwise, put it into your hand. mana={3}{G}{W}{U} type=Creature @@ -107652,7 +107637,7 @@ toughness=1 [card] name=Skywing Aven abilities=flying -auto={D(*|myhand)}:moveto(ownerhand) +auto={D(*|myhand)}:moveto(hand) text=Flying -- Discard a card: Return Skywing Aven to its owner's hand. mana={2}{U} type=Creature @@ -107670,7 +107655,7 @@ type=Enchantment [card] name=Slab Hammer auto={2}:equip -auto=@combat(attacking) source(mytgt):may name(return a land and 2/2) transforms((,newability[moveto(ownerHand) notatarget(land|mybattlefield)],newability[2/2 ueot])) ueot +auto=@combat(attacking) source(mytgt):may name(return a land and 2/2) transforms((,newability[moveto(hand) notatarget(land|mybattlefield)],newability[2/2 ueot])) ueot text=Whenever equipped creature attacks, you may return a land you control to its owner's hand. If you do, the creature gets +2/+2 until end of turn. -- Equip {2} mana={2} type=Artifact @@ -107881,7 +107866,7 @@ toughness=3 [card] name=Sleeper's Guile target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=fear text=Enchant creature -- Enchanted creature has fear. (It can't be blocked except by artifact creatures and/or black creatures.) -- When Sleeper's Guile is put into a graveyard from the battlefield, return Sleeper's Guile to its owner's hand. mana={2}{B} @@ -107912,8 +107897,8 @@ subtype=Aura [card] name=Sleight of Hand abilities=hiddenface -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot -auto=name(Look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot +auto=name(Look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top two cards of your library. Put one of them into your hand and the other on the bottom of your library. mana={U} type=Sorcery @@ -108064,7 +108049,7 @@ toughness=6 [/card] [card] name=Sliptide Serpent -auto={3}{U}:moveTo(ownerhand) +auto={3}{U}:moveTo(hand) text={3}{U}: Return Sliptide Serpent to its owner's hand. mana={4}{U}{U} type=Creature @@ -108190,8 +108175,8 @@ toughness=7 [/card] [card] name=Sliver Overlord -aicode=activate target(sliver|mylibrary) moveto(ownerHand) -auto={3}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>sliver|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(sliver|mylibrary) moveto(hand) +auto={3}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>sliver|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto={3}:moveto(myBattlefield) target(sliver|battlefield) text={3}: Search your library for a Sliver card, reveal that card, and put it into your hand. Then shuffle. -- {3}: Gain control of target Sliver. (This effect lasts indefinitely.) mana={W}{U}{B}{R}{G} @@ -108234,7 +108219,7 @@ toughness=2 name=Slow Motion target=creature auto=teach(creature) transforms((,newability[upcost[{2}] sacrifice])) -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Enchant creature -- At the beginning of the upkeep of enchanted creature's controller, that player sacrifices that creature unless they pay {2}. -- When Slow Motion is put into a graveyard from the battlefield, return Slow Motion to its owner's hand. mana={2}{U} type=Enchantment @@ -108266,7 +108251,7 @@ toughness=3 [card] name=Sluggishness target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=cantblock text=Enchant creature -- Enchanted creature can't block. -- When Sluggishness is put into a graveyard from the battlefield, return Sluggishness to its owner's hand. mana={1}{R} @@ -108605,7 +108590,7 @@ type=Instant [card] name=Snap target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=may untap target(land) text=Return target creature to its owner's hand. Untap up to two lands. mana={1}{U} @@ -108615,7 +108600,7 @@ type=Instant name=Snapback target=creature other={E(other *[blue]|myhand)} name(Exile a Blue Card from Hand) -auto=moveTo(ownerhand) +auto=moveTo(hand) text=You may exile a blue card from your hand rather than pay Snapback's mana cost. -- Return target creature to its owner's hand. mana={1}{U} type=Instant @@ -108778,7 +108763,7 @@ toughness=4 [/card] [card] name=Snow Hound -auto={1}{T}:moveto(ownerHand) all(this) && moveto(ownerHand) target(creature[green;blue]|myBattlefield) +auto={1}{T}:moveto(hand) all(this) && moveto(hand) target(creature[green;blue]|myBattlefield) text={1}, {T}: Return Snow Hound and target green or blue creature you control to their owner's hand. mana={2}{W} type=Creature @@ -109477,7 +109462,7 @@ toughness=1 [card] name=Soratami Mirror-Mage abilities=flying -auto={3}{H(land|myBattlefield)}{H(land|myBattlefield)}{H(land|myBattlefield)}:moveto(ownerhand) target(creature) +auto={3}{H(land|myBattlefield)}{H(land|myBattlefield)}{H(land|myBattlefield)}:moveto(hand) target(creature) text=Flying -- {3}, Return three lands you control to their owner's hand: Return target creature to its owner's hand. mana={3}{U} type=Creature @@ -109539,7 +109524,7 @@ toughness=1 name=Sorcerous Sight target=opponent aicode=name(look) activate name(look) target(*|targetedpersonshand) donothing -auto=name(look) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=name(look) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend auto=draw:1 controller text=Look at target opponent's hand. -- Draw a card. mana={U} @@ -109566,7 +109551,7 @@ type=Sorcery [card] name=Sosuke's Summons auto=token(Snake,Snake Creature,1/1,green)*2 -autograveyard=@movedto(mybattlefield) from(snake[-token]):may moveto(ownerHand) all(this) +autograveyard=@movedto(mybattlefield) from(snake[-token]):may moveto(hand) all(this) text=Put two 1/1 green Snake creature tokens onto the battlefield. -- Whenever a nontoken Snake enters under your control, you may return Sosuke's Summons from your graveyard to your hand. mana={2}{G} type=Sorcery @@ -109748,7 +109733,7 @@ type=Instant [card] name=Soul Stair Expedition auto=_LANDFALL_may counter(0/0,1,Quest) -auto={C(0/0,-3,Quest)}{S}:target(other creature|mygraveyard) moveto(ownerHand) +auto={C(0/0,-3,Quest)}{S}:target(other creature|mygraveyard) moveto(hand) text=Landfall - Whenever a land enters under your control, you may put a quest counter on Soul Stair Expedition. -- Remove three quest counters from Soul Stair Expedition and sacrifice it: Return up to two target creature cards from your graveyard to your hand. mana={B} type=Enchantment @@ -109808,8 +109793,8 @@ toughness=1 [card] name=Soul of Innistrad abilities=deathtouch -auto={3}{B}{B}:target(creature|myGraveyard) moveto(ownerHand) -autograveyard={3}{B}{B}{E}:target(other creature|myGraveyard) moveto(ownerHand) +auto={3}{B}{B}:target(creature|myGraveyard) moveto(hand) +autograveyard={3}{B}{B}{E}:target(other creature|myGraveyard) moveto(hand) text=Deathtouch -- {3}{B}{B}: Return up to three target creature cards from your graveyard to your hand. -- {3}{B}{B}{E}: Exile Soul of Innistrad from your graveyard: Return up to three target creature cards from your graveyard to your hand. mana={4}{B}{B} type=Creature @@ -110028,8 +110013,8 @@ toughness=1 [/card] [card] name=Soulquake -auto=moveto(ownerhand) all(creature|battlefield) -auto=moveto(ownerhand) all(creature|graveyard) +auto=moveto(hand) all(creature|battlefield) +auto=moveto(hand) all(creature|graveyard) text=Return all creatures on the battlefield and all creature cards in graveyards to their owners' hands. mana={3}{U}{U}{B}{B} type=Sorcery @@ -110204,7 +110189,7 @@ toughness=1 [/card] [card] name=Sparkcaster -auto=moveTo(ownerhand) notatarget(creature[red;green]|myBattlefield) +auto=moveTo(hand) notatarget(creature[red;green]|myBattlefield) auto=damage:1 opponent text=When Sparkcaster enters, return a red or green creature you control to its owner's hand. -- When Sparkcaster enters, it deals 1 damage to target player. mana={2}{R}{G} @@ -110339,7 +110324,7 @@ subtype=Aura [/card] [card] name=Spawning Pit -auto=aslongas(creature|mybattlefield) {S(creature|myBattlefield)}:counter(0/0,1,Charge) restriction{compare(ishuman)~morethan~0} +auto=aslongas(creature|mybattlefield) {S(creature|myBattlefield)} restriction{compare(ishuman)~morethan~0}:counter(0/0,1,Charge) auto={1}{C(0/0,-2,Charge)}:token(Spawn,artifact creature spawn,2/2) text=Sacrifice a creature: Put a charge counter on Spawning Pit. -- {1}, Remove two charge counters from Spawning Pit: Put a 2/2 colorless Spawn artifact creature token onto the battlefield. mana={2} @@ -110413,7 +110398,7 @@ toughness=2 [/card] [card] name=Species Gorger -auto=@each my upkeep:moveTo(ownerhand) notatarget(creature|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(creature|myBattlefield) text=At the beginning of your upkeep, return a creature you control to its owner's hand. mana={3}{G}{U} type=Creature @@ -110570,7 +110555,7 @@ type=Artifact [card] name=Spectral Shepherd abilities=flying -auto={1}{U}:moveto(ownerHand) target(spirit|mybattlefield) +auto={1}{U}:moveto(hand) target(spirit|mybattlefield) text=Flying -- {1}{U}: Return target Spirit you control to its owner's hand. mana={2}{W} type=Creature @@ -110804,8 +110789,8 @@ toughness=6 [card] name=Sphinx Summoner abilities=flying -aicode=activate target(creature[artifact]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[artifact]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[artifact]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[artifact]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Flying -- When Sphinx Summoner enters, you may search your library for an artifact creature card, reveal it, and put it into your hand. If you do, shuffle your library. mana={3}{U}{B} type=Artifact Creature @@ -111245,7 +111230,7 @@ toughness=1 [card] name=Spine of Ish Sah auto=destroy target(*) -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=When Spine of Ish Sah enters, destroy target permanent. -- When Spine of Ish Sah is put into a graveyard from the battlefield, return Spine of Ish Sah to its owner's hand. mana={7} type=Artifact @@ -111514,7 +111499,7 @@ subtype=Aura [card] name=Spirit Loop target=creature|myBattlefield -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=teach(creature) spiritlink text=Enchant creature you control -- Whenever enchanted creature deals damage, you gain that much life. -- When Spirit Loop is put into a graveyard from the battlefield, return Spirit Loop to its owner's hand. mana={1}{W} @@ -111928,7 +111913,7 @@ toughness=1 name=Splitting Headache target=player auto=choice name(discard 2 cards) ability$!name(discard 2 cards) notatarget(<2>*|myhand) reject!$ targetedplayer -auto=choice name(chosen discard) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(*[-land]|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=choice name(chosen discard) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(*[-land]|reveal) moveto(hand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Choose one - Target player discards two cards; or target player reveals their hand, you choose a card from it, then that player discards that card. mana={3}{B} type=Sorcery @@ -112101,7 +112086,7 @@ type=Sorcery name=Spreading Algae target=land[swamp] auto=@tapped(mytgt):destroy -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Enchant Swamp -- When enchanted land becomes tapped, destroy it. -- When Spreading Algae is put into a graveyard from the battlefield, return Spreading Algae to its owner's hand. mana={G} type=Enchantment @@ -112177,7 +112162,7 @@ type=Instant name=Sprinting Warbrute abilities=mustattack other={3}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Sprinting Warbrute attacks each combat if able. -- Dash {3}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={4}{R} type=Creature @@ -112228,8 +112213,8 @@ toughness=3 [card] name=Sprouting Vines abilities=storm -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a basic land card, reveal that card, and put it into your hand. Then shuffle. -- Storm (When you cast this spell, copy it for each spell cast before it this turn.) mana={2}{G} type=Instant @@ -112267,8 +112252,8 @@ toughness=2 [card] name=Squadron Hawk abilities=flying -aicode=activate target(squadron hawk|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(squadron hawk|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(squadron hawk|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(squadron hawk|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Flying -- When Squardon Hawk enters, you may search your library for up to three cards named Squadron Hawk, reveal them, put them into your hand, then shuffle. mana={1}{W} type=Creature @@ -112317,7 +112302,7 @@ toughness=2 name=Squee's Embrace target=creature auto=2/2 -auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerhand) +auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(hand) text=Enchant creature -- Enchanted creature gets +2/+2. -- When enchanted creature is put into a graveyard, return that card to its owner's hand. mana={R}{W} type=Enchantment @@ -112332,7 +112317,7 @@ type=Artifact [/card] [card] name=Squee, Goblin Nabob -autograveyard={0}:moveto(ownerHand) myUpkeepOnly +autograveyard={0}:moveto(hand) myUpkeepOnly text=At the beginning of your upkeep, you may return Squee, Goblin Nabob from your graveyard to your hand. mana={2}{R} type=Legendary Creature @@ -112625,7 +112610,7 @@ toughness=5 [card] name=Stalking Yeti auto=target(creature|opponentbattlefield) dynamicability -auto={2}{i}:moveTo(ownerhand) asSorcery +auto={2}{i}:moveTo(hand) asSorcery text=When Stalking Yeti enters, if it's on the battlefield, it deals damage equal to its power to target creature an opponent controls and that creature deals damage equal to its power to Stalking Yeti. -- {2}{S}i}: Return Stalking Yeti to its owner's hand. Activate this ability only any time you could cast a sorcery. ({S}i} can be paid with one mana from a snow permanent.) mana={2}{R}{R} type=Snow Creature @@ -112716,7 +112701,7 @@ toughness=4 [card] name=Stampeding Serow abilities=trample -auto=@each my upkeep:moveTo(ownerhand) notatarget(creature[green]|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(creature[green]|myBattlefield) text=Trample -- At the beginning of your upkeep, return a green creature you control to its owner's hand. mana={2}{G}{G} type=Creature @@ -112727,7 +112712,7 @@ toughness=4 [card] name=Stampeding Wildebeests abilities=trample -auto=@each my upkeep:moveto(ownerHand) notatarget(creature[green]|myBattlefield) +auto=@each my upkeep:moveto(hand) notatarget(creature[green]|myBattlefield) text=Trample (If this creature would deal enough damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker.) -- At the beginning of your upkeep, return a green creature you control to its owner's hand. mana={2}{G}{G} type=Creature @@ -113161,7 +113146,7 @@ toughness=4 [card] name=Steel Leaf Paladin abilities=first strike -auto=moveTo(ownerhand) notatarget(creature[green;white]|myBattlefield) +auto=moveTo(hand) notatarget(creature[green;white]|myBattlefield) text=First strike -- When Steel Leaf Paladin enters, return a green or white creature you control to its owner's hand. mana={4}{G}{W} type=Creature @@ -113182,7 +113167,7 @@ toughness=1 [card] name=Steel Sabotage auto=choice fizzle target(artifact|stack) -auto=choice moveTo(ownerhand) target(artifact) +auto=choice moveTo(hand) target(artifact) text=Choose one - counter target artifact spell; or return target artifact to its owner's hand. mana={U} type=Instant @@ -113240,8 +113225,8 @@ type=Instant [/card] [card] name=Steelshaper Apprentice -aicode=activate target(equipment|mylibrary) moveto(ownerHand) -auto={H}{W}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>equipment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(equipment|mylibrary) moveto(hand) +auto={H}{W}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>equipment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={W}, {T}, Return Steelshaper Apprentice to its owner's hand: Search your library for an Equipment card, reveal that card, and put it into your hand. Then shuffle. mana={2}{W}{W} type=Creature @@ -113251,8 +113236,8 @@ toughness=3 [/card] [card] name=Steelshaper's Gift -aicode=activate target(equipment|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>equipment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(equipment|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>equipment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for an Equipment card, reveal that card, and put it into your hand. Then shuffle. mana={W} type=Sorcery @@ -113400,7 +113385,7 @@ toughness=2 [/card] [card] name=Stern Proctor -auto=moveTo(ownerhand) target(enchantment,artifact) +auto=moveTo(hand) target(enchantment,artifact) text=When Stern Proctor enters, return target artifact or enchantment to its owner's hand. mana={U}{U} type=Creature @@ -113474,7 +113459,7 @@ toughness=0 [/card] [card] name=Stingscourger -auto=moveTo(ownerhand) target(creature|opponentbattlefield) +auto=moveTo(hand) target(creature|opponentbattlefield) auto=upcost[{3}{R};next upkeep] sacrifice text=Echo {3}{R} (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.) -- When Stingscourger enters, return target creature an opponent controls to its owner's hand. mana={1}{R} @@ -113546,7 +113531,7 @@ type=Land name=Stitch Together target=creature|mygraveyard auto=aslongas(*|mygraveyard) moveTo(mybattlefield) >6 -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target creature card from your graveyard to your hand. -- Threshold - Return that card from your graveyard to the battlefield instead if seven or more cards are in your graveyard. mana={B}{B} type=Sorcery @@ -113602,7 +113587,7 @@ toughness=1 [/card] [card] name=Stoic Builder -auto=may moveto(ownerHand) target(land|mygraveyard) +auto=may moveto(hand) target(land|mygraveyard) text=When Stoic Builder enters, you may return target land card from your graveyard to your hand. mana={2}{G} type=Creature @@ -113829,7 +113814,7 @@ toughness=4 [card] name=Stonecloaker abilities=flash,flying -auto=moveto(ownerHand) notatarget(creature|mybattlefield) and!(moveto(exile) target(*|graveyard))! +auto=moveto(hand) notatarget(creature|mybattlefield) and!(moveto(exile) target(*|graveyard))! text=Flash (You may cast this spell any time you could cast an instant.) -- Flying -- When Stonecloaker enters, return a creature you control to its owner's hand. -- When Stonecloaker enters, exile target card from a graveyard. mana={2}{W} type=Creature @@ -113849,8 +113834,8 @@ toughness=2 [/card] [card] name=Stoneforge Acolyte -aicode=activate target(equipment[zpos<=4]|mylibrary) moveto(ownerHand) -auto={t}{T(ally|myBattlefield)}:name(look) reveal:4 optionone name(Get Equipment) target(equipment|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(equipment[zpos<=4]|mylibrary) moveto(hand) +auto={t}{T(ally|myBattlefield)}:name(look) reveal:4 optionone name(Get Equipment) target(equipment|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Cohort -- {T}, Tap an untapped Ally you control: Look at the top four cards of your library. You may reveal an Equipment card from among them and put it into your hand. Put the rest on the bottom of your library in any order. mana={W} type=Creature @@ -113869,8 +113854,8 @@ subtype=Equipment [/card] [card] name=Stoneforge Mystic -aicode=activate target(equipment|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>equipment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(equipment|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>equipment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto={1}{W}{T}:moveTo(myBattlefield) target(equipment|myhand) text=When Stoneforge Mystic enters, you may search your library for an Equipment card, reveal it, put it into your hand, then shuffle. -- {1}{W}, {T}: You may put an Equipment card from your hand onto the battlefield. mana={1}{W} @@ -114056,7 +114041,7 @@ toughness=2 name=Storm Cauldron auto=maxplay(land)+1 opponent auto=maxplay(land)+1 -auto=@tappedformana(land):all(trigger[to]) moveTo(ownerhand) +auto=@tappedformana(land):all(trigger[to]) moveTo(hand) text=Each player may play an additional land during each of their turns. -- Whenever a land is tapped for mana, return it to its owner's hand. mana={5} type=Artifact @@ -114253,7 +114238,7 @@ toughness=1 [card] name=Stormfront Riders abilities=flying -auto=moveTo(ownerhand) target(<2>creature|myBattlefield) +auto=moveTo(hand) target(<2>creature|myBattlefield) auto=@movedTo(creature|myhand) from(mybattlefield):_SOLDIERTOKEN_ text=Flying -- When Stormfront Riders enters, return two creatures you control to their owner's hand. -- Whenever Stormfront Riders or another creature is returned to your hand from the battlefield, put a 1/1 white Soldier creature token onto the battlefield. mana={4}{W} @@ -114335,7 +114320,7 @@ toughness=8 [card] name=Stormwatch Eagle abilities=flying -auto={S(land|myBattlefield)}:moveTo(ownerhand) +auto={S(land|myBattlefield)}:moveTo(hand) text=Flying -- Sacrifice a land: Return Stormwatch Eagle to its owner's hand. mana={3}{U} type=Creature @@ -114425,8 +114410,8 @@ type=Instant [card] name=Strategic Planning abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) and!(deplete:2)!])) ueot -auto=name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(hand) and!(deplete:2)!])) ueot +auto=name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. mana={1}{U} type=Sorcery @@ -114798,7 +114783,7 @@ toughness=3 [/card] [card] name=Strongarm Thug -auto=may moveto(ownerHand) target(mercenary|mygraveyard) +auto=may moveto(hand) target(mercenary|mygraveyard) text=When Strongarm Thug enters, you may return target Mercenary card from your graveyard to your hand. mana={2}{B} type=Creature @@ -115195,7 +115180,7 @@ type=Instant [card] name=Sudden Reclamation auto=deplete:4 controller -auto=transforms((,newability[ability$!notatarget(creature|mygraveyard) moveto(ownerhand)!$ controller],newability[ability$!notatarget(land|mygraveyard) moveto(ownerhand)!$ controller])) oneshot +auto=transforms((,newability[ability$!notatarget(creature|mygraveyard) moveto(hand)!$ controller],newability[ability$!notatarget(land|mygraveyard) moveto(hand)!$ controller])) oneshot text=Put the top four cards of your library into your graveyard, then return a creature card and a land card from your graveyard to your hand. mana={3}{G} type=Instant @@ -115394,8 +115379,8 @@ toughness=1 [card] name=Sultai Soothsayer abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) and!(deplete:3)!])) ueot -auto=name(look) reveal:4 optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(hand) and!(deplete:3)!])) ueot +auto=name(look) reveal:4 optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=When Sultai Soothsayer enters, look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard. mana={2}{B}{G}{U} type=Creature @@ -115431,7 +115416,7 @@ toughness=3 [card] name=Summon the School auto=token(Merfolk Wizard,Creature Merfolk Wizard,1/1,blue)*2 -autograveyard={T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}:moveto(ownerHand) +autograveyard={T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}:moveto(hand) text=Put two 1/1 blue Merfolk Wizard creature tokens onto the battlefield. -- Tap four untapped Merfolk you control: Return Summon the School from your graveyard to your hand. mana={3}{W} type=Tribal Sorcery @@ -115448,8 +115433,8 @@ type=Instant [/card] [card] name=Summoner's Pact -aicode=activate target(creature[green]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[green]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[green]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[green]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend auto=if casted(this) then transforms((,newability[upcost[{2}{G}{G};next upkeep] wingame opponent])) forever color=green text=Summoner's Pact is green. -- Search your library for a green creature card, reveal it, and put it into your hand. Then shuffle. -- At the beginning of your next upkeep, pay {2}{G}{G}. If you don't, you lose the game. @@ -115467,7 +115452,7 @@ type=Artifact [card] name=Sun Ce, Young Conquerer abilities=horsemanship -auto=may moveto(ownerhand) target(creature|battlefield) +auto=may moveto(hand) target(creature|battlefield) text=Horsemanship (This creature can't be blocked except by creatures with horsemanship.) -- When Sun Ce, Young Conquerer enters, you may return target creature to its owner's hand. mana={3}{U}{U} type=Legendary Creature @@ -115479,7 +115464,7 @@ toughness=3 name=Sun Clasp target=creature auto=1/3 -auto={W}:teach(creature) moveTo(ownerhand) +auto={W}:teach(creature) moveTo(hand) text=Enchant creature -- Enchanted creature gets +1/+3. -- {W}: Return enchanted creature to its owner's hand. mana={1}{W} type=Enchantment @@ -115510,7 +115495,7 @@ toughness=6 [card] name=Sun's Bounty auto=life:4 -autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({1}{W}) name(recover) moveto(ownerhand)?name(exile) moveto(exile) +autograveyard=@movedto(creature|mygraveyard) from(battlefield):pay({1}{W}) name(recover) moveto(hand)?name(exile) moveto(exile) text=You gain 4 life. -- Recover {1}{W} (When a creature is put into your graveyard from the battlefield, you may pay {1}{W}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) mana={1}{W} type=Instant @@ -115576,7 +115561,7 @@ name=Suncrusher abilities=sunburst auto=counter(1/1,sunburst) auto={C(1/1,-1)}{4}{T}:destroy target(creature) -auto={C(1/1,-1)}{2}:moveTo(ownerhand) +auto={C(1/1,-1)}{2}:moveTo(hand) text=Sunburst (This enters with a +1/+1 counter on it for each color of mana spent to cast it.) -- Remove two +1/+1 counters from Sawtooth Thresher: Sawtooth Thresher gets +4/+4 until end of turn. mana={9} type=Artifact Creature @@ -115586,7 +115571,7 @@ toughness=3 [/card] [card] name=Sunder -auto=moveTo(ownerhand) all(land) +auto=moveTo(hand) all(land) text=Return all lands to their owners' hands. mana={3}{U}{U} type=Instant @@ -115732,8 +115717,8 @@ subtype=Island Swamp [/card] [card] name=Sunken Hope -auto=@each opponent upkeep:ability$!name(bounce creature) notatarget(creature|mybattlefield) moveTo(ownerhand)!$ opponent -auto=@each my upkeep:notatarget(creature|mybattlefield) moveTo(ownerhand) +auto=@each opponent upkeep:ability$!name(bounce creature) notatarget(creature|mybattlefield) moveTo(hand)!$ opponent +auto=@each my upkeep:notatarget(creature|mybattlefield) moveTo(hand) text=At the beginning of each player's upkeep, that player returns a creature they control to its owner's hand. mana={3}{U}{U} type=Enchantment @@ -115800,7 +115785,7 @@ toughness=3 [card] name=Sunscape Master auto={G}{G}{T}:all(creature|myBattlefield) 2/2 -auto={U}{U}{T}:moveTo(ownerhand) target(creature) +auto={U}{U}{T}:moveTo(hand) target(creature) text={G}{G}, {T}: Creatures you control get +2/+2 until end of turn. -- {U}{U}, {T}: Return target creature to its owner's hand. mana={2}{W}{W} type=Creature @@ -115931,7 +115916,7 @@ toughness=6 [card] name=Supplant Form target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=clone text=Return target creature to its owner's hand. You create a token that's a copy of that creature. mana={4}{U}{U} @@ -116077,7 +116062,7 @@ type=Instant [/card] [card] name=Surgespanner -auto=@tapped(this):pay({1}{U}) moveto(ownerhand) target(*) +auto=@tapped(this):pay({1}{U}) moveto(hand) target(*) text=Whenever Surgespanner becomes tapped, you may pay {1}{U}. If you do, return target permanent to its owner's hand. mana={2}{U}{U} type=Creature @@ -116100,7 +116085,7 @@ type=Instant [card] name=Surging Aether target=*|battlefield -auto=moveto(ownerhand) +auto=moveto(hand) aicode=activate target(Surging Aether[zpos<=4]|mylibrary) castcard(normal) autostack=if casted(this) then reveal:4 optionone name(Cast Card) target(Surging Aether|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!( activate castcard(normal) )! afterrevealedend revealend text=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.) -- Return target permanent to its owner's hand. @@ -116154,7 +116139,7 @@ toughness=1 name=Surprise Deployment target=creature[-white]|myhand auto=moveTo(mybattlefield) -auto=transforms((,newability[phaseaction[end once] moveTo(ownerhand)])) +auto=transforms((,newability[phaseaction[end once] moveTo(hand)])) restriction=during battle text=Cast Surprise Deployment only during combat. -- You may put a nonwhite creature card from your hand onto the battlefield. At the beginning of the next end step, return that creature to your hand. (Return it only if it's on the battlefield.) mana={3}{W} @@ -116172,7 +116157,7 @@ toughness=4 [/card] [card] name=Surrakar Banisher -auto=may moveTo(ownerhand) target(creature[tapped]) +auto=may moveTo(hand) target(creature[tapped]) text=When Surrakar Banisher enters, you may return target tapped creature to its owner's hand. mana={4}{U} type=Creature @@ -116239,8 +116224,8 @@ type=Sorcery [/card] [card] name=Survival of the Fittest -aicode=activate target(creature|mylibrary) moveto(ownerHand) -auto={G}{D(creature|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature|mylibrary) moveto(hand) +auto={G}{D(creature|myhand)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle. mana={1}{G} type=Enchantment @@ -116486,7 +116471,7 @@ toughness=3 [card] name=Sweep Away target=creature|battlefield -auto=if cantargetcard(creature[attacking]) then moveto(ownerlibrary) else moveto(ownerhand) +auto=if cantargetcard(creature[attacking]) then moveto(ownerlibrary) else moveto(hand) text=Return target creature to its owner's hand. If that creature is attacking, you may put it on top of its owner's library instead. mana={2}{U} type=Instant @@ -116577,7 +116562,7 @@ toughness=3 [card] name=Swift Warkite abilities=flying -auto=moveTo(myBattlefield) target(creature[manacost<=3]|myhand,mygraveyard) and!( transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever)! +auto=moveTo(myBattlefield) target(creature[manacost<=3]|myhand,mygraveyard) and!( transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever)! text=Flying -- When Swift Warkite enters, you may put a creature card with mana value 3 or less from your hand or graveyard onto the battlefield. That creature gains haste. Return it to your hand at the beginning of the next end step. mana={4}{B}{R} type=Creature @@ -116728,7 +116713,7 @@ auto=teach(creature) protection from white auto=teach(creature) protection from black auto=teach(creature) 2/2 auto=@combatdamaged(player) from(mytgt):life:3 -auto=@combatdamaged(player) from(mytgt):may moveto(ownerHand) target(creature|mygraveyard) +auto=@combatdamaged(player) from(mytgt):may moveto(hand) target(creature|mygraveyard) text=Equipped creature gets +2/+2 and has protection from white and from black. -- Whenever equipped creature deals combat damage to a player, you gain 3 life and you may return up to one target creature card from your graveyard to your hand. -- Equip {2} mana={3} type=Artifact @@ -116878,8 +116863,8 @@ toughness=4 name=Sylvan Bounty target=player auto=life:8 -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{G}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{G}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Target player gains 8 life. -- Basic landcycling {1}{G} ({1}{G}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={5}{G} type=Instant @@ -116901,7 +116886,7 @@ toughness=3 [/card] [card] name=Sylvan Hierophant -auto=_DIES_moveto(ownerHand) target(other creature|myGraveyard) +auto=_DIES_moveto(hand) target(other creature|myGraveyard) autograveyard=_DIES_moveto(exile) text=When Sylvan Hierophant dies, exile Sylvan Hierophant, then return another target creature card from your graveyard to your hand. mana={1}{G} @@ -116913,7 +116898,7 @@ toughness=2 [card] name=Sylvan Messenger abilities=trample -auto=reveal:4 optionone name(Get Elf) target(<4>elf|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:4 optionone name(Get Elf) target(<4>elf|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Trample -- When Sylvan Messenger enters, reveal the top four cards of your library. Put all Elf cards revealed this way into your hand and the rest on the bottom of your library. mana={3}{G} type=Creature @@ -116953,8 +116938,8 @@ toughness=8 [/card] [card] name=Sylvan Ranger -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Sylvan Ranger enters, you may search your library for a basic land card, reveal it, and put it into your hand. If you do, shuffle your library. mana={1}{G} type=Creature @@ -116966,8 +116951,8 @@ toughness=1 name=Sylvan Reclamation target=*[artifact;enchantment] auto=moveto(exile) -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Exile up to two target artifacts and/or enchantments. -- Basic landcycling {2} ({2}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={3}{G}{W} type=Instant @@ -116984,8 +116969,8 @@ toughness=1 [/card] [card] name=Sylvan Scrying -aicode=activate target(land|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a land card, reveal it, and put it into your hand. Then shuffle. mana={1}{G} type=Sorcery @@ -117077,7 +117062,7 @@ toughness=7 [card] name=Symbol of Unsummoning target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=draw:1 controller text=Return target creature to its owner's hand. -- Draw a card. mana={2}{U} @@ -117484,7 +117469,7 @@ toughness=3 name=Talara's Bane target=opponent aicode=activate dynamicability reject notatarget(creature[green;white]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(creature[green;white]|reveal) moveto(ownerhand) and!( dynamicability reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(creature[green;white]|reveal) moveto(hand) and!( dynamicability reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target opponent reveals their hand. You choose a green or white creature card from it. You gain life equal that creature card's toughness, then that player discards that card. mana={1}{B} type=Sorcery @@ -117514,7 +117499,7 @@ toughness=2 name=Talas Explorer abilities=flying aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend text=Flying -- When Talas Explorer enters, look at target opponent's hand. mana={1}{U} type=Creature @@ -117607,8 +117592,8 @@ type=Artifact [/card] [card] name=Tallowisp -aicode=activate target(aura|mylibrary) moveto(ownerHand) -auto=@movedto(spirit,arcane|mystack):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(aura|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(aura|mylibrary) moveto(hand) +auto=@movedto(spirit,arcane|mystack):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(aura|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Whenever you cast a Spirit or Arcane spell, you may search your library for an Aura card with enchant creature, reveal it, and put it into your hand. If you do, shuffle your library. mana={1}{W} type=Creature @@ -117747,8 +117732,8 @@ toughness=4 name=Tamiyo's Journal abilities=hiddenface auto=@each my upkeep:name(Create clue) _CLUE_ -aicode=activate target(*|mylibrary) moveto(ownerHand) -auto={T}{S(clue|mybattlefield)}{S(clue|mybattlefield)}{S(clue|mybattlefield)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*|mylibrary) moveto(hand) +auto={T}{S(clue|mybattlefield)}{S(clue|mybattlefield)}{S(clue|mybattlefield)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=At the beginning of your upkeep, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") -- {T}, Sacrifice three Clues: Search your library for a card and put that card into your hand. Then shuffle. mana={5} type=Legendary Artifact @@ -118023,7 +118008,7 @@ type=Sorcery [card] name=Tasigur, the Golden Fang other={delve} name(Delve) -auto={2}{GU}{GU}:deplete:2 controller && ability$! moveto(ownerhand) notatarget(*[-land]|opponentgraveyard) !$ opponent +auto={2}{GU}{GU}:deplete:2 controller && ability$! moveto(hand) notatarget(*[-land]|opponentgraveyard) !$ opponent text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- {2}{GU}{GU}: Put the top two cards of your library into your graveyard, then return a nonland card of an opponent's choice from your graveyard to your hand. mana={5}{B} type=Legendary Creature @@ -118545,7 +118530,7 @@ type=Sorcery [card] name=Telepathic Spies aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend text=When Telepathic Spies enters, look at target opponent's hand. mana={2}{U} type=Creature @@ -118626,8 +118611,8 @@ toughness=3 [/card] [card] name=Telling Time -aicode=activate transforms((,newability[moveto(ownerHand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot -auto=choice name(look) reveal:3 optionone name(Put in my hand) target(*|reveal) moveto(ownerHand) optiononeend optiontwo choice name(Choose one for Bottom) target(*|reveal) bottomoflibrary && all(*|reveal) moveto(mylibrary) optiontwoend +aicode=activate transforms((,newability[moveto(hand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot +auto=choice name(look) reveal:3 optionone name(Put in my hand) target(*|reveal) moveto(hand) optiononeend optiontwo choice name(Choose one for Bottom) target(*|reveal) bottomoflibrary && all(*|reveal) moveto(mylibrary) optiontwoend text=Look at the top three cards of your library. Put one of those cards into your hand, one on top of your library, and one on the bottom of your library. mana={1}{U} type=Instant @@ -118810,7 +118795,7 @@ type=Land [/card] [card] name=Temporal Adept -auto={U}{U}{U}{T}:moveTo(ownerhand) target(*) +auto={U}{U}{U}{T}:moveTo(hand) target(*) text={U}{U}{U}, {T}: Return target permanent to its owner's hand. mana={1}{U}{U} type=Creature @@ -118857,7 +118842,7 @@ type=Sorcery [card] name=Temporal Fissure abilities=storm -auto=moveto(ownerHand) target(*) +auto=moveto(hand) target(*) text=Return target permanent to its owner's hand. -- Storm (When you cast this spell, copy it for each spell cast before it this turn. You may choose new targets for the copies.) mana={4}{U} type=Sorcery @@ -119484,7 +119469,7 @@ toughness=3 name=Tezzeret's Touch target=artifact auto=teach(artifact) becomes(Creature,5/5) -auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerhand) +auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(hand) text=Enchant artifact -- Enchanted artifact is a creature with base power and toughness 5/5 in addition to its other types. -- When enchanted artifact is put into a graveyard, return that card to its owner's hand. mana={1}{U}{B} type=Enchantment @@ -119557,7 +119542,7 @@ toughness=1 [card] name=Thalakos Scout abilities=shadow -auto={D(*|myhand)}:moveto(ownerHand) +auto={D(*|myhand)}:moveto(hand) text=Shadow (This creature can block or be blocked by only creatures with shadow.) -- Discard a card: Return Thalakos Scout to its owner's hand. mana={2}{U} type=Creature @@ -119589,8 +119574,8 @@ toughness=2 [card] name=Thalia's Lancers abilities=first strike -aicode=activate target(*[legendary]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[legendary]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[legendary]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[legendary]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=First strike -- When Thalia's Lancers enters, you may search your library for a legendary card, reveal it, put it into your hand, then shuffle. mana={3}{W}{W} type=Creature @@ -119774,8 +119759,8 @@ toughness=2 [card] name=Thawing Glaciers auto=tap(noevent) -aicode=activate moveTo(mybattlefield) and!( tap(noevent) && phaseaction[cleanup,sourceinplay] moveto(ownerHand) all(this) )! target(land[basic]|mylibrary) -auto={1}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot && phaseaction[cleanup,sourceinplay] moveto(ownerHand) all(this))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend +aicode=activate moveTo(mybattlefield) and!( tap(noevent) && phaseaction[cleanup,sourceinplay] moveto(hand) all(this) )! target(land[basic]|mylibrary) +auto={1}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot && phaseaction[cleanup,sourceinplay] moveto(hand) all(this))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend text=Thawing Glaciers enters tapped. -- {1}, {T}: Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle. Return Thawing Glaciers to its owner's hand at the beginning of the next cleanup step. type=Land [/card] @@ -119853,7 +119838,7 @@ type=Legendary Land [card] name=The Unspeakable abilities=flying,trample -auto=@combatdamaged(player) from(this):may moveto(ownerHand) target(arcane|mygraveyard) +auto=@combatdamaged(player) from(this):may moveto(hand) target(arcane|mygraveyard) text=Flying, trample -- Whenever The Unspeakable deals combat damage to a player, you may return target Arcane card from your graveyard to your hand. mana={6}{U}{U}{U} type=Legendary Creature @@ -120020,7 +120005,7 @@ toughness=4 [card] name=Thief of Hope auto=@movedTo(arcane,spirit|mystack):ability$!choice life:-1 target(opponent) && life:1 controller!$ controller -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=2]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=2]|mygraveyard) text=Whenever you cast a Spirit or Arcane spell, target opponent loses 1 life and you gain 1 life. -- Soulshift 2 (When this dies, you may return target Spirit card with mana value 2 or less from your graveyard to your hand.) mana={2}{B} type=Creature @@ -120033,8 +120018,8 @@ name=Thieves' Fortune other={U} name(Prowl) otherrestriction=prowl abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=4]|mylibrary) moveto(ownerHand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=3]|mylibrary) moveto(ownerHand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=2]|mylibrary) moveto(ownerHand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot -auto=reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=4]|mylibrary) moveto(hand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=3]|mylibrary) moveto(hand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=2]|mylibrary) moveto(hand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=1]|mylibrary) moveto(hand) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot +auto=reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Prowl {U} (You may cast this for its prowl cost if you dealt combat damage to a player this turn with a Rogue.) -- Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={2}{U} type=Tribal Instant @@ -120055,7 +120040,7 @@ toughness=3 name=Thieving Sprite abilities=flying aicode=activate reject notatarget(*|targetedpersonshand) -auto=target(player) Reveal:type:faerie:mybattlefield revealzone(targetedpersonshand) optionone choice name(choose Discards) target(<1>*|reveal) moveto(ownerhand) and!(reject)! optiononeend optiontwo all(*|reveal) moveto(ownerhand) optiontwoend revealend +auto=target(player) Reveal:type:faerie:mybattlefield revealzone(targetedpersonshand) optionone choice name(choose Discards) target(<1>*|reveal) moveto(hand) and!(reject)! optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Flying -- When Thieving Sprite enters, target player reveals X cards from their hand, where X is the number of Faeries you control. You choose one of those cards. That player discards that card. mana={2}{B} type=Creature @@ -120166,7 +120151,7 @@ type=Enchantment [card] name=Thopter Assembly abilities=flying -auto=@each my upkeep restriction{type(other thopter|myBattlefield)~lessthan~1}:moveTo(ownerhand) and!(token(Thopter,Artifact Creature,1/1,flying)*5)! +auto=@each my upkeep restriction{type(other thopter|myBattlefield)~lessthan~1}:moveTo(hand) and!(token(Thopter,Artifact Creature,1/1,flying)*5)! text=Flying -- At the beginning of your upkeep, if you control no Thopters other than Thopter Assembly, return Thopter Assembly to its owner's hand and put five 1/1 colorless Thopter artifact creature tokens with flying onto the battlefield. mana={6} type=Artifact Creature @@ -120523,7 +120508,7 @@ type=Sorcery [/card] [card] name=Thoughtcutter Agent -auto={U}{B}{T}:target(player) life:-1 && all(this) transforms((,newability[reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiononeend revealend])) oneshot +auto={U}{B}{T}:target(player) life:-1 && all(this) transforms((,newability[reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiononeend revealend])) oneshot text={U}{B}, {T}: Target player loses 1 life and reveals their hand. mana={U}{B} type=Artifact Creature @@ -120586,7 +120571,7 @@ type=Sorcery name=Thoughtseize target=player aicode=activate reject notatarget(*[-land]|targetedpersonshand) and!( life:-2 controller )! -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[-land]|reveal) moveto(ownerhand) and!( transforms((,newability[reject],newability[all(*|reveal) moveto(ownerhand)])) oneshot )! optiononeend optiontwo name(look) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed transforms((,newability[life:-2 controller])) oneshot afterrevealedend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[-land]|reveal) moveto(hand) and!( transforms((,newability[reject],newability[all(*|reveal) moveto(hand)])) oneshot )! optiononeend optiontwo name(look) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend afterrevealed transforms((,newability[life:-2 controller])) oneshot afterrevealedend revealend text=Target player reveals their hand. You choose a nonland card from it. That player discards that card. You lose 2 life. mana={B} type=Sorcery @@ -120604,7 +120589,7 @@ name=Thousand Winds abilities=flying facedown={3} autofacedown={5}{U}{U}:morph -autofaceup=moveTo(ownerhand) all(creature[tapped]) +autofaceup=moveTo(hand) all(creature[tapped]) text=Morph {5}{U}{U} (You may cast this card face down as a 2/2 creature for 3. Turn it face up any time for its morph cost.) -- When Thousand Winds is turned face up, return all other tapped creatures to their owner's hands. mana={4}{U}{U} type=Creature @@ -120614,7 +120599,7 @@ toughness=6 [/card] [card] name=Thousand-legged Kami -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=7]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=7]|mygraveyard) text=Soulshift 7 (When this dies, you may return target Spirit card with mana value 7 or less from your graveyard to your hand.) mana={6}{G}{G} type=Creature @@ -121060,7 +121045,7 @@ subtype=Aura [card] name=Thrull Surgeon aicode=activate reject notatarget(*|targetedpersonshand) -auto={1}{B}{S}:target(player) name(target player) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend asSorcery +auto={1}{B}{S}:target(player) name(target player) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend asSorcery text={1}{B}, Sacrifice Thrull Surgeon: Look at target player's hand and choose a card from it. That player discards that card. Activate this ability only any time you could cast a sorcery. mana={1}{B} type=Creature @@ -121422,7 +121407,7 @@ type=Instant [/card] [card] name=Tidal Courier -auto=reveal:4 optionone name(Get Merfolk) target(<4>merfolk|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:4 optionone name(Get Merfolk) target(<4>merfolk|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=When Tidal Courier enters, reveal the top four cards of your library. Put all Merfolk cards revealed this way into your hand and the rest on the bottom of your library. -- {3}{U}: Tidal Courier gains flying until end of turn. auto={3}{u}:flying ueot mana={3}{U} @@ -121533,7 +121518,7 @@ toughness=1 [card] name=Tidehollow Sculler aicode=activate hand(blink)forsrc notatarget(*[-land]|targetedpersonshand) -auto=target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone hand(blink)forsrc notatarget(*[-land]|reveal) 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 hand(blink)forsrc notatarget(*[-land]|reveal) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=When Tidehollow Sculler enters, target opponent reveals their hand and you choose a nonland card from it. Exile that card. -- When Tidehollow Sculler leaves the battlefield, return the exiled card to its owner's hand. mana={W}{B} type=Artifact Creature @@ -121568,7 +121553,7 @@ toughness=1 [card] name=Tidespout Tyrant abilities=flying -auto=@movedTo(*|mystack):moveTo(ownerhand) target(*) +auto=@movedTo(*|mystack):moveTo(hand) target(*) text=Flying -- Whenever you cast a spell, return target permanent to its owner's hand. mana={5}{U}{U}{U} type=Creature @@ -121635,7 +121620,7 @@ subtype=Aura [/card] [card] name=Tilling Treefolk -auto=may target(land|mygraveyard) moveto(ownerHand) +auto=may target(land|mygraveyard) moveto(hand) text=When Tilling Treefolk enters, you may return up to two target land cards from your graveyard to your hand. mana={2}{G} type=Creature @@ -121768,7 +121753,7 @@ type=Sorcery name=Time Elemental auto=_ATTACKING_phaseaction[combatends once] damage:5 controller && phaseaction[combatends,sourceinplay] sacrifice auto=@combat(blocking) source(this):phaseaction[combatends once] damage:5 controller && phaseaction[combatends,sourceinplay] sacrifice -auto={2}{U}{U}{T}:moveTo(ownerhand) target(*[-enchanted]) +auto={2}{U}{U}{T}:moveTo(hand) target(*[-enchanted]) text=When Time Elemental attacks or blocks, at end of combat, sacrifice it and it deals 5 damage to you. -- {2}{U}{U}, {T}: Return target permanent that isn't enchanted to its owner's hand. mana={2}{U} type=Creature @@ -121842,8 +121827,8 @@ type=Enchantment [/card] [card] name=Time of Need -aicode=activate target(creature[legendary]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[legendary]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(creature[legendary]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[legendary]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a legendary creature card, reveal it, and put it into your hand. Then shuffle. mana={1}{G} type=Sorcery @@ -121891,7 +121876,7 @@ type=Sorcery [card] name=Timid Drake abilities=flying -auto=@movedto(other creature|battlefield):moveto(ownerhand) +auto=@movedto(other creature|battlefield):moveto(hand) text=Flying -- When another creature enters, return Timid Drake to its owner's hand. mana={2}{U} type=Creature @@ -122084,9 +122069,9 @@ toughness=3 [/card] [card] name=Tithe -aicode=activate transforms((,newability[if control less lands then moveto(ownerHand) notatarget(plains|mylibrary) else moveto(ownerHand) notatarget(plains|mylibrary)])) ueot -auto=if control less lands then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=ifnot control less lands then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate transforms((,newability[if control less lands then moveto(hand) notatarget(plains|mylibrary) else moveto(hand) notatarget(plains|mylibrary)])) ueot +auto=if control less lands then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=ifnot control less lands then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a Plains card. If you control fewer lands than an opponent, you may search your library for an additional Plains card. Reveal those cards and put them into your hand. Then shuffle. mana={W} type=Instant @@ -122169,8 +122154,8 @@ type=Sorcery name=Tolaria West auto=tap(noevent) auto={T}:Add{U} -aicode=activate target(*[manacost=0]|mylibrary) moveto(ownerHand) -autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=0]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +aicode=activate target(*[manacost=0]|mylibrary) moveto(hand) +autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=0]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery text=Tolaria West enters tapped. -- {T}: Add {U}. -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with mana value 0, reveal it, and put it into your hand. Then shuffle. Transmute only as a sorcery.) type=Land [/card] @@ -122215,7 +122200,7 @@ toughness=1 [card] name=Tolarian Sentinel abilities=flying -auto={U}{T}{D(*|myhand)}:moveTo(ownerhand) target(*|myBattlefield) +auto={U}{T}{D(*|myhand)}:moveTo(hand) target(*|myBattlefield) text=Flying -- {U}, {T}, Discard a card: Return target permanent you control to its owner's hand. mana={3}{U} type=Creature @@ -122307,8 +122292,8 @@ type=Sorcery [/card] [card] name=Tomorrow, Azami's Familiar -aicode=activate transforms((,newability[choice all(*[zpos=3]|mylibrary) moveto(ownerHand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=2]|mylibrary) moveto(ownerHand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot -auto=replacedraw reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=3]|mylibrary) moveto(hand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=2]|mylibrary) moveto(hand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=1]|mylibrary) moveto(hand) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot +auto=replacedraw reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend text=If you would draw a card, look at the top three cards of your library instead. Put one of those cards into your hand and the rest on the bottom of your library in any order. mana={5}{U} type=Legendary Creature @@ -122369,8 +122354,8 @@ type=Enchantment [card] name=Tooth and Nail other={7}{G}{G} name(Entwine) -auto=if paid(alternative) then moveto(ownerhand) notatarget(creature|mylibrary) and!( moveto(ownerbattlefield) notatarget(creature|myhand) )! -auto=ifnot paid(alternative) then transforms((,newability[choice name(fetch) notatarget(creature|mylibrary) moveto(ownerhand)],newability[choice name(put in play) notatarget(creature|myhand) moveto(ownerbattlefield)])) +auto=if paid(alternative) then moveto(hand) notatarget(creature|mylibrary) and!( moveto(ownerbattlefield) notatarget(creature|myhand) )! +auto=ifnot paid(alternative) then transforms((,newability[choice name(fetch) notatarget(creature|mylibrary) moveto(hand)],newability[choice name(put in play) notatarget(creature|myhand) moveto(ownerbattlefield)])) text=Choose one - Search your library for up to two creature cards, reveal them, put them into your hand, then shuffle; or put up to two creature cards from your hand onto the battlefield. -- Entwine {2} (Choose both if you pay the entwine cost.) mana={5}{G}{G} type=Sorcery @@ -122501,7 +122486,7 @@ type=Enchantment [card] name=Torii Watchward abilities=vigilance -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=4]|mygraveyard) text=Vigilance (Attacking doesn't cause this creature to tap.) -- Soulshift 4 (When this dies, you may return target Spirit card with mana value 4 or less from your graveyard to your hand.) mana={4}{W} type=Creature @@ -122751,7 +122736,7 @@ type=Artifact [/card] [card] name=Tortured Existence -auto={B}{D(creature|myhand)}:moveto(ownerHand) target(creature|mygraveyard) +auto={B}{D(creature|myhand)}:moveto(hand) target(creature|mygraveyard) text={B}, Discard a creature card: Return target creature card from your graveyard to your hand. mana={B} type=Enchantment @@ -122787,8 +122772,8 @@ toughness=3 [/card] [card] name=Totem-Guide Hartebeest -aicode=activate target(aura|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(aura|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(aura|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(aura|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Totem-Guide Hartebeest enters, you may search you library for an aura card, reveal it, put it into your hand and shuffle your library. mana={4}{W} type=Creature @@ -122930,8 +122915,8 @@ toughness=4 [card] name=Tower Geist abilities=flying,hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(ownerHand) and!(deplete:1)!],newability[choice all(*[zpos=1]|mylibrary) moveto(ownerHand) and!(deplete:1)!])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend +aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(hand) and!(deplete:1)!],newability[choice all(*[zpos=1]|mylibrary) moveto(hand) and!(deplete:1)!])) ueot +auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=Flying -- When Tower Geist enters, look at the top two cards of your library. Put one of them into your hand and the other into your graveyard. mana={3}{U} type=Creature @@ -123114,7 +123099,7 @@ toughness=2 [/card] [card] name=Tracker's Instincts -auto=reveal:4 optionone target(creature|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=reveal:4 optionone target(creature|reveal) moveto(hand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend flashback={2}{U} text=Reveal the top four cards of your library. Put a creature card from among them into your hand and the rest into your graveyard. -- Flashback {2}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={1}{G} @@ -123133,7 +123118,7 @@ toughness=1 [/card] [card] name=Trade Routes -auto={1}:moveTo(ownerhand) target(land|myBattlefield) +auto={1}:moveTo(hand) target(land|myBattlefield) auto={1}{D(land|myhand)}:draw:1 text={1}: Return target land you control to its owner's hand. -- {1}, Discard a land card: Draw a card. mana={1}{U} @@ -123142,7 +123127,7 @@ type=Enchantment [card] name=Tradewind Rider abilities=flying -auto={T}{T(creature|myBattlefield)}{T(creature|myBattlefield)}:moveTo(ownerhand) target(*) +auto={T}{T(creature|myBattlefield)}{T(creature|myBattlefield)}:moveTo(hand) target(*) text=Flying -- {T}, Tap two untapped creatures you control: Return target permanent to its owner's hand. mana={3}{U} type=Creature @@ -123154,7 +123139,7 @@ toughness=4 name=Trading Post auto={1}{T}{D(*|myhand)}:life:4 auto={1}{T}{L:1}:token(Goat,Creature Goat,0/1,white) -auto={1}{T}{S(creature|myBattlefield)}:moveto(ownerHand) target(artifact|mygraveyard) +auto={1}{T}{S(creature|myBattlefield)}:moveto(hand) target(artifact|mygraveyard) auto={1}{T}{S(artifact|myBattlefield)}:draw:1 text={1}, {T}, Discard a card: You gain 4 life. -- {1}, {T}, Pay 1 life: Put a 0/1 white Goat creature token onto the battlefield. -- {1}, {T}, Sacrifice a creature: Return target artifact card from your graveyard to your hand. -- {1}, {T}, Sacrifice an artifact: Draw a card. mana={4} @@ -123162,7 +123147,7 @@ type=Artifact [/card] [card] name=Tragic Poet -auto={T}{S}:moveto(ownerHand) target(other enchantment|mygraveyard) +auto={T}{S}:moveto(hand) target(other enchantment|mygraveyard) text={T}, Sacrifice Tragic Poet: Return target enchantment card from your graveyard to your hand. mana={W} type=Creature @@ -123412,7 +123397,7 @@ toughness=3 name=Transgress the Mind target=player aicode=activate moveto(exile) notatarget(*[manacost>=3]|targetedpersonshand) -auto=Reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) revealtype(*|targetedpersonshand) optionone name(choose discard) notatarget(<1>*[manacost>=3]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend +auto=Reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) revealtype(*|targetedpersonshand) optionone name(choose discard) notatarget(<1>*[manacost>=3]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend text=Devoid (This card has no color.) -- Target player reveals their hand. You choose a card from it with mana value 3 or greater and exile that card. mana={1}{B} abilities=devoid @@ -123482,7 +123467,7 @@ type=Instant name=Trapfinder's Trick target=player aicode=activate choice reject all(*[trap]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[trap]|reveal) moveto(ownerhand) and!( transforms((,newability[reject],newability[all(*[trap]|reveal) moveto(ownerhand) and!(reject)!])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[trap]|reveal) moveto(hand) and!( transforms((,newability[reject],newability[all(*[trap]|reveal) moveto(hand) and!(reject)!])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand and discards all Trap cards. mana={1}{U} type=Sorcery @@ -123499,8 +123484,8 @@ toughness=3 [/card] [card] name=Trapmaker's Snare -aicode=activate target(*[trap]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[trap]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(*[trap]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[trap]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a Trap card, reveal it, and put it into your hand. Then shuffle. mana={1}{U} type=Instant @@ -123528,8 +123513,8 @@ type=Sorcery name=Traumatic Visions target=*|stack auto=fizzle -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={1}{U}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={1}{U}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Counter target spell. -- Basic landcycling {1}{U} ({1}{U}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={3}{U}{U} type=Instant @@ -123553,8 +123538,8 @@ type=Sorcery [/card] [card] name=Traveler's Amulet -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -auto={1}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +auto={1}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={1}, Sacrifice Traveler's Amulet: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle. mana={1} type=Artifact @@ -123589,9 +123574,9 @@ toughness=2 [/card] [card] name=Traverse the Ulvenwald -aicode=activate transforms((,newability[if delirium then moveto(ownerHand) target(*[land;creature]|mylibrary)],newability[ifnot delirium then moveto(ownerHand) target(land[basic]|mylibrary)])) ueot -auto=if delirium then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[creature;land]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=ifnot delirium then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate transforms((,newability[if delirium then moveto(hand) target(*[land;creature]|mylibrary)],newability[ifnot delirium then moveto(hand) target(land[basic]|mylibrary)])) ueot +auto=if delirium then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[creature;land]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=ifnot delirium then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Search your library for a basic land card, reveal it, put it into your hand, then shuffle. -- Delirium If there are four or more card types among cards in your graveyard, instead search your library for a creature or land card, reveal it, put it into your hand, then shuffle. mana={G} type=Sorcery @@ -123611,8 +123596,8 @@ toughness=3 name=Treacherous Terrain target=player auto=damage:type:land:targetedpersonsbattlefield -aicode=activate target(land[basic]|mylibrary) moveto(ownerHand) -autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(land[basic]|mylibrary) moveto(hand) +autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=Treacherous Terrain deals damage to each opponent equal to the number of lands that player controls. -- Basic landcycling {2} ({2}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle.) mana={6}{R}{G} type=Sorcery @@ -123621,7 +123606,7 @@ type=Sorcery name=Treacherous Urge target=opponent aicode=activate notatarget(creature|targetedpersonshand) moveto(mybattlefield) and!( transforms((,newability[phaseaction[end] sacrifice all(this)],newability[haste all(this)])) ueot )! -auto=Reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) revealtype(*|targetedpersonshand) optionone name(Get Creature) notatarget(creature|reveal) transforms((,newability[moveto(opponentbattlefield)],newability[phaseaction[end] sacrifice all(this)],newability[haste all(this)])) ueot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend +auto=Reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) revealtype(*|targetedpersonshand) optionone name(Get Creature) notatarget(creature|reveal) transforms((,newability[moveto(opponentbattlefield)],newability[phaseaction[end] sacrifice all(this)],newability[haste all(this)])) ueot optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend text=Target opponent reveals their hand. You may put a creature card from it onto the battlefield under your control. That creature gains haste. Sacrifice it at the beginning of the next end step. mana={4}{B} type=Instant @@ -123691,14 +123676,14 @@ type=Sorcery [card] name=Treasure Hunt aicode=activate transforms((,newability[all(*[zpos<=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot -auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone all(*|reveal) moveto(ownerHand) optiononeend revealend +auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone all(*|reveal) moveto(hand) optiononeend revealend text=Reveal cards from the top of your library until you reveal a nonland card, then put all cards revealed this way into your hand. mana={1}{U} type=Sorcery [/card] [card] name=Treasure Hunter -auto=may moveto(ownerHand) target(artifact|mygraveyard) +auto=may moveto(hand) target(artifact|mygraveyard) text=When Treasure Hunter enters, you may return target artifact card from your graveyard to your hand. mana={2}{W} type=Creature @@ -123718,8 +123703,8 @@ toughness=3 [/card] [card] name=Treasure Mage -aicode=activate target(artifact[manacost>=6]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost>=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(artifact[manacost>=6]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost>=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Treasure Mage enters, you may search your library for an artifact card with mana value 6 or greater, reveal that card, and put it into your hand. If you do, shuffle your library. mana={2}{U} type=Creature @@ -123738,7 +123723,7 @@ type=Enchantment name=Treasured Find abilities=exiledeath target=*|myGraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target card from your graveyard to your hand. Exile Treasured Find. mana={B}{G} type=Sorcery @@ -123746,7 +123731,7 @@ type=Sorcery [card] name=Treasury Thrull auto=_EXTORT_ -auto=_ATTACKING_may moveto(ownerHand) target(*[artifact;creature;enchantment]|mygraveyard) +auto=_ATTACKING_may moveto(hand) target(*[artifact;creature;enchantment]|mygraveyard) text=Extort (Whenever you cast a spell, you may pay {WB}. If you do, each opponent loses 1 life and you gain that much life.) -- Whenever Treasury Thrull attacks, you may return target artifact, creature, or enchantment card from your graveyard to your hand. mana={4}{W}{B} type=Creature @@ -124027,7 +124012,7 @@ type=Instant [/card] [card] name=Treva's Ruins -auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(hand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto=this(counter{0/0.1.payment}<1) {T}:Add{G} auto=this(counter{0/0.1.payment}<1) {T}:Add{W} @@ -124220,8 +124205,8 @@ type=Artifact [/card] [card] name=Trinket Mage -aicode=activate target(artifact[manacost<=1]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(artifact[manacost<=1]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Trinket Mage enters, you may search your library for an artifact card with mana value 1 or less, reveal that card, and put it into your hand. If you do, shuffle your library. mana={2}{U} type=Creature @@ -124296,7 +124281,7 @@ toughness=1 [/card] [card] name=Triton Cavalry -auto=_HEROIC_may moveTo(ownerhand) target(enchantment|battlefield) +auto=_HEROIC_may moveTo(hand) target(enchantment|battlefield) text=Heroic -- Whenever you cast a spell that targets Triton Cavalry, you may return target enchantment to its owner's hand. mana={3}{U} type=Creature @@ -124435,8 +124420,8 @@ toughness=3 [/card] [card] name=Trophy Mage -aicode=activate target(artifact[manacost=3]|mylibrary) moveto(ownerHand) -auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost=3]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate target(artifact[manacost=3]|mylibrary) moveto(hand) +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost=3]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(hand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Trophy Mage enters, you may search your library for an artifact card with mana value 3, reveal it, put it into your hand, then shuffle. mana={2}{U} type=Creature @@ -124604,7 +124589,7 @@ toughness=3 [card] name=Trusted Advisor auto=hmodifer:2 controller -auto=@each my upkeep:moveTo(ownerhand) notatarget(creature[blue]|myBattlefield) +auto=@each my upkeep:moveTo(hand) notatarget(creature[blue]|myBattlefield) text=Your maximum hand size is increased by two. -- At the beginning of your upkeep, return a blue creature you control to its owner's hand. mana={U} type=Creature @@ -124972,7 +124957,7 @@ type=Land [card] name=Twilight Shepherd abilities=flying,vigilance,persist -auto=moveto(ownerHand) all(*[fresh]|mygraveyard) +auto=moveto(hand) all(*[fresh]|mygraveyard) text=Flying, vigilance -- When Twilight Shepherd enters, return to your hand all cards in your graveyard that were put there from the battlefield this turn. -- Persist (When this creature dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.) mana={3}{W}{W}{W} type=Creature @@ -125036,8 +125021,8 @@ type=Sorcery [card] name=Twisted Abomination auto={B}:regenerate -aicode=activate moveto(ownerHand) target(swamp|myLibrary) -autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>swamp|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(swamp|myLibrary) +autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>swamp|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text={B}: Regenerate Twisted Abomination. -- Swampcycling {2} ({2}, Discard this card: Search your library for a Swamp card, reveal it, and put it into your hand. Then shuffle.) mana={5}{B} type=Creature @@ -125103,7 +125088,7 @@ toughness=1 [card] name=Tymaret, the Murder King auto={1}{R}{S(other creature|mybattlefield)}:damage:2 target(player) -autograveyard={1}{B}{S(creature|mybattlefield)}:moveto(ownerHand) +autograveyard={1}{B}{S(creature|mybattlefield)}:moveto(hand) text={1}{R}, Sacrifice another creature: Tymaret, the Murder King deals 2 damage to target player. -- {1}{B}, Sacrifice a creature: Return Tymaret from your graveyard to your hand. mana={B}{R} type=Legendary Creature @@ -125271,7 +125256,7 @@ toughness=8 [card] name=Ulamog's Reclaimer abilities=devoid -auto=if type(*|opponentexile)~morethan~0 then may notatarget(*|opponentexile) moveto(ownergraveyard) and!( target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) )! +auto=if type(*|opponentexile)~morethan~0 then may notatarget(*|opponentexile) moveto(ownergraveyard) and!( target(*[instant;sorcery]|mygraveyard) moveto(hand) )! text=Devoid (This card has no color.) -- When Ulamog's Reclaimer enters, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target instant or sorcery card from your graveyard to your hand. mana={4}{U} type=Creature @@ -125495,8 +125480,8 @@ toughness=1 [/card] [card] name=Umbilicus -auto=@each my upkeep:ability$!choice name(bounce) notatarget(*|mybattlefield) moveTo(ownerhand) _ choice name(pay 2 life) life:-2 controller!$ controller -auto=@each opponent upkeep:ability$!choice name(bounce) notatarget(*|mybattlefield) moveTo(ownerhand) _ choice name(pay 2 life) life:-2 controller!$ opponent +auto=@each my upkeep:ability$!choice name(bounce) notatarget(*|mybattlefield) moveTo(hand) _ choice name(pay 2 life) life:-2 controller!$ controller +auto=@each opponent upkeep:ability$!choice name(bounce) notatarget(*|mybattlefield) moveTo(hand) _ choice name(pay 2 life) life:-2 controller!$ opponent text=At the beginning of each player's upkeep, that player returns a permanent they control to its owner's hand unless they pay 2 life. mana={4} type=Artifact @@ -125646,8 +125631,8 @@ subtype=Aura [/card] [card] name=Uncovered Clues -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) bottomoflibrary name(revealed card) and!(if cantargetcard(*[instant;sorcery]|*) then moveto(ownerHand))! -auto=reveal:4 optionone name(Get Cards) target(*[instant;sorcery]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) bottomoflibrary name(revealed card) and!(if cantargetcard(*[instant;sorcery]|*) then moveto(hand))! +auto=reveal:4 optionone name(Get Cards) target(*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Look at the top four cards of your library. You may reveal up to two instant and/or sorcery cards from among them and put the revealed cards into your hand. Put the rest on the bottom of your library in any order. mana={2}{U} type=Sorcery @@ -125677,7 +125662,7 @@ toughness=2 name=Undead Gladiator abilities=cycling autohand=__CYCLING__({1}{B}) -autograveyard={1}{B}{D(*|myhand)}:moveto(ownerHand) myUpkeepOnly +autograveyard={1}{B}{D(*|myhand)}:moveto(hand) myUpkeepOnly text={1}{B}, Discard a card: Return Undead Gladiator from your graveyard to your hand. Activate this ability only during your upkeep. -- Cycling {1}{B} ({1}{B}, Discard this card: Draw a card.) mana={1}{B}{B} type=Creature @@ -125830,7 +125815,7 @@ type=Instant [/card] [card] name=Undertaker -auto={B}{T}{D(*|myhand)}:moveTo(ownerhand) target(creature|mygraveyard) +auto={B}{T}{D(*|myhand)}:moveTo(hand) target(creature|mygraveyard) text={B}, {T}, Discard a card: Return target creature card from your graveyard to your hand. mana={1}{B} type=Creature @@ -125875,18 +125860,18 @@ type=Enchantment [/card] [card] name=Undiscovered Paradise -auto={T}:Add{G} and!( phaseaction[my untap sourceinplay] moveTo(ownerhand) )! -auto={T}:Add{W} and!( phaseaction[my untap sourceinplay] moveTo(ownerhand) )! -auto={T}:Add{U} and!( phaseaction[my untap sourceinplay] moveTo(ownerhand) )! -auto={T}:Add{B} and!( phaseaction[my untap sourceinplay] moveTo(ownerhand) )! -auto={T}:Add{R} and!( phaseaction[my untap sourceinplay] moveTo(ownerhand) )! +auto={T}:Add{G} and!( phaseaction[my untap sourceinplay] moveTo(hand) )! +auto={T}:Add{W} and!( phaseaction[my untap sourceinplay] moveTo(hand) )! +auto={T}:Add{U} and!( phaseaction[my untap sourceinplay] moveTo(hand) )! +auto={T}:Add{B} and!( phaseaction[my untap sourceinplay] moveTo(hand) )! +auto={T}:Add{R} and!( phaseaction[my untap sourceinplay] moveTo(hand) )! text={T}: Add one mana of any color. During your next untap step, as you untap your permanents, return Undiscovered Paradise to its owner's hand. type=Land [/card] [card] name=Undo target=<2>creature -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return two target creatures to their owners' hands. mana={1}{U}{U} type=Sorcery @@ -125920,7 +125905,7 @@ type=Sorcery [card] name=Undying Rage target=creature -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) auto=2/2 auto=cantblock text=Enchant creature -- Enchanted creature gets +2/+2 and can't block. -- When Undying Rage is put into a graveyard from the battlefield, return Undying Rage to its owner's hand. @@ -126141,7 +126126,7 @@ type=Instant [card] name=Unmake the Graves target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Return up to two target creature cards from your graveyard to your hand. other={convoke} name(Convoke) mana={4}{B} @@ -126151,7 +126136,7 @@ type=Instant name=Unmask target=player aicode=activate reject notatarget(*[-land]|targetedpersonshand) -auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend other={E(other *[black]|myhand)} name(Exile a Black Card from Hand) text=You may exile a black card from your hand rather than pay Unmask's mana cost. -- Target player reveals their hand. You choose a nonland card from it. That player discards that card. mana={3}{B} @@ -126342,7 +126327,7 @@ toughness=5 [card] name=Unsummon target=creature -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return target creature to its owner's hand. mana={U} type=Instant @@ -126474,7 +126459,7 @@ toughness=4 [/card] [card] name=Upheaval -auto=moveTo(ownerhand) all(*|battlefield) +auto=moveTo(hand) all(*|battlefield) text=Return all permanents to their owners' hands. mana={4}{U}{U} type=Sorcery @@ -126606,7 +126591,7 @@ toughness=1 [card] name=Urborg Emissary kicker={1}{U} -auto=if paid(kicker) then moveTo(ownerhand) target(*|battlefield) +auto=if paid(kicker) then moveTo(hand) target(*|battlefield) text=Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.) -- When Urborg Emissary enters, if it was kicked, return target permanent to its owner's hand. mana={2}{B} type=Creature @@ -126688,7 +126673,7 @@ toughness=2 [/card] [card] name=Urborg Uprising -auto=may moveTo(ownerhand) target(creature|mygraveyard) +auto=may moveTo(hand) target(creature|mygraveyard) auto=draw:1 controller text=Return up to two target creature cards from your graveyard to your hand. -- Draw a card. mana={4}{B} @@ -127030,8 +127015,8 @@ toughness=2 [/card] [card] name=Valley Rannet -aicode=activate moveto(ownerHand) target(*[forest;mountain]|myLibrary) -autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>*[forest;mountain]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(*[forest;mountain]|myLibrary) +autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>*[forest;mountain]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text=Mountaincycling {2}, forestcycling {2} ({2}, Discard this card: Search your library for a Mountain or Forest card, reveal it, and put it into your hand. Then shuffle.) mana={4}{R}{G} type=Creature @@ -127394,7 +127379,7 @@ type=Sorcery [card] name=Vapor Snag target=creature -auto=moveTo(ownerhand) +auto=moveTo(hand) auto=life:-1 targetcontroller text=Return target creature to its owner's hand. Its controller loses 1 life. mana={U} @@ -127496,7 +127481,7 @@ toughness=0 name=Vastwood Zendikon target=land auto=becomes(Creature Elemental,6/4,green) -auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerhand) +auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(hand) text=Enchant land -- Enchanted land is a 6/4 green Elemental creature. It's still a land. -- When enchanted land is put into a graveyard, return that card to its owner's hand. mana={4}{G} type=Enchantment @@ -127538,7 +127523,7 @@ type=Land [card] name=Vaultbreaker other={2}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever auto=_ATTACKING_may name(discard and draw) reject notatarget(*|myhand) && transforms((,newability[draw:1 controller])) forever text=Whenever Vaultbreaker attacks, you may discard a card. If you do, draw a card. -- Dash {2}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={3}{R} @@ -127611,9 +127596,9 @@ toughness=1 [card] name=Vedalken Aethermage abilities=flash -auto=moveto(ownerhand) target(sliver) -aicode=activate moveto(ownerHand) target(wizard|myLibrary) -autohand={3}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>wizard|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +auto=moveto(hand) target(sliver) +aicode=activate moveto(hand) target(wizard|myLibrary) +autohand={3}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>wizard|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text=Flash (You may cast this spell any time you could cast an instant.) -- When Vedalken Aethermage enters, return target Sliver to its owner's hand. -- Wizardcycling {3} ({3}, Discard this card: Search your library for a Wizard card, reveal it, and put it into your hand. Then shuffle.) mana={1}{U} type=Creature @@ -127715,7 +127700,7 @@ toughness=4 [/card] [card] name=Vedalken Mastermind -auto={U}{T}:moveTo(ownerhand) target(*|myBattlefield) +auto={U}{T}:moveTo(hand) target(*|myBattlefield) text={U}, {T}: Return target permanent you control to its owner's hand. mana={U}{U} type=Creature @@ -127758,7 +127743,7 @@ type=Enchantment [/card] [card] name=Veilborn Ghoul -autograveyard=@movedTo(Swamp|myBattlefield):may moveto(ownerHand) +autograveyard=@movedTo(Swamp|myBattlefield):may moveto(hand) abilities=cantblock text=Veilborn Ghoul can't block. -- Whenever a Swamp enters under your control, you may return Veilborn Ghoul from your graveyard to your hand. mana={4}{B} @@ -127859,7 +127844,7 @@ type=Land [card] name=Venarian Glimmer aicode=activate reject notatarget(*[-land;manacost<=castx]|opponenthand) -auto=reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*[-land;manacost<=castx]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*[-land;manacost<=castx]|reveal) transforms((,newability[moveto(hand) all(other *|reveal)],newability[moveto(hand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Target player reveals their hand. You choose a nonland card with mana value X or less from it. That player discards that card. mana={X}{U} type=Instant @@ -127877,7 +127862,7 @@ type=Instant name=Vendilion Clique abilities=flash,flying aicode=activate name(bottom of library) notatarget(*[-land]|targetedpersonshand) bottomoflibrary and!( draw:1 targetedplayer )! -auto=name(target player) target(player) Reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) transforms((,newability[bottomoflibrary],newability[draw:1],newability[all(*|reveal) moveto(ownerhand)])) oneshot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend +auto=name(target player) target(player) Reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) transforms((,newability[bottomoflibrary],newability[draw:1],newability[all(*|reveal) moveto(hand)])) oneshot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(hand) and!( all(*|reveal) moveto(hand) )! optiontwoend revealend text=Flash -- Flying -- When Vendilion Clique enters, look at target player's hand. You may choose a nonland card from it. If you do, that player reveals the chosen card, puts it on the bottom of their library, then draws a card. mana={1}{U}{U} type=Legendary Creature @@ -127888,7 +127873,7 @@ toughness=1 [card] name=Venerable Kumo abilities=reach -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=4]|mygraveyard) text=Reach (This creature can block creatures with flying.) -- Soulshift 4 (When this dies, you may return target Spirit card with mana value 4 or less from your graveyard to your hand.) mana={4}{G} type=Creature @@ -128115,7 +128100,7 @@ auto={G}{S}:Add{U}{U}{U} auto={G}{S}:Add{B}{B}{B} auto={G}{S}:Add{R}{R}{R} auto={G}{S}:Add{G}{G}{G} -autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(hand) text={G}, Sacrifice Verdant Eidolon: Add three mana of any one color. -- Whenever you cast a multicolored spell, you may return Verdant Eidolon from your graveyard to your hand. mana={3}{G} type=Creature @@ -128316,7 +128301,7 @@ type=Enchantment [/card] [card] name=Vessel of Nascency -auto={1}{G}{s}:reveal:4 optionone name(Choose Card) target(creature,artifact,enchantment,land,planeswalker|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={1}{G}{s}:reveal:4 optionone name(Choose Card) target(creature,artifact,enchantment,land,planeswalker|reveal) moveto(hand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text={1}{G}, Sacrifice Vessel of Nascency: Reveal the top four cards of your library. You may put an artifact, creature, enchantment, land, or planeswalker card from among them into your hand. Put the rest into your graveyard. mana={G} type=Enchantment @@ -128519,7 +128504,7 @@ toughness=3 [/card] [card] name=Vexing Scuttler -autostack=if casted(this) then may moveto(ownerHand) target(instant,sorcery|mygraveyard) +autostack=if casted(this) then may moveto(hand) target(instant,sorcery|mygraveyard) text=Emerge {6}{U} (You may cast this spell by sacrificing a creature and paying the emerge cost reduced by that creature's mana value.) -- When you cast Vexing Scuttler, you may return target instant or sorcery card from your graveyard to your hand. mana={8} other={emerge}{6}{U} name(Emerge) @@ -128591,7 +128576,7 @@ toughness=1 [card] name=Viashino Cutthroat abilities=haste -auto=@each end:moveTo(ownerhand) +auto=@each end:moveTo(hand) text=Haste -- At the beginning of the end step, return Viashino Cutthroat to its owner's hand. mana={2}{R}{R} type=Creature @@ -128673,7 +128658,7 @@ toughness=2 [card] name=Viashino Sandscout abilities=haste -auto=@each end:moveTo(ownerhand) +auto=@each end:moveTo(hand) text=Haste (This creature can attack and {T} as soon as it comes under your control.) -- At the beginning of the end step, return Viashino Sandscout to its owner's hand. (Return it only if it's on the battlefield.) mana={1}{R} type=Creature @@ -128684,7 +128669,7 @@ toughness=1 [card] name=Viashino Sandstalker abilities=haste -auto=@each end:moveTo(ownerhand) +auto=@each end:moveTo(hand) text=Haste (This creature can attack the turn it comes under your control.) -- At the beginning of the end step, return Viashino Sandstalker to its owner's hand. (Return it only if it's on the battlefield.) mana={1}{R}{R} type=Creature @@ -128694,7 +128679,7 @@ toughness=2 [/card] [card] name=Viashino Sandswimmer -auto={R}:flipacoin winability moveTo(ownerhand) winabilityend loseability sacrifice loseabilityend flipend +auto={R}:flipacoin winability moveTo(hand) winabilityend loseability sacrifice loseabilityend flipend text={R}: Flip a coin. If you win the flip, return Viashino Sandswimmer to its owner's hand. If you lose the flip, sacrifice Viashino Sandswimmer. mana={2}{R}{R} type=Creature @@ -128887,14 +128872,14 @@ toughness=0 [/card] [card] name=Vigean Intuition -auto=choice name(Artifact) reveal:4 optionone name(Get Artifact) target(artifact|reveal) moveto(ownerHand) and!( all(artifact|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Creature) reveal:4 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) and!( all(creature|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Enchantment) reveal:4 optionone name(Get Enchantment) target(enchantment|reveal) moveto(ownerHand) and!( all(enchantment|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Instant) reveal:4 optionone name(Get Instant) target(instant|reveal) moveto(ownerHand) and!( all(instant|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Land) reveal:4 optionone name(Get Land) target(land|reveal) moveto(ownerHand) and!( all(land|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Planeswalker) reveal:4 optionone name(Get Planeswalker) target(planeswalker|reveal) moveto(ownerHand) and!( all(planeswalker|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Sorcery) reveal:4 optionone name(Get Sorcery) target(sorcery|reveal) moveto(ownerHand) and!( all(sorcery|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend -auto=choice name(Tribal) reveal:4 optionone name(Get Tribal) target(artifact|reveal) moveto(ownerHand) and!( all(tribal|reveal) moveto(ownerHand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Artifact) reveal:4 optionone name(Get Artifact) target(artifact|reveal) moveto(hand) and!( all(artifact|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Creature) reveal:4 optionone name(Get Creature) target(creature|reveal) moveto(hand) and!( all(creature|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Enchantment) reveal:4 optionone name(Get Enchantment) target(enchantment|reveal) moveto(hand) and!( all(enchantment|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Instant) reveal:4 optionone name(Get Instant) target(instant|reveal) moveto(hand) and!( all(instant|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Land) reveal:4 optionone name(Get Land) target(land|reveal) moveto(hand) and!( all(land|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Planeswalker) reveal:4 optionone name(Get Planeswalker) target(planeswalker|reveal) moveto(hand) and!( all(planeswalker|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Sorcery) reveal:4 optionone name(Get Sorcery) target(sorcery|reveal) moveto(hand) and!( all(sorcery|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend +auto=choice name(Tribal) reveal:4 optionone name(Get Tribal) target(artifact|reveal) moveto(hand) and!( all(tribal|reveal) moveto(hand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=Choose a card type, then reveal the top four cards of your library. Put all cards of the chosen type revealed this way into your hand and the rest into your graveyard. (Artifact, creature, enchantment, instant, land, planeswalker, sorcery, and tribal are card types.) mana={3}{G}{U} type=Instant @@ -129189,7 +129174,7 @@ toughness=3 [card] name=Vine Kami abilities=menace -auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=6]|mygraveyard) +auto=_DIES_may moveto(hand) target(spirit[manacost<=6]|mygraveyard) text=Vine Kami can't be blocked except by two or more creatures. -- Soulshift 6 (When this creature dies, you may return target Spirit card with mana value 6 or less from your graveyard to your hand.) mana={6}{G} type=Creature @@ -129249,7 +129234,7 @@ type=Instant name=Vineweft target=Creature auto=teach(creature) 1/1 -autograveyard={4}{G}:moveTo(ownerhand) +autograveyard={4}{G}:moveTo(hand) text=Enchant creature -- Enchanted creature gets +1/+1. -- {4}{G}: Return Vineweft from your graveyard to hand. mana={G} type=Enchantment @@ -129531,7 +129516,7 @@ toughness=1 name=Viscerid Armor target=creature auto=1/1 -auto={1}{U}:moveto(ownerhand) +auto={1}{U}:moveto(hand) text=Enchant creature -- Enchanted creature gets +1/+1. -- {1}{U}: Return Viscerid Armor to its owner's hand. mana={1}{U} type=Enchantment @@ -130083,7 +130068,7 @@ type=Instant [card] name=Void Snare target=*[-land]|battlefield -auto=moveTo(ownerHand) +auto=moveTo(hand) text=Return target nonland permanent to its owner's hand. mana={U} type=Sorcery @@ -130091,7 +130076,7 @@ type=Sorcery [card] name=Void Squall target=*[-land] -auto=moveto(ownerhand) +auto=moveto(hand) auto=_REBOUND_ text=Return target nonland permanent to its owner's hand. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.) mana={4}{U} @@ -130164,7 +130149,7 @@ toughness=1 [/card] [card] name=Voidwielder -auto=may moveTo(ownerhand) target(creature) +auto=may moveTo(hand) target(creature) text=When Voidwielder enters, you may return target creature to its owner's hand. mana={4}{U} type=Creature @@ -130591,7 +130576,7 @@ subtype=Aura [card] name=Voyage's End target=creature -auto=moveto(ownerhand) +auto=moveto(hand) aicode=activate target(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot auto=name(Scry 1) _SCRY1_ text=Return target creature to its owner's hand. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) @@ -130898,8 +130883,8 @@ type=Sorcery name=Walker of Secret Ways autohand={1}{U}{N}:ninjutsu aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto=@combatdamagefoeof(player) from(this):reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend -auto={1}{U}:moveto(ownerHand) target(ninja|myBattlefield) myTurnOnly +auto=@combatdamagefoeof(player) from(this):reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend +auto={1}{U}:moveto(hand) target(ninja|myBattlefield) myTurnOnly text=Ninjutsu {1}{U} ({1}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever Walker of Secret Ways deals combat damage to a player, look at that player's hand. -- {1}{U}: Return target Ninja you control to its owner's hand. Activate this ability only during your turn. mana={2}{U} type=Creature @@ -131224,7 +131209,7 @@ toughness=7 [card] name=Wall of Junk abilities=defender -auto=@combat(blocking) source(this):phaseaction[combatends,sourceinplay] moveTo(ownerhand) +auto=@combat(blocking) source(this):phaseaction[combatends,sourceinplay] moveTo(hand) text=Defender (This creature can't attack.) -- Whenever Wall of Junk blocks, return it to its owner's hand at end of combat. (Return it only if it's on the battlefield.) mana={2} type=Artifact Creature @@ -131465,7 +131450,7 @@ toughness=6 [card] name=Wall of Tears abilities=defender -auto=@combat(blocking) source(this) from(creature):all(trigger[from]) phaseaction[combatends once] moveTo(ownerhand) +auto=@combat(blocking) source(this) from(creature):all(trigger[from]) phaseaction[combatends once] moveTo(hand) text=Defender (This creature can't attack.) -- Whenever Wall of Tears blocks a creature, return that creature to its owner's hand at end of combat. mana={1}{U} type=Creature @@ -131582,8 +131567,8 @@ toughness=3 [/card] [card] name=Wanderer's Twig -aicode=activate moveto(ownerHand) target(land[basic]|myLibrary) -auto={1}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(land[basic]|myLibrary) +auto={1}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text={1}, Sacrifice Wanderer's Twig: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle. mana={1} type=Artifact @@ -131591,7 +131576,7 @@ type=Artifact [card] name=Wanderguard Sentry aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend text=When Wanderguard Sentry enters, look at target opponent's hand. mana={4}{U} type=Creature @@ -131980,7 +131965,7 @@ toughness=2 [/card] [card] name=Warden of the Eye -auto=moveto(ownerHand) target(*[-creature;-land]|mygraveyard) +auto=moveto(hand) target(*[-creature;-land]|mygraveyard) text=When Warden of the Eye enters, return target noncreature, nonland card from your graveyard to your hand. mana={2}{U}{R}{W} type=Creature @@ -132169,7 +132154,7 @@ toughness=1 [/card] [card] name=Warren Pilferers -auto=moveto(ownerhand) and!( if cantargetcard(goblin|*) then haste all(this) )! notatarget(creature|mygraveyard) +auto=moveto(hand) and!( if cantargetcard(goblin|*) then haste all(this) )! notatarget(creature|mygraveyard) text=When Warren Pilferers enters, return target creature card from your graveyard to your hand. If that card is a Goblin card, Warren Pilferers gains haste until end of turn. mana={4}{B} type=Creature @@ -132264,11 +132249,11 @@ toughness=2 [/card] [card] name=Wash Out -auto=choice name(return all white permanents to owners' hand) moveto(ownerHand) all(*[white]|mybattlefield) && moveTo(opponenthand) all(*[white]|opponentbattlefield) -auto=choice name(return all blue permanents to owners' hand) moveto(ownerHand) all(*[blue]|mybattlefield) && moveTo(opponenthand) all(*[blue]|opponentbattlefield) -auto=choice name(return all black permanents to owners' hand) moveto(ownerHand) all(*[black]|mybattlefield) && moveTo(opponenthand) all(*[black]|opponentbattlefield) -auto=choice name(return all red permanents to owners' hand) moveto(ownerHand) all(*[red]|mybattlefield) && moveTo(opponenthand) all(*[red]|opponentbattlefield) -auto=choice name(return all green permanents to owners' hand) moveto(ownerHand) all(*[green]|mybattlefield) && moveTo(opponenthand) all(*[green]|opponentbattlefield) +auto=choice name(return all white permanents to owners' hand) moveto(hand) all(*[white]|mybattlefield) && moveTo(opponenthand) all(*[white]|opponentbattlefield) +auto=choice name(return all blue permanents to owners' hand) moveto(hand) all(*[blue]|mybattlefield) && moveTo(opponenthand) all(*[blue]|opponentbattlefield) +auto=choice name(return all black permanents to owners' hand) moveto(hand) all(*[black]|mybattlefield) && moveTo(opponenthand) all(*[black]|opponentbattlefield) +auto=choice name(return all red permanents to owners' hand) moveto(hand) all(*[red]|mybattlefield) && moveTo(opponenthand) all(*[red]|opponentbattlefield) +auto=choice name(return all green permanents to owners' hand) moveto(hand) all(*[green]|mybattlefield) && moveTo(opponenthand) all(*[green]|opponentbattlefield) text=Return all permanents of the color of your choice to their owners' hands. mana={3}{U} type=Sorcery @@ -132434,7 +132419,7 @@ toughness=3 [/card] [card] name=Waterfront Bouncer -auto={U}{T}{D(*|myhand)}:moveTo(ownerhand) target(creature) +auto={U}{T}{D(*|myhand)}:moveTo(hand) target(creature) text={U}, {T}, Discard a card: Return target creature to its owner's hand. mana={1}{U} type=Creature @@ -132457,7 +132442,7 @@ toughness=4 name=Waterspout Elemental abilities=flying kicker={U} -auto=if paid(kicker) then moveto(ownerhand) all(other creature|battlefield) +auto=if paid(kicker) then moveto(hand) all(other creature|battlefield) auto=if paid(kicker) then turns:-1 controller text=Kicker {U} (You may pay an additional {U} as you cast this spell.) -- Flying -- When Waterspout Elemental enters, if it was kicked, return all other creatures to their owners' hands and you skip your next turn. mana={3}{U}{U} @@ -132488,7 +132473,7 @@ type=Land [card] name=Waterwhirl target=creature|battlefield -auto=moveTo(ownerhand) +auto=moveTo(hand) text=Return up to two target creatures to their owners' hands. mana={4}{U}{U} type=Instant @@ -132749,8 +132734,8 @@ toughness=2 [/card] [card] name=Weathered Wayfarer -aicode=activate moveto(ownerHand) target(land|mylibrary) -auto={W}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend restriction{control less lands} +aicode=activate moveto(hand) target(land|mylibrary) +auto={W}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend restriction{control less lands} text={W}, {T}: Search your library for a land card, reveal it, and put it into your hand. Then shuffle. Activate this ability only if an opponent controls more lands than you. mana={W} type=Creature @@ -132781,7 +132766,7 @@ toughness=1 [card] name=Weatherseed Totem auto={T}:Add{G} -auto={2}{G}{G}{G}:transforms((Treefolk Artifact Creature,newability[_DIES_moveto(ownerhand) all(trigger[from]|*)],setpower=5,settoughness=3,trample,green)) ueot +auto={2}{G}{G}{G}:transforms((Treefolk Artifact Creature,newability[_DIES_moveto(hand) all(trigger[from]|*)],setpower=5,settoughness=3,trample,green)) ueot text={T}: Add {G}. -- {2}{G}{G}{G}: Weatherseed Totem becomes a 5/3 green Treefolk artifact creature with trample until end of turn. -- When Weatherseed Totem is put into a graveyard from the battlefield, if it was a creature, return this card to its owner's hand. mana={3} type=Artifact @@ -132789,7 +132774,7 @@ type=Artifact [card] name=Weatherseed Treefolk abilities=trample -autograveyard=_DIES_moveTo(ownerhand) +autograveyard=_DIES_moveTo(hand) text=Trample -- When Weatherseed Treefolk dies, return Weatherseed Treefolk to its owner's hand. mana={2}{G}{G}{G} type=Creature @@ -132941,8 +132926,8 @@ subtype=Aura [/card] [card] name=Weird Harvest -auto=ability$!moveto(ownerhand) notatarget(creature|mylibrary)!$ opponent -auto=ability$!moveto(ownerhand) notatarget(creature|mylibrary)!$ controller +auto=ability$!moveto(hand) notatarget(creature|mylibrary)!$ opponent +auto=ability$!moveto(hand) notatarget(creature|mylibrary)!$ controller text=Each player may search their library for up to X creature cards, reveal those cards, and put them into their hand. Then each player who searched their library this way shuffles it. mana={X}{G}{G} type=Sorcery @@ -133051,8 +133036,8 @@ toughness=2 [card] name=Welkin Hawk abilities=flying -aicode=activate moveto(ownerHand) target(Welkin Hawk|myLibrary) -auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(Welkin Hawk|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(Welkin Hawk|myLibrary) +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(Welkin Hawk|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text=Flying -- When Welkin Hawk dies, you may search your library for a card named Welkin Hawk, reveal that card, put it into your hand, then shuffle. mana={1}{W} type=Creature @@ -133267,7 +133252,7 @@ mana={3} [/card] [card] name=Whelming Wave -auto=moveto(ownerhand) all(creature[-Kraken;-Leviathan;-Octopus;-Serpent]|battlefield) +auto=moveto(hand) all(creature[-Kraken;-Leviathan;-Octopus;-Serpent]|battlefield) text=Return all creatures to their owners' hands except for Krakens, Leviathans, Octopuses, and Serpents. mana={2}{U}{U} type=Sorcery @@ -133320,7 +133305,7 @@ toughness=1 name=Whip Silk target=creature auto=reach -auto={G}:moveTo(ownerhand) +auto={G}:moveTo(hand) text=Enchant creature -- Enchanted creature has reach. (It can block creatures with flying.) -- {G}: Return Whip Silk to its owner's hand. mana={G} type=Enchantment @@ -133368,7 +133353,7 @@ type=Sorcery [card] name=Whiplash Trap target=<2>creature -auto=moveTo(ownerhand) +auto=moveTo(hand) other={U} otherrestriction=thisturn(creature|opponentbattlefield)~morethan~1 text=If an opponent had two or more creatures enter the battlefield under their control this turn, you may pay {U} rather than pay Whiplash Trap's mana cost. -- Return two target creatures to their owners' hands. @@ -133651,7 +133636,7 @@ subtype=Aura [card] name=Whitemane Lion abilities=flash -auto=moveTo(ownerhand) notatarget(creature|myBattlefield) +auto=moveTo(hand) notatarget(creature|myBattlefield) text=Flash (You may cast this spell any time you could cast an instant.) -- When Whitemane Lion enters, return a creature you control to its owner's hand. mana={1}{W} type=Creature @@ -133662,7 +133647,7 @@ toughness=2 [card] name=Whiteout auto=lord(creature) -flying -autograveyard={S(land[snow]|myBattlefield)}:moveto(ownerHand) +autograveyard={S(land[snow]|myBattlefield)}:moveto(hand) text=All creatures lose flying until end of turn. -- Sacrifice a snow land: Return Whiteout from your graveyard to your hand. mana={1}{G} type=Instant @@ -133956,8 +133941,8 @@ toughness=3 [/card] [card] name=Wild Research -auto={1}{W}:moveto(ownerHand) target(enchantment|myLibrary) && discard:1 -auto={1}{U}:moveto(ownerHand) target(instant|myLibrary) && discard:1 +auto={1}{W}:moveto(hand) target(enchantment|myLibrary) && discard:1 +auto={1}{U}:moveto(hand) target(instant|myLibrary) && discard:1 text={1}{W}: Search your library for an enchantment card and reveal that card. Put it into your hand, then discard a card at random. Then shuffle. -- {1}{U}: Search your library for an instant card and reveal that card. Put it into your hand, then discard a card at random. Then shuffle. mana={2}{R} type=Enchantment @@ -133975,7 +133960,7 @@ toughness=2 [/card] [card] name=Wild Wurm -auto=flipacoin loseability moveTo(ownerhand) loseabilityend oneshot flipend +auto=flipacoin loseability moveTo(hand) loseabilityend oneshot flipend text=When Wild Wurm enters, flip a coin. If you lose the flip, return Wild Wurm to its owner's hand. mana={3}{R} type=Creature @@ -133986,8 +133971,8 @@ toughness=4 [card] name=Wild-Field Scarecrow abilities=defender -aicode=activate moveto(ownerHand) target(land[basic]|myLibrary) -auto={2}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(land[basic]|myLibrary) +auto={2}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text=Defender -- {2}, Sacrifice Wild-Field Scarecrow: Search your library for up to two basic land cards, reveal them, and put them into your hand. Then shuffle. mana={3} type=Artifact Creature @@ -134040,7 +134025,7 @@ toughness=3 [card] name=Wildest Dreams abilities=exiledeath -auto=this(variable{halfpaid} >0) moveto(ownerHand) notatarget(*|mygraveyard) +auto=this(variable{halfpaid} >0) moveto(hand) notatarget(*|mygraveyard) text=Return X target cards from your graveyard to your hand. Exile Wildest Dreams. mana={X}{X}{G} type=Sorcery @@ -134128,7 +134113,7 @@ toughness=3 [card] name=Wildwood Rebirth target=creature|mygraveyard -auto=moveto(ownerHand) +auto=moveto(hand) text=Return target creature card from your graveyard to your hand. mana={1}{G} type=Instant @@ -134296,7 +134281,7 @@ toughness=2 name=Wind Zendikon target=land auto=becomes(Creature Elemental,2/2,flying,blue) -auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerhand) +auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(hand) text=Enchant land -- Enchanted land is a 2/2 blue Elemental creature with flying. It's still a land. -- When enchanted land is put into a graveyard, return that card to its owner's hand. mana={U} type=Enchantment @@ -134406,7 +134391,7 @@ abilities=flying auto={W}:name(Gains vigilance) vigilance ueot auto={W}:name(Gains 0/1) name(Gains 0/1) 0/1 ueot auto={U}:name(Swap power/toughness) swap -auto={U}:name(Return to hand) moveTo(ownerhand) +auto={U}:name(Return to hand) moveTo(hand) text=Flying -- {W}: Windreaver gains vigilance until end of turn. -- {W}: Windreaver gets +0/+1 until end of turn. -- {U}: Switch Windreaver's power and toughness until end of turn. -- {U}: Return Windreaver to its owner's hand. mana={3}{W}{U} type=Creature @@ -134462,7 +134447,7 @@ type=Sorcery [card] name=Windscouter abilities=flying -auto=@each combatends:moveTo(ownerhand) all(windscouter[attacking;blocking]|myBattlefield) +auto=@each combatends:moveTo(hand) all(windscouter[attacking;blocking]|myBattlefield) text=Flying -- Whenever Windscouter attacks or blocks, return it to its owner's hand at end of combat. (Return it only if it's on the battlefield.) mana={3}{U} type=Creature @@ -134726,7 +134711,7 @@ type=Land [card] name=Wipe Away target=*|battlefield -auto=moveto(ownerhand) +auto=moveto(hand) text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- Return target permanent to its owner's hand. mana={1}{U}{U} type=Instant @@ -134787,8 +134772,8 @@ toughness=2 [/card] [card] name=Wirewood Guardian -aicode=activate moveto(ownerHand) target(forest|myLibrary) -autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(forest|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(forest|myLibrary) +autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(forest|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text=Forestcycling {2} ({2}, Discard this card: Search your library for a Forest card, reveal it, and put it into your hand. Then shuffle.) mana={5}{G}{G} type=Creature @@ -134798,8 +134783,8 @@ toughness=6 [/card] [card] name=Wirewood Herald -aicode=activate moveto(ownerHand) target(elf|myLibrary) -auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(elf|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(elf|myLibrary) +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(elf|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text=When Wirewood Herald dies, you may search your library for an Elf card, reveal that card, put it into your hand, then shuffle. mana={1}{G} type=Creature @@ -134925,7 +134910,7 @@ type=Enchantment [card] name=Witch Hunter auto={T}:damage:1 target(player) -auto={1}{W}{W}{T}:moveto(ownerHand) target(creature|opponentBattlefield) +auto={1}{W}{W}{T}:moveto(hand) target(creature|opponentBattlefield) text={T}: Witch Hunter deals 1 damage to target player. -- {1}{W}{W}, {T}: Return target creature an opponent controls to its owner's hand. mana={2}{W}{W} type=Creature @@ -135021,7 +135006,7 @@ type=Instant [card] name=Withering Gaze aicode=activate transforms((,newability[draw:type:*[forest;green]:opponenthand controller])) oneshot -auto=Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Get Bonus) foreach(forest|reveal) draw:1 && foreach(*[green]|reveal) draw:1 optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend +auto=Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Get Bonus) foreach(forest|reveal) draw:1 && foreach(*[green]|reveal) draw:1 optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(hand)])) ueot optiontwoend revealend text=Target opponent reveals their hand. You draw a card for each Forest and green card in it. mana={2}{U} type=Sorcery @@ -135095,7 +135080,7 @@ type=Sorcery [/card] [card] name=Wizard Mentor -auto={T}:moveTo(ownerhand) all(this) && moveTo(ownerhand) target(creature|myBattlefield) +auto={T}:moveTo(hand) all(this) && moveTo(hand) target(creature|myBattlefield) text={T}: Return Wizard Mentor and target creature you control to their owner's hand. mana={2}{U} type=Creature @@ -135146,7 +135131,7 @@ toughness=3 [card] name=Woebearer abilities=fear -auto=@combatdamaged(player) from(this):may moveto(ownerHand) target(creature|myGraveyard) +auto=@combatdamaged(player) from(this):may moveto(hand) target(creature|myGraveyard) text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- Whenever Woebearer deals combat damage to a player, you may return target creature card from your graveyard to your hand. mana={4}{B} type=Creature @@ -135669,7 +135654,7 @@ toughness=0 [/card] [card] name=Workshop Assistant -auto=_DIES_moveto(ownerHand) target(other artifact|mygraveyard) +auto=_DIES_moveto(hand) target(other artifact|mygraveyard) text=When Workshop Assistant dies, return another target artifact card from your graveyard to your hand. mana={3} type=Artifact Creature @@ -135681,7 +135666,7 @@ toughness=2 name=World Breaker abilities=reach autostack=if casted(this) then moveto(exile) target(artifact,enchantment,land) -autograveyard={2}{c}{s(land|myBattlefield)}:moveto(ownerHand) all(this) +autograveyard={2}{c}{s(land|myBattlefield)}:moveto(hand) all(this) text=Devoid (This card has no color.) -- When you cast World Breaker, exile target artifact, enchantment, or land. -- Reach -- {2}{C}, Sacrifice a land: Return World Breaker from your graveyard to your hand. ({C} represents colorless mana.) mana={6}{G} abilities=devoid @@ -135730,8 +135715,8 @@ toughness=2 [/card] [card] name=Worldly Counsel -aicode=activate target(*[zpos<=pbasiclandtypes]|mylibrary) moveto(ownerHand) -auto=name(Look) reveal:pbasiclandtypes optionone name(Get a Card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo target(<10>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[zpos<=pbasiclandtypes]|mylibrary) moveto(hand) +auto=name(Look) reveal:pbasiclandtypes optionone name(Get a Card) target(<1>*|reveal) moveto(hand) optiononeend optiontwo target(<10>*|reveal) bottomoflibrary optiontwoend revealend text=Domain - Look at the top X cards of your library, where X is the number of basic land types among lands you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. mana={1}{U} type=Instant @@ -135875,7 +135860,7 @@ type=Enchantment [card] name=Wort, Boggart Auntie abilities=fear -auto=@each my upkeep:may moveto(ownerHand) target(goblin|mygraveyard) +auto=@each my upkeep:may moveto(hand) target(goblin|mygraveyard) text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- At the beginning of your upkeep, you may return target Goblin card from your graveyard to your hand. mana={2}{B}{R} type=Legendary Creature @@ -136116,7 +136101,7 @@ toughness=1 name=Wu Scout abilities=horsemanship aicode=name(look) activate name(look) target(*|opponenthand) donothing -auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend +auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(hand) and!(all(*|reveal) moveto(hand))! optiononeend revealend text=Horsemanship (This creature can't be blocked except by creatures with horsemanship.) -- When Wu Scout enters, look at target opponent's hand. mana={1}{U} type=Creature @@ -136221,7 +136206,7 @@ subtype=Aura [card] name=Wydwen, the Biting Gale abilities=flying,flash -auto={L:1}{U}{B}:moveTo(ownerhand) +auto={L:1}{U}{B}:moveTo(hand) text=Flash -- Flying -- {U}{B}, Pay 1 life: Return Wydwen, the Biting Gale to its owner's hand. mana={2}{U}{B} type=Legendary Creature @@ -136325,7 +136310,7 @@ type=Enchantment [card] name=Xiahou Dun, the One-Eyed abilities=horsemanship -auto={S}:moveTo(ownerhand) target(other *[black]|mygraveyard) restriction{during my turn,before attackers} +auto={S}:moveTo(hand) target(other *[black]|mygraveyard) restriction{during my turn,before attackers} text=Horsemanship (This creature can't be blocked except by creatures with horsemanship.) -- Sacrifice Xiahou Dun, the One-Eyed: Return target black card from your graveyard to your hand. Activate this ability only during your turn, before attackers are declared. mana={2}{B}{B} type=Legendary Creature @@ -136445,8 +136430,8 @@ toughness=1 [card] name=Yavimaya Elder auto={2}{S}:draw:1 -aicode=activate moveto(ownerHand) target(land[basic]|myLibrary) -auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerHand))! afterrevealedend revealend +aicode=activate moveto(hand) target(land[basic]|myLibrary) +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(hand))! afterrevealedend revealend text=When Yavimaya Elder dies, you may search your library for up to two basic land cards, reveal them, and put them into your hand. If you do, shuffle your library. -- {2}, Sacrifice Yavimaya Elder: Draw a card. mana={1}{G}{G} type=Creature @@ -136803,7 +136788,7 @@ toughness=3 [card] name=Yuki-Onna auto=destroy target(artifact) -auto=@movedto(arcane,spirit|mystack):may moveto(ownerhand) +auto=@movedto(arcane,spirit|mystack):may moveto(hand) text=When Yuki-Onna enters, destroy target artifact. -- Whenever you cast a Spirit or Arcane spell, you may return Yuki-Onna to its owner's hand. mana={3}{R} type=Creature @@ -137066,7 +137051,7 @@ toughness=1 [/card] [card] name=Zephyr Spirit -auto=@combat(blocking) source(this):moveTo(ownerhand) +auto=@combat(blocking) source(this):moveTo(hand) text=When Zephyr Spirit blocks, return it to its owner's hand. mana={5}{U} type=Creature @@ -137234,7 +137219,7 @@ toughness=2 [/card] [card] name=Zodiac Dragon -auto=@movedTo(mygraveyard) from(this|battlefield):may moveto(ownerHand) notatarget(this|mygraveyard) +auto=@movedTo(mygraveyard) from(this|battlefield):may moveto(hand) notatarget(this|mygraveyard) text=When Zodiac Dragon is put into your graveyard from the battlefield, you may return it to your hand. mana={7}{R}{R} type=Creature @@ -137391,8 +137376,8 @@ toughness=3 [card] name=Zombie Brute abilities=trample -aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(ownerHand) name(revealed card) and!( all(this) counter(1/1) )! -auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Zombie]|myhand) optionone foreach(*[Zombie]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend +aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(hand) name(revealed card) and!( all(this) counter(1/1) )! +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[Zombie]|myhand) optionone foreach(*[Zombie]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(hand) optiontwoend revealend text=Amplify 1 (As this creature enters, put a +1/+1 counter on it for each Zombie card you reveal in your hand.) -- Trample mana={6}{B} type=Creature @@ -137619,7 +137604,7 @@ toughness=1 name=Zurgo Bellstriker auto=cantbeblockerof(creature[power>=2]) other={1}{R} name(Dash) -auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(ownerhand) all(this)])) forever +auto=if paid(alternative) then transforms((,haste,newability[@next end:moveto(hand) all(this)])) forever text=Zurgo Bellstriker can't block creatures with power 2 or greater. -- Dash {1}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) mana={R} type=Legendary Creature diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 68c0f553e..ae164c760 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -311,7 +311,7 @@ subtype=Ashiok name=Ashiok, Nightmare Muse auto=counter(0/0,5,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Create a Blue black nightmare) create(Nightmare:Nightmare creature:2/3:blue:black) and!( transforms((,newability[@combat(attacking) source(this):ingest:2 opponent],newability[@combat(blocking) source(this):ingest:2 opponent])) forever )! -auto={C(0/0,-3,Loyalty)}:name(-3: Return target nonland and exiles) moveTo(ownerhand) target(*[-land]) && ability$! moveto(exile) notATarget(*|myhand)!$ targetcontroller +auto={C(0/0,-3,Loyalty)}:name(-3: Return target nonland and exiles) moveTo(hand) target(*[-land]) && ability$! moveto(exile) notATarget(*|myhand)!$ targetcontroller auto={C(0/0,-7,Loyalty)}:name(-7: Cast up to three cards from exile) castcard(normal) target(*|opponentExile) text=+1: Create a 2/3 blue and black Nightmare creature token with "Whenever this creature attacks or blocks, each opponent exiles the top two cards of their library." -- -3: Return target nonland permanent to its owner's hand, then that player exiles a card from their hand. -- -7: You may cast up to three face-up cards your opponents own from exile without paying their mana costs. mana={3}{U}{B} @@ -398,9 +398,9 @@ subtype=Basri [card] name=Calix, Destiny's Hand abilities=hiddenface -aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerhand) +aicode=activate target(*[zpos<=4]|mylibrary) moveto(hand) auto=counter(0/0,4,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: Reveal four from top and reveal an enchantment) reveal:4 optionone name(Look at the top four cards) target(*[enchantment]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto={C(0/0,1,Loyalty)}:name(+1: Reveal four from top and reveal an enchantment) reveal:4 optionone name(Look at the top four cards) target(*[enchantment]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend auto={C(0/0,-3,Loyalty)}:name(-3: Exile creature or enchantment) target(creature,enchantment|opponentbattlefield) (blink)forsrc restriction{type(enchantment|mybattlefield)~morethan~0} auto={C(0/0,-7,Loyalty)}:name(-7: Return all enchantments) moveTo(myBattlefield) all(enchantment|myGraveyard) text=+1: Look at the top four cards of your library. You may reveal an enchantment card from among them and put that card into your hand. Put the rest on the bottom of your library in a random order. -- -3: Exile target creature or enchantment you don't control until target enchantment you control leaves the battlefield. -- -7: Return all enchantment cards from your graveyard to the battlefield. @@ -849,7 +849,7 @@ aicode=activate moveto(myHand) target(creature[zpos=2]|myLibrary) auto={C(0/0,1,Loyalty)}:name(+1: Add red if its a creature, Riot) add{R} && if type(creature|myStack)~morethan~0 then ability$!name(Choose one) choice name(Put a +1/1 counter) counter(1/1) target(creature[fresh]|myBattlefield) _ choice name(Gain Haste) haste target(creature[fresh]|myBattlefield)!$ controller auto={C(0/0,1,Loyalty)}:name(+1: Add green if its a creature, Riot) add{G} && if type(creature|myStack)~morethan~0 then ability$!name(Choose one) choice name(Put a +1/1 counter) counter(1/1) target(creature[fresh]|myBattlefield) _ choice name(Gain Haste) haste target(creature[fresh]|myBattlefield)!$ controller auto={C(0/0,-3,Loyalty)}:name(-3: Reveal four and put up to two creature) name(Look your Library) reveal:4 optionone name(Get a card) target(*[creature]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend -auto={C(0/0,-8,Loyalty)}:name(-8: Emblem: "Each end of turn create a 4/4 Beast) emblem transforms((,newability[@each end: create(Beast:Creature Beast:4/4:red:green:trample)])) forever dontremove +auto={C(0/0,-8,Loyalty)}:name(-8: Emblem: "Each end of turn create a 4/4 Beast) emblem transforms((,newability[@each end:create(Beast:Creature Beast:4/4:red:green:trample)])) forever dontremove text=+1: Add {R} or {G}. If that mana is spent on a creature spell, it gains riot. (It enters with your choice of a +1/+1 counter or haste.) -- -3: Look at the top four cards of your library. You may reveal up to two creature cards from among them and put them into your hand. Put the rest on the bottom of your library in a random order. -- -8: You get an emblem with "At the beginning of each end step, create a 4/4 red and green Beast creature token with trample." mana={2}{R}{G} type=Legendary Planeswalker @@ -893,7 +893,7 @@ subtype=Dovin name=Dovin, Grand Arbiter auto=counter(0/0,3,loyalty) aicode=activate target(*[zpos<=10]|mylibrary) moveto(myhand) -auto={C(0/0,1,Loyalty)}:name(+1: Whenever a creature combat damage, put loyalty counter) all(creature|myBattlefield) transforms((,newability[@combatdamaged(player) from(this):counter(0/0,1,Loyalty) notAtarget(Dovin^ Grand Arbiter|myBattlefield)])) ueot oneshot +auto={C(0/0,1,Loyalty)}:name(+1: Whenever a creature combat damage, put loyalty counter) all(creature|myBattlefield) transforms((,newability[@combatdamaged(player) from(this):counter(0/0.1.Loyalty) notAtarget(Dovin^ Grand Arbiter|myBattlefield)])) ueot auto={C(0/0,-1,Loyalty)}:name(-1: Create a 1/1 Thopter and gain 1 life) _THOPTERTOKEN_ && life:1 controller auto={C(0/0,-7,Loyalty)}:name(-7: Look at the top ten and put three in your hand) name(Look ten cards from top of your Library) reveal:10 optionone name(Get three cards) target(<3>*|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend text=+1: Until end of turn, whenever a creature you control deals combat damage to a player, put a loyalty counter on Dovin, Grand Arbiter. -- -1: Create a 1/1 colorless Thopter artifact creature token with flying. You gain 1 life. -- -7: Look at the top ten cards of your library. Put three of them into your hand and the rest on the bottom of your library in a random order. @@ -1487,7 +1487,7 @@ name=Jace, Unraveler of Secrets auto=counter(0/0,5,loyalty) aicode=activate transforms((,newability[draw:1 controller])) oneshot auto={C(0/0,1,Loyalty)}:name(+1: Scry and draw a card) scry:1 scrycore delayed draw:1 controller scrycoreend scryend -auto={C(0/0,-2,Loyalty)}:name(-2: Return target creature) moveto(ownerhand) target(creature) +auto={C(0/0,-2,Loyalty)}:name(-2: Return target creature) moveto(hand) target(creature) auto={C(0/0,-8,Loyalty)}:name(-8: Emblem: "Whenever spell cast, counter it") emblem transforms((,newability[@movedto(*|opponentstack) restriction{thisturn(*|opponentstack)~morethan~0}:choice fizzle all(*|opponentstack)])) forever dontremove text=+1: Scry 1, then draw a card. -- -2: Return target creature to its owner's hand. -- -8: You get an emblem with "Whenever an opponent casts their first spell each turn, counter that spell." mana={3}{U}{U} @@ -1511,7 +1511,7 @@ name=Jace, the Living Guildpact auto=counter(0/0,5,loyalty) aicode=activate transforms((,newability[target(*[zpos<=2]|mylibrary) moveto(ownergraveyard)])) oneshot auto={C(0/0,1,Loyalty)}:name(+1: Look the top two and put one in graveyard) reveal:2 optionone name(Put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(Put in library) target(*|reveal) moveto(ownerlibrary) optiontwoend revealend -auto={C(0/0,-3,Loyalty)}:name(-3: Return another nonland permanent) target(other *[-land]|battlefield) moveTo(ownerhand) +auto={C(0/0,-3,Loyalty)}:name(-3: Return another nonland permanent) target(other *[-land]|battlefield) moveTo(hand) auto={C(0/0,-8,Loyalty)}:name(-8: Timetwister) moveto(opponentlibrary) all(*|opponenthand) && moveto(opponentlibrary) all(*|opponentgraveyard) && shuffle opponent && moveto(mylibrary) all(*|myhand) && moveto(mylibrary) all(*|mygraveyard) && shuffle controller && draw:7 controller text=+1: Look at the top two cards of your library. Put one of them into your graveyard. -- -3: Return another target nonland permanent to its owner's hand. -- -8: Each player shuffles their hand and graveyard into their library. You draw seven cards. mana={2}{U}{U} @@ -1524,7 +1524,7 @@ auto=counter(0/0,3,loyalty) aicode=activate may bottomoflibrary all(*[zpos=1]|targetedpersonslibrary) auto={C(0/0,2,Loyalty)}:name(+2: Reveal top and put on bottom) target(player) reveal:1 optionone name(Put On Top) target(*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(put on bottom) target(<1>*|reveal) bottomoflibrary optiontwoend revealend auto={C(0/0,0,Loyalty)}:name(+0: Draw three and return two cards) draw:3 controller && transforms((,newability[target(<2>*|myhand) moveto(mylibrary)])) oneshot -auto={C(0/0,-1,Loyalty)}:name(-1: Return target creature) moveto(ownerhand) target(creature) +auto={C(0/0,-1,Loyalty)}:name(-1: Return target creature) moveto(hand) target(creature) auto={C(0/0,-12,Loyalty)}:name(-12: Exile target library and shuffle hand) target(player) ability$!all(*|mylibrary) moveto(exile) _ all(*|myhand) moveto(library) !$ targetedplayer text=+2: Look at the top card of target player's library. You may put that card on the bottom of that player's library. -- 0: Draw three cards, then put two cards from your hand on top of your library in any order. -- -1: Return target creature to its owner's hand. -- -12: Exile all cards from target player's library, then that player shuffles their hand into their library. mana={2}{U}{U} @@ -1591,8 +1591,8 @@ abilities=canbecommander auto=counter(0/0,5,loyalty) auto={C(0/0,+1,Loyalty)}:create(Kavu:Creature Kavu:3/3:trample:white:blue:black:red:green) auto={C(0/0,-3,Loyalty)}:name(counters equal to number of colors) target(creature) transforms((,newability[counter(1/1.mycolnum)])) -auto={C(0/0,-6,Loyalty)}:moveTo(ownerhand) target(*[multicolor]|mygraveyard) -auto={C(0/0,-6,Loyalty)}:name(Return card that's all colors) moveTo(ownerhand) target(*[white&blue&black&red&green]|mygraveyard) && draw:1 && _TREASURE_*2 +auto={C(0/0,-6,Loyalty)}:moveTo(hand) target(*[multicolor]|mygraveyard) +auto={C(0/0,-6,Loyalty)}:name(Return card that's all colors) moveTo(hand) target(*[white&blue&black&red&green]|mygraveyard) && draw:1 && _TREASURE_*2 text=[+1]: Create a 3/3 Kavu creature token with trample that's all colors. -- [-3]: Choose up to two target creatures. For each of them, put a number of +1/+1 counters on it equal to the number of colors it is. -- [-6]: Return target multicolored card from your graveyard to your hand. If that card was all colors, draw a card and create two Treasure tokens. -- Jared Carthalion can be your commander. mana={W}{U}{B}{R}{G} type=Legendary Planeswalker @@ -1698,7 +1698,7 @@ subtype=Kaito [card] name=Kaito, Dancing Shadow auto=counter(0/0,3,loyalty) -auto=@combatdamaged(player) from(creature|myBattlefield) turnlimited:may name(Return to hand) target(creature[attacking]|myBattlefield) moveto(ownerhand) && all(this) transforms((,newability[canloyaltytwice])) ueot +auto=@combatdamaged(player) from(creature|myBattlefield) turnlimited:may name(Return to hand) target(creature[attacking]|myBattlefield) moveto(hand) && all(this) transforms((,newability[canloyaltytwice])) ueot auto={C(0/0,+1,Loyalty)}:name(+1: Creature cannot attack or block) target(creature|battlefield) transforms((,cantpwattack,cantattack,cantblock)) uynt auto={C(0/0,+1,Loyalty)}:name(+1: Don't target any creature) donothing auto={C(0/0,0,Loyalty)}:name(+0: Draw a card) draw:1 controller @@ -1721,7 +1721,7 @@ subtype=Karn [/card] [card] name=Karn, Scion of Urza -aicode=activate target(*[zpos<=1]|myLibrary) moveto(ownerHand) && target(*[zpos<=1]|myLibrary) moveto(ownerExile) +aicode=activate target(*[zpos<=1]|myLibrary) moveto(hand) && target(*[zpos<=1]|myLibrary) moveto(ownerExile) auto=counter(0/0,5,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Reveal two exile one and put in hand) reveal:2 optionone name(Look at the top two cards) target(*|reveal) moveto(myHand) optiononeend optiontwo name(Exile) target(*|reveal) moveTo(myExile) optiontwoend revealend auto={C(0/0,-1,Loyalty)}:name(-1: Return a exiled card to your hand) moveTo(myHand) target(*|myExile) @@ -1922,7 +1922,7 @@ subtype=Koth [card] name=Koth, Fire of Resistance auto=counter(0/0,4,loyalty) -auto={C(0/0,+2,Loyalty)}:target(mountain[basic]|myLibrary) moveTo(ownerhand) +auto={C(0/0,+2,Loyalty)}:target(mountain[basic]|myLibrary) moveTo(hand) auto={C(0/0,-3,Loyalty)}:target(creature) damage:type:Mountain:mybattlefield auto={C(0/0,-7,Loyalty)}:emblem transforms((,newability[@movedTo(mountain|myBattlefield):damage:4 target(anytarget)])) forever dontremove text=[+2]: Search your library for a basic Mountain card, reveal it, put it into your hand, then shuffle. -- [-3]: Koth, Fire of Resistance deals damage to target creature equal to the number of Mountains you control. -- [-7]: You get an emblem with "Whenever a Mountain enters under your control, this emblem deals 4 damage to any target." @@ -2211,7 +2211,7 @@ subtype=Yanling name=Mu Yanling, Celestial Wind auto=counter(0/0,5,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Target creature gets -5/-0) target(creature) transforms((,newability[-5/0])) uynt -auto={C(0/0,-3,Loyalty)}:name(-3: Return up to two creatures) ability$! may target(<2>creature) moveTo(ownerhand) !$ controller +auto={C(0/0,-3,Loyalty)}:name(-3: Return up to two creatures) ability$! may target(<2>creature) moveTo(hand) !$ controller auto={C(0/0,-7,Loyalty)}:name(-7: Creatures with flying gets +5/+5) all(creature[flying]|myBattlefield) 5/5 ueot text=+1: Until your next turn, up to one target creature gets -5/-0. -- -3: Return up to two target creatures to their owners' hands. -- -7: Creatures you control with flying get +5/+5 until end of turn. mana={4}{U}{U} @@ -2263,11 +2263,11 @@ subtype=Nahiri [card] name=Nahiri, the Harbinger auto=counter(0/0,4,loyalty) -aicode=activate target(*[artifact;creature]|myLibrary) moveto(myBattlefield) and!( transforms((,haste,newability[@next end:moveTo(ownerhand)])) ueot )! +aicode=activate target(*[artifact;creature]|myLibrary) moveto(myBattlefield) and!( transforms((,haste,newability[@next end:moveTo(hand)])) ueot )! auto={C(0/0,2,Loyalty)}:name(+2: Don't discard any card) donothing auto={C(0/0,2,Loyalty)}:name(+2: Discard and draw a card) target(*|myHand) reject and!( draw:1 controller )! auto={C(0/0,-2,Loyalty)}:name(-2: Exile target enchantment, tapped Artifact or Creature) ability$!name(Choose one) choice name(Exile target enchantment) moveTo(exile) target(enchantment) _ choice name(Exile target tapped creature) moveTo(exile) target(creature[tapped]) _ choice name(Exile target tapped artifact) moveTo(exile) target(artifact[tapped])!$ controller -auto={C(0/0,-8,Loyalty)}:name(-8: Search a creature or artifact) reveal:plibrarycount optionone name(choose a creature or artifact) target(*[artifact;creature]|reveal) moveTo(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(*|reveal) moveTo(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!( shuffle )! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(myBattlefield) and!( transforms((,haste,newability[@next end:moveTo(ownerhand)])) ueot )! afterrevealedend revealend +auto={C(0/0,-8,Loyalty)}:name(-8: Search a creature or artifact) reveal:plibrarycount optionone name(choose a creature or artifact) target(*[artifact;creature]|reveal) moveTo(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(*|reveal) moveTo(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!( shuffle )! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(myBattlefield) and!( transforms((,haste,newability[@next end:moveTo(hand)])) ueot )! afterrevealedend revealend text=+2: You may discard a card. If you do, draw a card. -- -2: Exile target enchantment, tapped artifact, or tapped creature. -- -8: Search your library for an artifact or creature card, put it onto the battlefield, then shuffle. It gains haste. Return it to your hand at the beginning of the next end step. mana={2}{R}{W} type=Legendary Planeswalker @@ -2442,7 +2442,7 @@ name=Niko Aris auto=token(Shard)*x auto=counter(0/0,3,Loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Don't target creature) donothing -auto={C(0/0,1,Loyalty)}:name(+1: Target creature gains unblockable) target(creature|mybattlefield) transforms((,unblockable,newability[@damaged(player) from(this):moveto(ownerhand)],newability[@damaged(*[creature;planeswalker]|battlefield) from(this):moveto(ownerhand)])) ueot +auto={C(0/0,1,Loyalty)}:name(+1: Target creature gains unblockable) target(creature|mybattlefield) transforms((,unblockable,newability[@damaged(player) from(this):moveto(hand)],newability[@damaged(*[creature;planeswalker]|battlefield) from(this):moveto(hand)])) ueot auto={C(0/0,-1,Loyalty)}:name(-1: Create a shard) token(Shard) auto={C(0/0,-1,Loyalty)}:name(-1: Deals 2 damage) target(creature[tapped]) damage:twicepdrewcount text=When Niko Aris enters, create X Shard tokens. (They're enchantments with "{2}, Sacrifice this enchantment: Scry 1, then draw a card.") -- +1: Up to one target creature you control can't be blocked this turn. Whenever that creature deals damage this turn, return it to its owner's hand. -- -1: Niko Aris deals 2 damage to target tapped creature for each card you've drawn this turn. -- -1: Create a Shard token. @@ -2516,8 +2516,8 @@ subtype=Nissa name=Nissa, Sage Animist backside=Nissa, Vastwood Seer auto=counter(0/0,3,loyalty) -aicode=activate transforms((,newability[if type(land[zpos=1]|mylibrary)~morethan~0 then target(land[zpos=1]|mylibrary) moveto(ownerbattlefield) else target(*[zpos=1]|mylibrary) moveto(ownerhand)])) ueot -auto={C(0/0,1,Loyalty)}:name(+1: Reveal the top and put land on battlefield) reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) optiononeend optiontwo target(<1>*|reveal) moveto(ownerhand) optiontwoend revealend +aicode=activate transforms((,newability[if type(land[zpos=1]|mylibrary)~morethan~0 then target(land[zpos=1]|mylibrary) moveto(ownerbattlefield) else target(*[zpos=1]|mylibrary) moveto(hand)])) ueot +auto={C(0/0,1,Loyalty)}:name(+1: Reveal the top and put land on battlefield) reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) optiononeend optiontwo target(<1>*|reveal) moveto(hand) optiontwoend revealend auto={C(0/0,-2,Loyalty)}:name(-2: Create a Legendary 4/4 Elemental named Ashaya) create(Ashaya, the Awoken World:Legendary Creature Elemental:4/4:green) auto={C(0/0,-7,Loyalty)}:name(-7: Untap up to six land an becomes 6/6) target(land) transforms((Creature Elemental,newability[untap],setpower=6,settoughness=6)) forever text=+1: Reveal the top card of your library. If it's a land card, put it onto the battlefield. Otherwise, put it into your hand. -- -2: Put a legendary 4/4 green Elemental creature token named Ashaya, the Awoken World onto the battlefield. -- -7: Untap up to six target lands. They become 6/6 Elemental creatures. They're still lands. // Nissa, Vastwood Seer @@ -3120,7 +3120,7 @@ name=Tamiyo, Seasoned Scholar auto=counter(0/0,2,loyalty) auto={C(0/0,+2,Loyalty)}:name(+1: Attacking creatures get -1/-0) transforms((,newability[counter(0/0.1.TamiyoEffect)],newability[phaseaction[my untap once sourceinplay] counter(0/0.-1.TamiyoEffect)])) forever auto=this(counter{0/0.1.TamiyoEffect}>0) lord(creature[attacking]|opponentbattlefield) -1/0 -auto={C(0/0,-3,Loyalty)}:target(instant,sorcery|mygraveyard) moveto(ownerhand) and!( if cantargetcard(*[green]|*) then ability$! choice add{W} _ choice add{U} _ choice add{B} _ choice add{R} _ choice add{G} !$ controller)! +auto={C(0/0,-3,Loyalty)}:target(instant,sorcery|mygraveyard) moveto(hand) and!( if cantargetcard(*[green]|*) then ability$! choice add{W} _ choice add{U} _ choice add{B} _ choice add{R} _ choice add{G} !$ controller)! auto={C(0/0,-7,Loyalty)}:draw:halfdowntype:*:mylibrary and!( emblem transforms((,nomaxhand)) forever )! text=[+2]: Until your next turn, whenever a creature attacks you or a planeswalker you control, it gets -1/-0 until end of turn. -- [-3]: Return target instant or sorcery card from your graveyard to your hand. If it's a green card, add one mana of any color. -- [-7]: Draw cards equal to half the number of cards in your library, rounded up. You get an emblem with "You have no maximum hand size." color=green,blue @@ -3222,7 +3222,7 @@ auto=counter(0/0,4,loyalty) auto=@drawof(player):counter(0/0,1,Loyalty) auto={C(0/0,0,Loyalty)}:draw:1 auto={C(0/0,-2,Loyalty)}:create(spirit:creature spirit:2/2:blue:vigilance) and!( transforms((,newability[@drawof(player):counter(1/1)])) )! -auto={C(0/0,-12,Loyalty)}:target(opponent) ability$!name(return permanent) notatarget(*|mybattlefield) transforms((,newability[moveTo(ownerHand)],newability[all(other *[-land]|mybattlefield) moveTo(ownerHand) and!(shuffle)!] ))!$ targetedplayer +auto={C(0/0,-12,Loyalty)}:target(opponent) ability$!name(return permanent) notatarget(*|mybattlefield) transforms((,newability[moveTo(hand)],newability[all(other *[-land]|mybattlefield) moveTo(hand) and!(shuffle)!] ))!$ targetedplayer text=Whenever you draw a card, put a loyalty counter on Teferi, Temporal Pilgrim. -- [0]: Draw a card. -- [-2]: Create a 2/2 blue Spirit creature token with vigilance and "Whenever you draw a card, put a +1/+1 counter on this creature." -- [-12]: Target opponent chooses a permanent they control and returns it to its owner's hand. Then they shuffle each nonland permanent they control into its owner's library. mana={3}{U}{U} type=Legendary Planeswalker @@ -3233,7 +3233,7 @@ name=Teferi, Time Raveler auto=counter(0/0,4,loyalty) auto=this(variable{controllerturn}>0) maxCast(*)0 opponent auto={C(0/0,1,Loyalty)}:name(+1: Cast sorceries as flash) emblem transforms((,newability[lord(sorcery|mycastingzone) asflash])) uynt -auto={C(0/0,-3,Loyalty)}:name(-3: Return artifact, creature or enchantment) target(*[artifact;creature;enchantment]) moveTo(ownerhand) && draw:1 controller +auto={C(0/0,-3,Loyalty)}:name(-3: Return artifact, creature or enchantment) target(*[artifact;creature;enchantment]) moveTo(hand) && draw:1 controller text=Each opponent can cast spells only any time they could cast a sorcery. -- +1: Until your next turn, you may cast sorcery spells as though they had flash. -- -3: Return up to one target artifact, creature, or enchantment to its owner's hand. Draw a card. mana={1}{W}{U} type=Legendary Planeswalker @@ -3432,7 +3432,7 @@ name=Tezzeret, Master of the Bridge auto=counter(0/0,5,loyalty) auto=lord(*[creature;planeswalker]|mycastingzone) affinityartifacts auto={C(0/0,2,Loyalty)}:name(+2: Deals X and Gain X life) damage:type:artifact:mybattlefield opponent && life:type:artifact:mybattlefield controller -auto={C(0/0,-3,Loyalty)}:name(-3: Return target artifact from graveyard) target(artifact|mygraveyard) moveTo(ownerhand) +auto={C(0/0,-3,Loyalty)}:name(-3: Return target artifact from graveyard) target(artifact|mygraveyard) moveTo(hand) auto={C(0/0,-8,Loyalty)}:name(-8: Exile ten from top and put artifacts) reveal:10 optionone name(Get artifact Cards) all(artifact|reveal) moveTo(mybattlefield) optiononeend optiontwo all(*|reveal) moveTo(exile) optiontwoend revealend text=Creature and planeswalker spells you cast have affinity for artifacts. -- +2: Tezzeret, Master of the Bridge deals X damage to each opponent, where X is the number of artifacts you control. You gain X life. -- -3: Return target artifact card from your graveyard to your hand. -- -8: Exile the top ten cards of your library. Put all artifact cards from among them onto the battlefield. mana={4}{U}{B} @@ -3740,7 +3740,7 @@ name=Vraska, Betrayal's Sting auto=if paid(alternative) then counter(0/0,4,loyalty) auto=ifnot paid(alternative) then counter(0/0,6,loyalty) auto={C(0/0,0,Loyalty)}:name(0: Draw card and lose life) draw:1 controller && life:-1 controller && _PROLIFERATE_ -auto={C(0/0,-2,Loyalty)}:name(-2: Creature becomes treasure) target(creature|battlefield) flip(Treasure) +auto={C(0/0,-2,Loyalty)}:name(-2: Creature becomes treasure) target(creature|battlefield) transforms((removeallsubtypes,removeallcolors,newability[becomes(Treasure artifact)],,newability[{T}{S}:Add{W}],newability[{T}{S}:Add{U}],newability[{T}{S}:Add{B}],newability[{T}{S}:Add{R}],newability[{T}{S}:Add{G}])) forever auto={C(0/0,-9,Loyalty)}:name(-9: You get poison counter) alterpoison:9minusmypoisoncountminusend controller auto={C(0/0,-9,Loyalty)}:name(-9: Opponent gets poison counter) alterpoison:9minusopponentpoisoncountminusend opponent text=Compleated ({B/P} can be paid with {B} or 2 life. If life was paid, this planeswalker enters with two fewer loyalty counters.) -- [0]: You draw a card and you lose 1 life. Proliferate. -- [-2]: Target creature becomes a Treasure artifact with "{T}, Sacrifice this artifact: Add one mana of any color" and loses all other card types and abilities. -- [-9]: If target player has fewer than nine poison counters, they get a number of poison counters equal to the difference. @@ -3808,7 +3808,7 @@ name=Vronos, Masked Inquisitor auto=counter(0/0,5,loyalty) auto={C(0/0,+1,Loyalty)}:name(+1: Phase out) target(other planeswalker|myBattlefield) transforms((,newability[@next end:phaseout])) forever auto={C(0/0,+1,Loyalty)}:name(+1: Don't phase out) donothing -auto={C(0/0,-2,Loyalty)}:name(-2: Return nonland permanent) target(*[-land]|opponentbattlefield) moveto(ownerhand) +auto={C(0/0,-2,Loyalty)}:name(-2: Return nonland permanent) target(*[-land]|opponentbattlefield) moveto(hand) auto={C(0/0,-7,Loyalty)}:name(-7: Artifact becomes construct) target(artifact|myBattlefield) transforms((Creature Artifact Construct,setpower=9,settoughness=9,vigilance,indestructible,unblockable)) forever text=[+1]: Up to two other target planeswalkers you control phase out at the beginning of the next end step. (Treat them and anything attached to them as though they don't exist until your next turn.) -- [-2]: For each opponent, return up to one target nonland permanent that player controls to its owner's hand. -- [-7]: Target artifact you control becomes a 9/9 Construct artifact creature and gains vigilance, indestructible, and "This creature can't be blocked." mana={3}{U}{U}