diff --git a/projects/mtg/bin/Res/sets/primitives/_macros.txt b/projects/mtg/bin/Res/sets/primitives/_macros.txt index 3b1f932c9..3403fd280 100644 --- a/projects/mtg/bin/Res/sets/primitives/_macros.txt +++ b/projects/mtg/bin/Res/sets/primitives/_macros.txt @@ -175,6 +175,12 @@ $AUTO_DEFINE _CLASH_ Put here a code if compare the casting cost based on Errati # Renown #AUTO_DEFINE _RENOWN_($c) this(cantargetcard(*[-renown]) transforms((,newability[@combatdamaged(player) from(this):counter(1/1.$c) && becomes(renown) forever])) +# Exile card. Return it to the battlefield under its owner's control at the beginning of the next end step. +#AUTO_DEFINE _BLINK_UEOT_ name(Blink ueot) all(this) transforms((,newability[moveto(exile)],newability[phaseactionmulti[endofturn once] moveto(ownerbattlefield)])) + +# Connives. (Draw a card, then discard a card. If you discarded a nonland card, put a +1/+1 counter on this creature.) +#AUTO_DEFINE _CONNIVES_ draw:1 && transforms((,newability[if type(*[-land]|myhand)~morethan~0 then choice name(Discard a nonland) name(Discard a nonland) target(*[-land]|myhand) reject && counter(1/1) all(this)],newability[if type(land|myhand)~morethan~0 then choice name(Discard a land) name(Discard a land) target(land|myhand) reject])) oneshot + # Angel Token #AUTO_DEFINE _ANGELTOKEN_ create(Angel:Creature Angel:4/4:white:flying) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 88c9a60f4..7f39d888a 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -1307,7 +1307,7 @@ type=Legendary Artifact [card] name=Alharu, Solemn Ritualist abilities=partner -auto=target(creature) counter(1/1) +auto=target(other creature) counter(1/1) auto=@movedto(creature[-token;counter{1/1}]|mygraveyard) from(mybattlefield):_SPIRITTOKEN_ text=When Alharu, Solemn Ritualist enters the battlefield, put a +1/+1 counter on each of up to two other target creatures. -- Whenever a nontoken creature you control with a +1/+1 counter on it dies, create a 1/1 white Spirit creature token with flying. -- Partner (You can have two commanders if both have partner.) mana={4}{W} @@ -2563,7 +2563,7 @@ name=Anticognition target=*[creature;planeswalker]|stack aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever -auto=if type(*|opponentGraveyard)~morethan~7 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if type(*|opponentGraveyard)~morethan~7 then _SCRY_(2) text=Counter target creature or planeswalker spell unless its controller pays {2}. If an opponent has eight or more cards in their graveyard, instead counter that spell, then scry 2. mana={1}{U} type=Instant @@ -3885,7 +3885,7 @@ type=Instant name=Artificer's Assistant abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=_CASTHISTORIC_scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_CASTHISTORIC__SCRY_(1) text=Flying -- Whenever you cast a historic spell, scry 1. (Artifacts, legendaries, and Sagas are historic. To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) mana={U} type=Creature @@ -6032,7 +6032,7 @@ aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,n auto=@each my firstmain:counter(0/0,1,Lore) auto=all(creature[-giant]|battlefield) damage:3 auto=all(planeswalker|battlefield) damage:3 -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) _SCRY_(3) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) emblem transforms((,newability[@movedTo(*[manacost>=5]|mystack):name(Draw and discard) draw:2 && transforms((,newability[target(*|myhand) reject])) forever])) 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 - Battle of Frost and Fire deals 4 damage to each non-Giant creature and each planeswalker. -- II - Scry 3. -- III - Whenever you cast a spell with mana value 5 or greater this turn, draw two cards, then discard a card. @@ -6923,7 +6923,7 @@ abilities=defender restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) auto=@sacrificed(this):name(Return transformed) name(Return transformed) transforms((,newability[@each endofturn:name(Return transformed) flip(backside) forcetype(Creature Serpent)])) ueot text=Defender -- When Biolume Egg enters the battlefield, scry 2. -- When you sacrifice Biolume Egg, return it to the battlefield transformed under its owner's control at the beginning of the next end step. // Biolume Serpent mana={2}{U} @@ -8597,7 +8597,7 @@ type=Sorcery [card] name=Boarded Window auto=lord(creature[attacking]|opponentbattlefield) -1/0 -auto=@each my endofturn restriction{compare(pdcount)~morethan~3}:name(Exile) moveto(exile) +auto=@each endofturn restriction{compare(pdcount)~morethan~3}:name(Exile) moveto(exile) text=Creatures attacking you get -1/-0. -- At the beginning of each end step, if you were dealt 4 or more damage this turn, exile Boarded Window. mana={3} type=Artifact @@ -9082,7 +9082,7 @@ aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,n auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantattack ueot auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantpwattack ueot auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantblock ueot -auto={1}{B}{S(other creature|mybattlefield)}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend && life:-1 opponent && life:1 controller +auto={1}{B}{S(other creature|mybattlefield)}:_SCRY_(1) && life:-1 opponent && life:1 controller text=Menace, indestructible -- Bontu the Glorified can't attack or block unless a creature died under your control this turn. -- {1}{B}, Sacrifice another creature: Scry 1. Each opponent loses 1 life and you gain 1 life. mana={2}{B} type=Legendary Creature @@ -10968,7 +10968,7 @@ name=Calculated Dismissal target=*|stack aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot -auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then _SCRY_(2) text=Counter target spell unless its controller pays {3}. -- Spell mastery - If there are two or more instant and/or sorcery cards in your graveyard, scry 2. (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={2}{U} type=Instant @@ -11625,7 +11625,7 @@ name=Cartouche of Strength target=creature|myBattlefield auto=1/1 auto=trample -auto=may all(mytgt) transforms((,newability[target(creature) dynamicability])) ueot +auto=transforms((,newability[may dynamicability target(creature|opponentbattlefield)])) text=Enchant creature you control -- When Cartouche of Strength enters the battlefield, you may have enchanted creature fight target creature an opponent controls. (Each deals damage equal to its power to the other.) -- Enchanted creature gets +1/+1 and has trample. mana={2}{G} type=Enchantment @@ -11759,7 +11759,7 @@ name=Castle Vantress aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto={T}:add{U} auto=aslongas(land[island]|myBattlefield) tap(noevent) <1 oneshot -auto={2}{U}{U}{T}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{U}{U}{T}:_SCRY_(2) text=Castle Vantress enters the battlefield tapped unless you control an Island. -- {T}: Add {U}. -- {2}{U}{U}, {T}: Scry 2. type=Land [/card] @@ -12037,7 +12037,7 @@ name=Cavalier of Gales abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=draw:3 controller && transforms((,newability[target(<2>*|myhand) moveto(mylibrary)])) oneshot -auto=_DIES_all(trigger[to]) moveTo(mylibrary) and!( transforms((,newability[scry:2 scrycore delayed dontshow donothing scrycoreend scryend],newability[shuffle])) oneshot )! +auto=_DIES_all(trigger[to]) moveTo(mylibrary) and!( transforms((,newability[_SCRY_(2)],newability[shuffle])) oneshot )! text=Flying -- When Cavalier of Gales enters the battlefield, draw three cards, then put two cards from your hand on top of your library in any order. -- When Cavalier of Gales dies, shuffle it into its owner's library, then scry 2. mana={2}{U}{U}{U} type=Creature @@ -12266,7 +12266,7 @@ toughness=2 [card] name=Cement Shoes auto=teach(creature) 3/3 -auto=@each my end:tap +auto=@each my end:tap(mytgt) auto=teach(creature) doesnotuntap auto={2}:equip text=Equipped creature gets +3/+3 and has "At the beginning of your end step, tap this creature." -- Equipped creature doesn't untap during its controller's untap step. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.) @@ -12488,7 +12488,7 @@ name=Chain to Memory target=creature aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=-4/-0 -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Target creature gets -4/-0 until end of turn. Scry 2. mana={U} type=Instant @@ -13241,7 +13241,7 @@ toughness=1 [card] name=Charming Prince aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=choice name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=choice name(Scry 2) _SCRY_(2) auto=choice name(Gain 3 life) life:3 auto=choice name(Exile your creature) (blink)ueot target(other *[creature]|mybattlefield) text=When Charming Prince enters the battlefield, Choose one -- Scry 2. -- You gain 3 life. -- Exile another target creature you own. Return it to the battlefield under your control at the beginning of the next end step. @@ -14579,7 +14579,7 @@ toughness=4 name=Cloudreader Sphinx abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Flying -- When Cloudreader Sphinx enters the battlefield, 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={4}{U} type=Creature @@ -17084,9 +17084,9 @@ type=Land [card] name=Cryptic Annelid aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) +auto=_SCRY_(3) +auto=_SCRY_(2) text=When Cryptic Annelid enters the battlefield, scry 1, then scry 2, then scry 3. (To scry X, look at the top X 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}{U} type=Creature @@ -17348,7 +17348,7 @@ type=Instant name=Curator of Mysteries abilities=flying,cycling aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedto(*|mygraveyard) from(myhand):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedto(*|mygraveyard) from(myhand):_SCRY_(1) autohand=__CYCLING__({U}) text=Flying -- Whenever you cycle or discard another card, scry 1. -- Cycling {U} ({U}, Discard this card: Draw a card.) mana={2}{U}{U} @@ -20326,7 +20326,7 @@ type=Sorcery name=Devout Decree target=*[creature;planeswalker;black;red] auto=moveTo(exile) -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Exile target creature or planeswalker that's black or red. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{W} type=Sorcery @@ -21223,26 +21223,26 @@ name=Djinni Windseer abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=transforms((,newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot -auto=@dierolled(this) result(1) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(2) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(3) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(4) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(5) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(6) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(7) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(8) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(9) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(10) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(11) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(12) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(13) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(14) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(15) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(16) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(17) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(18) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(19) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto=@dierolled(this) result(20) from(controller):name(Scry 3) scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=@dierolled(this) result(1) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(2) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(3) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(4) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(5) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(6) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(7) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(8) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(9) from(controller):name(Scry 1) _SCRY_(1) +auto=@dierolled(this) result(10) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(11) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(12) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(13) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(14) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(15) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(16) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(17) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(18) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(19) from(controller):name(Scry 2) _SCRY_(2) +auto=@dierolled(this) result(20) from(controller):name(Scry 3) _SCRY_(3) text=Flying -- When Djinni Windseeker enters the battlefield, roll a d20. -- 1-9 | Scry 1. -- 10-19 | Scry 2. -- 20 | Scry 3. mana={3}{U} type=Creature @@ -23070,11 +23070,11 @@ restriction=never aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) and!( transforms((,newability[zerocast],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) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ 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) _SCRY_(1)!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~3}:ability$!name(Goblin Bazaar or Twisted Caverns) all(Dungeon of the Mad Mage|mycommandzone) transforms((,newability[choice name(Goblin Bazaar) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend],newability[if type(creature|battlefield)~morethan~0 then choice name(Twisted Caverns) name(Twisted Caverns) target(creature|battlefield) transforms((,newability[cantattack],newability[cantpwattack])) uynt])) oneshot!$ controller -autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Lost Level) name(Lost Level) scry:2 scrycore delayed dontshow donothing scrycoreend scryend!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Lost Level) name(Lost Level) _SCRY_(2)!$ controller 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 )!])) 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) scry:3 scrycore delayed dontshow donothing scrycoreend scryend!$ 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) _SCRY_(3)!$ 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(myhand) and!( transforms((,newability[zerocast])) forever )! optiononeend optiontwo all(*|reveal) moveto(myhand) 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. @@ -23358,8 +23358,8 @@ toughness=2 [card] name=Eager Construct aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=may name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=ability$!name(Scry 1) may name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ opponent +auto=may name(Scry 1) _SCRY_(1) +auto=ability$!name(Scry 1) may name(Scry 1) _SCRY_(1)!$ opponent text=When Eager Construct enters the battlefield, each player may scry 1. mana={2} type=Artifact Creature @@ -26163,7 +26163,7 @@ name=Expose to Daylight target=artifact,enchantment auto=destroy aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Destroy target artifact or enchantment. Scry 1. mana={2}{W} type=Instant @@ -26310,7 +26310,7 @@ toughness=1 [/card] [card] name=Eye of Malcator -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) auto=@movedTo(other artifact|myBattlefield):becomes(Artifact Creature Phyrexian Eye,4/4) ueot text=When Eye of Malcator enters the battlefield, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom and the rest on top in any order.) -- Whenever another artifact enters the battlefield under your control, Eye of Malcator becomes a 4/4 Phyrexian Eye artifact creature until end of turn. mana={2}{U} @@ -26350,7 +26350,7 @@ toughness=2 name=Eyes Everywhere aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto={5}{U}:moveto(mybattlefield) target(*[-land]|opponentbattlefield) and!( moveto(opponentbattlefield) all(this) )! asSorcery -auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep:_SCRY_(1) text=At the beginning of your upkeep, scry 1. -- {5}{U}: Exchange control of Eyes Everywhere and target nonland permanent. Activate this ability only any time you could cast a sorcery. mana={2}{U} type=Enchantment @@ -26407,7 +26407,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 target(<1>*|reveal) moveto(myGraveyard) optiontwoend revealend +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 text={T}: Draw a card and reveal it. If it isn't a land card, discard it. mana={1}{G} type=Creature @@ -26494,7 +26494,7 @@ type=Sorcery name=Fading Hope target=creature aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=moveto(ownerhand) and!( if cantargetcard(*[manacost<=3]|*) then scry:1 scrycore delayed dontshow donothing scrycoreend scryend )! +auto=moveto(ownerhand) and!( if cantargetcard(*[manacost<=3]|*) then _SCRY_(1) )! text=Return target creature to its owner's hand. If its mana value was 3 or less, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={U} type=Instant @@ -26585,7 +26585,7 @@ toughness=1 name=Faerie Seer abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Flying -- When Faerie Seer enters the battlefield, scry 2. mana={U} type=Creature @@ -27117,7 +27117,7 @@ name=Fateful End target=player,creature,plansewalker auto=damage:3 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Fateful End deals 3 damage to any target. Scry 1. mana={2}{R} type=Instant @@ -27499,7 +27499,7 @@ toughness=2 [card] name=Fell Flagship auto=lord(pirate|mybattlefield) 1/0 -auto=@combatdamaged(player) from(this):ability$!discard(*|myhand)!$ opponent +auto=@combatdamagefoeof(player) from(this):ability$!name(discard) target(*|myhand) reject!$ opponent 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} auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 3 [3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~2} @@ -29018,7 +29018,7 @@ type=Sorcery [card] name=Fleshtaker aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@sacrificed(other creature|myBattlefield):name(Gain life and scry) life:1 controller && scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@sacrificed(other creature|myBattlefield):name(Gain life and scry) life:1 controller && _SCRY_(1) auto={1}{S(other creature|myBattlefield)}:name(Gets 2/2) 2/2 ueot text=Whenever you sacrifice another creature, you gain 1 life and scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {1}, Sacrifice another creature: Fleshtaker gets +2/+2 until end of turn. type=Creature @@ -29660,7 +29660,7 @@ type=Instant name=Forsaken Crossroads aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=tap(noevent) -auto=chooseacolor transforms((,newability[{T}:add{chosencolor}],newability[if compare(startingplayer)~morethan~0 then may name(Untap card) name(Untap card) untap],newability[name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever chooseend +auto=chooseacolor transforms((,newability[{T}:add{chosencolor}],newability[if compare(startingplayer)~morethan~0 then may name(Untap card) name(Untap card) untap],newability[name(Scry 1) _SCRY_(1)])) forever chooseend text=Forsaken Crossroads enters the battlefield tapped. -- As Forsaken Crossroads enters the battlefield, choose a color. -- When Forsaken Crossroads enters the battlefield, scry 1. If you weren't the starting player, you may untap Forsaken Crossroads instead. -- {T}: Add one mana of the chosen color. type=Land [/card] @@ -31462,7 +31462,7 @@ name=Get the Point target=creature auto=destroy aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Destroy target creature. Scry 1. mana={3}{B}{R} type=Instant @@ -32577,7 +32577,7 @@ toughness=2 [card] name=Glistener Seer auto=counter(0/0,3,oil) -auto={T}{C(0/0,-1,oil)}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={T}{C(0/0,-1,oil)}:_SCRY_(1) text=Glistener Seer enters the battlefield with three oil counters on it. -- {T}, Remove an oil counter from Glistener Seer: Scry 1. (Look at the top card of your library. You may put that card on the bottom.) mana={U} type=Creature @@ -34366,11 +34366,11 @@ toughness=4 name=Graven Lore restriction=compare(mysnowpoolcount)~equalto~0 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -autohand={2}{i}{U}{U} restriction{compare(mysnowpoolcount)~equalto~1}:name(Cast with 1 snow mana) name(Cast with 1 snow mana) scry:1 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative) -autohand={1}{i}{i}{U}{U} restriction{compare(mysnowpoolcount)~equalto~2}:name(Cast with 2 snow mana) name(Cast with 2 snow mana) scry:2 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative) -autohand={i}{i}{i}{U}{U} restriction{compare(mysnowpoolcount)~morethan~2}:name(Cast with 3 snow mana) name(Cast with 3 snow mana) scry:3 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative) -autohand={i}{i}{i}{i}{U} restriction{compare(mysnowpoolcount)~morethan~3,compare(mysnowbluepoolcount)~morethan~0}:name(Cast with 4 snow mana) name(Cast with 4 snow mana) scry:4 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative) -autohand={i}{i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~4,compare(mysnowbluepoolcount)~morethan~1}:name(Cast with 5 snow mana) name(Cast with 5 snow mana) scry:5 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative) +autohand={2}{i}{U}{U} restriction{compare(mysnowpoolcount)~equalto~1}:name(Cast with 1 snow mana) name(Cast with 1 snow mana) _SCRY_(1) && activate castcard(alternative) +autohand={1}{i}{i}{U}{U} restriction{compare(mysnowpoolcount)~equalto~2}:name(Cast with 2 snow mana) name(Cast with 2 snow mana) _SCRY_(2) && activate castcard(alternative) +autohand={i}{i}{i}{U}{U} restriction{compare(mysnowpoolcount)~morethan~2}:name(Cast with 3 snow mana) name(Cast with 3 snow mana) _SCRY_(3) && activate castcard(alternative) +autohand={i}{i}{i}{i}{U} restriction{compare(mysnowpoolcount)~morethan~3,compare(mysnowbluepoolcount)~morethan~0}:name(Cast with 4 snow mana) name(Cast with 4 snow mana) _SCRY_(4) && activate castcard(alternative) +autohand={i}{i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~4,compare(mysnowbluepoolcount)~morethan~1}:name(Cast with 5 snow mana) name(Cast with 5 snow mana) _SCRY_(5) && activate castcard(alternative) auto=draw:3 controller text=Scry X, where is the amount of {S}i} spent to cast this spell, then draw three cards. ({S}i} is mana from a snow source.) mana={3}{U}{U} @@ -35700,8 +35700,8 @@ toughness=3 name=Hakka, Whispering Raven abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@combatdamagefoeof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( scry:2 scrycore delayed dontshow donothing scrycoreend scryend )! -auto=@combatdamageof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( scry:2 scrycore delayed dontshow donothing scrycoreend scryend )! +auto=@combatdamagefoeof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( _SCRY_(2) )! +auto=@combatdamageof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( _SCRY_(2) )! text=Flying -- Whenever Hakka, Whispering Raven deals combat damage to a player, return it to its owner's hand, then scry 2. // {3}{U}{U} Alrund, God of the Cosmos mana={1}{U} type=Legendary Creature @@ -39842,7 +39842,7 @@ toughness=1 [card] name=Imperial Oath auto=create(Samurai:creature Samurai:2/2:white:vigilance)*3 -auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(3) text=Create three 2/2 white Samurai creature tokens with vigilance. Scry 3. mana={5}{W} type=Sorcery @@ -40020,8 +40020,8 @@ type=Instant [card] name=In Search of Greatness aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@each my upkeep restriction{type(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand)~morethan~0}:ability$!name(Choose one) choice name(Cast permanent) target(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand) activate castcard(normal) _ choice name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ controller -auto=@each my upkeep restriction{type(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand)~equalto~0}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep restriction{type(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand)~morethan~0}:ability$!name(Choose one) choice name(Cast permanent) target(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand) activate castcard(normal) _ choice name(Scry 1) _SCRY_(1)!$ controller +auto=@each my upkeep restriction{type(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand)~equalto~0}:name(Scry 1) _SCRY_(1) text=At the beginning of your upkeep, you may cast a permanent spell from your hand with mana value equal to 1 plus the highest mana value among other permanents you control without paying its mana cost. If you don't, scry 1. mana={G}{G} type=Enchantment @@ -40565,7 +40565,7 @@ type=Instant [card] name=Inga Rune-Eyes aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(3) auto=@movedto(creature|graveyard) from(battlefield):counter(0/0,1,IngaEffect) auto=_DIES_this(counter{0/0.1.IngaEffect}>=3) draw:3 controller auto=@each endofturn:this(counter{0/0.1.IngaEffect}>=1) removeallcounters(0/0,1,IngaEffect) @@ -40603,7 +40603,7 @@ other={2}{U} name(Cast without X) aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=if paid(alternative) then draw:3 controller auto=if paid(alternative) then token(Treasure Sur)*2 opponent -auto=if paid(alternative) then ability$!name(Scry 2) name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend!$ opponent +auto=if paid(alternative) then ability$!name(Scry 2) name(Scry 2) _SCRY_(2)!$ opponent auto=ifnot paid(alternative) then draw:x controller text=You may pay {2}{U} rather than pay this spell's mana cost. -- If the {2}{U} cost was paid, you draw three cards, then an opponent creates two Treasure tokens and they scry 2. If that cost wasn't paid, you draw X cards. mana={X}{2}{U} @@ -40741,7 +40741,7 @@ name=Inordinate Rage target=creature auto=3/2 ueot aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Target creature gets +3/+2 until end of turn. Scry 1. mana={1}{R} type=Instant @@ -40749,7 +40749,7 @@ type=Instant [card] name=Inquisitive Puppet aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) auto={E}:create(Human:creature Human:1/1:white) text=When Inquisitive Puppet enters the battlefield, scry 1. -- Exile Inquisitive Puppet: Create a 1/1 white Human creature token. mana={1} @@ -40913,7 +40913,7 @@ type=Sorcery name=Inspire Awe auto=preventallcombatdamage from(creature[-enchantment;-enchanted]|battlefield) ueot aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Prevent all combat damage that would be dealt this turn except by enchanted creatures and enchantment creatures. Scry 2. mana={3}{G} type=Instant @@ -41025,6 +41025,7 @@ toughness=2 [/card] [card] name=Instill Furor +target=creature auto=teach(creature) transforms((,newability[@each my endofturn:while(restriction{didntattack}) sacrifice])) forever text=Enchant creature -- Enchanted creature has "At the beginning of your end step, sacrifice this creature unless it attacked this turn." mana={1}{R} @@ -41277,7 +41278,7 @@ name=Invasion of the Giants auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) transforms((,newability[draw:1 controller],newability[if type(giant|myhand)~morethan~0 then damage:2 target(player^planeswalker)])) oneshot auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Next giant costs 2 less) target(giant|mycastingzone) transforms((,newability[changecost(colorless:-2)])) ueot auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) @@ -41784,7 +41785,7 @@ name=Jace's Defeat target=*[blue]|stack auto=fizzle aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if casted(this) then if type(jace|opponentstack)~morethan~0 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if casted(this) then if type(jace|opponentstack)~morethan~0 then _SCRY_(2) text=Counter target blue spell. If it was a Jace planeswalker spell, scry 2. mana={1}{U} type=Instant @@ -42218,7 +42219,7 @@ toughness=4 [/card] [card] name=Jenson Carthalion, Druid Exile -auto=@movedTo(*[multicolor]|mystack):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(*[multicolor]|mystack):_SCRY_(1) auto=@movedTo(*[white&blue&black&red&green]|mystack):create(angel:creature angel:4/4:white:flying,vigilance) auto={5}{T}:Add{W}{U}{B}{R}{G} text=Whenever you cast a multicolored spell, scry 1. If that spell was all colors, create a 4/4 white Angel creature token with flying and vigilance. -- {5}, {T}: Add {W}{U}{B}{R}{G}. @@ -45187,7 +45188,7 @@ toughness=7 [/card] [card] name=Krydle of Baldur's Gate -auto=@combatdamaged(player) from(this):name(Gain life and scry) life:-1 opponent && deplete:1 opponent && life:1 controller && scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@combatdamaged(player) from(this):name(Gain life and scry) life:-1 opponent && deplete:1 opponent && life:1 controller && _SCRY_(1) auto=@each my blockers:name(Pay 2 for unblockable) pay({2}) name(Pay 2 for unblockable) target(creature|myBattlefield) transforms((,newability[unblockable])) ueot text=Whenever Krydle of Baldur's Gate deals combat damage to a player, that player loses 1 life and mills a card, then you gain 1 life and scry 1. -- Whenever you attack, you may pay {2}. If you do, target creature can't be blocked this turn. mana={U}{B} @@ -47134,7 +47135,7 @@ toughness=3 name=Littjara Kinseekers abilities=changeling aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if compare(sametypecreatures)~morethan~2 then counter(1/1) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=if compare(sametypecreatures)~morethan~2 then counter(1/1) && _SCRY_(1) text=Changeling (This card is every creature type.) -- When Littjara Kinseekers enters the battlefield, if you control three or more creatures that share a creature type, put a +1/+1 counter on Littjara Kinseekers, then scry 1. mana={3}{U} type=Creature @@ -47706,7 +47707,7 @@ toughness=2 name=Lorehold Campus aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=tap(noevent) -auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={4}{T}:name(Scry 1) _SCRY_(1) auto={T}:add{R} auto={T}:add{W} text=Lorehold Campus enters the battlefield tapped. -- {T}: Add {R} or {W}. -- {4}, {T}: Scry 1. @@ -47777,7 +47778,7 @@ type=Sorcery [card] name=Lost Legion aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=When Lost Legion enters the battlefield, 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={1}{B}{B} type=Creature @@ -47789,7 +47790,7 @@ toughness=3 name=Lost Mine of Phandelver restriction=never autocommandzone=transforms((,newability[shroud],newability[indestructible])) forever -autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Cave Entrance) name(Cave Entrance) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Cave Entrance) name(Cave Entrance) _SCRY_(1)!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:ability$!name(Goblin Lair or Mine Tunnels) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Goblin Lair)*type:*[twodngtrg]:mybattlefieldplus1plusend _GOBLINTOKEN_ and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.GoblinLiar) notrg )!],newability[choice name(Mine Tunnels) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.MineTunnels) notrg )!])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntgoblinliar)~morethan~0}:ability$!name(Storeroom or Dark Pool) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[if type(creature|battlefield)~morethan~0 then choice name(Storeroom) name(Storeroom) target(creature|battlefield) counter(1/1)],newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend opponent])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntminetunnels)~morethan~0}:ability$!name(Dark Pool or Fungi Cavern) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend controller opponent],newability[if type(creature|battlefield)~morethan~0 then choice name(Fungi Cavern) name(Fungi Cavern) target(creature|battlefield) transforms((,newability[-4/0])) uynt])) oneshot!$ controller @@ -49424,8 +49425,8 @@ toughness=5 [card] name=Marit Lage's Slumber aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto=@movedTo(*[snow]|mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) +auto=@movedTo(*[snow]|mybattlefield):_SCRY_(1) auto=@each my upkeep restriction{type(*[snow]|myBattlefield)~morethan~9}:may sacrifice all(this) && token(Avatar,creature Avatar,20/20,black,flying,indestructible) controller text=Whenever Marit Lage's Slumber or another snow permanent enters the battlefield under your control, scry 1. -- At the beginning of your upkeep, if you control ten or more snow permanents, sacrifice Marit Lage's Slumber. If you do, create Marit Lage, a legendary 20/20 black Avatar creature token with flying and indestructible. mana={1}{U} @@ -49497,9 +49498,9 @@ toughness=5 [card] name=Martial Impetus target=creature +auto=teach(creature) 1/1 auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack])) -auto=1/1 -auto=_ATTACKING_all(creature[attacking]|myBattlefield) 1/1 ueot +auto=teach(creature) if cantargetcard(*|myBattlefield) then transforms((,newability[_ATTACKING_all(other creature[attacking]|myBattlefield) 1/1])) text=Enchant creature -- Enchanted creature gets +1/+1 and is goaded. (It attacks each combat if able and attacks a player other than you if able.) -- Whenever enchanted creature attacks, each other creature that's attacking one of your opponents gets +1/+1 until end of turn. mana={2}{W} type=Enchantment @@ -49997,7 +49998,7 @@ type=Land [card] name=Mazemind Tome aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={T}{C(0/0,1,Page)}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={T}{C(0/0,1,Page)}:name(Scry 1) _SCRY_(1) auto={2}{T}{C(0/0,1,Page)}:name(Draw 1) draw:1 controller auto=this(counter{0/0.1.Page}>=4) transforms((,newability[moveTo(myExile) all(this)],newability[life:4 controller])) text={T}, Put a page counter on Mazemind Tome: Scry 1. -- {2], {T}, Put a page counter on Mazemind Tome: Draw a card. -- When there are four or more page counters on Mazemind Tome, exile it. If you do, you gain 4 life. @@ -50041,7 +50042,7 @@ name=Medomai's Prophecy auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) aicode=activate donothing -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) chooseaname donothing chooseend auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) transforms((,newability[@movedto(*[lastnamechosen]|mystack) once:draw:1 controller])) ueot auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.4.Lore}) name(Look your top card) reveal:1 optionone name(Look your top card) target(*|reveal) doNothing optiononeend optiontwo all(*|reveal) moveto(mylibrary) optiontwoend revealend @@ -50141,7 +50142,7 @@ name=Memory Drain target=*|stack auto=fizzle aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Counter target spell. Scry 2. mana={2}{U}{U} type=Instant @@ -50341,7 +50342,7 @@ toughness=1 name=Merfolk Falconer abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(*[kicked>=1]|myStack):scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(*[kicked>=1]|myStack):_SCRY_(2) text=Flying -- Whenever you cast a kicked spell, scry 2. mana={3}{U}{U} type=Creature @@ -50676,7 +50677,7 @@ toughness=2 [/card] [card] name=Midnight Clock -auto={T}:add{1} +auto={T}:add{U} auto={2}{U}:counter(0/0,1,hour) auto=@each upkeep:counter(0/0,1,hour) auto={C(0/0,12,hour)}{E}:moveto(myLibrary) all(*|myGraveyard) && moveto(myLibrary) all(*|myHand) && shuffle && draw:7 controller @@ -51344,7 +51345,7 @@ toughness=1 name=Mischievous Chimera abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:damage:1 opponent && scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:damage:1 opponent && _SCRY_(1) text=Flying -- Whenever you cast your first spell during each opponent's turn, Mischievous Chimera deals 1 damage to each opponent. Scry 1. mana={U}{R} type=Enchantment Creature @@ -52804,7 +52805,7 @@ toughness=1 [/card] [card] name=Myr Custodian -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend && ability$!name(scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend !$ opponent +auto=_SCRY_(2) && ability$!name(scry 1) _SCRY_(1) !$ opponent text=When Myr Custodian enters the battlefield, scry 2. Then each opponent may scry 1. (To scry X, that player looks at the top X cards of their library, then put any number of them on the bottom and the rest on top in any order.) mana={3} type=Artifact Creature @@ -52955,7 +52956,7 @@ toughness=6 [card] name=Mystic Redaction aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep:_SCRY_(1) auto=@discarded(*|myHand):deplete:2 opponent text=At the beginning of your upkeep, scry 1. -- Whenever you discard a card, each opponent mills two cards. (They put the top two cards of their library into their graveyard.) mana={2}{U} @@ -54099,7 +54100,7 @@ toughness=3 name=Nezahal, Primal Tide abilities=nofizzle,nomaxhand auto=@movedTo(*[-creature]|opponentstack):draw:1 -auto={D(*|myhand)}{D(*|myhand)}{D(*|myhand)}:(blink)ueot +auto={D(*|myhand)}{D(*|myhand)}{D(*|myhand)}:_BLINK_UEOT_ text=Nezahal, Primal Tide can't be countered. -- You have no maximum hand size. -- Whenever an opponent casts a noncreature spell, draw a card. -- Discard three cards: Exile Nezahal. Return it to the battlefield tapped under its owner's control at the beginning of the next end step. mana={5}{U}{U} type=Legendary Creature @@ -54727,7 +54728,7 @@ name=No Escape target=*[creature;planeswalker]|stack auto=fizzleto(exile) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Counter target creature or planeswalker spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. -- Scry 1. mana={2}{U} type=Instant @@ -54807,7 +54808,7 @@ toughness=4 [card] name=Norn's Wellspring auto=@movedTo(creature|graveyard) from(mybattlefield):counter(0/0,1,oil) -auto=@movedTo(creature|graveyard) from(mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(creature|graveyard) from(mybattlefield):_SCRY_(1) auto={1}{T}{C(0/0,-2,oil)}:draw:1 text=Whenever a creature you control dies, scry 1 and put an oil counter on Norn's Wellspring. -- {1}, {T}, Remove two oil counters from Norn's Wellspring: Draw a card. mana={1}{W} @@ -55515,7 +55516,7 @@ toughness=8 [card] name=Octoprophet aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=When Octoprophet enters the battlefield, 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}{U} type=Creature @@ -55616,7 +55617,7 @@ type=Enchantment name=Oggyar Battle-Seer abilities=haste aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={T}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={T}:_SCRY_(1) text=Haste -- {T}: Scry 1. mana={3}{U}{R} type=Creature @@ -55953,7 +55954,7 @@ name=Omen of the Dead abilities=flash auto=moveto(myHand) 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}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{W}{S}:_SCRY_(2) 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. mana={B} type=Enchantment @@ -55963,7 +55964,7 @@ name=Omen of the Forge abilities=flash aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=damage:2 target(player,creature,planeswalker) -auto={2}{R}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{R}{S}:_SCRY_(2) text=Flash -- When Omen of the Forge enters the battlefield, it deals 2 damage to any target. -- {2}{R}, Sacrifice Omen of the Forge: Scry 2. mana={1}{R} type=Enchantment @@ -55973,7 +55974,7 @@ name=Omen of the Hunt abilities=flash aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=may name(Search a basic land) target(land[basic]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle])) oneshot )! -auto={2}{G}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{G}{S}:_SCRY_(2) text=Flash -- When Omen of the Hunt enters the battlefield, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. -- {2}{G}, Sacrifice Omen of the Hunt: Scry 2. mana={2}{G} type=Enchantment @@ -55983,7 +55984,7 @@ name=Omen of the Sea abilities=flash aicode=activate transforms((,newability[draw:1 controller])) oneshot auto=scry:2 scrycore delayed draw:1 controller scrycoreend scryend -auto={2}{U}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{U}{S}:_SCRY_(2) text=Flash -- When Omen of the Sea enters the battlefield, scry 2, then draw a card. -- {2}{U}, Sacrifice Omen of the Sea: Scry 2. mana={1}{U} type=Enchantment @@ -55994,7 +55995,7 @@ abilities=flash auto=token(Soldier,Creature Human Soldier,1/1,white)*2 auto=life:2 controller 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}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{W}{S}:_SCRY_(2) text=Flash -- When Omen of the Sun enters the battlefield, create two 1/1 white Human Soldier creature tokens and you gain 2 life. -- {2}{W}, Sacrifice Omen of the Sun: Scry 2. mana={2}{W} type=Enchantment @@ -57184,7 +57185,7 @@ type=Sorcery name=Overwhelmed Apprentice auto=deplete:2 opponent aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=When Overwhelmed Apprentice enters the battlefield, each opponent puts the top two cards of their library into their graveyard. Then you 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={U} type=Creature @@ -57307,7 +57308,7 @@ name=Pack's Betrayal target=creature aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=moveto(mybattlefield) and!( transforms((,newability[haste],newability[untap],newability[phaseaction[endofturn once sourceinplay] moveto(ownerbattlefield)])) ueot )! -auto=if type(*[wolf;werewolf]|mybattlefield)~morethan~0 then name(Scry 2) name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if type(*[wolf;werewolf]|mybattlefield)~morethan~0 then name(Scry 2) name(Scry 2) _SCRY_(2) text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If you control a Wolf or Werewolf, 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={2}{R} type=Sorcery @@ -57893,7 +57894,7 @@ auto=aslongas(*[iscommander&white]|myzones) {T}:name(Add white mana) name(Add wh auto=aslongas(*[iscommander&green]|myzones) {T}:name(Add green mana) name(Add green mana) transforms((,newability[add{G}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot auto=aslongas(*[iscommander&blue]|myzones) {T}:name(Add blue mana) name(Add blue mana) transforms((,newability[add{U}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot auto=aslongas(*[iscommander&black]|myzones) {T}:name(Add black mana) name(Add black mana) transforms((,newability[add{B}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot -auto=@movedto(creature|mybattlefield) restriction{compare(hascntpatheffect)~morethan~0}:name(Scry if share type) all(trigger[to]) name(Scry if share type) transforms((,newability[if type(*[iscommander&share!types!]|myzones)~morethan~0 then scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) oneshot +auto=@movedto(creature|mybattlefield) restriction{compare(hascntpatheffect)~morethan~0}:name(Scry if share type) all(trigger[to]) name(Scry if share type) transforms((,newability[if type(*[iscommander&share!types!]|myzones)~morethan~0 then _SCRY_(1)])) oneshot auto=@movedto(creature|mybattlefield) restriction{compare(hascntpatheffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.PathEffect) auto=@each endofturn restriction{compare(hascntpatheffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.PathEffect) text=Path of Ancestry enters the battlefield tapped. -- {T}: Add one mana of any color in your commander's color identity. When that mana is spent to cast a creature spell that shares a creature type with your commander, scry 1. @@ -57943,7 +57944,7 @@ type=Sorcery name=Path to the Festival flashback={4}{G} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Search basic land) target(land[basic]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle],newability[if compare(pbasiclandtypes)~morethan~2 then scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) oneshot +auto=name(Search basic land) target(land[basic]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle],newability[if compare(pbasiclandtypes)~morethan~2 then _SCRY_(1)])) oneshot text=Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle. Then if there are three or more basic land types among lands you control, scry 1. (Lok at the top card of your library. You may put that card on the bottom of your library.) -- Flashback {4}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{G} type=Sorcery @@ -58198,9 +58199,9 @@ 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) scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) 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) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend )! -auto=choice name(Don't search any land) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +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) _SCRY_(1)])) 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) && _SCRY_(1) )! +auto=choice name(Don't search any land) _SCRY_(1) 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.) mana={3}{G} type=Sorcery @@ -58219,7 +58220,7 @@ toughness=7 [card] name=Perilous Voyage aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if type(*[-land;manacost<=2]|opponentBattlefield)~morethan~0 then choice name(Return permanent with manacost 2 or less) name(Return permanent with manacost 2 or less) target(*[-land;manacost<=2]|opponentBattlefield) moveto(ownerhand) && scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if type(*[-land;manacost<=2]|opponentBattlefield)~morethan~0 then choice name(Return permanent with manacost 2 or less) name(Return permanent with manacost 2 or less) target(*[-land;manacost<=2]|opponentBattlefield) moveto(ownerhand) && _SCRY_(2) auto=choice name(Return permanent with manacost 3 or more) target(*[-land;manacost>=3]|opponentBattlefield) moveto(ownerhand) text=Return target nonland permanent you don't control to its owner's hand. If its mana value was 2 or less, scry 2. mana={1}{U} @@ -58805,7 +58806,7 @@ type=Instant [card] name=Piercing Light target=creature[attacking;blocking]|battlefield -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) auto=damage:2 text=Piercing Light deals 2 damage to target attacking or blocking creature. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={W} @@ -59402,7 +59403,7 @@ name=Play with Fire aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=if type(creature|battlefield)~morethan~0 then choice name(Damage creature) name(Damage creature) damage:2 target(creature) auto=if type(planeswalker|battlefield)~morethan~0 then choice name(Damage planeswalker) name(Damage planeswalker) damage:2 target(planeswalker) -auto=choice name(Damage player) damage:2 target(player) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=choice name(Damage player) damage:2 target(player) && _SCRY_(1) text=Play with Fire deals 2 damage to any target. If a player is dealt damage this way, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={R} type=Instant @@ -59528,7 +59529,7 @@ aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,n autohand=_FORETELL_ autoexile={1}{B} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative) auto=destroy -auto=if paid(alternative) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if paid(alternative) then _SCRY_(2) text=Destroy target creature. If this spell was foretold, scry 2. -- Foretell {1}{B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) mana={1}{B}{B} type=Instant @@ -60482,7 +60483,7 @@ toughness=2 name=Prismari Campus aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=tap(noevent) -auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={4}{T}:name(Scry 1) _SCRY_(1) auto={T}:add{R} auto={T}:add{U} text=Prismari Campus enters the battlefield tapped. -- {T}: Add {U} or {R}. -- {4}, {T}: Scry 1. @@ -60549,7 +60550,7 @@ toughness=1 name=Prison Realm auto=(blink)forsrc target(*[creature;planeswalker]|opponentbattlefield) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=When Prison Realm enters the battlefield, exile target creature or planeswalker an opponent controls until Prison Realm leaves the battlefield. -- When Prison Realm enters the battlefield, scry 1. mana={2}{W} type=Enchantment @@ -60739,7 +60740,7 @@ toughness=3 [card] name=Prophet of the Peak aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=When Prophet of the Peak enters the battlefield, 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={6} type=Artifact Creature @@ -61028,7 +61029,7 @@ name=Psychic Impetus target=creature aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=teach(creature) transforms((,newability[2/2],newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack])) -auto=@combat(attacking) source(mytgt):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=@combat(attacking) source(mytgt):name(Scry 2) _SCRY_(2) text=Enchant creature -- Enchanted creature gets +2/+2 and is goaded. (It attacks each combat if able and attacks a player other than you if able.) -- Whenever enchanted creature attacks, you scry 2. mana={2}{U} type=Enchantment @@ -61579,7 +61580,7 @@ toughness=2 name=Quandrix Campus aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=tap(noevent) -auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={4}{T}:name(Scry 1) _SCRY_(1) auto={T}:add{G} auto={T}:add{U} text=Quandrix Campus enters the battlefield tapped. -- {T}: Add {G} or {U}. -- {4}, {T}: Scry 1. @@ -63340,7 +63341,7 @@ name=Reason // Believe 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 scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=ifnot paid(flashback) then _SCRY_(3) 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 )! 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} @@ -65096,7 +65097,7 @@ subtype=Trap name=Riddleform aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=@movedTo(*[-creature]|mystack):may transforms((Sphinx Creature,setpower=3,settoughness=3,flying)) ueot -auto={2}{U}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{U}:_SCRY_(1) text=Whenever you cast a noncreature spell, you may have Riddleform become a 3/3 Sphinx creature with flying in addition to its other types until end of turn. -- {2}{U}: Scry 1. mana={1}{U} type=Enchantment @@ -65330,7 +65331,7 @@ type=Artifact [/card] [card] name=Rionya, Fire Dancer -auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~0}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)])) oneshot +auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~0}:name(Copy creature) target(other creature|mybattlefield) clone with(unearth,haste) auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~1}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~2}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~3}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot @@ -66416,9 +66417,9 @@ toughness=3 [/card] [card] name=Rosethorn Halberd -auto=aslongas(parents) name(Attach to non-human) rehook target(creature[-human]|myBattlefield) <1 -auto={5}:equip +auto=name(Attach to creature) rehook target(creature[-human]|myBattlefield) auto=teach(creature) 2/1 +auto={5}:equip text=When Rosethorn Halberd enters the battlefield, attach it to target non-Human creature you control. -- Equipped creature gets +2/+1. -- Equip {5} ({5}: Attach to target creature you control. Equip only as a sorcery.) mana={G} type=Artifact @@ -66639,7 +66640,7 @@ name=Rubble Reading target=land auto=destroy aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Destroy target land. Scry 2. mana={3}{R} type=Sorcery @@ -66852,7 +66853,7 @@ toughness=6 [card] name=Rumbling Sentry aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=When Rumbling Sentry enters the battlefield, scry 1. mana={3}{W}{W} type=Creature @@ -67107,7 +67108,7 @@ type=Sorcery [card] name=Runic Shot kicker={U} -auto=if paid(kicker) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if paid(kicker) then _SCRY_(2) target=creature[tapped] auto=destroy text=Kicker {U} (You may pay an additional {U} as you cast this spell.) -- Destroy target tapped creature. If this spell was kicked, scry 2. @@ -67494,7 +67495,7 @@ toughness=5 [card] name=Sage's Row Savant aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=When Sage's Row Savant enters the battlefield, scry 2. mana={1}{U} type=Creature @@ -67695,7 +67696,7 @@ subtype=Aura [/card] [card] name=Samite Herbalist -auto=@tapped(this):name(Scry 1) transforms((,newability[life:1],newability[scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) +auto=@tapped(this):name(Scry 1) transforms((,newability[life:1],newability[_SCRY_(1)])) text=Whenever Samite Herbalist becomes tapped, you gain 1 life and scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{W} type=Creature @@ -69527,7 +69528,7 @@ type=Land [card] name=Season of Growth aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedto(creature|mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedto(creature|mybattlefield):_SCRY_(1) auto=@targeted(creature|myBattlefield) from(instant,sorcery|mystack):draw:1 controller auto=@targeted(creature|mybattlefield) from(*[instant;sorcery]|nonbattlezone,stack):draw:1 controller text=Whenever a creature enters the battlefield under your control, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- Whenever you cast a spell that targets a creature you control, draw a card. @@ -70014,7 +70015,7 @@ toughness=4 name=Senate Griffin abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Flying -- When Senate Griffin enters the battlefield, scry 1. mana={2}{WU}{WU} type=Creature @@ -70316,7 +70317,7 @@ toughness=2 name=Serum Sovereign abilities=flying auto=@movedTo(*[-creature]|mystack):counter(0/0,1,oil) -auto={U}{C(0/0,-1,oil)}:draw:1 && scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={U}{C(0/0,-1,oil)}:draw:1 && _SCRY_(2) text=Flying -- Whenever you cast a noncreature spell, put an oil counter on Serum Sovereign. -- {U}, Remove an oil counter from Serum Sovereign: Draw a card, then scry 2. mana={4}{U} type=Creature @@ -72283,7 +72284,7 @@ mana={1} name=Silver Raven abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Flying -- When Silver Raven enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={U} type=Artifact Creature @@ -72380,7 +72381,7 @@ toughness=2 name=Silverquill Campus aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=tap(noevent) -auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={4}{T}:name(Scry 1) _SCRY_(1) auto={T}:add{B} auto={T}:add{W} text=Silverquill Campus enters the battlefield tapped. -- {T}: Add {W} or {B}. -- {4}, {T}: Scry 1. @@ -74145,7 +74146,7 @@ target=creature auto=doesnotuntap aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=if type(*[token]|myBattlefield)~morethan~0 then teach(creature) tap -auto=if type(*[token]|myBattlefield)~morethan~0 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if type(*[token]|myBattlefield)~morethan~0 then _SCRY_(2) text=Enchant creature -- When So Shiny enters the battlefield, if you control a token, tap enchanted creature, then scry 2. -- Enchanted creature doesn't untap during its controller's untap step. mana={2}{U} type=Enchantment @@ -75682,9 +75683,9 @@ toughness=5 [card] name=Sphinx of Foresight abilities=flying -autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Sphinx of Foresight) scry:3 scrycore delayed dontshow donothing scrycoreend scryend +autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Sphinx of Foresight) _SCRY_(3) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep:_SCRY_(1) text=You may reveal this card from your opening hand. If you do, scry 3 at the beginning of your first upkeep. -- Flying -- At the beginning of your upkeep, scry 1. mana={2}{U}{U} type=Creature @@ -75886,7 +75887,7 @@ toughness=4 name=Spined Megalodon abilities=opponentshroud aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=_ATTACKING_scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_ATTACKING__SCRY_(1) text=Hexproof (This creature can't be the target of spells or abilities your opponents control.) -- Whenever Spined Megalodon attacks, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={5}{U}{U} type=Creature @@ -77517,7 +77518,7 @@ toughness=1 [card] name=Stonebound Mentor aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedto(*|mybattlefield,mystack,myhand,mylibrary,mysideboard,myexile,mycommandzone) from(mygraveyard):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedto(*|mybattlefield,mystack,myhand,mylibrary,mysideboard,myexile,mycommandzone) from(mygraveyard):name(Scry 1) _SCRY_(1) text=Whenever one or more cards leave your graveyard, scry 1. mana={1}{R}{W} type=Creature @@ -77724,7 +77725,7 @@ target=creature auto=first strike auto=+1/+0 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Target creature gets +1/+0 and gains first strike until end of turn. Scry 1. mana={R} type=Instant @@ -77880,7 +77881,7 @@ aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,n anyzone=@movedTo(*[instant;sorcery]|mystack) once:changecost(colorless:-2) ueot forcedalive anyzone=@movedTo(*[instant;sorcery]|mystack) once:altercost(blue:-1) ueot forcedalive auto=@movedTo(*[-creature]|mystack):1/1 ueot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=This spell costs {2}{U} less to cast if you've cast an instant or sorcery spell this turn. -- Flying -- Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- When Stormwing Entity enters the battlefield, scry 2. mana={3}{U}{U} type=Creature @@ -78721,7 +78722,7 @@ name=Sunset Pyramid aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=counter(0/0,3,brick) auto={2}{T}{counter(0/0,-1,brick)}:name(Draw 1) draw:1 controller -auto={2}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{T}:name(Scry 1) _SCRY_(1) text=Sunset Pyramid enters the battlefield with three brick counters on it. -- {2}, {T}, Remove a brick counter from Sunset Pyramid: Draw a card. -- {2}, {T}: Scry 1. mana={2} type=Artifact @@ -78989,7 +78990,7 @@ name=Surtland Frostpyre auto=tap(noevent) auto={T}:add{R} 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}{U}{U}{R}{T}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend && damage:2 all(creature|battlefield) asSorcery +auto={2}{U}{U}{R}{T}{S}:_SCRY_(2) && damage:2 all(creature|battlefield) asSorcery text=Surtland Frostpyre enters the battlefield tapped. -- {T}: Add {R}. -- {2}{U}{U}{R}, {T}, Sacrifice Surtland Frostpyre: Scry 2. Surtland Frostpyre deals 2 damage to each creature. Activate this ability only any time you could cast a sorcery. type=Land [/card] @@ -79419,7 +79420,7 @@ toughness=3 [card] name=Sylvan Anthem aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(creature[green]|myBattlefield):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(creature[green]|myBattlefield):name(Scry 1) _SCRY_(1) auto=lord(creature[green]|myBattlefield) 1/1 text=Green creatures you control get +1/+1. -- Whenever a green creature enters the battlefield under your control, scry 1. mana={G}{G} @@ -80668,7 +80669,7 @@ toughness=6 [card] name=Teferi's Time Twist target=*|mybattlefield -auto=(blink)ueot +auto=(blink)ueot return(counter(1/1)) text=Exile target permanent you control. Return that card to the battlefield under its owner's control at the beginning of the next end step. If it enters the battlefield as a creature, it enters with an additional +1/+1 counter on it. mana={1}{U} type=Instant @@ -81389,7 +81390,7 @@ type=Artifact name=Thaumaturge's Familiar abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Flying -- When Thaumaturge's Familiar enters the battlefield, scry 1. mana={3} type=Artifact Creature @@ -83459,7 +83460,7 @@ toughness=11 [card] name=Titans' Nest aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep:_SCRY_(1) auto={E(*|myGraveyard)}:Add{C} text=At the beginning of your upkeep, look at the top card of your library. You may put that card into your graveyard. -- Exile a card from your graveyard: Add Colorless . Spend this mana only to cast a colored spell without Variable Colorless in its mana cost. mana={1}{B}{G}{U} @@ -84653,7 +84654,7 @@ toughness=2 [/card] [card] name=Trelasarra, Moon Dancer -auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1) && _SCRY_(1) text=Whenever you gain life, put a +1/+1 counter on Trelasarra, Moon Dancer and scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={G}{W} type=Legendary Creature @@ -85792,7 +85793,7 @@ name=Unblinking Bleb facedown={3} autofacedown={2}{U}:morph aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -autofaceup=may name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +autofaceup=may name(Scry 2) _SCRY_(2) text=Morph {2}{U} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- Whenever Unblinking Bleb or another permanent is turned face up, you may scry 2. (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}{U} type=Creature @@ -85962,7 +85963,7 @@ toughness=3 [card] name=Undercity Scavenger aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=may name(Sacrifice Creature) sacrifice notatarget(other creature|mybattlefield) and!( all(this) counter(1/1,2) && scry:2 scrycore delayed dontshow donothing scrycoreend scryend )! +auto=may name(Sacrifice Creature) sacrifice notatarget(other creature|mybattlefield) and!( all(this) counter(1/1,2) && _SCRY_(2) )! text=When Undercity Scavenger enters the battlefield, you may sacrifice another creature. If you do, put two +1/+1 counters on Undercity Scavenger, then scry 2. mana={3}{B} type=Creature @@ -86205,7 +86206,7 @@ type=Instant [card] name=Unexplained Vision aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if casted(this) then if spent({U}{U}{U}) then scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=if casted(this) then if spent({U}{U}{U}) then _SCRY_(3) auto=draw:3 controller text=Draw three cards. -- Adamant - If at least three blue mana was spent to cast this spell, scry 3. mana={4}{U} @@ -87460,7 +87461,8 @@ toughness=1 [/card] [card] name=Vedalken Humiliator -auto=aslongas(artifact|mybattlefield) _ATTACKING_lord(creature|opponentBattlefield) loseabilities && lord(creature|opponentBattlefield) transforms((,setpower=1,settoughness=1))) ueot >2 +auto=aslongas(artifact|mybattlefield) _ATTACKING_all(creature|opponentBattlefield) transforms((,setpower=1,settoughness=1)) >2 +auto=aslongas(artifact|mybattlefield) _ATTACKING_all(creature|opponentBattlefield) loseabilities >2 text=Metalcraft - Whenever Vedalken Humiliator attacks, if you control three or more artifacts, creatures your opponents control lose all abilities and have base power and toughness 1/1 until end of turn. mana={3}{U} type=Creature @@ -88189,10 +88191,10 @@ toughness=2 [/card] [card] name=Vicious Offering -kicker={S(creature|myBattlefield)} +other={1}{B}{S(creature|myBattlefield)} name(kicker) +otherrestriction=type(creature|mybattlefield)~morethan~0 target=creature -auto=-2/-2 -auto=if paid(kicker) then -3/-3 +auto=if paid(alternative) then -5/-5 else -2/-2 text=Kicker'sacrifice a creature. (You may sacrifice a creature in addition to any other costs as you cast this spell.) -- Target creature gets -2/-2 until end of turn. If this spell was kicked, that creature gets -5/-5 until end of turn instead. mana={1}{B} type=Instant @@ -90010,7 +90012,7 @@ toughness=1 [card] name=Warteye Witch aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(creature|graveyard) from(mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(creature|graveyard) from(mybattlefield):_SCRY_(1) text=Whenever Warteye Witch or another creature you control dies, scry 1. mana={2}{B} type=Creature @@ -91488,7 +91490,7 @@ type=Instant [card] name=Witching Well aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) auto={3}{U}{S}:draw:2 controller text=When Witching Well enters the battlefield, 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.) -- {3}{U}, Sacrifice Witching Well: Draw two cards. mana={U} @@ -91516,7 +91518,7 @@ toughness=2 name=Witherbloom Campus aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=tap(noevent) -auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={4}{T}:name(Scry 1) _SCRY_(1) auto={T}:add{B} auto={T}:add{G} text=Witherbloom Campus enters the battlefield tapped. -- {T}: Add {B} or {G}. -- {4}, {T}: Scry 1. @@ -91570,7 +91572,7 @@ type=Instant name=Witness of Tomorrows abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={3}{U}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={3}{U}:_SCRY_(1) text=Flying -- {3}{U}: Scry 1. mana={4}{U} type=Enchantment Creature @@ -91673,7 +91675,7 @@ toughness=3 name=Woe Strider auto=token(Goat,Creature Goat,0/1,white) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={S(other creature|myBattlefield}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={S(other creature|myBattlefield}:_SCRY_(1) retrace={3}{B}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape) auto=if paid(retrace) then counter(1/1,2) text=When Woe Strider enters the battlefield, create a 0/1 white Goat creature token. -- Sacrifice another creature: Scry 1. -- Escape-{3}{B}{B}, Exile four other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Woe Strider escapes with two +1/+1 counters on it. @@ -92762,7 +92764,7 @@ toughness=9 [card] name=Zaffai, Thunder Conductor aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedto(*[instant;sorcery]|mystack):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedto(*[instant;sorcery]|mystack):_SCRY_(1) auto=@movedto(instant[manacost>=5]|mystack):token(Elemental,Creature Elemental,4/4,blue,red) auto=@movedto(sorcery[manacost>=5]|mystack):token(Elemental,Creature Elemental,4/4,blue,red) auto=@movedto(instant[manacost>=10]|mystack):damage:10 opponent @@ -92855,7 +92857,7 @@ toughness=4 [/card] [card] name=Zar Ojanen, Scion of Efrava -auto=@tapped(this):all(creature[toughnessminus1minusend<=pbasiclandtypes]|myBattlefield) counter(1/1) +auto=@tapped(this):all(creature[toughness<=pbasiclandtypesminus1minusend]|myBattlefield) counter(1/1) text=Domain - Whenever Zar Ojanen, Scion of Efrava becomes tapped, put a +1/+1 counter on each creature you control with toughness less than the number of basic land types among lands you control. mana={3}{G}{W} type=Legendary Creature @@ -93032,7 +93034,7 @@ toughness=3 [card] name=Zhalfirin Void aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) auto={T}:Add{C} text=When Zhalfirin Void enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {C}. type=Land @@ -93196,4 +93198,4 @@ type=Legendary Creature subtype=Devil power=2 toughness=3 -[/card] +[/card] \ No newline at end of file diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 9a335433d..7ba261719 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -1360,7 +1360,7 @@ toughness=2 name=Aether Theorist auto=alterenergy:3 controller aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={t}{e:1}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={t}{e:1}:_SCRY_(1) text=When Aether Theorist enters the battlefield, you get {E}{E}{E} (three energy counters). -- {T}, Pay {E}: Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{U} type=Creature @@ -1437,11 +1437,11 @@ type=Instant [/card] [card] name=Aetherling -auto={U}:(blink)ueot +auto={U}:_BLINK_UEOT_ auto={U}:unblockable auto={1}:1/-1 auto={1}:-1/1 -text={U}: Exile Aetherling, Return it to the battlefield under its owner's control at the beginning of the next end step. -- {U}: Aetherling is unblockable this turn. -- {1}: Aetherling gets +1/-1 until end of turn. -- {1}: Aetherling gets -1/+1 until end of turn. +text={U}: Exile Aetherling. Return it to the battlefield under its owner’s control at the beginning of the next end step. -- {U}: Aetherling can't be blocked this turn. -- {1}: Aetherling gets +1/-1 until end of turn. -- {1}: Aetherling gets -1/+1 until end of turn. mana={4}{U}{U} type=Creature subtype=Shapeshifter @@ -3466,7 +3466,7 @@ name=Anchor to the Aether target=creature auto=moveto(ownerlibrary) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Put target creature on top of its owner's library. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={2}{U} type=Sorcery @@ -4353,7 +4353,7 @@ toughness=2 [/card] [card] name=Anurid Brushhopper -auto={D(*|myhand)}{D(*|myhand)}:(blink)ueot +auto={D(*|myhand)}{D(*|myhand)}:_BLINK_UEOT_ text=Discard two cards: Exile Anurid Brushhopper. Return it to the battlefield under its owner's control at the beginning of the next end step. mana={1}{G}{W} type=Creature @@ -4658,7 +4658,7 @@ toughness=0 name=Aqueous Form target=creature aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@combat(attacking) source(mytgt):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@combat(attacking) source(mytgt):_SCRY_(1) auto=teach(creature) unblockable text=Enchant creature -- Enchanted creature can't be blocked. -- Whenever enchanted creature attacks, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={U} @@ -5584,7 +5584,7 @@ type=Instant [card] name=Argent Sphinx abilities=flying -auto=aslongas(artifact|mybattlefield) {U}:(blink)ueot >2 +auto=aslongas(artifact|mybattlefield) {U}:_BLINK_UEOT_ >2 text=Flying -- Metalcraft {U}: Exile Argent Sphinx. Return it to the battlefield under your control at the beginning of the next end step. Activate this ability only if you control three or more artifacts. mana={2}{U}{U} type=Creature @@ -6209,7 +6209,7 @@ name=Artisan's Sorrow target=*[artifact;enchantment] auto=destroy aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Destroy target artifact or enchantment. 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=Instant @@ -6924,7 +6924,7 @@ toughness=2 name=Augury Owl abilities=flying aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(3) text=Flying -- When Augury Owl enters the battlefield, scry 3. (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}{U} type=Creature @@ -9892,7 +9892,7 @@ toughness=2 [card] name=Battlewise Hoplite aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=_HEROIC_counter(1/1) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_HEROIC_counter(1/1) && _SCRY_(1) text=Heroic -- Whenever you cast a spell that targets Battlewise Hoplite, put a +1/+1 counter on Battlewise Hoplite, then scry 1. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) mana={W}{U} type=Creature @@ -9905,7 +9905,7 @@ name=Battlewise Valor target=creature auto=+2/+2 ueot aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Target creature gets +2/+2 until end of turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{W} type=Instant @@ -13454,7 +13454,7 @@ name=Bolt of Keranos target=creature,player auto=damage:3 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Bolt of Keranos deals 3 damage to target creature or player. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{R}{R} type=Sorcery @@ -13606,7 +13606,8 @@ toughness=1 [/card] [card] name=Bone Splinters -auto=destroy target(creature) +target=creature +auto=destroy text=As an additional cost to cast Bone Splinters, sacrifice a creature. -- Destroy target creature. mana={B}{S(creature|mybattlefield)} type=Sorcery @@ -14324,16 +14325,16 @@ type=Instant name=Brain in a Jar aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto={1}{T}:counter(0/0,1,Charge) && transforms((,newability[target(*[instant;sorcery;manacost=counter{0%0.1.charge}]|myhand) castcard(normal)])) oneshot -auto={3}{T}{c(0/0,-1,Charge)}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-2,Charge)}:name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-3,Charge)}:name(Scry 3) scry:3 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-4,Charge)}:name(Scry 4) scry:4 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-5,Charge)}:name(Scry 5) scry:5 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-6,Charge)}:name(Scry 6) scry:6 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-7,Charge)}:name(Scry 7) scry:7 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-8,Charge)}:name(Scry 8) scry:8 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-9,Charge)}:name(Scry 9) scry:9 scrycore delayed dontshow donothing scrycoreend scryend -auto={3}{T}{c(0/0,-10,Charge)}:name(Scry 10) scry:10 scrycore delayed dontshow donothing scrycoreend scryend +auto={3}{T}{c(0/0,-1,Charge)}:name(Scry 1) _SCRY_(1) +auto={3}{T}{c(0/0,-2,Charge)}:name(Scry 2) _SCRY_(2) +auto={3}{T}{c(0/0,-3,Charge)}:name(Scry 3) _SCRY_(3) +auto={3}{T}{c(0/0,-4,Charge)}:name(Scry 4) _SCRY_(4) +auto={3}{T}{c(0/0,-5,Charge)}:name(Scry 5) _SCRY_(5) +auto={3}{T}{c(0/0,-6,Charge)}:name(Scry 6) _SCRY_(6) +auto={3}{T}{c(0/0,-7,Charge)}:name(Scry 7) _SCRY_(7) +auto={3}{T}{c(0/0,-8,Charge)}:name(Scry 8) _SCRY_(8) +auto={3}{T}{c(0/0,-9,Charge)}:name(Scry 9) _SCRY_(9) +auto={3}{T}{c(0/0,-10,Charge)}:name(Scry 10) _SCRY_(10) text={1}, {T}: Put a charge counter on Brain in a Jar, then you may cast an instant or sorcery card with mana value equal to the number of charge counters on Brain in a Jar from your hand without paying its mana cost. -- {3}, {T}, Remove X charge counters from Brain in a Jar: Scry X. mana={2} type=Artifact @@ -17454,7 +17455,7 @@ name=Catacomb Sifter abilities=devoid auto=choice token(Eldrazi Scion,Creature Eldrazi Scion,1/1) and!( transforms((,newability[{S}:Add{C}])) forever )! controller aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(other creature|graveyard) from(myBattlefield):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(other creature|graveyard) from(myBattlefield):name(Scry 1) _SCRY_(1) text=Devoid (This card has no color.) -- When Catacomb Sifter enters the battlefield, put a 1/1 colorless Eldrazi Scion creature token onto the battlefield. It has "Sacrifice this creature: Add {C} to your mana pool." -- Whenever another creature you control dies, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{B}{G} type=Creature @@ -19581,7 +19582,7 @@ type=Instant name=Chorus of the Tides abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=_HEROIC_counter(1/1) && name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_HEROIC_counter(1/1) && name(Scry 1) _SCRY_(1) text=Flying -- Heroic -- Whenever you cast a spell that targets Chorus of the Tides, scry 1. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) mana={3}{U} type=Creature @@ -21800,7 +21801,7 @@ name=Condescend target=*|stack auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?fizzle])) forever aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Counter target spell unless its controller pays {X}. -- Scry 2. (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={X}{U} type=Instant @@ -22282,7 +22283,7 @@ type=Sorcery name=Contraband Kingpin abilities=lifelink aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(artifact|mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(artifact|mybattlefield):_SCRY_(1) text=Lifelink -- Whenever an artifact enters the battlefield under your control, scry 1. mana={U}{B} type=Creature @@ -24161,7 +24162,7 @@ name=Cruel Finality target=creature auto=-2/-2 ueot aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Target creature gets -2/-2 until end of turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={2}{B} type=Instant @@ -24578,7 +24579,7 @@ type=Enchantment [card] name=Crystal Ball aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={1}{T}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={1}{T}:_SCRY_(2) text={1}, {T}: Scry 2. (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} type=Artifact @@ -27417,7 +27418,7 @@ toughness=13 [card] name=Death's-Head Buzzard abilities=flying -auto=_DIES_all(creature|Battlefield) -1/-1 ueot +auto=_DIES_all(creature|Battlefield) -1/-1 text=Flying -- When Death's-Head Buzzard dies, all creatures get -1/-1 until end of turn. mana={1}{B}{B} type=Creature @@ -30207,7 +30208,7 @@ name=Dissolve target=*|stack auto=fizzle aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Counter target spell. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{U}{U} type=Instant @@ -32478,7 +32479,7 @@ type=Instant name=Drown in Sorrow auto=all(creature) -2/-2 ueot aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=All creatures get -2/-2 until end of turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{B}{B} type=Sorcery @@ -38254,7 +38255,7 @@ type=Instant [card] name=Eyes of the Watcher aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedto(*[instant;sorcery]|mystack):target(trigger[to]<1>) pay[[{U}{R}]] scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedto(*[instant;sorcery]|mystack):target(trigger[to]<1>) pay[[{U}{R}]] _SCRY_(2) text=Whenever you cast an instant or sorcery spell, you may pay {1}. If you do, scry 2. (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={2}{U} type=Enchantment @@ -39195,7 +39196,7 @@ name=Fated Conflagration target=creature,planeswalker auto=damage:5 aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if compare(restriction{myturnonly}~morethan~0) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if compare(restriction{myturnonly}~morethan~0) then _SCRY_(2) text=Fated Conflagration deals 5 damage to target creature or planeswalker. If it's your turn, 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={1}{R}{R}{R} type=Instant @@ -39205,7 +39206,7 @@ name=Fated Infatuation target=creature|mybattlefield auto=clone aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if compare(restriction{myturnonly}~morethan~0) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if compare(restriction{myturnonly}~morethan~0) then _SCRY_(2) text=Create a token that's a copy of target creature you control. If it's your turn, 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={U}{U}{U} type=Instant @@ -39214,7 +39215,7 @@ type=Instant name=Fated Intervention auto=token(Centaur,Enchantment Creature Centaur,3/3,green)*2 controller aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if compare(restriction{myturnonly}~morethan~0) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if compare(restriction{myturnonly}~morethan~0) then _SCRY_(2) text=Put two 3/3 green Centaur enchantment creature tokens onto the battlefield. If it's your turn, 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={2}{G}{G}{G} type=Instant @@ -39223,7 +39224,7 @@ type=Instant name=Fated Retribution auto=all(creature,planeswalker) destroy aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if compare(restriction{myturnonly}~morethan~0) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if compare(restriction{myturnonly}~morethan~0) then _SCRY_(2) text=Destroy all creatures and planeswalkers. If it's your turn, 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={4}{W}{W}{W} type=Instant @@ -39234,7 +39235,7 @@ target=creature|mygraveyard auto=moveto(mybattlefield) auto=transforms((,indestructible)) forever aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if compare(restriction{myturnonly}~morethan~0) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=if compare(restriction{myturnonly}~morethan~0) then _SCRY_(2) text=Put target creature card from a graveyard onto the battlefield under your control. It gains indestructible. If it's your turn, 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={4}{B}{B}{B} type=Instant @@ -39908,7 +39909,7 @@ name=Ferocious Charge target=creature auto=4/4 aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Target creature gets +4/+4 until end of turn. -- Scry 2. (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={2}{G} type=Instant @@ -43455,7 +43456,7 @@ toughness=6 [/card] [card] name=Frenetic Sliver -auto=lord(sliver) {0}:flipacoin winability (blink)ueot winabilityend loseability sacrifice loseabilityend flipend +auto=lord(sliver) {0}:flipacoin winability _BLINK_UEOT_ winabilityend loseability sacrifice loseabilityend flipend text=All Slivers have "{0}: If this permanent is on the battlefield, flip a coin. If you win the flip, exile this permanent and return it to the battlefield under its owner's control at the beginning of the next end step. If you lose the flip, sacrifice it." mana={1}{U}{R} type=Creature @@ -45005,7 +45006,7 @@ toughness=2 name=Geist of the Archives abilities=defender aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep:_SCRY_(1) text=Defender -- At the beginning of your upkeep, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={2}{U} type=Creature @@ -45707,7 +45708,7 @@ toughness=3 [card] name=Ghost Council of Orzhova auto=choice target(opponent) life:-1 && life:1 controller -auto={1}{S(creature|mybattlefield)}:(blink)ueot +auto={1}{S(creature|mybattlefield)}:_BLINK_UEOT_ text=When Ghost Council of Orzhova enters the battlefield, target opponent loses 1 life and you gain 1 life. -- {1}, Sacrifice a creature: Exile Ghost Council of Orzhova. Return it to the battlefield under its owner's control at the beginning of the next end step. mana={W}{W}{B}{B} type=Legendary Creature @@ -46751,8 +46752,8 @@ toughness=2 [card] name=Glassblower's Puzzleknot aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend && ability$!choice alterenergy:2 controller!$ controller -auto={2}{U}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend && ability$!choice alterenergy:2 controller!$ controller +auto=_SCRY_(2) && ability$!choice alterenergy:2 controller!$ controller +auto={2}{U}{S}:_SCRY_(2) && ability$!choice alterenergy:2 controller!$ controller text=When Glassblower's Puzzleknot enters the battlefield, scry 2, then you get {E}{E}. (You get two energy counters. 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.) -- {2}{U}, Sacrifice Glassblower's Puzzleknot: Scry 2, then you get {E}{E}. mana={2} type=Artifact @@ -48620,11 +48621,11 @@ type=Legendary Land name=Gods Willing target=creature|mybattlefield aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=choice name(green) transforms((,newability[protection from green],newability[choice scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) ueot -auto=choice name(red) transforms((,newability[protection from red],newability[choice scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) ueot -auto=choice name(blue) transforms((,newability[protection from blue],newability[choice scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) ueot -auto=choice name(black) transforms((,newability[protection from black],newability[choice scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) ueot -auto=choice name(white) transforms((,newability[protection from white],newability[choice scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) ueot +auto=choice name(green) transforms((,newability[protection from green],newability[choice _SCRY_(1)])) ueot +auto=choice name(red) transforms((,newability[protection from red],newability[choice _SCRY_(1)])) ueot +auto=choice name(blue) transforms((,newability[protection from blue],newability[choice _SCRY_(1)])) ueot +auto=choice name(black) transforms((,newability[protection from black],newability[choice _SCRY_(1)])) ueot +auto=choice name(white) transforms((,newability[protection from white],newability[choice _SCRY_(1)])) ueot text=Target creature you control gains protection from the color of your choice until end of turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={W} type=Instant @@ -52559,9 +52560,9 @@ type=Sorcery [card] name=Harsh Scrutiny aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=if type(*|opponenthand)~morethan~0 then if type(creature|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) and!( name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend )! )! -auto=if type(*|opponenthand)~morethan~0 then if type(creature|opponenthand)~morethan~0 then name(Choose a creature) name(Choose a creature) name(Choose a creature) target(creature|opponenthand) reject and!( name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend )! -auto=if type(*|opponenthand)~equalto~0 then name(Scry 1) name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=if type(*|opponenthand)~morethan~0 then if type(creature|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) and!( name(Scry 1) _SCRY_(1) )! )! +auto=if type(*|opponenthand)~morethan~0 then if type(creature|opponenthand)~morethan~0 then name(Choose a creature) name(Choose a creature) name(Choose a creature) target(creature|opponenthand) reject and!( name(Scry 1) _SCRY_(1) )! +auto=if type(*|opponenthand)~equalto~0 then name(Scry 1) name(Scry 1) _SCRY_(1) text=Target opponent reveals his or her hand. You choose a creature card from it. That player discards that card. Scry 1. mana={B} type=Sorcery @@ -53499,7 +53500,7 @@ toughness=2 name=Hedron Alignment aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=@each my upkeep:aslongas(Hedron Alignment|myhand) aslongas(Hedron Alignment|mygraveyard) aslongas(Hedron Alignment|myexile) aslongas(Hedron Alignment|mybattlefield) wingame controller -auto={1}{u}:name(Scry 1) scry:1 scrycore delayed dontshow scrycoreend scryend +auto={1}{u}:name(Scry 1) _SCRY_(1) text=Hexproof -- At the beginning of your upkeep, you may reveal your hand. If you do, you win the game if you own a card named Hedron Alignment in exile, in your hand, in your graveyard, and on the battlefield. -- {1}{U}: Scry 1. mana={2}{U} type=Enchantment @@ -54479,7 +54480,7 @@ type=Enchantment name=Hidden Stockpile aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=@each my end restriction{revolt}:_SERVOTOKEN_ -auto={1}{S(creature|mybattlefield)}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={1}{S(creature|mybattlefield)}:_SCRY_(1) text=Revolt -- At the beginning of your end step, if a permanent you controlled left the battlefield this turn, create a 1/1 colorless Servo artifact creature token. -- {1}, Sacrifice a creature: Scry 1. mana={W}{B} type=Enchantment @@ -54682,7 +54683,7 @@ type=Sorcery [card] name=Hikari, Twilight Guardian abilities=flying -auto=@movedTo(spirit,arcane|mystack):may (blink)ueot +auto=@movedTo(spirit,arcane|mystack):may _BLINK_UEOT_ text=Flying -- Whenever you cast a Spirit or Arcane spell, you may exile Hikari, Twilight Guardian. If you do, return it to the battlefield under its owner's control at the beginning of the next end step. mana={3}{W}{W} type=Legendary Creature @@ -55526,7 +55527,7 @@ toughness=1 name=Horizon Scholar abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Flying -- When Horizon Scholar enters the battlefield, 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={5}{U} type=Creature @@ -59756,7 +59757,7 @@ toughness=1 name=Jace's Sanctum auto=lord(*[instant;sorcery]|mycastingzone) altercost(colorless, -1) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(instant,sorcery|mystack):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(instant,sorcery|mystack):_SCRY_(1) text=Instant and sorcery spells you cast cost {1} less to cast. -- Whenever you cast an instant or sorcery spell, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={3}{U} type=Enchantment @@ -66897,7 +66898,7 @@ toughness=4 [card] name=Lifecrafter's Bestiary aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep:_SCRY_(1) auto=@movedto(creature|mystack):pay({G}) draw:1 controller text=At the beginning of your upkeep, scry 1. -- Whenever you cast a creature spell, you may pay {G}. If you do, draw a card. mana={3} @@ -67243,7 +67244,7 @@ name=Lightning Javelin target=creature,player auto=damage:3 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Lightning Javelin deals 3 damage to target creature or player. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={3}{R} type=Sorcery @@ -68364,7 +68365,8 @@ toughness=7 name=Lord of Tresserhorn auto=life:-2 controller auto=draw:2 opponent -auto=target(<2>creature|myBattlefield) sacrifice +auto=notatarget(<2>creature|myBattlefield) sacrifice +auto={B}:regenerate text=When Lord of Tresserhorn enters the battlefield, you lose 2 life, you sacrifice two creatures, and target opponent draws two cards. -- {B}: Regenerate Lord of Tresserhorn. mana={1}{U}{B}{R} type=Legendary Creature @@ -68423,7 +68425,7 @@ name=Lose Hope target=creature auto=-1/-1 aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Target creature gets -1/-1 until end of turn. -- Scry 2. (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={B} type=Instant @@ -68444,7 +68446,7 @@ name=Lost in a Labyrinth target=creature auto=-3/-0 ueot aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Target creature gets -3/-0 until end of turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={U} type=Instant @@ -69698,7 +69700,7 @@ toughness=5 name=Magma Jet target=creature,player auto=damage:2 -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Magma Jet deals 2 damage to target creature or player. -- Scry 2. (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={1}{R} type=Instant @@ -77970,7 +77972,7 @@ toughness=2 name=Mystic Speculation buyback={u}{2} aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(3) text=Buyback {2} (You may pay an additional {2} as you cast this spell. If you do, put this card into your hand as it resolves.) -- Scry 3. (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={U} type=Sorcery @@ -78016,9 +78018,10 @@ type=Instant [/card] [card] name=Mystifying Maze -type=Land auto={t}:add{1} auto={4}{t}:target(creature[attacking]|opponentbattlefield) (blink)ueot return(tap) +text={T}: Add {C}. -- {4}, {T}: Exile target attacking creature an opponent controls. At the beginning of the next end step, return it to the battlefield tapped under its owner’s control. +type=Land [/card] [card] name=Myth Realized @@ -79493,7 +79496,7 @@ name=New Benalia auto=tap(noevent) auto={T}:add{W} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=New Benalia enters the battlefield tapped. -- When New Benalia enters the battlefield, scry 1. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) -- {T}: Add {W} to your mana pool. type=Land [/card] @@ -82142,7 +82145,7 @@ type=Sorcery [card] name=Omenspeaker aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=When Omenspeaker enters the battlefield, 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={1}{U} type=Creature @@ -87796,7 +87799,7 @@ name=Portent of Betrayal target=creature aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)! -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={3}{R} type=Sorcery @@ -88232,7 +88235,7 @@ type=Sorcery name=Prescient Chimera abilities=flying aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(instant,sorcery|mystack):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(instant,sorcery|mystack):_SCRY_(1) text=Flying -- Whenever you cast an instant or sorcery spell, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={3}{U}{U} type=Creature @@ -88753,7 +88756,7 @@ name=Prism Array auto=counter(0/0,converge,crystal) auto={c(0/0,-1,crystal)}:tap target(creature) aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={W}{U}{B}{R}{G}:scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto={W}{U}{B}{R}{G}:_SCRY_(3) text=Converge -- Prism Array enters the battlefield with a crystal counter on it for each color of mana spent to cast it. -- Remove a crystal counter from Prism Array: Tap target creature. -- {W}{U}{B}{R}{G}: 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={4}{U} type=Enchantment @@ -89109,7 +89112,7 @@ name=Prognostic Sphinx abilities=flying auto={D(*|myhand)}:opponentshroud && tap aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=_ATTACKING_scry:3 scrycore delayed dontshow donothing scrycoreend scryend +auto=_ATTACKING__SCRY_(3) text=Flying -- Discard a card: Prognostic Sphinx gains hexproof until end of turn. Tap it. -- Whenever Prognostic Sphinx attacks, 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={3}{U}{U} type=Creature @@ -90405,7 +90408,7 @@ type=Instant name=Quest for Ancient Secrets auto=@movedTo(*|mygraveyard):may counter(0/0,1,Quest) all(this) auto={C(0/0,-5,Quest)}{S}:name(shuffle your graveyard into your library) moveto(myLibrary) all(*|myGraveyard) && shuffle -auto={C(0/0,-5,Quest)}{S}:name(shuffle your graveyard into your library) moveto(opponentLibrary) all(*|opponentGraveyard) && shuffle +auto={C(0/0,-5,Quest)}{S}:name(shuffle your opponent graveyard) moveto(opponentLibrary) all(*|opponentGraveyard) && shuffle text=Whenever a card is put into your graveyard from anywhere, you may put a quest counter on Quest for Ancient Secrets. -- Remove five quest counters from Quest for Ancient Secrets and sacrifice it: Target player shuffles his or her graveyard into his or her library. mana={U} type=Enchantment @@ -91058,7 +91061,7 @@ name=Rage of Purphoros target=creature auto=cantregen auto=damage:4 -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Rage of Purphoros deals 4 damage to target creature. It can't be regenerated this turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={4}{R} type=Sorcery @@ -92852,7 +92855,7 @@ toughness=5 [card] name=Reaper of the Wilds aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(graveyard) from(other creature|battlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(graveyard) from(other creature|battlefield):_SCRY_(1) auto={B}:deathtouch ueot auto={1}{G}:opponentshroud ueot text=Whenever another creature dies, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {B}: Reaper of the Wilds gains deathtouch until end of turn. -- {1}{G}: Reaper of the Wilds gains hexproof until end of turn. @@ -94621,7 +94624,7 @@ type=Instant [card] name=Retreat to Coralhelm aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=_LANDFALL_name(Choose one) transforms((,newability[choice name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend],newability[choice name(untap creature) target(creature) untap],newability[choice name(tap creature) target(creature) tap])) ueot +auto=_LANDFALL_name(Choose one) transforms((,newability[choice name(Scry 1) _SCRY_(1)],newability[choice name(untap creature) target(creature) untap],newability[choice name(tap creature) target(creature) tap])) ueot text=Landfall -- Whenever a land enters the battlefield under your control, choose one -- -- You may tap or untap target creature. -- Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={2}{U} type=Enchantment @@ -95766,7 +95769,7 @@ type=Sorcery name=Rise of Eagles auto=create(Bird:Creature Bird Enchantment:2/2:flying:blue)*2 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Put two 2/2 blue Bird enchantment creature tokens with flying onto the battlefield. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={4}{U}{U} type=Sorcery @@ -100461,7 +100464,7 @@ type=Artifact name=Scouring Sands auto=damage:1 all(creature|opponentbattlefield) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Scouring Sands deals 1 damage to each creature your opponents control. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{R} type=Sorcery @@ -101817,7 +101820,7 @@ subtype=Aura name=Seer's Lantern auto={T}:add{C} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={2}{t}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{t}:name(Scry 1) _SCRY_(1) text={T}: Add {C} to your mana pool. ({C} represents colorless mana.) -- {2}, {T}: Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={3} type=Artifact @@ -102028,7 +102031,7 @@ toughness=3 name=Select for Inspection target=creature[tapped] auto=moveto(ownerhand) -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Return target tapped creature to its owner's hand. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={U} type=Instant @@ -102865,7 +102868,7 @@ type=Artifact name=Serum Visions auto=draw:1 aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 2) _SCRY_(2) text=Draw a card. -- Scry 2. (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={U} type=Sorcery @@ -103303,7 +103306,7 @@ toughness=3 [card] name=Shadows of the Past aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@movedTo(creature|graveyard) from(battlefield):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@movedTo(creature|graveyard) from(battlefield):name(Scry 1) _SCRY_(1) auto={4}{B}:life:-2 opponent && life:2 controller restriction{type(creature|mygraveyard)~morethan~3} text=Whenever a creature dies, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {4}{B}: Each opponent loses 2 life and you gain 2 life. Activate this ability only if there are four or more creature cards in your graveyard. mana={1}{B} @@ -105335,7 +105338,7 @@ toughness=2 [card] name=Sigiled Skink aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=_ATTACKING_scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_ATTACKING__SCRY_(1) text=Whenever Sigiled Skink attacks, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{R} type=Creature @@ -105346,7 +105349,7 @@ toughness=1 [card] name=Sigiled Starfish aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={T}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={T}:_SCRY_(1) text={T}: Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{U} type=Creature @@ -107630,7 +107633,7 @@ toughness=1 name=Skywhaler's Shot target=creature[power>=3] auto=destroy -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Destroy target creature with power 3 or greater. Scry 1. mana={2}{W} type=Instant @@ -110170,7 +110173,7 @@ name=Spark Jolt target=creature,player auto=damage:1 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Spark Jolt deals 1 damage to target creature or player. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={R} type=Instant @@ -111682,7 +111685,7 @@ name=Spite of Mogis target=creature auto=damage:type:*[instant;sorcery]:mygraveyard aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Spite of Mogis deals damage to target creature equal to the number of instant and sorcery cards in your graveyard. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={R} type=Sorcery @@ -112751,7 +112754,7 @@ name=Stand Firm target=creature auto=1/1 aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Target creature gets +1/+1 until end of turn. -- Scry 2. (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={W} type=Instant @@ -114188,7 +114191,7 @@ toughness=4 name=Stormcaller of Keranos abilities=haste aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={1}{u}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={1}{u}:_SCRY_(1) text=Haste -- {1}{U}: Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={2}{R} type=Creature @@ -115041,7 +115044,7 @@ name=Stymied Hopes target=*|stack auto=transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(1) text=Counter target spell unless its controller pays {1}. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{U} type=Instant @@ -118579,7 +118582,7 @@ toughness=1 name=Tel-Jilad Justice target=artifact auto=destroy -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=Destroy target artifact. -- Scry 2. (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={1}{G} type=Instant @@ -118717,7 +118720,7 @@ auto=tap(noevent) auto={t}:add{r} auto={t}:add{g} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Abandon enters the battlefield tapped. -- When Temple of Abandon enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {R} or {G} to your mana pool. type=Land [/card] @@ -118727,7 +118730,7 @@ auto=tap(noevent) auto={t}:add{u} auto={t}:add{b} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Deceit enters the battlefield tapped. -- When Temple of Deceit enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {U} or {B} to your mana pool. type=Land [/card] @@ -118737,7 +118740,7 @@ auto=tap(noevent) auto={t}:add{w} auto={t}:add{u} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Enlightenment enters the battlefield tapped. -- When Temple of Enlightenment enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {W} or {U} to your mana pool. type=Land [/card] @@ -118747,7 +118750,7 @@ auto=tap(noevent) auto={t}:add{u} auto={t}:add{r} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Epiphany enters the battlefield tapped. -- When Temple of Epiphany enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {U} or {R} to your mana pool. type=Land [/card] @@ -118757,7 +118760,7 @@ auto=tap(noevent) auto={t}:add{b} auto={t}:add{g} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Malady enters the battlefield tapped. -- When Temple of Malady enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {B} or {G} to your mana pool. type=Land [/card] @@ -118767,7 +118770,7 @@ auto=tap(noevent) auto={t}:add{b} auto={t}:add{r} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Malice enters the battlefield tapped. -- When Temple of Malice enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {B} or {R} to your mana pool. type=Land [/card] @@ -118777,7 +118780,7 @@ auto=tap(noevent) auto={t}:add{g} auto={t}:add{u} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Mystery enters the battlefield tapped. -- When Temple of Mystery enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {G} or {U} to your mana pool. type=Land [/card] @@ -118787,7 +118790,7 @@ auto=tap(noevent) auto={t}:add{g} auto={t}:add{w} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Plenty enters the battlefield tapped. -- When Temple of Plenty enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {G} or {W} to your mana pool. type=Land [/card] @@ -118797,7 +118800,7 @@ auto=tap(noevent) auto={t}:add{w} auto={t}:add{b} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Silence enters the battlefield tapped. -- When Temple of Silence enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {W} or {B} to your mana pool. type=Land [/card] @@ -118813,7 +118816,7 @@ auto=tap(noevent) auto={t}:add{r} auto={t}:add{w} aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Temple of Triumph enters the battlefield tapped. -- When Temple of Triumph enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {R} or {W} to your mana pool. type=Land [/card] @@ -119695,7 +119698,7 @@ name=Thassa, God of the Sea abilities=Indestructible auto={1}{u}:target(creature|mybattlefield) unblockable ueot aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=@each my upkeep:_SCRY_(1) auto=this(variable{type:manau}<5) transforms((removetypes,newability[becomes(Legendary Enchantment God)])) auto=this(variable{type:manau}>4) transforms((Legendary Enchantment Creature)) text=Indestructible -- As long as your devotion to blue is less than five, Thassa isn't a creature. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.) -- At the beginning of your upkeep, scry 1. -- {1}{U}: Target creature you control can't be blocked this turn. @@ -122099,7 +122102,7 @@ name=Titan's Strength target=creature auto=3/1 aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Target creature gets +3/+1 until end of turn. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={R} type=Instant @@ -123480,7 +123483,7 @@ type=Instant [/card] [card] name=Trap Digger -auto={2}{w}{t}:counter(0/0,Trap) target(land|mybattlefield) +auto={2}{w}{t}:counter(0/0,1,Trap) target(land|mybattlefield) auto={s(land[counter(0/0.1.Trap)]|mybattlefield}:damage:3 target(creature[attacking;-flying]) text={2}{W}, {T}: Put a trap counter on target land you control. -- Sacrifice a land with a trap counter on it: Trap Digger deals 3 damage to target attacking creature without flying. mana={3}{W} @@ -127398,7 +127401,7 @@ name=Vanquish the Foul target=creature[power>=4] auto=destroy aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Destroy target creature with power 4 or greater. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={5}{W} type=Sorcery @@ -128439,7 +128442,7 @@ toughness=1 name=Veteran Motorist crewbonus=1/1 aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=_SCRY_(2) text=When Veteran Motorist enters the battlefield, scry 2. -- Whenever Veteran Motorist crews a Vehicle, that Vehicle gets +1/+1 until end of turn. mana={R}{W} type=Creature @@ -129539,7 +129542,7 @@ toughness=3 [card] name=Viscera Seer aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={S(creature|myBattlefield)}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={S(creature|myBattlefield)}:name(Scry 1) _SCRY_(1) text=Sacrifice a creature: Scry 1. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) mana={B} type=Creature @@ -130660,7 +130663,7 @@ name=Voyage's End target=creature auto=moveto(ownerhand) aicode=activate target(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot -auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=name(Scry 1) _SCRY_(1) text=Return target creature to its owner's hand. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={1}{U} type=Instant @@ -132412,7 +132415,7 @@ toughness=2 [card] name=Watchful Automaton aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={2}{U}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={2}{U}:name(Scry 1) _SCRY_(1) text={2}{U}: Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) mana={3} type=Artifact Creature @@ -134470,7 +134473,7 @@ toughness=2 name=Windrider Patrol abilities=flying aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=@combatdamaged(player) from(this):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto=@combatdamaged(player) from(this):name(Scry 2) _SCRY_(2) text=Flying -- Whenever Windrider Patrol deals combat damage to a player, 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}{U}{U} type=Creature @@ -134987,7 +134990,7 @@ type=Artifact name=Witches' Eye auto={1}:equip aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto=teach(creature) {1}{t}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto=teach(creature) {1}{t}:name(Scry 1) _SCRY_(1) text=Equipped creature has "{1}, {T}: Scry 1." (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) -- Equip {1} mana={1} type=Artifact @@ -137699,4 +137702,4 @@ type=Land Creature subtype=Forest Dryad power=1 toughness=1 -[/card] +[/card] \ No newline at end of file diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 3869235f1..5beaa556b 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -1095,7 +1095,7 @@ subtype=Gideon [card] name=Gideon, Martial Paragon auto=counter(0/0,5,loyalty) -auto={C(0/0,2,Loyalty)}:name(+2: Untap all creatures and get +1/+1) all(creature|mybattlefield) 1/1 && untap ueot +auto={C(0/0,2,Loyalty)}:name(+2: Untap all creatures and get +1/+1) all(creature|mybattlefield) 1/1 && all(creature|mybattlefield) untap ueot auto={C(0/0,0,Loyalty)}:name(+0: Transforms to Human Soldier 5/5) transforms((Creature Human Soldier,setpower=5,settoughness=5,indestructible,newability[preventAllDamage to(this)])) ueot auto={C(0/0,-10,Loyalty)}:name(10: Tap all creatures and +2/+2) all(creature|opponentbattlefield) tap && all(creature|mybattlefield) 2/2 ueot text=+2: Untap all creatures you control. Those creatures get +1/+1 until end of turn. -- 0: Until end of turn, Gideon, Martial Paragon becomes a 5/5 Human Soldier creature with indestructible that's still a planeswalker. Prevent all damage that would be dealt to him this turn. -- -10: Creatures you control get +2/+2 until end of turn. Tap all creatures your opponents control. @@ -1235,7 +1235,7 @@ name=Inzerva, Master of Insights aicode=activate target(*[zpos<=2]|opponentLibrary) moveto(opponentreveal) and!( bottomoflibrary )! auto=counter(0/0,4,loyalty) auto={C(0/0,+2,Loyalty)}:name(+2: Draw 2 cards and discard) draw:2 && transforms((,newability[reject notatarget(*|myhand)])) oneshot -auto={C(0/0,-2,Loyalty)}:name(-2: Look at opponent library and scry 2) reveal:2 revealzone(opponentlibrary) optionone name(Put on top) target(*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(Put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend afterrevealedend revealend +auto={C(0/0,-2,Loyalty)}:name(-2: Look at opponent library and scry 2) reveal:2 revealzone(opponentlibrary) optionone name(Put on top) target(*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(Put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed name(Scry 2) _SCRY_(2) afterrevealedend revealend auto={C(0/0,-4,Loyalty)}:name(-4: Emblem: Draw to deal damage) emblem transforms((,newability[lord(*|opponentBattlefield) showcontrollerhand],newability[lord(*|myBattlefield) showopponenthand],newability[@drawfoeof(player):name(Damage opponent) damage:1 opponent] )) forever dontremove text=+2: Draw two cards, then discard a card. -- −2: Look at the top two cards of each other player's library, then put any number of them on the bottom of that library and the rest on top in any order. Scry 2. -- −4: You get an emblem with "Your opponents play with their hands revealed" and "Whenever an opponent draws a card, this emblem deals 1 damage to them." mana={1}{2U}{2R} @@ -1319,7 +1319,7 @@ auto=counter(0/0,1,loyalty) auto=if paid(kicker) then clone options(nolegend) auto=if casted(this) then counter(0/0,3,loyalty) aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={C(0/0,1,Loyalty)}:name(+1: Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={C(0/0,1,Loyalty)}:name(+1: Scry 2) _SCRY_(2) auto={C(0/0,0,Loyalty)}:name(+0: Draw 1 and remove Loyalty counters) draw:1 restriction{type(*[manacost=0;zpos=1]|mylibrary)~morethan~0} auto={C(0/0,0,Loyalty)}:name(+0: Draw 1 and remove Loyalty counters) draw:1 && counter(0/0,-1,loyalty) restriction{type(*[manacost=1;zpos=1]|mylibrary)~morethan~0} auto={C(0/0,0,Loyalty)}:name(+0: Draw 1 and remove Loyalty counters) draw:1 && counter(0/0,-2,loyalty) restriction{type(*[manacost=2;zpos=1]|mylibrary)~morethan~0} @@ -1532,7 +1532,7 @@ subtype=Karn name=Kasmina, Enigma Sage auto=counter(0/0,2,Loyalty) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={C(0/0.2.Loyalty)}:limit:1 name(+2: Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={C(0/0.2.Loyalty)}:limit:1 name(+2: Scry 1) _SCRY_(1) auto={C(0/0.-1.Loyalty)}:limit:1 name(-1: Create fractal with 1 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1) )! auto={C(0/0.-2.Loyalty)}:limit:1 name(-2: Create fractal with 2 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1.2) )! auto={C(0/0.-3.Loyalty)}:limit:1 name(-3: Create fractal with 3 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1.3) )! @@ -1554,7 +1554,7 @@ auto={C(0/0.-18.Loyalty)}:limit:1 name(-18: Create fractal with 18 counter) toke auto={C(0/0.-19.Loyalty)}:limit:1 name(-19: Create fractal with 19 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1.19) )! auto={C(0/0.-20.Loyalty)}:limit:1 name(-20: Create fractal with 20 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1.20) )! auto={C(0/0.-8.Loyalty)}:limit:1 name(-8: Search instant or sorcery) target(*[instant;sorcery;share!color!]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast],newability[@each untap:canplayfromexile],newability[@each untap:zerocast])) forever )! -auto=lord(other planeswalker|mybattlefield) transforms((,newability[{C(0/0.2.Loyalty)}:limit:1 name(+2: Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) +auto=lord(other planeswalker|mybattlefield) transforms((,newability[{C(0/0.2.Loyalty)}:limit:1 name(+2: Scry 1) _SCRY_(1)])) auto=lord(other planeswalker|mybattlefield) transforms((,newability[{C(0/0.-1.Loyalty)}:limit:1 name(-1: Create fractal with 1 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1) )!])) auto=lord(other planeswalker|mybattlefield) transforms((,newability[{C(0/0.-2.Loyalty)}:limit:1 name(-2: Create fractal with 2 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1.2) )!])) auto=lord(other planeswalker|mybattlefield) transforms((,newability[{C(0/0.-3.Loyalty)}:limit:1 name(-3: Create fractal with 3 counter) token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1.3) )!])) @@ -2173,7 +2173,7 @@ subtype=Nissa name=Nissa, Steward of Elements auto=counter(0/0,X,loyalty) aicode=activate transforms((,newability[if type(creature[manacost<=hascntloyalty;zpos=1]|mylibrary)~morethan~0 then all(*[zpos<=1]|mylibrary) name(Put on battlefield) moveto(mybattlefield)],newability[if type(land[zpos=1]|mylibrary)~morethan~0 then all(*[zpos<=1]|mylibrary) name(Put on battlefield) moveto(mybattlefield)])) oneshot -auto={C(0/0,2,Loyalty)}:name(+2: Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend +auto={C(0/0,2,Loyalty)}:name(+2: Scry 2) _SCRY_(2) auto={C(0/0,0,Loyalty)}: restriction{type(land[zpos=1]|mylibrary)~morethan~0} name(+0: Look top card) reveal:1 optionone name(Put on battlefield) target(land|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put back) target(*|reveal) moveto(mylibrary) optiontwoend revealend auto={C(0/0,0,Loyalty)}: restriction{type(creature[zpos=1]|mylibrary)~morethan~0} name(+0: Look top card) reveal:1 optionone name(Put on battlefield) target(creature[manacost<=hascntloyalty]|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put back) target(*|reveal) moveto(mylibrary) optiontwoend revealend auto={C(0/0,0,Loyalty)}: restriction{type(*[-creature;-land;zpos=1]|mylibrary)~morethan~0} name(+0: Look top card)) reveal:1 optionone name(Put back) target(*|reveal) moveto(mylibrary) optiononeend optiontwo name(Put back) all(*|reveal) moveto(mylibrary) optiontwoend revealend @@ -2349,7 +2349,7 @@ name=Ral, Storm Conduit auto=counter(0/0,4,loyalty) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=@movedTo(*[instant;sorcery]|myStack):ability$!name(Choose one) choice name(Damage opponent) damage:1 target(opponent) _ choice name(Damage Planeswalker) damage:1 target(planeswalker)!$ controller -auto={C(0/0,2,Loyalty)}:name(+2: Scry: 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend +auto={C(0/0,2,Loyalty)}:name(+2: Scry: 1) _SCRY_(1) auto={C(0/0,-2,Loyalty)}:name(-2: Whenever cast instant or sorcery copy spell) emblem transforms((,newability[@movedto(*[instant;sorcery]|myStack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot text=Whenever you cast or copy an instant or sorcery spell, Ral, Storm Conduit deals 1 damage to target opponent or planeswalker. -- +2: Scry 1. -- −2: When you cast your next instant or sorcery spell this turn, copy that spell. You may choose new targets for the copy. mana={3}{U}{R} @@ -2398,7 +2398,7 @@ subtype=Rowan name=Saheeli Rai auto=counter(0/0,3,loyalty) aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot -auto={C(0/0,1,Loyalty)}:name(+1: Scry and deals 1 damage) scry:1 scrycore delayed dontshow donothing scrycoreend scryend && damage:1 opponent +auto={C(0/0,1,Loyalty)}:name(+1: Scry and deals 1 damage) _SCRY_(1) && damage:1 opponent auto={C(0/0,-2,Loyalty)}:name(-2: Create a copy of artifact or creature) target(*[creature;artifact]|myBattlefield) clone with(treason,haste) addtype(artifact) auto={C(0/0,-7,Loyalty)}:name(-7: Search three different artifacts) reveal:plibrarycount optionone name(choose cards) target(artifact|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))! afterrevealedend revealend text=+1: Scry 1. Saheeli Rai deals 1 damage to each opponent. -- −2: Create a token that's a copy of target artifact or creature you control, except it's an artifact in addition to its other types. That token gains haste. Exile it at the beginning of the next end step. -- −7: Search your library for up to three artifact cards with different names, put them onto the battlefield, then shuffle your library.