Merge pull request #939 from kevlahnota/master

Update some cards
This commit is contained in:
Anthony Calosa
2017-02-24 08:55:00 +08:00
committed by GitHub
6 changed files with 155 additions and 81 deletions

View File

@@ -165,7 +165,7 @@ typedef uint32_t u32;
#if defined (ABGR8888) #if defined (ABGR8888)
#ifndef ARGB #ifndef ARGB
#define ARGB(a, r, g, b) ((u32)((a << 24) | (b << 16) | (g << 8) | r)) // macro to assemble pixels in correct format #define ARGB(a, r, g, b) (PIXEL_TYPE)((a << 24) | (r << 16) | (g << 8) | b) // macro to assemble pixels in correct format
#endif #endif
#define MAKE_COLOR(a, c) (a << 24 | c) #define MAKE_COLOR(a, c) (a << 24 | c)
#define MASK_ALPHA 0xFF000000 // masks for accessing individual pixels #define MASK_ALPHA 0xFF000000 // masks for accessing individual pixels

View File

@@ -8962,7 +8962,8 @@ type=Instant
[card] [card]
name=Bant Panorama name=Bant Panorama
auto={T}:Add{1} auto={T}:Add{1}
auto={1}{T}{S}:moveTo(myBattlefield) and!(tap(noevent))! target(forest,plains,island|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[basic&island;forest;plains]|myLibrary)
auto={1}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[basic&island;forest;plains]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Bant Panorama: Search your library for a basic Forest, Plains, or Island card and put it onto the battlefield tapped. Then shuffle your library. text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Bant Panorama: Search your library for a basic Forest, Plains, or Island card and put it onto the battlefield tapped. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -12598,8 +12599,7 @@ toughness=3
[/card] [/card]
[card] [card]
name=Bloodline Shaman name=Bloodline Shaman
aicode=activate transforms((,newability[if type(creature[chosentype;zpos=1]|mylibrary)~morethan~0 then target(creature[chosentype;zpos=1]|mylibrary) moveto(ownerbattlefield) else target(*[zpos=1]|mylibrary) moveto(mygraveyard)])) ueot auto={t}:activatechooseatype if type(creature[chosentype;zpos=1]|mylibrary)~morethan~0 then all(creature[chosentype;zpos=1]|mylibrary) moveto(myhand) else all(*[zpos=1]|mylibrary) moveto(mygraveyard) activatechooseend
auto=chooseatype {t}:transforms((,newability[reveal:1 optionone name(Reveal) target(creature[chosentype]|reveal) moveto(myhand) optiononeend optiontwo name(Discard) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend])) forever chooseend
text={T}: Choose a creature type. Reveal the top card of your library. If that card is a creature card of the chosen type, put it into your hand. Otherwise, put it into your graveyard. text={T}: Choose a creature type. Reveal the top card of your library. If that card is a creature card of the chosen type, put it into your hand. Otherwise, put it into your graveyard.
mana={1}{G} mana={1}{G}
type=Creature type=Creature
@@ -36742,7 +36742,8 @@ toughness=3
[card] [card]
name=Esper Panorama name=Esper Panorama
auto={T}:Add{1} auto={T}:Add{1}
auto={1}{T}{S}:moveTo(myBattlefield) and!(tap(noevent))! target(plains,island,swamp|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[basic&swamp;island;plains]|myLibrary)
auto={1}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[basic&swamp;island;plains]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Esper Panorama: Search your library for a basic Plains, Island, or Swamp card and put it onto the battlefield tapped. Then shuffle your library. text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Esper Panorama: Search your library for a basic Plains, Island, or Swamp card and put it onto the battlefield tapped. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -50430,7 +50431,8 @@ toughness=1
[card] [card]
name=Grixis Panorama name=Grixis Panorama
auto={T}:Add{1} auto={T}:Add{1}
auto={1}{T}{S}:moveTo(myBattlefield) and!(tap(noevent))! target(island,swamp,mountain|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[basic&mountain;island;swamp]|myLibrary)
auto={1}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[basic&mountain;island;swamp]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Grixis Panorama: Search your library for a basic Island, Swamp, or Mountain card and put it onto the battlefield tapped. Then shuffle your library. text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Grixis Panorama: Search your library for a basic Island, Swamp, or Mountain card and put it onto the battlefield tapped. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -60482,7 +60484,8 @@ toughness=1
[card] [card]
name=Jund Panorama name=Jund Panorama
auto={T}:Add{1} auto={T}:Add{1}
auto={1}{T}{S}:moveTo(myBattlefield) and!(tap(noevent))! target(swamp,mountain,forest|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[basic&mountain;forest;swamp]|myLibrary)
auto={1}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[basic&mountain;forest;swamp]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Jund Panorama: Search your library for a basic Swamp, Mountain, or Forest card and put it onto the battlefield tapped. Then shuffle your library. text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Jund Panorama: Search your library for a basic Swamp, Mountain, or Forest card and put it onto the battlefield tapped. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -74759,7 +74762,8 @@ type=Artifact
[/card] [/card]
[card] [card]
name=Misty Rainforest name=Misty Rainforest
auto={L}{T}{S}:moveTo(myBattlefield) target(forest,island|mylibrary) aicode=activate moveTo(myBattlefield) target(*[forest;island]|myLibrary)
auto={L}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[forest;island]|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(ownerbattlefield))! afterrevealedend revealend
text={T}, Pay 1 life, Sacrifice Misty Rainforest: Search your library for a Forest or Island card and put it onto the battlefield. Then shuffle your library. text={T}, Pay 1 life, Sacrifice Misty Rainforest: Search your library for a Forest or Island card and put it onto the battlefield. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -75073,7 +75077,8 @@ toughness=1
[/card] [/card]
[card] [card]
name=Moggcatcher name=Moggcatcher
auto={3}{T}:moveTo(myBattlefield) target(goblin[-instant;-sorcery]|mylibrary) aicode=activate moveTo(myBattlefield) target(goblin[-instant;-sorcery]|myLibrary)
auto={3}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(goblin[-instant;-sorcery]|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={3}, {T}: Search your library for a Goblin permanent card and put that card onto the battlefield. Then shuffle your library. text={3}, {T}: Search your library for a Goblin permanent card and put that card onto the battlefield. Then shuffle your library.
mana={2}{R}{R} mana={2}{R}{R}
type=Creature type=Creature
@@ -75410,7 +75415,7 @@ subtype=Aura
[card] [card]
name=Momir Vig, Simic Visionary name=Momir Vig, Simic Visionary
aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mylibrary))! aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-creature]|*) then moveto(mylibrary))!
auto=@movedTo(creature[green]|mystack):target(creature|mylibrary) moveto(mylibrary) auto=@movedTo(creature[green]|mystack):target(creature|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))!
auto=@movedTo(creature[blue]|mystack):reveal:1 optionone target(creature|reveal) moveto(myhand) optiononeend optiontwo name(Put Back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend auto=@movedTo(creature[blue]|mystack):reveal:1 optionone target(creature|reveal) moveto(myhand) optiononeend optiontwo name(Put Back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend
text=Whenever you cast a green creature spell, you may search your library for a creature card and reveal it. If you do, shuffle your library and put that card on top of it. -- Whenever you cast a blue creature spell, reveal the top card of your library. If it's a creature card, put that card into your hand. text=Whenever you cast a green creature spell, you may search your library for a creature card and reveal it. If you do, shuffle your library and put that card on top of it. -- Whenever you cast a blue creature spell, reveal the top card of your library. If it's a creature card, put that card into your hand.
mana={3}{G}{U} mana={3}{G}{U}
@@ -76338,7 +76343,8 @@ toughness=2
[card] [card]
name=Mountain Valley name=Mountain Valley
auto=tap(noevent) auto=tap(noevent)
auto={T}{S}:moveTo(myBattlefield) target(mountain,forest|myLibrary) aicode=activate moveTo(myBattlefield) target(*[mountain;forest]|myLibrary)
auto={T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[mountain;forest]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
text=Mountain Valley enters the battlefield tapped. -- {T}, Sacrifice Mountain Valley: Search your library for a Mountain or Forest card and put it onto the battlefield. Then shuffle your library. text=Mountain Valley enters the battlefield tapped. -- {T}, Sacrifice Mountain Valley: Search your library for a Mountain or Forest card and put it onto the battlefield. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -76563,7 +76569,8 @@ toughness=1
name=Muddle the Mixture name=Muddle the Mixture
target=instant,sorcery|stack target=instant,sorcery|stack
auto=fizzle auto=fizzle
autohand={1}{U}{U}{discard}:moveTo(myhand) target(*[manacost=2]|mylibrary) asSorcery aicode=activate target(*[manacost=2]|mylibrary) moveto(myhand)
autohand={1}{U}{U}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery
text=Counter target instant or sorcery spell. -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery.) text=Counter target instant or sorcery spell. -- Transmute {1}{U}{U} ({1}{U}{U}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery.)
mana={U}{U} mana={U}{U}
type=Instant type=Instant
@@ -76919,14 +76926,16 @@ subtype=Aura
name=Mwonvuli Acid-Moss name=Mwonvuli Acid-Moss
target=land target=land
auto=destroy auto=destroy
auto=target(forest|mylibrary) moveto(mybattlefield) and!(tap(noevent))! aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(forest|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(forest|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Destroy target land. Search your library for a Forest card and put that card onto the battlefield tapped. Then shuffle your library. text=Destroy target land. Search your library for a Forest card and put that card onto the battlefield tapped. Then shuffle your library.
mana={2}{G}{G} mana={2}{G}{G}
type=Sorcery type=Sorcery
[/card] [/card]
[card] [card]
name=Mwonvuli Beast Tracker name=Mwonvuli Beast Tracker
auto=Reveal:type:*:mylibrary revealzone(mylibrary) revealtype(creature[deathtouch;opponentshroud;reach;trample]|mylibrary) optionone name(choose card) target(creature[deathtouch;opponentshroud;reach;trample]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend revealend aicode=activate target(creature[deathtouch;opponentshroud;reach;trample]|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))!
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[deathtouch;opponentshroud;reach;trample]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=When Mwonvuli Beast Tracker enters the battlefield, search your library for a creature card with deathtouch, hexproof, reach, or trample and reveal it. Shuffle your library and put that card on top of it. text=When Mwonvuli Beast Tracker enters the battlefield, search your library for a creature card with deathtouch, hexproof, reach, or trample and reveal it. Shuffle your library and put that card on top of it.
mana={1}{G}{G} mana={1}{G}{G}
type=Creature type=Creature
@@ -77002,8 +77011,9 @@ toughness=5
[/card] [/card]
[card] [card]
name=Mycosynth Wellspring name=Mycosynth Wellspring
auto=may moveTo(myhand) notatarget(land[basic]|mylibrary) aicode=activate target(land[basic]|mylibrary) moveto(myhand)
auto=@movedTo(this|graveyard) from(battlefield):may moveTo(myhand) notatarget(land[basic]|mylibrary) auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=@movedTo(this|graveyard) from(battlefield):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=When Mycosynth Wellspring enters the battlefield or is put into a graveyard from the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. text=When Mycosynth Wellspring enters the battlefield or is put into a graveyard from the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.
mana={2} mana={2}
type=Artifact type=Artifact
@@ -77112,7 +77122,8 @@ toughness=2
[/card] [/card]
[card] [card]
name=Myr Incubator name=Myr Incubator
auto={6}{T}{S}:target(<anyamount>artifact|mylibrary) moveTo(exile) && token(Myr,Artifact Creature Myr,1/1) controller aicode=activate moveto(exile) target(<anyamount>artifact|mylibrary) and!( token(Myr,Artifact Creature Myr,1/1) controller )!
auto={6}{T}{S}:name(exile cards) reveal:plibrarycount optionone name(choose card) target(<anyamount>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(exile) and!( token(Myr,Artifact Creature Myr,1/1) controller )!)! afterrevealedend revealend
text={6}, {T}, Sacrifice Myr Incubator: Search your library for any number of artifact cards, exile them, then put that many 1/1 colorless Myr artifact creature tokens onto the battlefield. Then shuffle your library. text={6}, {T}, Sacrifice Myr Incubator: Search your library for any number of artifact cards, exile them, then put that many 1/1 colorless Myr artifact creature tokens onto the battlefield. Then shuffle your library.
mana={6} mana={6}
type=Artifact type=Artifact
@@ -77222,7 +77233,8 @@ toughness=1
[card] [card]
name=Myr Turbine name=Myr Turbine
auto={T}:token(Myr,Artifact Creature Myr,1/1) auto={T}:token(Myr,Artifact Creature Myr,1/1)
auto={T}{T(myr|myBattlefield)}{T(myr|myBattlefield)}{T(myr|myBattlefield)}{T(myr|myBattlefield)}{T(myr|myBattlefield)}:moveTo(mybattlefield) target(myr|mylibrary) aicode=activate moveTo(myBattlefield) target(myr|myLibrary)
auto={T}{T(myr|myBattlefield)}{T(myr|myBattlefield)}{T(myr|myBattlefield)}{T(myr|myBattlefield)}{T(myr|myBattlefield)}:name(search card) reveal:plibrarycount optionone name(choose card) target(myr|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={T}: Put a 1/1 colorless Myr artifact creature token onto the battlefield. -- {T}, Tap five untapped Myr you control: Search your library for a Myr card and put that card onto the battlefield, then shuffle your library. text={T}: Put a 1/1 colorless Myr artifact creature token onto the battlefield. -- {T}, Tap five untapped Myr you control: Search your library for a Myr card and put that card onto the battlefield, then shuffle your library.
mana={5} mana={5}
type=Artifact type=Artifact
@@ -77486,7 +77498,8 @@ toughness=4
[/card] [/card]
[card] [card]
name=Mystical Teachings name=Mystical Teachings
auto=moveTo(myhand) notatarget(*[instant;flash]|myLibrary) aicode=activate target(*[instant;flash]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[instant;flash]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
flashback={5}{B} flashback={5}{B}
text=Search your library for an instant card or a card with flash, reveal it, and put it into your hand. Then shuffle your library. -- Flashback {5}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) text=Search your library for an instant card or a card with flash, reveal it, and put it into your hand. Then shuffle your library. -- Flashback {5}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{U} mana={3}{U}
@@ -77495,7 +77508,7 @@ type=Instant
[card] [card]
name=Mystical Tutor name=Mystical Tutor
aicode=activate target(*[instant;sorcery]|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))! aicode=activate target(*[instant;sorcery]|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))!
auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[instant;sorcery]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[instant;sorcery]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Search your library for an instant or sorcery card and reveal that card. Shuffle your library, then put the card on top of it. text=Search your library for an instant or sorcery card and reveal that card. Shuffle your library, then put the card on top of it.
mana={U} mana={U}
type=Instant type=Instant
@@ -77589,10 +77602,11 @@ type=Sorcery
[card] [card]
name=Nahiri, the Harbinger name=Nahiri, the Harbinger
auto=counter(0/0,4,loyalty) auto=counter(0/0,4,loyalty)
aicode=activate moveto(mybattlefield) notatarget(artifact,creature|mylibrary) and!( transforms((,newability[haste],newability[phaseaction[endofturn sourceinplay] moveTo(ownerhand)])) forever )!
auto={C(0/0,2,Loyalty)}:name(+2: Discard to draw) notatarget(*|myhand) transforms((,newability[reject and!(draw:1)!])) forever auto={C(0/0,2,Loyalty)}:name(+2: Discard to draw) notatarget(*|myhand) transforms((,newability[reject and!(draw:1)!])) forever
auto={C(0/0,-2,Loyalty)}:name(-2: Exile tapped Artifact or Creature) target(*[artifact;creature;tapped]) moveto(exile) auto={C(0/0,-2,Loyalty)}:name(-2: Exile tapped Artifact or Creature) target(*[artifact;creature;tapped]) moveto(exile)
auto={C(0/0,-2,Loyalty)}:name(-2: Exile target Enchantment) target(enchantment) moveto(exile) auto={C(0/0,-2,Loyalty)}:name(-2: Exile target Enchantment) target(enchantment) moveto(exile)
auto={C(0/0,-8,Loyalty)}:name(-8: Fetch) moveto(mybattlefield) notatarget(artifact,creature|mylibrary) and!( transforms((,newability[haste],newability[phaseaction[endofturn sourceinplay] moveTo(ownerhand)])) forever )! auto={C(0/0,-8,Loyalty)}:name(-8: Fetch) reveal:plibrarycount optionone name(choose card) target(artifact,creature|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(mybattlefield) and!( transforms((,newability[haste],newability[phaseaction[endofturn sourceinplay] moveTo(ownerhand)])) forever )!)! afterrevealedend revealend
text=+2: You may discard a card. If you do, draw a card. -- -2: Exile target enchantment, tapped artifact, or tapped creature. -- -8: Search your library for an artifact or creature card, put it onto the battlefield, then shuffle your library. It gains haste. Return it to your hand at the beginning of the next end step. text=+2: You may discard a card. If you do, draw a card. -- -2: Exile target enchantment, tapped artifact, or tapped creature. -- -8: Search your library for an artifact or creature card, put it onto the battlefield, then shuffle your library. It gains haste. Return it to your hand at the beginning of the next end step.
mana={2}{R}{W} mana={2}{R}{W}
type=Planeswalker type=Planeswalker
@@ -77892,7 +77906,8 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Natural Connection name=Natural Connection
auto=moveto(mybattlefield) and!(tap(noevent))! notatarget(land[basic]|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={2}{G} mana={2}{G}
type=Instant type=Instant
@@ -77924,7 +77939,8 @@ type=Instant
[/card] [/card]
[card] [card]
name=Natural Order name=Natural Order
auto=moveTo(myBattlefield) target(creature[green]|myLibrary) aicode=activate moveTo(myBattlefield) target(creature[green]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(creature[green]|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=As an additional cost to cast Natural Order, sacrifice a green creature. -- Search your library for a green creature card and put it onto the battlefield. Then shuffle your library. text=As an additional cost to cast Natural Order, sacrifice a green creature. -- Search your library for a green creature card and put it onto the battlefield. Then shuffle your library.
mana={2}{G}{G}{S(creature[green]|mybattlefield)} mana={2}{G}{G}{S(creature[green]|mybattlefield)}
type=Sorcery type=Sorcery
@@ -77990,7 +78006,8 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Nature's Lore name=Nature's Lore
auto=moveTo(myBattlefield) notatarget(forest|myLibrary) aicode=activate moveTo(myBattlefield) target(forest|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(forest|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
text=Search your library for a Forest card and put that card onto the battlefield. Then shuffle your library. text=Search your library for a Forest card and put that card onto the battlefield. Then shuffle your library.
mana={1}{G} mana={1}{G}
type=Sorcery type=Sorcery
@@ -78098,7 +78115,8 @@ toughness=1
[card] [card]
name=Naya Panorama name=Naya Panorama
auto={T}:Add{1} auto={T}:Add{1}
auto={1}{T}{S}:moveTo(myBattlefield) and!(tap(noevent))! target(mountain,forest,plains|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[basic&mountain;forest;plains]|myLibrary)
auto={1}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[basic&mountain;forest;plains]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Naya Panorama: Search your library for a basic Mountain, Forest, or Plains card and put it onto the battlefield tapped. Then shuffle your library. text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Naya Panorama: Search your library for a basic Mountain, Forest, or Plains card and put it onto the battlefield tapped. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -78725,7 +78743,8 @@ toughness=2
[card] [card]
name=Nesting Wurm name=Nesting Wurm
abilities=trample abilities=trample
auto=moveTo(myhand) target(<upto:3>nesting wurm|mylibrary) aicode=activate target(<upto:3>nesting wurm|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:3>nesting wurm|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Trample -- When Nesting Wurm enters the battlefield, you may search your library for up to three cards named Nesting Wurm, reveal them, and put them into your hand. If you do, shuffle your library. text=Trample -- When Nesting Wurm enters the battlefield, you may search your library for up to three cards named Nesting Wurm, reveal them, and put them into your hand. If you do, shuffle your library.
mana={4}{G}{G} mana={4}{G}{G}
type=Creature type=Creature
@@ -78795,7 +78814,8 @@ type=World Enchantment
[card] [card]
name=Netherborn Phalanx name=Netherborn Phalanx
auto=life:-type:creature:opponentbattlefield opponent auto=life:-type:creature:opponentbattlefield opponent
autohand={1}{B}{B}{discard}:moveTo(myhand) target(*[manacost=6]|mylibrary) asSorcery aicode=activate moveTo(myhand) target(*[manacost=6]|mylibrary)
autohand={1}{B}{B}{discard}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[manacost=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery
text=When Netherborn Phalanx enters the battlefield, each opponent loses 1 life for each creature he or she controls. -- Transmute {1}{B}{B} ({1}{B}{B}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery.) text=When Netherborn Phalanx enters the battlefield, each opponent loses 1 life for each creature he or she controls. -- Transmute {1}{B}{B} ({1}{B}{B}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery.)
mana={5}{B} mana={5}{B}
type=Creature type=Creature
@@ -78959,7 +78979,8 @@ type=Instant
[card] [card]
name=Neverending Torment name=Neverending Torment
target=player target=player
auto=moveto(exile) target(<phandcount>*|targetedpersonslibrary) aicode=activate moveto(exile) target(<phandcount>*|targetedpersonslibrary)
auto=name(exile cards) reveal:type:*:targetedpersonslibrary revealzone(targetedpersonslibrary) optionone name(choose card) target(<phandcount>*|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend revealend
auto=if compare(epicactivated)~lessthan~1 then emblem transforms((,newability[epic controller],newability[@each my upkeep:castcard(copied named!:Neverending Torment:!)])) forever dontremove auto=if compare(epicactivated)~lessthan~1 then emblem transforms((,newability[epic controller],newability[@each my upkeep:castcard(copied named!:Neverending Torment:!)])) forever dontremove
text=Search target player's library for X cards, where X is the number of cards in your hand, and exile them. Then that player shuffles his or her library. -- Epic (For the rest of the game, you can't cast spells. At the beginning of each of your upkeeps, copy this spell except for its epic ability. You may choose a new target for the copy.) text=Search target player's library for X cards, where X is the number of cards in your hand, and exile them. Then that player shuffles his or her library. -- Epic (For the rest of the game, you can't cast spells. At the beginning of each of your upkeeps, copy this spell except for its epic ability. You may choose a new target for the copy.)
mana={4}{B}{B} mana={4}{B}{B}
@@ -79327,7 +79348,8 @@ toughness=0
[card] [card]
name=Nightmare Incursion name=Nightmare Incursion
target=player target=player
auto=ability$!target(<type:swamp:mybattlefield>*|opponentlibrary) moveTo(exile)!$ controller aicode=activate moveto(exile) target(<type:swamp:mybattlefield>*|targetedpersonslibrary)
auto=name(exile cards) reveal:type:*:targetedpersonslibrary revealzone(targetedpersonslibrary) optionone name(choose card) target(<type:swamp:mybattlefield>*|reveal) moveto(exile) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend revealend
text=Search target player's library for up to X cards, where X is the number of Swamps you control, and exile them. Then that player shuffles his or her library. text=Search target player's library for up to X cards, where X is the number of Swamps you control, and exile them. Then that player shuffles his or her library.
mana={5}{B} mana={5}{B}
type=Sorcery type=Sorcery
@@ -79786,9 +79808,10 @@ mana={4}{B}{B}
[card] [card]
name=Nissa Revane name=Nissa Revane
auto=counter(0/0,2,loyalty) auto=counter(0/0,2,loyalty)
aicode=activate moveTo(mybattlefield) target(<anyamount>creature[elf]|mylibrary)
auto={C(0/0,1,Loyalty)}:name(+1: fetch) moveTo(mybattlefield) target(Nissa's Chosen|mylibrary) auto={C(0/0,1,Loyalty)}:name(+1: fetch) moveTo(mybattlefield) target(Nissa's Chosen|mylibrary)
auto={C(0/0,1,Loyalty)}:name(+1: gain life) life:twicetype:elf:mybattlefield controller auto={C(0/0,1,Loyalty)}:name(+1: gain life) life:twicetype:elf:mybattlefield controller
auto={C(0/0,-7,Loyalty)}:name(-7: ultimate) moveTo(mybattlefield) target(<anyamount>creature[elf]|mylibrary) auto={C(0/0,-7,Loyalty)}:name(-7: ultimate) reveal:plibrarycount optionone name(choose card) target(<anyamount>creature[elf]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
text=+1: Search your library for a card named Nissa's Chosen and put it onto the battlefield. Then shuffle your library. -- +1: You gain 2 life for each Elf you control. -- -7: Search your library for any number of Elf creature cards and put them onto the battlefield. Then shuffle your library. text=+1: Search your library for a card named Nissa's Chosen and put it onto the battlefield. Then shuffle your library. -- +1: You gain 2 life for each Elf you control. -- -7: Search your library for any number of Elf creature cards and put them onto the battlefield. Then shuffle your library.
mana={2}{G}{G} mana={2}{G}{G}
type=Planeswalker type=Planeswalker
@@ -79818,7 +79841,8 @@ subtype=Nissa
[/card] [/card]
[card] [card]
name=Nissa, Vastwood Seer name=Nissa, Vastwood Seer
auto=name(search forest) may moveto(ownerhand) notatarget(forest[basic]|mylibrary) aicode=activate target(forest[basic]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=@movedto(land|mybattlefield):moveto(exile) and!( moveto(ownerbattlefield) and!(flip(Nissa, Sage Animist) && counter(0/0,3,loyalty))! )! auto=@movedto(land|mybattlefield):moveto(exile) and!( moveto(ownerbattlefield) and!(flip(Nissa, Sage Animist) && counter(0/0,3,loyalty))! )!
text=When Nissa, Vastwood Seer enters the battlefield, you may search your library for a basic Forest card, reveal it, put it into your hand, then shuffle your library. -- Whenever a land enters the battlefield under your control, if you control seven or more lands, exile Nissa, then return her to the battlefield transformed under her owner's control. text=When Nissa, Vastwood Seer enters the battlefield, you may search your library for a basic Forest card, reveal it, put it into your hand, then shuffle your library. -- Whenever a land enters the battlefield under your control, if you control seven or more lands, exile Nissa, then return her to the battlefield transformed under her owner's control.
mana={2}{G} mana={2}{G}
@@ -79852,9 +79876,10 @@ subtype=Nissa
[card] [card]
name=Nissa, Worldwaker name=Nissa, Worldwaker
auto=counter(0/0,3,loyalty) auto=counter(0/0,3,loyalty)
aicode=activate moveTo(mybattlefield) target(<anyamount>land[basic]|mylibrary) and!( becomes(Elemental Creature,4/4,trample) forever )! oneshot
auto={C(0/0,1,Loyalty)}:name(+1: land becomes 4/4) target(land|mybattlefield) becomes(Elemental Creature,4/4,trample) forever auto={C(0/0,1,Loyalty)}:name(+1: land becomes 4/4) target(land|mybattlefield) becomes(Elemental Creature,4/4,trample) forever
auto={C(0/0,1,Loyalty)}:name(+1: untap up to 4 forest) target(<upto:4>forest|mybattlefield) untap auto={C(0/0,1,Loyalty)}:name(+1: untap up to 4 forest) target(<upto:4>forest|mybattlefield) untap
auto={C(0/0,-7,Loyalty)}:name(-7: search Lands) moveTo(mybattlefield) target(<anyamount>land[basic]|mylibrary) and!( becomes(Elemental Creature,4/4,trample) forever )! oneshot auto={C(0/0,-7,Loyalty)}:name(-7: search Lands) reveal:plibrarycount optionone name(choose card) target(<anyamount>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(mybattlefield) and!( becomes(Elemental Creature,4/4,trample) forever )! oneshot)! afterrevealedend revealend
text=+1: Target land you control becomes a 4/4 Elemental creature with trample. It's still a land. -- +1: Untap up to four target Forests. -- -7: Search your library for any number of basic land cards, put them onto the battlefield, then shuffle your library. Those lands become 4/4 Elemental creatures with trample. They're still lands. text=+1: Target land you control becomes a 4/4 Elemental creature with trample. It's still a land. -- +1: Untap up to four target Forests. -- -7: Search your library for any number of basic land cards, put them onto the battlefield, then shuffle your library. Those lands become 4/4 Elemental creatures with trample. They're still lands.
mana={3}{G}{G} mana={3}{G}{G}
type=Planeswalker type=Planeswalker
@@ -79872,9 +79897,8 @@ toughness=3
[/card] [/card]
[card] [card]
name=Nissa's Expedition name=Nissa's Expedition
target=<upto:2>land[basic]|mylibrary aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>land[basic]|myLibrary)
auto=moveto(mybattlefield) auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:2>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
auto=tap
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library. text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library.
other={convoke} name(Convoke) other={convoke} name(Convoke)
mana={4}{G} mana={4}{G}
@@ -79882,14 +79906,17 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Nissa's Pilgrimage name=Nissa's Pilgrimage
auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then name(fetch to play) notatarget(forest[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(<upto:2>forest[basic]|mylibrary) moveTo(myhand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot else name(fetch to play) notatarget(forest[basic]|mylibrary) transforms((,newability[name(move to hand) notatarget(forest[basic]|mylibrary) moveTo(myhand)],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot aicode=activate transforms((,newability[if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>forest[basic]|myLibrary)],newability[if type(*[instant;sorcery]|mygraveyard)~morethan~1 then moveTo(myBattlefield) and!(tap(noevent))! target(<upto:3>forest[basic]|myLibrary)])) ueot
auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:3>forest[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
auto=if type(*[instant;sorcery]|mygraveyard)~lessthan~2 then name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:2>forest[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Search your library for up to two basic Forest cards, reveal those cards, and put one onto the battlefield tapped and the rest into your hand. Then shuffle your library. -- Spell mastery -- If there are two or more instant and/or sorcery cards in your graveyard, search your library for up to three basic Forest cards instead of two. text=Search your library for up to two basic Forest cards, reveal those cards, and put one onto the battlefield tapped and the rest into your hand. Then shuffle your library. -- Spell mastery -- If there are two or more instant and/or sorcery cards in your graveyard, search your library for up to three basic Forest cards instead of two.
mana={2}{G} mana={2}{G}
type=Sorcery type=Sorcery
[/card] [/card]
[card] [card]
name=Nissa's Renewal name=Nissa's Renewal
auto=moveto(mybattlefield) and!(tap(noevent))! notatarget(<upto:3>land[basic]|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:3>land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:3>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
auto=life:7 controller auto=life:7 controller
text=Search your library for up to three basic land cards, put them onto the battlefield tapped, then shuffle your library. You gain 7 life. text=Search your library for up to three basic land cards, put them onto the battlefield tapped, then shuffle your library. You gain 7 life.
mana={5}{G} mana={5}{G}
@@ -80067,7 +80094,8 @@ type=Enchantment
[card] [card]
name=Noble Templar name=Noble Templar
abilities=vigilance abilities=vigilance
autohand={2}{cycle}:name(plainscycling) moveTo(myhand) target(plains|mylibrary) aicode=activate target(plains|mylibrary) moveto(myhand)
autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Vigilance -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, and put it into your hand. Then shuffle your library.) text=Vigilance -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, and put it into your hand. Then shuffle your library.)
mana={5}{W} mana={5}{W}
type=Creature type=Creature
@@ -81787,7 +81815,8 @@ toughness=1
[/card] [/card]
[card] [card]
name=Ondu Giant name=Ondu Giant
auto=may moveTo(myBattlefield) and!(tap(noevent))! target(basic|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=When Ondu Giant enters the battlefield, search your library for a basic land card and put that card onto the battlefield tapped. Then shuffle your library. text=When Ondu Giant enters the battlefield, search your library for a basic land card and put that card onto the battlefield tapped. Then shuffle your library.
mana={3}{G} mana={3}{G}
type=Creature type=Creature
@@ -81859,7 +81888,8 @@ subtype=Aura
[card] [card]
name=One with Nature name=One with Nature
target=creature target=creature
auto=@damaged(player) from(mytgt):may moveto(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=@combatdamaged(player) from(mytgt):name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Enchant creature -- Whenever enchanted creature deals combat damage to a player, you may search your library for a basic land card, put that card onto the battlefield tapped, then shuffle your library. text=Enchant creature -- Whenever enchanted creature deals combat damage to a player, you may search your library for a basic land card, put that card onto the battlefield tapped, then shuffle your library.
mana={G} mana={G}
type=Enchantment type=Enchantment
@@ -82138,7 +82168,7 @@ toughness=2
[card] [card]
name=Open the Armory name=Open the Armory
aicode=activate notatarget(*[aura;equipment]|mylibrary) moveTo(ownerhand) aicode=activate notatarget(*[aura;equipment]|mylibrary) moveTo(ownerhand)
auto=Reveal:type:*:mylibrary revealzone(mylibrary) revealtype(*[aura;equipment]|mylibrary) optionone name(choose card) target(*[aura;equipment]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend revealend auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) revealtype(*[aura;equipment]|mylibrary) optionone name(choose card) target(*[aura;equipment]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend revealend
text=Search your library for an Aura or Equipment card, reveal it, and put it into your hand. Then shuffle your library. text=Search your library for an Aura or Equipment card, reveal it, and put it into your hand. Then shuffle your library.
mana={1}{W} mana={1}{W}
type=Sorcery type=Sorcery
@@ -83646,7 +83676,8 @@ toughness=2
[card] [card]
name=Pale Recluse name=Pale Recluse
abilities=reach abilities=reach
autohand={2}{cycle}:name(forestcycling or plainscycling) moveTo(myhand) target(plains,forest|mylibrary) aicode=activate target(*[plains;forest]|mylibrary) moveto(myhand)
autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[plains;forest]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Reach (This can block creatures with flying.) -- Forestcycling {2}, plainscycling {2} ({2}, Discard this card: Search your library for a Forest or Plains card, reveal it, and put it into your hand. Then shuffle your library.) text=Reach (This can block creatures with flying.) -- Forestcycling {2}, plainscycling {2} ({2}, Discard this card: Search your library for a Forest or Plains card, reveal it, and put it into your hand. Then shuffle your library.)
mana={4}{G}{W} mana={4}{G}{W}
type=Creature type=Creature
@@ -84251,7 +84282,7 @@ type=Sorcery
[card] [card]
name=Path to Exile name=Path to Exile
target=creature target=creature
auto=transforms((,newability[moveto(exile)],newability[name(fetch basic land) notatarget(land[basic]|mylibrary) moveTo(mybattlefield) and!( tap(noevent) )! ])) oneshot auto=moveto(exile) && ability$!name(search land) notatarget(land[basic]|mylibrary) moveTo(mybattlefield) and!(tap(noevent))!!$ targetcontroller
text=Exile target creature. Its controller may search his or her library for a basic land card, put that card onto the battlefield tapped, then shuffle his or her library. text=Exile target creature. Its controller may search his or her library for a basic land card, put that card onto the battlefield tapped, then shuffle his or her library.
mana={W} mana={W}
type=Instant type=Instant
@@ -84421,7 +84452,7 @@ toughness=2
[card] [card]
name=Pattern of Rebirth name=Pattern of Rebirth
target=creature target=creature
auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) transforms((,newability[target(creature|mylibrary) moveTo(mybattlefield)])) auto=teach(creature) transforms((,newability[@movedTo(this|graveyard) from(battlefield):name(search creature) ability$!moveTo(myBattlefield) target(creature|myLibrary)!$ controller]))
text=Enchant creature -- When enchanted creature is put into a graveyard, that creature's controller may search his or her library for a creature card and put that card onto the battlefield. If that player does, he or she then shuffles his or her library. text=Enchant creature -- When enchanted creature is put into a graveyard, that creature's controller may search his or her library for a creature card and put that card onto the battlefield. If that player does, he or she then shuffles his or her library.
mana={3}{G} mana={3}{G}
type=Enchantment type=Enchantment
@@ -84915,7 +84946,8 @@ toughness=4
[/card] [/card]
[card] [card]
name=Perilous Forays name=Perilous Forays
auto={1}{S(creature|mybattlefield)}:target(*[swamp;island;mountain;forest;plains]|mylibrary) moveTo(myBattlefield) and!(tap(noevent))! aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[swamp;island;mountain;forest;plains]|myLibrary)
auto={1}{S(creature|mybattlefield)}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[swamp;island;mountain;forest;plains]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text={1}, Sacrifice a creature: Search your library for a land card with a basic land type and put it onto the battlefield tapped. Then shuffle your library. text={1}, Sacrifice a creature: Search your library for a land card with a basic land type and put it onto the battlefield tapped. Then shuffle your library.
mana={3}{G}{G} mana={3}{G}{G}
type=Enchantment type=Enchantment
@@ -86204,6 +86236,7 @@ toughness=2
[card] [card]
name=Pick the Brain name=Pick the Brain
target=opponent target=opponent
aicode=activate notatarget(*[-land]|targetedpersonshand) moveto(exile) and!( if delirium then transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )!
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) moveto(exile) and!( if delirium then transforms((,newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)],newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!]))) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) target(*[-land]|reveal) moveto(exile) and!( if delirium then transforms((,newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) moveto(exile)],newability[all(*[share!name!]|mylibrary) moveto(exile) and!(shuffle)!]))) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
text=Target opponent reveals his or her hand. You choose a nonland card from it and exile that card. -- Delirium -- If there are four or more card types among cards in your graveyard, search that player's graveyard, hand, and library for any number of cards with the same name as the exiled card, exile those cards, then that player shuffles his or her library. text=Target opponent reveals his or her hand. You choose a nonland card from it and exile that card. -- Delirium -- If there are four or more card types among cards in your graveyard, search that player's graveyard, hand, and library for any number of cards with the same name as the exiled card, exile those cards, then that player shuffles his or her library.
mana={2}{B} mana={2}{B}
@@ -86264,7 +86297,8 @@ toughness=4
[card] [card]
name=Pilgrim's Eye name=Pilgrim's Eye
abilities=flying abilities=flying
auto=may moveTo(ownerhand) target(land[basic]|mylibrary) aicode=activate target(land[basic]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Flying -- When Pilgrim's Eye enters the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. text=Flying -- When Pilgrim's Eye enters the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.
mana={3} mana={3}
type=Artifact Creature type=Artifact Creature
@@ -86830,7 +86864,8 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Planar Bridge name=Planar Bridge
auto={8}{T}:moveTo(myBattlefield) notatarget(*[-instant;-sorcery]|mylibrary) aicode=activate moveTo(myBattlefield) target(*[-instant;-sorcery]|myLibrary)
auto={8}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[-instant;-sorcery]|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!(activate castcard(putinplay))! afterrevealedend revealend
text={8}, {T}: Search your library for a permanent card, put it onto the battlefield, then shuffle your library. text={8}, {T}: Search your library for a permanent card, put it onto the battlefield, then shuffle your library.
mana={6} mana={6}
type=Legendary Artifact type=Legendary Artifact
@@ -86889,7 +86924,9 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Planar Portal name=Planar Portal
auto={6}{T}:moveTo(myHand) target(*|myLibrary) abilities=hiddenface
aicode=activate moveTo(myhand) target(*|mylibrary)
auto={6}{T}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text={6}, {T}: Search your library for a card and put that card into your hand. Then shuffle your library. text={6}, {T}: Search your library for a card and put that card into your hand. Then shuffle your library.
mana={6} mana={6}
type=Artifact type=Artifact
@@ -87050,7 +87087,8 @@ toughness=2
[/card] [/card]
[card] [card]
name=Plea for Guidance name=Plea for Guidance
auto=moveto(myhand) notatarget(<upto:2>enchantment|mylibrary) aicode=activate target(<upto:2>enchantment|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:2>enchantment|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Search your library for up to two enchantment cards, reveal them, and put them into your hand. Then shuffle your library. text=Search your library for up to two enchantment cards, reveal them, and put them into your hand. Then shuffle your library.
mana={5}{W} mana={5}{W}
type=Sorcery type=Sorcery
@@ -87206,7 +87244,8 @@ toughness=3
[/card] [/card]
[card] [card]
name=Polluted Delta name=Polluted Delta
auto={L}{T}{S}:moveTo(myBattlefield) target(island,swamp|mylibrary) aicode=activate moveTo(myBattlefield) target(*[island;swamp]|myLibrary)
auto={L}{T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[island;swamp]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerbattlefield))! afterrevealedend revealend
text={T}, Pay 1 life, Sacrifice Polluted Delta: Search your library for an Island or Swamp card and put it onto the battlefield. Then shuffle your library. text={T}, Pay 1 life, Sacrifice Polluted Delta: Search your library for an Island or Swamp card and put it onto the battlefield. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -88062,7 +88101,8 @@ subtype=Aura
[/card] [/card]
[card] [card]
name=Primal Druid name=Primal Druid
auto=@movedTo(this|graveyard) from(battlefield):may notatarget(land[basic]|mylibrary) moveto(mybattlefield) and!(tap(noevent))! aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=@movedTo(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=When Primal Druid dies, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. text=When Primal Druid dies, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={1}{G} mana={1}{G}
type=Creature type=Creature
@@ -88091,9 +88131,9 @@ subtype=Aura
[/card] [/card]
[card] [card]
name=Primal Growth name=Primal Growth
target=land[basic]|mylibrary aicode=activate transforms((,newability[ifnot paid(alternative) then target(land[basic]|mylibrary) moveto(mybattlefield)],newability[if paid(alternative) then target(<2>land[basic]|mylibrary) moveto(mybattlefield)])) ueot
auto=moveto(mybattlefield) auto=ifnot paid(alternative) then name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
auto=alternative target(land[basic]|mylibrary) moveto(mybattlefield) auto=if paid(alternative) then name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:2>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Kicker - Sacrifice a creature. (You may sacrifice a creature in addition to any other costs as you cast this spell.) -- Search your library for a basic land card, put that card onto the battlefield, then shuffle your library. If Primal Growth was kicked, instead search your library for two basic land cards, put them onto the battlefield, then shuffle your library. text=Kicker - Sacrifice a creature. (You may sacrifice a creature in addition to any other costs as you cast this spell.) -- Search your library for a basic land card, put that card onto the battlefield, then shuffle your library. If Primal Growth was kicked, instead search your library for two basic land cards, put them onto the battlefield, then shuffle your library.
mana={2}{G} mana={2}{G}
other={2}{G}{S(creature|mybattlefield)} name(Pay Kicker) other={2}{G}{S(creature|mybattlefield)} name(Pay Kicker)
@@ -88226,8 +88266,9 @@ toughness=3
[card] [card]
name=Primeval Titan name=Primeval Titan
abilities=trample abilities=trample
auto=may target(<upto:2>land|mylibrary) and!(tap(noevent))! moveTo(mybattlefield) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>land|myLibrary)
auto=@combat(attacking) source(this):may target(<upto:2>land|mylibrary) moveTo(mybattlefield) and!(tap(noevent))! auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:2>land|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
auto=@combat(attacking) source(this):name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:2>land|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Trample -- Whenever Primeval Titan enters the battlefield or attacks, you may search your library for up to two land cards, put them onto the battlefield tapped, then shuffle your library. text=Trample -- Whenever Primeval Titan enters the battlefield or attacks, you may search your library for up to two land cards, put them onto the battlefield tapped, then shuffle your library.
mana={4}{G}{G} mana={4}{G}{G}
type=Creature type=Creature
@@ -89917,7 +89958,8 @@ type=Enchantment
[card] [card]
name=Quest for the Holy Relic name=Quest for the Holy Relic
auto=@movedTo(creature|mystack):may counter(0/0,1,Quest) all(this) auto=@movedTo(creature|mystack):may counter(0/0,1,Quest) all(this)
auto={C(0/0,-5,Quest)}{S}:name(move and attach) target(equipment|mylibrary) moveto(mybattlefield) and!(transforms((,newability[rehook target(creature|mybattlefield)])))! aicode=activate target(equipment|mylibrary) moveto(mybattlefield) and!(transforms((,newability[rehook target(creature|mybattlefield)])))!
auto={C(0/0,-5,Quest)}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>equipment|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(mybattlefield) and!(transforms((,newability[rehook target(creature|mybattlefield)])))!)! afterrevealedend revealend
text=Whenever you cast a creature spell, you may put a quest counter on Quest for the Holy Relic. -- Remove five quest counters from Quest for the Holy Relic and sacrifice it: Search your library for an Equipment card, put it onto the battlefield, and attach it to a creature you control. Then shuffle your library. text=Whenever you cast a creature spell, you may put a quest counter on Quest for the Holy Relic. -- Remove five quest counters from Quest for the Holy Relic and sacrifice it: Search your library for an Equipment card, put it onto the battlefield, and attach it to a creature you control. Then shuffle your library.
mana={W} mana={W}
type=Enchantment type=Enchantment
@@ -90261,7 +90303,8 @@ toughness=1
[/card] [/card]
[card] [card]
name=Quirion Trailblazer name=Quirion Trailblazer
auto=may moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=When Quirion Trailblazer enters the battlefield, you may search your library for a basic land card and put that card onto the battlefield tapped. If you do, shuffle your library. text=When Quirion Trailblazer enters the battlefield, you may search your library for a basic land card and put that card onto the battlefield tapped. If you do, shuffle your library.
mana={3}{G} mana={3}{G}
type=Creature type=Creature
@@ -91182,7 +91225,8 @@ toughness=3
[card] [card]
name=Ramosian Captain name=Ramosian Captain
abilities=first strike abilities=first strike
auto={5}{T}:moveTo(myBattlefield) target(rebel[manacost<=4]|mylibrary) aicode=activate moveTo(myBattlefield) target(rebel[manacost<=4]|myLibrary)
auto={5}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(rebel[manacost<=4]|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!(activate castcard(putinplay))! afterrevealedend revealend
text=First strike -- {5}, {T}: Search your library for a Rebel permanent card with converted mana cost 4 or less and put that card onto the battlefield. Then shuffle your library. text=First strike -- {5}, {T}: Search your library for a Rebel permanent card with converted mana cost 4 or less and put that card onto the battlefield. Then shuffle your library.
mana={1}{W}{W} mana={1}{W}{W}
type=Creature type=Creature
@@ -91192,7 +91236,8 @@ toughness=2
[/card] [/card]
[card] [card]
name=Ramosian Commander name=Ramosian Commander
auto={6}{T}:moveTo(myBattlefield) target(rebel[manacost<=5]|mylibrary) aicode=activate moveTo(myBattlefield) target(rebel[manacost<=5]|myLibrary)
auto={6}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(rebel[manacost<=5]|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!(activate castcard(putinplay))! afterrevealedend revealend
text={6}, {T}: Search your library for a Rebel permanent card with converted mana cost 5 or less and put that card onto the battlefield. Then shuffle your library. text={6}, {T}: Search your library for a Rebel permanent card with converted mana cost 5 or less and put that card onto the battlefield. Then shuffle your library.
mana={2}{W}{W} mana={2}{W}{W}
type=Creature type=Creature
@@ -91202,7 +91247,8 @@ toughness=4
[/card] [/card]
[card] [card]
name=Ramosian Lieutenant name=Ramosian Lieutenant
auto={4}{T}:moveTo(myBattlefield) target(rebel[manacost<=3]|mylibrary) aicode=activate moveTo(myBattlefield) target(rebel[manacost<=3]|myLibrary)
auto={4}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(rebel[manacost<=3]|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!(activate castcard(putinplay))! afterrevealedend revealend
text={4}, {T}: Search your library for a Rebel permanent card with converted mana cost 3 or less and put that card onto the battlefield. Then shuffle your library. text={4}, {T}: Search your library for a Rebel permanent card with converted mana cost 3 or less and put that card onto the battlefield. Then shuffle your library.
mana={1}{W} mana={1}{W}
type=Creature type=Creature
@@ -91231,7 +91277,8 @@ toughness=2
[/card] [/card]
[card] [card]
name=Ramosian Sergeant name=Ramosian Sergeant
auto={3}{T}:moveTo(myBattlefield) target(rebel[manacost<=2]|mylibrary) aicode=activate moveTo(myBattlefield) target(rebel[manacost<=2]|myLibrary)
auto={3}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(rebel[manacost<=2]|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!(activate castcard(putinplay))! afterrevealedend revealend
text={3}, {T}: Search your library for a Rebel permanent card with converted mana cost 2 or less and put that card onto the battlefield. Then shuffle your library. text={3}, {T}: Search your library for a Rebel permanent card with converted mana cost 2 or less and put that card onto the battlefield. Then shuffle your library.
mana={W} mana={W}
type=Creature type=Creature
@@ -91242,7 +91289,8 @@ toughness=1
[card] [card]
name=Ramosian Sky Marshal name=Ramosian Sky Marshal
abilities=flying abilities=flying
auto={7}{T}:moveTo(myBattlefield) target(rebel[manacost<=6]|mylibrary) aicode=activate moveTo(myBattlefield) target(rebel[manacost<=6]|myLibrary)
auto={7}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(rebel[manacost<=6]|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!(activate castcard(putinplay))! afterrevealedend revealend
text=Flying -- {7}, {T}: Search your library for a Rebel permanent card with converted mana cost 6 or less and put that card onto the battlefield. Then shuffle your library. text=Flying -- {7}, {T}: Search your library for a Rebel permanent card with converted mana cost 6 or less and put that card onto the battlefield. Then shuffle your library.
mana={3}{W}{W} mana={3}{W}{W}
type=Creature type=Creature
@@ -91273,7 +91321,8 @@ toughness=4
[/card] [/card]
[card] [card]
name=Rampant Growth name=Rampant Growth
auto=moveTo(myBattlefield) and!(tap(noevent))! notatarget(land[basic]|myLibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Search your library for a basic land card and put that card onto the battlefield tapped. Then shuffle your library. text=Search your library for a basic land card and put that card onto the battlefield tapped. Then shuffle your library.
mana={1}{G} mana={1}{G}
type=Sorcery type=Sorcery
@@ -91354,7 +91403,8 @@ toughness=2
[/card] [/card]
[card] [card]
name=Ranger of Eos name=Ranger of Eos
auto=may moveTo(myHand) target(<upto:2>creature[manacost<=1]|myLibrary) aicode=activate target(<upto:2>creature[manacost<=1]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:2>creature[manacost<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=When Ranger of Eos enters the battlefield, you may search your library for up to two creature cards with converted mana cost 1 or less, reveal them, and put them into your hand. If you do, shuffle your library. text=When Ranger of Eos enters the battlefield, you may search your library for up to two creature cards with converted mana cost 1 or less, reveal them, and put them into your hand. If you do, shuffle your library.
mana={3}{W} mana={3}{W}
type=Creature type=Creature
@@ -91373,7 +91423,8 @@ type=Instant
[/card] [/card]
[card] [card]
name=Ranger's Path name=Ranger's Path
auto=name(fetch) moveTo(myBattlefield) and!(tap(noevent))! notatarget(<upto:2>forest|mylibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>forest|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:2>forest|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Search your library for up to two Forest cards and put them onto the battlefield tapped. Then shuffle your library. text=Search your library for up to two Forest cards and put them onto the battlefield tapped. Then shuffle your library.
mana={3}{G} mana={3}{G}
type=Sorcery type=Sorcery
@@ -91507,7 +91558,8 @@ toughness=1
[card] [card]
name=Ratcatcher name=Ratcatcher
abilities=fear abilities=fear
auto=@each my upkeep:may moveTo(myHand) target(rat|mylibrary) aicode=activate target(rat|mylibrary) moveto(myhand)
auto=@each my upkeep:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>rat|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- At the beginning of your upkeep, you may search your library for a Rat card, reveal it, and put it into your hand. If you do, shuffle your library. text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- At the beginning of your upkeep, you may search your library for a Rat card, reveal it, and put it into your hand. If you do, shuffle your library.
mana={4}{B}{B} mana={4}{B}{B}
type=Creature type=Creature
@@ -91542,7 +91594,8 @@ type=Artifact
[card] [card]
name=Rathi Assassin name=Rathi Assassin
auto={1}{B}{B}{T}:destroy target(creature[tapped;-black]) auto={1}{B}{B}{T}:destroy target(creature[tapped;-black])
auto={3}{T}:moveTo(myBattlefield) target(mercenary[manacost<=3]|mylibrary) aicode=activate moveTo(myBattlefield) target(mercenary[manacost<=3]|myLibrary)
auto={3}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(mercenary[manacost<=3]|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!(activate castcard(putinplay))! afterrevealedend revealend
text={1}{B}{B}, {T}: Destroy target tapped nonblack creature. -- {3}, {T}: Search your library for a Mercenary permanent card with converted mana cost 3 or less and put that card onto the battlefield. Then shuffle your library. text={1}{B}{B}, {T}: Destroy target tapped nonblack creature. -- {3}, {T}: Search your library for a Mercenary permanent card with converted mana cost 3 or less and put that card onto the battlefield. Then shuffle your library.
mana={2}{B}{B} mana={2}{B}{B}
type=Creature type=Creature
@@ -91565,7 +91618,8 @@ toughness=5
[card] [card]
name=Rathi Fiend name=Rathi Fiend
auto=life:-3 controller && life:-3 opponent auto=life:-3 controller && life:-3 opponent
auto={3}{T}:moveTo(myBattlefield) target(mercenary[manacost<=3]|mylibrary) aicode=activate moveTo(myBattlefield) target(mercenary[manacost<=3]|myLibrary)
auto={3}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(mercenary[manacost<=3]|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!(activate castcard(putinplay))! afterrevealedend revealend
text=When Rathi Fiend enters the battlefield, each player loses 3 life. -- {3}, {T}: Search your library for a Mercenary permanent card with converted mana cost 3 or less and put that card onto the battlefield. Then shuffle your library. text=When Rathi Fiend enters the battlefield, each player loses 3 life. -- {3}, {T}: Search your library for a Mercenary permanent card with converted mana cost 3 or less and put that card onto the battlefield. Then shuffle your library.
mana={3}{B} mana={3}{B}
type=Creature type=Creature
@@ -91576,7 +91630,8 @@ toughness=2
[card] [card]
name=Rathi Intimidator name=Rathi Intimidator
abilities=fear abilities=fear
auto={2}{T}:moveTo(myBattlefield) target(mercenary[manacost<=2]|mylibrary) aicode=activate moveTo(myBattlefield) target(mercenary[manacost<=2]|myLibrary)
auto={2}{T}:name(search card) reveal:plibrarycount optionone name(choose card) target(mercenary[manacost<=2]|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!(activate castcard(putinplay))! afterrevealedend revealend
text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- {2}, {T}: Search your library for a Mercenary permanent card with converted mana cost 2 or less and put that card onto the battlefield. Then shuffle your library. text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- {2}, {T}: Search your library for a Mercenary permanent card with converted mana cost 2 or less and put that card onto the battlefield. Then shuffle your library.
mana={1}{B}{B} mana={1}{B}{B}
type=Creature type=Creature
@@ -92205,7 +92260,8 @@ toughness=2
[card] [card]
name=Realm Seekers name=Realm Seekers
auto=counter(1/1,type:*:hand) auto=counter(1/1,type:*:hand)
auto={1}{C(1/1,-1)}:name(fetch) notatarget(land|mylibrary) moveto(ownerhand) aicode=activate target(land|mylibrary) moveto(myhand)
auto={1}{C(1/1,-1)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Realm Seekers enters the battlefield with X +1/+1 counters on it, where X is the total number of cards in all players' hands. -- {2}{G}, Remove a +1/+1 counter from Realm Seekers: Search your library for a land card, reveal it, put it into your hand, then shuffle your library. text=Realm Seekers enters the battlefield with X +1/+1 counters on it, where X is the total number of cards in all players' hands. -- {2}{G}, Remove a +1/+1 counter from Realm Seekers: Search your library for a land card, reveal it, put it into your hand, then shuffle your library.
mana={4}{G}{G} mana={4}{G}{G}
type=Creature type=Creature
@@ -92239,6 +92295,7 @@ type=Sorcery
[card] [card]
name=Reap Intellect name=Reap Intellect
target=opponent target=opponent
aicode=activate notatarget(<upto:castx>*[-land]|targetedpersonshand) moveto(exile) and!( transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )!
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(<upto:castx>*[-land]|reveal) moveto(exile) and!( transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(<upto:castx>*[-land]|reveal) moveto(exile) and!( transforms((,newability[moveTo(exile) all(*[share!name!]|mygraveyard)],newability[moveTo(exile) all(*[share!name!]|myhand)],newability[moveTo(exile) and!(shuffle)! all(*[share!name!]|mylibrary)])) oneshot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
text=Target opponent reveals his or her hand. You choose up to X nonland cards from it and exile them. For each card exiled this way, search that player's graveyard, hand, and library for any number of cards with the same name as that card and exile them. Then that player shuffles his or her library. text=Target opponent reveals his or her hand. You choose up to X nonland cards from it and exile them. For each card exiled this way, search that player's graveyard, hand, and library for any number of cards with the same name as that card and exile them. Then that player shuffles his or her library.
mana={X}{2}{U}{B} mana={X}{2}{U}{B}
@@ -93405,7 +93462,8 @@ toughness=3
[card] [card]
name=Renegade Map name=Renegade Map
auto=tap(noevent) auto=tap(noevent)
auto={T}{S}:moveTo(myhand) target(land[basic]|mylibrary) aicode=activate target(land[basic]|mylibrary) moveto(myhand)
auto={t}{s}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Renegade Map enters the battlefield tapped. -- {T}, Sacrifice Renegade Map: Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. text=Renegade Map enters the battlefield tapped. -- {T}, Sacrifice Renegade Map: Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.
mana={1} mana={1}
type=Artifact type=Artifact
@@ -93471,7 +93529,8 @@ type=Instant
[/card] [/card]
[card] [card]
name=Renewal name=Renewal
auto=moveTo(myHand) target(land[basic]|myLibrary) aicode=activate moveTo(myBattlefield) target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
auto=@next upkeep:draw:1 controller auto=@next upkeep:draw:1 controller
text=As an additional cost to cast Renewal, sacrifice a land. -- Search your library for a basic land card and put that card onto the battlefield. Then shuffle your library. -- Draw a card at the beginning of the next turn's upkeep. text=As an additional cost to cast Renewal, sacrifice a land. -- Search your library for a basic land card and put that card onto the battlefield. Then shuffle your library. -- Draw a card at the beginning of the next turn's upkeep.
mana={2}{G}{S(land|mybattlefield)} mana={2}{G}{S(land|mybattlefield)}
@@ -93711,7 +93770,8 @@ type=Instant
[/card] [/card]
[card] [card]
name=Reshape name=Reshape
auto=moveto(mybattlefield) target(artifact[manacost =X]|mylibrary) aicode=activate moveTo(myBattlefield) target(artifact[manacost<=X]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(artifact[manacost<=X]|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=As an additional cost to cast Reshape, sacrifice an artifact. -- Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. text=As an additional cost to cast Reshape, sacrifice an artifact. -- Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library.
mana={X}{U}{U}{S(artifact|mybattlefield)} mana={X}{U}{U}{S(artifact|mybattlefield)}
type=Sorcery type=Sorcery
@@ -94927,7 +94987,8 @@ type=Artifact
[card] [card]
name=Ring of Three Wishes name=Ring of Three Wishes
auto=counter(0/0,3,Wish) auto=counter(0/0,3,Wish)
auto={5}{T}{C(0/0,-1,Wish)}:moveTo(myHand) notatarget(*|mylibrary) aicode=activate target(*|mylibrary) moveto(myhand)
auto={5}{T}{C(0/0,-1,Wish)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Ring of Three Wishes enters the battlefield with three wish counters on it. -- {5}{T}, Remove a wish counter from Ring of Three Wishes: Search your library for a card and put that card into your hand. Then shuffle your library. text=Ring of Three Wishes enters the battlefield with three wish counters on it. -- {5}{T}, Remove a wish counter from Ring of Three Wishes: Search your library for a card and put that card into your hand. Then shuffle your library.
mana={5} mana={5}
type=Artifact type=Artifact
@@ -95768,7 +95829,8 @@ toughness=1
[card] [card]
name=Rocky Tar Pit name=Rocky Tar Pit
auto=tap(noevent) auto=tap(noevent)
auto={T}{S}:moveTo(myBattlefield) target(mountain,swamp|myLibrary) aicode=activate moveTo(myBattlefield) target(*[mountain;swamp]|myLibrary)
auto={T}{S}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[mountain;swamp]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
text=Rocky Tar Pit enters the battlefield tapped. -- {T}, Sacrifice Rocky Tar Pit: Search your library for a Swamp or Mountain card and put it onto the battlefield. Then shuffle your library. text=Rocky Tar Pit enters the battlefield tapped. -- {T}, Sacrifice Rocky Tar Pit: Search your library for a Swamp or Mountain card and put it onto the battlefield. Then shuffle your library.
type=Land type=Land
[/card] [/card]
@@ -99931,7 +99993,8 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Scouting Trek name=Scouting Trek
auto=name(put on top) notatarget(<anyamount>land[basic]|mylibrary) moveTo(ownerexile) and!(moveto(ownerlibrary))! aicode=activate notatarget(<anyamount>land[basic]|mylibrary) moveTo(ownerlibrary) and!(moveto(ownerlibrary))!
auto=name(search card) Reveal:type:*:mylibrary revealtype(land[basic]|mylibrary) revealzone(mylibrary) optionone name(choose cards) target(<anyamount>land|reveal) moveto(exile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|myexile) moveto(mylibrary) afterrevealedend revealend
text=Search your library for any number of basic land cards. Reveal those cards, then shuffle your library and put them on top of it. text=Search your library for any number of basic land cards. Reveal those cards, then shuffle your library and put them on top of it.
mana={1}{G} mana={1}{G}
type=Sorcery type=Sorcery

View File

@@ -9,6 +9,7 @@ hand:forest
[PLAYER2] [PLAYER2]
[DO] [DO]
misty rainforest misty rainforest
choice 0
island island
forest forest
[ASSERT] [ASSERT]

View File

@@ -230,7 +230,7 @@ public:
Player * askIfWishesToInterrupt; Player * askIfWishesToInterrupt;
int garbageCollect(); int garbageCollect();
int addAction(Interruptible * interruptible); int addAction(Interruptible * interruptible);
Spell * addSpell(MTGCardInstance* card, TargetChooser * tc, ManaCost * mana, int payResult, int storm); Spell * addSpell(MTGCardInstance* card, TargetChooser * tc, ManaCost * mana, int payResult, int storm, bool forcedinterrupt = false);
int AddNextGamePhase(); int AddNextGamePhase();
int AddNextCombatStep(); int AddNextCombatStep();
int addPutInGraveyard(MTGCardInstance * card); int addPutInGraveyard(MTGCardInstance * card);

View File

@@ -789,7 +789,7 @@ int ActionStack::addAction(Interruptible * action)
} }
Spell * ActionStack::addSpell(MTGCardInstance * _source, TargetChooser * tc, ManaCost * mana, int payResult, Spell * ActionStack::addSpell(MTGCardInstance * _source, TargetChooser * tc, ManaCost * mana, int payResult,
int storm) int storm, bool forcedinterrupt)
{ {
DebugTrace("ACTIONSTACK Add spell"); DebugTrace("ACTIONSTACK Add spell");
if (storm > 0) if (storm > 0)
@@ -799,7 +799,12 @@ Spell * ActionStack::addSpell(MTGCardInstance * _source, TargetChooser * tc, Man
Spell * spell = NEW Spell(observer, mObjects.size(), _source, tc, mana, payResult); Spell * spell = NEW Spell(observer, mObjects.size(), _source, tc, mana, payResult);
addAction(spell); addAction(spell);
if (!observer->players[0]->isAI() && _source->controller() == observer->players[0] && 0 == options[Options::INTERRUPTMYSPELLS].number) if (!observer->players[0]->isAI() && _source->controller() == observer->players[0] && 0 == options[Options::INTERRUPTMYSPELLS].number)
interruptDecision[0] = DONT_INTERRUPT; {
if(forcedinterrupt)
interruptDecision[0] = INTERRUPT;
else
interruptDecision[0] = DONT_INTERRUPT;
}
return spell; return spell;
} }

View File

@@ -5544,7 +5544,12 @@ MenuAbility::~MenuAbility()
else else
SAFE_DELETE(ability); SAFE_DELETE(ability);
SAFE_DELETE(toPay); SAFE_DELETE(toPay);
SAFE_DELETE(mClone); //SAFE_DELETE(mClone);//crash fix with generated castcard with pay ability
if(mClone)
{
mClone = NULL;
delete mClone;
}
if(optionalCosts.size()) if(optionalCosts.size())
for(int i = 0;i < int(optionalCosts.size());i++) for(int i = 0;i < int(optionalCosts.size());i++)
{ {