diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index aada80f3c..20f18edae 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(myhand) winabilityend loseability if compare(lastrollresult)~lessthan~10 then may name(Put on top) moveTo(mylibrary) else moveto(myhand) loseabilityend rolld20end +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 text=Psionic Spells - When Aberrant Mind Sorcerer enters the battlefield, 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 @@ -202,9 +202,9 @@ type=Instant [/card] [card] name=Abundant Harvest -aicode=activate transforms((,newability[all(*[zpos=findfirsttypenonland]|mylibrary) moveto(myhand) 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(myhand) 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(myhand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -306,8 +306,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(myHand) 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(myhand) 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(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 text=When Acclaimed Contender enters the battlefield, 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 @@ -369,7 +369,7 @@ toughness=4 [/card] [card] name=Acolyte of Affliction -auto=deplete:2 controller && may moveTo(myHand) target(*[-sorcery;-instant]|myGraveyard) oneshot +auto=deplete:2 controller && may moveto(ownerHand) target(*[-sorcery;-instant]|myGraveyard) oneshot text=When Acolyte of Affliction enters the battlefield, 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 @@ -632,8 +632,8 @@ type=Conspiracy [/card] [card] name=Adventure Awaits -aicode=activate transforms((,newability[if type(creature[zpos<=5]|myLibrary)~morethan~0 then target(creature[zpos<=5]|myLibrary) moveTo(myHand) 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(myHand)],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(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 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} @@ -641,8 +641,8 @@ type=Sorcery [/card] [card] name=Adventurous Impulse -aicode=activate transforms((,newability[target(*[creature;land;zpos<=3]|myLibrary) moveTo(myHand) 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(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -841,7 +841,7 @@ type=Instant name=Aether Helix target=*[-instant;-sorcery]|battlefield auto=moveto(ownerhand) -auto=ability$!name(Return permanent) name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(myhand)!$ controller +auto=ability$!name(Return permanent) name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerHand)!$ 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 @@ -1206,7 +1206,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(myhand)],newability[if type(plains[tobereturn]|mygraveyard)~morethan~0 then choice name(Return a plains) name(Return a plains) target(plains[tobereturn]|mygraveyard) moveto(myhand)],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(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 )! text=Flying -- When Airlift Chaplain enters the battlefield, 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 @@ -1216,8 +1216,8 @@ toughness=1 [/card] [card] name=Ajani's Aid -auto=moveto(myhand) target(Ajani^ Valiant Protector|mylibrary) -auto=moveto(myhand) target(Ajani^ Valiant Protector|mygraveyard) +auto=moveto(ownerHand) target(Ajani^ Valiant Protector|mylibrary) +auto=moveto(ownerHand) target(Ajani^ Valiant Protector|mygraveyard) auto={S}:target(creature) preventAllCombatDamage to(mytgt) ueot text=When Ajani's Aid enters the battlefield, 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} @@ -1238,8 +1238,8 @@ toughness=3 name=Ajani's Influence target=creature auto=counter(1/1,2) -aicode=activate transforms((,newability[target(*[white;zpos<=5]|mylibrary) moveto(myhand) 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(myhand) 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(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 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 @@ -1448,8 +1448,8 @@ toughness=6 [card] name=Alabaster Host Intercessor auto=target(creature|opponentbattlefield) (blink)forsrc -aicode=activate target(plains|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Alabaster Host Intercessor enters the battlefield, 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 @@ -1480,17 +1480,17 @@ toughness=1 [/card] [card] name=Aladdin's Lamp -aicode=activate transforms((,newability[target(*[zpos<=fullpaid]|mylibrary) moveto(myhand) and!( all(*[zpos<=fullpaid]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=fullpaid]|mylibrary) moveto(ownerHand) 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(myhand) and!( all(*[zpos<=1]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=2]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=4]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=6]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=7]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=8]|mylibrary) moveto(myhand) )! 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(myhand) and!( all(*[zpos<=9]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(*[zpos<=10]) moveto(myhand) 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(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 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 @@ -1508,7 +1508,7 @@ toughness=4 [/card] [card] name=Alaundo the Seer -auto={T}:name(Draw and exile) all(*[zpos=1]|mylibrary) moveto(myhand) 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((,newability[haste])) ueot )! )!])) forever])!)) forever )! +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((,newability[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 @@ -1801,11 +1801,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(myhand) and!( transforms((,newability[name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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=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 the battlefield, 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 your library. -- Whenever Alpine Houndmaster attacks, it gets +X/+0 until end of turn, where X is the number of other attacking creatures. @@ -1871,8 +1871,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 endofturn restriction{compare(isflipped)~equalto~0}:transforms((,newability[choice name(Creature) reveal:2 optionone name(Get Creature) target(<2>Creature|reveal) moveto(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) and!( all(*[-creature;zpos<=2]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +auto=@each my endofturn 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 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 @@ -1955,12 +1955,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(myhand)])) oneshot -auto=@movedTo(planeswalker|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(planeswalker|reveal) moveto(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 text=Flying -- Whenever another permanent enters the battlefield 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 @@ -2012,7 +2012,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(myhand) and!( shuffle )! +auto=may name(Search a basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! auto={1}{W}{W} restriction{coven}:name(Transform Ambitious Farmhand) flip(backside) text=When Ambitious Farmhand enters the battlefield, 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} @@ -2329,7 +2329,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(myhand) and!( shuffle )! +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)~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 your library.) mana={2}{U}{B} @@ -2591,8 +2591,8 @@ toughness=4 [card] name=Angel of the Ruins abilities=flying -aicode=activate target(plains|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto=target(*[artifact;enchantment]|battlefield) moveto(exile) text=Flying -- When Angel of the Ruins enters the battlefield, 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} @@ -2803,7 +2803,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(myhand) target(Angrath^ Minotaur Pirate|mylibrary,mygraveyard) +auto=may name(Move Angrath, Minotaur Pirate to hand) name(Move Angrath, Minotaur Pirate to hand) moveto(ownerHand) 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 @@ -3536,15 +3536,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(myHand) 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(myhand) 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(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 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(myhand) and!( transforms((,newability[all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! +aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) 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 @@ -3556,17 +3556,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 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 @@ -3616,8 +3616,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(myhand) 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(myhand) 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(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 text=Flying -- When Arcanist's Owl enters the battlefield, 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 @@ -3745,8 +3745,8 @@ type=Land [/card] [card] name=Archaeomancer's Map -aicode=activate moveTo(myhand) and!( shuffle )! target(plains[basic]|myLibrary) -auto=name(Search 2 plains) reveal:plibrarycount optionone name(choose card) target(plains[basic]|reveal) moveto(myhand) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(mylibrary) and!( all(*|reveal) moveto(mylibrary) and!(shuffle)! )! optiontwoend revealend +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 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 the battlefield, search your library for up to two basic Plains cards, reveal them, put them into your hand, then shuffle. -- Whenever a land enters the battlefield 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} @@ -3754,7 +3754,7 @@ type=Artifact [/card] [card] name=Archaeomender -auto=moveto(myhand) target(artifact|mygraveyard) +auto=moveto(ownerHand) target(artifact|mygraveyard) text=When Archaeomender enters the battlefield, return target artifact card from your graveyard to your hand. mana={2}{U} type=Creature @@ -3859,8 +3859,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(myhand) 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(myhand) 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(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 )! 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 @@ -3873,7 +3873,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -4206,7 +4206,7 @@ toughness=2 [/card] [card] name=Ardent Elementalist -auto=name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(myhand) +auto=name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) text=When Ardent Elementalist enters the battlefield, return target instant or sorcery card from your graveyard to your hand. mana={3}{R} type=Creature @@ -4921,7 +4921,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 endofturn:may name(Mill 4 cards) all(*[zpos<=3]|mylibrary) moveto(mygraveyard) and!( transforms((toberat,newability[all(*[zpos=4]|mylibrary) moveto(mygraveyard) and!( transforms((toberat,newability[may name(Return 2 rats) target(toberat[creature&rat]|mygraveyard) moveto(myhand)])) ueot )!])) ueot )! +auto=@each my endofturn:may name(Mill 4 cards) all(*[zpos<=3]|mylibrary) moveto(mygraveyard) and!( transforms((toberat,newability[all(*[zpos=4]|mylibrary) moveto(mygraveyard) and!( transforms((toberat,newability[may name(Return 2 rats) target(toberat[creature&rat]|mygraveyard) moveto(ownerHand)])) 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 @@ -4960,7 +4960,7 @@ type=Enchantment [/card] [card] name=Ashiok's Forerunner -auto=may moveto(myHand) target(Ashiok^ Sculptor of Fears|mylibrary,mygraveyard) && shuffle +auto=may moveto(ownerHand) target(Ashiok^ Sculptor of Fears|mylibrary,mygraveyard) && shuffle text=Flash -- When Ashiok's Forerunner enters the battlefield, 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 @@ -5051,7 +5051,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(myHand) and!( shuffle )! +auto=may name(Search library) target(The Underworld Cookbook|mylibrary) moveto(ownerHand) 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 the battlefield, 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 @@ -5382,8 +5382,8 @@ toughness=2 [card] name=Atraxa, Grand Unifier abilities=deathtouch,flying,lifelink,vigilance -aicode=activate transforms((,newability[target(*[zpos<=10]|mylibrary) moveto(myhand) 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(myhand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +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 text=Flying, vigilance, deathtouch, lifelink -- When Atraxa, Grand Unifier enters the battlefield, 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 @@ -5712,7 +5712,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -6169,9 +6169,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(myhand) and!( transforms((,newability[name(Get equipment) target(equipment|mylibrary) moveto(myhand) and!( shuffle )!])) oneshot )! -auto={1}{R}{R}{W}{T}{S}:name(Search aura) target(aura|mylibrary) moveto(myhand) and!( shuffle )! -auto={1}{R}{R}{W}{T}{S}:name(Search equipment) target(equipment|mylibrary) moveto(myhand) and!( shuffle )! +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 )! text=Axgard Armory enters the battlefield 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 your library. type=Land [/card] @@ -6228,7 +6228,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(myhand) 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(ownerHand) 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 @@ -6295,8 +6295,8 @@ toughness=2 [card] name=Azcanta, the Sunken Ruin auto={T}:Add{U} -aicode=activate transforms((,newability[target(*[-land;-creature;zpos<=4]|mylibrary) moveto(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=(Transforms from Search for Azcanta.) -- {T}: Add {U} to your mana pool. -- {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] @@ -6590,7 +6590,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(myHand) target(*|myGraveyard) +auto=name(Return a card from graveyard) name(Return a card from graveyard) moveto(ownerHand) target(*|myGraveyard) text=Return target card from your graveyard to your hand. // Bala Ged Sanctuary mana={2}{G} type=Sorcery @@ -7160,26 +7160,26 @@ toughness=2 [/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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(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 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 @@ -7249,7 +7249,7 @@ toughness=3 [/card] [card] name=Barrow Witches -auto=moveto(myhand) target(creature[knight]|mygraveyard) +auto=moveto(ownerHand) target(creature[knight]|mygraveyard) text=When Barrow Witches enters the battlefield, return target Knight card from your graveyard to your hand. mana={4}{B} type=Creature @@ -7338,8 +7338,8 @@ type=Land [/card] [card] name=Basic Conjuration -aicode=activate target(creature[zpos<=6]|mylibrary) moveto(myhand) -auto=name(Look top 6 cards) reveal:6 optionone name(Get Creature) target(creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend +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 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} @@ -7423,8 +7423,8 @@ toughness=3 name=Basri's Aegis target=creature auto=counter(1/1) -auto=choice name(Search Library) may moveto(myhand) target(Basri^ Devoted Paladin|myLibrary) && shuffle -auto=choice name(Search Graveyard) may moveto(myhand) target(Basri^ Devoted Paladin|myGraveyard) +auto=choice name(Search Library) may moveto(ownerHand) target(Basri^ Devoted Paladin|myLibrary) && shuffle +auto=choice name(Search Graveyard) may moveto(ownerHand) target(Basri^ Devoted Paladin|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 @@ -7481,7 +7481,7 @@ toughness=2 [/card] [card] name=Battalion Foot Soldier -auto=may moveto(myhand) target(Battalion Foot Soldier|mylibrary) +auto=may moveto(ownerHand) target(Battalion Foot Soldier|mylibrary) text=When Battalion Foot Soldier enters the battlefield, you may search your library for any number of cards named Battalion Foot Soldier, reveal them, put them into your hand, then shuffle your library. mana={2}{W} type=Creature @@ -7563,8 +7563,8 @@ toughness=5 [/card] [card] name=Battle Plan -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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} @@ -8321,10 +8321,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(myhand) 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(myhand)],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(myhand)],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(myhand) 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(myhand) 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(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 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} @@ -8491,7 +8491,7 @@ subtype=Equipment name=Bestial Bloodline target=creature auto=teach(creature) +2/+2 -autograveyard={4}{G}:moveTo(myHand) +autograveyard={4}{G}:moveto(ownerHand) text=Enchant creature -- Enchanted creature gets +2/+2. -- {4}{G}: Return Bestial Bloodline from your graveyard to your hand. mana={1}{G} type=Enchantment @@ -9363,7 +9363,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(myhand)],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(ownerHand)],newability[choice name(Put 1/1 counter) target(Blanchwood Prowler[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Blanchwood Prowler enters the battlefield, 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 @@ -10024,8 +10024,8 @@ toughness=1 [card] name=Blood Beckoning kicker={3} -auto=if paid(kicker) then moveTo(myHand) target(<2>creature|mygraveyard) -auto=ifnot paid(kicker) then moveTo(myHand) target(creature|mygraveyard) +auto=if paid(kicker) then moveto(ownerHand) target(<2>creature|mygraveyard) +auto=ifnot paid(kicker) then moveto(ownerHand) 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 @@ -10067,7 +10067,7 @@ type=Sorcery [card] name=Blood Fountain auto=token(Blood) -auto={3}{B}{T}{S}:name(Return 2 creatures) target(creature|mygraveyard) moveto(myhand) +auto={3}{B}{T}{S}:name(Return 2 creatures) target(creature|mygraveyard) moveto(ownerHand) text=When Blood Fountain enters the battlefield, 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 @@ -10105,7 +10105,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(myhand) all(this) +autograveyard=@surveiled(*|mybattlefield,mystack):pay({L:3}) name(return to hand) moveto(ownerHand) all(this) text=Lifelink -- When Blood Operative enters the battlefield, 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 @@ -10135,8 +10135,8 @@ toughness=1 [/card] [card] name=Blood Price -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos<=2]|mylibrary) && life:-2])) ueot -auto=name(look) reveal:4 optionone name(Get 2 card) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend afterrevealed choice life:-2 afterrevealedend revealend +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 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 @@ -10186,7 +10186,7 @@ toughness=5 [card] name=Blood for Bones auto=ability$!notatarget(creature|mygraveyard) moveto(mybattlefield)!$ controller -auto=ability$!notatarget(creature|mygraveyard) moveto(myhand)!$ controller +auto=ability$!notatarget(creature|mygraveyard) moveto(ownerHand)!$ 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 @@ -10646,8 +10646,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(myhand) 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(myhand)],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(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 text=Reach -- When Blossom Prancer enters the battlefield, 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 @@ -11121,7 +11121,7 @@ type=Sorcery [/card] [card] name=Bond of Flourishing -auto=reveal:3 optionone name(Get a card) target(*[-instant;-sorcery]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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=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} @@ -11317,7 +11317,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -11326,8 +11326,8 @@ auto={9999}: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(myhand) -auto=@mutated(mytgt):name(Return to hand) target(*[-instant&-sorcery]|mygraveyard) moveto(myhand) +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) 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 @@ -11567,7 +11567,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(myhand)])) 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(ownerHand)])) 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 your library. mana={2}{W} type=Creature @@ -11595,9 +11595,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 text=Whenever Boromir, Gondor's Hope enters the battlefield 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 @@ -11697,7 +11697,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(myhand) and!( shuffle )! +auto=may name(Search 2 lands) target(forest[basic]|mylibrary) moveto(ownerHand) 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. @@ -11770,7 +11770,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(myhand) +auto=@each my upkeep:all(*[counter{0/0.1.BottledExiled}]|myexile) moveto(ownerHand) 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 @@ -11798,7 +11798,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(myhand)])) 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(ownerHand)])) 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 by spells or abilities this turn. -- Draw a card. mana={3}{B}{G} type=Instant @@ -11867,10 +11867,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(myhand) && 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(myhand) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend +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 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(myhand) 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 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 @@ -11918,7 +11918,7 @@ type=Sorcery [card] name=Brackish Trudge auto=tap(noevent) -autograveyard={1}{B} restriction{compare(lifegain)~morethan~0}:name(Return to hand) moveto(myhand) +autograveyard={1}{B} restriction{compare(lifegain)~morethan~0}:name(Return to hand) moveto(ownerHand) text=Brackish Trudge enters the battlefield 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 @@ -12149,7 +12149,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=Haste -- When Brazen Buccaneers enters the battlefield, 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} @@ -12191,7 +12191,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(myhand) 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(ownerHand) 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 @@ -12513,7 +12513,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(myhand) 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(ownerHand) 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 @@ -12760,7 +12760,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -13375,7 +13375,7 @@ toughness=4 [/card] [card] name=Bushwhack -auto=choice target(land[basic]|mylibrary) moveto(myhand) +auto=choice target(land[basic]|mylibrary) moveto(ownerHand) 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} @@ -14472,9 +14472,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(myHand) 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(myhand) 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(myhand) 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(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 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 the battlefield 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} @@ -14486,7 +14486,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(myHand) 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(ownerHand) 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 your library. mana={1}{W} type=Creature @@ -14934,7 +14934,7 @@ type=Enchantment [card] name=Cavalier of Dawn abilities=vigilance -auto=_DIES_moveTo(myhand) target(*[artifact;enchantment]|mygraveyard) +auto=_DIES_moveto(ownerHand) 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 the battlefield, 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} @@ -14984,7 +14984,7 @@ toughness=5 [card] name=Cavalier of Thorns abilities=reach -auto=reveal:5 optionone name(Get land) target(land|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=reveal:5 optionone name(Get land) target(land|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend auto=_DIES_may all(trigger[to]) moveto(exile) && moveto(mylibrary) target(*|mygraveyard) text=Reach -- When Cavalier of Thorns enters the battlefield, reveal the top five cards of your library. Put a land card from among them onto the battlefield and the rest into your graveyard. -- When Cavalier of Thorns dies, you may exile it. If you do, put another target card from your graveyard on top of your library. mana={2}{G}{G}{G} @@ -15039,7 +15039,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -15334,7 +15334,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=When Cenote Scout enters the battlefield, 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} @@ -15624,7 +15624,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(myhand) +autograveyard={W}{U}{B}{R}{G}:moveto(ownerHand) text=Chamber Sentry enters the battlefield 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 @@ -15860,8 +15860,8 @@ toughness=2 [card] name=Chandra's Firemaw abilities=haste -auto=choice name(Search Library) may moveto(myhand) target(Chandra^ Flame's Catalyst|myLibrary) && shuffle -auto=choice name(Search Graveyard) may moveto(myhand) target(Chandra^ Flame's Catalyst|myGraveyard) +auto=choice name(Search Library) may moveto(ownerHand) target(Chandra^ Flame's Catalyst|myLibrary) && shuffle +auto=choice name(Search Graveyard) may moveto(ownerHand) target(Chandra^ Flame's Catalyst|myGraveyard) text=Haste -- When Chandra's Firemaw enters the battlefield, 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 @@ -15874,8 +15874,8 @@ name=Chandra's Flame Wave target=player auto=damage:2 auto=damage:2 all(creature|targetedpersonsBattlefield) -auto=moveto(myhand) target(Chandra's Flame Wave|mylibrary) -auto=moveto(myhand) target(Chandra's Flame Wave|mygraveyard) +auto=moveto(ownerHand) target(Chandra's Flame Wave|mylibrary) +auto=moveto(ownerHand) target(Chandra's Flame Wave|mygraveyard) 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 @@ -16666,7 +16666,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -16804,8 +16804,8 @@ toughness=2 [card] name=Chrome Courier abilities=flying -aicode=activate target(*[zpos<=2]|mylibrary) moveto(myhand) 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(myhand) 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(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 text=Flying -- When Chrome Courier enters the battlefield, 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 @@ -17355,7 +17355,7 @@ type=Instant name=Clattering Augur abilities=cantblock auto=draw:1 controller && life:-1 controller -autograveyard={2}{B}{B}: name(Return to hand) moveto(myhand) +autograveyard={2}{B}{B}: name(Return to hand) moveto(ownerHand) text=Clattering Augur can't block. -- When Clattering Augur enters the battlefield, 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 @@ -17408,7 +17408,7 @@ toughness=4 [card] name=Clay Revenant auto=tap(noevent) -autograveyard={2}{B}:moveto(myhand) all(this) +autograveyard={2}{B}:moveto(ownerHand) all(this) text=Clay Revenant enters the battlefield tapped. -- {2}{B}: Return Clay Revenant from your graveyard to your hand. mana={1} type=Artifact Creature @@ -17500,7 +17500,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(myhand) +auto=if type(creature[power>3]|mybattlefield)~morethan~0 then may target(creature|mygraveyard) moveto(ownerHand) 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 @@ -17527,7 +17527,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(myhand) +autograveyard={L:3}:restriction{thisturn(*[angel;berserker]|mybattlefield)~morethan~0} name(Move back to hand) moveto(ownerHand) 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 @@ -17832,7 +17832,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -17957,8 +17957,8 @@ toughness=2 [/card] [card] name=Coax from the Blind Eternities -auto=choice name(Look Exile) moveto(myhand) target(*[eldrazi]|myexile) -auto=choice name(Look Sideboard) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(Choose eldrazi) target(*[eldrazi]|reveal) moveto(myhand) optiononeend optiontwo name(put back) all(other *|reveal) moveto(ownersideboard) optiontwoend revealend +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(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} @@ -18116,26 +18116,26 @@ toughness=5 [card] name=Colfenor, the Last Yew abilities=vigilance,reach -auto=@movedTo(creature[toughness=1]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=1]|myGraveyard) -auto=@movedTo(creature[toughness=3]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=2]|myGraveyard) -auto=@movedTo(creature[toughness=4]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=3]|myGraveyard) -auto=@movedTo(creature[toughness=5]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=4]|myGraveyard) -auto=@movedTo(creature[toughness=6]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=5]|myGraveyard) -auto=@movedTo(creature[toughness=7]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=6]|myGraveyard) -auto=@movedTo(creature[toughness=8]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=7]|myGraveyard) -auto=@movedTo(creature[toughness=9]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=8]|myGraveyard) -auto=@movedTo(creature[toughness=10]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=9]|myGraveyard) -auto=@movedTo(creature[toughness=11]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=10]|myGraveyard) -auto=@movedTo(creature[toughness=12]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=11]|myGraveyard) -auto=@movedTo(creature[toughness=13]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=12]|myGraveyard) -auto=@movedTo(creature[toughness=14]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=13]|myGraveyard) -auto=@movedTo(creature[toughness=15]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=14]|myGraveyard) -auto=@movedTo(creature[toughness=16]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=15]|myGraveyard) -auto=@movedTo(creature[toughness=17]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=16]|myGraveyard) -auto=@movedTo(creature[toughness=18]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=17]|myGraveyard) -auto=@movedTo(creature[toughness=19]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=18]|myGraveyard) -auto=@movedTo(creature[toughness=20]|Graveyard) from(mybattlefield):moveto(myhand) target(creature[toughness<=19]|myGraveyard) -auto=@movedTo(creature[toughness>20]|Graveyard) from(mybattlefield):moveto(myhand) target(creature|myGraveyard) +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) 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 @@ -18541,7 +18541,7 @@ type=Instant [card] name=Command Beacon auto={T}:add{C} -auto={T}{S}:target(*[iscommander]|mycommandzone) moveto(myhand) +auto={T}{S}:target(*[iscommander]|mycommandzone) moveto(ownerHand) text={T}: Add {C} to your mana pool. -- {T}, Sacrifice Command Beacon: Put your commander into your hand from the command zone. type=Land [/card] @@ -18678,14 +18678,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(myhand) 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(ownerHand) 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(myhand) 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(ownerHand) 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 @@ -18975,36 +18975,6 @@ mana={2}{G} type=Sorcery [/card] [card] -name=Confiscation Coup -#AUTO_DEFINE _HARNESSED_CONTROL_($c) this(variable{penergy}>=$c) choice moveTo(mybattlefield) target(artifact,creature[manacost=$c]|opponentbattlefield) && alterenergy:-$c controller -target=artifact,creature -auto=alterenergy:4 controller -auto=_HARNESSED_CONTROL_(0) -auto=_HARNESSED_CONTROL_(1) -auto=_HARNESSED_CONTROL_(2) -auto=_HARNESSED_CONTROL_(3) -auto=_HARNESSED_CONTROL_(4) -auto=_HARNESSED_CONTROL_(5) -auto=_HARNESSED_CONTROL_(6) -auto=_HARNESSED_CONTROL_(7) -auto=_HARNESSED_CONTROL_(8) -auto=_HARNESSED_CONTROL_(9) -auto=_HARNESSED_CONTROL_(10) -auto=_HARNESSED_CONTROL_(11) -auto=_HARNESSED_CONTROL_(12) -auto=_HARNESSED_CONTROL_(13) -auto=_HARNESSED_CONTROL_(14) -auto=_HARNESSED_CONTROL_(15) -auto=_HARNESSED_CONTROL_(16) -auto=_HARNESSED_CONTROL_(17) -auto=_HARNESSED_CONTROL_(18) -auto=_HARNESSED_CONTROL_(19) -auto=_HARNESSED_CONTROL_(20) -text=Choose target artifact or creature. You get {E}{E}{E}{E} (four energy counters), then you may pay an amount of {E} equal to that permanent's mana value. If you do, gain control of it. -mana={3}{U}{U} -type=Sorcery -[/card] -[card] name=Conflagrate flashback={R}{R} auto=ifnot gravecast then thisforeach(X) ability$!name(Deal 1 damage) name(Deal 1 damage) target(anytarget) damage:1!$ controller @@ -19015,11 +18985,11 @@ type=Sorcery [/card] [card] name=Conflux -auto=ability$!name(white card) moveto(myhand) notatarget(*[white]|mylibrary)!$ controller -auto=ability$!name(blue card) moveto(myhand) notatarget(*[blue]|mylibrary)!$ controller -auto=ability$!name(black card) moveto(myhand) notatarget(*[black]|mylibrary)!$ controller -auto=ability$!name(red card) moveto(myhand) notatarget(*[red]|mylibrary)!$ controller -auto=ability$!name(green card) moveto(myhand) notatarget(*[green]|mylibrary)!$ controller +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 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 your library. mana={3}{W}{U}{B}{R}{G} type=Sorcery @@ -19104,7 +19074,7 @@ name=Conqueror's Foothold auto={T}:Add{1} auto={2}{T}:_LOOT_ auto={4}{T}:draw:1 controller -auto={6}{T}:moveto(myhand) target(*|mygraveyard) +auto={6}{T}:moveto(ownerHand) target(*|mygraveyard) text=(Transforms from Conqueror's Galleon.) -- {T}: Add {1} to your mana pool. -- {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] @@ -19355,7 +19325,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(myhand)])) 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(ownerHand)])) 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 the battlefield, 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} @@ -19558,9 +19528,9 @@ toughness=2 [/card] [card] name=Coralhelm Chronicler -aicode=activate target(*[zpos<=5]|myLibrary) moveTo(myHand) +aicode=activate target(*[zpos<=5]|myLibrary) moveto(ownerHand) auto=@movedTo(*[kicked>=1]|myStack):_LOOT_ -auto=name(Reveal five and search kicked) reveal:5 optionone name(Get card) target(*[haskicker]|reveal) moveTo(myHand) 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(ownerHand) 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 the battlefield, 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 @@ -19813,8 +19783,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(myhand)])) oneshot -auto=if cantargetcard(*[manacost>=4]|*) then moveto(myhand) +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) 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 @@ -19924,7 +19894,7 @@ type=Sorcery [card] name=Courier Bat abilities=flying -auto=if compare(lifegain)~morethan~0 then may name(Return card) target(*|mygraveyard) moveto(myhand) +auto=if compare(lifegain)~morethan~0 then may name(Return card) target(*|mygraveyard) moveto(ownerHand) text=Flying -- When Courier Bat enters the battlefield, if you gained life this turn, return up to one target creature card from your graveyard to your hand. mana={2}{B} type=Creature @@ -20076,8 +20046,8 @@ toughness=4 [card] name=Coveted Prize abilities=hiddenface,affinityparty -aicode=activate moveTo(myHand) target(*|myLibrary) -auto=name(Reveal) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) moveto(myhand) 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(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 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 your library. 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 @@ -20259,8 +20229,8 @@ toughness=6 [card] name=Cragsmasher Yeti abilities=trample -aicode=activate moveTo(myHand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto=name(This creature) target(this) counter(1/1,2) auto=name(Target other creature) target(other creature) transforms((,newability[counter(1/1.2)],newability[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 the battlefield, put two +1/+1 counters on target creature. If that's another creature, it gains the following ability until end of turn.) -- Trample @@ -20378,7 +20348,7 @@ toughness=4 name=Crawl from the Cellar target=creature|mygraveyard flashback={3}{B} -auto=moveTo(myhand) +auto=moveto(ownerHand) 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} @@ -20415,8 +20385,8 @@ type=Enchantment name=Creative Outburst target=anytarget auto=damage:5 -aicode=activate transforms((,newability[target(*[zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) ueot -auto=name(Reveal 5 cards) reveal:5 optionone name(Get Card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 autohand={UR}{UR}{D}:token(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} @@ -20583,7 +20553,7 @@ type=Sorcery name=Critical Hit target=creature auto=transforms((,newability[double strike])) ueot -autograveyard=@dierolled(*|mybattlefield) result(20) from(controller):name(Return to hand) moveto(myhand) +autograveyard=@dierolled(*|mybattlefield) result(20) from(controller):name(Return to hand) moveto(ownerHand) 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 @@ -20701,7 +20671,7 @@ name=Crown of Skemfar target=creature auto=foreach(elf|mybattlefield) 1/1 auto=reach -autograveyard={2}{G}:name(Put back in hand) moveto(myhand) +autograveyard={2}{G}:name(Put back in hand) moveto(ownerHand) 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 @@ -21074,7 +21044,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -21279,7 +21249,7 @@ toughness=5 [card] name=Curious Cadaver abilities=flying -autograveyard=@sacrificed(Clue|mybattlefield):moveto(myhand) +autograveyard=@sacrificed(Clue|mybattlefield):moveto(ownerHand) text=Flying -- When you sacrifice a Clue, return Curious Cadaver from your graveyard to your hand. mana={2}{U}{B} type=Creature @@ -22142,7 +22112,7 @@ toughness=1 [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(myhand) 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(ownerHand) 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 @@ -22378,7 +22348,7 @@ type=Instant [/card] [card] name=Dawn Evangel -auto=@movedTo(graveyard) from(creature[enchanted]|myBattlefield):moveto(myhand) target(creature[manacost<3]|mygraveyard) +auto=@movedTo(graveyard) from(creature[enchanted]|myBattlefield):moveto(ownerHand) 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 @@ -22405,7 +22375,7 @@ type=Enchantment [/card] [card] name=Dawn to Dusk -auto=ability$!may name(Return) moveTo(myhand) target(enchantment|mygraveyard)!$ controller +auto=ability$!may name(Return) moveto(ownerHand) 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} @@ -22727,7 +22697,7 @@ toughness=3 [/card] [card] name=Deadeye Quartermaster -auto=may moveto(myhand) target(equipment,vehicle|mylibrary) +auto=may moveto(ownerHand) target(equipment,vehicle|mylibrary) text=When Deadeye Quartermaster enters the battlefield, you may search your library for an Equipment or Vehicle card, reveal it, put it into your hand, then shuffle your library. mana={3}{U} type=Creature @@ -22757,7 +22727,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(myhand)])) 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(ownerHand)])) 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} @@ -22787,7 +22757,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(myhand)])) 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(ownerHand)])) 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} @@ -22925,27 +22895,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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={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} @@ -23102,7 +23072,7 @@ toughness=2 [card] name=Deathless Ancient abilities=flying -autograveyard={T(<3>vampire[-tapped])}:moveto(myhand) +autograveyard={T(<3>vampire[-tapped])}:moveto(ownerHand) text=Flying -- Tap three untapped Vampires you control: Return Deathless Ancient from your graveyard to your hand. mana={4}{B}{B} type=Creature @@ -23113,7 +23083,7 @@ toughness=4 [card] name=Deathless Knight abilities=haste -autograveyard=@lifeof(player) turnlimited:moveTo(myhand) +autograveyard=@lifeof(player) turnlimited:moveto(ownerHand) 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 @@ -23628,7 +23598,7 @@ toughness=2 [card] name=Deliver Unto Evil abilities=exiledeath -auto=if type(planeswalker[bolas]|mybattlefield)~morethan~0 then target(*|mygraveyard) moveto(myhand) +auto=if type(planeswalker[bolas]|mybattlefield)~morethan~0 then target(*|mygraveyard) moveto(ownerHand) 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} @@ -23819,7 +23789,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(myhand) and!( shuffle )!])) oneshot +auto=all(*[zpos<=13]|mylibrary) moveto(exile) && all(this|mystack) transforms((,newability[name(Search library) target(*|mylibrary) moveto(ownerHand) 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 @@ -23865,7 +23835,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(myhand) 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(ownerHand) and!(damage:1 controller)! optiononeend optiontwo choice all(*|reveal) moveTo(exile) optiontwoend revealend text=Flying, trample -- When Demonlord Belzenlok enters the battlefield, 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 @@ -24419,7 +24389,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(myhand) and!( transforms((,newability[name(Return another non-land permanent) target(*[-land]|mybattlefield) moveto(myhand) 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(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 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. @@ -24764,8 +24734,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(myhand) and!( shuffle )! -auto=ifnot paid(alternative) then name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! +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 )! 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 @@ -24939,7 +24909,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=Menace -- When Dire Fleet Interloper enters the battlefield, 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} @@ -25121,7 +25091,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -25178,15 +25148,15 @@ toughness=3 [/card] [card] name=Discerning Taste -aicode=activate target(*[zpos<=4]|mylibrary) moveto(myhand) 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(myhand) 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(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 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(myhand) 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(ownerHand) 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 your library. mana={U}{B} type=Creature @@ -25210,7 +25180,7 @@ toughness=3 [card] name=Disciple of the Sun abilities=lifelink -auto=name(Return permanent) target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(myHand) +auto=name(Return permanent) target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(ownerHand) text=Lifelink -- When Disciple of the Sun enters the battlefield, return target permanent card with mana value 3 or less from your graveyard to your hand. mana={4}{W} type=Creature @@ -25260,7 +25230,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(myhand)])) 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(ownerHand)])) 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 @@ -25469,7 +25439,7 @@ toughness=1 [/card] [card] name=District Guide -auto=may notatarget(*[basic;gate]|mylibrary) moveto(myhand) +auto=may notatarget(*[basic;gate]|mylibrary) moveto(ownerHand) text=When District Guide enters the battlefield, you may search your library for a basic land card or Gate card, reveal it, put it into your hand, then shuffle your library. mana={2}{G} type=Creature @@ -25571,7 +25541,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(myhand) 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(ownerHand) 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 @@ -25621,7 +25591,7 @@ type=Instant [card] name=Djeru, With Eyes Open abilities=vigilance -auto=target(planeswalker|mylibrary) moveto(myhand) +auto=target(planeswalker|mylibrary) moveto(ownerHand) auto=@damaged(planeswalker):counter(0/0,1,Loyalty) all(trigger[to]) text=Vigilance -- When Djeru, With Eyes Open enters the battlefield, you may search your library for a planeswalker card, reveal it, put it into your hand, then shuffle your library. -- If a source would deal damage to a planeswalker you control, prevent 1 of that damage. mana={3}{W}{W} @@ -25817,7 +25787,7 @@ type=Sorcery [card] name=Domri's Nodorog abilities=trample -auto=may moveTo(myhand) target(Domri^ City Smasher|myLibrary,myGraveyard) +auto=may moveto(ownerHand) target(Domri^ City Smasher|myLibrary,myGraveyard) text=Trample -- When Domri's Nodorog enters the battlefield, 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 @@ -25945,11 +25915,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(myHand) 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(myhand) 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(myhand) 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(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 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(myhand) 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(myhand) 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(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 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 @@ -26103,7 +26073,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(myhand) target(Dovin^ Architect of Law|mylibrary) _ choice name(Search graveyard) moveto(myhand) target(Dovin^ Architect of Law|mygraveyard)!$ controller +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 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 @@ -26123,9 +26093,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(myhand) target(*|mygraveyard)!$ controller +auto=if paid(alternative) then ability$!name(Return to hand) name(Return to hand) moveto(ownerHand) 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(myhand) target(*|mygraveyard)!$ controller +auto=if paid(kicker) then ability$!name(Return to hand) name(Return to hand) moveto(ownerHand) 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 @@ -26207,7 +26177,7 @@ type=Instant [/card] [card] name=Draconic Muralists -auto=_DIES_may target(Dragon|mylibrary) moveto(myhand) +auto=_DIES_may target(Dragon|mylibrary) moveto(ownerHand) 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 @@ -26713,10 +26683,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 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 @@ -26749,7 +26719,7 @@ subtype=Equipment [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(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -27140,7 +27110,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -27477,8 +27447,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(myhand) 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(myhand) 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(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 )! text=When Druid of the Emerald Grove enters the battlefield, 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 @@ -27498,10 +27468,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(myhand) and!( transforms((,newability[target(land[zpos<=3]|mylibrary) moveto(myhand) 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(myhand) 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(myhand) 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(myhand) optiononeend optiontwo choice name(Put creature in hand) target(creature|reveal) moveto(myhand) 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(myhand) 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(myhand) 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(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 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} @@ -27543,7 +27513,7 @@ toughness=4 name=Dryad's Revival flashback={4}{G} target=*|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) 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 @@ -27704,7 +27674,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(myhand) +autograveyard=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):may name(Return to hand) name(Return to hand) moveto(ownerHand) text=Dungeon Crawler enters the battlefield tapped. -- Whenever you complete a dungeon, you may return Dungeon Crawler from your graveyard to your hand. mana={B} type=Creature @@ -27739,7 +27709,7 @@ type=Artifact [card] name=Dungeon of the Mad Mage restriction=never -aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) and!( transforms((,newability[zerocast forever],newability[draw:2 controller])) forever )! +aicode=activate target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( transforms((,newability[zerocast forever],newability[draw:2 controller])) forever )! autocommandzone=transforms((,newability[shroud],newability[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 @@ -27748,7 +27718,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(myhand) 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(ownerHand) 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] @@ -27785,7 +27755,7 @@ toughness=4 [/card] [card] name=Durable Coilbug -autograveyard={4}{B}:moveto(myhand) +autograveyard={4}{B}:moveto(ownerHand) text={4}{B}: Return Durable Coilbug from your graveyard to your hand. mana={1}{B} type=Creature @@ -27810,7 +27780,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(myhand) +auto=if paid(flashback) then all(creature[power<=2]|mygraveyard) moveto(ownerHand) 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 @@ -27908,7 +27878,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(myhand) 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 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 his or her library, loses life equal to that card's mana value, then puts it into his or her hand. mana={2}{U}{B} @@ -27951,7 +27921,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(myhand) +autograveyard={2}{W}{S(enchantment|myBattlefield)}{S(enchantment|myBattlefield)} restriction{type(enchantment|myBattlefield)~morethan~1}:moveto(ownerHand) text=Flying -- {2}{W}, Sacrifice two enchantments: Return Dutiful Griffin from your graveyard to your hand. mana={3}{W}{W} type=Creature @@ -28335,7 +28305,7 @@ toughness=2 [card] name=Eagles of the North abilities=flying -autohand={1}{cycle}:name(Search plains) target(plains|mylibrary) moveto(myhand) and!( shuffle )! +autohand={1}{cycle}:name(Search plains) target(plains|mylibrary) moveto(ownerHand) and!( shuffle )! auto=all(creature|myBattlefield) transforms((,newability[1/0],newability[first strike])) ueot text=Flying -- When Eagles of the North enters the battlefield, 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} @@ -28406,7 +28376,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(myhand) all(this) +autograveyard={2}{G}{S(land|myBattlefield)}:name(Return Earthquake Dragon) moveto(ownerHand) 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 @@ -28587,7 +28557,7 @@ toughness=5 [/card] [card] name=Eccentric Farmer -auto=deplete:3 controller && transforms((,newability[may name(Return a land) target(land|mygraveyard) moveto(myhand)])) oneshot +auto=deplete:3 controller && transforms((,newability[may name(Return a land) target(land|mygraveyard) moveto(ownerHand)])) oneshot text=When Eccentric Farmer enters the battlefield, 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 @@ -28667,8 +28637,8 @@ type=Sorcery [card] name=Echoing Return target=creature|mygraveyard -auto=moveto(myhand) -auto=all(creature[share!name!]|mygraveyard) moveto(myHand) +auto=moveto(ownerHand) +auto=all(creature[share!name!]|mygraveyard) moveto(ownerHand) 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 @@ -28690,7 +28660,7 @@ type=Sorcery [/card] [card] name=Ecologist's Terrarium -auto=may target(land[basic]|mylibrary) moveto(myhand) +auto=may target(land[basic]|mylibrary) moveto(ownerHand) auto={2}{T}{S}:counter(1/1) target(creature) asSorcery text=When Ecologist's Terrarium enters the battlefield, 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} @@ -28962,7 +28932,7 @@ toughness=1 [/card] [card] name=Elderfang Ritualist -auto=_DIES_target(other *[elf]|mygraveyard) moveTo(myhand) +auto=_DIES_target(other *[elf]|mygraveyard) moveto(ownerHand) text=When Elderfang Ritualist dies, return another target Elf card from your graveyard to your hand. mana={2}{B} type=Creature @@ -29361,7 +29331,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(myhand) 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(ownerHand) 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 @@ -29439,7 +29409,7 @@ subtype=Saga [/card] [card] name=Elspeth's Devotee -auto=may moveto(myHand) target(Elspeth^ Undaunted Hero|mylibrary,mygraveyard) && shuffle +auto=may moveto(ownerHand) target(Elspeth^ Undaunted Hero|mylibrary,mygraveyard) && shuffle text=When Elspeth's Devotee enters the battlefield, 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 @@ -29896,7 +29866,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=First strike -- When Emissary of Sunrise enters the battlefield, 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} @@ -29939,7 +29909,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(myhand)])) 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(ownerHand)])) 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} @@ -30166,7 +30136,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(myhand) +auto=@movedTo(creature|mygraveyard) from(battlefield):all(trigger[to]) moveto(ownerHand) 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 @@ -30384,8 +30354,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(myhand)])) 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(myHand) 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(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 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} @@ -30513,7 +30483,7 @@ type=Sorcery [card] name=Environmental Sciences auto=life:2 controller -auto=name(Search land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! +auto=name(Search land) target(land[basic]|mylibrary) moveto(ownerHand) 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 @@ -30711,9 +30681,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(myhand))! !$ controller -autograveyard=@movedTo(creature|opponentBattlefield) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveTo(myhand))! !$ controller -autograveyard=@movedTo(creature|opponenthand) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveTo(myhand))! !$ controller +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 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 @@ -31224,8 +31194,8 @@ type=Enchantment [card] name=Ethereal Elk abilities=trample -auto=may moveto(myhand) target(Vivien^ Nature's Avenger|mylibrary) -auto=may moveto(myhand) target(Vivien^ Nature's Avenger|mygraveyard) +auto=may moveto(ownerHand) target(Vivien^ Nature's Avenger|mylibrary) +auto=may moveto(ownerHand) target(Vivien^ Nature's Avenger|mygraveyard) text=Trample -- When Ethereal Elk enters the battlefield, 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 @@ -31435,7 +31405,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -32104,9 +32074,9 @@ type=Sorcery [/card] [card] name=Exhumer Thrull -auto=name(Return creature to hand) moveto(myhand) target(creature|mygraveyard) +auto=name(Return creature to hand) moveto(ownerHand) 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(myhand) target(creature|mygraveyard)])) +autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Return creature to hand) moveto(ownerHand) target(creature|mygraveyard)])) text=Haunt (When this creature dies, exile it haunting target creature.) -- When Exhumer Thrull enters the battlefield or the creature it haunts dies, return target creature card from your graveyard to your hand. mana={5}{B} type=Creature @@ -32261,8 +32231,8 @@ toughness=1 [/card] [card] name=Experimental Augury -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) 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(myhand) optiononeend optiontwo name(Put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed _PROLIFERATE_ afterrevealedend revealend +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 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 @@ -32292,7 +32262,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(myHand) target(*[instant;sorcery]|myGraveyard) +auto=may moveto(ownerHand) 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 @@ -32317,12 +32287,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(myhand) 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(myhand)],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(myhand)],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(myhand)],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(myhand)],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(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 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(myhand) 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(ownerHand) 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 @@ -32409,8 +32379,8 @@ type=Instant [/card] [card] name=Expressive Iteration -aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) moveto(myhand)],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(myhand) 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(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 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 @@ -32505,7 +32475,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(myhand) +auto=@movedto(*[instant;sorcery]|mystack):name(Return creature) target(creature[-legendary]|mygraveyard) moveto(ownerHand) 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 @@ -32689,7 +32659,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(myHand) 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(ownerHand) 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 @@ -32781,7 +32751,7 @@ toughness=2 [/card] [card] name=Fact or Fiction -auto=reveal:5 optionone target(*|reveal) moveto(myhand) 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(ownerHand) 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 @@ -32837,7 +32807,7 @@ 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(myhand) +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 _ADVENTURE_ auto={1}{U}{D(*|myhand)}{D(*|myhand)}:name(Return to hand) moveTo(ownerhand) 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. @@ -32970,7 +32940,7 @@ abilities=flying facedown={3} autofacedown=_WARD_(2) autofacedown={1}{UB}{UB}:morph -autofaceup=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) 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(ownerHand) 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 @@ -33252,7 +33222,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(myhand)],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(ownerHand)],newability[choice name(Put 1/1 counter) target(Fallaji Archaeologist[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Fallaji Archaeologist enters the battlefield, 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 @@ -33550,8 +33520,8 @@ type=Sorcery [card] name=Farfinder abilities=vigilance -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Vigilance -- When Farfinder enters the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. mana={3} type=Creature @@ -33686,7 +33656,7 @@ type=Sorcery [/card] [card] name=Fates' Reversal -auto=may name(Return creature to hand) target(creature|mygraveyard) moveTo(myhand) +auto=may name(Return creature to hand) target(creature|mygraveyard) moveto(ownerHand) 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} @@ -33993,9 +33963,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[endofturn] target(sorcery[fresh]|myexile) moveto(myhand)])) ueot +auto=@targeted(creature|mybattlefield) from(sorcery|myzones):name(Return sorcery from exile) transforms((,newability[name(Return sorcery from exile) phaseaction[endofturn] target(sorcery[fresh]|myexile) moveto(ownerHand)])) 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[endofturn] target(instant[fresh]|myexile) moveto(myhand)])) ueot +auto=@targeted(creature|mybattlefield) from(instant|myzones):name(Return instant from exile) transforms((,newability[name(Return instant from exile) phaseaction[endofturn] target(instant[fresh]|myexile) moveto(ownerHand)])) 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 @@ -34319,8 +34289,8 @@ type=Instant [card] name=Fervent Mastery other={2}{R}{R} name(Cast for 1 less) -aicode=activate transforms((,newability[target(<3>*|mylibrary) moveto(myhand) and!( discard:1 controller )!])) oneshot -auto=name(Search up to 3 cards) reveal:plibrarycount optionone name(Choose up to 3 cards) target(*|reveal) moveto(myhand) 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(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 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} @@ -34709,7 +34679,7 @@ type=Sorcery [card] name=Fighter Class auto=counter(0/0,1,Level) -auto=name(Search equipment) target(artifact[equipment]|mylibrary) moveTo(myhand) and!( shuffle )! +auto=name(Search equipment) target(artifact[equipment]|mylibrary) moveto(ownerHand) 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 @@ -34787,7 +34757,7 @@ type=Instant [/card] [card] name=Final Parting -auto=name(put in hand) moveto(myhand) notatarget(*|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(*|mylibrary))! oneshot +auto=name(put in hand) moveto(ownerHand) 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 your library. mana={3}{B}{B} type=Sorcery @@ -34878,7 +34848,7 @@ type=Sorcery [card] name=Find // Finality other={4}{B}{G} name(Finality) -auto=ifnot paid(alternative) then moveto(myhand) target(creature|mygraveyard) +auto=ifnot paid(alternative) then moveto(ownerHand) 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} @@ -35154,27 +35124,27 @@ type=Enchantment name=Fires of Invention auto=maxCast(*)2 controller auto=this(variable{opponentturn}>0) maxCast(*)0 controller -auto=lord(*[manacost<=type:land:mybattlefield;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~1}:lord(*[manacost<=1;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~2}:lord(*[manacost<=2;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~3}:lord(*[manacost<=3;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~4}:lord(*[manacost<=4;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~5}:lord(*[manacost<=5;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~6}:lord(*[manacost<=6;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~7}:lord(*[manacost<=7;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~8}:lord(*[manacost<=8;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~9}:lord(*[manacost<=9;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~10}:lord(*[manacost<=10;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~11}:lord(*[manacost<=11;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~12}:lord(*[manacost<=12;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~13}:lord(*[manacost<=13;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~14}:lord(*[manacost<=14;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~15}:lord(*[manacost<=15;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~16}:lord(*[manacost<=16;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~17}:lord(*[manacost<=17;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~18}:lord(*[manacost<=18;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~19}:lord(*[manacost<=19;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast -auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~20}:lord(*[manacost<=20;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast +auto=lord(*[manacost<=type:land:mybattlefield;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~1}:lord(*[manacost<=1;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~2}:lord(*[manacost<=2;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~3}:lord(*[manacost<=3;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~4}:lord(*[manacost<=4;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~5}:lord(*[manacost<=5;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~6}:lord(*[manacost<=6;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~7}:lord(*[manacost<=7;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~8}:lord(*[manacost<=8;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~9}:lord(*[manacost<=9;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~10}:lord(*[manacost<=10;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~11}:lord(*[manacost<=11;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~12}:lord(*[manacost<=12;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~13}:lord(*[manacost<=13;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~14}:lord(*[manacost<=14;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~15}:lord(*[manacost<=15;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~16}:lord(*[manacost<=16;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~17}:lord(*[manacost<=17;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~18}:lord(*[manacost<=18;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~19}:lord(*[manacost<=19;-land]|mycastingzone) zerocast +auto=@movedto(land|myBattlefield,mycastingzone) restriction{compare(type:land:mybattlefield)~equalto~20}:lord(*[manacost<=20;-land]|mycastingzone) zerocast text=You can cast spells only during your turn and you can cast no more than two spells each turn. -- You may cast spells with mana value less than or equal to the number of lands you control without paying their mana costs. mana={3}{R} type=Enchantment @@ -35274,8 +35244,8 @@ subtype=Saga [card] name=Firja, Judge of Valor abilities=flying,lifelink -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) 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(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -35392,7 +35362,7 @@ type=Instant [card] name=Five-Finger Discount target=*[-land]|battlefield -auto=moveto(myhand) and!( transforms((,newability[anytypeofmana forever])) forever)! +auto=moveto(ownerHand) 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 @@ -35927,7 +35897,7 @@ type=Sorcery [card] name=Florian, Voldaren Scion abilities=first strike -aicode=activate target(*[zpos<=oplifelost]|mylibrary) moveto(myhand) and!( transforms((,newability[canplayfromexile],newability[all(*[zpos<=oplifelost]|myLibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot )! +aicode=activate target(*[zpos<=oplifelost]|mylibrary) moveto(ownerHand) and!( transforms((,newability[canplayfromexile],newability[all(*[zpos<=oplifelost]|myLibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot )! auto=@each my secondmain restriction{_SPECTACLE_}: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 @@ -35990,7 +35960,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(myhand)])) 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(ownerHand)])) 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 your library. -- Creatures you control get +2/+2 until end of turn. mana={GW} type=Sorcery @@ -36256,8 +36226,8 @@ toughness=1 [card] name=For the Ancestors flashback={3}{G} -aicode=activate target(<6>*[zpos<=6]|mylibrary) moveto(myhand) 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(myhand) 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(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 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 @@ -36509,8 +36479,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(myHand) 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(myhand) 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(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 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 @@ -36521,7 +36491,7 @@ auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=token(Treasure) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) token(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(myhand) 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(ownerHand) 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 your library. mana={1}{R}{W} @@ -36674,8 +36644,8 @@ type=Enchantment [/card] [card] name=Fortuitous Find -auto=ability$! name(Return target artifact) may name(Return target artifact) moveto(myhand) target(artifact|mygraveyard)!$ controller -auto=ability$! name(Return target creature) may name(Return target creature) moveto(myhand) 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(ownerHand) 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 @@ -37208,8 +37178,8 @@ toughness=3 [/card] [card] name=Frost Augur -aicode=activate moveTo(myhand) 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(myhand) optiononeend optiontwo name(Put back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +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 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 @@ -37282,7 +37252,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(myhand) 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(ownerHand) and!(shuffle)!])) oneshot text=This spell costs {1} less to cast if you control a Giant or a Wizard. -- When Frostpyre Arcanist enters the battlefield, 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 your library. mana={4}{U} type=Creature @@ -37423,7 +37393,7 @@ type=Land [card] name=Fungal Rebirth target=*|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) auto=token(Saproling Fun)*2 restriction{morbid} 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} @@ -37490,8 +37460,8 @@ toughness=2 [card] name=Furnace Host Charger abilities=haste -aicode=activate moveTo(myHand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -37781,7 +37751,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(myhand) 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(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 )! 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 @@ -38027,14 +37997,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 )! 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 @@ -38170,7 +38140,7 @@ toughness=7 [card] name=Garna, the Bloodflame abilities=flash -auto=moveTo(myHand) all(creature[fresh]|graveyard) +auto=moveto(ownerHand) all(creature[fresh]|graveyard) auto=lord(other creature|myBattlefield) haste text=Flash -- When Garna, the Bloodflame enters the battlefield, 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} @@ -38221,9 +38191,9 @@ toughness=3 [card] name=Garruk's Harbinger auto=cantbetargetof(*[black]) -aicode=activate transforms((,newability[target(creature[zpos<=thatmuch]|mylibrary) moveto(myHand) 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(myHand) 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(myHand) 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(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 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 @@ -38243,8 +38213,8 @@ type=Enchantment [card] name=Garruk's Warsteed abilities=vigilance -auto=choice name(Search Library) may moveto(myhand) target(Garruk^ Savage Herald|myLibrary) && shuffle -auto=choice name(Search Graveyard) may moveto(myhand) target(Garruk^ Savage Herald|myGraveyard) +auto=choice name(Search Library) may moveto(ownerHand) target(Garruk^ Savage Herald|myLibrary) && shuffle +auto=choice name(Search Graveyard) may moveto(ownerHand) target(Garruk^ Savage Herald|myGraveyard) text=Vigilance -- When Garruk's Warsteed enters the battlefield, 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 @@ -38370,7 +38340,7 @@ toughness=3 [/card] [card] name=Gathering Throng -auto=may moveto(myhand) target(Gathering Throng|mylibrary) +auto=may moveto(ownerHand) target(Gathering Throng|mylibrary) text=When Gathering Throng enters the battlefield, 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 @@ -38391,9 +38361,9 @@ subtype=Aura [/card] [card] name=Gavony Dawnguard -aicode=activate transforms((,newability[if type(creature[zpos<=4;manacost<=3]|myLibrary)~morethan~0 then target(creature[zpos<=4;manacost<=3]|myLibrary) moveTo(myHand) 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(ownerHand) 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(myhand) 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(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot text=Ward {1} -- If it's neither day nor night, it becomes day as Gavony Dawnguard enters the battlefield. -- 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 @@ -38549,7 +38519,7 @@ toughness=3 [/card] [card] name=Gem of Becoming -auto={3}{T}{S}:name(search lands) ability$!name(Island) moveto(myhand) notatarget(*[island]|mylibrary)!$ controller && ability$!name(Swamp) moveto(myhand) notatarget(*[swamp]|mylibrary)!$ controller && ability$!name(Mountain) moveto(myhand) notatarget(*[mountain]|mylibrary)!$ controller +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 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 your library. mana={3} type=Artifact @@ -38559,7 +38529,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -38651,7 +38621,7 @@ toughness=1 name=Generous Ent abilities=reach auto=token(Food) -autohand={1}{cycle}:name(Search forest) target(forest|myLibrary) moveTo(myHand) and!( shuffle )! +autohand={1}{cycle}:name(Search forest) target(forest|myLibrary) moveto(ownerHand) and!( shuffle )! text=Reach -- When Generous Ent enters the battlefield, 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 @@ -38720,7 +38690,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(myHand) optiontwoend revealend +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=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} @@ -39067,7 +39037,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(myhand) +auto=if paid(alternative) then name(Return creature) name(Return creature) target(creature|mygraveyard) moveto(ownerHand) 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) @@ -39330,7 +39300,7 @@ toughness=4 [card] name=Gideon's Battle Cry auto=all(creature|myBattlefield) counter(1/1) -auto=target(planeswalker[gideon&manacost=6]|mylibrary) moveto(myhand) +auto=target(planeswalker[gideon&manacost=6]|mylibrary) moveto(ownerHand) 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 @@ -39364,7 +39334,7 @@ type=Enchantment [/card] [card] name=Gideon's Resolve -auto=may moveto(myhand) target(Gideon^ Martial Paragon|mylibrary) +auto=may moveto(ownerHand) target(Gideon^ Martial Paragon|mylibrary) auto=lord(creature|mybattlefield) 1/1 text=When Gideon's Resolve enters the battlefield, 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} @@ -39489,7 +39459,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(myhand) +autograveyard={S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}:moveto(ownerHand) 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 @@ -39839,16 +39809,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((,newability[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((,newability[lifelink],newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(creature|mygraveyard) moveto(myhand)!$ 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((,newability[lifelink],newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(creature|mygraveyard) moveto(myhand)!$ 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(myhand) +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((,newability[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((,newability[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 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((,newability[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((,newability[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(myhand) 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(ownerHand) 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(myhand) && 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)~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} @@ -39934,8 +39904,8 @@ subtype=Aura [/card] [card] name=Glacial Revelation -aicode=activate all(snow[zpos<=6]|mylibrary) moveto(myHand) && all(*[-snow;zpos<=6]|mylibrary) moveto(mygraveyard) -auto=name(Look) reveal:6 optionone name(Get Snow) target(*[snow]|reveal) moveto(myHand) optiononeend optiontwo all(*|reveal) moveto(graveyard) optiontwoend revealend +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 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 @@ -39943,26 +39913,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 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 @@ -40204,8 +40174,8 @@ type=Sorcery [/card] [card] name=Glimpse the Cosmos -aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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. @@ -40215,7 +40185,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(myhand) 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(ownerHand) 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 @@ -40237,7 +40207,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(myhand) 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(ownerHand) 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 @@ -40294,7 +40264,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(myhand) )! +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) )! 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 @@ -40455,8 +40425,8 @@ toughness=3 [card] name=Gloomfang Mauler abilities=menace -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 auto=name(This creature) target(this) counter(1/1,2) auto=name(Target other creature) target(other creature) transforms((,newability[counter(1/1.2)],newability[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 the battlefield, put two +1/+1 counters on target creature. If that's another creature, it gains the following ability until end of turn.) -- Menace @@ -40587,7 +40557,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -41683,8 +41653,8 @@ toughness=1 [card] name=Goldmane Griffin abilities=flying,vigilance -auto=moveto(myhand) target(Ajani^ Inspiring Leader|mylibrary) -auto=moveto(myhand) target(Ajani^ Inspiring Leader|mygraveyard) +auto=moveto(ownerHand) target(Ajani^ Inspiring Leader|mylibrary) +auto=moveto(ownerHand) target(Ajani^ Inspiring Leader|mygraveyard) text=Flying, vigilance -- When Goldmane Griffin enters the battlefield, 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 @@ -42386,7 +42356,7 @@ type=Enchantment name=Grasping Current target=creature auto=moveto(ownerhand) -auto=moveto(myhand) target(Jace^ Ingenious Mind-Mage|mylibrary) +auto=moveto(ownerHand) 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 @@ -42493,8 +42463,8 @@ subtype=Aura [/card] [card] name=Grave Sifter -auto=chooseatype transforms((,newability[target(creature[chosentype]|mygraveyard) moveto(myhand)])) oneshot chooseend -auto=ability$!transforms((,newability[chooseatype transforms((,newability[target(creature[chosentype]|mygraveyard) moveto(myhand)])) oneshot chooseend])) oneshot!$ opponent +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 text=When Grave Sifter enters the battlefield, each player chooses a creature type and returns any number of cards of that type from his or her graveyard to his or her hand. mana={5}{G} type=Creature @@ -42575,7 +42545,7 @@ type=Snow Instant [card] name=Graveshifter abilities=changeling -auto=may target(creature|mygraveyard) moveto(myHand) +auto=may target(creature|mygraveyard) moveto(ownerHand) text=Changeling (This card is every creature type.) -- When Graveshifter enters the battlefield, you may return target creature card from your graveyard to your hand. mana={3}{B} type=Creature @@ -42826,9 +42796,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(myhand) 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(myhand) 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(myhand) and!( transforms((,newability[if type(land|myreveal)~morethan~0 then name(Choose a land) name(Choose a land) target(land|reveal) moveto(myhand)])) 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(myhand) 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(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 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 @@ -43038,18 +43008,18 @@ type=Sorcery [/card] [card] name=Grim Captain's Call -auto=ability$!name(Return a Pirate) may name(Return a Pirate) moveto(myhand) notatarget(pirate|mygraveyard)!$ controller -auto=ability$!name(Return a Vampire) may name(Return a Vampire) moveto(myhand) notatarget(vampire|mygraveyard)!$ controller -auto=ability$!name(Return a Dinosaur) may name(Return a Dinosaur) moveto(myhand) notatarget(dinosaur|mygraveyard)!$ controller -auto=ability$!name(Return a Merfolk) may name(Return a Merfolk) moveto(myhand) notatarget(merfolk|mygraveyard)!$ controller +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 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(myhand) target(creature|mygraveyard)!$ controller -auto=ability$! name(Return target land) may name(Return target land) moveTo(myhand) target(land|mygraveyard)!$ controller +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 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 @@ -43396,7 +43366,7 @@ type=Sorcery [/card] [card] name=Growing Rites of Itlimoc -auto=reveal:4 optionone name(Get a creature card) target(<1>creature|reveal) moveto(myhand) 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(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend auto=@each my endofturn restriction{type(creature|mybattlefield)~morethan~3}:flip(Itlimoc, Cradle of the Sun) text=When Growing Rites of Itlimoc enters the battlefield, 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} @@ -43429,7 +43399,7 @@ type=Instant [card] name=Growth-Chamber Guardian auto={2}{G}:_ADAPT_(2) -auto=@counteradded(1/1) from(this):transforms((,newability[moveTo(myHand) target(Growth-Chamber Guardian|myLibrary)])) once +auto=@counteradded(1/1) from(this):transforms((,newability[moveto(ownerHand) 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 your library. mana={1}{G} type=Creature @@ -43829,8 +43799,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(myHand) 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(myhand) 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(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 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 @@ -43905,8 +43875,8 @@ toughness=3 [/card] [card] name=Gurmag Drowner -aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(myhand) 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(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(graveyard) optiontwoend revealend +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 text=Exploit (When this creature enters the battlefield, 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 @@ -43990,7 +43960,7 @@ toughness=3 [card] name=Gutterbones auto=tap -autograveyard={1}{B}:moveTo(myhand) asSorcery restriction{_SPECTACLE_} +autograveyard={1}{B}:moveto(ownerHand) asSorcery restriction{_SPECTACLE_} text=Gutterbones enters the battlefield 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 @@ -44373,7 +44343,7 @@ color=white [card] name=Halimar Tidecaller auto=lord(creature[land]|myBattlefield) flying -auto=may moveTo(myhand) target(*[awaken]|mygraveyard) +auto=may moveto(ownerHand) target(*[awaken]|mygraveyard) text=When Halimar Tidecaller enters the battlefield, you may return target card with awaken from your graveyard to your hand. -- Land creatures you control have flying. mana={2}{U} type=Creature @@ -44774,7 +44744,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(myhand) 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(ownerHand) 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 @@ -44848,8 +44818,8 @@ subtype=Saga [card] name=Harald, King of Skemfar abilities=menace -aicode=activate target(*[elf;warrior;tyvar;zpos<=5]|mylibrary) moveto(myhand) -auto=name(Look top 5 cards) reveal:5 optionone name(Get Elf, Warrior, or Tyvar) target(*[elf;warrior;tyvar;zpos<=5]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Menace (This creature can't be blocked except by two or more creatures.) -- When Harald, King of Skemfar enters the battlefield, 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 @@ -44990,8 +44960,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(myhand) 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(myhand) +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)~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} @@ -45053,8 +45023,8 @@ type=Legendary Artifact [card] name=Harper Recruiter abilities=flying -aicode=activate target(<4>*[cleric;rogue;warrior;wizard]|mylibrary) moveto(myhand) 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(myhand) 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(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 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 @@ -45329,9 +45299,9 @@ toughness=1 [/card] [card] name=Haunting Imitation -auto=if type(creature[zpos=1]|library)~equalto~0 then moveto(myhand) +auto=if type(creature[zpos=1]|library)~equalto~0 then moveto(ownerHand) auto=all(creature[zpos=1]|library) clone and!( becomes(Spirit,1/1,flying) forever )! -auto=all(*[zpos=1]|library) moveto(myhand) and!( transforms((,newability[choice name(Put back) name(Put back) moveto(ownerlibrary)])) oneshot )! +auto=all(*[zpos=1]|library) moveto(ownerHand) 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 @@ -45382,9 +45352,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(myhand) target(creature[dragon]|mygraveyard) -auto={2}{T}{S}:name(Move Ugin, the Ineffable) moveto(myhand) target(Ugin^ the Ineffable|mygraveyard) -auto={2}{T}{S}:name(Move Ugin, the Spirit Dragon) moveto(myhand) target(Ugin^ the Spirit Dragon|mygraveyard) +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) text={T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your mana pool. 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] @@ -45568,9 +45538,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(myhand)])) oneshot -auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(myhand)])) oneshot!$ controller -auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(myhand)])) oneshot!$ opponent +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 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 @@ -45806,7 +45776,7 @@ toughness=3 [card] name=Heirloom Blade auto=teach(creature) 3/1 -auto=teach(creature) transforms((,newability[@movedto(mygraveyard) from(this|mybattlefield):Reveal:1 revealzone(mylibrary) revealuntil(*[creature;share!types!]|mylibrary) optionone name(Get Creature) target(creature|myreveal) moveto(myHand) optiononeend optiontwo choice name(Shuffle) all(*|myreveal) bottomoflibrary && shuffle controller optiontwoend revealend])) +auto=teach(creature) transforms((,newability[@movedto(mygraveyard) from(this|mybattlefield):Reveal:1 revealzone(mylibrary) revealuntil(*[creature;share!types!]|mylibrary) optionone name(Get Creature) target(creature|myreveal) moveto(ownerHand) 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} @@ -45888,7 +45858,7 @@ name=Heliod, the Radiant Dawn backside=Heliod, the Warped Eclipse restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -auto=moveTo(myhand) target(*[enchantment;-god]|mygraveyard) +auto=moveto(ownerHand) target(*[enchantment;-god]|mygraveyard) auto={3}{p(U)}:flip(backside) asSorcery text=When Heliod, the Radiant Dawn enters the battlefield, 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} @@ -46159,14 +46129,14 @@ 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(myhand) 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(myhand) 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(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 text=As Herald's Horn enters the battlefield, 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 [/card] [card] name=Heraldic Banner -auto=chooseacolor transforms((,newability[{T}:add{chosencolor}],newability[@movedto(*[chosencolor]|stack):life:1 controller])) forever chooseend +auto=chooseacolor transforms((,newability[{T}:add{chosencolor}])) forever chooseend auto=lord(*[chosencolor]|myBattlefield) 1/0 text=As Heraldic Banner enters the battlefield, choose a color. -- Creatures you control of the chosen color get +1/+0. -- {T}: Add one mana of the chosen color. mana={3} @@ -46199,7 +46169,7 @@ toughness=4 [card] name=Herd Migration auto=create(Beast:creature Beast:3/3:green)*pbasiclandtypes -autohand={1}{G}{discard}:target(land[basic]|mylibrary) moveto(myhand) && life:3 +autohand={1}{G}{discard}:target(land[basic]|mylibrary) moveto(ownerHand) && 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 @@ -46337,7 +46307,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(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend +auto={X}{T}:reveal:x optionone target(creature[legendary]|reveal) moveto(ownerHand) 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 @@ -47069,14 +47039,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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(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 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 @@ -47201,8 +47171,8 @@ toughness=2 [/card] [card] name=Homing Sliver -auto=lord(sliver|hand) transforms((,newability[{3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(myhand) and!( shuffle )!])) -autohand={3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(myhand) and!( shuffle )! +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 )! 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 your library.) mana={2}{R} type=Creature @@ -47420,8 +47390,8 @@ toughness=3 [card] name=Horizon Seeker abilities=boast -auto={1}{G} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend -auto={G} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend +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 text=Boast-{1}{G}: Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. (Activate this ability only if this creature attacked this turn and only once each turn.) mana={2}{G} type=Creature @@ -47519,8 +47489,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(myhand) 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(myhand) 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(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 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 @@ -48259,7 +48229,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -48309,8 +48279,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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ controller])) oneshot -auto=@each my endofturn 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(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 endofturn 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 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 @@ -48701,8 +48671,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(myhand) -auto={3}{T}:name(look) reveal:3 optionone name(Get Creature) target(creature[chosentype]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 text=As Icon of Ancestry enters the battlefield, 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 @@ -48809,7 +48779,7 @@ type=Instant [/card] [card] name=Ignite the Beacon -auto=target(planeswalker|mylibrary) moveto(myhand) +auto=target(planeswalker|mylibrary) moveto(ownerHand) text=Search your library for up to two planeswalker cards, reveal them, put them into your hand, then shuffle your library. mana={4}{W} type=Instant @@ -48965,18 +48935,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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={9999}: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(myhand) 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(ownerHand) 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(myhand)])) 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(myhand)])) 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(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 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 @@ -49083,27 +49053,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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(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 )! 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 @@ -49366,7 +49336,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(myhand)],newability[if type(vehicle[manacost<=2]|mygraveyard)~morethan~0 then choice name(Return vehicle) name(Return vehicle) target(vehicle[manacost<=2]|mygraveyard) moveto(myhand)])) 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(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={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.) @@ -49708,8 +49678,8 @@ name=Incubation // Incongruity abilities=flash other={1}{G}{U} name(Incongruity) restriction=myturnonly -aicode=activate moveto(myhand) 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(myhand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend +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(put 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. @@ -50254,8 +50224,8 @@ type=Sorcery [/card] [card] name=Ingenious Smith -aicode=activate target(artifact[zpos<=4]|mylibrary) moveto(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary)! optiontwoend revealend +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 auto=@movedto(artifact|myBattlefield) turnlimited:name(Put 1/1 counter) counter(1/1) text=When Ingenious Smith enters the battlefield, 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} @@ -50334,7 +50304,7 @@ toughness=1 [/card] [card] name=Injector Crocodile -autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveTo(myHand) and!( shuffle )! +autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveto(ownerHand) 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} @@ -50463,7 +50433,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -50729,7 +50699,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(myhand) and!( if cantargetcard(*[legendary]|*) then token(Treasure) )!])) oneshot +auto={3}{G}{T}:name(Search creature) transforms((,newability[target(creature[manacost=hascntharmony]|mylibrary) moveto(ownerHand) and!( if cantargetcard(*[legendary]|*) then token(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 @@ -50820,7 +50790,7 @@ subtype=Aura name=Interdisciplinary Mascot other={convoke} name(Convoke) auto=_WARD_(3) -auto=name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(*|reveal) moveto(myhand) 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(ownerHand) 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 the battlefield, 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 @@ -50879,7 +50849,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(myhand) 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(ownerHand) 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 @@ -50984,7 +50954,7 @@ toughness=3 [/card] [card] name=Intuition -auto=name(Search first card) target(*|mylibrary) moveto(myhand) and!( transforms((tobeint,newability[name(Search second card) target(*|mylibrary) moveto(myhand) and!( transforms((tobeint,newability[name(Search third card) target(*|mylibrary) moveto(myhand) 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(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 )! 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 your library. mana={2}{U} type=Instant @@ -51023,8 +50993,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(myhand) 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(myhand) 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(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=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 the battlefield, 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. @@ -51055,7 +51025,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(myhand)!$ controller +auto=ability$!name(Search card) name(Search card) target(*[instant;sorcery]|mylibrary,mygraveyard,mysideboard) moveto(ownerHand)!$ 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 the battlefield, 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. @@ -51238,9 +51208,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(myHand) 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(ownerHand) 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(myhand) 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(ownerHand) 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 the battlefield, 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. @@ -51409,7 +51379,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(myhand) else if type(land[zpos=1]|mylibrary)~equalto~1 then all(land[zpos=1]|mylibrary) moveto(myhand)])) 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(ownerHand) else if type(land[zpos=1]|mylibrary)~equalto~1 then all(land[zpos=1]|mylibrary) moveto(ownerHand)])) 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 the battlefield, scry 3, then reveal the top card of your library. If it's a land or double-faced card, draw a card. @@ -51492,7 +51462,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(myhand) and!( shuffle )! !$ controller +auto=ability$!name(Search library) name(Search library) target(*[aura;god;demigod]|mylibrary) moveto(ownerHand) 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 the battlefield, search your library for an Aura, God, or Demigod card, reveal it, put it into your hand, then shuffle. @@ -51593,7 +51563,7 @@ 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(myhand) +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=@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. @@ -51605,7 +51575,7 @@ subtype=Saga 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(myHand) and!(shuffle)! +auto=if paid(alternative) then target(*[instant;sorcery]|myLibrary) moveto(ownerHand) 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 your library. mana={UR} type=Instant @@ -52136,7 +52106,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=When Ixalli's Diviner enters the battlefield, 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} @@ -52295,7 +52265,7 @@ toughness=2 [card] name=Jace's Ruse target=creature -auto=moveTo(ownerHand) and!(moveTo(myhand) target(planeswalker[jace;manacost=6]|mylibrary,myGraveyard))! +auto=moveTo(ownerHand) and!(moveto(ownerHand) target(planeswalker[jace;manacost=6]|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 @@ -52476,7 +52446,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ auto=_EXPLORES_ text=When Jadelight Ranger enters the battlefield, 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.) @@ -52536,37 +52506,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 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 @@ -52901,7 +52871,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(myhand)])) 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(ownerHand)])) 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 your library. mana={2}{U}{U} type=Legendary Creature @@ -53063,7 +53033,7 @@ toughness=5 [/card] [card] name=Journey for the Elixir -auto=activate notatarget(basic|mylibrary,mygraveyard) moveto(myhand) +auto=activate notatarget(basic|mylibrary,mygraveyard) moveto(ownerHand) 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 your library. mana={2}{G} @@ -53299,7 +53269,7 @@ toughness=0 [/card] [card] name=Jungle Creeper -autograveyard={3}{B}{G}:moveto(myhand) all(this) +autograveyard={3}{B}{G}:moveto(ownerHand) all(this) text={3}{B}{G}: Return Jungle Creeper from your graveyard to your hand. mana={1}{B}{G} type=Creature @@ -53593,7 +53563,7 @@ toughness=3 name=Kairi, the Swirling Sky abilities=flying auto=_WARD_(3) -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(myhand)!$ controller])) oneshot +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 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 @@ -53813,8 +53783,8 @@ toughness=6 [/card] [card] name=Kami of Restless Shadows -auto=may name(Return a Ninja) target(creature[Ninja]|mygraveyard) moveto(myhand) -auto=may name(Return a Rogue) target(creature[Rogue]|mygraveyard) moveto(myhand) +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(Put a creature on top of your library) target(creature|mygraveyard) moveto(ownerlibrary) text=When Kami of Restless Shadows enters the battlefield, 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} @@ -53837,7 +53807,7 @@ toughness=4 name=Kami of Transience abilities=trample auto=@movedTo(enchantment|mystack):name(Put 1/1 counter) counter(1/1) -autograveyard=@each endofturn restriction{thisturn(enchantment|graveyard)~morethan~0}:may name(Return to hand) name(Return to hand) moveto(myhand) +autograveyard=@each endofturn restriction{thisturn(enchantment|graveyard)~morethan~0}:may name(Return to hand) name(Return to hand) moveto(ownerHand) 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 @@ -54105,7 +54075,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(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:5 optionone name(Get Rat) target(Rat|reveal) moveto(ownerHand) 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 the battlefield, 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 @@ -54249,13 +54219,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)],newability[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(myhand) 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(ownerHand) 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)],newability[double strike],newability[name(Search plains) target(plains|mylibrary) moveto(myhand) 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)],newability[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 gain life) name(Put 1/1 counter and gain life) target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[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(myhand) 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(ownerHand) 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(myhand) 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(ownerHand) 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} @@ -54370,7 +54340,7 @@ toughness=1 [/card] [card] name=Keen Duelist -auto=@each my upkeep:all(*[zpos=1]|mylibrary) moveto(myhand) and!( transforms((,newability[life:-manacost opponent])) oneshot )! +auto=@each my upkeep:all(*[zpos=1]|mylibrary) moveto(ownerHand) 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} @@ -54481,7 +54451,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(myhand) target(land|mybattlefield)])) ueot +auto={3}{U}:draw:1 && transforms((,newability[may moveto(ownerHand) 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 @@ -54701,7 +54671,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(myhand) 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(ownerHand) 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 @@ -54973,7 +54943,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(myhand)],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(ownerHand)],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} @@ -55191,7 +55161,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=Double strike -- When Kinjalli's Dawnrunner enters the battlefield, 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} @@ -55710,13 +55680,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(myhand) 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(ownerHand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 text=Convoke -- When Knight-Errant of Eos enters the battlefield, 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 @@ -55864,8 +55834,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(myhand) 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(myhand) 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(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 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 @@ -55875,10 +55845,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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(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(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 @@ -55910,8 +55880,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(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend -aicode=activate target(creature[legendary;zpos<=6]|mylibrary) moveto(myhand) +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) 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 @@ -56100,7 +56070,7 @@ auto=cantattack auto=cantpwattack auto=cantblock auto=noactivatedability -auto={1}{G}{U}:counter(1/1,2) && moveto(myhand) all(this) +auto={1}{G}{U}:counter(1/1,2) && moveto(ownerHand) 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 @@ -56150,7 +56120,7 @@ toughness=2 [card] name=Kraul Swarm abilities=flying -auto={2}{B}{D(creature|myhand)}:moveto(myhand) all(this) +auto={2}{B}{D(creature|myhand)}:moveto(ownerHand) all(this) text=Flying -- {2}{B}, Discard a creature card: Return Kraul Swarm from your graveyard to your hand. mana={4}{B} type=Creature @@ -56544,7 +56514,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(myhand) 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(ownerHand) 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 @@ -56853,8 +56823,8 @@ toughness=4 [/card] [card] name=Landscaper Colos -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto=name(Move to bottom) target(*|opponentgraveyard) transforms((,newability[bottomoflibrary])) ueot text=When Landscaper Colos enters the battlefield, 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} @@ -56895,7 +56865,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(myhand) 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(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 )! 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 @@ -57488,7 +57458,7 @@ name=Leave // Chance abilities=hasaftermath otherrestriction=can play sorcery flashback={3}{R} name(Chance) -auto=ifnot paid(flashback) then target(*|mybattlefield) moveto(myhand) +auto=ifnot paid(flashback) then target(*|mybattlefield) moveto(ownerHand) 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} @@ -57593,8 +57563,8 @@ toughness=3 [card] name=Legion Angel abilities=flying -aicode=activate target(Legion Angel|mySideboard) moveTo(myHand) -auto=may name(Search Sideaboard) reveal:type:*:mySideboard revealzone(mySideboard) optionone name(choose card) target(<1>Legion Angel|reveal) moveTo(myHand) 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(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 text=Flying -- When Legion Angel enters the battlefield, 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 @@ -57604,7 +57574,7 @@ toughness=3 [/card] [card] name=Legion Conquistador -auto=may moveto(myhand) target(Legion Conquistador|mylibrary) +auto=may moveto(ownerHand) target(Legion Conquistador|mylibrary) text=When Legion Conquistador enters the battlefield, you may search your library for any number of cards named Legion Conquistador, reveal them, put them into your hand, then shuffle your library. mana={2}{W} type=Creature @@ -57641,7 +57611,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(myhand)])) 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(ownerHand)])) 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} @@ -58056,8 +58026,8 @@ type=Enchantment name=Liberating Combustion target=creature auto=damage:6 -auto=moveto(myhand) target(Chandra^ Pyrogenius|mylibrary) && shuffle controller -auto=moveto(myhand) target(Chandra^ Pyrogenius|mygraveyard) +auto=moveto(ownerHand) target(Chandra^ Pyrogenius|mylibrary) && shuffle controller +auto=moveto(ownerHand) 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 @@ -58568,7 +58538,7 @@ toughness=3 [card] name=Liliana's Influence auto=counter(-1/-1) all(creature|opponentbattlefield) -auto=may moveto(myhand) target(Liliana^ Death Wielder|mylibrary,mygraveyard) +auto=may moveto(ownerHand) 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 @@ -58585,8 +58555,8 @@ type=Enchantment name=Liliana's Scorn target=creature auto=destroy -auto=choice name(Search Library) may moveto(myhand) target(Liliana^ Death Mage|myLibrary) && shuffle -auto=choice name(Search Graveyard) may moveto(myhand) target(Liliana^ Death Mage|myGraveyard) +auto=choice name(Search Library) may moveto(ownerHand) target(Liliana^ Death Mage|myLibrary) && shuffle +auto=choice name(Search Graveyard) may moveto(ownerHand) target(Liliana^ Death Mage|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 @@ -58603,8 +58573,8 @@ toughness=2 [/card] [card] name=Liliana's Spoils -aicode=activate target(*[black;zpos<=5]|mylibrary) moveto(myhand) -auto=name(look) reveal:5 optionone name(Get black card) target(*[black]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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) target(<5>*|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} @@ -58734,7 +58704,7 @@ toughness=3 [/card] [card] name=Lingering Phantom -autograveyard=_CASTHISTORIC_may pay({b}):moveto(myhand) all(this) +autograveyard=_CASTHISTORIC_may pay({b}):moveto(ownerHand) 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 @@ -58956,7 +58926,7 @@ toughness=5 [/card] [card] name=Living Lightning -auto=_DIES_moveto(myhand) target(*[instant;sorcery]|mygraveyard) +auto=_DIES_moveto(ownerHand) 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 @@ -59125,7 +59095,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(myhand) 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(ownerHand) 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} @@ -59184,7 +59154,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(myhand) asSorcery +auto={U}{B}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}:moveto(ownerHand) 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 @@ -59293,7 +59263,7 @@ target=*|mygraveyard other={X}{G}{G}{G} name(Cast Long Rest) otherrestriction=type(*|mygraveyard)~morethan~7 restriction=type(*|mygraveyard)~lessthan~8 -auto=moveto(myhand) +auto=moveto(ownerHand) 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} @@ -59530,7 +59500,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -59539,8 +59509,8 @@ auto={9999}: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(myhand) -auto=@mutated(mytgt):name(Return to hand) target(*[instant;sorcery]|mygraveyard) moveto(myhand) +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) 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 @@ -59616,7 +59586,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(myHand) and!( shuffle )! +autohand={1}{cycle}:name(Search island) target(island|myLibrary) moveto(ownerHand) 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 @@ -60539,7 +60509,7 @@ toughness=4 [/card] [card] name=Maestros Charm -auto=choice reveal:5 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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. @@ -60840,7 +60810,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -61411,7 +61381,7 @@ subtype=Aura [card] name=Many Partings auto=name(Create food) token(Food) -auto=name(Search basic land) target(land[basic]|mybattlefield) moveto(myhand) and!( shuffle )! +auto=name(Search basic land) target(land[basic]|myLibrary) moveto(ownerHand) 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 @@ -61483,7 +61453,7 @@ toughness=3 [card] name=Marauding Brinefang auto=_WARD_(3) -autohand=activate moveTo(myHand) target(island|myLibrary) +autohand=activate moveto(ownerHand) 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 @@ -61663,8 +61633,8 @@ type=Instant [/card] [card] name=March of the Drowned -auto=choice name(return creature) moveto(myhand) target(creature|mygraveyard) -auto=choice name(return pirates) moveto(myhand) target(<2>pirate|mygraveyard) +auto=choice name(return creature) moveto(ownerHand) target(creature|mygraveyard) +auto=choice name(return pirates) moveto(ownerHand) 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} @@ -62160,7 +62130,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(myhand) 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(ownerHand) target(*[enchantment;artifact]|mygraveyard)!$ controller text=When Master Skald enters the battlefield, 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 @@ -62203,7 +62173,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(myhand) +autograveyard=@each my upkeep:pay({L:1}) moveto(ownerHand) text=When Master of Death enters the battlefield, 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 @@ -62241,8 +62211,8 @@ type=Instant [/card] [card] name=Mastermind's Acquisition -auto=choice name(Search your library) target(*|mylibrary) moveto(myhand) and!( shuffle )! -auto=choice name(Search from outside game) target(*|myexile,mysideboard) moveto(myhand) +auto=choice name(Search your library) target(*|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=choice name(Search from outside game) target(*|myexile,mysideboard) moveto(ownerHand) text=Choose one -- Search your library for a card, put it into your hand, then shuffle your library. -- Put a card you own from outside the game into your hand. mana={2}{B}{B} type=Sorcery @@ -62315,7 +62285,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(myhand)])) 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(ownerHand)])) 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 your library. mana={1}{B} type=Instant @@ -62633,8 +62603,8 @@ type=Sorcery [card] name=Memory Deluge flashback={5}{U}{U} -aicode=activate transforms((,newability[target(<2>*[zpos<=totmanaspent]|mylibrary) moveto(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -62703,8 +62673,8 @@ toughness=3 [/card] [card] name=Mental Journey -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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} @@ -62798,26 +62768,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 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 @@ -62883,7 +62853,7 @@ subtype=Lesson [card] name=Meren of Clan Nel Toth auto=@movedTo(other creature|graveyard) from(myBattlefield):alterexperience:1 controller -auto=@each my endofturn restriction{type(creature|mygraveyard)~morethan~0}:name(Choose a creature) target(creature|mygraveyard) transforms((,newability[if compare(manacost)~morethan~compare(pexperience) then moveto(myhand) else moveto(mybattlefield)])) oneshot +auto=@each my endofturn 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 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 @@ -62893,7 +62863,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=When Merfolk Branchwalker enters the battlefield, 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} @@ -63298,7 +63268,7 @@ subtype=Saga [/card] [card] name=Micromancer -auto=may moveTo(myHand) target(*[instant;sorcery;manacost<=1]|myLibrary) +auto=may moveto(ownerHand) target(*[instant;sorcery;manacost<=1]|myLibrary) text=When Micromancer enters the battlefield, 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 @@ -63423,7 +63393,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -63505,7 +63475,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(myhand) 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(ownerHand) 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 the battlefield, 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 @@ -63655,7 +63625,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -64010,8 +63980,8 @@ toughness=3 [card] name=Mirkwood Elk abilities=trample -auto=name(Return elf) target(elf|mygraveyard) moveto(myhand) and!( transforms((,newability[life:power controller])) oneshot )! -auto=_ATTACKING_name(Return elf) target(elf|mygraveyard) moveto(myhand) and!( transforms((,newability[life:power controller])) oneshot )! +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 )! text=Trample -- Whenever Mirkwood Elk enters the battlefield 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 @@ -64624,12 +64594,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(myHand)!$ 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|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(myHand)!$ 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|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 @@ -65077,7 +65047,7 @@ toughness=2 [card] name=Molten Birth auto=_REDELEMENTALTOKEN_*2 -auto=flipacoin winability moveto(myhand) all(this) winabilityend flipend +auto=flipacoin winability moveto(ownerHand) 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 @@ -65180,8 +65150,8 @@ type=Instant [/card] [card] name=Moment of Truth -aicode=activate transforms((,newability[moveto(myhand) 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(myhand) optiononeend optiontwo choice name(one into your graveyard) target(*|reveal) moveto(myGraveyard) && all(*|reveal) bottomoflibrary optiontwoend +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 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 @@ -65275,7 +65245,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(myhand)])) 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(ownerHand)])) 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.) @@ -65284,7 +65254,7 @@ type=Artifact [/card] [card] name=Monstrosity of the Lake -autohand={2}{cycle}:name(Search island) target(island|myLibrary) moveTo(myHand) and!( shuffle )! +autohand={2}{cycle}:name(Search island) target(island|myLibrary) moveto(ownerHand) 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 the battlefield, 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} @@ -65342,7 +65312,7 @@ toughness=* [/card] [card] name=Monument to Perfection -auto={3}{T}:name(Search land) target(land[basic;sphere;locus]|mylibrary) moveto(myhand) and!( shuffle )! +auto={3}{T}:name(Search land) target(land[basic;sphere;locus]|mylibrary) moveto(ownerHand) 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} @@ -65502,8 +65472,8 @@ toughness=6 [/card] [card] name=Moonsilver Key -auto={1}{T}{S}:name(Search land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! -auto={1}{T}{S}:name(Search artifact) target(artifact|mylibrary) moveto(myhand) and!( shuffle )! +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 )! 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} @@ -66107,7 +66077,7 @@ toughness=3 [card] name=Murasa Sproutling kicker={1}{G} -auto=if paid(kicker) then moveTo(myHand) target(*[haskicker]|myGraveyard) +auto=if paid(kicker) then moveto(ownerHand) target(*[haskicker]|myGraveyard) text=Kicker {1}{G} -- When Murasa Sproutling enters the battlefield, if it was kicked, return target card with a kicker ability from your graveyard to your hand. mana={2}{G} type=Creature @@ -66181,8 +66151,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[endofturn once checkex] moveto(myhand)],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[endofturn once checkex] moveto(myhand)],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[endofturn 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[endofturn once checkex] moveto(ownerHand)],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} @@ -66373,7 +66343,7 @@ toughness=3 [/card] [card] name=Myr Kinsmith -auto=may notatarget(Myr|mylibrary) moveto(myhand) +auto=may notatarget(Myr|mylibrary) moveto(ownerHand) text=When Myr Kinsmith enters the battlefield, you may search your library for a Myr card, reveal it, put it into your hand, then shuffle. mana={4} type=Artifact Creature @@ -66385,7 +66355,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(myhand) target(Myr|mygraveyard) +auto={3}{T}:moveto(ownerHand) target(Myr|mygraveyard) text={T}: Add {2} to your mana pool. 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 @@ -66661,8 +66631,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(myHand) target(*[-instant;-sorcery]|myGraveyard)],newability[shuffle])) oneshot )! -auto=if casted(this) then ifnot spent({U}{B}) then name(Return to hand) moveTo(myHand) 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(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) text=If {U}{B} -- was spent to cast this spell, search your library for a card, put that card into your graveyard, then shuffle your library. -- Return up to two permanent cards from your graveyard to your hand. mana={2}{G}{G} type=Sorcery @@ -67150,7 +67120,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(myhand)])) 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(ownerHand)])) 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 @@ -67176,7 +67146,7 @@ type=Enchantment [/card] [card] name=Nazahn, Revered Bladesmith -auto=choice moveTo(myHand) target(equipment[-Hammer of Nazahn]|myLibrary) +auto=choice moveto(ownerHand) 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 the battlefield, 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 your library. -- Whenever an equipped creature you control attacks, you may tap target creature defending player controls. @@ -67357,7 +67327,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -67404,9 +67374,9 @@ toughness=0 [card] name=Necrosynthesis target=creature -aicode=activate target(*[zpos<=power]|mylibrary) moveto(myhand) and!( all(other *[zpos<=power]|mylibrary) moveto(myreveal) and !( bottomoflibrary )! )! +aicode=activate target(*[zpos<=power]|mylibrary) moveto(ownerHand) 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(myhand) 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(ownerHand) 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 @@ -67649,7 +67619,7 @@ name=Nervous Gardener facedown={3} autofacedown=_WARD_(2) autofacedown={G}:morph -autofaceup=target(land[basic]|mylibrary) moveto(myhand) +autofaceup=target(land[basic]|mylibrary) moveto(ownerHand) 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 @@ -67692,8 +67662,8 @@ toughness=2 [/card] [card] name=Nessian Wanderer -aicode=activate target(land[zpos<=3]|mylibrary) moveto(myhand) -auto=_CONSTELLATION_name(look three) reveal:3 optionone name(Get a land) target(land|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Constellation - Whenever an enchantment enters the battlefield 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 @@ -67765,7 +67735,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(myHand) 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(ownerHand) 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 @@ -67784,7 +67754,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -68085,7 +68055,7 @@ toughness=2 [card] name=Niambi, Esteemed Speaker abilities=flash -auto=may moveTo(myHand) and!(transforms((,newability[dynamicability])))! target(other creature|myBattlefield) +auto=may moveto(ownerHand) 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 the battlefield, 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} @@ -68096,8 +68066,8 @@ toughness=1 [/card] [card] name=Niambi, Faithful Healer -auto=moveto(myhand) target(Teferi^ Timebender|mylibrary) -auto=moveto(myhand) target(Teferi^ Timebender|mygraveyard) +auto=moveto(ownerHand) target(Teferi^ Timebender|mylibrary) +auto=moveto(ownerHand) target(Teferi^ Timebender|mygraveyard) text=When Niambi, Faithful Healer enters the battlefield, 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 @@ -68376,7 +68346,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(myhand) +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}) 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} @@ -68580,8 +68550,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(myhand) 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(myhand) 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(myhand) 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(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 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} @@ -68660,8 +68630,8 @@ type=Sorcery [/card] [card] name=Nissa's Triumph -auto=transforms((,newability[name(search 2 forests) moveTo(myhand) target(forest[basic]|myLibrary)])) ueot -auto=aslongas(*[nissa]|mybattlefield)>0 transforms((,newability[name(search 3 lands) moveTo(myhand) target(land|myLibrary)])) ueot +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 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 your library. mana={G}{G} type=Sorcery @@ -68678,9 +68648,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(myhand) and!( all(*[zpos<=findfirsttypeelemental]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(elf|mylibrary)~morethan~0 then all(*[zpos=findfirsttypeelf]|mylibrary) moveto(myhand) 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(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 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(myhand) 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(ownerHand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend text=Landfall -- Whenever a land enters the battlefield 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 @@ -68693,7 +68663,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(myhand) and!( shuffle )! +auto=may name(Search basic forest) target(forest[basic]|mylibrary) moveto(ownerHand) 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 the battlefield, you may search your library for a basic Forest card, reveal it, put it into your hand, then shuffle your library. -- Whenever a land enters the battlefield 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} @@ -68705,7 +68675,7 @@ toughness=2 [card] name=Niv-Mizzet Reborn abilities=flying -auto=reveal:10 optionone name(Reveal) target(*[multicolor]|reveal) moveto(myhand) optiononeend optiontwo choice all(*|reveal) moveto(mylibrary) optiontwoend revealend +auto=reveal:10 optionone name(Reveal) target(*[multicolor]|reveal) moveto(ownerHand) optiononeend optiontwo choice all(*|reveal) moveto(mylibrary) optiontwoend revealend text=Flying -- When Niv-Mizzet Reborn enters the battlefield, 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 @@ -68896,7 +68866,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(myhand)])) oneshot )! +auto=choice name(Discard any number of cards) target(*|myhand) reject and!( transforms((,newability[name(Return card from graveyard) target(*|mygraveyard) moveto(ownerHand)])) 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 @@ -69106,7 +69076,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(myHand) and!( shuffle )! +autohand={2}{cycle}:name(Search forest) target(forest|myLibrary) moveto(ownerHand) and!( shuffle )! text=When Nurturing Bristleback enters the battlefield, 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 @@ -69177,8 +69147,8 @@ toughness=3 [card] name=Nylea's Intervention abilities=hiddenface -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=X]|mylibrary) && shuffle])) ueot -auto=Choice name(Look X cards) reveal:X optionone name(Get a card) target(<1>*[land]|reveal) moveto(myhand) optiononeend revealend && shuffle +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 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 your library. -- Nylea's Intervention deals twice X damage to each creature with flying. mana={X}{G}{G} @@ -69187,11 +69157,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(myhand) 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(ownerHand) 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(myhand) optiononeend optiontwo name(Put in grave) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend +auto={2}{G}:reveal:1 optionone target(creature|reveal) moveto(ownerHand) 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 @@ -69202,7 +69172,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(myhand) 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(ownerHand) 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 @@ -70162,8 +70132,8 @@ toughness=3 [card] name=Oko's Hospitality auto=lord(creature|battlefield) transforms((,setpower=3,settoughness=3)) ueot -auto=moveto(myhand) target(Oko^ the Trickster|mylibrary) -auto=moveto(myhand) target(Oko^ the Trickster|mygraveyard) +auto=moveto(ownerHand) target(Oko^ the Trickster|mylibrary) +auto=moveto(ownerHand) 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 @@ -70265,7 +70235,7 @@ toughness=4 [card] name=Oliphaunt abilities=trample -autohand={1}{cycle}:name(Search mountain) target(mountain|mylibrary) moveto(myhand) and!( shuffle )! +autohand={1}{cycle}:name(Search mountain) target(mountain|mylibrary) moveto(ownerHand) and!( shuffle )! auto=_ATTACKING_name(Creaure gains 2/0 and trample) target(other creature|myBattlefield) transforms((,newability[2/0],newability[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} @@ -70350,7 +70320,7 @@ toughness=5 [/card] [card] name=Oltec Archaeologists -auto=may target(artifact|mygraveyard) moveto(myhand) +auto=may target(artifact|mygraveyard) moveto(ownerHand) auto=may _SCRY3_ text=When Oltec Archaeologists enters the battlefield, 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} @@ -70423,7 +70393,7 @@ type=Instant [card] name=Omen of the Dead abilities=flash -auto=moveto(myHand) target(creature|myGraveyard) +auto=moveto(ownerHand) 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 the battlefield, return target creature card from your graveyard to your hand. -- {2}{B}, Sacrifice Omen of the Dead: Scry 2. @@ -70473,7 +70443,7 @@ type=Enchantment [/card] [card] name=Ominous Parcel -auto={2}{T}{S}:target(land[basic]|mylibrary) moveto(myhand) +auto={2}{T}{S}:target(land[basic]|mylibrary) moveto(ownerHand) 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} @@ -70702,8 +70672,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(myhand) target(*[creature;land;zpos<=5]|mylibrary) -auto=name(look) reveal:5 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -70711,8 +70681,8 @@ type=Instant [card] name=Once and Future abilities=exiledeath -auto=if casted(this) then ifnot spent({G}{G}{G}) then target(*|myGraveyard) moveto(myHand) 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(myHand) +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) 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 @@ -70935,7 +70905,7 @@ type=Sorcery [/card] [card] name=Open the Gates -auto=notatarget(*[basic;gate]|mylibrary) moveto(myhand) +auto=notatarget(*[basic;gate]|mylibrary) moveto(ownerHand) text=Search your library for a basic land card or Gate card, reveal it, put it into your hand, then shuffle your library. mana={G} type=Sorcery @@ -71034,8 +71004,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(myhand) 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(myhand) 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(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 text=When Oracle of Tragedy enters the battlefield 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 @@ -71132,10 +71102,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(myHand) 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(ownerHand) 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(myhand) 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(ownerHand) 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 @@ -71158,8 +71128,8 @@ toughness=0 [/card] [card] name=Orchard Strider -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto=name(Create food) token(Food) text=When Orchard Strider enters the battlefield, 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} @@ -71315,7 +71285,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(myhand) +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 _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} @@ -71408,8 +71378,8 @@ type=Sorcery [/card] [card] name=Organ Hoarder -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot -auto=name(Reveal top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 text=When Organ Hoarder enters the battlefield, 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 @@ -71560,7 +71530,7 @@ toughness=4 [/card] [card] name=Orzhov Charm -auto=choice name(Return creature to hand) target(creature|mybattlefield) moveto(myhand) +auto=choice name(Return creature to hand) target(creature|mybattlefield) moveto(ownerHand) 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. @@ -71731,7 +71701,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -71740,8 +71710,8 @@ auto={9999}: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(myhand) -auto=@combatdamaged(player) from(mytgt):name(Return creature) target(creature[mutate]|mygraveyard) moveto(myhand) +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) 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 @@ -71933,8 +71903,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(myHand) 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(myhand) 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(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 text=When Overgrown Pest enters the battlefield, 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 @@ -72662,7 +72632,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -72671,7 +72641,7 @@ auto={9999}: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(myhand) 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(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 )!])) 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 @@ -72890,7 +72860,7 @@ type=Land [/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(myhand)])) 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(ownerHand)])) oneshot auto=@movedTo(creature|myBattlefield):all(trigger[to]) _EXPLORES_ text=Whenever a creature enters the battlefield 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} @@ -72976,7 +72946,7 @@ type=Sorcery [/card] [card] name=Path to the World Tree -auto=target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! +auto=target(land[basic]|mylibrary) moveto(ownerHand) 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 the battlefield, search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. -- {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} @@ -72984,7 +72954,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=When Pathfinding Axejaw enters the battlefield, 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} @@ -73290,7 +73260,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(myhand) 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(ownerHand) 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.) @@ -74156,8 +74126,8 @@ toughness=1 [/card] [card] name=Pilgrim of the Ages -auto=may name(Search basic plains) target(plains[basic]|mylibrary) moveto(myhand) and!( shuffle )! -autograveyard={6}:name(Return to hand) moveto(myhand) +auto=may name(Search basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +autograveyard={6}:name(Return to hand) moveto(ownerHand) text=When Pilgrim of the Ages enters the battlefield, 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 @@ -74185,7 +74155,7 @@ type=Land [card] name=Pillardrop Rescuer abilities=flying -auto=name(Return creature) target(creature[manacost<=3]|mygraveyard) moveto(myhand) +auto=name(Return creature) target(creature[manacost<=3]|mygraveyard) moveto(ownerHand) text=Flying -- When Pillardrop Rescuer enters the battlefield, return target creature card with mana value 3 or less from your graveyard to your hand. mana={4}{W} type=Creature @@ -74196,7 +74166,7 @@ toughness=2 [card] name=Pillardrop Warden abilities=reach -auto={2}{T}{S}:name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(myhand) asSorcery +auto={2}{T}{S}:name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) 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 @@ -74385,7 +74355,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(myhand) && all(this) sacrifice])) oneshot +auto=@discarded(*|myhand):may name(Sacrifice and put in hand) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(ownerHand) && 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 @@ -74849,7 +74819,7 @@ type=Instant [card] name=Plow Through Reito target=creature -auto=foreach(plains|mybattlefield) may moveTo(myhand) target(plains|mybattlefield) && 1/1 ueot +auto=foreach(plains|mybattlefield) may moveto(ownerHand) 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 @@ -74899,28 +74869,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(myhand) and!( life:-1 controller )! +aicode=activate target(*[zpos=1]|mylibrary) moveto(ownerHand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 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 @@ -75242,7 +75212,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -75392,7 +75362,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -75925,7 +75895,7 @@ toughness=4 [/card] [card] name=Priest of the Wakening Sun -auto={3}{W}{W}{S}:moveto(myhand) target(dinosaur|mylibrary) +auto={3}{W}{W}{S}:moveto(ownerHand) 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 your library. mana={W} @@ -76346,7 +76316,7 @@ name=Profane Tutor suspend(2)={1}{B} restriction=never mana={0} -auto=name(Search card) target(*|mylibrary) moveto(myhand) and!( shuffle )! +auto=name(Search card) target(*|mylibrary) moveto(ownerHand) 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 @@ -76488,11 +76458,11 @@ toughness=5 [/card] [card] name=Prophetic Titan -aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(myhand) and!( all(*[zpos<=4]|mylibrary) bottomoflibrary )!])) ueot +aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(ownerHand) 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(myhand) 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(ownerHand) 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(myhand) 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(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Delirium - When Prophetic Titan enters the battlefield, 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 @@ -76992,8 +76962,8 @@ type=Instant name=Pull from the Deep abilities=exiledeath target=*[instant]|mygraveyard -auto=moveto(myhand) -auto=moveto(myhand) target(*[sorcery]|mygraveyard) +auto=moveto(ownerHand) +auto=moveto(ownerHand) 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 @@ -77409,8 +77379,8 @@ toughness=4 [/card] [card] name=Quandrix Apprentice -aicode=activate transforms((,newability[target(land[zpos<=3]|mylibrary) moveto(myhand) 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(myhand) 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(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 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 @@ -77589,7 +77559,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=Lifelink -- When Queen's Agent enters the battlefield, 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} @@ -77715,7 +77685,7 @@ toughness=3 [card] name=Quicksilver Wall abilities=defender -auto={4}:moveto(myhand) +auto={4}:moveto(ownerHand) 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} @@ -77795,9 +77765,9 @@ type=Land [/card] [card] name=Radagast the Brown -aicode=activate transforms((,newability[if type(creature[zpos<=manacost]|mylibrary)~equalto~0 then all(*[zpos<=manacost]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(creature[zpos<=manacost]|mylibrary)~morethan~0 then target(creature[zpos<=manacost]|mylibrary) moveto(myreveal) and!( transforms((,newability[if type(*[creature;share!types!]|myBattlefield)~equalto~0 then moveto(myhand) else bottomoflibrary],newability[all(*[zpos<=manacost]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!])) oneshot -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(myhand) 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(myhand) else losesatype(toberada)])) forever afterrevealedend revealend])) forever +aicode=activate transforms((,newability[if type(creature[zpos<=manacost]|mylibrary)~equalto~0 then all(*[zpos<=manacost]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(creature[zpos<=manacost]|mylibrary)~morethan~0 then target(creature[zpos<=manacost]|mylibrary) moveto(myreveal) and!( transforms((,newability[if type(*[creature;share!types!]|myBattlefield)~equalto~0 then moveto(ownerHand) else bottomoflibrary],newability[all(*[zpos<=manacost]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!])) oneshot +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 text=Whenever Radagast the Brown or another nontoken creature enters the battlefield 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 @@ -78236,8 +78206,8 @@ type=Sorcery [card] name=Raise the Draugr restriction=type(creature|mygraveyard)~morethan~0 -auto=choice name(Return 1 creature) target(creature|mygraveyard) moveTo(myhand) -auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveTo(myhand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveTo(myhand)])) oneshot )! +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 )! 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 @@ -78472,7 +78442,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(myhand) 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(ownerHand) 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 @@ -78722,7 +78692,7 @@ toughness=4 [card] name=Rampaging Spiketail auto=target(creature|myBattlefield) transforms((,newability[2/0],newability[indestructible])) ueot -autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveTo(myHand) and!( shuffle )! +autohand={2}{cycle}:name(search swamp) target(swamp|myLibrary) moveto(ownerHand) and!( shuffle )! text=When Rampaging Spiketail enters the battlefield, 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 @@ -78863,7 +78833,7 @@ subtype=Equipment [card] name=Ranger-Captain of Eos auto={S}:maxCast(*[-creature])0 target(opponent) -auto=may target(creature[manacost<=1]|mylibrary) moveto(myhand) and!( shuffle )! +auto=may target(creature[manacost<=1]|mylibrary) moveto(ownerHand) and!( shuffle )! text=When Ranger-Captain of Eos enters the battlefield, you may search your library for a creature card with mana value 1 or less, reveal it, put it into your hand, then shuffle your library. -- Sacrifice Ranger-Captain of Eos: Your opponents can't cast noncreature spells this turn. mana={1}{W}{W} type=Creature @@ -78934,8 +78904,8 @@ toughness=3 [/card] [card] name=Ransack the Lab -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot -auto=name(look) reveal:3 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -79157,7 +79127,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(myhand)],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(ownerHand)],newability[choice name(Put 1/1 counter) target(Ravenous Gigamole[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Ravenous Gigamole enters the battlefield, 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 @@ -79280,7 +79250,7 @@ type=Sorcery name=Ravos, Soultender abilities=flying,partner auto=lord(other creature|myBattlefield) 1/1 -auto=@each my upkeep: may moveTo(myhand) target(creature|mygraveyard) +auto=@each my upkeep: may moveto(ownerHand) 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 @@ -79352,7 +79322,7 @@ toughness=1 [card] name=Razaketh's Rite abilities=cycling -auto=moveto(myhand) target(*|mylibrary) +auto=moveto(ownerHand) target(*|mylibrary) autohand=__CYCLING__({B}) text=Search your library for a card and put that card into your hand. Then shuffle your library. -- Cycling {B} ({B}, Discard this card: Draw a card.) mana={3}{B}{B} @@ -79361,7 +79331,7 @@ type=Sorcery [card] name=Razaketh, the Foulblooded abilities=flying, trample -auto={L:2}{S(other creature|mybattlefield)}:moveto(myhand) target(*|mylibrary) +auto={L:2}{S(other creature|mybattlefield)}:moveto(ownerHand) 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 your library. mana={5}{B}{B}{B} type=Legendary Creature @@ -79456,8 +79426,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(myHand) 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(myhand) 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(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 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 @@ -79597,7 +79567,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(myhand) 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(ownerHand) 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 @@ -79742,16 +79712,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 )! 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 @@ -79825,8 +79795,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(myhand) 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(myhand) 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(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(*|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} @@ -79842,10 +79812,10 @@ type=Instant [/card] [card] name=Reclaim the Wastes -aicode=activate target(land[basic]|myLibrary) moveTo(myHand) +aicode=activate target(land[basic]|myLibrary) moveto(ownerHand) 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(myhand)])) 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(myhand)])) 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(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 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 your library. If this spell was kicked, search your library for two basic land cards instead of one. mana={G} type=Instant @@ -79893,11 +79863,11 @@ type=Enchantment [card] name=Reconstruct History abilities=exiledeath -auto=ability$!may name(Return artifact) name(Return artifact) target(artifact|mygraveyard) moveto(myhand)!$ controller -auto=ability$!may name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(myhand)!$ controller -auto=ability$!may name(Return instant) name(Return instant) target(instant|mygraveyard) moveto(myhand)!$ controller -auto=ability$!may name(Return sorcery) name(Return sorcery) target(sorcery|mygraveyard) moveto(myhand)!$ controller -auto=ability$!may name(Return planeswalker) name(Return planeswalker) target(planeswalker|mygraveyard) moveto(myhand)!$ controller +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 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 @@ -79923,8 +79893,8 @@ type=Instant [/card] [card] name=Recruiter of the Guard -aicode=activate target(creature[toughness<=2]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Recruiter of the Guard enters the battlefield, you may search your library for a creature card with toughness 2 or less, reveal it, put it into your hand, then shuffle your library. mana={2}{W} type=Creature @@ -80040,7 +80010,7 @@ type=Instant [card] name=Redtooth Vanguard abilities=trample -autograveyard=@movedTo(enchantment|myBattlefield):may pay({2}) moveto(myhand) +autograveyard=@movedTo(enchantment|myBattlefield):may pay({2}) moveto(ownerHand) text=Trample -- Whenever an enchantment enters the battlefield under your control, you may pay {2}. If you do, return Redtooth Vanguard from your graveyard to your hand. mana={1}{G} type=Creature @@ -80199,7 +80169,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -80424,7 +80394,7 @@ toughness=2 name=Relentless Pursuit abilities=hiddenface aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerhand) -auto=name(look) reveal:4 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=name(look) reveal:4 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(ownerHand) optiononeend optiontwo name(put in grave) all(*|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 @@ -80589,8 +80559,8 @@ type=Instant [/card] [card] name=Remember the Fallen -auto=ability$! name(Return target creature) may name(Return target creature) moveto(myhand) target(creature|mygraveyard) !$ controller -auto=ability$! name(Return target artifact) may name(Return target artifact) moveto(myhand) 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(ownerHand) 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 @@ -80706,7 +80676,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(myhand)])) 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(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text={T}: Add {2} to your mana pool. 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 your library. mana={1}{U} type=Creature @@ -80735,7 +80705,7 @@ type=Instant name=Repeating Barrage target=anytarget auto=damage:3 -autograveyard={3}{R}{R} restriction{raid}:moveto(myhand) +autograveyard={3}{R}{R} restriction{raid}:moveto(ownerHand) 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 @@ -80796,7 +80766,7 @@ type=Sorcery [/card] [card] name=Repository Skaab -auto=may name(Exploit a creature) target(creature|mybattlefield) exploits and!( transforms((,newability[name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(myhand)])) oneshot )! +auto=may name(Exploit a creature) target(creature|mybattlefield) exploits and!( transforms((,newability[name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(ownerHand)])) oneshot )! text=Exploit (When this creature enters the battlefield, 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 @@ -81109,26 +81079,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(myhand) target(*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(myhand) target(<2>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(myhand) target(<3>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(myhand) target(<4>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(myhand) target(<5>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(myhand) target(<6>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(myhand) target(<7>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(myhand) target(<8>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(myhand) target(<9>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(myhand) target(<10>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(myhand) target(<11>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(myhand) target(<12>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(myhand) target(<13>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(myhand) target(<14>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(myhand) target(<15>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(myhand) target(<16>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(myhand) target(<17>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(myhand) target(<18>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(myhand) target(<19>*[creature]|mygraveyard) -auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(myhand) target(<20>*[creature]|mygraveyard) +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) 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 @@ -81206,7 +81176,7 @@ type=Land [card] name=Restorative Burst abilities=doublefacedeath -auto=name(Return to hand) target(*[creature;land;planeswalker]|mygraveyard) moveto(myhand) +auto=name(Return to hand) target(*[creature;land;planeswalker]|mygraveyard) moveto(ownerHand) 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} @@ -81251,8 +81221,8 @@ toughness=5 [card] name=Retrieve abilities=exiledeath -auto=may name(Return creature) target(creature|mygraveyard) moveto(myhand) -auto=ability$!may name(Return non-creature) name(Return non-creature) target(*[-creature]|mygraveyard) moveto(myhand)!$ controller +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 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 @@ -81292,8 +81262,8 @@ type=Sorcery [card] name=Return from Extinction restriction=type(creature|mygraveyard)~morethan~0 -auto=choice name(Return 1 creature) target(creature|mygraveyard) moveTo(myhand) -auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveTo(myhand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveTo(myhand)])) oneshot )! +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 )! 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 @@ -81337,7 +81307,7 @@ type=Sorcery [card] name=Returned Pastcaller abilities=flying -auto=name(Return spirit or instant or sorcery) target(*[spirit;instant;sorcery]|mygraveyard) moveto(myhand) +auto=name(Return spirit or instant or sorcery) target(*[spirit;instant;sorcery]|mygraveyard) moveto(ownerHand) text=Flying -- When Returned Pastcaller enters the battlefield, return target Spirit, instant, or sorcery card from your graveyard to your hand. mana={3}{R}{RW}{W} type=Creature @@ -81476,14 +81446,14 @@ type=Sorcery [card] name=Revive the Shire target=*[-instant&-sorcery]|mygraveyard -auto=moveTo(myhand) and!( token(Food) )! +auto=moveto(ownerHand) and!( token(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(myhand) 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(ownerHand) 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} @@ -81493,7 +81463,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(myHand) +auto=name(Return instant or sorcery) target(*[instant;sorcery]|myGraveyard) moveto(ownerHand) text=When Revolutionist enters the battlefield, 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 @@ -81729,7 +81699,7 @@ type=Enchantment name=Rhythmic Water Vortex target=creature auto=moveTo(ownerhand) -auto=may moveto(myhand) target(Mu Yanling|mylibrary,mygraveyard) && shuffle +auto=may moveto(ownerHand) target(Mu Yanling|mylibrary,mygraveyard) && shuffle 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 @@ -82061,7 +82031,7 @@ type=Artifact [/card] [card] name=Ring of Ma'ruf -auto={5}{T}{E}:transforms((,newability[replacedraw target(*|mysideboard) moveto(myhand)])) ueot +auto={5}{T}{E}:transforms((,newability[replacedraw target(*|mysideboard) moveto(ownerHand)])) 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 @@ -82069,37 +82039,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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(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 )! 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 @@ -82107,7 +82077,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(myhand) +autograveyard=@ringtemptedof(player):name(Return to hand) moveto(ownerHand) text=When Ringwraiths enters the battlefield, 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 @@ -82521,7 +82491,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(myhand)])) oneshot )! +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 )! 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 your library. mana={1}{G} type=Sorcery @@ -82606,7 +82576,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=Vigilance -- When River Herald Guide enters the battlefield, 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} @@ -82797,9 +82767,9 @@ type=Instant [card] name=Road of Return other={2}{G}{G} name(Entwine) -auto=ifnot paid alternative then choice name(Return permanent) moveto(myhand) target(*|mygraveyard) -auto=ifnot paid alternative then choice name(Return commander) moveto(myhand) target(*[iscommander]|mycommandzone) -auto=if paid(alternative) then moveto(myhand) target(*|mygraveyard) && ability$!name(Choose commander from command zone) name(Choose commander from command zone) moveto(myhand) target(*[iscommander]|mycommandzone)!$ controller +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 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 @@ -83057,7 +83027,7 @@ toughness=4 [/card] [card] name=Rofellos's Gift -auto=target(enchantment|mygraveyard) moveto(myhand) +auto=target(enchantment|mygraveyard) moveto(ownerHand) 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 @@ -83100,11 +83070,11 @@ subtype=Class [/card] [card] name=Rogues' Gallery -auto=ability$!name(return white creature) may name(return white creature) moveto(myhand) target(creature[white]|mygraveyard)!$ controller -auto=ability$!name(return blue creature) may name(return blue creature) moveto(myhand) target(creature[blue]|mygraveyard)!$ controller -auto=ability$!name(return black creature) may name(return black creature) moveto(myhand) target(creature[black]|mygraveyard)!$ controller -auto=ability$!name(return red creature) may name(return red creature) moveto(myhand) target(creature[red]|mygraveyard)!$ controller -auto=ability$!name(return green creature) may name(return green creature) moveto(myhand) target(creature[green]|mygraveyard)!$ controller +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 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 @@ -83291,7 +83261,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(myhand) +auto={G}{U}{T}{E}:name(Return card from exile) target(*[hasflashback]|myexile) moveto(ownerHand) 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 @@ -83324,7 +83294,7 @@ toughness=4 [card] name=Rootless Yew abilities=trample -auto=_DIES_name(Put creature in hand) target(creature[power>=6]|mygraveyard) moveto(myhand) and!( shuffle )! +auto=_DIES_name(Put creature in hand) target(creature[power>=6]|mygraveyard) moveto(ownerHand) and!( shuffle )! 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 your library. mana={3}{G}{G} type=Creature @@ -83361,7 +83331,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(myhand) else draw:1 controller +auto=if type(*[land;elf]|mygraveyard)~morethan~0 then target(*[land;elf]|mygraveyard) moveto(ownerHand) 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 @@ -83599,7 +83569,7 @@ type=Sorcery [/card] [card] name=Rousing of Souls -auto=all(*[zpos=1]|library) moveto(myhand) 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(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 )! text=Parley - Each player reveals the top card of his or her 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 @@ -83648,8 +83618,8 @@ toughness=3 [/card] [card] name=Rowan's Stalwarts -auto=moveto(myhand) target(Rowan^ Fearless Sparkmage|mylibrary) -auto=moveto(myhand) target(Rowan^ Fearless Sparkmage|mygraveyard) +auto=moveto(ownerHand) target(Rowan^ Fearless Sparkmage|mylibrary) +auto=moveto(ownerHand) target(Rowan^ Fearless Sparkmage|mygraveyard) text=When Rowan's Stalwarts enters the battlefield, 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 @@ -83823,8 +83793,8 @@ toughness=3 [card] name=Ruin Grinder abilities=menace -aicode=activate moveTo(myhand) 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(myhand))! afterrevealedend revealend +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 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.) @@ -84254,8 +84224,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(myhand) and!( shuffle )! -auto=choice name(Search your graveyard) target(*[rune]|mygraveyard) moveto(myhand) +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=lord(*[rune]|myrestrictedcastingzone) transforms((,newability[{1}:name(Pay with 1 mana) name(Pay with 1 mana) activate castcard(normal)])) text=When Runeforge Champion enters the battlefield, 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} @@ -84267,7 +84237,7 @@ toughness=3 [card] name=Runic Repetition target=*[hasflashback]|myexile -auto=moveto(myhand) +auto=moveto(ownerHand) text=Return target exiled card with flashback you own to your hand. mana={2}{U} type=Sorcery @@ -84289,7 +84259,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(myhand) 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(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 )! text=Flying -- When Runo Stromkirk enters the battlefield, 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 @@ -84547,7 +84517,7 @@ toughness=1 [/card] [card] name=Sacred Excavation -auto=moveTo(myhand) target(*[cycling]|myGraveyard) +auto=moveto(ownerHand) target(*[cycling]|myGraveyard) text=Return up to two target cards with cycling from your graveyard to your hand. mana={3}{U} type=Sorcery @@ -84817,7 +84787,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(myHand) +auto=ifnot paid(alternative) then target(other *[instant;sorcery]|mygraveyard) moveto(ownerHand) auto=if paid(alternative) then 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} @@ -84918,7 +84888,7 @@ toughness=3 [/card] [card] name=Salvager of Ruin -auto={S}:target(*[-instant;-sorcery;fresh]|mygraveyard) moveto(myhand) +auto={S}:target(*[-instant;-sorcery;fresh]|mygraveyard) moveto(ownerHand) 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 @@ -84939,7 +84909,7 @@ toughness=2 [card] name=Sam's Desperate Rescue target=creature|mygraveyard -auto=moveTo(myhand) and!( name(The ring tempts you) ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! +auto=moveto(ownerHand) 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 @@ -85022,7 +84992,7 @@ toughness=4 [card] name=Samwise Gamgee auto=@movedTo(other creature[-token]|myBattlefield):name(Create food) token(Food) -auto={S(food|mybattlefield)}{S(food|mybattlefield)}{S(food|mybattlefield)}:name(Reutn historic card) target(*[artifact;legendary;saga]|mygraveyard) moveto(myhand) +auto={S(food|mybattlefield)}{S(food|mybattlefield)}{S(food|mybattlefield)}:name(Reutn historic card) target(*[artifact;legendary;saga]|mygraveyard) moveto(ownerHand) text=Whenever another nontoken creature enters the battlefield 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 @@ -85033,7 +85003,7 @@ toughness=2 [card] name=Samwise the Stouthearted abilities=flash -auto=may name(Return a permanent) target(*[-instant&-sorcery&fresh]|mygraveyard) moveto(myhand) and!( ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! +auto=may name(Return a permanent) target(*[-instant&-sorcery&fresh]|mygraveyard) moveto(ownerHand) and!( ability$!name(The ring tempts you) _RINGTEMPTS_!$ controller )! text=Flash -- When Samwise the Stouthearted enters the battlefield, 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} type=Legendary Creature @@ -85212,7 +85182,7 @@ subtype=Shrine [card] name=Sanctum of Eternity auto={T}:add{1} -auto={2}{T}:moveTo(myHand) target(*[iscommander]|mybattlefield) myTurnOnly +auto={2}{T}:moveto(ownerHand) 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] @@ -85284,8 +85254,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(myHand) 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(myhand) 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(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 text=Flash -- When Sandstalker Moloch enters the battlefield, 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 @@ -85348,7 +85318,7 @@ toughness=3 name=Sanguine Indulgence target=creature|mygraveyard anyzone=restriction{compare(lifegain)~morethan~2}:changecost(colorless:-3) forcedalive -auto=moveTo(myHand) +auto=moveto(ownerHand) 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 @@ -85590,8 +85560,8 @@ toughness=6 [/card] [card] name=Sarinth Steelseeker -aicode=activate transforms((,newability[target(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot -auto=@movedto(artifact|mybattlefield):name(Look top card) reveal:1 optionone name(May reveal a land) target(land|reveal) moveto(myhand) 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(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 text=Whenever an artifact enters the battlefield 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 @@ -85611,7 +85581,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(myhand) 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(ownerHand) 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 @@ -85815,9 +85785,9 @@ toughness=3 [/card] [card] name=Satoru Umezawa -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3|mylibrary]) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(ownerHand) 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(myhand) 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(ownerHand) 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 @@ -85828,7 +85798,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(myhand)])) 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(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 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 @@ -85876,7 +85846,7 @@ toughness=2 [/card] [card] name=Sauron's Ransom -auto=all(*[zpos=1]|opponentlibrary) moveto(myhand) and!( transforms((,newability[all(*[zpos=2]|opponentlibrary) moveto(myhand)],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(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 )! 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 @@ -86162,7 +86132,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -86351,8 +86321,8 @@ subtype=Forest Plains [/card] [card] name=Scattered Thoughts -aicode=activate target(<2>*[zpos<=4]|mylibrary) moveto(myhand) and!( all(*[zpos<=2]|mylibrary) moveto(mygraveyard) )! -auto=name(Look top 4 cards) reveal:4 optionone name(Put in hand) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -86511,7 +86481,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(myhand) 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(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 text=Scholar of New Horizons enters the battlefield 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 @@ -86531,7 +86501,7 @@ toughness=2 [/card] [card] name=Scholar of the Ages -auto=moveto(myhand) target(*[instant;sorcery]|mygraveyard) +auto=moveto(ownerHand) target(*[instant;sorcery]|mygraveyard) text=When Scholar of the Ages enters the battlefield, return up to two target instant and/or sorcery cards from your graveyard to your hand. mana={5}{U}{U} type=Creature @@ -86588,7 +86558,7 @@ toughness=4 [/card] [card] name=Scion of Halaster -aicode=activate transforms((,newability[target(*[zpos<=2]|mylibrary) moveto(myhand) and!( all(*[zpos<=2]|mylibrary) moveto(myreveal) and!( moveto(mygraveyard) )! )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=2]|mylibrary) moveto(ownerHand) 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} @@ -86887,7 +86857,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(myhand) target(creature[construct]|mylibrary) +auto={T}{S(artifact|myBattlefield)}:moveto(ownerHand) target(creature[construct]|mylibrary) text=Modular 2 (This creature enters the battlefield 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 your library. mana={3} type=Artifact Creature @@ -86972,7 +86942,7 @@ toughness=4 [/card] [card] name=Scribe of the Mindful -auto={1}{T}{S}:moveto(myhand) target(instant,sorcery|mygraveyard) +auto={1}{T}{S}:moveto(ownerHand) 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 @@ -87241,7 +87211,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -87334,8 +87304,8 @@ type=Legendary Enchantment [card] name=Search for Blex abilities=doublefacedeath -aicode=activate all(*[zpos<=1]|mylibrary) moveto(myhand) 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(myhand) 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(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 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 @@ -87346,8 +87316,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(myhand) and!( shuffle )! -auto=choice name(Search saga or legendary card) target(*[saga;legendary]|mylibrary) moveTo(myhand) and!( shuffle )! +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 )! 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 your library. 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 @@ -87417,9 +87387,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(myhand) -auto=if type(enchantment|mygraveyard)~morethan~0 then choice name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(myhand) -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(myhand) and!( transforms((,newability[name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(myhand)])) oneshot )! +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 )! 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 @@ -87456,7 +87426,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(myhand)])) 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(ownerHand)])) 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 the battlefield, 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} @@ -87489,7 +87459,7 @@ toughness=2 [card] name=Seasons Past auto=bottomoflibrary -auto=ability$!may name(Return card with cost 0) moveTo(myHand) target(*[manacost=0]|myGraveyard)!$ controller && ability$!may name(Return card with cost 1) moveTo(myHand) target(*[manacost=1]|myGraveyard)!$ controller && ability$!may name(Return card with cost 2) moveTo(myHand) target(*[manacost=2]|myGraveyard)!$ controller && ability$!may name(Return card with cost 3) moveTo(myHand) target(*[manacost=3]|myGraveyard)!$ controller && ability$!may name(Return card with cost 4) moveTo(myHand) target(*[manacost=4]|myGraveyard)!$ controller && ability$!may name(Return card with cost 5) moveTo(myHand) target(*[manacost=5]|myGraveyard)!$ controller && ability$!may name(Return card with cost 6) moveTo(myHand) target(*[manacost=6]|myGraveyard)!$ controller && ability$!may name(Return card with cost 7) moveTo(myHand) target(*[manacost=7]|myGraveyard)!$ controller && ability$!may name(Return card with cost 8) moveTo(myHand) target(*[manacost=8]|myGraveyard)!$ controller && ability$!may name(Return card with cost 9) moveTo(myHand) target(*[manacost=9]|myGraveyard)!$ controller && ability$!may name(Return card with cost 10) moveTo(myHand) target(*[manacost=10]|myGraveyard)!$ controller +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 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 @@ -87565,7 +87535,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(myhand) and!( shuffle )!])) forever chooseend +autocommandzone=chooseaname transforms((,newability[@movedto(creature[chosenname]|mybattlefield):may name(Search library) target(creature[chosenname]|mylibrary) moveto(ownerHand) 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 the battlefield 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 your library. type=Conspiracy [/card] @@ -87650,16 +87620,16 @@ subtype=Aura [/card] [card] name=See the Truth -aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary optiontwoend revealend +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 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(myhand) 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(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 )! 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 @@ -87707,7 +87677,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=When Seekers' Squire enters the battlefield, 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} @@ -87786,7 +87756,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(myhand) and!( shuffle )! +autohand={2}{cycle}:name(Search mountain) target(mountain|mylibrary) moveto(ownerHand) 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 @@ -88699,7 +88669,7 @@ type=Sorcery [/card] [card] name=Shadow of the Grave -auto=moveto(myhand) all(*[fresh]|mygraveyard) +auto=moveto(ownerHand) 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 @@ -89049,10 +89019,10 @@ type=Enchantment [/card] [card] name=Shard Convergence -auto=ability$!name(Plains) moveto(myhand) notatarget(*[plains]|mylibrary)!$ controller -auto=ability$!name(Island) moveto(myhand) notatarget(*[island]|mylibrary)!$ controller -auto=ability$!name(Swamp) moveto(myhand) notatarget(*[swamp]|mylibrary)!$ controller -auto=ability$!name(Mountain) moveto(myhand) notatarget(*[mountain]|mylibrary)!$ controller +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 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 your library. mana={3}{G} type=Sorcery @@ -89489,7 +89459,7 @@ subtype=Equipment [card] name=Shield-Wall Sentinel abilities=defender -auto=name(Search creature) target(creature[defender]|mylibrary) moveto(myhand) and!( shuffle )! +auto=name(Search creature) target(creature[defender]|mylibrary) moveto(ownerHand) and!( shuffle )! text=Defender -- When Shield-Wall Sentinel enters the battlefield, 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 @@ -89594,8 +89564,8 @@ toughness=6 [/card] [card] name=Shimmer of Possibility -aicode=activate moveto(myhand) all(*[zpos<=1]|mylibrary) -auto=name(Look 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -89695,7 +89665,7 @@ toughness=6 name=Shipwreck Dowser abilities=prowess auto=@movedTo(*[-creature]|mystack):1/1 ueot -auto=moveTo(myHand) target(*[instant;sorcery]|myGraveyard) +auto=moveto(ownerHand) 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 the battlefield, return target instant or sorcery card from your graveyard to your hand. mana={3}{U}{U} type=Creature @@ -90079,7 +90049,7 @@ toughness=2 [/card] [card] name=Shrine Steward -auto=activate moveTo(myHand) target(*[Aura;Shrine]|myLibrary) +auto=activate moveto(ownerHand) target(*[Aura;Shrine]|myLibrary) text=When Shrine Steward enters the battlefield, 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 @@ -90398,7 +90368,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(myhand) 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(ownerHand) 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 @@ -90698,8 +90668,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(myhand) -auto=name(Reveal 6 cards) reveal:6 optionone name(Get instant or sorcery) target(*[instant;sorcery]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -91006,7 +90976,7 @@ toughness=2 [/card] [card] name=Sindbad -auto={T}:name(Draw and reveal) reveal:1 optionone if type(land|reveal)~lessthan~1 then moveto(mygraveyard) optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) optiontwoend revealend +auto={T}:name(Draw and reveal) reveal:1 optionone if type(land|reveal)~lessthan~1 then moveto(mygraveyard) optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(ownerHand) optiontwoend revealend text={T}: Draw a card and reveal it. If it isn't a land card, discard it. mana={1}{U} type=Creature @@ -91074,7 +91044,7 @@ type=Sorcery [card] name=Sink into Takenuma target=swamp|mybattlefield -auto=moveTo(myhand) && ability$!name(discard) notatarget(*|myhand) reject!$ opponent +auto=moveto(ownerHand) && 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 @@ -91124,8 +91094,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(myHand) 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(myhand) 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(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 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 the battlefield, 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} @@ -91146,7 +91116,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=Flying -- When Siren Lookout enters the battlefield, 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} @@ -91296,8 +91266,8 @@ toughness=1 [/card] [card] name=Skalla Wolf -aicode=activate target(*[green;zpos<=5]|mylibrary) moveto(myhand) -auto=name(look) reveal:5 optionone name(Get green card) target(*[green]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Skalla Wolf enters the battlefield, 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 @@ -91568,7 +91538,7 @@ toughness=2 [/card] [card] name=Skittering Surveyor -auto=may name(Search basic land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! +auto=may name(Search basic land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! text=When Skittering Surveyor enters the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. mana={3} type=Artifact Creature @@ -91758,7 +91728,7 @@ toughness=3 [card] name=Skullwinder abilities=deathtouch -auto=name(Return a card) target(*|myGraveyard) moveTo(myHand) and!( transforms((,newability[ability$!name(Return a card) name(Return a card) target(*|myGraveyard) moveTo(myHand)!$ opponent])) oneshot )! +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 )! text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- When Skullwinder enters the battlefield, 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 @@ -91948,7 +91918,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(myhand) else name(May move to battlefield) target(*[land]|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put land in hand) target(<1>*[land]|reveal) moveto(myhand) 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(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 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 @@ -91968,8 +91938,8 @@ subtype=Equipment [/card] [card] name=Skyclave Plunder -aicode=activate moveTo(myHand) target(*[zpos<=calculatepartyplus3plusend]|myLibrary) -auto=reveal:calculatepartyplus3plusend optionone name(Get a card) target(*|reveal) moveTo(myHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -92656,7 +92626,7 @@ 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(myhand)],newability[if type(land|mygraveyard)~morethan~1 then choice name(Return 2 lands) name(Return 2 lands) target(<2>land|mygraveyard) moveto(myhand)],newability[if type(land|mygraveyard)~morethan~0 then choice name(Return 1 land) name(Return 1 land) target(land|mygraveyard) moveto(myhand)])) oneshot +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 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 @@ -92952,7 +92922,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -93136,7 +93106,7 @@ toughness=3 name=Soaring Sandwing abilities=flying auto=life:3 -autohand={2}{cycle}:name(Search plains) target(plains|myLibrary) moveTo(myHand) and!( shuffle )! +autohand={2}{cycle}:name(Search plains) target(plains|myLibrary) moveto(ownerHand) and!( shuffle )! text=Flying -- When Soaring Sandwing enters the battlefield, 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 @@ -93180,8 +93150,8 @@ toughness=2 [card] name=Sojourner's Companion abilities=affinityartifacts -aicode=activate target(land[artifact]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -93436,7 +93406,7 @@ toughness=4 [/card] [card] name=Solve the Equation -auto=name(Search instant or sorcery) target(*[instant;sorcery]|mylibrary) moveto(myhand) and!( shuffle )! +auto=name(Search instant or sorcery) target(*[instant;sorcery]|mylibrary) moveto(ownerHand) 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 @@ -93513,7 +93483,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(myhand) else transforms((,newability[moveto(myhand)],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(ownerHand) else transforms((,newability[moveto(ownerHand)],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 @@ -93682,8 +93652,8 @@ type=Artifact [/card] [card] name=Sorin's Guide -auto=may moveto(myhand) target(Sorin^ Vampire Lord|mylibrary) -auto=may moveto(myhand) target(Sorin^ Vampire Lord|mygraveyard) +auto=may moveto(ownerHand) target(Sorin^ Vampire Lord|mylibrary) +auto=may moveto(ownerHand) target(Sorin^ Vampire Lord|mygraveyard) text=When Sorin's Guide enters the battlefield, 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 @@ -93749,8 +93719,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(myhand) -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(myhand) 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(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 )! 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 @@ -93810,7 +93780,7 @@ type=Instant [card] name=Soul Strings target=<2>creature|mygraveyard -auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?moveto(myhand)])) forever +auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?moveto(ownerHand)])) forever text=Return two target creature cards from your graveyard to your hand unless any player pays {X}. mana={X}{B} type=Sorcery @@ -93819,9 +93789,9 @@ type=Sorcery name=Soul Transfer otherrestriction=type(artifact|mybattlefield)~morethan~0,type(artifact|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(myhand) +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=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(myhand)!$ 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(ownerHand)!$ 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} @@ -94134,7 +94104,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -94167,7 +94137,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(myhand) and!( transforms((,newability[@each endofturn: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(ownerHand) and!( transforms((,newability[@each endofturn: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 to your mana pool." type=Conspiracy @@ -94363,7 +94333,7 @@ toughness=6 [card] name=Speakeasy Server abilities=flying -auto=foreach(other creature|myBattlefield) life:1 +auto=life:othertype:creature:mybattlefield controller text=Flying -- When Speakeasy Server enters the battlefield, you gain 1 life for each other creature you control. mana={4}{W} type=Creature @@ -94562,7 +94532,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(myhand) +autograveyard={1}{W}{E}:name(Return aura or equipment) target(other *[aura;equipment]|mygraveyard) moveto(ownerHand) 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 @@ -94687,8 +94657,8 @@ toughness=4 [card] name=Spellpyre Phoenix abilities=flying -auto=may name(Return instant or sorcery) target(*[instant;sorcery;cycling]|myGraveyard) moveTo(myHand) -autograveyard=@each end restriction{compare(pcycledcount)~morethan~1}:name(Return to hand) moveTo(myhand) +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) text=Flying -- When Spellpyre Phoenix enters the battlefield, 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 @@ -94726,7 +94696,7 @@ toughness=3 [/card] [card] name=Spellseeker -auto=may moveTo(myHand) target(*[instant;sorcery;manacost<=2]|myLibrary) +auto=may moveto(ownerHand) target(*[instant;sorcery;manacost<=2]|myLibrary) text=When Spellseeker enters the battlefield, 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 your library. mana={2}{U} type=Creature @@ -94944,7 +94914,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(myhand) +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) 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 @@ -95201,7 +95171,7 @@ toughness=1 [/card] [card] name=Spirit of the Aldergard -auto=target(land[snow]|mylibrary) moveto(myhand) and!( shuffle )! +auto=target(land[snow]|mylibrary) moveto(ownerHand) and!( shuffle )! auto=foreach(other snow|myBattlefield) 1/0 text=When Spirit of the Aldergard enters the battlefield, search your library for a snow land card, reveal it, put it into your hand, then shuffle your library. -- Spirit of the Aldergard gets +1/+0 for each other snow permanent you control. mana={3}{G} @@ -95261,7 +95231,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(myhand) +autograveyard=@movedTo(Dragon|myBattlefield):may name(Return Spit Flame) pay({R}) name(Return Spit Flame) moveto(ownerHand) text=Spit Flame deals 4 damage to target creature. -- Whenever a Dragon enters the battlefield under your control, you may pay {R}. If you do, return Spit Flame from your graveyard to your hand. mana={2}{R} type=Instant @@ -95401,7 +95371,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(myhand)])) oneshot )! +auto=moveto(myreveal) and!( transforms((,newability[if compare(genrand2)~equalto~1 then moveto(myexile) else moveto(ownerHand)])) 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 @@ -95742,7 +95712,7 @@ toughness=7 [card] name=Sprouting Goblin kicker={G} -auto=if paid(kicker) then target(land[basic]|mylibrary) moveto(myhand) +auto=if paid(kicker) then target(land[basic]|mylibrary) moveto(ownerHand) 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 the battlefield, 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} @@ -95763,7 +95733,7 @@ type=Sorcery [card] name=Spy Eye abilities=flying -auto=@combatdamaged(player) from(this):may moveto(myhand) all(*[zpos=1]|opponentlibrary) +auto=@combatdamaged(player) from(this):may moveto(ownerHand) 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 @@ -96572,8 +96542,8 @@ type=Enchantment [card] name=Step Through target=<2>creature|battlefield -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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) 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} @@ -96845,8 +96815,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(myhand) -auto=if compare(type:land:mybattlefield)~morethan~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(myhand) +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) text=When Stoic Farmer enters the battlefield, 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 your library. -- 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 @@ -97156,7 +97126,7 @@ type=Instant [card] name=Storm Sculptor abilities=unblockable -auto=moveto(myhand) target(creature|mybattlefield) +auto=moveto(ownerHand) target(creature|mybattlefield) text=Storm Sculptor can't be blocked. -- When Storm Sculptor enters the battlefield, return a creature you control to its owner's hand. mana={3}{U} type=Creature @@ -97992,7 +97962,7 @@ toughness=4 [/card] [card] name=Sumala Woodshaper -auto=target(*[creature;enchantment;zpos<=4]|mylibrary) moveto(myhand) +auto=target(*[creature;enchantment;zpos<=4]|mylibrary) moveto(ownerHand) text=When Sumala Woodshaper enters the battlefield, 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 @@ -98028,7 +97998,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(myhand) and!( shuffle )!],newability[@movedto(creature[chosenname]|mybattlefield):may name(Search library) target(creature[-chosenname]|mylibrary) moveto(myhand) and!( shuffle )!])) forever chooseend +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):may name(Search library) target(creature[-chosenname]|mylibrary) moveto(ownerHand) 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 your library. type=Conspiracy [/card] @@ -98172,7 +98142,7 @@ toughness=2 [/card] [card] name=Sun-Blessed Mount -auto=may moveto(myhand) target(Huatli^ Dinosaur Knight|mylibrary,mygraveyard) +auto=may moveto(ownerHand) target(Huatli^ Dinosaur Knight|mylibrary,mygraveyard) text=When Sun-Blessed Mount enters the battlefield, 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 @@ -98250,7 +98220,7 @@ toughness=3 [card] name=Sunblade Samurai abilities=vigilance -autohand={2}{discard}:name(Search basic plains) target(plains[basic]|mylibrary) moveto(myhand) && life:2 +autohand={2}{discard}:name(Search basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) && 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 @@ -98398,7 +98368,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=Vigilance -- When Sunrise Seeker enters the battlefield, 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} @@ -98524,7 +98494,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(myhand)])) 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(ownerHand)])) 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 your library. mana={X}{G}{W} @@ -98573,7 +98543,7 @@ toughness=3 [card] name=Supreme Will auto=choice 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(myhand) 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(ownerHand) 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 @@ -98761,8 +98731,8 @@ toughness=1 [/card] [card] name=Survivors' Bond -auto=ability$! may moveTo(myHand) target(creature[human]|myGraveyard)!$ controller -auto=ability$! may moveTo(myHand) target(creature[-human]|myGraveyard)!$ controller +auto=ability$! may moveto(ownerHand) target(creature[human]|myGraveyard)!$ controller +auto=ability$! may moveto(ownerHand) 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 @@ -99757,7 +99727,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(myhand) 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(ownerHand) 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 @@ -99880,7 +99850,7 @@ toughness=1 [/card] [card] name=Tajuru Paragon -aicode=activate target(creature[elf;cleric;warrior;rogue;wizard;zpos<=6]|myLibrary) name(revealed card) moveto(myhand) 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(ownerHand) 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 @@ -99968,17 +99938,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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ 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(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 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(myhand) 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(ownerHand) 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 @@ -100094,7 +100064,7 @@ name=Talons of Wildwood target=creature auto=teach(creature) +1/+1 auto=teach(creature) trample -autograveyard={2}{G}:moveto(myhand) +autograveyard={2}{G}:moveto(ownerHand) 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 @@ -100357,8 +100327,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(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot -auto=name(Look top 3 cards) reveal:3 optionone name(Get Creature) target(creature|reveal) moveto(myhand) 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(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 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 @@ -100712,7 +100682,7 @@ toughness=2 [card] name=Tazeem Roilmage kicker={4} -auto=if paid(kicker) then moveTo(myHand) target(*[instant;sorcery]|myGraveyard) +auto=if paid(kicker) then moveto(ownerHand) target(*[instant;sorcery]|myGraveyard) text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- When Tazeem Whirlwind Mage enters the battlefield, if this creature was kicked, return target instant or sorcery card from your graveyard to your hand. mana={1}{U} type=Creature @@ -100723,8 +100693,8 @@ toughness=1 [card] name=Tazri, Beacon of Unity abilities=affinityparty -aicode=activate moveTo(myHand) 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(myHand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -100735,7 +100705,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(myhand)])) 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(ownerHand)])) 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 @@ -100911,8 +100881,8 @@ type=Enchantment [card] name=Teferi's Wavecaster abilities=flash -auto=choice name(Search Library) may moveto(myHand) target(Teferi^ Timeless Voyager|myLibrary) && shuffle -auto=choice name(Search Graveyard) may moveto(myHand) target(Teferi^ Timeless Voyager|myGraveyard) +auto=choice name(Search Library) may moveto(ownerHand) target(Teferi^ Timeless Voyager|myLibrary) && shuffle +auto=choice name(Search Graveyard) may moveto(ownerHand) target(Teferi^ Timeless Voyager|myGraveyard) text=Flash -- When Teferi's Wavecaster enters the battlefield, 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 @@ -101526,7 +101496,7 @@ type=Instant [/card] [card] name=Testament Bearer -auto=_DIES_name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) 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(ownerHand) 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 @@ -101594,16 +101564,16 @@ toughness=3 name=Tezzeret's Betrayal target=creature auto=destroy -auto=choice name(Search Library) may moveto(myhand) target(Tezzeret^ Master of Metal|myLibrary) && shuffle -auto=choice name(Search Graveyard) may moveto(myhand) target(Tezzeret^ Master of Metal|myGraveyard) +auto=choice name(Search Library) may moveto(ownerHand) target(Tezzeret^ Master of Metal|myLibrary) && shuffle +auto=choice name(Search Graveyard) may moveto(ownerHand) 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(myhand) -auto=name(look) reveal:5 optionone name(Get blue or artifact card) target(*[blue;artifact]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate target(*[blue;artifact;zpos<=5]|mylibrary) moveto(ownerHand) +auto=name(look) reveal:5 optionone name(Get blue or artifact card) target(*[blue;artifact]|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend auto={5}{U}{T}{S}:all(creature|mybattlefield) transforms((,newability[unblockable])) ueot text=When Tezzeret's Gatebreaker enters the battlefield, 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} @@ -101690,8 +101660,8 @@ toughness=5 [/card] [card] name=Thassa's Intervention -aicode=activate target(*[zpos<=X]|mylibrary) moveto(myhand) and!( all(*[zpos<=X]) moveto(myreveal) and!( bottomoflibrary )! )! -auto=choice name(Look X cards) reveal:X optionone name(Get 2 cards) target(*|reveal) moveto(myhand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +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 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} @@ -101725,7 +101695,7 @@ toughness=5 [/card] [card] name=Thaumatic Compass -auto={3}{T}:moveto(myhand) target(basic|mylibrary) +auto={3}{T}:moveto(ownerHand) target(basic|mylibrary) auto=@each my endofturn: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 your library. -- At the beginning of your end step, if you control seven or more lands, transform Thaumatic Compass. mana={2} @@ -101759,8 +101729,8 @@ subtype=Saga 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(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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=@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. @@ -101893,7 +101863,7 @@ subtype=Saga [/card] [card] name=The Biblioplex -aicode=activate moveTo(myhand) target(*[instant;sorcery;zpos=1]|mylibrary) +aicode=activate moveto(ownerHand) 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 @@ -101917,7 +101887,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(myhand) target(*[land;creature]|mygraveyard) +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}) 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} @@ -101926,8 +101896,8 @@ subtype=Saga [/card] [card] name=The Birth of Meletis -aicode=activate target(Plains[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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) @@ -102299,7 +102269,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(myhand) target(*[land;creature]|mygraveyard) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}=) moveto(ownerHand) 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 @@ -102763,7 +102733,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(myhand) and!( shuffle )! +auto=name(Search basic plains) target(plains[basic]|mylibrary) moveto(ownerHand) 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. @@ -102908,7 +102878,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(myhand) +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.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) @@ -102970,7 +102940,7 @@ subtype=Saga [card] name=The Underworld Cookbook auto={T}{D(*|myHand)}:name(Create food) token(Food) -auto={4}{T}{S}:name(Return creature) target(creature|mygraveyard) moveto(myHand) +auto={4}{T}{S}:name(Return creature) target(creature|mygraveyard) moveto(ownerHand) 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 @@ -103174,7 +103144,7 @@ toughness=3 [/card] [card] name=Thirsting Roots -auto=choice target(land[basic]|mylibrary) moveto(myhand) +auto=choice target(land[basic]|mylibrary) moveto(ownerHand) 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} @@ -103474,8 +103444,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(myHand) 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(myhand) 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(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 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 the battlefield, 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. @@ -103562,8 +103532,8 @@ toughness=2 [card] name=Thrasios, Triton Hero abilities=partner -aicode=activate target(*[zpos<=1]|mylibrary) moveto(myhand) 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(myhand) else all(land[zpos=1]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!])) oneshot scrycoreend scryend +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 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 @@ -104046,7 +104016,7 @@ type=Sorcery [card] name=Tiamat abilities=flying -auto=if casted(this) then may name(Search dragons) target(*[dragon;-tiamat]|mylibrary) moveto(myhand) and!( shuffle )! +auto=if casted(this) then may name(Search dragons) target(*[dragon;-tiamat]|mylibrary) moveto(ownerHand) and!( shuffle )! text=Flying -- When Tiamat enters the battlefield, 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 @@ -104109,8 +104079,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(myHand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -104232,8 +104202,8 @@ type=Land [card] name=Timberland Ancient abilities=reach,trample -aicode=activate moveTo(myHand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -104299,8 +104269,8 @@ type=Instant [card] name=Timeless Dragon abilities=flying -aicode=activate target(plains|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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={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} @@ -104319,7 +104289,7 @@ type=Legendary Artifact [/card] [card] name=Timeless Witness -auto=name(Return card) target(*|myGraveyard) moveTo(myHand) +auto=name(Return card) target(*|myGraveyard) moveto(ownerHand) autograveyard={5}{G}{G}{E}:_ETERNALIZE_ text=When Timeless Witness enters the battlefield, 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} @@ -104487,7 +104457,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(myhand)])) 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(ownerHand)])) oneshot auto=_EXPLORES_ text=When Tishana's Wayfinder enters the battlefield, 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} @@ -104930,7 +104900,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(myhand)],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(ownerHand)],newability[choice name(Put 1/1 counter) target(Tomakul Scrapsmith[fresh]|mybattlefield) counter(1/1)])) ueot )!])) ueot )! text=When Tomakul Scrapsmith enters the battlefield, 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 @@ -104941,7 +104911,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(myhand)])) 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(ownerHand)])) 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} @@ -105157,7 +105127,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(myhand)])) 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(ownerHand)])) 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 @@ -105725,7 +105695,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(myhand) 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(ownerHand) 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 @@ -105756,7 +105726,7 @@ type=Instant [card] name=Tragic Lesson auto=draw:2 -auto=choice target(land|mybattlefield) moveto(myhand) +auto=choice target(land|mybattlefield) moveto(ownerHand) 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} @@ -105765,7 +105735,7 @@ type=Instant [card] name=Trail of Crumbs auto=token(Food) -auto=@sacrificed(food|mybattlefield):pay({1}) name(look) reveal:2 optionone name(Get a permanent card) target(<1>*[-instant;-sorcery]|reveal) moveto(myhand) 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(ownerHand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend text=When Trail of Crumbs enters the battlefield, 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 @@ -106060,7 +106030,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(myhand)],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(myhand)])) oneshot +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 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 @@ -106218,7 +106188,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(myhand) +auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) text=When Trial of Ambition enters the battlefield, target opponent sacrifices a creature. -- When a Cartouche enters the battlefield under your control, return Trial of Ambition to its owner's hand. mana={1}{B} type=Enchantment @@ -106226,7 +106196,7 @@ type=Enchantment [card] name=Trial of Knowledge auto=draw:3 && transforms((,newability[target(*|myhand) reject])) forever -auto=@movedto(cartouche|mybattlefield):moveto(myhand) +auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) text=When Trial of Knowledge enters the battlefield, draw three cards, then discard a card. -- When a Cartouche enters the battlefield under your control, return Trial of Knowledge to its owner's hand. mana={3}{U} type=Enchantment @@ -106235,7 +106205,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(myhand) +auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) text=When Trial of Solidarity enters the battlefield, creatures you control get +2/+1 and gain vigilance until end of turn. -- When a Cartouche enters the battlefield under your control, return Trial of Solidarity to its owner's hand. mana={2}{W} type=Enchantment @@ -106243,7 +106213,7 @@ type=Enchantment [card] name=Trial of Strength auto=token(Beast,creature Beast,4/2,green) -auto=@movedto(cartouche|mybattlefield):moveto(myhand) +auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) text=When Trial of Strength enters the battlefield, create a 4/2 green Beast creature token. -- When a Cartouche enters the battlefield under your control, return Trial of Strength to its owner's hand. mana={2}{G} type=Enchantment @@ -106251,7 +106221,7 @@ type=Enchantment [card] name=Trial of Zeal auto=damage:3 target(anytarget) -auto=@movedto(cartouche|mybattlefield):moveto(myhand) +auto=@movedto(cartouche|mybattlefield):moveto(ownerHand) text=When Trial of Zeal enters the battlefield, it deals 3 damage to target creature or player. -- When a Cartouche enters the battlefield under your control, return Trial of Zeal to its owner's hand. mana={2}{R} type=Enchantment @@ -106270,8 +106240,8 @@ toughness=4 [/card] [card] name=Tribute Mage -aicode=activate target(artifact[manacost=2]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Tribute Mage enters the battlefield, you may search your library for an artifact card with mana value 2, reveal that card, put it into your hand, then shuffle your library. mana={2}{U} type=Creature @@ -106410,7 +106380,7 @@ type=Instant [card] name=Troll of Khazad-dum abilities=threeblockers -autohand={1}{cycle}:name(Search swamp) target(swamp|myLibrary) moveTo(myHand) and!( shuffle )! +autohand={1}{cycle}:name(Search swamp) target(swamp|myLibrary) moveto(ownerHand) 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 @@ -106566,7 +106536,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(myhand) 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(ownerHand) and!( shuffle )!])) oneshot )! text=Trample -- When Truga Cliffcharger enters the battlefield, 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 @@ -106579,7 +106549,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -106618,7 +106588,7 @@ toughness=2 [/card] [card] name=Trustworthy Scout -auto={1}{W}{E(this|mygraveyard)}:moveto(myHand) target(Trustworthy Scout|mylibrary) +auto={1}{W}{E(this|mygraveyard)}:moveto(ownerHand) 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 your library. mana={1}{W} type=Creature @@ -106639,7 +106609,7 @@ toughness=3 [card] name=Trusty Retriever auto=choice name(Put counter) counter(1/1) -auto=choice name(Return artifact or enchantment) moveto(myhand) target(artifact,enchantment|mygraveyard) +auto=choice name(Return artifact or enchantment) moveto(ownerHand) target(artifact,enchantment|mygraveyard) text=When Trusty Retriever enters the battlefield, 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 @@ -106904,7 +106874,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(myhand) 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(ownerHand) 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 @@ -107529,7 +107499,7 @@ type=Instant [/card] [card] name=Uncage the Menagerie -auto=moveto(myhand) target(creature[manacost=X]|mylibrary) +auto=moveto(ownerHand) 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 your library. mana={X}{G}{G} type=Sorcery @@ -107572,7 +107542,7 @@ name=Unconventional Tactics target=creature auto=+3/+3 auto=flying -autograveyard=@movedto(zombie|mybattlefield):may pay({W}) moveto(myhand) +autograveyard=@movedto(zombie|mybattlefield):may pay({W}) moveto(ownerHand) text=Target creature gets +3/+3 and gains flying until end of turn. -- Whenever a Zombie enters the battlefield under your control, you may pay {W}. If you do, return Unconventional Tactics from your graveyard to your hand. mana={2}{W} type=Sorcery @@ -107613,7 +107583,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(myhand)])) oneshot )! +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 )! text=When Undead Butler enters the battlefield, 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 @@ -107649,7 +107619,7 @@ type=Enchantment name=Undercity restriction=never autocommandzone=transforms((,newability[shroud],newability[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(myhand)!$ 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(ownerHand)!$ 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) && token(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 @@ -107816,7 +107786,7 @@ toughness=4 [/card] [card] name=Underrealm Lich -auto=replacedraw reveal:3 optionone name(Get card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=replacedraw reveal:3 optionone name(Get card) target(<1>*|reveal) moveto(ownerHand) 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} @@ -107851,7 +107821,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(myHand) all(creature|myGraveyard) && moveto(opponentHand) all(creature|opponentGraveyard) +auto=_DIES_moveto(myexile) all(this) && moveto(ownerHand) 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 his or her graveyard to his or her hand. mana={3}{B}{R} type=Creature @@ -108675,7 +108645,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=may name(Search planeswalker) pay({2}) name(Search planeswalker) target(planeswalker|mylibrary) moveto(myhand) and!( shuffle )! +auto=may name(Search planeswalker) pay({2}) name(Search planeswalker) target(planeswalker|mylibrary) moveto(ownerHand) 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 @@ -108832,7 +108802,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -109596,7 +109566,7 @@ toughness=2 [card] name=Veinwitch Coven abilities=menace -auto=@lifeof(player) from(*[-lifefaker]|*):pay({B}) target(creature|mygraveyard) moveto(myhand) +auto=@lifeof(player) from(*[-lifefaker]|*):pay({B}) target(creature|mygraveyard) moveto(ownerHand) 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 @@ -109769,28 +109739,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(myhand) -auto=if type(*[manacost=0]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 0):target(*[manacost=0]|mygraveyard) moveto(myhand) -auto=if type(*[manacost=1]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 1):target(*[manacost=1]|mygraveyard) moveto(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(myhand) && 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(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 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 @@ -109951,13 +109921,13 @@ type=Instant name=Verdant Confluence aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<3>land[basic]|myLibrary) auto=choice name(Choose 1, 1, 1) target(<3>*[creature]) counter(1/1,2) -auto=choice name(Choose 1, 1, 2) target(<2>*[creature]) counter(1/1,2) && ability$!name(Return permanent to hand) moveto(myhand) target(*[-sorcery;-instant]|mygraveyard)!$ controller -auto=choice name(Choose 1, 2, 2) target(*[creature]) counter(1/1,2) && ability$!name(Return 2 permanents to hand) moveto(myhand) target(<2>*[-sorcery;-instant]|mygraveyard)!$ controller -auto=choice name(Choose 1, 2, 3) target(*[creature]) counter(1/1,2) && ability$!name(Return permanent to hand) moveto(myhand) target(*[-sorcery;-instant]|mygraveyard)!$ controller && ability$!name(Reveal) reveal:plibrarycount optionone name(choose land card) target(<1>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller +auto=choice name(Choose 1, 1, 2) target(<2>*[creature]) counter(1/1,2) && ability$!name(Return permanent to hand) moveto(ownerHand) target(*[-sorcery;-instant]|mygraveyard)!$ controller +auto=choice name(Choose 1, 2, 2) target(*[creature]) counter(1/1,2) && ability$!name(Return 2 permanents to hand) moveto(ownerHand) target(<2>*[-sorcery;-instant]|mygraveyard)!$ controller +auto=choice name(Choose 1, 2, 3) target(*[creature]) counter(1/1,2) && ability$!name(Return permanent to hand) moveto(ownerHand) target(*[-sorcery;-instant]|mygraveyard)!$ controller && ability$!name(Reveal) reveal:plibrarycount optionone name(choose land card) target(<1>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller auto=choice name(Choose 1, 3, 3) target(*[creature]) counter(1/1,2) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose 2 land cards) target(<2>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller -auto=choice name(Choose 2, 2, 2) target(<3>*[-sorcery;-instant]|mygraveyard) moveto(myhand) -auto=choice name(Choose 2, 2, 3) target(<2>*[-sorcery;-instant]|mygraveyard) moveto(myhand) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose land card) target(<1>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller -auto=choice name(Choose 2, 3, 3) target(*[-sorcery;-instant]|mygraveyard) moveto(myhand) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose 2 land cards) target(<2>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller +auto=choice name(Choose 2, 2, 2) target(<3>*[-sorcery;-instant]|mygraveyard) moveto(ownerHand) +auto=choice name(Choose 2, 2, 3) target(<2>*[-sorcery;-instant]|mygraveyard) moveto(ownerHand) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose land card) target(<1>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller +auto=choice name(Choose 2, 3, 3) target(*[-sorcery;-instant]|mygraveyard) moveto(ownerHand) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose 2 land cards) target(<2>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller auto=choice name(Choose 3, 3, 3) reveal:plibrarycount optionone name(choose 3 land cards) target(<3>land[basic]|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(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend 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 your library. mana={4}{G}{G} @@ -109966,7 +109936,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(myhand) 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(ownerHand) 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 your library. mana={3}{G} type=Sorcery @@ -109977,13 +109947,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(myhand)!$ 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(myhand)!$ 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)~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(myhand)!$ 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 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 @@ -110439,7 +110409,7 @@ toughness=3 name=View from Above target=creature auto=flying ueot -auto=if type(*[white]|mybattlefield)~morethan~0 then moveto(myhand) all(this) +auto=if type(*[white]|mybattlefield)~morethan~0 then moveto(ownerHand) 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 @@ -110640,7 +110610,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(myhand) 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(ownerHand) 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 the battlefield, 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 @@ -110755,7 +110725,7 @@ toughness=1 [/card] [card] name=Visage of Bolas -auto=may moveto(myhand) target(Nicol Bolas^ the Deceiver|mylibrary,mygraveyard) and!( shuffle )! +auto=may moveto(ownerHand) target(Nicol Bolas^ the Deceiver|mylibrary,mygraveyard) and!( shuffle )! auto={T}:Add{U} auto={T}:Add{B} auto={T}:Add{R} @@ -110966,7 +110936,7 @@ toughness=1 name=Vivid Revival abilities=exiledeath target=*[multicolor]|mygraveyard -auto=moveto(myhand) +auto=moveto(ownerHand) text=Return up to three target multicolored cards from your graveyard to your hand. Exile Vivid Revival. mana={4}{G} type=Sorcery @@ -110990,7 +110960,7 @@ toughness=3 [/card] [card] name=Vivien's Grizzly -auto={3}{G}:reveal:1 optionone target(creature,planeswalker|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<1>*|reveal) bottomoflibrary optiontwoend revealend +auto={3}{G}:reveal:1 optionone target(creature,planeswalker|reveal) moveto(ownerHand) 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 @@ -111009,7 +110979,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(myhand) +autograveyard={2}{G} restriction{type(planeswalker[vivien]|mybattlefield)~morethan~0}:name(Return to hand) name(Return to hand) moveto(ownerHand) 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 @@ -111265,7 +111235,7 @@ toughness=3 [card] name=Voidwing Hybrid abilities=flying,poisontoxic -autograveyard=@proliferateof(player):name(Return to hand) moveto(myhand) +autograveyard=@proliferateof(player):name(Return to hand) moveto(ownerHand) 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 @@ -111353,7 +111323,7 @@ type=Sorcery name=Volcanic Vision abilities=exiledeath target=*[instant;sorcery]|mygraveyard -auto=moveto(myhand) && damage:manacost all(creature|opponentbattlefield) +auto=moveto(ownerHand) && 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 @@ -111668,7 +111638,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(myhand) and!( shuffle )! +auto=may name(Search forest) target(forest|myLibrary) moveto(ownerHand) 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 the battlefield, 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} @@ -111780,7 +111750,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(myhand) and!( shuffle )! +auto=may name(Move Vraska, Scheming Gorgon to hand) name(Move Vraska, Scheming Gorgon to hand) target(Vraska^ Scheming Gorgon|mylibrary,mygraveyard) moveto(ownerHand) and!( shuffle )! 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 @@ -111820,7 +111790,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(myHand) +auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveto(ownerHand) 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) @@ -111904,9 +111874,9 @@ toughness=7 [card] name=Waker of Waves abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(myhand) and!(deplete:1)!])) ueot +aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(ownerHand) 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(myhand) 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(ownerHand) 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 @@ -112115,7 +112085,7 @@ type=Artifact name=Wander in Death abilities=cycling target=creature|mygraveyard -auto=moveto(myhand) +auto=moveto(ownerHand) 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} @@ -112168,8 +112138,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(myhand) 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(myhand) 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(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 text=Flying -- When Wandering Mind enters the battlefield, 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 @@ -112257,8 +112227,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(myhand) 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(myhand) and!( shuffle )! +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=@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((,newability[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 @@ -112451,10 +112421,10 @@ type=Enchantment [card] name=Warlock Class auto=counter(0/0,1,Level) -aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveTo(mygraveyard) )!])) oneshot +aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(ownerHand) and!( all(*[zpos<=3]|mylibrary) moveTo(mygraveyard) )!])) oneshot auto=@each my endofturn 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(myhand) 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(ownerHand) 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 endofturn 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.) @@ -112592,7 +112562,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(myhand)])) 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(ownerHand)])) 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 @@ -112943,7 +112913,7 @@ type=Artifact [card] name=Weatherlight abilities=flying -aicode=activate target(*[artifact;legendary;saga;zpos<=5]|mylibrary) moveto(myhand) +aicode=activate target(*[artifact;legendary;saga;zpos<=5]|mylibrary) moveto(ownerHand) 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} @@ -113462,7 +113432,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(myhand)])) 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(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When this creature enters the battlefield, search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. mana={1}{G} type=Host Creature @@ -113599,8 +113569,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(myhand) 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(myhand) 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(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 text=Whenever this creature enters the battlefield 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 @@ -113836,8 +113806,8 @@ toughness=3 [/card] [card] name=Winding Way -auto=choice name(Creature) reveal:4 optionone name(Get Creature) target(creature|reveal) moveto(myhand) and!( all(creature|reveal) moveto(myhand) )! 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(myhand) and!( all(land|reveal) moveto(myhand) )! 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(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 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 @@ -114141,7 +114111,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(myhand) target(*|mylibrary) && moveTo(opponentbattlefield) all(this) +auto={1}{T}{C(0/0,-1,wish)}:name(search card) moveto(ownerHand) target(*|mylibrary) && moveTo(opponentbattlefield) all(this) text=Wishclaw Talisman enters the battlefield 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 your library. An opponent gains control of Wishclaw Talisman. Activate this ability only during your turn. mana={1}{B} type=Artifact @@ -114181,7 +114151,7 @@ toughness=4 name=Witch of the Moors abilities=deathtouch auto=@each endofturn restriction{compare(lifegain)~morethan~0}:ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent -auto=@each endofturn restriction{compare(lifegain)~morethan~0}:moveto(myhand) target(creature|mygraveyard) +auto=@each endofturn restriction{compare(lifegain)~morethan~0}:moveto(ownerHand) 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 @@ -114297,12 +114267,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(myhand)])) 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(myhand)])) 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(myhand)])) 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(myhand)])) 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(myhand)])) 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(myhand)])) oneshot +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(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 @@ -114355,8 +114325,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(myhand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary)! )! -auto=name(Reveal) reveal:4 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -114611,8 +114581,8 @@ type=Artifact [/card] [card] name=Wood Sage -aicode=activate target(<4>creature[chosenname;zpos<=4]|mylibrary) moveto(myhand) 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(myhand) 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(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 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 @@ -114780,8 +114750,8 @@ toughness=3 name=World-Weary target=creature auto=teach(creature) -4/-4 -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -114996,19 +114966,19 @@ 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(myhand)!$ 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(myhand)!$ 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(myhand)!$ controller -auto=choice name(Choose 2,3,3) target(creature) -2/-2 ueot && ability$!name(Return creature to hand) notatarget(<2>creature|mygraveyard) moveto(myhand)!$ controller -auto=choice name(Choose 3,3,3) target(<3>creature|mygraveyard) moveto(myhand) +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) 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(myhand) and!( shuffle )! +auto=_DIES_may name(Search card) target(Wretched Throng|mylibrary) moveto(ownerHand) 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 @@ -115090,7 +115060,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(myhand) 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(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 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} @@ -115190,7 +115160,7 @@ toughness=5 [card] name=Yanling's Harbinger abilities=flying -auto=target(Mu Yanling^ Celestial Wind|mylibrary,mygraveyard) moveto(myhand) and!( shuffle )! +auto=target(Mu Yanling^ Celestial Wind|mylibrary,mygraveyard) moveto(ownerHand) and!( shuffle )! text=Flying -- When Yanling's Harbinger enters the battlefield, 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 @@ -115279,9 +115249,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(myHand) and!( transforms((,newability[name(Search for basic plains) target(plains[basic]|myLibrary) moveTo(myHand) 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(myHand) 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(myHand) 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(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 )! text=When Yasharn, Implacable Earth enters the battlefield, search your library for a basic Forest card and a basic Plains card, reveal those cards, put them into your hand, then shuffle your library. -- Players can't pay life or sacrifice nonland permanents to cast spells or activate abilities. mana={2}{G}{W} type=Legendary Creature @@ -115529,8 +115499,8 @@ type=Instant [/card] [card] name=You Happen On a Glade -auto=choice name(Search library) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! -auto=choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(myhand) +auto=choice name(Search library) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerHand) 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 @@ -115553,8 +115523,8 @@ type=Instant [/card] [card] name=You Meet in a Tavern -aicode=activate target(creature[zpos<=5]|mylibrary) moveTo(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 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} @@ -115684,8 +115654,8 @@ toughness=1 name=Yuriko, the Tiger's Shadow autohand={U}{B}{N}:ninjutsu autocommandzone={U}{B}{N}:ninjutsu -auto=@combatdamagefoeof(player) from(ninja|myBattlefield):moveto(myhand) and!( transforms((,newability[damage:manacost opponent])) ueot )! all(*[zpos=1]|mylibrary) -auto=@combatdamageof(player) from(ninja|myBattlefield):moveto(myhand) and!( transforms((,newability[damage:manacost controller])) ueot )! all(*[zpos=1]|mylibrary) +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) 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 @@ -116301,9 +116271,9 @@ toughness=4 [card] name=Zurgo and Ojutai abilities=flying,haste -aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) 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(myhand) 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(myhand) 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(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 auto=transforms((,newability[opponentshroud])) 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 7bfe22bc3..d71f2652b 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -241,8 +241,8 @@ name=Absorb Vis target=player auto=life:-4 auto=life:4 controller -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) 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(myhand) 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(myhand) 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(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 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 @@ -787,7 +787,7 @@ 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(myhand)])) forever optiononeend optiontwo all(*|reveal) moveto(myhand) optiontwoend repeat revealend +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 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 @@ -884,7 +884,7 @@ toughness=6 [/card] [card] name=Adun Oakenshield -auto={B}{R}{G}{T}:moveTo(myhand) target(creature|mygraveyard) +auto={B}{R}{G}{T}:moveto(ownerHand) 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 @@ -955,8 +955,8 @@ type=Instant [card] name=Advice from the Fae abilities=hiddenface -aicode=activate transforms((,newability[if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then name(Pick 2) target(<2>*[zpos<=5]|mylibrary) moveto(myhand) else name(pick 1) target(<1>*[zpos<=5]|mylibrary) moveto(myhand)])) ueot -auto=name(look) reveal:5 optionone if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then name(Pick 2) target(<2>*|reveal) moveto(myhand) else name(pick 1) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(Put On Bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +aicode=activate transforms((,newability[if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) 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 type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) 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 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 @@ -1451,7 +1451,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(myhand)])) 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(ownerHand)])) 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 @@ -2711,11 +2711,11 @@ subtype=Eldrazi [card] name=All Suns' Dawn auto=moveto(exile) -auto=ability$!Choice name(Green) target(*[green]|mygraveyard) moveto(myhand)!$ controller -auto=ability$!Choice name(Red) target(*[red]|mygraveyard) moveto(myhand)!$ controller -auto=ability$!Choice name(White) target(*[white]|mygraveyard) moveto(myhand)!$ controller -auto=ability$!Choice name(Black) target(*[black]|mygraveyard) moveto(myhand)!$ controller -auto=ability$!Choice name(Blue) target(*[blue]|mygraveyard) moveto(myhand)!$ controller +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 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 @@ -2921,8 +2921,8 @@ toughness=* [/card] [card] name=Altar of Bone -aicode=activate target(creature|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={G}{W}{S(creature|mybattlefield)} type=Sorcery @@ -3330,7 +3330,7 @@ toughness=4 [/card] [card] name=Anarchist -auto=may moveTo(myhand) target(sorcery|mygraveyard) +auto=may moveto(ownerHand) target(sorcery|mygraveyard) text=When Anarchist enters the battlefield, you may return target sorcery card from your graveyard to your hand. mana={4}{R} type=Creature @@ -3410,8 +3410,8 @@ subtype=Aura [/card] [card] name=Ancestral Memories -aicode=name(look) activate name(look) transforms((,newability[target(<2>*[zpos<=7]|mylibrary) moveto(myhand)],newability[deplete:5])) ueot -auto=name(Look) reveal:7 optionone name(Get 2 cards) target(<2>*|reveal) moveto(myhand) 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(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 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 @@ -3609,8 +3609,8 @@ type=Land name=Ancient Stirrings mana={G} type=Sorcery -aicode=activate target(*[-white;-blue;-black;-red;-green;zpos<=5]|mylibrary) moveto(myhand) -auto=name(look) reveal:5 optionone name(Get Colorless Card) target(*[-white;-blue;-black;-red;-green]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 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] @@ -4326,8 +4326,8 @@ toughness=0 [card] name=Anticipate abilities=hiddenface -aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -4468,7 +4468,7 @@ toughness=2 [/card] [card] name=Aphetto Dredging -auto=chooseatype target(creature[chosentype]|mygraveyard) moveto(myhand) chooseend +auto=chooseatype target(creature[chosentype]|mygraveyard) moveto(ownerHand) 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 @@ -5129,7 +5129,7 @@ type=Land [/card] [card] name=Archaeomancer -auto=if type(*[instant;sorcery]|mygraveyard)~morethan~0 then moveTo(myhand) target(instant,sorcery|mygraveyard) +auto=if type(*[instant;sorcery]|mygraveyard)~morethan~0 then moveto(ownerHand) target(instant,sorcery|mygraveyard) text=When Archaeomancer enters the battlefield, return target instant or sorcery card from your graveyard to your hand. mana={2}{U}{U} type=Creature @@ -5605,7 +5605,7 @@ subtype=Equipment [/card] [card] name=Argivian Archaeologist -auto={T}{W}{W}:moveto(myhand) target(artifact|mygraveyard) +auto={T}{W}{W}:moveto(ownerHand) target(artifact|mygraveyard) text={W}{W}, {T}: Return target artifact card from your graveyard to your hand. mana={1}{W}{W} type=Creature @@ -5626,7 +5626,7 @@ toughness=2 [card] name=Argivian Find target=artifact,enchantment|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target artifact or enchantment card from your graveyard to your hand. mana={W} type=Instant @@ -5818,8 +5818,8 @@ type=Instant [/card] [card] name=Armillary Sphere -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 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 your library. mana={2} type=Artifact @@ -6108,7 +6108,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(myhand) optiontwoend revealend +auto=Reveal:type:*:myhand revealzone(myhand) revealtype(*[artifact]|myhand) optionone foreach(*[artifact]|reveal) counter(1/1) optiononeend optiontwo all(*|reveal) moveto(ownerHand) optiontwoend revealend text=As Arsenal Thresher enters the battlefield, you may reveal any number of other artifact cards from your hand. Arsenal Thresher enters the battlefield with a +1/+1 counter on it for each card revealed this way. mana={2}{WB}{U} type=Artifact Creature @@ -6181,8 +6181,8 @@ subtype=Aura [/card] [card] name=Artificer's Intuition -aicode=activate target(artifact[manacost<=1]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={1}{U} type=Enchantment @@ -6260,8 +6260,8 @@ type=Enchantment [card] name=Ash Barrens auto={t}:add{c} -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={T}: Add {C} to your mana pool. -- 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 your library.) type=Land [/card] @@ -6657,7 +6657,7 @@ toughness=5 [/card] [card] name=Assembly Hall -auto={4}{T}:target(creature|myhand) transforms((,newability[moveTo(myhand) target(creature[share!name!]|mylibrary) oneshot])) +auto={4}{T}:target(creature|myhand) transforms((,newability[moveto(ownerHand) 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 your library. mana={5} type=Artifact @@ -6835,8 +6835,8 @@ type=Enchantment [/card] [card] name=Attune with Aether -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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=alterenergy:2 controller text=Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. You get {E}{E} (two energy counters). mana={G} @@ -6890,8 +6890,8 @@ toughness=3 [/card] [card] name=Augur of Bolas -aicode=activate target(*[instant;sorcery;zpos<=3]|mylibrary) moveto(myhand) -auto=name(look) reveal:3 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Augur of Bolas enters the battlefield, 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 @@ -6912,8 +6912,8 @@ toughness=1 [/card] [card] name=Augury Adept -aicode=activate target(*[zpos=1]|mylibrary) moveto(myhand) 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(myhand) optiontwoend revealend +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 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 @@ -7062,7 +7062,7 @@ toughness=2 [/card] [card] name=Auramancer -auto=may moveTo(myhand) target(enchantment|mygraveyard) +auto=may moveto(ownerHand) target(enchantment|mygraveyard) text=When Auramancer enters the battlefield, you may return target enchantment card from your graveyard to your hand. mana={2}{W} type=Creature @@ -7164,7 +7164,7 @@ toughness=2 [/card] [card] name=Auriok Salvagers -auto={1}{W}:moveTo(myhand) target(artifact[manacost<=1]|mygraveyard) +auto={1}{W}:moveto(ownerHand) 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(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto=_ATTACKING_all(this) foreach(other aurochs[attacking]) 1/0 ueot text=Trample -- When Aurochs Herd enters the battlefield, 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} @@ -7241,7 +7241,7 @@ toughness=3 [card] name=Aurora Eidolon auto={W}{S}:prevent:3 target(anytarget) -autograveyard=@movedTo(*[multicolor]|mystack):may moveTo(myhand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) text={W}, Sacrifice Aurora Eidolon: Prevent the next 3 damage that would be dealt to target creature or player this turn. -- Whenever you cast a multicolored spell, you may return Aurora Eidolon from your graveyard to your hand. mana={3}{W} type=Creature @@ -7424,8 +7424,8 @@ type=Sorcery [card] name=Avarax abilities=haste -aicode=activate target(Avarax|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto={1}{R}:1/0 text=Haste -- When Avarax enters the battlefield, 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} @@ -7817,8 +7817,8 @@ type=Instant [card] name=Aven Warhawk abilities=flying -aicode=activate target(*[bird;soldier]|myhand) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend +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 text=Amplify 1 (As this creature enters the battlefield, 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 @@ -8652,7 +8652,7 @@ subtype=Trap [/card] [card] name=Baloth Null -auto=moveto(myhand) target(creature|mygraveyard) +auto=moveto(ownerHand) target(creature|mygraveyard) text=When Baloth Null enters the battlefield, return up to two target creature cards from your graveyard to your hand. mana={4}{B}{G} type=Creature @@ -10092,8 +10092,8 @@ type=Instant [/card] [card] name=Beast Hunt -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mygraveyard))! -auto=reveal:3 optionone name(Reveal) target(<3>creature|reveal) moveto(myhand) optiononeend optiontwo choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -10276,8 +10276,8 @@ type=Enchantment name=Behold the Beyond auto=reject all(*|myhand) abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Discard your hand. Search your library for three cards and put those cards into your hand. Then shuffle your library. mana={5}{B}{B} type=Sorcery @@ -10670,8 +10670,8 @@ type=Instant [/card] [card] name=Beseech the Queen -aicode=activate target(*[manacost<=type:land:mybattlefield]|mylibrary) moveto(myhand) -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(myhand)])) 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(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 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 your library. mana={2B}{2B}{2B} type=Sorcery @@ -10915,8 +10915,8 @@ subtype=Aura [/card] [card] name=Bitter Revelation -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos<=2]|mylibrary) && deplete:2 && life:-2])) ueot -auto=name(look) reveal:4 optionone name(Get 2 card) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) target(<4>*|reveal) moveto(graveyard) optiontwoend afterrevealed choice life:-2 afterrevealedend revealend +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 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 @@ -12207,9 +12207,9 @@ toughness=1 [/card] [card] name=Blood Speaker -aicode=activate target(demon|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend limit:1 myUpkeepOnly -autograveyard=@movedTo(demon|mybattlefield):moveTo(myhand) +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) 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 your library. -- Whenever a Demon enters the battlefield under your control, return Blood Speaker from your graveyard to your hand. mana={3}{B} type=Creature @@ -12601,8 +12601,8 @@ toughness=3 [/card] [card] name=Bloodline Shaman -aicode=activate all(*[zpos=1]|mylibrary) moveto(myreveal) and!( if cantargetcard(creature[chosentype]|*) then moveto(myhand) 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(myhand) 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(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 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 @@ -13009,7 +13009,7 @@ toughness=0 [card] name=Body of Jukai abilities=trample -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=8]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -13247,7 +13247,7 @@ toughness=1 [card] name=Boggart Birth Rite target=goblin|mygraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target Goblin card from your graveyard to your hand. mana={B} type=Tribal Sorcery @@ -13775,8 +13775,8 @@ toughness=4 name=Borborygmos Enraged abilities=trample auto={D(land|myhand)}:target(anytarget) damage:3 -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(myhand) 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(myhand) optiononeend optiontwo name(Send To Grave) choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 target creature or player. mana={4}{R}{R}{G}{G} type=Legendary Creature @@ -13844,8 +13844,8 @@ toughness=3 [/card] [card] name=Borderland Ranger -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Borderland Ranger enters the battlefield, 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 @@ -14310,8 +14310,8 @@ type=Artifact [/card] [card] name=Braidwood Sextant -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={1} type=Artifact @@ -14385,8 +14385,8 @@ name=Brainspoil target=creature[-enchanted] auto=cantregen auto=destroy -aicode=activate target(*[manacost=5]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={3}{B}{B} type=Sorcery @@ -14527,8 +14527,8 @@ toughness=1 [/card] [card] name=Brass Herald -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(myhand) 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(myhand) optiononeend optiontwo target(<4>*|reveal) bottomoflibrary optiontwoend revealend])) forever chooseend +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 text=As Brass Herald enters the battlefield, choose a creature type. -- When Brass Herald enters the battlefield, 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 @@ -15305,7 +15305,7 @@ toughness=3 [card] name=Brood of Cockroaches auto=@movedTo(mygraveyard) from(this|battlefield):phaseaction[endofturn once] life:-1 controller -auto=@movedTo(mygraveyard) from(this|battlefield):phaseaction[endofturn once] moveTo(myhand) +auto=@movedTo(mygraveyard) from(this|battlefield):phaseaction[endofturn once] moveto(ownerHand) 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 @@ -15414,8 +15414,8 @@ toughness=1 [card] name=Browse abilities=hiddenface -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=1]|mylibrary) && ingest:4])) ueot -auto={2}{u}{u}:name(look) reveal:5 optionone name(pick a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) target(<5>*|reveal) moveto(myexile) optiontwoend revealend +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 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 @@ -15740,7 +15740,7 @@ type=Sorcery [card] name=Buried Ruin auto={T}:Add{1} -auto={2}{T}{S}:moveTo(myhand) target(other artifact|mygraveyard) +auto={2}{T}{S}:moveto(ownerHand) target(other artifact|mygraveyard) text={T}: Add 1 to your mana pool. -- {2}, {T}, Sacrifice Buried Ruin: Return target artifact card from your graveyard to your hand. type=Land [/card] @@ -15880,8 +15880,8 @@ type=Enchantment [card] name=Burning Wish auto=moveTo(exile) -aicode=activate target(sorcery|mysideboard) moveto(myhand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>sorcery|reveal) moveto(myhand) 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(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 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 @@ -15930,7 +15930,7 @@ type=Instant [/card] [card] name=Burr Grafter -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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} @@ -16190,7 +16190,7 @@ toughness=1 [/card] [card] name=Cabal Surgeon -auto={2}{B}{B}{T}{E(*|mygraveyard)}{E(*|mygraveyard)}:moveTo(myhand) target(creature|mygraveyard) +auto={2}{B}{B}{T}{E(*|mygraveyard)}{E(*|mygraveyard)}:moveto(ownerHand) 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 @@ -16288,7 +16288,7 @@ toughness=1 [card] name=Cadaver Imp abilities=flying -auto=moveTo(myhand) target(creature|myGraveyard) +auto=moveto(ownerHand) target(creature|myGraveyard) text=Flying -- When Cadaver Imp enters the battlefield, return target creature card from your graveyard to your hand. mana={1}{B}{B} type=Creature @@ -16483,8 +16483,8 @@ type=Enchantment [/card] [card] name=Call the Gatewatch -aicode=activate target(*[planeswalker]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a planeswalker card, reveal it, and put it into your hand. Then shuffle your library. mana={2}{W} type=Sorcery @@ -16525,7 +16525,7 @@ type=Instant [card] name=Call to Mind target=instant,sorcery|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target instant or sorcery card from your graveyard to your hand. mana={2}{U} type=Sorcery @@ -16554,7 +16554,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(myHand) +auto=moveto(ownerHand) 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 @@ -16710,8 +16710,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(myhand) 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(myhand) optiontwoend revealend +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 text=Amplify 1 (As this creature enters the battlefield, 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 @@ -16924,8 +16924,8 @@ toughness=3 [/card] [card] name=Captain Sisay -aicode=activate target(*[legendary]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={T}: Search your library for a legendary card, reveal that card, and put it into your hand. Then shuffle your library. mana={2}{G}{W} type=Legendary Creature @@ -17029,8 +17029,8 @@ toughness=5 [/card] [card] name=Caravan Vigil -aicode=activate target(land[basic]|mylibrary) moveto(myhand) 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(myhand) 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(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 text=Search your library for a basic land card, reveal it, put it into your hand then shuffle your library. -- 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 @@ -17320,7 +17320,7 @@ toughness=2 [/card] [card] name=Cartographer -auto=may moveTo(myhand) target(land|mygraveyard) +auto=may moveto(ownerHand) target(land|mygraveyard) text=When Cartographer enters the battlefield, you may return target land card from your graveyard to your hand. mana={2}{G} type=Creature @@ -17580,8 +17580,8 @@ toughness=5 [/card] [card] name=Cateran Summons -aicode=activate target(mercenary|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a Mercenary card, reveal that card, and put it into your hand. Then shuffle your library. mana={B} type=Sorcery @@ -18071,7 +18071,7 @@ toughness=2 name=Cemetery Recruitment target=creature|mygraveyard auto=teach(zombie) draw:1 -auto=moveto(myhand) +auto=moveto(ownerHand) 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 @@ -18161,7 +18161,7 @@ toughness=3 [card] name=Centaur Omenreader auto=this(tapped) lord(*|mycastingzone) altercost(colorless, -2) -auto=@untapped(this):all(*|myhand) moveto(myhand) +auto=@untapped(this):all(*|myhand) moveto(ownerHand) text=As long as Centaur Omenreader is tapped, creature spells you cast cost {2} less to cast. mana={3}{G} type=Snow Creature @@ -18993,7 +18993,7 @@ type=Instant [card] name=Charge Across the Araba target=plains|mybattlefield -auto=moveTo(myhand) && all(creature|mybattlefield) 1/1 ueot +auto=moveto(ownerHand) && 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 @@ -19116,7 +19116,7 @@ toughness=3 [card] name=Charnelhoard Wurm abilities=trample -auto=@damagefoeof(player) from(this):may moveTo(myhand) target(*|mygraveyard) +auto=@damagefoeof(player) from(this):may moveto(ownerHand) 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 @@ -19138,8 +19138,8 @@ toughness=3 [card] name=Chartooth Cougar auto={R}:1/0 -aicode=activate target(mountain|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={5}{R} type=Creature @@ -19704,8 +19704,8 @@ toughness=2 [card] name=Chromescale Drake abilities=affinityartifacts,flying -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(myhand) 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(myhand) optiononeend optiontwo choice all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 text=Affinity for artifacts (This spell costs {1} less to cast for each artifact you control.) -- Flying -- When Chromescale Drake enters the battlefield, 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 @@ -19891,7 +19891,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(myhand) 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(ownerHand) optiontwoend revealend text={2}{R}, {T}: Reveal any number of red cards in your hand. Cinder Seer deals X damage to target creature or player, where X is the number of cards revealed this way. mana={3}{R} type=Creature @@ -20078,8 +20078,8 @@ toughness=1 [/card] [card] name=Citanul Flute -aicode=activate target(creature[manacost<=x]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. type=Artifact mana={5} @@ -20162,8 +20162,8 @@ subtype=Equipment [/card] [card] name=Civic Wayfinder -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Civic Wayfinder enters the battlefield, 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 @@ -21043,8 +21043,8 @@ name=Clutch of the Undercity target=* auto=moveto(ownerhand) auto=life:-3 targetController -aicode=activate target(*[manacost=4]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={1}{U}{U}{B} type=Instant @@ -21232,7 +21232,7 @@ toughness=4 [card] name=Codex Shredder auto={T}:deplete:1 target(player) -auto={5}{T}{S}:moveTo(myhand) target(other *|mygraveyard) +auto={5}{T}{S}:moveto(ownerHand) 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 @@ -21314,8 +21314,8 @@ toughness=1 [/card] [card] name=Coiling Oracle -aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend +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 text=When Coiling Oracle enters the battlefield, 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 @@ -21596,15 +21596,15 @@ type=Instant [/card] [card] name=Commune with Nature -aicode=activate target(creature[zpos<=5]|mylibrary) moveto(myhand) -auto=name(look) reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 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(myhand) 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(ownerHand) 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 @@ -21638,7 +21638,7 @@ type=Instant [/card] [card] name=Complex Automaton -auto=@each my upkeep restriction{type(*|myBattlefield)~morethan~6}:moveTo(myhand) +auto=@each my upkeep restriction{type(*|myBattlefield)~morethan~6}:moveto(ownerHand) 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 @@ -21823,8 +21823,8 @@ toughness=4 [card] name=Conduit of Ruin alias=401847 -aicode=activate target(creature[colorless;manacost>=7]|mylibrary) moveto(myhand) -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(myhand)])) 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(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 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 your library and put that card on top of it. -- The first creature spell you cast each turn costs {2} less to cast. mana={6} @@ -22532,7 +22532,7 @@ type=Enchantment [card] name=Coral Atoll auto=tap(noevent) -auto=aslongas(island[-tapped]|mybattlefield) moveto(myhand) notatarget(island[-tapped]|mybattlefield) oneshot +auto=aslongas(island[-tapped]|mybattlefield) moveto(ownerHand) notatarget(island[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{U} text=Coral Atoll enters the battlefield tapped. -- When Coral Atoll enters the battlefield, sacrifice it unless you return an untapped Island you control to its owner's hand. -- {T}: Add {1}{U} to your mana pool. @@ -22682,7 +22682,7 @@ toughness=4 [card] name=Corpse Churn auto=deplete:3 controller -auto=ability$!name(return creature from graveyard) notatarget(creature|mygraveyard) moveTo(myhand)!$ controller +auto=ability$!name(return creature from graveyard) notatarget(creature|mygraveyard) moveto(ownerHand)!$ 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 @@ -23014,8 +23014,8 @@ toughness=3 [/card] [card] name=Courageous Outrider -aicode=activate target(human[zpos<=4]|mylibrary) moveto(myhand) -auto=name(look) reveal:4 optionone name(Get a Human card) target(<1>*[human]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Courageous Outrider enters the battlefield, 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 @@ -23091,8 +23091,8 @@ toughness=1 [/card] [card] name=Court Hussar -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 abilities=vigilance,hiddenface text=Vigilance -- When Court Hussar enters the battlefield, 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 the battlefield, sacrifice it unless {W} was spent to cast it. auto=ifnot spent({w}) then sacrifice all(this) @@ -23473,7 +23473,7 @@ toughness=4 [card] name=Crawling Filth abilities=fear -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -23585,11 +23585,11 @@ type=Sorcery [/card] [card] name=Creeping Renaissance -auto=choice name(creature) moveTo(myhand) all(creature|mygraveyard) -auto=choice name(artifact) moveTo(myhand) all(artifact|mygraveyard) -auto=choice name(land) moveTo(myhand) all(land|mygraveyard) -auto=choice name(enchantment) moveTo(myhand) all(enchantment|mygraveyard) -auto=choice name(planeswalker) moveTo(myhand) all(planeswalker|mygraveyard) +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) 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} @@ -23841,7 +23841,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(myhand)],newability[target(land|mygraveyard) moveto(myhand)])) forever +auto=while(restriction{delirium}) {2}{g}{s}:target(other creature|mygraveyard) transforms((,newability[moveto(ownerHand)],newability[target(land|mygraveyard) moveto(ownerHand)])) 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 @@ -23870,7 +23870,7 @@ toughness=3 [/card] [card] name=Crosis's Catacombs -auto=aslongas(land[-lair]|mybattlefield) moveto(myhand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) 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} @@ -24176,7 +24176,7 @@ type=Instant name=Cruel Revival target=creature[-zombie] auto=bury -auto=may moveTo(myhand) target(zombie|mygraveyard) +auto=may moveto(ownerHand) 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 @@ -24412,7 +24412,7 @@ type=Instant [card] name=Crypt Angel abilities=flying,protection from white -auto=moveTo(myhand) target(creature[blue;red]|mygraveyard) +auto=moveto(ownerHand) target(creature[blue;red]|mygraveyard) text=Flying, protection from white -- When Crypt Angel enters the battlefield, return target blue or red creature card from your graveyard to your hand. mana={4}{B} type=Creature @@ -24600,7 +24600,7 @@ type=Artifact [/card] [card] name=Crystal Chimes -auto={3}{T}{S}:moveTo(myHand) all(enchantment|mygraveyard) +auto={3}{T}{S}:moveto(ownerHand) all(enchantment|mygraveyard) text={3}, {T}, Sacrifice Crystal Chimes: Return all enchantment cards from your graveyard to your hand. mana={3} type=Artifact @@ -24633,7 +24633,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(myhand) all(this) +auto={4}{u}:name(return to hand) moveto(ownerHand) all(this) text=When Crystal Seer enters the battlefield, 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 @@ -24786,7 +24786,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(myhand)],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(ownerHand)],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 your library. mana={2}{G} type=Sorcery @@ -24906,8 +24906,8 @@ type=Instant [card] name=Cunning Wish auto=moveTo(exile) -aicode=activate target(instant|mysideboard) moveto(myhand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>instant|reveal) moveto(myhand) 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(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 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 @@ -25665,7 +25665,7 @@ toughness=3 [/card] [card] name=Darigaaz's Caldera -auto=aslongas(land[-lair]|mybattlefield) moveto(myhand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) 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} @@ -25676,7 +25676,7 @@ subtype=Lair [/card] [card] name=Darigaaz's Charm -auto=aslongas(creature|mygraveyard) choice moveTo(myhand) target(creature|mygraveyard) +auto=aslongas(creature|mygraveyard) choice moveto(ownerHand) 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 target creature or player; or target creature gets +3/+3 until end of turn. @@ -25739,8 +25739,8 @@ type=Instant [/card] [card] name=Dark Confidant -aicode=activate target(*[zpos=1]|mylibrary) moveto(myhand) 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(myhand) optiontwoend revealend +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 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 @@ -25830,8 +25830,8 @@ type=Sorcery [card] name=Dark Petition abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. -- Spell mastery -- If there are two or more instant and/or sorcery cards in your graveyard, add {B}{B}{B} to your mana pool. mana={3}{B}{B} @@ -25917,8 +25917,8 @@ type=Instant [/card] [card] name=Dark Tutelage -aicode=activate target(*[zpos=1]|mylibrary) moveto(myhand) 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(myhand) optiontwoend revealend +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 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 @@ -26184,8 +26184,8 @@ toughness=1 [card] name=Daru Cavalier abilities=first strike -aicode=activate target(daru cavalier|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=First strike -- When Daru Cavalier enters the battlefield, 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 @@ -26260,8 +26260,8 @@ toughness=1 [/card] [card] name=Daru Stinger -aicode=activate target(*[human;soldier]|myhand) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend +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 auto={t}:target(creature[attacking;blocking]) thisforeach(counter{1/1.1}) damage:1 text=Amplify 1 (As this creature enters the battlefield, 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} @@ -26895,8 +26895,8 @@ type=Sorcery [card] name=Deadwood Treefolk auto=vanishing:3 -auto=moveTo(myhand) target(other creature|myGraveyard) -auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveTo(myhand) target(other creature|myGraveyard) +auto=moveto(ownerHand) target(other creature|myGraveyard) +auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveto(ownerHand) target(other creature|myGraveyard) text=Vanishing 3 (This permanent enters the battlefield 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 the battlefield or leaves the battlefield, return another target creature card from your graveyard to your hand. mana={5}{G} type=Creature @@ -27023,7 +27023,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(myhand) +autograveyard=@each my upkeep:if type(*|myhand)~morethan~type(*|opponenthand) then may moveto(ownerHand) 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 @@ -27124,8 +27124,8 @@ type=Instant name=Death Wish auto=moveTo(exile) auto=life:-halfdownlifetotal -aicode=activate target(*|mysideboard) moveto(myhand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*|reveal) moveto(myhand) 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(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 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 @@ -27284,7 +27284,7 @@ toughness=2 name=Deathknell Kami abilities=flying auto={2}:1/1 && treason -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=1]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -27313,7 +27313,7 @@ toughness=7 [card] name=Deathless Behemoth abilities=vigilance -autograveyard={S(Eldrazi Scion|mybattlefield)}{S(Eldrazi Scion|mybattlefield)}:moveto(myhand) asSorcery +autograveyard={S(Eldrazi Scion|mybattlefield)}{S(Eldrazi Scion|mybattlefield)}:moveto(ownerHand) 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 @@ -28188,7 +28188,7 @@ toughness=7 [card] name=Deja Vu target=sorcery|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target sorcery card from your graveyard to your hand. mana={2}{U} type=Sorcery @@ -28352,8 +28352,8 @@ subtype=Aura [card] name=Demonic Collusion abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={3}{B}{B} @@ -28411,8 +28411,8 @@ subtype=Aura [card] name=Demonic Tutor abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a card and put that card into your hand. Then shuffle your library. mana={1}{B} type=Sorcery @@ -28578,7 +28578,7 @@ 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(myhand) and!( if cantargetcard(*[-dwarf&-vehicle]|*) then bottomoflibrary )! +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 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} @@ -29302,8 +29302,8 @@ type=Instant [card] name=Diabolic Intent abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={1}{B}{S(creature|mybattlefield)} type=Sorcery @@ -29321,8 +29321,8 @@ toughness=4 [card] name=Diabolic Revelation abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for up to X cards and put those cards into your hand. Then shuffle your library. mana={X}{3}{B}{B} type=Sorcery @@ -29330,8 +29330,8 @@ type=Sorcery [card] name=Diabolic Tutor abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a card and put that card into your hand. Then shuffle your library. mana={2}{B}{B} type=Sorcery @@ -29340,7 +29340,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(myhand) 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(ownerHand) 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 @@ -29427,8 +29427,8 @@ type=Artifact [/card] [card] name=Dig Through Time -aicode=activate target(<2>*[zpos<=7]|mylibrary) moveto(myhand) -auto=name(look) reveal:7 optionone name(Get Card) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend revealend +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 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) @@ -29548,8 +29548,8 @@ toughness=2 [card] name=Dimir House Guard abilities=fear -aicode=activate target(*[manacost=4]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={3}{B} type=Creature @@ -29560,8 +29560,8 @@ toughness=3 [card] name=Dimir Infiltrator abilities=unblockable -aicode=activate target(*[manacost=2]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={U}{B} type=Creature @@ -29583,7 +29583,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(myhand) target(*[manacost=3]|mylibrary) asSorcery +autohand={1}{B}{B}{discard}:moveto(ownerHand) 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 your library. Transmute only as a sorcery.) mana={2}{B} type=Sorcery @@ -29977,7 +29977,7 @@ type=Instant [card] name=Disentomb target=creature|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target creature card from your graveyard to your hand. mana={B} type=Sorcery @@ -30301,7 +30301,7 @@ type=Sorcery [card] name=Disturbed Burial target=creature|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) 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} @@ -30479,8 +30479,8 @@ toughness=4 name=Dizzy Spell target=creature auto=-3/0 -aicode=activate target(*[manacost=1]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={U} type=Instant @@ -30778,7 +30778,7 @@ toughness=2 [card] name=Dormant Volcano auto=tap(noevent) -auto=aslongas(mountain[-tapped]|mybattlefield) moveto(myhand) notatarget(mountain[-tapped]|mybattlefield) oneshot +auto=aslongas(mountain[-tapped]|mybattlefield) moveto(ownerHand) notatarget(mountain[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{R} text=Dormant Volcano enters the battlefield tapped. -- When Dormant Volcano enters the battlefield, sacrifice it unless you return an untapped Mountain you control to its owner's hand. -- {T}: Add {1}{R} to your mana pool. @@ -30932,7 +30932,7 @@ type=Instant [/card] [card] name=Dowsing Shaman -auto={2}{G}{T}:moveTo(myhand) target(enchantment|mygraveyard) +auto={2}{G}{T}:moveto(ownerHand) target(enchantment|mygraveyard) text={2}{G}, {T}: Return target enchantment card from your graveyard to your hand. mana={4}{G} type=Creature @@ -31284,8 +31284,8 @@ toughness=5 name=Dragonlord Ojutai abilities=flying,hiddenface auto=this(untapped) opponentshroud -aicode=activate transforms((,newability[moveto(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -32079,8 +32079,8 @@ toughness=3 [card] name=Drift of Phantasms abilities=defender,flying -aicode=activate target(*[manacost=3]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={2}{U} type=Creature @@ -32274,7 +32274,7 @@ toughness=3 [/card] [card] name=Dromar's Cavern -auto=aslongas(land[-lair]|mybattlefield) moveto(myhand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) 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} @@ -33127,8 +33127,8 @@ name=Duskwatch Recruiter backside=Krallenhorde Howler restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -aicode=activate target(creature[zpos<=3]|mylibrary) moveto(myhand) -auto={2}{G}:name(look) reveal:3 optionone name(Get Creature) target(creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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} @@ -33198,7 +33198,7 @@ type=Sorcery [/card] [card] name=Dutiful Attendant -auto=_DIES_moveTo(myhand) target(other creature|mygraveyard) +auto=_DIES_moveto(ownerHand) 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 @@ -34055,8 +34055,8 @@ type=Instant [/card] [card] name=Eerie Procession -aicode=activate target(arcane|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for an Arcane card, reveal that card, and put it into your hand. Then shuffle your library. mana={2}{U} type=Sorcery @@ -34211,8 +34211,8 @@ toughness=2 [/card] [card] name=Eladamri's Call -aicode=activate target(creature|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library. mana={G}{W} type=Instant @@ -34314,9 +34314,9 @@ toughness=3 [/card] [card] name=Elder Pine of Jukai -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=2]|mygraveyard) +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) 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 is put into a graveyard from the battlefield, you may return target Spirit card with mana value 2 or less from your graveyard to your hand.) mana={2}{G} type=Creature @@ -34686,8 +34686,8 @@ type=Land [/card] [card] name=Elfhame Sanctuary -aicode=activate target(land[basic]|mylibrary) moveto(myhand) 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(myhand) 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(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 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 @@ -34859,7 +34859,7 @@ toughness=4 [card] name=Elven Cache target=*|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target card from your graveyard to your hand. mana={2}{G}{G} type=Sorcery @@ -34928,8 +34928,8 @@ toughness=1 [card] name=Elvish Aberration auto={T}:add{G}{G}{G} -aicode=activate target(forest|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={T}: Add {G}{G}{G} to your mana pool. -- Forestcycling {2} ({2}, Discard this card: Search your library for a Forest card, reveal it, and put it into your hand. Then shuffle your library.) mana={5}{G} type=Creature @@ -35275,8 +35275,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(myhand) 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(myhand) optiontwoend revealend +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 text=Amplify 1 (As this creature enters the battlefield, 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 @@ -35375,8 +35375,8 @@ toughness=2 [/card] [card] name=Embermage Goblin -aicode=activate target(embermage goblin|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto={T}:damage:1 target(anytarget) text=When Embermage Goblin enters the battlefield, 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 target creature or player. mana={3}{R} @@ -35556,7 +35556,7 @@ toughness=3 [card] name=Emeria Shepherd abilities=flying -auto=@movedTo(land[-plains]|myBattlefield):moveto(myhand) target(*[-land;-instant;-sorcery]|mygraveyard) +auto=@movedTo(land[-plains]|myBattlefield):moveto(ownerHand) target(*[-land;-instant;-sorcery]|mygraveyard) auto=@movedTo(land[plains]|myBattlefield):moveto(mybattlefield) target(*[-land;-instant;-sorcery]|mygraveyard) text=Flying -- Landfall -- Whenever a land enters the battlefield 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} @@ -35658,7 +35658,7 @@ type=Sorcery [/card] [card] name=Empty the Catacombs -auto=moveto(myHand) all(creature|myGraveyard) +auto=moveto(ownerHand) all(creature|myGraveyard) auto=moveto(opponentHand) all(creature|opponentGraveyard) text=Each player returns all creature cards from his or her graveyard to his or her hand. mana={3}{B} @@ -36215,7 +36215,7 @@ type=Instant [card] name=Enigma Eidolon auto={U}{S}:deplete:3 target(player) -autograveyard=@movedTo(*[multicolor]|mystack):may moveTo(myhand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) 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 @@ -36275,8 +36275,8 @@ toughness=5 [/card] [card] name=Enlistment Officer -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-soldier]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Soldiers) target(<4>soldier|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=First strike -- When Enlistment Officer enters the battlefield, 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 @@ -36324,8 +36324,8 @@ type=Instant [/card] [card] name=Enshrined Memories -aicode=activate target(*[zpos<=castx]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then bottomoflibrary)! -auto=reveal:x optionone name(Get creatures) target(<50>creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<50>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -36434,7 +36434,7 @@ toughness=2 [/card] [card] name=Entomber Exarch -auto=choice moveTo(myhand) target(creature|mygraveyard) restriction type(creature|mygraveyard)~morethan~0 +auto=choice moveto(ownerHand) 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 text=When Entomber Exarch enters the battlefield, choose one - Return target creature card from your graveyard to your hand; or target opponent reveals his or her hand, you choose a noncreature card from it, then that player discards that card. @@ -36465,7 +36465,7 @@ toughness=1 [card] name=Entropic Eidolon auto={B}{S}:life:-1 target(player) && life:1 controller -autograveyard=@movedTo(*[multicolor]|mystack):may moveTo(myhand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) 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 @@ -36556,7 +36556,7 @@ type=Instant [card] name=Ephemeron abilities=flying -auto={D(*|myhand)}:moveTo(myhand) +auto={D(*|myhand)}:moveto(ownerHand) text=Flying -- Discard a card: Return Ephemeron to its owner's hand. mana={4}{U}{U} type=Creature @@ -37177,9 +37177,9 @@ type=Sorcery [card] name=Eternal Dragon abilities=flying -aicode=activate target(plains|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -autograveyard={3}{W}{W}:moveTo(myhand) myUpkeepOnly +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 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 your library.) mana={5}{W}{W} type=Creature @@ -37227,7 +37227,7 @@ subtype=Aura [/card] [card] name=Eternal Witness -auto=may moveTo(myhand) target(*|mygraveyard) +auto=may moveto(ownerHand) target(*|mygraveyard) text=When Eternal Witness enters the battlefield, you may return target card from your graveyard to your hand. mana={1}{G}{G} type=Creature @@ -37317,8 +37317,8 @@ subtype=Arcane [card] name=Ethereal Usher auto={U}{T}:unblockable target(creature) -aicode=activate target(*[manacost=6]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={5}{U} type=Creature @@ -37523,7 +37523,7 @@ type=Artifact [card] name=Everglades auto=tap(noevent) -auto=aslongas(swamp[-tapped]|mybattlefield) moveto(myhand) notatarget(swamp[-tapped]|mybattlefield) oneshot +auto=aslongas(swamp[-tapped]|mybattlefield) moveto(ownerHand) notatarget(swamp[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{B} text=Everglades enters the battlefield tapped. -- When Everglades enters the battlefield, sacrifice it unless you return an untapped Swamp you control to its owner's hand. -- {T}: Add {1}{B} to your mana pool. @@ -37618,9 +37618,9 @@ toughness=5 [/card] [card] name=Evolution Charm -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=aslongas(creature|mygraveyard) choice moveTo(myhand) target(creature|mygraveyard) +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) 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 your library; or return target creature card from your graveyard to your hand; or target creature gains flying until end of turn. mana={1}{G} @@ -37642,7 +37642,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(myhand) 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(ownerHand) 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 @@ -37776,7 +37776,7 @@ type=Sorcery 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(myhand) +autograveyard=@each my upkeep:if type(*|myhand)~morethan~type(*|opponenthand) then may moveto(ownerHand) 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 @@ -37855,8 +37855,8 @@ toughness=1 [/card] [card] name=Expedition Map -aicode=activate target(land|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={2}, {T}, Sacrifice Expedition Map: Search your library for a land card, reveal it, and put it into your hand. Then shuffle your library. mana={1} type=Artifact @@ -37955,7 +37955,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(myhand) 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(ownerHand) optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed choice name(Deal Damage) target(anytarget) damage:revealedmana afterrevealedend revealend text=Choose target creature or player. 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 @@ -38210,14 +38210,14 @@ mana={3}{W} [card] name=Eye of Ugin auto=lord(eldrazi[colorless]|mycastingzone) altercost(colorless,-2) -aicode=activate target(creature[colorless]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. type=Legendary Land [/card] [card] name=Eye of Yawgmoth -auto={3}{T}{S(creature|mybattlefield)}:reveal:storedmanacost optionone name(pick a card) target(<1>*|reveal) moveto(myhand) 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:storedmanacost 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 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 @@ -38348,8 +38348,8 @@ toughness=2 [/card] [card] name=Fabricate -aicode=activate target(artifact|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for an artifact card, reveal it, and put it into your hand. Then shuffle your library. mana={2}{U} type=Sorcery @@ -38477,8 +38477,8 @@ toughness=2 [card] name=Faerie Mechanist abilities=flying -aicode=activate target(artifact[zpos<=3]|mylibrary) moveto(myhand) -auto=name(look) reveal:3 optionone name(Get artifact) target(artifact|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Flying -- When Faerie Mechanist enters the battlefield, 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 @@ -39324,7 +39324,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(myhand) 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(ownerHand) 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 @@ -39370,8 +39370,8 @@ toughness=4 [/card] [card] name=Fauna Shaman -aicode=activate target(creature|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={1}{G} type=Creature @@ -39690,7 +39690,7 @@ subtype=Aura [/card] [card] name=Fell Shepherd -auto=@combatdamaged(player) from(this):may name(Get All Creatures) moveto(myhand) all(creature[fresh]|mygraveyard) +auto=@combatdamaged(player) from(this):may name(Get All Creatures) moveto(ownerHand) 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} @@ -39917,8 +39917,8 @@ toughness=3 [/card] [card] name=Feral Throwback -aicode=activate target(*[beast]|myhand) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend +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 auto=_ATTACKING_may provoke target(creature|opponentbattlefield) text=Amplify 2 (As this creature enters the battlefield, 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} @@ -40342,8 +40342,8 @@ toughness=2 [/card] [card] name=Fierce Empath -aicode=activate target(creature[manacost>=6]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Fierce Empath enters the battlefield, you may search your library for a creature card with mana value 6 or more, reveal it, put it into your hand, then shuffle your library. mana={2}{G} type=Creature @@ -40369,8 +40369,8 @@ type=Instant name=Fiery Fall target=creature auto=damage:5 -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={5}{R} type=Instant @@ -40928,9 +40928,9 @@ toughness=2 [/card] [card] name=Firemind's Foresight -auto=ability$!name(converted cost 3) moveto(myhand) notatarget(instant[manacost=3]|mylibrary)!$ controller -auto=ability$!name(converted cost 2) moveto(myhand) notatarget(instant[manacost=2]|mylibrary)!$ controller -auto=ability$!name(converted cost 1) moveto(myhand) notatarget(instant[manacost=1]|mylibrary)!$ controller +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 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 your library. mana={5}{U}{R} type=Instant @@ -41023,7 +41023,7 @@ type=Artifact [/card] [card] name=Firewing Phoenix -autograveyard={1}{R}{R}{R}:moveTo(myhand) +autograveyard={1}{R}{R}{R}:moveto(ownerHand) abilities=flying text=Flying -- {1}{R}{R}{R}: Return Firewing Phoenix from your graveyard to your hand. mana={3}{R} @@ -41742,7 +41742,7 @@ type=Instant [card] name=Fleeting Image abilities=flying -auto={1}{U}:moveTo(myhand) +auto={1}{U}:moveto(ownerHand) 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 @@ -42582,7 +42582,7 @@ type=Artifact [/card] [card] name=Font of Return -auto={3}{B}{T}{S}:target(other creature|mygraveyard) moveTo(myhand) +auto={3}{B}{T}{S}:target(other creature|mygraveyard) moveto(ownerHand) 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 @@ -42663,8 +42663,8 @@ toughness=2 name=Forbidden Alchemy flashback={6}{B} abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) and!(deplete:3)!])) ueot -auto=name(look) reveal:4 optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -42968,7 +42968,7 @@ type=Enchantment [/card] [card] name=Fork in the Road -auto=name(put in hand) moveto(myhand) notatarget(land[basic]|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(land[basic]|mylibrary))! oneshot +auto=name(put in hand) moveto(ownerHand) 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 your library. mana={1}{G} type=Sorcery @@ -42982,7 +42982,7 @@ type=Sorcery [/card] [card] name=Forked-Branch Garami -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) text=Soulshift 4, soulshift 4 (When this is put into a graveyard from the battlefield, 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 @@ -43143,7 +43143,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(myhand) 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(ownerHand) 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 @@ -43666,8 +43666,8 @@ toughness=1 [card] name=From Beyond auto=@each my upkeep:_ELDRAZISCION_ controller -aicode=activate target(*[eldrazi]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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} to your mana pool." -- {1}{G}, Sacrifice From Beyond: Search your library for an Eldrazi card, reveal it, put it into your hand, then shuffle your library. mana={3}{G} abilities=devoid @@ -44374,8 +44374,8 @@ type=Sorcery [/card] [card] name=Gaea's Bounty -aicode=activate target(forest|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for up to two Forest cards, reveal those cards, and put them into your hand. Then shuffle your library. mana={2}{G} type=Sorcery @@ -44582,8 +44582,8 @@ toughness=3 [card] name=Gamble abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand) and!(discard:1 controller)!])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a card, put that card into your hand, discard a card at random, then shuffle your library. mana={R} type=Sorcery @@ -44778,8 +44778,8 @@ type=Artifact name=Gatecreeper Vine abilities=defender auto=choice name(Don't search anything) donothing -auto=if type(land[basic]|mylibrary)~morethan~0 then choice name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! -auto=if type(gate|mylibrary)~morethan~0 then choice name(Search gate) name(Search gate) target(gate|mylibrary) moveto(myhand) and!( shuffle )! +auto=if type(land[basic]|mylibrary)~morethan~0 then choice name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(ownerHand) and!( shuffle )! +auto=if type(gate|mylibrary)~morethan~0 then choice name(Search gate) name(Search gate) target(gate|mylibrary) moveto(ownerHand) and!( shuffle )! text=Defender -- When Gatecreeper Vine enters the battlefield, you may search your library for a basic land card or a Gate card, reveal it, put it into your hand, then shuffle your library. mana={1}{G} type=Creature @@ -44832,8 +44832,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(myhand) 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(myhand) 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(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 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 @@ -45266,8 +45266,8 @@ type=Land [/card] [card] name=General Tazri -aicode=activate target(ally|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 the battlefield, you may search your library for an Ally creature card, reveal it, put it into your hand, then shuffle your library. -- {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} @@ -45316,7 +45316,7 @@ text=Reveal the top X cards of your library. You may put any number of permanent [/card] [card] name=Genesis -autograveyard={2}{G}:moveTo(myhand) target(creature|mygraveyard) myUpkeepOnly +autograveyard={2}{G}:moveto(ownerHand) 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 @@ -45328,7 +45328,7 @@ toughness=4 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(myhand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) 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 @@ -45338,7 +45338,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(myhand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) 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 @@ -45348,7 +45348,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(myhand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) 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 @@ -45358,7 +45358,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(myhand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) 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 @@ -45368,7 +45368,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(myhand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) 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 @@ -45378,7 +45378,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(myhand) all(this) +auto=@movedTo(mytgt|mygraveyard) from(battlefield):may moveto(ownerHand) 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 @@ -45580,9 +45580,9 @@ type=Sorcery [/card] [card] name=Ghastly Remains -aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend -autograveyard={B}{B}{B}:moveTo(myhand) myUpkeepOnly +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 text=Amplify 1 (As this creature enters the battlefield, 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 @@ -45791,7 +45791,7 @@ toughness=5 [card] name=Ghost Town auto={T}:Add{1} -auto={0}:moveTo(myhand) opponentturnonly +auto={0}:moveto(ownerHand) opponentturnonly text={T}: Add {1} to your mana pool. -- {0}: Return Ghost Town to its owner's hand. Activate this ability only if it's not your turn. type=Land [/card] @@ -46341,7 +46341,7 @@ toughness=2 [card] name=Gibbering Kami abilities=flying -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -46386,8 +46386,8 @@ type=Instant [/card] [card] name=Gift of Estates -aicode=activate target(plains|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={1}{W} type=Sorcery @@ -46437,8 +46437,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(myhand) and!( target(land[zpos<=4]|mylibrary) moveto(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand) 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(myhand)],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(myhand)],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(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 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 @@ -46506,7 +46506,7 @@ toughness=0 [card] name=Gigapede abilities=shroud -autograveyard={D(*|myhand)}:moveTo(myhand) myUpkeepOnly +autograveyard={D(*|myhand)}:moveto(ownerHand) 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 @@ -46834,8 +46834,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(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={4}{W} type=Instant @@ -46843,7 +46843,7 @@ type=Instant [card] name=Gleancrawler abilities=trample -auto=@each my end:moveTo(myhand) all(creature[fresh]|mygraveyard) +auto=@each my end:moveto(ownerHand) 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 @@ -46966,8 +46966,8 @@ type=Sorcery [card] name=Glimpse the Future abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) and!(deplete:2)!])) ueot -auto=name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -47031,8 +47031,8 @@ type=Instant [card] name=Glint-Nest Crane abilities=flying -aicode=activate target(artifact[zpos<=4]|mylibrary) moveto(myhand) -auto=name(look) reveal:4 optionone name(Get an artifact card) target(<1>*artifact|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Flying -- When Glint-Nest Crane enters the battlefield, 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 @@ -47076,7 +47076,7 @@ toughness=3 [card] name=Glissa, the Traitor abilities=first strike,deathtouch -auto=@movedto(graveyard) from(creature|opponentbattlefield):may moveto(myhand) target(artifact|mygraveyard) +auto=@movedto(graveyard) from(creature|opponentbattlefield):may moveto(ownerHand) 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 @@ -47138,8 +47138,8 @@ toughness=1 [card] name=Glittering Wish auto=moveTo(exile) -aicode=activate target(*[multicolor]|mysideboard) moveto(myhand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[multicolor]|reveal) moveto(myhand) 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(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 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 @@ -47246,8 +47246,8 @@ toughness=3 [/card] [card] name=Glowering Rogon -aicode=activate target(*[beast]|myhand) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend +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 text=Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Beast card you reveal in your hand.) mana={5}{G} type=Creature @@ -48037,8 +48037,8 @@ toughness=1 [/card] [card] name=Goblin Matron -aicode=activate target(goblin|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Goblin Matron enters the battlefield, 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 @@ -48211,8 +48211,8 @@ toughness=2 [card] name=Goblin Ringleader abilities=haste -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-goblin]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Goblin) target(<4>Goblin|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Haste -- When Goblin Ringleader enters the battlefield, 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 @@ -48744,8 +48744,8 @@ type=Artifact [card] name=Golden Wish auto=moveTo(exile) -aicode=activate target(*[artifact;enchantment]|mysideboard) moveto(myhand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[artifact;enchantment]|reveal) moveto(myhand) 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(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 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 @@ -48939,7 +48939,7 @@ subtype=Gate [/card] [card] name=Golgari Guildmage -auto={4}{B}{S(creature|myBattlefield)}:moveto(myhand) target(creature|mygraveyard) +auto={4}{B}{S(creature|myBattlefield)}:moveto(ownerHand) 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} @@ -49438,7 +49438,7 @@ type=Sorcery [card] name=Grapple with the Past auto=deplete:3 -auto=moveto(myhand) target(creature,land|mygraveyard) +auto=moveto(ownerHand) 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 @@ -49530,8 +49530,8 @@ toughness=4 [/card] [card] name=Grave Defiler -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-zombie]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Zombie) target(<4>zombie|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Grave Defiler enters the battlefield, 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} @@ -49543,7 +49543,7 @@ toughness=1 [card] name=Grave Exchange target=creature|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) 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} @@ -49610,8 +49610,8 @@ toughness=6 name=Grave Upheaval target=creature|graveyard auto=moveto(mybattlefield) and!(haste)! -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={4}{B}{R} type=Sorcery @@ -49671,7 +49671,7 @@ toughness=1 [/card] [card] name=Gravedigger -auto=may moveTo(myhand) target(creature|mygraveyard) +auto=may moveto(ownerHand) target(creature|mygraveyard) text=When Gravedigger enters the battlefield, you may return target creature card from your graveyard to your hand. mana={3}{B} type=Creature @@ -50181,8 +50181,8 @@ toughness=3 [/card] [card] name=Greenseeker -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={G}, {T}, Discard a card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library. mana={G} type=Creature @@ -50202,8 +50202,8 @@ toughness=1 [/card] [card] name=Greenwarden of Murasa -auto=may name(return card) moveto(myhand) target(*|mygraveyard) -auto=_DIES_may all(trigger[to]) moveto(exile) && target(other *|mygraveyard) moveTo(myhand) +auto=may name(return card) moveto(ownerHand) target(*|mygraveyard) +auto=_DIES_may all(trigger[to]) moveto(exile) && target(other *|mygraveyard) moveto(ownerHand) text=When Greenwarden of Murasa enters the battlefield, 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 @@ -50290,7 +50290,7 @@ type=Land [card] name=Griffin Dreamfinder abilities=flying -auto=moveto(myhand) target(enchantment|mygraveyard) +auto=moveto(ownerHand) target(enchantment|mygraveyard) text=Flying -- When Griffin Dreamfinder enters the battlefield, return target enchantment card from your graveyard to your hand. mana={3}{W}{W} type=Creature @@ -50489,8 +50489,8 @@ toughness=1 [card] name=Grim Tutor abilities=hiddenface -aicode=activate moveto(myhand) 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(myhand) and!(life:-3 controller)!])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a card and put that card into your hand, then shuffle your library. You lose 3 life. mana={1}{B}{B} type=Sorcery @@ -50633,7 +50633,7 @@ toughness=5 [/card] [card] name=Grisly Salvage -auto=reveal:5 optionone name(Get creature or land) target(creature,land|reveal) moveto(myhand) 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(ownerHand) 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 @@ -50817,7 +50817,7 @@ type=Sorcery [/card] [card] name=Groffskithur -auto=_BLOCKED_may moveTo(myhand) target(groffskithur|mygraveyard) +auto=_BLOCKED_may moveto(ownerHand) 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 @@ -50940,7 +50940,7 @@ toughness=5 [/card] [card] name=Groundskeeper -auto={1}{G}:moveto(myhand) target(land[basic]|mygraveyard) +auto={1}{G}:moveto(ownerHand) target(land[basic]|mygraveyard) text={1}{G}: Return target basic land card from your graveyard to your hand. mana={G} type=Creature @@ -51013,10 +51013,10 @@ type=Sorcery [card] name=Grozoth abilities=defender -auto=moveTo(myhand) target(*[manacost=9]|myLibrary) +auto=moveto(ownerHand) target(*[manacost=9]|myLibrary) auto={4}:-defender -aicode=activate target(*[manacost=9]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 text=Defender (This creature can't attack.) -- When Grozoth enters the battlefield, 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 your library. Transmute only as a sorcery.) mana={6}{U}{U}{U} type=Creature @@ -52083,7 +52083,7 @@ toughness=1 name=Hammer of Bogardan target=anytarget auto=damage:3 -autograveyard={2}{R}{R}{R}:moveTo(myhand) myUpkeepOnly +autograveyard={2}{R}{R}{R}:moveto(ownerHand) myUpkeepOnly text=Hammer of Bogardan deals 3 damage to target creature or player. -- {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 @@ -52159,7 +52159,7 @@ type=Legendary Land [/card] [card] name=Hana Kami -auto={1}{G}{S}:moveTo(myhand) target(other arcane|mygraveyard) +auto={1}{G}{S}:moveto(ownerHand) target(other arcane|mygraveyard) text={1}{G}, Sacrifice Hana Kami: Return target Arcane card from your graveyard to your hand. mana={G} type=Creature @@ -52263,7 +52263,7 @@ toughness=0 [/card] [card] name=Hanna, Ship's Navigator -auto={1}{W}{U}{T}:moveTo(myhand) target(artifact,enchantment|mygraveyard) +auto={1}{W}{U}{T}:moveto(ownerHand) 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 @@ -52382,7 +52382,7 @@ toughness=3 [card] name=Harbinger of Spring auto=protection from(creature[-spirit]) -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -52642,7 +52642,7 @@ toughness=2 [/card] [card] name=Harvest Wurm -auto=aslongas(land[basic]|mygraveyard) moveTo(myhand) notatarget(land[basic]|mygraveyard) oneshot +auto=aslongas(land[basic]|mygraveyard) moveto(ownerHand) notatarget(land[basic]|mygraveyard) oneshot auto=moveTo(graveyard) notatarget(this|myBattlefield) text=When Harvest Wurm enters the battlefield, sacrifice it unless you return a basic land card from your graveyard to your hand. mana={1}{G} @@ -53024,7 +53024,7 @@ 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(myhand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=4]|mygraveyard) text=Flying -- {1}, Sacrifice a Spirit: Target opponent reveals his or her 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 @@ -53714,8 +53714,8 @@ toughness=3 [/card] [card] name=Heliod's Pilgrim -aicode=activate target(aura|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Heliod's Pilgrim enters the battlefield, you may search your library for an Aura card, reveal it, put it into your hand, then shuffle your library. mana={2}{W} type=Creature @@ -54211,7 +54211,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(myhand) 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(ownerHand) 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 @@ -54396,7 +54396,7 @@ toughness=7 [/card] [card] name=Hibernation Sliver -auto=lord(sliver) {L:2}:moveTo(myhand) +auto=lord(sliver) {L:2}:moveto(ownerHand) text=All Slivers have "Pay 2 life: Return this permanent to its owner's hand." mana={U}{B} type=Creature @@ -54696,8 +54696,8 @@ toughness=2 [card] name=Higure, the Still Wind autohand={2}{U}{U}{N}:ninjutsu -aicode=activate target(ninja|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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} @@ -55581,8 +55581,8 @@ toughness=1 [/card] [card] name=Horizon Spellbomb -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto=_DIES_pay({G}) draw:1 mana={1} type=Artifact @@ -55992,8 +55992,8 @@ type=Artifact [/card] [card] name=Howling Wolf -aicode=activate target(howling wolf|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Howling Wolf enters the battlefield, 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 @@ -56190,7 +56190,7 @@ toughness=4 [card] name=Hundred-Talon Kami abilities=flying -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -56406,8 +56406,8 @@ type=Instant [/card] [card] name=Hunting Cheetah -aicode=activate target(forest|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={2}{G} type=Creature @@ -57077,8 +57077,8 @@ type=Enchantment [/card] [card] name=Idyllic Tutor -aicode=activate moveTo(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for an enchantment card, reveal it, and put it into your hand. Then shuffle your library. mana={2}{W} type=Sorcery @@ -57096,8 +57096,8 @@ toughness=4 [card] name=Igneous Pouncer abilities=haste -aicode=activate target(*[mountain;swamp]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={4}{B}{R} type=Creature @@ -57128,7 +57128,7 @@ toughness=1 [/card] [card] name=Ignorant Bliss -auto=all(*|myhand) moveto(myexile) and!( transforms((,newability[phaseaction[endofturn once checkex] moveto(myhand)])) ueot )! +auto=all(*|myhand) moveto(myexile) and!( transforms((,newability[phaseaction[endofturn once checkex] moveto(ownerHand)])) ueot )! auto=phaseaction[endofturn 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} @@ -57321,7 +57321,7 @@ toughness=1 [/card] [card] name=Imaginary Pet -auto=@each my upkeep restriction{type(*|myhand)~morethan~0}:moveTo(myHand) +auto=@each my upkeep restriction{type(*|myhand)~morethan~0}:moveto(ownerHand) 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 @@ -57461,8 +57461,8 @@ name=Imperial Hellkite abilities=flying facedown={3} autofacedown={6}{R}{R}:morph -aicode=activate target(dragon|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -57479,7 +57479,7 @@ abilities=controllershroud [/card] [card] name=Imperial Recruiter -auto=name(Search creature) target(creature[power<=2]|mylibrary) moveto(myhand) and!( shuffle )! +auto=name(Search creature) target(creature[power<=2]|mylibrary) moveto(ownerHand) and!( shuffle )! text=When Imperial Recruiter enters the battlefield, search your library for a creature card with power 2 or less, reveal it, and put it into your hand. Then shuffle your library. mana={2}{R} type=Creature @@ -57627,7 +57627,7 @@ type=Instant 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(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -57704,7 +57704,7 @@ toughness=4 [/card] [card] name=Iname, Life Aspect -auto=_DIES_may all(trigger[to]) moveto(exile) && target(spirit|mygraveyard) moveTo(myhand) +auto=_DIES_may all(trigger[to]) moveto(exile) && target(spirit|mygraveyard) moveto(ownerHand) 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 @@ -57810,9 +57810,9 @@ toughness=3 [card] name=Increasing Ambition abilities=hiddenface -aicode=activate transforms((,newability[ifnot gravecast then target(*|myLibrary) moveTo(myhand)],newability[if gravecast then target(<2>*|myLibrary) moveTo(myhand)])) ueot -auto=ifnot gravecast then name(search card) reveal:plibrarycount optionone name(choose card) target(*|reveal) moveto(myhand) 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(myhand) 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(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 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 your library. -- Flashback {7}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={4}{B} @@ -58074,8 +58074,8 @@ target=creature auto=teach(creature) 2/1 auto=teach(creature) haste auto=teach(creature) mustattack -aicode=activate target(Infectious Bloodlust|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Enchant creature -- Enchanted creature gets +2/+1, has haste, and attacks each turn 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 your library. mana={1}{R} type=Enchantment @@ -58105,7 +58105,7 @@ toughness=1 name=Infernal Caretaker facedown={3} autofacedown={3}{B}:morph -autofaceup=moveTo(myhand) all(zombie|mygraveyard) +autofaceup=moveto(ownerHand) 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} @@ -58160,8 +58160,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(myhand)])) oneshot -auto=if type(*|myhand)~lessthan~1 then target(*|mylibrary) moveTo(myhand) +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) 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 your library. -- Hellbent - If you have no cards in hand, instead search your library for a card, put it into your hand, then shuffle your library. mana={1}{B} type=Sorcery @@ -58948,8 +58948,8 @@ toughness=2 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(myhand)])) 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(myhand) +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) text=At the beginning of your upkeep, if you control three or more artifacts, you gain 1 life. -- {T}: Add {C} to your mana pool. -- {4}, {T}, Sacrifice Inventors' Fair: Search your library for an artifact card, reveal it, put it into your hand, then shuffle your library. Activate this ability only if you control three or more artifacts. type=Legendary Land [/card] @@ -59256,7 +59256,7 @@ toughness=4 [/card] [card] name=Ironclad Slayer -auto=may moveto(myhand) target(aura,equipment|mygraveyard) +auto=may moveto(ownerHand) target(aura,equipment|mygraveyard) text=When Ironclad Slayer enters the battlefield, you may return target Aura or Equipment card from your graveyard to your hand. mana={2}{W} type=Creature @@ -59679,7 +59679,7 @@ type=Land [/card] [card] name=Izzet Chronarch -auto=moveTo(myhand) target(instant,sorcery|mygraveyard) +auto=moveto(ownerHand) target(instant,sorcery|mygraveyard) text=When Izzet Chronarch enters the battlefield, return target instant or sorcery card from your graveyard to your hand. mana={3}{U}{R} type=Creature @@ -60007,7 +60007,7 @@ toughness=3 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(myhand) +autograveyard={S(swamp|mybattlefield)}{S(forest|mybattlefield)}:name(reclaim) moveto(ownerHand) 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 @@ -60017,7 +60017,7 @@ toughness=2 [/card] [card] name=Jarad's Orders -auto=name(put in hand) moveto(myhand) notatarget(creature|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(creature|mylibrary))! oneshot +auto=name(put in hand) moveto(ownerHand) 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 your library. mana={2}{B}{G} type=Sorcery @@ -60360,8 +60360,8 @@ toughness=3 [card] name=Jhessian Zombies abilities=fear -aicode=activate target(*[island;swamp]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={4}{U}{B} type=Creature @@ -60708,8 +60708,8 @@ type=Enchantment [/card] [card] name=Journeyer's Kite -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={3}, {T}: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library. mana={2} type=Artifact @@ -60904,7 +60904,7 @@ toughness=6 [card] name=Jungle Basin auto=tap(noevent) -auto=aslongas(forest[-tapped]|mybattlefield) moveto(myhand) notatarget(forest[-tapped]|mybattlefield) oneshot +auto=aslongas(forest[-tapped]|mybattlefield) moveto(ownerHand) notatarget(forest[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{G} text=Jungle Basin enters the battlefield tapped. -- When Jungle Basin enters the battlefield, sacrifice it unless you return an untapped Forest you control to its owner's hand. -- {T}: Add {1}{G}to your mana pool. @@ -61014,7 +61014,7 @@ toughness=4 [card] name=Junk Diver abilities=flying -auto=_DIES_moveTo(myhand) target(other artifact|mygraveyard) +auto=_DIES_moveto(ownerHand) 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 @@ -61480,7 +61480,7 @@ toughness=2 [/card] [card] name=Kami of Empty Graves -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -61511,7 +61511,7 @@ toughness=3 [card] name=Kami of Lunacy abilities=flying -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -61552,7 +61552,7 @@ toughness=3 name=Kami of the Honored Dead abilities=flying auto=_ENRAGE_life:thatmuch controller -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=6]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -61587,7 +61587,7 @@ toughness=3 [card] name=Kami of the Palace Fields abilities=flying,first strike -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -61598,7 +61598,7 @@ toughness=2 [card] name=Kami of the Tended Garden auto=upcost[{G}] sacrifice -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -61809,7 +61809,7 @@ toughness=1 [card] name=Karoo auto=tap(noevent) -auto=aslongas(plains[-tapped]|mybattlefield) moveto(myhand) notatarget(plains[-tapped]|mybattlefield) oneshot +auto=aslongas(plains[-tapped]|mybattlefield) moveto(ownerHand) notatarget(plains[-tapped]|mybattlefield) oneshot auto=moveto(mygraveyard) notatarget(this|mybattlefield) auto={T}:Add{1}{W} text=Karoo enters the battlefield tapped. -- When Karoo enters the battlefield, sacrifice it unless you return an untapped Plains you control to its owner's hand. -- {T}: Add {1}{W} to your mana pool. @@ -62040,8 +62040,8 @@ toughness=1 [/card] [card] name=Kavu Howler -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-kavu]|*) then bottomoflibrary)! -auto=reveal:4 optionone name(Get Kavu) target(<4>kavu|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Kavu Howler enters the battlefield, 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 @@ -62605,7 +62605,7 @@ toughness=2 [card] name=Kemuri-Onna auto=target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer -auto=@movedto(arcane,spirit|mystack) from(myhand):may moveto(myhand) all(this) +auto=@movedto(arcane,spirit|mystack) from(myhand):may moveto(ownerHand) all(this) text=When Kemuri-Onna enters the battlefield, 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 @@ -62924,8 +62924,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(myhand) 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(myhand) optiontwoend revealend +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 text=Amplify 3 (As this creature enters the battlefield, 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 target creature or player. mana={5}{R}{R} type=Creature @@ -63908,7 +63908,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(myhand)],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(ownerHand)],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 your library. mana={2}{G} type=Sorcery @@ -64774,8 +64774,8 @@ toughness=2 [/card] [card] name=Krosan Tusker -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={5}{G}{G} @@ -64953,7 +64953,7 @@ toughness=3 [/card] [card] name=Kruphix's Insight -auto=reveal:6 optionone target(enchantment|reveal) moveto(myhand) 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(ownerHand) 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 @@ -65425,8 +65425,8 @@ toughness=4 [/card] [card] name=Lair Delve -aicode=activate target(<2>*[zpos<=2]|mylibrary) name(revealed card) moveto(myhand) 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(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -65518,8 +65518,8 @@ type=Enchantment [card] name=Land Grant other={0} name(Cast for free) -aicode=activate target(forest|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. @@ -65544,8 +65544,8 @@ type=Artifact [/card] [card] name=Land Tax -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -66094,8 +66094,8 @@ type=Instant [/card] [card] name=Lay of the Land -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a basic land card, reveal that card, and put it into your hand. Then shuffle your library. mana={G} type=Sorcery @@ -66138,7 +66138,7 @@ toughness=5 [/card] [card] name=Lead the Stampede -auto=reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:5 optionone name(Get Creature) target(creature|reveal) moveto(ownerHand) 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 @@ -66286,7 +66286,7 @@ type=Instant [/card] [card] name=Leashling -auto={s2l(*|myhand)}:moveTo(myhand) +auto={s2l(*|myhand)}:moveto(ownerHand) text=Put a card in your hand on top of your library: Return Leashling to its owner's hand. mana={6} type=Artifact Creature @@ -66548,7 +66548,7 @@ toughness=1 [/card] [card] name=Leonin Squire -auto=moveTo(myhand) target(artifact[manacost<=1]|mygraveyard) +auto=moveto(ownerHand) target(artifact[manacost<=1]|mygraveyard) text=When Leonin Squire enters the battlefield, return target artifact card with mana value 1 or less from your graveyard to your hand. mana={1}{W} type=Creature @@ -66863,7 +66863,7 @@ type=Artifact [/card] [card] name=Life from the Loam -auto=target(land|mygraveyard) moveTo(myhand) +auto=target(land|mygraveyard) moveto(ownerHand) 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} @@ -67441,8 +67441,8 @@ toughness=3 [/card] [card] name=Liliana's Shade -aicode=activate target(swamp|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto={B}:1/1 text=When Liliana's Shade enters the battlefield, you may search your library for a Swamp card, reveal it, put it into your hand, then shuffle your library. -- {B}: Liliana's Shade gets +1/+1 until end of turn. mana={2}{B}{B} @@ -67791,8 +67791,8 @@ toughness=6 [card] name=Living Wish auto=moveTo(exile) -aicode=activate target(*[land;creature]|mysideboard) moveto(myhand) -auto=name(search card) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[land;creature]|reveal) moveto(myhand) 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(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 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 @@ -67889,8 +67889,8 @@ toughness=1 [/card] [card] name=Llanowar Empath -aicode=activate target(creature[zpos=1]|mylibrary) moveto(myhand) -auto=scry:2 scrycore delayed dontshow transforms((,newability[if type(creature[zpos=1]|mylibrary)~equalto~1 then all(creature[zpos=1]|mylibrary) moveto(myhand) else target(*[zpos=1]|mylibrary) moveto(myreveal) and!( placefromthetop(1) )!])) oneshot scrycoreend scryend +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 text=When Llanowar Empath enters the battlefield, 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 @@ -68138,8 +68138,8 @@ toughness=1 [card] name=Lone Revenant abilities=opponentshroud, hiddenface -aicode=activate target(*[zpos<=4]|mylibrary) moveto(myhand) -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(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -68365,7 +68365,7 @@ toughness=7 [card] name=Lord of the Undead auto=lord(other zombie) 1/1 -auto={1}{B}{T}:moveTo(myhand) target(zombie|mygraveyard) +auto={1}{B}{T}:moveto(ownerHand) 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 @@ -68643,7 +68643,7 @@ type=Land name=Lotus-Eye Mystics abilities=prowess auto=@movedTo(*[-creature]|mystack):1/1 ueot -auto=choice moveTo(myhand) target(enchantment|mygraveyard) +auto=choice moveto(ownerHand) 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 the battlefield, return target enchantment card from your graveyard to your hand. mana={3}{W} type=Creature @@ -69415,7 +69415,7 @@ toughness=4 [card] name=Macabre Waltz target=creature|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) 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} @@ -69435,7 +69435,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(myhand) optiononeend optiontwo target(<60>*|reveal) bottomoflibrary optiontwoend revealend +auto=name(Look) reveal:type:artifact:mybattlefield optionone name(Look) target(*|reveal) moveto(ownerHand) 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 @@ -69770,7 +69770,7 @@ type=Artifact name=Magma Phoenix abilities=flying auto=_DIES_damage:3 all(creature) && damage:3 all(player) -autograveyard={3}{R}{R}:moveTo(myhand) +autograveyard={3}{R}{R}:moveto(ownerHand) 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 @@ -70321,7 +70321,7 @@ toughness=4 [/card] [card] name=Malevolent Awakening -auto={1}{B}{B}{S(creature|myBattlefield)}:moveTo(myhand) target(creature|mygraveyard) +auto={1}{B}{B}{S(creature|myBattlefield)}:moveto(ownerHand) 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 @@ -72107,8 +72107,8 @@ toughness=1 [/card] [card] name=Matter Reshaper -aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend +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 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 @@ -72546,7 +72546,7 @@ toughness=3 [/card] [card] name=Meletis Astronomer -aicode=activate target(enchantment[zpos<=3]|mylibrary) moveto(myhand) +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 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} @@ -72858,8 +72858,8 @@ toughness=1 [/card] [card] name=Merchant Scroll -aicode=activate target(instant[blue]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a blue instant card, reveal that card, and put it into your hand. Then shuffle your library. mana={1}{U} type=Sorcery @@ -73114,8 +73114,8 @@ toughness=2 [card] name=Merfolk Wayfinder abilities=flying -aicode=activate target(<3>*[zpos<=3]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-island]|*) then bottomoflibrary)! -auto=reveal:3 optionone name(Get islands) target(<3>island|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Flying -- When Merfolk Wayfinder enters the battlefield, 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 @@ -73392,7 +73392,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(myhand) +autograveyard={S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:name(reclaim) moveto(ownerHand) 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 @@ -73624,7 +73624,7 @@ type=Sorcery [/card] [card] name=Midnight Scavengers -auto=may target(creature[manacost <=3]|mygraveyard) moveto(myhand) +auto=may target(creature[manacost <=3]|mygraveyard) moveto(ownerHand) text=When Midnight Scavengers enters the battlefield, 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 @@ -73746,8 +73746,8 @@ type=Instant [card] name=Migratory Route auto=create(Bird:Creature Bird:1/1:white:flying)*4 -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={3}{W}{U} type=Sorcery @@ -74858,7 +74858,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(myHand) target(cleric|myGraveyard) +auto=if type(cleric|mygraveyard)~morethan~0 then choice moveto(ownerHand) 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} @@ -75356,7 +75356,7 @@ toughness=2 [card] name=Mnemonic Wall abilities=defender -auto=may moveTo(myhand) target(instant,sorcery|mygraveyard) +auto=may moveto(ownerHand) target(instant,sorcery|mygraveyard) text=Defender -- When Mnemonic Wall enters the battlefield, you may return target instant or sorcery card from your graveyard to your hand. mana={4}{U} type=Creature @@ -75945,9 +75945,9 @@ subtype=Aura [/card] [card] name=Momir Vig, Simic Visionary -aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mylibrary))! +aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(ownerHand) 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(myhand) optiononeend optiontwo name(Put Back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +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 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 @@ -75972,7 +75972,7 @@ name=Monastery Loremaster facedown={3} autofacedown={5}{U}:morph autofaceup=counter(1/1) -autofaceup=moveto(myhand) target(*[-creature;-land]|mygraveyard) +autofaceup=moveto(ownerHand) 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 @@ -76032,7 +76032,7 @@ toughness=1 [/card] [card] name=Monk Idealist -auto=moveTo(myhand) target(enchantment|mygraveyard) +auto=moveto(ownerHand) target(enchantment|mygraveyard) text=When Monk Idealist enters the battlefield, return target enchantment card from your graveyard to your hand. mana={2}{W} type=Creature @@ -76213,8 +76213,8 @@ type=Instant [/card] [card] name=Moonlight Bargain -aicode=activate choice all(*[zpos<=5]|mylibrary) transforms((,newability[pay({L:2}) name(Pay Life) moveto(myhand)?moveto(mygraveyard)])) ueot -auto=name(look) reveal:5 optionone name(Select Cards) target(*|reveal) transforms((,newability[pay({L:2}) name(Pay Life) moveto(myhand) ])) 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(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 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 @@ -76237,7 +76237,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(myhand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -76439,7 +76439,7 @@ toughness=5 [card] name=Morgue Burst target=creature|mygraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) 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 target creature or player equal to the power of the card returned this way. mana={4}{B}{R} @@ -76448,7 +76448,7 @@ type=Sorcery [card] name=Morgue Theft target=creature|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) 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} @@ -76515,7 +76515,7 @@ toughness=2 [/card] [card] name=Moriok Scavenger -auto=may moveTo(myhand) target(creature[artifact]|mygraveyard) +auto=may moveto(ownerHand) target(creature[artifact]|mygraveyard) text=When Moriok Scavenger enters the battlefield, you may return target artifact creature card from your graveyard to your hand. mana={3}{B} type=Creature @@ -77107,8 +77107,8 @@ toughness=1 name=Muddle the Mixture target=*[instant;sorcery]|stack auto=fizzle -aicode=activate target(*[manacost=2]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={U}{U} type=Instant @@ -77155,8 +77155,8 @@ toughness=2 [/card] [card] name=Mulch -aicode=activate target(<4>*[zpos<=4]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-land]|*) then moveto(mygraveyard))! -auto=reveal:4 optionone name(Get land) target(<4>land|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -77568,9 +77568,9 @@ toughness=5 [/card] [card] name=Mycosynth Wellspring -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Mycosynth Wellspring enters the battlefield 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 your library. mana={2} type=Artifact @@ -77758,7 +77758,7 @@ toughness=4 [/card] [card] name=Myr Retriever -auto=_DIES_moveTo(myhand) target(other artifact|mygraveyard) +auto=_DIES_moveto(ownerHand) 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 @@ -78055,9 +78055,9 @@ toughness=4 [/card] [card] name=Mystical Teachings -aicode=activate target(*[instant]|mylibrary) moveto(myhand) -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(myhand)])) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. -- Flashback {5}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={3}{U} @@ -78151,8 +78151,8 @@ toughness=3 [card] name=Nagging Thoughts abilities=madness,hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(myhand) and!(deplete:1)!],newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) and!(deplete:1)!])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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} @@ -78572,7 +78572,7 @@ type=Sorcery [card] name=Nature's Spiral target=artifact,creature,enchantment,land|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target permanent card from your graveyard to your hand. (A permanent card is an artifact, creature, enchantment, land, or planeswalker card.) mana={1}{G} type=Sorcery @@ -78873,7 +78873,7 @@ type=Sorcery [card] name=Necromantic Thirst target=creature -auto=@combatdamaged(player) from(mytgt):may moveTo(myhand) target(creature|mygraveyard) +auto=@combatdamaged(player) from(mytgt):may moveto(ownerHand) 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 @@ -79250,8 +79250,8 @@ toughness=3 [/card] [card] name=Nessian Game Warden -aicode=activate target(creature[zpos<=type:forest:mybattlefield]|mylibrary) moveto(myhand) -auto=name(Look) reveal:type:forest:mybattlefield optionone name(Get a Card) target(creature|reveal) moveto(myhand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Nessian Game Warden enters the battlefield, 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 @@ -79282,8 +79282,8 @@ toughness=2 [card] name=Nesting Wurm abilities=trample -aicode=activate target(nesting wurm|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Trample -- When Nesting Wurm enters the battlefield, 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 @@ -79353,8 +79353,8 @@ type=World Enchantment [card] name=Netherborn Phalanx auto=life:-type:creature:opponentbattlefield opponent -aicode=activate moveTo(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 text=When Netherborn Phalanx enters the battlefield, each opponent loses 1 life for each creature he or she controls. -- 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 your library. Transmute only as a sorcery.) mana={5}{B} type=Creature @@ -79437,8 +79437,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(myhand) else target(*[zpos=1]|mylibrary) moveto(mygraveyard)])) ueot -auto=reveal:1 optionone target(artifact|reveal) moveto(myhand) 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(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 text=Flying -- When Neurok Familiar enters the battlefield, 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 @@ -79711,27 +79711,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(myhand) target(*[-land;manacost=0]|mylibrary) -auto=this(counter{0/0.1.Theft}>=) {2}{B}{B}{C(0/0,-1,Theft)}:name(X = 1) && moveTo(myhand) target(*[-land;manacost=1]|mylibrary) -auto=this(counter{0/0.2.Theft}>=) {2}{B}{B}{C(0/0,-2,Theft)}:name(X = 2) && moveTo(myhand) target(*[-land;manacost=2]|mylibrary) -auto=this(counter{0/0.3.Theft}>=) {2}{B}{B}{C(0/0,-3,Theft)}:name(X = 3) && moveTo(myhand) target(*[-land;manacost=3]|mylibrary) -auto=this(counter{0/0.4.Theft}>=) {2}{B}{B}{C(0/0,-4,Theft)}:name(X = 4) && moveTo(myhand) target(*[-land;manacost=4]|mylibrary) -auto=this(counter{0/0.5.Theft}>=) {2}{B}{B}{C(0/0,-5,Theft)}:name(X = 5) && moveTo(myhand) target(*[-land;manacost=5]|mylibrary) -auto=this(counter{0/0.6.Theft}>=) {2}{B}{B}{C(0/0,-6,Theft)}:name(X = 6) && moveTo(myhand) target(*[-land;manacost=6]|mylibrary) -auto=this(counter{0/0.7.Theft}>=) {2}{B}{B}{C(0/0,-7,Theft)}:name(X = 7) && moveTo(myhand) target(*[-land;manacost=7]|mylibrary) -auto=this(counter{0/0.8.Theft}>=) {2}{B}{B}{C(0/0,-8,Theft)}:name(X = 8) && moveTo(myhand) target(*[-land;manacost=8]|mylibrary) -auto=this(counter{0/0.9.Theft}>=) {2}{B}{B}{C(0/0,-9,Theft)}:name(X = 9) && moveTo(myhand) target(*[-land;manacost=9]|mylibrary) -auto=this(counter{0/0.10.Theft}>=) {2}{B}{B}{C(0/0,-10,Theft)}:name(X = 10) && moveTo(myhand) target(*[-land;manacost=10]|mylibrary) -auto=this(counter{0/0.11.Theft}>=) {2}{B}{B}{C(0/0,-11,Theft)}:name(X = 11) && moveTo(myhand) target(*[-land;manacost=11]|mylibrary) -auto=this(counter{0/0.12.Theft}>=) {2}{B}{B}{C(0/0,-12,Theft)}:name(X = 12) && moveTo(myhand) target(*[-land;manacost=12]|mylibrary) -auto=this(counter{0/0.13.Theft}>=) {2}{B}{B}{C(0/0,-13,Theft)}:name(X = 13) && moveTo(myhand) target(*[-land;manacost=13]|mylibrary) -auto=this(counter{0/0.14.Theft}>=) {2}{B}{B}{C(0/0,-14,Theft)}:name(X = 14) && moveTo(myhand) target(*[-land;manacost=14]|mylibrary) -auto=this(counter{0/0.15.Theft}>=) {2}{B}{B}{C(0/0,-15,Theft)}:name(X = 15) && moveTo(myhand) target(*[-land;manacost=15]|mylibrary) -auto=this(counter{0/0.16.Theft}>=) {2}{B}{B}{C(0/0,-16,Theft)}:name(X = 16) && moveTo(myhand) target(*[-land;manacost=16]|mylibrary) -auto=this(counter{0/0.17.Theft}>=) {2}{B}{B}{C(0/0,-17,Theft)}:name(X = 17) && moveTo(myhand) target(*[-land;manacost=17]|mylibrary) -auto=this(counter{0/0.18.Theft}>=) {2}{B}{B}{C(0/0,-18,Theft)}:name(X = 18) && moveTo(myhand) target(*[-land;manacost=18]|mylibrary) -auto=this(counter{0/0.19.Theft}>=) {2}{B}{B}{C(0/0,-19,Theft)}:name(X = 19) && moveTo(myhand) target(*[-land;manacost=19]|mylibrary) -auto=this(counter{0/0.20.Theft}>=) {2}{B}{B}{C(0/0,-20,Theft)}:name(X = 20) && moveTo(myhand) target(*[-land;manacost=20]|mylibrary) +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) 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 your library. mana={2}{B}{B} type=Enchantment @@ -80015,7 +80015,7 @@ type=Sorcery [/card] [card] name=Nightsoil Kami -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=5]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -80356,8 +80356,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(myhand)],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(myhand)],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(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 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 your library. -- 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 @@ -80467,7 +80467,7 @@ type=Enchantment [/card] [card] name=No Rest for the Wicked -auto={S}:moveTo(myhand) all(creature[fresh]|mygraveyard) +auto={S}:moveto(ownerHand) 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 @@ -80544,8 +80544,8 @@ type=Enchantment [card] name=Noble Templar abilities=vigilance -aicode=activate target(plains|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={5}{W} type=Creature @@ -81361,8 +81361,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(myhand) -auto=@each opponent upkeep:if type(creature|opponentgraveyard)~morethan~type(creature|mygraveyard) then ability$!name(return creature from graveyard) target(creature|mygraveyard) moveTo(myhand)!$ opponent +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 text=At the beginning of each player's upkeep, that player chooses target player whose graveyard has fewer creature cards in it than his or her graveyard does and is his or her opponent. The first player may return a creature card from his or her graveyard to his or her hand. mana={1}{B} type=Enchantment @@ -81410,8 +81410,8 @@ type=Enchantment [/card] [card] name=Oath of Nissa -aicode=activate target(*[creature;land;planeswalker;zpos<=3]|mylibrary) moveto(myhand) -auto=name(look) reveal:3 optionone name(Get a card) target(<1>*[creature;land;planeswalker]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 auto=lord(planeswalker|mycastingzone) anytypeofmana text=When Oath of Nissa enters the battlefield, 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} @@ -81505,7 +81505,7 @@ type=Artifact [/card] [card] name=Obelisk of Undoing -auto={6}{T}:moveto(myhand) target(*|myBattlefield) +auto={6}{T}:moveto(ownerHand) target(*|myBattlefield) text={6}, {T}: Return target permanent you own and control to your hand. mana={1} type=Artifact @@ -81783,8 +81783,8 @@ toughness=3 [/card] [card] name=Odunos River Trawler -auto=moveto(myhand) target(creature[enchantment]|mygraveyard) -auto=aslongas(creature[enchantment]|mygraveyard) {W}{S}:moveto(myhand) target(other creature[enchantment]|mygraveyard) +auto=moveto(ownerHand) target(creature[enchantment]|mygraveyard) +auto=aslongas(creature[enchantment]|mygraveyard) {W}{S}:moveto(ownerHand) target(other creature[enchantment]|mygraveyard) text=When Odunos River Trawler enters the battlefield, 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 @@ -82625,7 +82625,7 @@ toughness=2 [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(myhand)])) optiononeend revealend +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 text=Search your library for an Aura or Equipment card, reveal it, and put it into your hand. Then shuffle your library. mana={1}{W} type=Sorcery @@ -83611,7 +83611,7 @@ toughness=2 [/card] [card] name=Ovalchase Daredevil -autograveyard=@movedto(artifact|mybattlefield):may moveto(myhand) +autograveyard=@movedto(artifact|mybattlefield):may moveto(ownerHand) text=Whenever an artifact enters the battlefield under your control, you may return Ovalchase Daredevil from your graveyard to your hand. mana={3}{B} type=Creature @@ -83643,8 +83643,8 @@ toughness=* [/card] [card] name=Overburden -auto=@movedTo(creature[-token]|mybattlefield):target(land|mybattlefield) moveTo(myhand) -auto=@movedTo(creature[-token]|opponentbattlefield):ability$!name(bounce land) target(land|mybattlefield) moveTo(myhand)!$ opponent +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 text=Whenever a player puts a nontoken creature onto the battlefield, that player returns a land he or she controls to its owner's hand. mana={1}{U} type=Enchantment @@ -83745,7 +83745,7 @@ toughness=5 [/card] [card] name=Oversold Cemetery -auto=@each my upkeep restriction{type(creature|mygraveyard)~morethan~3}:may target(creature|mygraveyard) moveTo(myhand) +auto=@each my upkeep restriction{type(creature|mygraveyard)~morethan~3}:may target(creature|mygraveyard) moveto(ownerHand) 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 @@ -83945,7 +83945,7 @@ toughness=3 [card] name=Pack Hunt target=creature -auto=target(*[share!name!]|mylibrary) moveTo(myhand) +auto=target(*[share!name!]|mylibrary) moveto(ownerHand) 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 your library. mana={3}{G} type=Sorcery @@ -84018,8 +84018,8 @@ type=Enchantment [/card] [card] name=Pain Seer -aicode=activate target(*[zpos=1]|mylibrary) moveto(myhand) 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(myhand) optiontwoend revealend +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 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 @@ -84100,7 +84100,7 @@ toughness=1 [/card] [card] name=Palace Siege -auto=choice name(Khans) transforms((,newability[counter(0/0.1.Khans)],newability[@each my upkeep:moveto(myhand) target(creature|mygraveyard)])) forever +auto=choice name(Khans) transforms((,newability[counter(0/0.1.Khans)],newability[@each my upkeep:moveto(ownerHand) 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 the battlefield, 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} @@ -84140,8 +84140,8 @@ toughness=2 [card] name=Pale Recluse abilities=reach -aicode=activate target(*[plains;forest]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={4}{G}{W} type=Creature @@ -84176,7 +84176,7 @@ toughness=4 [/card] [card] name=Paleoloth -auto=@movedTo(other creature[power>=5]|myBattlefield):may moveTo(myhand) target(creature|mygraveyard) +auto=@movedTo(other creature[power>=5]|myBattlefield):may moveto(ownerHand) target(creature|mygraveyard) text=Whenever another creature with power 5 or greater enters the battlefield under your control, you may return target creature card from your graveyard to your hand. mana={4}{G}{G} type=Creature @@ -85150,8 +85150,8 @@ type=Sorcery [/card] [card] name=Peer Through Depths -aicode=activate target(instant,sorcery[zpos<=5]|mylibrary) moveto(myhand) -auto=name(look) reveal:5 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -85649,7 +85649,7 @@ toughness=1 [/card] [card] name=Pestilent Souleater -auto={p(B)}:1/0 +auto={p(B)}:infect text=({p(B)} may be paid for with either {B} or 2 life.) -- {p(B)}: Pestilent Souleater gains infect until end of turn. mana={5} type=Artifact Creature @@ -85660,7 +85660,7 @@ toughness=3 [card] name=Petals of Insight aicode=activate choice bottomoflibrary all(*[zpos<=3]|mylibrary) && all(this) moveto(ownerhand) and!( draw:3 )! -auto=name(look) reveal:3 optionone name(Put Back On Top) target(*|reveal) transforms((,newability[all(*|reveal) moveto(mylibrary)])) oneshot optiononeend optiontwo choice name(Put on Bottom and Draw) all(this) moveto(myhand) && all(*|reveal) bottomoflibrary && draw:3 optiontwoend revealend +auto=name(look) reveal:3 optionone name(Put Back On Top) target(*|reveal) transforms((,newability[all(*|reveal) moveto(mylibrary)])) oneshot optiononeend optiontwo choice name(Put on Bottom and Draw) all(this) moveto(ownerHand) && all(*|reveal) bottomoflibrary && draw:3 optiontwoend revealend text=Look at the top three cards of your library. You may put those cards on the bottom of your library in any order. If you do, return Petals of Insight to its owner's hand. Otherwise, draw three cards. mana={4}{U} type=Sorcery @@ -85700,7 +85700,7 @@ toughness=2 [card] name=Petrified Field auto={T}:Add{1} -auto={T}{S}:moveTo(myhand) target(other land|mygraveyard) +auto={T}{S}:moveto(ownerHand) target(other land|mygraveyard) text={T}: Add {1} to your mana pool. -- {T}, Sacrifice Petrified Field: Return target land card from your graveyard to your hand. type=Land [/card] @@ -86059,7 +86059,7 @@ toughness=3 [/card] [card] name=Pharika's Mender -auto=may moveTo(myhand) target(creature,enchantment|mygraveyard) +auto=may moveto(ownerHand) target(creature,enchantment|mygraveyard) text=When Pharika's Mender enters the battlefield, you may return target creature or enchantment card from your graveyard to your hand. mana={3}{B}{G} type=Creature @@ -86505,7 +86505,7 @@ toughness=3 [/card] [card] name=Phyrexian Reclamation -auto={L:2}{1}{B}:moveTo(myhand) target(creature|mygraveyard) +auto={L:2}{1}{B}:moveto(ownerHand) target(creature|mygraveyard) text={1}{B}, Pay 2 life: Return target creature card from your graveyard to your hand. mana={B} type=Enchantment @@ -86721,7 +86721,7 @@ type=Sorcery [/card] [card] name=Pieces of the Puzzle -auto=reveal:5 optionone name(Get Cards) target(*[instant;sorcery]|reveal) moveto(myhand) 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(ownerHand) 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 @@ -86774,8 +86774,8 @@ toughness=4 [card] name=Pilgrim's Eye abilities=flying -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Flying -- When Pilgrim's Eye enters the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. mana={3} type=Artifact Creature @@ -87402,8 +87402,8 @@ type=Sorcery [card] name=Planar Portal abilities=hiddenface -aicode=activate moveTo(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={6}, {T}: Search your library for a card and put that card into your hand. Then shuffle your library. mana={6} type=Artifact @@ -87566,8 +87566,8 @@ toughness=2 [/card] [card] name=Plea for Guidance -aicode=activate target(enchantment|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for up to two enchantment cards, reveal them, and put them into your hand. Then shuffle your library. mana={5}{W} type=Sorcery @@ -87930,7 +87930,7 @@ type=Artifact [/card] [card] name=Possessed Skaab -auto=moveto(myhand) target(*[creature;instant;sorcery]|mygraveyard) +auto=moveto(ownerHand) target(*[creature;instant;sorcery]|mygraveyard) auto=_DIES_moveto(exile) text=When Possessed Skaab enters the battlefield, 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} @@ -88072,7 +88072,7 @@ toughness=1 [card] name=Praetor's Counsel auto=moveTo(exile) -auto=moveTo(myhand) all(*|mygraveyard) +auto=moveto(ownerHand) 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} @@ -89192,7 +89192,7 @@ type=Sorcery [/card] [card] name=Promised Kannushi -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=7]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -89261,8 +89261,8 @@ toughness=3 name=Prophetic Bolt target=anytarget auto=damage:4 -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot -auto=name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Prophetic Bolt deals 4 damage to target creature or player. 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 @@ -89688,7 +89688,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(myhand) all(this) afterrevealedend revealend +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 text=Target player reveals three cards from his or her 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 @@ -89714,7 +89714,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(myhand) +auto=if type(*|opponenthand)~morethan~type(*|myhand) then moveto(ownerHand) 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 @@ -89722,7 +89722,7 @@ type=Instant [card] name=Pulse of the Tangle auto=_BEASTTOKEN_ -auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then moveto(myhand) +auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then moveto(ownerHand) 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 @@ -90027,7 +90027,7 @@ type=Enchantment [card] name=Pus Kami auto={B}{S}:destroy target(other creature[-black]) -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=6]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -90202,7 +90202,7 @@ toughness=3 [card] name=Pyre Zombie auto={1}{R}{R}{S}:damage:2 target(anytarget) -autograveyard={1}{B}{B}:moveTo(myhand) myUpkeepOnly +autograveyard={1}{B}{B}:moveto(ownerHand) 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 target creature or player. mana={1}{B}{R} type=Creature @@ -91391,7 +91391,7 @@ type=Land [card] name=Raise Dead target=creature|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target creature card from your graveyard to your hand. mana={B} type=Sorcery @@ -91951,8 +91951,8 @@ toughness=2 [/card] [card] name=Ranger of Eos -aicode=activate target(creature[manacost<=1]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Ranger of Eos enters the battlefield, 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 @@ -92106,8 +92106,8 @@ toughness=1 [card] name=Ratcatcher abilities=fear -aicode=activate target(rat|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -92329,8 +92329,8 @@ toughness=6 name=Raven Familiar abilities=flying,hiddenface auto=upcost[{2}{u};next upkeep] sacrifice -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos<=2]|mylibrary)])) ueot -auto=reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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 the battlefield, 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 @@ -92590,7 +92590,7 @@ toughness=4 [card] name=Razor Hippogriff abilities=flying -auto=moveto(myhand) and!(transforms((,newability[dynamicability])))! target(artifact|mygraveyard) +auto=moveto(ownerHand) and!(transforms((,newability[dynamicability])))! target(artifact|mygraveyard) text=Flying -- When Razor Hippogriff enters the battlefield, 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 @@ -92734,7 +92734,7 @@ type=Land [card] name=Reach of Branches auto=token(Treefolk,Creature Treffolk,2/5,green) -autograveyard=@movedTo(forest|myBattlefield):may moveTo(myhand) +autograveyard=@movedTo(forest|myBattlefield):may moveto(ownerHand) text=Put a 2/5 green Treefolk Shaman creature token onto the battlefield. -- Whenever a Forest enters the battlefield under your control, you may return Reach of Branches from your graveyard to your hand. mana={4}{G} type=Tribal Instant @@ -92803,8 +92803,8 @@ toughness=2 [card] name=Realm Seekers auto=counter(1/1,type:*:hand) -aicode=activate target(land|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Realm Seekers enters the battlefield 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 your library. mana={4}{G}{G} type=Creature @@ -92928,7 +92928,7 @@ type=Instant [card] name=Reaping the Graves abilities=storm -auto=moveto(myHand) target(creature|myGraveyard) +auto=moveto(ownerHand) 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 @@ -92995,7 +92995,7 @@ toughness=2 [card] name=Reborn Hope target=*[multicolor]|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target multicolored card from your graveyard to your hand. mana={G}{W} type=Sorcery @@ -93276,7 +93276,7 @@ type=Instant [card] name=Recollect target=*|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target card from your graveyard to your hand. mana={2}{G} type=Sorcery @@ -93291,7 +93291,7 @@ type=Enchantment [card] name=Reconstruction target=artifact|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target artifact card from your graveyard to your hand. mana={U} type=Sorcery @@ -93308,7 +93308,7 @@ type=Sorcery [card] name=Recover target=creature|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) auto=draw:1 controller text=Return target creature card from your graveyard to your hand. -- Draw a card. mana={2}{B} @@ -93610,7 +93610,7 @@ type=Instant [card] name=Regrowth target=*|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target card from your graveyard to your hand. mana={1}{G} type=Sorcery @@ -93723,7 +93723,7 @@ type=Instant [card] name=Relearn target=instant,sorcery|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target instant or sorcery card from your graveyard to your hand. mana={1}{U}{U} type=Sorcery @@ -93830,7 +93830,7 @@ subtype=Aura [card] name=Relic Seeker auto=_RENOWN_(1) -auto=this(cantargetcard(*[renown]) transforms((,newability[may moveto(myhand) notatarget(equipment|mylibrary)])) +auto=this(cantargetcard(*[renown]) transforms((,newability[may moveto(ownerHand) 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 your library. mana={1}{W} type=Creature @@ -93876,7 +93876,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(myhand)])) +auto=@movedTo(creature|graveyard) from(mybattlefield):may all(trigger[to]) transforms((,newability[target(creature[share!name!]|mylibrary) moveto(ownerHand)])) 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 @@ -94014,8 +94014,8 @@ toughness=3 [card] name=Renegade Map auto=tap(noevent) -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Renegade Map enters the battlefield tapped. -- {T}, Sacrifice Renegade Map: Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. mana={1} type=Artifact @@ -94290,7 +94290,7 @@ type=Instant [card] name=Rescue target=*|myBattlefield -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target permanent you control to its owner's hand. mana={U} type=Instant @@ -94440,7 +94440,7 @@ type=Instant [card] name=Resourceful Return target=creature|mygraveyard -auto=moveto(myhand) +auto=moveto(ownerHand) 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} @@ -94516,7 +94516,7 @@ toughness=1 name=Restock abilities=exiledeath target=<2>*|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return two target cards from your graveyard to your hand. Exile Restock. mana={3}{G}{G} type=Sorcery @@ -94544,7 +94544,7 @@ toughness=3 [/card] [card] name=Restoration Specialist -auto={W}{S}:target(other *[artifact;enchantment]|mygraveyard) moveto(myhand) and!( if cantargetcard(artifact|nonbattlezone) then moveto(myhand) target(enchantment|mygraveyard) else moveto(myhand) target(artifact|mygraveyard) )! +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) )! 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 @@ -94738,7 +94738,7 @@ type=Sorcery [card] name=Return to Battle target=creature|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target creature card from your graveyard to your hand. mana={B} type=Sorcery @@ -94966,7 +94966,7 @@ type=Sorcery [card] name=Revive target=*[green]|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target green card from your graveyard to your hand. mana={1}{G} type=Sorcery @@ -94981,11 +94981,11 @@ type=Instant [/card] [card] name=Reviving Melody -auto=alternative @movedto(creature|myhand) source(this):moveto(myhand) target(enchantment|mygraveyard) -auto=alternative @movedto(enchantment|myhand) source(this):moveto(myhand) target(creature|mygraveyard) +auto=alternative @movedto(creature|myhand) source(this):moveto(ownerHand) target(enchantment|mygraveyard) +auto=alternative @movedto(enchantment|myhand) source(this):moveto(ownerHand) target(creature|mygraveyard) other={2}{G} name(Both) target=creature,enchantment|mygraveyard -auto=moveto(myhand) +auto=moveto(ownerHand) 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} @@ -94994,7 +94994,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(myhand)])) 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(ownerHand)])) 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 @@ -95551,8 +95551,8 @@ type=Artifact [card] name=Ring of Three Wishes auto=counter(0/0,3,Wish) -aicode=activate target(*|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Ring of Three Wishes enters the battlefield 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 your library. mana={5} type=Artifact @@ -96037,7 +96037,7 @@ toughness=3 [/card] [card] name=Rith's Grove -auto=aslongas(land[-lair]|mybattlefield) moveto(myhand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) 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} @@ -96049,7 +96049,7 @@ subtype=Lair [card] name=Ritual of Restoration target=artifact|myGraveyard -auto=moveto(myHand) +auto=moveto(ownerHand) text=Return target artifact card from your graveyard to your hand. mana={W} type=Sorcery @@ -96815,7 +96815,7 @@ toughness=3 [card] name=Rootrunner auto={G}{G}{S}:moveTo(ownerlibrary) target(other land) -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=3]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -96881,7 +96881,7 @@ type=Land [/card] [card] name=Rootwater Diver -auto={T}{S}:moveTo(myhand) target(other artifact|mygraveyard) +auto={T}{S}:moveto(ownerHand) target(other artifact|mygraveyard) text={T}, Sacrifice Rootwater Diver: Return target artifact card from your graveyard to your hand. mana={U} type=Creature @@ -97289,9 +97289,9 @@ toughness=1 [/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(myhand) 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(ownerHand) 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(myhand)])) 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(ownerHand)])) 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 your library. mana={1}{G} abilities=devoid @@ -97586,8 +97586,8 @@ subtype=Aura [card] name=Rune-Scarred Demon abilities=flying,hiddenface -aicode=activate moveTo(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Flying -- When Rune-Scarred Demon enters the battlefield, search your library for a card, put it into your hand, then shuffle your library. mana={5}{B}{B} type=Creature @@ -98086,7 +98086,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(myhand) 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(ownerHand) 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 @@ -98259,8 +98259,8 @@ toughness=2 [/card] [card] name=Safewright Quest -aicode=activate target(*[forest;plains]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a Forest or Plains card, reveal it, and put it into your hand. Then shuffle your library. mana={GW} type=Sorcery @@ -98392,15 +98392,15 @@ subtype=Wizard [card] name=Sage's Knowledge target=sorcery|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target sorcery card from your graveyard to your hand. mana={2}{U} type=Sorcery [/card] [card] name=Sages of the Anima -aicode=activate target(<3>creature[zpos<=3]|mylibrary) moveto(myhand) -auto=replacedraw reveal:3 optionone name(Get creatures) target(<3>creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -98626,7 +98626,7 @@ toughness=1 [card] name=Salvage Titan other={S(artifact|myBattlefield)}{S(artifact|myBattlefield)}{S(artifact|myBattlefield)} name(Sacrifice 3 Artifacts) -autograveyard={E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)}:moveTo(myhand) +autograveyard={E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)}{E(other artifact|mygraveyard)}:moveto(ownerHand) 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 @@ -98780,7 +98780,7 @@ toughness=2 [card] name=Sanctum Gargoyle abilities=flying -auto=may moveTo(myHand) target(artifact|mygraveyard) +auto=may moveto(ownerHand) target(artifact|mygraveyard) text=Flying -- When Sanctum Gargoyle enters the battlefield, you may return target artifact card from your graveyard to your hand. mana={3}{W} type=Artifact Creature @@ -98791,16 +98791,16 @@ toughness=3 [card] name=Sanctum of Ugin auto={T}:add{1} -aicode=activate moveto(myhand) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={T}: Add {1} to your mana pool. -- 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 your library. type=Land [/card] [card] name=Sanctum Plowbeast abilities=defender -aicode=activate target(*[plains;island]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={4}{W}{U} type=Artifact Creature @@ -99016,7 +99016,7 @@ toughness=4 [card] name=Sandstorm Eidolon auto={R}{S}:cantblock target(other creature) -autograveyard=@movedTo(*[multicolor]|mystack):may moveTo(myhand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) 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 @@ -99120,7 +99120,7 @@ toughness=5 [/card] [card] name=Sanitarium Skeleton -autograveyard={2}{B}:moveto(myhand) +autograveyard={2}{B}:moveto(ownerHand) text={2}{B}: Return Sanitarium Skeleton from your graveyard to your hand. mana={B} type=Creature @@ -99148,8 +99148,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(myhand) 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(myhand)])) 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(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 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 @@ -99189,7 +99189,7 @@ type=Artifact [card] name=Saprazzan Bailiff auto=moveTo(exile) all(enchantment,artifact|graveyard) -auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveTo(myhand) all(artifact,enchantment|mygraveyard) && moveTo(opponenthand) all(artifact,enchantment|opponentgraveyard) +auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveto(ownerHand) all(artifact,enchantment|mygraveyard) && moveTo(opponenthand) all(artifact,enchantment|opponentgraveyard) text=When Saprazzan Bailiff enters the battlefield, 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 @@ -99249,7 +99249,7 @@ toughness=5 [/card] [card] name=Saprazzan Raider -auto=_BLOCKED_moveTo(myhand) all(this) +auto=_BLOCKED_moveto(ownerHand) all(this) text=When Saprazzan Raider becomes blocked, return it to its owner's hand. mana={2}{U} type=Creature @@ -99314,8 +99314,8 @@ type=Instant [/card] [card] name=Sarkhan's Triumph -aicode=activate target(creature[dragon]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a Dragon creature card, reveal it, put it into your hand, then shuffle your library. mana={2}{R} type=Instant @@ -99416,7 +99416,7 @@ toughness=1 [/card] [card] name=Satyr Wayfinder -auto=reveal:4 optionone target(land|reveal) moveto(myhand) 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(ownerHand) optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend text=When Satyr Wayfinder enters the battlefield, 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 @@ -100520,7 +100520,7 @@ type=Sorcery [/card] [card] name=Scout the Borders -auto=reveal:5 optionone name(Get creature or land) target(creature,land|reveal) moveto(myhand) 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(ownerHand) 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 @@ -100569,22 +100569,22 @@ type=Sorcery [/card] [card] name=Scrap Trawler -auto=@movedto(artifact[manacost=1]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=0]|mygraveyard) -auto=@movedto(artifact[manacost=2]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=1]|mygraveyard) -auto=@movedto(artifact[manacost=3]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=2]|mygraveyard) -auto=@movedto(artifact[manacost=4]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=3]|mygraveyard) -auto=@movedto(artifact[manacost=5]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=4]|mygraveyard) -auto=@movedto(artifact[manacost=6]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=5]|mygraveyard) -auto=@movedto(artifact[manacost=7]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=6]|mygraveyard) -auto=@movedto(artifact[manacost=8]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=7]|mygraveyard) -auto=@movedto(artifact[manacost=9]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=8]|mygraveyard) -auto=@movedto(artifact[manacost=10]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=9]|mygraveyard) -auto=@movedto(artifact[manacost=11]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=10]|mygraveyard) -auto=@movedto(artifact[manacost=12]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=11]|mygraveyard) -auto=@movedto(artifact[manacost=13]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=12]|mygraveyard) -auto=@movedto(artifact[manacost=14]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=13]|mygraveyard) -auto=@movedto(artifact[manacost=15]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=14]|mygraveyard) -auto=@movedto(artifact[manacost=16]|graveyard) from(mybattlefield):moveto(myhand) target(artifact[manacost<=15]|mygraveyard) +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) 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 @@ -100693,8 +100693,8 @@ type=Sorcery [card] name=Screaming Seahawk abilities=flying -aicode=activate target(screaming seahawk|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Flying -- When Screaming Seahawk enters the battlefield, 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 @@ -100821,7 +100821,7 @@ toughness=1 [/card] [card] name=Scrivener -auto=may moveTo(myhand) target(instant|mygraveyard) +auto=may moveto(ownerHand) target(instant|mygraveyard) text=When Scrivener enters the battlefield, you may return target instant card from your graveyard to your hand. mana={4}{U} type=Creature @@ -100925,8 +100925,8 @@ toughness=1 [card] name=Scrying Sheets auto={T}:add{C} -aicode=activate target(*[snow;zpos=1]|mylibrary) moveto(myhand) -auto={1}{i}{T}:name(Look top card) reveal:1 optionone if type(*[snow]|reveal)~morethan~0 then target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +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 text={T}: Add {1} to your mana pool. -- {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] @@ -100994,7 +100994,7 @@ toughness=2 [card] name=Scuttling Death auto={S}:-1/-1 target(other creature) -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -101089,7 +101089,7 @@ subtype=Equipment [card] name=Sea Drake abilities=flying -auto=target(<2>land|mybattlefield) moveTo(myhand) +auto=target(<2>land|mybattlefield) moveto(ownerHand) text=Flying -- When Sea Drake enters the battlefield, return two target lands you control to their owner's hand. mana={2}{U} type=Creature @@ -101120,8 +101120,8 @@ toughness=3 [card] name=Sea Gate Oracle abilities=hiddenface -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Sea Gate Oracle enters the battlefield, 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 @@ -101596,8 +101596,8 @@ subtype=Aura name=Secret Salvage target=*[-land]|mygraveyard auto=moveto(exile) -aicode=activate target(*[share!name!]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={3}{B}{B} type=Sorcery @@ -101804,7 +101804,7 @@ type=Sorcery name=Seeds of Renewal abilities=exiledeath target=<2>*|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) 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} @@ -101820,16 +101820,16 @@ type=Instant [/card] [card] name=Seek the Horizon -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for up to three basic land cards, reveal them, and put them into your hand. Then shuffle your library. mana={3}{G} type=Sorcery [/card] [card] name=Seek the Wilds -aicode=activate moveto(myhand) target(*[creature;land;zpos<=4]|mylibrary) -auto=name(look) reveal:4 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -103589,7 +103589,7 @@ subtype=Equipment name=Shard Phoenix abilities=flying auto={S}:damage:2 all(creature[-flying]) -autograveyard={R}{R}{R}:moveTo(myhand) myUpkeeponly +autograveyard={R}{R}{R}:moveto(ownerHand) 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 @@ -103675,7 +103675,7 @@ toughness=3 name=Shattered Crypt target=creature|mygraveyard auto=life:-x controller -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return X target creature cards from your graveyard to your hand. You lose X life. mana={X}{B}{B} type=Sorcery @@ -104539,8 +104539,8 @@ toughness=2 [card] name=Shoreline Ranger abilities=flying -aicode=activate target(island|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={5}{U} type=Creature @@ -104626,8 +104626,8 @@ type=Instant name=Shred Memory target=*|graveyard auto=moveTo(exile) -aicode=activate target(*[manacost=2]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 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 your library. Transmute only as a sorcery.) mana={1}{B} type=Instant @@ -104643,7 +104643,7 @@ type=Instant [card] name=Shreds of Sanity target=sorcery|mygraveyard -auto=moveto(myhand) +auto=moveto(ownerHand) 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. @@ -104819,8 +104819,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(myhand) -auto={t}{s}:name(Look) reveal:counter{0%0.1.charge} optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend +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 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] @@ -104988,7 +104988,7 @@ toughness=3 [/card] [card] name=Sibsig Muckdraggers -auto=target(creature|mygraveyard) moveto(myhand) +auto=target(creature|mygraveyard) moveto(ownerHand) text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- When Sibsig Muckdraggers enters the battlefield, return target creature card from your graveyard to your hand. other={delve} name(Delve) mana={8}{B} @@ -105072,8 +105072,8 @@ toughness=1 [card] name=Sidisi, Undead Vizier abilities=deathtouch,hiddenface -aicode=activate moveto(myhand) 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(myhand))! afterrevealedend revealend )! +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 )! text=Deathtouch -- Exploit (When this creature enters the battlefield, 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 your library. mana={3}{B}{B} type=Legendary Creature @@ -105240,8 +105240,8 @@ toughness=2 [card] name=Sight Beyond Sight abilities=hiddenface -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +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 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} @@ -105348,7 +105348,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(myhand) oneshot +auto=@movedto(creature|mygraveyard) from(battlefield):all(trigger[to]) pay[[{1}{W}]] activate moveto(ownerHand) 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 @@ -106529,8 +106529,8 @@ subtype=Equipment [/card] [card] name=Skeleton Shard -auto={3}{T}:moveTo(myhand) target(creature[artifact]|mygraveyard) -auto={B}{T}:moveTo(myhand) target(creature[artifact]|mygraveyard) +auto={3}{T}:moveto(ownerHand) target(creature[artifact]|mygraveyard) +auto={B}{T}:moveto(ownerHand) 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 @@ -106959,7 +106959,7 @@ type=Sorcery [/card] [card] name=Skull of Orm -auto={5}{T}:MoveTo(myHand) target(enchantment|myGraveyard) +auto={5}{T}:moveto(ownerHand) target(enchantment|myGraveyard) text={5}, {T}: Return target enchantment card from your graveyard to your hand. mana={3} type=Artifact @@ -107555,8 +107555,8 @@ toughness=3 [/card] [card] name=Skyshroud Sentinel -aicode=activate target(skyshroud sentinel|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Skyshroud Sentinel enters the battlefield, 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 @@ -107655,7 +107655,7 @@ toughness=4 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(myhand) optiontwoend revealend +auto={t}:reveal:1 optionone target(land|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(ownerHand) 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 @@ -107717,7 +107717,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(myhand) notatarget(land|mybattlefield)],newability[2/2 ueot])) ueot +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 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 @@ -107969,8 +107969,8 @@ subtype=Aura [card] name=Sleight of Hand abilities=hiddenface -aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=1]|mylibrary) && bottomoflibrary all(*[zpos=2]|mylibrary)])) ueot -auto=name(Look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -108247,8 +108247,8 @@ toughness=7 [/card] [card] name=Sliver Overlord -aicode=activate target(sliver|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. -- {3}: Gain control of target Sliver. (This effect lasts indefinitely.) mana={W}{U}{B}{R}{G} @@ -108835,7 +108835,7 @@ toughness=4 [/card] [card] name=Snow Hound -auto={1}{T}:moveTo(myhand) all(this) && moveTo(myhand) target(creature[green;blue]|myBattlefield) +auto={1}{T}:moveto(ownerHand) all(this) && moveto(ownerHand) 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 @@ -109634,7 +109634,7 @@ toughness=4 [card] name=Sosuke's Summons auto=token(Snake,Snake Creature,1/1,green)*2 -autograveyard=@movedto(mybattlefield) from(snake[-token]):may moveto(myhand) all(this) +autograveyard=@movedto(mybattlefield) from(snake[-token]):may moveto(ownerHand) all(this) text=Put two 1/1 green Snake creature tokens onto the battlefield. -- Whenever a nontoken Snake enters the battlefield under your control, you may return Sosuke's Summons from your graveyard to your hand. mana={2}{G} type=Sorcery @@ -109733,8 +109733,8 @@ type=Instant [card] name=Soul of Innistrad abilities=deathtouch -auto={3}{B}{B}:target(creature|myGraveyard) moveTo(myHand) -autograveyard={3}{B}{B}{E}:target(other creature|myGraveyard) moveTo(myHand) +auto={3}{B}{B}:target(creature|myGraveyard) moveto(ownerHand) +autograveyard={3}{B}{B}{E}:target(other creature|myGraveyard) moveto(ownerHand) 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 @@ -109886,7 +109886,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(myhand) +auto={C(0/0,-3,Quest)}{S}:target(other creature|mygraveyard) moveto(ownerHand) text=Landfall - Whenever a land enters the battlefield 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 @@ -110625,7 +110625,7 @@ type=Artifact [card] name=Spectral Shepherd abilities=flying -auto={1}{U}:moveto(myhand) target(spirit|mybattlefield) +auto={1}{U}:moveto(ownerHand) target(spirit|mybattlefield) text=Flying -- {1}{U}: Return target Spirit you control to its owner's hand. mana={2}{W} type=Creature @@ -110916,8 +110916,8 @@ toughness=6 [card] name=Sphinx Summoner abilities=flying -aicode=activate target(creature[artifact]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Flying -- When Sphinx Summoner enters the battlefield, 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 @@ -112290,8 +112290,8 @@ toughness=3 [card] name=Sprouting Vines abilities=storm -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a basic land card, reveal that card, and put it into your hand. Then shuffle your library. -- Storm (When you cast this spell, copy it for each spell cast before it this turn.) mana={2}{G} type=Instant @@ -112329,8 +112329,8 @@ toughness=2 [card] name=Squadron Hawk abilities=flying -aicode=activate target(squadron hawk|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Flying -- When Squardon Hawk enters the battlefield, you may search your library for up to three cards named Squadron Hawk, reveal them, put them into your hand, then shuffle your library. mana={1}{W} type=Creature @@ -112377,7 +112377,7 @@ toughness=2 [/card] [card] name=Squee, Goblin Nabob -autograveyard={0}:moveTo(myhand) myUpkeepOnly +autograveyard={0}:moveto(ownerHand) 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 @@ -112789,7 +112789,7 @@ toughness=4 [card] name=Stampeding Wildebeests abilities=trample -auto=@each my upkeep:moveto(myhand) notatarget(creature[green]|myBattlefield) +auto=@each my upkeep:moveto(ownerHand) 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 @@ -113302,8 +113302,8 @@ type=Instant [/card] [card] name=Steelshaper Apprentice -aicode=activate target(equipment|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={2}{W}{W} type=Creature @@ -113313,8 +113313,8 @@ toughness=3 [/card] [card] name=Steelshaper's Gift -aicode=activate target(equipment|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for an Equipment card, reveal that card, and put it into your hand. Then shuffle your library. mana={W} type=Sorcery @@ -113615,7 +113615,7 @@ type=Sorcery name=Stitch Together target=creature|mygraveyard auto=aslongas(*|mygraveyard) moveTo(mybattlefield) >6 -auto=moveTo(myhand) +auto=moveto(ownerHand) 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 @@ -113664,7 +113664,7 @@ toughness=1 [/card] [card] name=Stoic Builder -auto=may moveto(myhand) target(land|mygraveyard) +auto=may moveto(ownerHand) target(land|mygraveyard) text=When Stoic Builder enters the battlefield, you may return target land card from your graveyard to your hand. mana={2}{G} type=Creature @@ -113859,7 +113859,7 @@ toughness=4 [card] name=Stonecloaker abilities=flash,flying -auto=moveto(myhand) notatarget(creature|mybattlefield) and!(moveto(exile) target(*|graveyard))! +auto=moveto(ownerHand) 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 the battlefield, return a creature you control to its owner's hand. -- When Stonecloaker enters the battlefield, exile target card from a graveyard. mana={2}{W} type=Creature @@ -113879,8 +113879,8 @@ toughness=2 [/card] [card] name=Stoneforge Acolyte -aicode=activate target(equipment[zpos<=4]|mylibrary) moveto(myhand) -auto={t}{T(ally|myBattlefield)}:name(look) reveal:4 optionone name(Get Equipment) target(equipment|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -113899,8 +113899,8 @@ subtype=Equipment [/card] [card] name=Stoneforge Mystic -aicode=activate target(equipment|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 auto={1}{W}{T}:moveTo(myBattlefield) target(equipment|myhand) text=When Stoneforge Mystic enters the battlefield, you may search your library for an Equipment card, reveal it, put it into your hand, then shuffle your library. -- {1}{W}, {T}: You may put an Equipment card from your hand onto the battlefield. mana={1}{W} @@ -114487,8 +114487,8 @@ type=Instant [card] name=Strategic Planning abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) and!(deplete:2)!])) ueot -auto=name(look) reveal:3 optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 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 @@ -114860,7 +114860,7 @@ toughness=3 [/card] [card] name=Strongarm Thug -auto=may moveto(myhand) target(mercenary|mygraveyard) +auto=may moveto(ownerHand) target(mercenary|mygraveyard) text=When Strongarm Thug enters the battlefield, you may return target Mercenary card from your graveyard to your hand. mana={2}{B} type=Creature @@ -115456,8 +115456,8 @@ toughness=1 [card] name=Sultai Soothsayer abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) and!(deplete:3)!])) ueot -auto=name(look) reveal:4 optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 text=When Sultai Soothsayer enters the battlefield, 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 @@ -115493,7 +115493,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(myhand) +autograveyard={T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}{T(merfolk|myBattlefield)}:moveto(ownerHand) 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 @@ -115510,8 +115510,8 @@ type=Instant [/card] [card] name=Summoner's Pact -aicode=activate target(creature[green]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. -- At the beginning of your next upkeep, pay {2}{G}{G}. If you don't, you lose the game. @@ -116301,8 +116301,8 @@ type=Sorcery [/card] [card] name=Survival of the Fittest -aicode=activate target(creature|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library. mana={1}{G} type=Enchantment @@ -116790,7 +116790,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(myhand) target(creature|mygraveyard) +auto=@combatdamaged(player) from(mytgt):may moveto(ownerHand) 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 @@ -116940,8 +116940,8 @@ toughness=4 name=Sylvan Bounty target=player auto=life:8 -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={5}{G} type=Instant @@ -116963,7 +116963,7 @@ toughness=3 [/card] [card] name=Sylvan Hierophant -auto=_DIES_moveto(myhand) target(other creature|myGraveyard) +auto=_DIES_moveto(ownerHand) 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} @@ -116975,7 +116975,7 @@ toughness=2 [card] name=Sylvan Messenger abilities=trample -auto=reveal:4 optionone name(Get Elf) target(<4>elf|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=Trample -- When Sylvan Messenger enters the battlefield, 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 @@ -117015,8 +117015,8 @@ toughness=8 [/card] [card] name=Sylvan Ranger -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Sylvan Ranger enters the battlefield, 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 @@ -117028,8 +117028,8 @@ toughness=1 name=Sylvan Reclamation target=*[artifact;enchantment] auto=moveto(exile) -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={3}{G}{W} type=Instant @@ -117046,8 +117046,8 @@ toughness=1 [/card] [card] name=Sylvan Scrying -aicode=activate target(land|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a land card, reveal it, and put it into your hand. Then shuffle your library. mana={1}{G} type=Sorcery @@ -117669,8 +117669,8 @@ type=Artifact [/card] [card] name=Tallowisp -aicode=activate target(aura|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 @@ -117809,8 +117809,8 @@ toughness=4 name=Tamiyo's Journal abilities=hiddenface auto=@each my upkeep:name(Create clue) token(Clue) -aicode=activate target(*|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library. mana={5} type=Legendary Artifact @@ -118687,8 +118687,8 @@ toughness=3 [/card] [card] name=Telling Time -aicode=activate transforms((,newability[moveto(myhand) 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(myhand) optiononeend optiontwo choice name(Choose one for Bottom) target(*|reveal) bottomoflibrary && all(*|reveal) moveto(mylibrary) optiontwoend +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 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 @@ -119619,7 +119619,7 @@ toughness=1 [card] name=Thalakos Scout abilities=shadow -auto={D(*|myhand)}:moveTo(myhand) +auto={D(*|myhand)}:moveto(ownerHand) 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 @@ -119675,8 +119675,8 @@ toughness=2 [card] name=Thalia's Lancers abilities=first strike -aicode=activate target(*[legendary]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=First strike -- When Thalia's Lancers enters the battlefield, you may search your library for a legendary card, reveal it, put it into your hand, then shuffle your library. mana={3}{W}{W} type=Creature @@ -119836,8 +119836,8 @@ toughness=2 [card] name=Thawing Glaciers auto=tap(noevent) -aicode=activate moveTo(mybattlefield) and!( tap(noevent) && phaseaction[cleanup,sourceinplay] moveto(myhand) 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(myhand) 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(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 text=Thawing Glaciers enters the battlefield tapped. -- {1}, {T}: Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle your library. Return Thawing Glaciers to its owner's hand at the beginning of the next cleanup step. type=Land [/card] @@ -119915,7 +119915,7 @@ type=Legendary Land [card] name=The Unspeakable abilities=flying,trample -auto=@combatdamaged(player) from(this):may moveto(myhand) target(arcane|mygraveyard) +auto=@combatdamaged(player) from(this):may moveto(ownerHand) 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 @@ -120082,7 +120082,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(myhand) target(spirit[manacost<=2]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -120095,8 +120095,8 @@ name=Thieves' Fortune other={U} name(Prowl) otherrestriction=prowl abilities=hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=4]|mylibrary) moveto(myhand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=3]|mylibrary) moveto(myhand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=2]|mylibrary) moveto(myhand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot -auto=reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -120676,7 +120676,7 @@ toughness=6 [/card] [card] name=Thousand-legged Kami -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=7]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -121484,7 +121484,7 @@ type=Instant [/card] [card] name=Tidal Courier -auto=reveal:4 optionone name(Get Merfolk) target(<4>merfolk|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +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 text=When Tidal Courier enters the battlefield, 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} @@ -121709,7 +121709,7 @@ subtype=Aura [/card] [card] name=Tilling Treefolk -auto=may target(land|mygraveyard) moveTo(myHand) +auto=may target(land|mygraveyard) moveto(ownerHand) text=When Tilling Treefolk enters the battlefield, you may return up to two target land cards from your graveyard to your hand. mana={2}{G} type=Creature @@ -121859,8 +121859,8 @@ type=Enchantment [/card] [card] name=Time of Need -aicode=activate target(creature[legendary]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a legendary creature card, reveal it, and put it into your hand. Then shuffle your library. mana={1}{G} type=Sorcery @@ -122169,9 +122169,9 @@ toughness=1 [/card] [card] name=Tithe -aicode=activate transforms((,newability[if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then moveTo(myhand) notatarget(plains|mylibrary) else moveTo(myhand) notatarget(plains|mylibrary)])) ueot -auto=if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=ifnot type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +aicode=activate transforms((,newability[if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then moveto(ownerHand) notatarget(plains|mylibrary) else moveto(ownerHand) notatarget(plains|mylibrary)])) ueot +auto=if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) 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 type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) 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 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 your library. mana={W} type=Instant @@ -122243,8 +122243,8 @@ type=Sorcery name=Tolaria West auto=tap(noevent) auto={T}:Add{U} -aicode=activate target(*[manacost=0]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery +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 text=Tolaria West enters the battlefield tapped. -- {T}: Add {U} to your mana pool. -- 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 your library. Transmute only as a sorcery.) type=Land [/card] @@ -122381,8 +122381,8 @@ type=Sorcery [/card] [card] name=Tomorrow, Azami's Familiar -aicode=activate transforms((,newability[choice all(*[zpos=3]|mylibrary) moveto(myhand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=2]|mylibrary) moveto(myhand) && bottomoflibrary all(*[zpos<=3]|mylibrary)],newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) && bottomoflibrary all(*[zpos<=3]|mylibrary)])) ueot -auto=replacedraw reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -122575,7 +122575,7 @@ type=Enchantment [card] name=Torii Watchward abilities=vigilance -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -122816,7 +122816,7 @@ type=Artifact [/card] [card] name=Tortured Existence -auto={B}{D(creature|myhand)}:moveTo(myhand) target(creature|mygraveyard) +auto={B}{D(creature|myhand)}:moveto(ownerHand) target(creature|mygraveyard) text={B}, Discard a creature card: Return target creature card from your graveyard to your hand. mana={B} type=Enchantment @@ -122861,8 +122861,8 @@ toughness=3 [/card] [card] name=Totem-Guide Hartebeest -aicode=activate target(aura|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Totem-Guide Hartebeest enters the battlefield, 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 @@ -123002,8 +123002,8 @@ toughness=4 [card] name=Tower Geist abilities=flying,hiddenface -aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(myhand) and!(deplete:1)!],newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) and!(deplete:1)!])) ueot -auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend +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 text=Flying -- When Tower Geist enters the battlefield, 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 @@ -123186,7 +123186,7 @@ toughness=2 [/card] [card] name=Tracker's Instincts -auto=reveal:4 optionone target(creature|reveal) moveto(myhand) 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(ownerHand) 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} @@ -123226,7 +123226,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(myhand) target(artifact|mygraveyard) +auto={1}{T}{S(creature|myBattlefield)}:moveto(ownerHand) 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} @@ -123234,7 +123234,7 @@ type=Artifact [/card] [card] name=Tragic Poet -auto={T}{S}:moveTo(myhand) target(other enchantment|mygraveyard) +auto={T}{S}:moveto(ownerHand) target(other enchantment|mygraveyard) text={T}, Sacrifice Tragic Poet: Return target enchantment card from your graveyard to your hand. mana={W} type=Creature @@ -123571,8 +123571,8 @@ toughness=3 [/card] [card] name=Trapmaker's Snare -aicode=activate target(*[trap]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a Trap card, reveal it, and put it into your hand. Then shuffle your library. mana={1}{U} type=Instant @@ -123600,8 +123600,8 @@ type=Sorcery name=Traumatic Visions target=*|stack auto=fizzle -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={3}{U}{U} type=Instant @@ -123625,8 +123625,8 @@ type=Sorcery [/card] [card] name=Traveler's Amulet -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text={1}, Sacrifice Traveler's Amulet: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library. mana={1} type=Artifact @@ -123661,9 +123661,9 @@ toughness=2 [/card] [card] name=Traverse the Ulvenwald -aicode=activate transforms((,newability[if delirium then moveto(myhand) target(*[land;creature]|mylibrary)],newability[ifnot delirium then moveto(myhand) 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(myhand)])) 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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. -- 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 your library. mana={G} type=Sorcery @@ -123683,8 +123683,8 @@ toughness=3 name=Treacherous Terrain target=player auto=damage:type:land:targetedpersonsbattlefield -aicode=activate target(land[basic]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 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 your library.) mana={6}{R}{G} type=Sorcery @@ -123762,7 +123762,7 @@ type=Sorcery [/card] [card] name=Treasure Hunter -auto=may moveTo(myhand) target(artifact|mygraveyard) +auto=may moveto(ownerHand) target(artifact|mygraveyard) text=When Treasure Hunter enters the battlefield, you may return target artifact card from your graveyard to your hand. mana={2}{W} type=Creature @@ -123773,7 +123773,7 @@ toughness=2 [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(myhand) optiononeend revealend +auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone all(*|reveal) moveto(ownerHand) 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 @@ -123790,8 +123790,8 @@ toughness=3 [/card] [card] name=Treasure Mage -aicode=activate target(artifact[manacost>=6]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Treasure Mage enters the battlefield, 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 @@ -123810,7 +123810,7 @@ type=Enchantment name=Treasured Find abilities=exiledeath target=*|myGraveyard -auto=moveTo(myHand) +auto=moveto(ownerHand) text=Return target card from your graveyard to your hand. Exile Treasured Find. mana={B}{G} type=Sorcery @@ -123818,7 +123818,7 @@ type=Sorcery [card] name=Treasury Thrull auto=_EXTORT_ -auto=_ATTACKING_may moveto(myhand) target(*[artifact;creature;enchantment]|mygraveyard) +auto=_ATTACKING_may moveto(ownerHand) 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 @@ -124110,7 +124110,7 @@ type=Instant [/card] [card] name=Treva's Ruins -auto=aslongas(land[-lair]|mybattlefield) moveto(myhand) notatarget(land[-lair]|mybattlefield) oneshot && counter(0/0,-1,payment) +auto=aslongas(land[-lair]|mybattlefield) moveto(ownerHand) 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} @@ -124292,8 +124292,8 @@ type=Artifact [/card] [card] name=Trinket Mage -aicode=activate target(artifact[manacost<=1]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Trinket Mage enters the battlefield, 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 @@ -124508,8 +124508,8 @@ toughness=3 [/card] [card] name=Trophy Mage -aicode=activate target(artifact[manacost=3]|mylibrary) moveto(myhand) -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(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +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 text=When Trophy Mage enters the battlefield, you may search your library for an artifact card with mana value 3, reveal it, put it into your hand, then shuffle your library. mana={2}{U} type=Creature @@ -125045,7 +125045,7 @@ type=Land [card] name=Twilight Shepherd abilities=flying,vigilance,persist -auto=moveTo(myhand) all(*[fresh]|mygraveyard) +auto=moveto(ownerHand) all(*[fresh]|mygraveyard) text=Flying, vigilance -- When Twilight Shepherd enters the battlefield, 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 @@ -125109,8 +125109,8 @@ type=Sorcery [card] name=Twisted Abomination auto={B}:regenerate -aicode=activate moveTo(myhand) 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(myhand))! afterrevealedend revealend +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 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 your library.) mana={5}{B} type=Creature @@ -125176,7 +125176,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(myhand) +autograveyard={1}{B}{S(creature|mybattlefield)}:moveto(ownerHand) 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 @@ -125369,7 +125369,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(myhand) )! +auto=if type(*|opponentexile)~morethan~0 then may notatarget(*|opponentexile) moveto(ownergraveyard) and!( target(*[instant;sorcery]|mygraveyard) moveto(ownerHand) )! text=Devoid (This card has no color.) -- When Ulamog's Reclaimer enters the battlefield, 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 @@ -125719,8 +125719,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(myhand))! -auto=reveal:4 optionone name(Get Cards) target(*[instant;sorcery]|reveal) moveto(myhand) 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(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 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 @@ -125750,7 +125750,7 @@ toughness=2 name=Undead Gladiator abilities=cycling autohand=__CYCLING__({1}{B}) -autograveyard={1}{B}{D(*|myhand)}:moveTo(myhand) myUpkeepOnly +autograveyard={1}{B}{D(*|myhand)}:moveto(ownerHand) 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 @@ -126206,7 +126206,7 @@ type=Enchantment [card] name=Unmake the Graves target=creature|mygraveyard -auto=moveto(myhand) +auto=moveto(ownerHand) 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} @@ -127103,8 +127103,8 @@ toughness=2 [/card] [card] name=Valley Rannet -aicode=activate moveTo(myhand) 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(myhand))! afterrevealedend revealend +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 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 your library.) mana={4}{R}{G} type=Creature @@ -127685,8 +127685,8 @@ toughness=1 name=Vedalken Aethermage abilities=flash auto=moveto(ownerhand) target(sliver) -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 text=Flash (You may cast this spell any time you could cast an instant.) -- When Vedalken Aethermage enters the battlefield, 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 your library.) mana={1}{U} type=Creature @@ -127831,7 +127831,7 @@ type=Enchantment [/card] [card] name=Veilborn Ghoul -autograveyard=@movedTo(Swamp|myBattlefield):may moveTo(myhand) +autograveyard=@movedTo(Swamp|myBattlefield):may moveto(ownerHand) abilities=cantblock text=Veilborn Ghoul can't block. -- Whenever a Swamp enters the battlefield under your control, you may return Veilborn Ghoul from your graveyard to your hand. mana={4}{B} @@ -127961,7 +127961,7 @@ toughness=1 [card] name=Venerable Kumo abilities=reach -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=4]|mygraveyard) +auto=_DIES_may moveto(ownerHand) 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 @@ -128188,7 +128188,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(myhand) +autograveyard=@movedTo(*[multicolor]|mystack):may moveto(ownerHand) text={G}, Sacrifice Verdant Eidolon: Add three mana of any one color to your mana pool. -- Whenever you cast a multicolored spell, you may return Verdant Eidolon from your graveyard to your hand. mana={3}{G} type=Creature @@ -128389,7 +128389,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(myhand) 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(ownerHand) 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 @@ -128592,7 +128592,7 @@ toughness=3 [/card] [card] name=Vexing Scuttler -autostack=if casted(this) then may moveTo(myhand) target(instant,sorcery|mygraveyard) +autostack=if casted(this) then may moveto(ownerHand) 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) @@ -128960,14 +128960,14 @@ toughness=0 [/card] [card] name=Vigean Intuition -auto=choice name(Artifact) reveal:4 optionone name(Get Artifact) target(artifact|reveal) moveto(myhand) and!( all(artifact|reveal) moveto(myhand) )! 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(myhand) and!( all(creature|reveal) moveto(myhand) )! 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(myhand) and!( all(enchantment|reveal) moveto(myhand) )! 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(myhand) and!( all(instant|reveal) moveto(myhand) )! 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(myhand) and!( all(land|reveal) moveto(myhand) )! 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(myhand) and!( all(planeswalker|reveal) moveto(myhand) )! 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(myhand) and!( all(sorcery|reveal) moveto(myhand) )! 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(myhand) and!( all(tribal|reveal) moveto(myhand) )! 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(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 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 @@ -129262,7 +129262,7 @@ toughness=3 [card] name=Vine Kami abilities=menace -auto=_DIES_may moveTo(myhand) target(spirit[manacost<=6]|mygraveyard) +auto=_DIES_may moveto(ownerHand) target(spirit[manacost<=6]|mygraveyard) text=Vine Kami can't be blocked except by two or more creatures. -- Soulshift 6 (When this is put into a graveyard from the battlefield, you may return target Spirit card with mana value 6 or less from your graveyard to your hand.) mana={6}{G} type=Creature @@ -130999,7 +130999,7 @@ 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(myhand) target(ninja|myBattlefield) myTurnOnly +auto={1}{U}:moveto(ownerHand) 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 @@ -131682,8 +131682,8 @@ toughness=3 [/card] [card] name=Wanderer's Twig -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 text={1}, Sacrifice Wanderer's Twig: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library. mana={1} type=Artifact @@ -132027,7 +132027,7 @@ toughness=2 [/card] [card] name=Warden of the Eye -auto=moveTo(myhand) target(*[-creature;-land]|mygraveyard) +auto=moveto(ownerHand) target(*[-creature;-land]|mygraveyard) text=When Warden of the Eye enters the battlefield, return target noncreature, nonland card from your graveyard to your hand. mana={2}{U}{R}{W} type=Creature @@ -132362,11 +132362,11 @@ toughness=3 [/card] [card] name=Wash Out -auto=choice name(return all white permanents to owners' hand) moveTo(myhand) all(*[white]|mybattlefield) && moveTo(opponenthand) all(*[white]|opponentbattlefield) -auto=choice name(return all blue permanents to owners' hand) moveTo(myhand) all(*[blue]|mybattlefield) && moveTo(opponenthand) all(*[blue]|opponentbattlefield) -auto=choice name(return all black permanents to owners' hand) moveTo(myhand) all(*[black]|mybattlefield) && moveTo(opponenthand) all(*[black]|opponentbattlefield) -auto=choice name(return all red permanents to owners' hand) moveTo(myhand) all(*[red]|mybattlefield) && moveTo(opponenthand) all(*[red]|opponentbattlefield) -auto=choice name(return all green permanents to owners' hand) moveTo(myhand) all(*[green]|mybattlefield) && moveTo(opponenthand) all(*[green]|opponentbattlefield) +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) text=Return all permanents of the color of your choice to their owners' hands. mana={3}{U} type=Sorcery @@ -132847,8 +132847,8 @@ toughness=2 [/card] [card] name=Weathered Wayfarer -aicode=activate moveTo(myhand) 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(myhand))! afterrevealedend revealend restriction{control less lands} +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} text={W}, {T}: Search your library for a land card, reveal it, and put it into your hand. Then shuffle your library. Activate this ability only if an opponent controls more lands than you. mana={W} type=Creature @@ -133149,8 +133149,8 @@ toughness=2 [card] name=Welkin Hawk abilities=flying -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 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 your library. mana={1}{W} type=Creature @@ -133760,7 +133760,7 @@ toughness=2 [card] name=Whiteout auto=lord(creature) -flying -autograveyard={S(land[snow]|myBattlefield)}:moveTo(myhand) +autograveyard={S(land[snow]|myBattlefield)}:moveto(ownerHand) 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 @@ -134054,8 +134054,8 @@ toughness=3 [/card] [card] name=Wild Research -auto={1}{W}:moveTo(myHand) target(enchantment|myLibrary) && discard:1 -auto={1}{U}:moveTo(myHand) target(instant|myLibrary) && discard:1 +auto={1}{W}:moveto(ownerHand) target(enchantment|myLibrary) && discard:1 +auto={1}{U}:moveto(ownerHand) 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 your library. -- {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 your library. mana={2}{R} type=Enchantment @@ -134126,7 +134126,7 @@ toughness=3 [card] name=Wildest Dreams abilities=exiledeath -auto=this(variable{halfpaid} >0) moveto(myhand) notatarget(*|mygraveyard) +auto=this(variable{halfpaid} >0) moveto(ownerHand) notatarget(*|mygraveyard) text=Return X target cards from your graveyard to your hand. Exile Wildest Dreams. mana={X}{X}{G} type=Sorcery @@ -134144,8 +134144,8 @@ type=Artifact [card] name=Wild-Field Scarecrow abilities=defender -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 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 your library. mana={3} type=Artifact Creature @@ -134226,7 +134226,7 @@ toughness=3 [card] name=Wildwood Rebirth target=creature|mygraveyard -auto=moveTo(myhand) +auto=moveto(ownerHand) text=Return target creature card from your graveyard to your hand. mana={1}{G} type=Instant @@ -134887,8 +134887,8 @@ toughness=2 [/card] [card] name=Wirewood Guardian -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 text=Forestcycling {2} ({2}, Discard this card: Search your library for a Forest card, reveal it, and put it into your hand. Then shuffle your library.) mana={5}{G}{G} type=Creature @@ -134898,8 +134898,8 @@ toughness=6 [/card] [card] name=Wirewood Herald -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 text=When Wirewood Herald dies, you may search your library for an Elf card, reveal that card, put it into your hand, then shuffle your library. mana={1}{G} type=Creature @@ -135246,7 +135246,7 @@ toughness=3 [card] name=Woebearer abilities=fear -auto=@combatdamaged(player) from(this):may moveto(myhand) target(creature|myGraveyard) +auto=@combatdamaged(player) from(this):may moveto(ownerHand) 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 @@ -135769,7 +135769,7 @@ toughness=0 [/card] [card] name=Workshop Assistant -auto=_DIES_moveTo(myhand) target(other artifact|mygraveyard) +auto=_DIES_moveto(ownerHand) 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 @@ -135790,7 +135790,7 @@ type=Sorcery name=World Breaker abilities=reach autostack=if casted(this) then moveto(exile) target(artifact,enchantment,land) -autograveyard={2}{c}{s(land|myBattlefield)}:moveTo(myhand) all(this) +autograveyard={2}{c}{s(land|myBattlefield)}:moveto(ownerHand) 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 @@ -135830,8 +135830,8 @@ toughness=2 [/card] [card] name=Worldly Counsel -aicode=activate target(*[zpos<=pbasiclandtypes]|mylibrary) moveto(myhand) -auto=name(Look) reveal:pbasiclandtypes optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo target(<10>*|reveal) bottomoflibrary optiontwoend revealend +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 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 @@ -135975,7 +135975,7 @@ type=Enchantment [card] name=Wort, Boggart Auntie abilities=fear -auto=@each my upkeep:may moveto(myhand) target(goblin|mygraveyard) +auto=@each my upkeep:may moveto(ownerHand) 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 @@ -136545,8 +136545,8 @@ toughness=1 [card] name=Yavimaya Elder auto={2}{S}:draw:1 -aicode=activate moveTo(myHand) 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(myhand))! afterrevealedend revealend +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 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 @@ -137323,7 +137323,7 @@ toughness=2 [/card] [card] name=Zodiac Dragon -auto=@movedTo(mygraveyard) from(this|battlefield):may moveTo(myhand) notatarget(this|mygraveyard) +auto=@movedTo(mygraveyard) from(this|battlefield):may moveto(ownerHand) 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 @@ -137480,8 +137480,8 @@ toughness=3 [card] name=Zombie Brute abilities=trample -aicode=activate target(*[zombie]|myhand) name(revealed card) moveto(myhand) 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(myhand) optiontwoend revealend +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 text=Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Zombie card you reveal in your hand.) -- Trample mana={6}{B} type=Creature