grade=borderline
#Bordeline Primitives Pack for Wagic the Homebrew.
#Please keep these card alphabetized, and try to have the "name=" line at the top of each card
#I sorted this programatically - Vitty85 19-09-2021
[card]
name=+2 Mace
auto={3}:equip
auto=teach(creature) 2/2
text=Equipped creature gets +2/+2. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Aether Rift
auto=@each my upkeep restriction{compare(phandcount)~equalto~1}:all(*|myhand) moveto(mygraveyard) and!( counter(0/0,1,RiftEffect) )!
auto=@each my upkeep restriction{compare(phandcount)~equalto~2}:transforms((,newability[all(*[zpos=genrand2plus1plusend]|myhand) moveto(mygraveyard) and!( counter(0/0.1.RiftEffect) )!])) oneshot
auto=@each my upkeep restriction{compare(phandcount)~equalto~3}:transforms((,newability[all(*[zpos=genrand3plus1plusend]|myhand) moveto(mygraveyard) and!( counter(0/0.1.RiftEffect) )!])) oneshot
auto=@each my upkeep restriction{compare(phandcount)~equalto~4}:transforms((,newability[all(*[zpos=genrand4plus1plusend]|myhand) moveto(mygraveyard) and!( counter(0/0.1.RiftEffect) )!])) oneshot
auto=@each my upkeep restriction{compare(phandcount)~equalto~5}:transforms((,newability[all(*[zpos=genrand5plus1plusend]|myhand) moveto(mygraveyard) and!( counter(0/0.1.RiftEffect) )!])) oneshot
auto=@each my upkeep restriction{compare(phandcount)~equalto~6}:transforms((,newability[all(*[zpos=genrand6plus1plusend]|myhand) moveto(mygraveyard) and!( counter(0/0.1.RiftEffect) )!])) oneshot
auto=@each my upkeep restriction{compare(phandcount)~equalto~7}:transforms((,newability[all(*[zpos=genrand7plus1plusend]|myhand) moveto(mygraveyard) and!( counter(0/0.1.RiftEffect) )!])) oneshot
auto=@each my upkeep restriction{compare(phandcount)~morethan~7}:transforms((,newability[all(*[zpos=genrand8plus1plusend]|myhand) moveto(mygraveyard) and!( counter(0/0.1.RiftEffect) )!])) oneshot
auto=@counteradded(0/0.1.RiftEffect) from(*[-creature]|myGraveyard):all(*[counter{0/0.1.RiftEffect}]|mygraveyard) counter(0/0.-1.RiftEffect)
auto=@counteradded(0/0.1.RiftEffect) from(creature|myGraveyard) restriction{compare(opponentlifetotal)~lessthan~6}:all(*[counter{0/0.1.RiftEffect}]|mygraveyard) transforms((,newability[counter(0/0.-1.RiftEffect)],newability[moveto(myBattlefield)])) oneshot
auto=@counteradded(0/0.1.RiftEffect) from(creature|myGraveyard) restriction{compare(opponentlifetotal)~morethan~5}:all(*[counter{0/0.1.RiftEffect}]|mygraveyard) transforms((,newability[counter(0/0.-1.RiftEffect)],newability[if compare(genrand2)~equalto~0 then moveto(myBattlefield) else life:-5 opponent])) oneshot
text=At the beginning of your upkeep, discard a card at random. If you discard a creature card this way, return it from your graveyard to the battlefield unless any player pays 5 life.
mana={1}{R}{G}
type=Enchantment
[/card]
[card]
name=Aether Tide
target=<prex>creature|myhand
auto=reject && ability$!name(Return a creature) name(Return a creature) moveTo(ownerhand) target(creature|battlefield)!$ controller
text=As an additional cost to cast Aether Tide, discard X creature cards. -- Return X target creatures to their owners' hands.
mana={X}{U}
type=Sorcery
[/card]
[card]
name=Abandon Hope
target=<prex>*|myhand
auto=reject && ability$!name(Choose a card) name(Choose a card) reject notatarget(*|opponenthand)!$ controller
text=As an additional cost to cast Abandon Hope, discard X cards. -- Look at target opponent's hand and choose X cards from it. That player discards those cards.
mana={X}{1}{B}
type=Sorcery
[/card]
[card]
name=Abandon the Post
flashback={3}{R}
auto=may name(Creatures can't block) target(upto:2>creature) transforms((,newability[cantblock])) ueot
text=Up to two target creatures can't block this turn. -- Flashback {3}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Abandoned Sarcophagus
auto=lord(*[cycling]|mygraveyard) canplayfromgraveyard
auto=@movedto(*[cycling]|mygraveyard) from(mystack,mycommandzone,mylibrary,myBattlefield,mysideboard,myexile):name(Move to exile) all(trigger[to]) moveto(myexile)
text=You may cast spells that have cycling from your graveyard. -- If a card with cycling would be put into your graveyard from anywhere and it wasn't cycled, exile it instead.
mana={3}
type=Artifact
[/card]
[card]
name=Aberrant Mind Sorcerer
auto=target(*[instant;sorcery]|mygraveyard) name(Choose instant or sorcery and roll a d20) rolld20 20 winability moveto(myhand) winabilityend loseability if compare(lastrollresult)~lessthan~10 then may name(Put on top) moveTo(mylibrary) else moveto(myhand) loseabilityend rolld20end
text=Psionic Spells - When Aberrant Mind Sorcerer enters the battlefield, choose target instant or sorcery card in your graveyard, then roll a d20. -- 1-9 | You may put that card on top of your library. -- 10-20 | Return that card to your hand.
mana={4}{U}
type=Creature
subtype=Human Elf Shaman
power=3
toughness=4
[/card]
[card]
name=Abiding Grace
auto=@each my endofturn:transforms((,newability[if type(creature[manacost=1]|myGraveyard)~equalto~0 then name(Gain 1 life) name(Gain 1 life) life:1 controller],newability[if type(creature[manacost=1]|myGraveyard)~morethan~0 then choice name(Gain 1 life) name(Gain 1 life) life:1 controller],newability[if type(creature[manacost=1]|myGraveyard)~morethan~0 then choice name(Return creature) name(Return creature) target(creature[manacost=1]|myGraveyard) moveto(myBattlefield)])) oneshot
text=At the beginning of your end step, Choose one -- You gain 1 life. -- Return target creature card with mana value 1 from your graveyard to the battlefield.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Abnormal Endurance
target=creature
auto=transforms((,newability[2/0],newability[inplaytapdeath])) ueot
text=Until end of turn, target creature gets +2/+0 and gains "When this creature dies, return it to the battlefield tapped under its owner's control."
mana={1}{B}
type=Instant
[/card]
[card]
name=Abominable Treefolk
abilities=trample
anyzone=type:*[snow]:myBattlefield/type:*[snow]:myBattlefield cdaactive
auto=target(creature|opponentbattlefield) transforms((,newability[tap],newability[frozen]))
text=Trample -- Abominable Treefolk's power and toughness are each equal to the number of snow permanents you control. -- When Abominable Treefolk enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
mana={2}{G}{U}
type=Snow Creature
subtype=Treefolk
power=*
toughness=*
[/card]
[card]
name=Abomination of Llanowar
abilities=vigilance,menace
anyzone=type:elf:mygraveyardplustype:elf:myBattlefieldplusend/type:elf:mygraveyardplustype:elf:myBattlefieldplusend cdaactive
text=Vigilance; menace (This creature can't be blocked except by two or more creatures.) -- Abomination of Llanowar's power and toughness are each equal to the number of Elves you control plus the number of Elf cards in your graveyard.
mana={1}{B}{G}
type=Legendary Creature
subtype=Elf Horror
power=*
toughness=*
[/card]
[card]
name=Abrade
auto=choice damage:3 target(creature)
auto=choice destroy target(artifact)
text=Choose one -- Abrade deals 3 damage to target creature. -- Destroy target artifact.
mana={1}{R}
type=Instant
[/card]
[card]
name=Absolver Thrull
auto=name(Destroy enchantment) target(enchantment|battlefield) destroy
auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot
autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Destroy enchantment) target(enchantment|battlefield) destroy]))
text=Haunt (When this creature dies, exile it haunting target creature.) -- When Absolver Thrull enters the battlefield or the creature it haunts dies, destroy target enchantment.
mana={3}{W}
type=Creature
subtype=Thrull Cleric
power=2
toughness=3
[/card]
[card]
name=Absorb Identity
target=creature
auto=moveto(ownerhand) and!( transforms((,newability[counter(0/0.1.AbsorbEffect)],newability[phaseaction[endofturn once] counter(0/0.-1.AbsorbEffect)])) forever )!
auto=may name(Shapeshifters become copies) all(*[shapeshifter]|mybattlefield) transforms((,newability[copy all(creature[fresh;counter{0/0.1.AbsorbEffect}]|hand)],newability[phaseaction[endofturn once] flip(myorigname) undocpy])) forever
text=Return target creature to its owner's hand. You may have Shapeshifters you control become copies of that creature until end of turn.
mana={1}{U}
type=Instant
[/card]
[card]
name=Abu Ja'far
auto=_DIES_bury all(creature[blocking;blocked])
text=When Abu Ja'far dies, destroy all creatures blocking or blocked by it. They can't be regenerated.
mana={W}
type=Creature
subtype=Human
power=0
toughness=1
[/card]
[card]
name=Abu Jafar
auto=_DIES_bury all(creature[blocking;blocked])
text=When Abu Ja'far dies, destroy all creatures blocking or blocked by it. They can't be regenerated.
mana={W}
type=Creature
subtype=Human
power=0
toughness=1
[/card]
[card]
name=Abuna's Chant
other={5}{R} name(Entwine)
auto=ifnot paid(alternative) then transforms((,newability[choice life:5 controller],newability[choice prevent:5 target(creature|battlefield)]))
auto=if paid(alternative) then life:5 controller && prevent:5 target(creature|battlefield)
text=Choose one  You gain 5 life; or prevent the next 5 damage that would be dealt to target creature this turn. -- Entwine {2} (Choose both if you pay the entwine cost.)
mana={3}{W}
type=Instant
[/card]
[card]
name=Abundant Harvest
aicode=activate transforms((,newability[all(*[zpos=findfirsttypenonland]|mylibrary) moveto(myhand) and!( all(*[zpos<=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=choice name(Reveal land) Reveal:1 revealzone(mylibrary) revealuntil(land|mylibrary) optionone choice name(Choose land) target(land|reveal) moveto(myhand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=choice name(Reveal non-land) Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Choose non-land) target(*[-land]|reveal) moveto(myhand) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Choose land or nonland. Reveal cards from the top of your library until you reveal a card of the chosen kind. Put that card into your hand and the rest on the bottom of your library in a random order.
mana={G}
type=Sorcery
[/card]
[card]
name=Academic Dispute
target=creature
auto=choice name(Must block and gains reach) transforms((,newability[mustblock],newability[reach])) ueot
auto=choice name(Must block and doesn't gain reach) transforms((,newability[mustblock])) ueot
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Target creature blocks this turn if able. You may have it gain reach until end of turn. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={R}
type=Instant
[/card]
[card]
name=Academic Probation
auto=choice name(Name a non-land card) chooseanameopp maxcast(*[chosenname])0 opponent ueot && phaseaction[upkeep once] maxcast(*[lastnamechosen])0 opponent ueot chooseend nonland
auto=choice name(Choose a non-land permanent) target(*|battlefield) transforms((,newability[cantattack],newability[cantpwattack],newability[cantblock],newability[noactivatedability])) uynt
text=Choose one -- Choose a nonland card name. Opponents can't cast spells with the chosen name until your next turn. -- Choose target nonland permanent. Until your next turn, it can't attack or block, and its activated abilities can't be activated.
mana={1}{W}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Academy Drake
abilities=flying
kicker={4}
auto=if paid(kicker) then counter(1/1,2)
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- Flying -- If Academy Drake was kicked, it enters the battlefield with two +1/+1 counters on it.
mana={2}{U}
type=Creature
subtype=Drake
power=2
toughness=2
[/card]
[card]
name=Academy Journeymage
auto=moveto(ownerHand) target(creature|opponentBattlefield)
text=This spell costs {1} less to cast if you control a Wizard. -- When Academy Journeymage enters the battlefield, return target creature an opponent controls to its owner's hand.
other={3}{U} name(reduced by Wizard)
otherrestriction=type(wizard|mybattlefield)~morethan~0
mana={4}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Academy Manufactor
auto=@tokencreated(food|myBattlefield):token(Clue,notrigger)
auto=@tokencreated(food|myBattlefield):token(Treasure Sur,notrigger)
auto=@tokencreated(clue|myBattlefield):token(Food,notrigger)
auto=@tokencreated(clue|myBattlefield):token(Treasure Sur,notrigger)
auto=@tokencreated(treasure|myBattlefield):token(Food,notrigger)
auto=@tokencreated(treasure|myBattlefield):token(Clue,notrigger)
text=If you would create a Clue, Food, or Treasure token, instead create one of each.
mana={3}
type=Artifact Creature
subtype=Assembly-Worker
power=1
toughness=3
[/card]
[card]
name=Access Tunnel
auto={T}:add{C}
auto={3}{T}:name(Creature becomes unblockable) target(creature[power<=3]|battlefield) transforms((,newability[unblockable])) ueot
text={T}: Add {C}. -- {3}, {T}: Target creature with power 3 or less can't be blocked this turn.
type=Land
[/card]
[card]
name=Acclaimed Contender
aicode=activate transforms((,newability[if type(knight|mybattlefield)~morethan~1 then target(*[aura;knight;equipment;legendary artifact;zpos<=5]|myLibrary) moveTo(myHand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=if type(knight|mybattlefield)~morethan~1 then name(Look 5 cards) reveal:5 optionone name(Get a card) target(<upto:1>*[aura;knight;equipment;legendary artifact]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=When Acclaimed Contender enters the battlefield, if you control another Knight, look at the top five cards of your library. You may reveal a Knight, Aura, Equipment, or legendary artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={2}{W}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Accomplished Alchemist
auto={T}:name(Add one white) add{W}
auto={T}:name(Add one black) add{B}
auto={T}:name(Add one blue) add{U}
auto={T}:name(Add one green) add{G}
auto={T}:name(Add one red) add{R}
auto={T}:name(Add X white) thisforeach(variable{lifegain}>0) add{W}
auto={T}:name(Add X black) thisforeach(variable{lifegain}>0) add{B}
auto={T}:name(Add X blue) thisforeach(variable{lifegain}>0) add{U}
auto={T}:name(Add X green) thisforeach(variable{lifegain}>0) add{G}
auto={T}:name(Add X red) thisforeach(variable{lifegain}>0) add{R}
text={T}: Add one mana of any color. -- {T}: Add X mana of any one color, where X is the amount of life you gained this turn.
mana={3}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=5
[/card]
[card]
name=Accursed Horde
auto={1}{B}:target(creature[zombie;attacking]) indestructible
text={1}{B}: Target attacking Zombie gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it. If its toughness is 0 or less, it's still put into its owner's graveyard.)
mana={3}{B}
type=Creature
subtype=Zombie
power=3
toughness=3
[/card]
[card]
name=Acererak the Archlich
auto=if type(Tomb of Annihilation[dungeoncompleted]|myzones)~equalto~0 then if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=if type(Tomb of Annihilation[dungeoncompleted]|myzones)~equalto~0 then name(Return to hand) moveTo(ownerhand)
auto=@combat(attacking) source(this) restriction{type(creature|opponentbattlefield)~morethan~0}:ability$!name(Choose one) choice name(Sacrifice a creature) notatarget(creature|mybattlefield) sacrifice _ choice name(Opponent create Zombie) token(Zombie) opponent!$ opponent
auto=@combat(attacking) source(this) restriction{type(creature|opponentbattlefield)~equalto~0}:name(Create zombie) token(Zombie) controller
text=When Acererak the Archlich enters the battlefield, if you have not completed the dungeon Tomb of Annihilation, return Acererak the Archlich to its owner's hand and venture into the dungeon. -- Whenever Acererak the Archlich attacks, for each opponent, you create a 2/2 black Zombie creature token unless that player sacrifices a creature.
mana={2}{B}
type=Legendary Creature
subtype=Zombie Wizard
power=5
toughness=5
[/card]
[card]
name=Acolyte of Affliction
auto=deplete:2 controller && may moveTo(myHand) target(*[-sorcery;-instant]|myGraveyard) oneshot
text=When Acolyte of Affliction enters the battlefield, put the top two cards of your library into your graveyard, then you may return a permanent card from your graveyard to your hand.
mana={2}{B}{G}
type=Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Acquisitions Expert
aicode=activate reject notatarget(*|opponenthand)
auto=reveal:calculateparty revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
text=When Acquisitions Expert enters the battlefield, target opponent reveals a number of cards from their hand equal to the number of creatures in your party. You choose one of those cards. That player discards that card. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={1}{B}
type=Creature
subtype=Human Rogue
power=1
toughness=2
[/card]
[card]
name=Act of Authority
auto=may name(Exile artifact or enchantment) target(*[artifact;enchantment]|battlefield) moveTo(ownerExile)
auto=@each my upkeep:ability$!name(Choose one) choice name(Exile opponent's artifact or enchantment) target(*[artifact;enchantment]|opponentbattlefield) moveTo(ownerExile) && all(mysource) moveto(opponentBattlefield) _ choice name(Exile your artifact or enchantment) target(*[artifact;enchantment]|mybattlefield) moveTo(ownerExile) _ choice name(Don't exile any artifact or enchantment) donothing!$ controller
text=When Act of Authority enters the battlefield, you may exile target artifact or enchantment. -- At the beginning of your upkeep, you may exile target artifact or enchantment. If you do, its controller gains control of Act of Authority.
mana={1}{W}{W}
type=Enchantment
[/card]
[card]
name=Act of Heroism
target=creature
auto=untap
auto=2/2
text=Untap target creature. It gets +2/+2 until end of turn and can block an additional creature this turn.
mana={1}{W}
type=Instant
[/card]
[card]
name=Adamant Will
target=creature
auto=+2/+2
auto=indestructible  
text=Target creature gets +2/+2 and gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Adanto Vanguard
auto=this(attacking) 2/0
auto={L:4}:indestructible ueot
text=As long as Adanto Vanguard is attacking, it gets +2/+0. -- Pay 4 life: Adanto Vanguard gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={1}{W}
type=Creature
subtype=Vampire Soldier
power=1
toughness=1
[/card]
[card]
name=Adanto, the First Fort
auto={T}:add{W}
auto={2}{W}{T}:token(Vampire,creature Vampire,1/1,white,lifelink)
text=(Transforms from Legion's Landing.) -- {T}: Add {W} to your mana pool. -- {2}{W}, {T}: Create a 1/1 white Vampire creature token with lifelink.
type=Legendary Land
[/card]
[card]
name=Adaptive Shimmerer
abilities=flash
auto=counter(1/1.3)
text=Flash -- Adaptive Shimmerer enters the battlefield with three +1/+1 counters on it.
mana={5}
type=Creature
subtype=Insect
power=0
toughness=0
[/card]
[card]
name=Adarkar Unicorn
auto={T}:Add{U}
auto={T}:Add{1}{U}
text={T}: Add {U} or {1}{U} to your mana pool. Spend this mana only to pay cumulative upkeep costs.
mana={1}{W}{W}
type=Creature
subtype=Unicorn
power=2
toughness=2
[/card]
[card]
name=Adeline, Resplendent Cathar
abilities=vigilance
anyzone=type:creature:myBattlefield/4 cdaactive
auto=@each my blockers:name(Create attacking human) token(Human,Creature Human,1/1,white,battleready)
text=Vigilance -- Adeline, Resplendent Cathar's power is equal to the number of creatures you control. -- Whenever you attack, for each opponent, create a 1/1 white Human creature token tapped and attacking that player or a planeswalker they control.
mana={1}{W}{W}
type=Legendary Creature
subtype=Human Knight
power=*
toughness=4
[/card]
[card]
name=Adeliz, the Cinder Wind
abilities=flying, haste
auto=@movedTo(instant,sorcery|mystack): all(wizard|myBattlefield)) +1/+1 ueot
text=Flying, haste -- Whenever you cast an instant or sorcery spell, Wizards you control get +1/+1 until end of turn.
mana={1}{U}{R}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Adherent of Hope
auto=@each my combatbegins restriction{type(planeswalker[Basri]|mybattlefield)~morethan~0}:counter(1/1,1)
text=At the beginning of combat on your turn, if you control a Basri planeswalker, put a +1/+1 counter on Adherent of Hope.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Adios Wormhole
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={U} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=target(*[-land]|battlefield) moveto(ownerhand)
text=Return target nonland permanent to its owners's hand. -- Foretell {U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Admiral Beckett Brass
auto=lord(other pirate|mybattlefield) 1/1
auto=@combatdamagefoeof(player) from(*[pirate]|myBattlefield):counter(0/0,1,PirateDamage) all(this)
auto=@each my endofturn:this(counter{0/0.1.PirateDamage}>=3) removeallcounters(0/0,1,PirateDamage) && ability$!name(Gain control of permanent) name(Gain control of permanent) moveto(mybattlefield) target(*[-land]|opponentbattlefield)!$ controller
auto=@each my endofturn:this(counter{0/0.1.PirateDamage}<3) removeallcounters(0/0,1,PirateDamage)
text=Other Pirates you control get +1/+1. -- At the beginning of your end step, gain control of target nonland permanent controlled by a player who was dealt combat damage by three or more Pirates this turn.
mana={1}{U}{B}{R}
type=Legendary Creature
subtype=Human Pirate
power=3
toughness=3
[/card]
[card]
name=Admiral's Order
target=*|stack
other={U} name(Raid)
otherrestriction=raid
auto=fizzle
text=Raid - If you attacked with a creature this turn, you may pay {U} rather than pay this spell's mana cost. -- Counter target spell.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Adorable Kitten
auto=rolld6 6 winability life:lastrollresult controller winabilityend loseability life:lastrollresult controller loseabilityend rolld6end
text=When this creature enters the battlefield, roll a six-sided die. You gain life equal to the result.
mana={W}
type=Host Creature
subtype=Cat
power=1
toughness=1
[/card]
[card]
name=Adorned Pouncer
abilities=double strike
autograveyard={3}{W}{W}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=Double strike -- Eternalize {3}{W}{W} ({3}{W}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Cat with no mana cost. Eternalize only as a sorcery.)
mana={1}{W}
type=Creature
subtype=Cat
power=1
toughness=1
[/card]
[card]
name=Adriana, Captain of the Guard
auto=_ATTACKING_1/1 ueot
auto=_ATTACKING_all(other creature[attacking]) 1/1 ueot
text=Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.) -- Other creatures you control have melee. (If a creature has multiple instances of melee, each triggers separately.)
mana={3}{R}{W}
type=Legendary Creature
subtype=Human Knight
power=4
toughness=4
[/card]
[card]
name=Adriana's Valor
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[lord(creature[chosenname]|myBattlefield) transforms((,newability[@combat(attacking) source(this):pay({W}) name(Pay and gains indestructible) name(Pay and gains indestructible) transforms((,newability[indestructible])) ueot]))])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Whenever a creature you control with the chosen name attacks, you may pay {W}. If you do, that creature gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
type=Conspiracy
[/card]
[card]
name=Adrix and Nev, Twincasters
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
auto=@tokencreated(*|myBattlefield):name(Double the token) all(trigger) clone options(notrigger)
text=Ward {2} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {2}.) -- If one or more tokens would be created under your control, twice that many of those tokens are created instead.
mana={2}{G}{U}
type=Legendary Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Adult Gold Dragon
abilities=flying,lifelink,haste
text=Flying, lifelink, haste
mana={3}{R}{W}
type=Creature
subtype=Dragon
power=4
toughness=3
[/card]
[card]
name=Advantageous Proclamation
abilities=isconspiracy
restriction=never
text=(Start the game with this conspiracy face up in the command zone.) -- Your minimum deck size is reduced by five.
type=Conspiracy
[/card]
[card]
name=Adventure Awaits
aicode=activate transforms((,newability[if type(creature[zpos<=5]|myLibrary)~morethan~0 then target(creature[zpos<=5]|myLibrary) moveTo(myHand) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary and!( draw:1 controller)! )! ])) oneshot
auto=if type(creature[zpos<=5]|myLibrary)~morethan~0 then name(Look 5 cards) reveal:5 optionone name(Get a creature) target(creature|reveal) transforms((,newability[choice name(Put in hand) moveTo(myHand)],newability[choice name(Put on bottom and draw) bottomoflibrary and!( draw:1 controller )!])) oneshot optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend 
auto=if type(creature[zpos<=5]|myLibrary)~equalto~0 then name(Look 5 cards) reveal:5 optionone name(Put on bottom) target(*|reveal) bottomoflibrary and!( draw:1 controller )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend 
text=Look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. If you didn't put a card into your hand this way, draw a card.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Adventurous Impulse
aicode=activate transforms((,newability[target(*[creature;land;zpos<=3]|myLibrary) moveTo(myHand) and!( all(other *[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=name(Look top 3 cards) reveal:3 optionone name(Get creature or land) target(<upto:1>*[creature;land]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top three cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
mana={G}
type=Sorcery
[/card]
[card]
name=Aegar, the Freezing Flame
auto=@damaged(*[creature;planeswalker]|opponentbattlefield) from(*[giant;wizard]|myzones):if compare(excessdamage)~morethan~0 then draw:1 controller
auto=@damaged(*[creature;planeswalker]|opponentbattlefield) from(*[instant;sorcery]|myzones):if compare(excessdamage)~morethan~0 then draw:1 controller
text=Whenever a creature or planeswalker an opponent controls is dealt excess damage, if a Giant, Wizard, or spell you controlled dealt damage to it this turn, draw a card.
mana={1}{U}{R}
type=Legendary Creature
subtype=Giant Wizard
power=3
toughness=3
[/card]
[card]
name=Aegis Turtle
mana={U}
type=Creature
subtype=Turtle
power=0
toughness=5
[/card]
[card]
name=Aegis of the Heavens
target=creature
auto=+1/+7 
text=Target creature gets +1/+7 until end of turn.
mana={1}{W}
type=Instant
[/card]
[card]
name=Aerial Assault
target=creature[tapped]
auto=destroy
auto=life:type:creature[flying]:battlefield controller
text=Destroy target tapped creature. You gain 1 life for each creature you control with flying.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Aerial Engineer
auto=aslongas(artifact|myBattlefield) +2/+0
auto=aslongas(artifact|myBattlefield) flying
text=As long as you control an artifact, Aerial Engineer gets +2/+0 and has flying.
mana={2}{W}{U}
type=Creature
subtype=Human Artificer
power=2
toughness=4
[/card]
[card]
name=Aerial Formation
abilities=hasnokicker,hasstrive
kicker=multi{2}{U} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[1/1],newability[flying])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[1/1],newability[flying])) ueot
text=Strive - Aerial Formation costs {2}{U} more to cast for each target beyond the first. -- Any number of target creatures each get +1/+1 and gain flying until end of turn.
mana={U}
type=Instant
[/card]
[card]
name=Aerial Guide
abilities=flying
auto=_ATTACKING_flying target(other creature[attacking]|mybattlefield)
text=Flying -- Whenever Aerial Guide attacks, another target attacking creature gains flying until end of turn.
mana={2}{U}
type=Creature
subtype=Drake
power=2
toughness=2
[/card]
[card]
name=Aerial Volley
auto=thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature[flying]) damage:1!$ controller
text=Aerial Volley deals 3 damage divided as you choose among one, two, or three target creatures with flying.
mana={G}
type=Instant
[/card]
[card]
name=Aeromoeba
abilities=flying
auto={D(*|myHand)}:swap
text=Flying -- Discard a card: Switch Aeromoeba's power and toughness until end of turn.
mana={3}{U}
type=Creature
subtype=Elemental Beast
power=2
toughness=4
[/card]
[card]
name=Aeromunculus
abilities=flying
auto={2}{G}{U}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.1)])) forever
text=Flying -- {2}{G}{U}: Adapt 1. (If this creature has no +1/+1 counters on it, put a +1/+1 counter on it.)
mana={1}{G}{U}
type=Creature
subtype=Homunculus Mutant
power=2
toughness=3
[/card]
[card]
name=Aesi, Tyrant of Gyre Strait
auto=maxPlay(land)+1
auto=_LANDFALL_may draw:1 controller
text=You may play an additional land on each of your turns. -- Whenever a land enters the battlefield under your control, you may draw a card.
mana={4}{G}{U}
type=Legendary Creature
subtype=Serpent
power=5
toughness=5
[/card]
[card]
name=Aether Gust
target=*[red;green]|battlefield,stack
auto=transforms((,newability[Choice name(Top) moveto(library)],newability[Choice name(Bottom) bottomoflibrary])) controller
text=Choose target spell or permanent that's red or green. Its owner puts it on the top or bottom of their library.
mana={1}{U}
type=Instant
[/card]
[card]
name=Aether Helix
target=*[-instant;-sorcery]|battlefield
auto=moveto(ownerhand)
auto=ability$!name(Return permanent) name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(myhand)!$ controller
text=Return target permanent to its owner's hand. Return target permanent card from your graveyard to your hand.
mana={3}{G}{U}
type=Sorcery
[/card]
[card]
name=Aether Storm
auto=maxCast(creature)0 opponent
auto=maxCast(creature)0 controller
auto={L:4}:bury(this) opponent
auto={L:4}:bury(this) controller
text=Creature spells can't be cast. -- Pay 4 life: Destroy Aether Storm. It can't be regenerated. Any player may activate this ability.
mana={3}{U}
type=Enchantment
[/card]
[card]
name=Aether Tunnel
target=creature
auto=teach(creature) +1/+0
auto=teach(creature) unblockable
text=Enchant creature -- Enchanted creature gets +1/+0 and can't be blocked.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Aetherborn Marauder
abilities=flying,lifelink
auto=all(*[counter{1/1}|mybattlefield) transforms((,newability[thisforeach(counter{1/1.1}) may name(Move 1/1 counter) counter(1/1.-1) all(this) && counter(1/1) target(Aetherborn Marauder[fresh]|mybattlefield)])) oneshot
text=Flying, lifelink -- When Aetherborn Marauder enters the battlefield, move any number of +1/+1 counters from other permanents you control onto Aetherborn Marauder.
mana={3}{B}
type=Creature
subtype=Aetherborn Rogue
power=2
toughness=2
[/card]
[card]
name=Aethershield Artificer
auto=@each my combatbegins:target(artifact creature|myBattlefield)) 2/2 && indestructible ueot
text=At the beginning of combat on your turn, target artifact creature you control gets +2/+2 and gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={3}{W}
type=Creature
subtype=Dwarf Artificer
power=3
toughness=3
[/card]
[card]
name=Aetherstorm Roc
abilities=flying
auto=alterenergy:1 controller
auto=_ATTACKING_pay({e:2}) counter(1/1,1) && tap(noevent) target(creature|opponentbattlefield)
text=Flying -- Whenever Aetherstorm Roc or another creature enters the battlefield under your control, you get {E} (an energy counter). -- Whenever Aetherstorm Roc attacks, you may pay {E}{E}. If you do, put a +1/+1 counter on it and tap up to one target creature defending player controls.
mana={2}{W}{W}
type=Creature
subtype=Bird
power=3
toughness=3
[/card]
[card]
name=Aeve, Progenitor Ooze
auto=counter(1/1,type:*[ooze]:mybattlefield) 
auto=if cantargetcard(*[-token]) then thisforeach(variable{pstormcount}>=2) clone options(nolegend)
text=Storm (When you cast this spell, copy it for each spell cast before it this turn. Copies become tokens.) -- Aeve, Progenitor Ooze isn't legendary if it's a token. -- Aeve enters the battlefield with a +1/+1 counter on it for each other Ooze you control.
mana={2}{G}{G}{G}
type=Legendary Creature
subtype=Ooze
power=2
toughness=2
[/card]
[card]
name=Affectionate Indrik
auto=may target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>
text=When Affectionate Indrik enters the battlefield, you may have it fight target creature you don't control. (Each deals damage equal to its power to the other.)
mana={5}{G}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Agadeem's Awakening
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Agadeem, the Undercrypt)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Agadeem, the Undercrypt) name(Agadeem, the Undercrypt) flip(Agadeem, the Undercrypt) forcetype(land)
auto=this(X=0) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard)
auto=this(X=1) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller
auto=this(X=2) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller
auto=this(X=3) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller
auto=this(X=4) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=4]|myGraveyard)!$ controller
auto=this(X=5) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=4]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=5]|myGraveyard)!$ controller
auto=this(X=6) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=4]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=5]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=6]|myGraveyard)!$ controller
auto=this(X=7) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=4]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=5]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=6]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=7]|myGraveyard)!$ controller
auto=this(X=8) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=4]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=5]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=6]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=7]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=8]|myGraveyard)!$ controller
auto=this(X=9) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=4]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=5]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=6]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=7]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=8]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=9]|myGraveyard)!$ controller
auto=this(X=10) name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=0]|myGraveyard) && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=1]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=2]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=3]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=4]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=5]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=6]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=7]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=8]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=9]|myGraveyard)!$ controller && ability$!name(Return any creatures from graveyard) moveTo(myBattlefield) target(creature[manacost=10]|myGraveyard)!$ controller
auto=this(X>10) name(Return any creatures from graveyard) moveTo(myBattlefield) target(<anyamount>creature[manacost<=X]|myGraveyard) 
text=Return from your graveyard to the battlefield any number of target creature cards that each have a different converted mana cost X or less. // Agadeem, the Undercrypt
mana={X}{B}{B}{B}
type=Sorcery
[/card]
[card]
name=Agadeem, the Undercrypt
auto=ability$!name(Choose one) choice name(Pay 3 life) life:-3 _ choice name(Tap) tap(noevent) all(mysource)!$ controller
auto={T}:add{B}
text=As Agadeem, the Undercrypt enters the battlefield, you may pay 3 life. If you don't, it enters the battlefield tapped. -- {T}: Add {B}. // {X}{B}{B}{B} Agadeem's Awakening
type=Land
[/card]
[card]
name=Ageless Guardian
mana={1}{W}
type=Creature
subtype=Spirit Soldier
power=1
toughness=4
[/card]
[card]
name=Agent of Treachery
auto=moveTo(myBattlefield) target(*|opponentBattlefield)
auto=@each my endofturn:ability$!name(Choose one) choice name(You control 3 or more permanents you don't own) draw:3 controller _ choice name(You don't control 3 or more permanents you don't own) donothing!$ controller
text=When Agent of Treachery enters the battlefield, gain control of target permanent. -- At the beginning of your end step, if you control three or more permanents you don't own, draw three cards.
mana={5}{U}{U}
type=Creature
subtype=Human Rogue
power=2
toughness=3
[/card]
[card]
name=Aggression
target=creature[-wall]
auto=first strike
auto=trample
auto=teach(creature) transforms((,newability[@each my endofturn restriction{didntattack}:destroy]))
text=Enchant non-Wall creature -- Enchanted creature has first strike and trample. -- At the beginning of the end step of enchanted creature's controller, destroy that creature if it didn't attack this turn.
mana={2}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Aggressive Instinct
target=creature|mybattlefield
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike!>])) forever
text=Target creature you control deals damage equal to its power to target creature you don't control.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Aggressive Mammoth
abilities=trample
auto=lord(other creature|myBattlefield) trample
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- Other creatures you control have trample.
mana={3}{G}{G}{G}
type=Creature
subtype=Elephant
power=8
toughness=8
[/card]
[card]
name=Agitator Ant
auto=@each my endofturn:may name(Put 1/1 counters and goad) target(creature|mybattlefield) transforms((,newability[counter(1/1.2)],newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[phaseaction[endofturn next once sourceinplay] removeallcounters(0/0.-1.Goaded)])) forever
auto=@each my endofturn:ability$!may name(Put 1/1 counters and goad) target(creature|mybattlefield) transforms((,newability[counter(1/1.2)],newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[phaseaction[endofturn next once sourceinplay] removeallcounters(0/0.-1.Goaded)])) forever!$ opponent
text=At the beginning of your end step, each player may put two +1/+1 counters on a creature they control. Goad each creature that had counters put on it this way. (Until your next turn, those creatures attack each combat if able and attack a player other than you if able.)
mana={2}{R}
type=Creature
subtype=Insect
power=2
toughness=2
[/card]
[card]
name=Agonizing Remorse
aicode=activate moveto(exile) notatarget(*[-land]|opponenthand,opponentGraveyard)
auto=choice name(reveal from hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose to exile) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend && life:-1 controller
auto=choice name(reveal from graveyard) moveto(exile) target(*[-land]|opponentGraveyard) && life:-1 controller
text=Target opponent reveals their hand. You choose a nonland card from it or a card from their graveyard. Exile that card. You lose 1 life.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Agonizing Syphon
auto=damage:3 target(player,creature,planeswalker) && life:3
text=Agonizing Syphon deals 3 damage to any target and you gain 3 life.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Ahn-Crop Champion
auto=@exerted(this):untap all(other creature|mybattlefield)
auto=_ATTACKING_may exert
text=You may exert Ahn-Crop Champion as it attacks. When you do, untap all other creatures you control. (An exerted creature won't untap during your next untap step.)
mana={2}{G}{W}
type=Creature
subtype=Human Warrior
power=4
toughness=4
[/card]
[card]
name=Ahn-Crop Crasher
abilities=haste
auto=@exerted(this):target(creature) cantblock ueot
auto=_ATTACKING_may exert
text=Haste -- You may exert Ahn-Crop Crasher as it attacks. When you do, target creature can't block this turn. (An exerted creature won't untap during your next untap step.)
mana={2}{R}
type=Creature
subtype=Minotaur Warrior
power=3
toughness=2
[/card]
[card]
name=Ahn-Crop Invader
auto=this(variable{controllerturn}>0) first strike
auto={1}{S(other creature|mybattlefield)}:2/0 ueot
text=As long as it's your turn, Ahn-Crop Invader has first strike. -- {1}, Sacrifice another creature: Ahn-Crop Invader gets +2/+0 until end of turn.
mana={2}{R}
type=Creature
subtype=Zombie Minotaur Warrior
power=2
toughness=2
[/card]
[card]
name=Aid from the Cowl
aicode=activate transforms((,newability[may name(Put on battlefield) target(*[-instant;-sorcery;zpos<=1]|mylibrary) moveto(myBattlefield)])) oneshot
auto=@each my endofturn:if revolt then name(Look top card) name(Look top card) reveal:1 optionone target(*[-instant;-sorcery]|reveal) transforms((,newability[choice name(Put on battlefield) moveto(mybattlefield)],newability[choice name(Put on bottom) bottomoflibrary],newability[choice name(Put back) moveto(mylibrary)])) oneshot optiononeend optiontwo name(Put Back On Bottom) target(*|reveal) transforms((,newability[choice name(Put back) moveto(mylibrary)],newability[choice name(Put on bottom) bottomoflibrary])) oneshot optiontwoend revealend
text=Revolt - At the beginning of your end step, if a permanent you controlled left the battlefield this turn, reveal the top card of your library. If it's a permanent card, you may put it onto the battlefield. Otherwise, you may put it on the bottom of your library.
mana={3}{G}{G}
type=Enchantment
[/card]
[card]
name=Aid the Fallen
auto=name(creature and planeswalker) moveTo(ownerHand) target(creature|mygraveyard) and!(may moveTo(ownerHand) target(planeswalker|mygraveyard))!
auto=moveTo(ownerHand) target(planeswalker|mygraveyard)
text=Choose one or both -- Return target creature card from your graveyard to your hand. -- Return target planeswalker card from your graveyard to your hand.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Air-Cult Elemental
abilities=flying
auto=may name(Return creature) target(other creature|battlefield) moveto(ownerhand)
text=Flying -- Whirlwind - When Air-Cult Elemental enters the battlefield, return up to one other target creature to its owner's hand.
mana={4}{U}{U}
type=Creature
subtype=Elemental
power=2
toughness=5
[/card]
[card]
name=Ajani's Aid
auto=moveto(myhand) target(Ajani^ Valiant Protector|mylibrary)
auto=moveto(myhand) target(Ajani^ Valiant Protector|mygraveyard)
auto={S}:target(creature) preventAllCombatDamage to(mytgt) ueot
text=When Ajani's Aid enters the battlefield, you may search your library and/or graveyard for a card named Ajani, Valiant Protector, reveal it, and put it into your hand. If you search your library this way, shuffle it. -- Sacrifice Ajani's Aid: Prevent all combat damage a creature of your choice would deal this turn.
mana={2}{G}{W}
type=Enchantment
[/card]
[card]
name=Ajani's Chosen
auto=@movedTo(enchantment[aura]|myBattlefield):all(trigger[to]) transforms((,newability[may name(Attach aura to cat) rehook target(cat[token;fresh]|mybattlefield)])) oneshot
auto=_CONSTELLATION_token(Cat,Creature Cat,2/2,white)
text=Whenever an enchantment enters the battlefield under your control, put a 2/2 white Cat creature token onto the battlefield. If that enchantment is an Aura, you may attach it to the token.
mana={2}{W}{W}
type=Creature
subtype=Cat Soldier
power=3
toughness=3
[/card]
[card]
name=Ajani's Influence
target=creature
auto=counter(1/1,2)
aicode=activate transforms((,newability[target(*[white;zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=name(Look top 5 cards) reveal:5 revealzone(mylibrary) optionone name(Get white card) target(<upto:1>*[white]|reveal) moveto(myhand) optiononeend optiontwo name(Put bottomoflibrary) target(<1>*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Put two +1/+1 counters on target creature. -- Look at the top five cards of your library. You may reveal a white card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Ajani's Last Stand
autohand=@targeted(this) from(*|opponentzones) restriction{type(plains|mybattlefield)~morethan~0}:may name(Discarded from opponent?) name(Discarded from opponent?) token(Avatar,Creature Avatar,4/4,white,flying)
auto=@movedTo(*[creature;planeswalker]|mygraveyard) from(battlefield):may name(Sacrifice and create avatar) name(Sacrifice and create avatar) sacrifice all(this) && token(Avatar,Creature Avatar,4/4,white,flying)
text=Whenever a creature or planeswalker you control dies, you may sacrifice Ajani's Last Stand. If you do, create a 4/4 white Avatar creature token with flying. -- When a spell or ability an opponent controls causes you to discard this card, if you control a Plains, create a 4/4 white Avatar creature token with flying.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Ajani's Presence
abilities=hasnokicker,hasstrive
kicker=multi{2}{W} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[1/1],newability[indestructible])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[1/1],newability[indestructible])) ueot
text=Strive - Ajani's Presence costs {2}{W} more to cast for each target beyond the first. -- Any number of target creatures each get +1/+1 and gain indestructible until end of turn. (Damage and effects that say "destroy" don't destroy them.)
mana={W}
type=Instant
[/card]
[card]
name=Ajani's Welcome
auto=@movedTo(creature|myBattlefield):life:1
text=Whenever a creature enters the battlefield under your control, you gain 1 life.
mana={W}
type=Enchantment
[/card]
[card]
name=Akim, the Soaring Wind
abilities=flying
auto=@movedTo(*[token]|myBattlefield):token(Bird,creature Bird,1/1,white,flying) limit:1
auto={3}{U}{R}{W}:all(creature[token]|myBattlefield)) double strike ueot
text=Flying -- Whenever you create one or more tokens for the first time each turn, create a 1/1 white Bird creature token with flying. -- {3}{U}{R}{W}: Creature tokens you control gain double strike until end of turn.
mana={2}{U}{R}{W}
type=Legendary Creature
subtype=Bird Dinosaur
power=3
toughness=4
[/card]
[card]
name=Akiri, Fearless Voyager
auto=@combat(attacking) source(creature[geared]|myBattlefield):draw:1 controller
auto={W}:name(Select target equipment and then unattach) name(Select target equipment and then unattach) target(equipment|myBattlefield) transforms((,newability[ueot teach(creature) {unattach} restriction{once}:indestructible],newability[teach(creature) tap(noevent)])) ueot
text=Whenever you attack a player with one or more equipped creatures, draw a card. -- {W}: You may unattach an Equipment from a creature you control. If you do, tap that creature and it gains indestructible until end of turn.
mana={1}{R}{W}
type=Legendary Creature
subtype=Kor Warrior
power=3
toughness=3
[/card]
[card]
name=Akiri, Line-Slinger
abilities=first strike, vigilance,partner
auto=foreach(artifact|myBattlefield) 1/0
text=First strike, vigilance -- Akiri, Line-Slinger gets +1/+0 for each artifact you control. -- Partner (You can have two commanders if both have partner.)
mana={R}{W}
type=Legendary Creature
subtype=Kor Soldier Ally
power=0
toughness=3
[/card]
[card]
name=Akoum Hellhound
auto=_LANDFALL_2/2 ueot
text=Landfall - Whenever a land enters the battlefield under your control, Akoum Hellhound gets +2/+2 until end of turn.
mana={R}
type=Creature
subtype=Elemental Dog
power=0
toughness=1
[/card]
[card]
name=Akoum Teeth
auto=tap(noevent)
auto={T}:add{R}
text=Akoum Teeth enters the battlefield tapped. -- {T}: Add {R}. // {5}{R} Akoum Warrior
type=Land
[/card]
[card]
name=Akoum Warrior
abilities=trample
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Akoum Teeth)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Akoum Teeth) name(Akoum Teeth) flip(Akoum Teeth) forcetype(land)
text=Trample // Akoum Teeth
mana={5}{R}
type=Creature
subtype=Minotaur Warrior
power=4
toughness=5
[/card]
[card]
name=Akroma's Will
auto=choice name(Choose first) all(creature|mybattlefield) transforms((,newability[flying],newability[vigilance],newability[double strike])) ueot
auto=choice name(Choose second) all(creature|mybattlefield) transforms((,newability[lifelink],newability[indestructible],newability[protection from blue],newability[protection from red],newability[protection from green],newability[protection from white],newability[protection from black])) ueot
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then choice name(Choose both) name(Choose both) all(creature|mybattlefield) transforms((,newability[flying],newability[vigilance],newability[double strike],newability[lifelink],newability[indestructible],newability[protection from blue],newability[protection from red],newability[protection from green],newability[protection from white],newability[protection from black])) ueot
text=Choose one. If you control a commander as you cast this spell, you may choose both. -- Creatures you control gain flying, vigilance, and double strike until end of turn. -- Creatures you control gain lifelink, indestructible, and protection from all colors until end of turn.
mana={3}{W}
type=Instant
[/card]
[card]
name=Akroma, Vision of Ixidor
abilities=flying,first strike,vigilance,trample,partner
auto=@each combatbegins:all(creature[flying]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[first strike]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[double strike]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[haste]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[deathtouch]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[opponentshroud]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[indestructible]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[lifelink]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[menace]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[reach]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[trample]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[vigilance]|mybattlefield) 1/1 ueot
auto=@each combatbegins:all(creature[partner]|mybattlefield) 1/1 ueot
text=Flying, first strike, vigilance, trample -- At the beginning of each combat, until end of turn, each other creature you control gets +1/+1 if it has flying, +1/+1 if it has first strike, and so on for double strike, deathtouch, haste, hexproof, indestructible, lifelink, menace, protection, reach, trample, vigilance, and partner. -- Partner
mana={5}{W}{W}
type=Legendary Creature
subtype=Angel
power=6
toughness=6
[/card]
[card]
name=Aladdin
auto={1}{R}{R}{T}:name(Gain control of target artifact) name(Gain control of target artifact) target(artifact) moveto(mybattlefield) and!( counter(0/0,1,AladdinCounter) )!
auto=@movedto(this|nonbattlezone) from(mybattlefield):all(artifact[counter{0/0.1.AladdinCounter}]|mybattlefield) moveto(ownerbattlefield) and!( removeallcounters(0/0,1,AladdinCounter) )!
text={1}{R}{R}, {T}: Gain control of target artifact for as long as you control Aladdin.
mana={2}{R}{R}
type=Creature
subtype=Human Rogue
power=1
toughness=1
[/card]
[card]
name=Aladdin's Lamp
aicode=activate transforms((,newability[target(*[zpos<=fullpaid]|mylibrary) moveto(myhand) and!( all(*[zpos<=fullpaid]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto={1}{T}:name(X=1) name(X=1) donothing
auto={2}{T}:name(X=2) name(X=2) transforms((,newability[replacedraw reveal:2 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=1]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={3}{T}:name(X=3) name(X=3) transforms((,newability[replacedraw reveal:3 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=2]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={4}{T}:name(X=4) name(X=4) transforms((,newability[replacedraw reveal:4 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={5}{T}:name(X=5) name(X=5) transforms((,newability[replacedraw reveal:5 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=4]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={6}{T}:name(X=6) name(X=6) transforms((,newability[replacedraw reveal:6 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={7}{T}:name(X=7) name(X=7) transforms((,newability[replacedraw reveal:7 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=6]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={8}{T}:name(X=8) name(X=8) transforms((,newability[replacedraw reveal:8 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=7]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={9}{T}:name(X=9) name(X=9) transforms((,newability[replacedraw reveal:9 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=8]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend])) ueot
auto={10}{T}:name(X=10) name(X=10) transforms((,newability[replacedraw reveal:10 optionone name(Choose a card) target(*|reveal) moveto(myhand) and!( all(*[zpos<=9]|mylibrary) moveto(myhand) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(*[zpos<=10]) moveto(myhand) afterrevealedend revealend])) ueot
text={X}, {T}: The next time you would draw a card this turn, instead look at the top X cards of your library, put all but one of them on the bottom of your library in a random order, then draw a card. X can't be 0.
mana={10}
type=Artifact
[/card]
[card]
name=Alchemist's Gift
target=creature
auto=1/1 ueot
auto=choice name(Gains deathtouch) deathtouch ueot
auto=choice name(Gains lifelink) lifelink ueot
text=Target creature gets +1/+1 and gains your choice of deathtouch or lifelink until end of turn. (Any amount of damage a creature with deathtouch deals to a creature is enough to destroy it. Damage dealt by a creature with lifelink also causes its controller to gain that much life.)
mana={B}
type=Instant
[/card]
[card]
name=Alela, Artful Provocateur
abilities=flying,deathtouch,lifelink
auto=lord(other creature[flying]|myBattlefield) 1/0
auto=@movedTo(artifact,enchantment|mystack):create(Faerie:creature Faerie:1/1:blue:flying)
text=Flying, deathtouch, lifelink -- Other creatures you control with flying get +1/+0. -- Whenever you cast an artifact or enchantment spell, create a 1/1 blue Faerie creature token with flying.
mana={1}{W}{U}{B}
type=Legendary Creature
subtype=Faerie Warlock
power=2
toughness=3
[/card]
[card]
name=Alena, Kessig Trapper
abilities=first strike,partner
auto={T}:name(Choose the most powerful fresh creature) name(Choose the most powerful fresh creature) target(creature[fresh]|myBattlefield) transforms((,newability[thisforeach(variable{power}) add{R}])) oneshot
text=First strike -- {T}: Add an amount of {R} equal to the greatest power among creatures you control that entered the battlefield this turn. -- Partner (You can have two commanders if both have partner.)
mana={4}{R}
type=Legendary Creature
subtype=Human Scout
power=4
toughness=3
[/card]
[card]
name=Alert Heedbonder
abilities=vigilance
auto=@each my end:life:type:creature[vigilance]|myBattlefield
text=Vigilance -- At the beginning of your end step, you gain 1 life for each creature you control with vigilance.
mana={1}{GW}{GW}
type=Creature
subtype=Human Scout
power=2
toughness=4
[/card]
[card]
name=Alhammarret's Archive
abilities=lifefaker
auto=@lifeof(player) from(*[-Alhammarret's Archive]):life:thatmuch
auto=replacedraw draw:2 noreplace
text=If you would gain life, you gain twice that much life instead. -- If you would draw a card except the first one you draw in each of your draw steps, draw two cards instead.
mana={5}
type=Legendary Artifact
[/card]
[card]
name=Alharu, Solemn Ritualist
abilities=partner
auto=target(<upto:2>creature) counter(1/1)
auto=@movedto(creature[-token;counter{1/1}]|mygraveyard) from(mybattlefield):token(Spirit,Creature Spirit,1/1,white,flying)
text=When Alharu, Solemn Ritualist enters the battlefield, put a +1/+1 counter on each of up to two other target creatures. -- Whenever a nontoken creature you control with a +1/+1 counter on it dies, create a 1/1 white Spirit creature token with flying. -- Partner (You can have two commanders if both have partner.)
mana={4}{W}
type=Legendary Creature
subtype=Human Monk
power=3
toughness=3
[/card]
[card]
name=Alibou, Ancient Witness
aicode=activate transforms((,newability[all(*[zpos<=type:artifact[tapped]:mybattlefield]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=lord(other creature[artifact]|mybattlefield) haste
auto=@combat(attacking) source(creature[artifact]|myBattlefield):name(Deals damage) damage:type:artifact[tapped]:mybattlefield target(player,creature,planeswalker)
auto=@combat(attacking) source(creature[artifact]|myBattlefield):name(Scry cards) scry:type:artifact[tapped]:mybattlefield scrycore delayed dontshow donothing scrycoreend scryend
text=Other artifact creatures you control have haste. -- Whenever one or more artifact creatures you control attack, Alibou, Ancient Witness deals X damage to any target and you scry X, where X is the number of tapped artifacts you control.
mana={3}{R}{W}
type=Legendary Artifact Creature
subtype=Golem
power=4
toughness=5
[/card]
[card]
name=Alirios, Enraptured
auto=tap(noevent)
auto=aslongas(creature[Reflection]|mybattlefield) doesnotuntap
auto=token(Reflection,creature Reflection,3/2,blue)
text=Alirios, Enraptured enters the battlefield tapped. -- Alirios doesn't untap during your untap step if you control a Reflection. -- When Alirios enters the battlefield, create a 3/2 blue Reflection creature token.
mana={2}{U}
type=Legendary Creature
subtype=Human
power=2
toughness=3
[/card]
[card]
name=Alive // Well
abilities=hasnokicker
other={W} name(Well)
kicker={W} name(Fuse)
auto=if paid(alternative) then life:twicetype:creature:mybattlefield
auto=ifnot paid(alternative) then token(Centaur,Creature Centaur,3/3,green)
auto=if paid(kicker) then ability$!name(Gain life) name(Gain life) life:twicetype:creature:mybattlefield!$ controller
text=Put a 3/3 green Centaur creature token onto the battlefield. //  You gain 2 life for each creature you control. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={3}{G}
type=Sorcery
[/card]
[card]
name=All That Glitters
target=creature
auto=type:*[artifact,enchantment]:mybattlefield/type:*[artifact,enchantment]:mybattlefield nonstatic
text=Enchant creature -- Enchanted creature gets +1/+1 for each artifact and/or enchantment you control.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Allied Assault
auto=choice name(Target 0 creatures) donothing
auto=choice name(Target 1 creature) target(creature) calculateparty/calculateparty ueot
auto=choice name(Target 2 creatures) target(<2>creature) calculateparty/calculateparty ueot
text=Up to two target creatures each get +X/+X until end of turn, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Allosaurus Shepherd
abilities=nofizzle
auto=lord(*[green]|mystack) nofizzle
auto={4}{G}{G}:all(creature[elf]|mybattlefield) becomes(Dinosaur,5/5)
text=Allosaurus Shepherd can't be countered. -- Green spells you control can't be countered. -- {4}{G}{G}: Until end of turn, each Elf creature you control has base power and toughness 5/5 and becomes a Dinosaur in addition to its other creature types.
mana={G}
type=Creature
subtype=Elf Shaman
power=1
toughness=1
[/card]
[card]
name=Allure of the Unknown
auto=if type(*[-land;zpos<=6]|mylibrary)~morethan~0 then ability$!name(Reveal the top six cards) name(Reveal the top six cards) target(<6>*[zpos<=6]|opponentlibrary) donothing!$ opponent
auto=if type(*[-land;zpos<=6]|mylibrary)~morethan~0 then ability$!name(Choose one) name(Exile and cast) target(*[-land;zpos<=6]|opponentlibrary) moveto(exile) and!( activate castcard(normal) and!( moveto(opponenthand) all(*[zpos<=6]|opponentlibrary) )! )! _ choice name(Exile and don't cast) target(*[-land;zpos<=6]|opponentlibrary) moveto(exile) and!( moveto(opponenthand) all(*[zpos<=6]|opponentlibrary) )! !$ opponent
auto=if type(*[-land;zpos<=6]|mylibrary)~equalto~0 then ability$!name(Reveal the top six cards) name(Reveal the top six cards) target(<6>*[zpos<=6]|opponentlibrary) moveto(opponenthand)!$ opponent
text=Reveal the top six cards of your library. An opponent exiles a nonland card from among them, then you put the rest into your hand. That opponent may cast the exiled card without paying its mana cost.
mana={3}{B}{R}
type=Sorcery
[/card]
[card]
name=Ally Encampment
auto={T}:add{C}
auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{B}
auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{U}
auto={1}{T}{S}:target(ally|myBattlefield) moveTo(ownerhand)
text={T}: Add {C} to your mana pool. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast an Ally spell. -- {1}, {T}, Sacrifice Ally Encampment: Return target Ally you control to its owner's hand.
type=Land
[/card]
[card]
name=Almighty Brushwagg
abilities=trample
auto={3}{G}:all(this) 3/3 ueot
text=Trample -- {3}{G}: Almighty Brushwagg gets +3/+3 until end of turn.
mana={G}
type=Creature
subtype=Brushwagg
power=1
toughness=1
[/card]
[card]
name=Alms
auto={1}:moveto(exile) all(*[zpos=1]|mygraveyard) && prevent:1 target(creature)
text={1}, Exile the top card of your graveyard: Prevent the next 1 damage that would be dealt to target creature this turn.
mana={W}
type=Enchantment
[/card]
[card]
name=Alpha Status
target=creature
auto=teach(creature) foreach(other creature[share!subtype!]|battlefield) 2/2
text=Enchant creature -- Enchanted creature gets +2/+2 for each other creature on the battlefield that shares a creature type with it.
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Alpine Guide
auto=target(land[mountain]|mylibrary) moveto(myhand)
auto=@movedTo(this|nonbattlezone) from(battlefield):target(land[mountain]|mybattlefield) sacrifice
text=When Alpine Guide enters the battlefield, you may search your library for a Mountain card, put that card onto the battlefield tapped, then shuffle your library. -- Alpine Guide attacks each combat if able. -- When Alpine Guide leaves the battlefield, sacrifice a Mountain.
mana={2}{R}
type=Snow Creature
subtype=Human Scout
power=3
toughness=3
[/card]
[card]
name=Alpine Houndmaster
auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Alpine and Igneous) name(Search Alpine and Igneous) name(Search Alpine and Igneous) target(Alpine Watchdog|mylibrary) moveto(myhand) and!( transforms((,newability[name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(myhand) and!( shuffle )! ])) oneshot )!
auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Alpine Watchdog) name(Search Alpine Watchdog) name(Search Alpine Watchdog) target(Alpine Watchdog|mylibrary) moveto(myhand) and!( shuffle )!
auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Igneous Cur) name(Search Igneous Cur) name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(myhand) and!( shuffle )!
auto=if type(Alpine Watchdog|mylibrary)~morethan~0 then if type(Igneous Cur|mylibrary)~equalto~0 then choice name(Search Alpine Watchdog) name(Search Alpine Watchdog) name(Search Alpine Watchdog) target(Alpine Watchdog|mylibrary) moveto(myhand) and!( shuffle )!
auto=if type(Alpine Watchdog|mylibrary)~equalto~0 then if type(Igneous Cur|mylibrary)~morethan~0 then choice name(Search Igneous Cur) may name(Search Igneous Cur) target(Igneous Cur|mylibrary) moveto(myhand) and!( shuffle )!
auto=choice name(Don's search library) name(Don's search library) donothing
auto=_ATTACKING_type:creature[attacking]:myBattlefield/0 ueot
text=When Alpine Houndmaster enters the battlefield, you may search your library for a card named Alpine Watchdog and/or a card named Igneous Cur, reveal them, put them into your hand, then shuffle your library. -- Whenever Alpine Houndmaster attacks, it gets +X/+0 until end of turn, where X is the number of other attacking creatures.
mana={R}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Alpine Meadow
auto=tap(noevent)
text=({T}: Add {R} or {W}.) -- Alpine Meadow enters the battlefield tapped.
type=Snow Land
subtype=Mountain Plains
[/card]
[card]
name=Alpine Moon
auto=chooseaname transforms((,newability[lord(land[chosenname]|opponentbattlefield) loseabilities],newability[lord(land[chosenname]|opponentbattlefield) losesubtypesof(land)],newability[lord(land[chosenname]|opponentbattlefield) transforms((,newability[{T}:add{G}],newability[{T}:add{R}],newability[{T}:add{U}],newability[{T}:add{B}],newability[{T}:add{W}]))])) forever chooseend nonbasicland
text=As Alpine Moon enters the battlefield, choose a nonbasic land card name. -- Lands your opponents control with the chosen name lose all land types and abilities, and they gain "{T}: Add one mana of any color."
mana={R}
type=Enchantment
[/card]
[card]
name=Alpine Watchdog
abilities=vigilance
text=Vigilance (Attacking doesn't cause this creature to tap.)
mana={1}{W}
type=Creature
subtype=Dog
power=2
toughness=2
[/card]
[card]
name=Alrund's Epiphany
abilities=foretell,exiledeath
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={4}{U}{U} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=token(Bird,Creature Bird,1/1,blue,flying)*2
auto=turns:+1 controller
text=Create two 1/1 blue Bird creature tokens with flying. Take an extra turn after this one. Exile Alrund's Epiphany. -- Foretell {4}{U}{U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={5}{U}{U}
type=Sorcery
[/card]
[card]
name=Alrund, God of the Cosmos
other={1}{U} name(Hakka, Whispering Raven)
otherrestriction=can play creature,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Hakka, Whispering Raven)
autostack=if paid(alternative) then name(Hakka, Whispering Raven) name(Hakka, Whispering Raven) flip(Hakka, Whispering Raven) forcetype(Legendary Creature)
auto=this(variable{isflipped}<1) foreach(*[foretold]|myexile) 1/1
auto=this(variable{isflipped}<1) foreach(*|myhand) 1/1
auto=@each my endofturn restriction{compare(isflipped)~equalto~0}:transforms((,newability[choice name(Creature) reveal:2 optionone name(Get Creature) target(<2>Creature|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Artifact) reveal:2 optionone name(Get Artifact) target(<2>artifact|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Enchantment) reveal:2 optionone name(Get Enchantment) target(<2>enchantment|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Instant) reveal:2 optionone name(Get Instant) target(<2>instant|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) name(Bottom of library) bottomoflibrary optiontwoend revealend],newability[choice name(Land) reveal:2 optionone name(Get Land) target(<2>land|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Planeswalker) reveal:2 optionone name(Get Planeswalker) target(<2>planeswalker|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Sorcery) reveal:2 optionone name(Get Sorcery) target(<2>sorcery|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend],newability[choice name(Tribal) reveal:2 optionone name(Get Tribal) target(<2>tribal|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<2>*|reveal) bottomoflibrary optiontwoend revealend])) oneshot
aicode=activate transforms((,newability[if type(*[creature;zpos<=2]|mylibrary)~equalto~0 then all(*[zpos<=2]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! else all(*[creature;zpos<=2]|mylibrary) moveto(myhand) and!( all(*[-creature;zpos<=2]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
text=Alrund gets +1/+1 for each card in your hand and each foretold card you own in exile. -- At the beginning of your end step, choose a card type, then reveal the top two cards of your library. Put all cards of the chosen type into your hand and the rest on the bottom of your library in any order. // {1}{U} Hakka, Whispering Raven
mana={3}{U}{U}
type=Legendary Creature
subtype=God
power=1
toughness=1
[/card]
[card]
name=Alseid of Life's Bounty
abilities=lifelink
auto={1}{S}:name(Protection from white) protection from white target(creature,enchantment|myBattlefield)
auto={1}{S}:name(Protection from blue) protection from blue target(creature,enchantment|myBattlefield)
auto={1}{S}:name(Protection from black) protection from black target(creature,enchantment|myBattlefield)
auto={1}{S}:name(Protection from red) protection from red target(creature,enchantment|myBattlefield)
auto={1}{S}:name(Protection from green) protection from green target(creature,enchantment|myBattlefield)
text=Lifelink -- {1}, Sacrifice Alseid of Life's Bounty: Target creature or enchantment you control gains protection from the color of your choice until end of turn.
mana={W}
type=Enchantment Creature
subtype=Nymph
power=1
toughness=1
[/card]
[card]
name=Altar of Dementia
auto={S(creature|mybattlefield)}:name(deplete player) target(player) deplete:storedpower
text=Sacrifice a creature: Target player puts a number of cards equal to the sacrificed creature's power from the top of their library into their graveyard.
mana={2}
type=Artifact
[/card]
[card]
name=Altar of the Goyf
auto=@combat(attackedalone) source(creature|myBattlefield):all(trigger[to]) allgravecardtypes/allgravecardtypes ueot
auto=lord(*[lhurgoyf]|myBattlefield) trample
text=Whenever a creature you control attacks alone, it gets +X/+X until end of turn, where X is the number of card types among cards in all graveyards. -- Lhurgoyf creatures you control have trample.
mana={5}
type=Tribal Artifact
subtype=Lhurgoyf
[/card]
[card]
name=Altar of the Lost
auto=tap(noevent)
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{B}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{R}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{G}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{U}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{B}{R}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{B}{G}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{B}{U}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{R}{G}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{R}{U}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{U}{G}
text=Altar of the Lost enters the battlefield tapped. -- {T}: Add two mana in any combination of colors to your mana pool. Spend this mana only to cast spells with flashback from a graveyard.
mana={3}
type=Artifact
[/card]
[card]
name=Altar of the Pantheon
auto=alterdevoffset:1 controller
auto=@movedto(this|nonbattlezone) from(battlefield):alterdevoffset:-1 controller
auto=this(variable{type:*[god;demigod]:mybattlefieldplustype:enchantment[legendary]:mybattlefieldplusend}>0) {T}:ability$! name(choose a color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller && life:1 controller
auto=this(variable{type:*[god;demigod]:mybattlefieldplustype:enchantment[legendary]:mybattlefieldplusend}=0) {T}:ability$! name(choose a color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller
text=Your devotion to each color and each combination of colors is increased by one. -- {T}: Add one mana of any color. If you control a God, a Demigod, or a legendary enchantment, you gain 1 life.
mana={3}
type=Artifact
[/card]
[card]
name=Amaranthine Wall
abilities=defender
auto={2}:indestructible ueot
text=Defender -- {2}: Amaranthine Wall gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={4}
type=Artifact Creature
subtype=Wall
power=0
toughness=6
[/card]
[card]
name=Amareth, the Lustrous
abilities=flying
aicode=activate transforms((,newability[may name(Put in hand) target(*[zpos<=1;share!types!]|mylibrary) moveto(myhand)])) oneshot
auto=@movedTo(planeswalker|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>planeswalker|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(creature|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>creature|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(land[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>land|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(enchantment[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>enchantment|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(artifact[-creature;-land;-enchantment]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>artifact|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
text=Flying -- Whenever another permanent enters the battlefield under your control, look at the top card of your library. If it shares a card type with that permanent, you may reveal that card and put it into your hand.
mana={3}{G}{W}{U}
type=Legendary Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Amateur Auteur
auto={S}:destroy target(enchantment)
text=Sacrifice Amateur Auteur: Destroy target enchantment.
mana={1}{W}
type=Creature
subtype=Human
power=2
toughness=2
[/card]
[card]
name=Ambitious Farmhand
backside=Seasoned Cathar
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=may name(Search a basic plains) target(plains[basic]|mylibrary) moveto(myhand) and!( shuffle )!
auto={1}{W}{W} restriction{coven}:name(Transform Ambitious Farmhand) flip(backside)
text=When Ambitious Farmhand enters the battlefield, you may search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. -- Coven-{1}{W}{W}: Transform Ambitious Farmhand. Activate only if you control three or more creatures with different powers. // Seasoned Cathar
mana={1}{W}
type=Creature
subtype=Human Peasant
power=1
toughness=1
[/card]
[card]
name=Ambuscade
target=creature|myBattlefield
auto=1/0
auto=damage:power target(creature|opponentbattlefield)
text=Target creature you control gets +1/+0 until end of turn. It deals damage equal to its power to target creature an opponent controls.
mana={2}{G}
type=Instant
[/card]
[card]
name=Ammit Eternal
auto=@combatdamaged(player) from(this):removeallcounters(-1/-1)
auto=@movedTo(*|opponentstack):counter(-1/-1,1)
auto=_BLOCKED_life:-3 opponent
text=Afflict 3 (Whenever this creature becomes blocked, defending player loses 3 life.) -- Whenever an opponent casts a spell, put a -1/-1 counter on Ammit Eternal. -- Whenever Ammit Eternal deals combat damage to a player, remove all -1/-1 counters from it.
mana={2}{B}
type=Creature
subtype=Zombie Crocodile Demon
power=5
toughness=5
[/card]
[card]
name=Amorphous Axe
auto={3}:equip
auto=teach(creature) +3/+0
auto=transforms((allsubtypes))
text=Equipped creature gets +3/+0 and is every creature type. -- Equip {3}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Amphin Mutineer
auto=if type(creature[-salamander]|opponentbattlefield)~morethan~0 then choice name(Exile opponent's creature) name(Exile opponent's creature) moveto(exile) target(creature[-salamander]|opponentbattlefield) && token(Salamander Warrior,Creature Salamander Warrior,4/3,blue) opponent
auto=if type(creature[-salamander]|myBattlefield)~morethan~0 then choice name(Exile your creature) name(Exile your creature) moveto(exile) target(creature[-salamander]|mybattlefield) && token(Salamander Warrior,Creature Salamander Warrior,4/3,blue)
auto=choice name(Don't exile any creature) name(Don't exile any creature) donothing
autograveyard={4}{U}{U}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=When Amphin Mutineer enters the battlefield, exile up to one target non-Salamander creature. That creature's controller creates a 4/3 blue Salamander Warrior creature token. -- Encore {4}{U}{U} ({4}{U}{U}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={3}{U}
type=Creature
subtype=Salamander Pirate
power=3
toughness=3
[/card]
[card]
name=Amplifire
aicode=activate transforms((,newability[target(*[zpos=findfirsttypecreature]|mylibrary) transforms((,newability[all(*[zpos<=findfirsttypecreature]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[thisforeach(variable{power}) all(Amplifire[counter{0/0.1.Effect}]|mybattlefield) 2/2 uynt],newability[all(Amplifire[counter{0/0.1.Effect}]|mybattlefield) -1/-1 uynt],newability[all(Amplifire[counter{0/0.1.Effect}]|mybattlefield) counter(0/0.-1.Effect)])) forever])) oneshot
auto=@each my upkeep:counter(0/0,1,Effect) && name(Reveal cards) Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Choose creature) target(creature|reveal) transforms((,newability[thisforeach(variable{power}) all(Amplifire[counter{0/0.1.Effect}]|mybattlefield) 2/2 uynt],newability[all(Amplifire[counter{0/0.1.Effect}]|mybattlefield) -1/-1 uynt])) forever optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(Amplifire[counter{0/0.1.Effect}]|mybattlefield) counter(0/0,-1,Effect) afterrevealedend revealend
text=At the beginning of your upkeep, reveal cards from the top of your library until you reveal a creature card. Until your next turn, Amplifire's base power becomes twice that card's power and its base toughness becomes twice that card's toughness. Put the revealed cards on the bottom of your library in a random order.
mana={2}{R}{R}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Ana Battlemage
abilities=hasotherkicker
other={2}{U} name(Kicker blue)
kicker={1}{B} name(Kicker black or both)
auto=if paid(alternative) then target(player) ability$!name(Discard 3 cards) name(Discard 3 cards) target(<3>*|myhand) reject!$ targetedplayer
auto=if paid(kicker) then ability$!name(Tap creature) name(Tap creature) target(creature[-tapped]|battlefield) transforms((,newability[tap],newability[damage:power controller])) oneshot!$ controller
auto=if paid(kicker) then pay({2}{U}) name(Pay also kicker blue) target(player) ability$!name(Discard 3 cards) name(Discard 3 cards) target(<3>*|myhand) reject!$ targetedplayer
text=Kicker {2}{U} and/or {1}{B} (You may pay an additional {2}{U} and/or {1}{B} as you cast this spell.) -- When Ana Battlemage enters the battlefield, if it was kicked with its {2}{U} kicker, target player discards three cards. -- When Ana Battlemage enters the battlefield, if it was kicked with its {1}{B} kicker, tap target untapped creature and that creature deals damage equal to its power to its controller.
mana={2}{G}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Anara, Wolvid Familiar
abilities=partner
auto=this(variable{controllerturn}>0) lord(*[iscommander]|mybattlefield) indestructible
text=As long as it's your turn, commanders you control have indestructible. (Effects that say "destroy" don't destroy them. A creature with indestructible can't be destroyed by damage.) -- Partner (You can have two commanders if both have partner.)
mana={3}{G}
type=Legendary Creature
subtype=Wolf Beast
power=4
toughness=4
[/card]
[card]
name=Anavolver
abilities=hasotherkicker
other={3}{G}{B} name(Kicker Black)
kicker={1}{U} name(Kicker Blue or Both)
auto=if paid(alternative) then transforms((,newability[counter(1/1)],newability[{L:3}:regenerate])) forever
auto=if paid(kicker) then transforms((,newability[counter(1/1.2)],newability[flying])) forever
auto=if paid(kicker) then pay({B}) name(Pay also kicker black) transforms((,newability[counter(1/1)],newability[{L:3}:regenerate])) forever
text=Kicker {1}{U} and/or {B} (You may pay an additional {1}{U} and/or {B} as you cast this spell.) -- If Anavolver was kicked with its {1}{U} kicker, it enters the battlefield with two +1/+1 counters on it and with flying. -- If Anavolver was kicked with its {B} kicker, it enters the battlefield with a +1/+1 counter on it and with "Pay 3 life: Regenerate Anavolver."
mana={3}{G}
type=Creature
subtype=Volver
power=3
toughness=3
[/card]
[card]
name=Anax, Hardened in the Forge
anyzone=type:manaR:mybattlefield/3 cdaactive
auto=_DIES_token(Satyr,Creature Satyr,1/1,red,cantblock)
auto=@movedTo(other creature[-token;power<=3]|mygraveyard) from(Battlefield):token(Satyr,Creature Satyr,1/1,red,cantblock)
auto=@movedTo(other creature[-token;power>=4]|mygraveyard) from(Battlefield):token(Satyr,Creature Satyr,1/1,red,cantblock)*2
text=Anax's power is equal to your devotion to red. (Each {R} in the mana costs of permanents you control counts toward your devotion to red.) -- Whenever Anax or another nontoken creature you control dies, create a 1/1 red Satyr creature token with "This creature can't block." If the creature had power 4 or greater, create two of those tokens instead.
mana={1}{R}{R}
type=Legendary Enchantment Creature
subtype=Demigod
power=*
toughness=3
[/card]
[card]
name=Ancestor Dragon
abilities=flying
auto=@each blockers:life:type:creature[attacking]:mybattlefield controller
text=Flying. -- Whenever one o more creatures you control attack, you gain 1 life for each attacking creature.
mana={4}{W}{W}
type=Creature
subtype=Dragon
power=5
toughness=6
[/card]
[card]
name=Ancestral Blade
auto=livingweapontoken(Soldier,Creature Soldier,1/1,white)
auto=teach(creature) 1/1
auto={1}:equip
text=When Ancestral Blade enters the battlefield, create a 1/1 white Soldier creature token, then attach Ancestral Blade to it. -- Equipped creature gets +1/+1. -- Equip {1} ({1} : Attach to target creature you control. Equip only as a sorcery.)
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Ancient Animus
target=creature|myBattlefield
auto=counter(1/1)
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
restriction=type(creature|opponentbattlefield)~morethan~0
text=Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. (Each deals damage equal to its power to the other.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Ancient Brontodon
mana={6}{G}{G}
type=Creature
subtype=Dinosaur
power=9
toughness=9
[/card]
[card]
name=Ancient Excavation
auto=count(type:*:myhand) && draw:countedamount && transforms((,newability[reject target(<countedamount>*|myhand)])) oneshot
autohand={1}{B}{cycle}:restriction{type(land[basic]|mylibrary)~morethan~0} name(Search basic land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )!
autohand={1}{B}{cycle}:restriction{type(land[basic]|mylibrary)~equalto~0} name(Search library) target(*|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( shuffle )! )!
text=Draw cards equal to the number of cards in your hand, then discard a card for each card drawn this way. -- Basic landcycling {2} ({2}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.)
mana={2}{U}{B}
type=Instant
[/card]
[card]
name=Ancient Greenwarden
abilities=reach
auto=lord(land|mygraveyard) CanPlayFromGraveyard
#auto=There is not a code for triggered abilities to apply twice.
text=Reach -- You may play lands from your graveyard. -- If a land entering the battlefield causes a triggered ability you control to trigger, that ability triggers an additional time.
mana={4}{G}{G}
type=Creature
subtype=Elemental
power=5
toughness=7
[/card]
[card]
name=Ancient Stone Idol
abilities=flash, trample
anyzone=foreach(creature[attacking]|battlefield) changecost(colorless:-1) forcedalive
auto=_DIES_create(construct artifact:creature construct artifact:6/12:colorless:trample)
text=Flash -- This spell costs {1} less to cast for each attacking creature. -- Trample -- When Ancient Stone Idol dies, create a 6/12 colorless Construct artifact creature token with trample.
mana={10}
type=Artifact Creature
subtype=Golem
power=12
toughness=12
[/card]
[card]
name=Ancient Ziggurat
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{B}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{U}
text={T}: Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell.
type=Land
[/card]
[card]
name=Angel Ang
abilities=flying
type=Creature
subtype=Angel
power=4
toughness=4
color=white
[/card]
[card]
name=Angel Dec
abilities=flying
type=Creature
subtype=Angel
power=4
toughness=4
color=white
[/card]
[card]
name=Angel Spe
abilities=flying
type=Creature
subtype=Angel
power=4
toughness=4
color=white
[/card]
[card]
name=Angel of Condemnation
abilities=flying, vigilance
auto={2}{W}{T}:(blink)ueot target(other creature|battlefield)
auto=@exerted(this):(blink)forsrc target(other creature|battlefield)
auto={2}{W}{T}:exert
text=Flying, vigilance -- {2}{W}, {T}: Exile another target creature. Return that card to the battlefield under its owner's control at the beginning of the next end step. -- {2}{W}, {T}, Exert Angel of Condemnation: Exile another target creature until Angel of Condemnation leaves the battlefield. (An exerted creature won't untap during your next untap step.)
mana={2}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Angel of Destiny
abilities=flying,double strike
auto=@combatdamaged(player) from(creature|myBattlefield):life:thatmuch controller
auto=@combatdamaged(player) from(creature|myBattlefield):life:thatmuch opponent
auto=@each my endofturn restriction{compare(lifetotalminusstartinglifeminusend)~morethan~14,type(Angel of Destiny[attacking]|myBattlefield)~morethan~0}:winGame controller
text=Flying, double strike -- Whenever a creature you control deals combat damage to a player, you and that player each gain that much life. -- At the beginning of your end step, if you have at least 15 life more than your starting life total, each player Angel of Destiny attacked this turn loses the game.
mana={3}{W}{W}
type=Creature
subtype=Angel Cleric
power=2
toughness=6
[/card]
[card]
name=Angel of Grace
abilities=flash,flying
auto=this(controllerlife >= 1) transforms((,newability[reduceto:1]))
autograveyard={4}{W}{W}{E}:lifeset:10
text=Flash -- Flying -- When Angel of Grace enters the battlefield, until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead. -- {4}{W}{W}, Exile Angel of Grace from your graveyard: Your life total becomes 10.
mana={3}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=4
[/card]
[card]
name=Angel of Salvation
abilities=flash,flying
other={convoke} name(Convoke)
auto=prevent:1 target(creature,player)
auto=ability$!name(prevent) choice target(creature,player) prevent:1!$ controller
auto=ability$!name(prevent) choice target(creature,player) prevent:1!$ controller
auto=ability$!name(prevent) choice target(creature,player) prevent:1!$ controller
auto=ability$!name(prevent) choice target(creature,player) prevent:1!$ controller
text=Flash; convoke (Each creature you tap while casting this spell reduces its cost by {1} or by one mana of that creature's color.) -- Flying -- When Angel of Salvation enters the battlefield, prevent the next 5 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose.
mana={6}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Angel of Sanctions
abilities=flying
auto=may (blink)forsrc target(*[-land]|opponentbattlefield)
autograveyard={5}{W}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Flying -- When Angel of Sanctions enters the battlefield, you may exile target nonland permanent an opponent controls until Angel of Sanctions leaves the battlefield. -- Embalm {5}{W} ({5}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Angel with no mana cost. Embalm only as a sorcery.)
mana={3}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=4
[/card]
[card]
name=Angel of Vitality
abilities=flying,lifefaker
auto=this(controllerlife > 24) 2/2
auto=@lifeof(player) from(*[-lifefaker]|*):life:1 controller
text=Flying -- If you would gain life, you gain that much life plus 1 instead. -- Angel of Vitality gets +2/+2 as long as you have 25 or more life.
mana={2}{W}
type=Creature
subtype=Angel
power=2
toughness=2
[/card]
[card]
name=Angel of the Dawn
abilities=flying
auto=all(creature|myBattlefield)) 1/1
auto=all(creature|myBattlefield)) vigilance
text=Flying -- When Angel of the Dawn enters the battlefield, creatures you control get +1/+1 and gain vigilance until end of turn. (Attacking doesn't cause them to tap.)
mana={4}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Angel of the God-Pharaoh
abilities=flying,cycling
autohand=__CYCLING__({2})
text=Flying -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{W}{W}
type=Creature
subtype=Angel
power=4
toughness=4
[/card]
[card]
name=Angel of the Ruins
abilities=flying
aicode=activate target(plains|mylibrary) moveto(myhand)
autohand={2}{cycle}:name(search plain) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=target(<upto:2>*[artifact;enchantment]|battlefield) moveto(exile)
text=Flying -- When Angel of the Ruins enters the battlefield, exile up to two target artifacts and/or enchantments. -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, put it into your hand, then shuffle.)
mana={5}{W}{W}
type=Artifact Creature
subtype=Angel
power=5
toughness=7
[/card]
[card]
name=Angel's Grace
abilities=split second
auto=all(*|mybattlefield) transforms((,newability[this(controllerlife >= 1) transforms((,newability[reduceto:1]))],newability[cantlose])) ueot
auto=all(*|opponentbattlefield) transforms((,newability[cantwin])) ueot
text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
mana={W}
type=Instant
[/card]
[card]
name=Angel's Trumpet
auto=lord(creature) transforms((,newability[vigilance],newability[@each my end restriction{didntattack}:tap(noevent) && damage:1 controller]))
text=All creatures have vigilance. -- At the beginning of each player's end step, tap all untapped creatures that player controls that didn't attack this turn. Angel's Trumpet deals damage to the player equal to the number of creatures tapped this way.
mana={3}
type=Artifact
[/card]
[card]
name=Angelfire Ignition
target=creature
flashback={2}{R}{W}
auto=transforms((,newability[counter(1/1.2)],newability[vigilance],newability[trample],newability[lifelink],newability[indestructible],newability[haste])) ueot
text=Put two +1/+1 counters on target creature. It gains vigilance, trample, lifelink, indestructible, and haste until end of turn. -- Flashback {2}{R}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{R}{W}
type=Sorcery
[/card]
[card]
name=Angelheart Protector
auto=target(creature|myBattlefield) indestructible ueot
text=When Angelheart Protector enters the battlefield, target creature you control gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={2}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=2
[/card]
[card]
name=Angelic Ascension
target=creature,planeswalker
auto=moveTo(Exile)
auto=token(Angel Ang) targetController
text=Exile target creature or planeswalker. Its controller creates a 4/4 white Angel creature token with flying.
mana={1}{W}
type=Instant
[/card]
[card]
name=Angelic Enforcer
abilities=flying,controllershroud
backside=Enduring Angel
anyzone=lifetotal/lifetotal cdaactive
auto=@combat(attacking) source(this):name(Double your life) life:lifetotal controller
text=Flying -- You have hexproof. -- Angelic Enforcer's power and toughness are each equal to your life total. -- Whenever Angelic Enforcer attacks, double your life total. // Enduring Angel
type=Creature
subtype=Angel
color=white
power=*
toughness=*
[/card]
[card]
name=Angelic Exaltation
auto=count(type:creature:mybattlefield)
auto=@combat(attackedalone) source(creature|myBattlefield):all(trigger[to]) countedamount/countedamount ueot
text=Whenever a creature you control attacks alone, it gets +X/+X until end of turn, where X is the number of creatures you control.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Angelic Field Marshal
abilities=flying
auto=aslongas(*[iscommander]|mybattlefield) 2/2 >0
auto=aslongas(*[iscommander]|mybattlefield) lord(creature|mybattlefield) vigilance >0
text=Flying -- Lieutenant - As long as you control your commander, Angelic Field Marshal gets +2/+2 and creatures you control have vigilance.
mana={2}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Angelic Guardian
abilities=flying
auto=@combat(attacking) source(creature|myBattlefield):all(creature[attacking]|mybattlefield) indestructible ueot
text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- Whenever one or more creatures you control attack, they gain indestructible until end of turn. (Damage and effects that say "destroy" don't destroy them.)
mana={4}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Angelic Reward
target=creature
auto=3/3
auto=flying
text=Enchant creature -- Enchanted creature gets +3/+3 and has flying.
mana={3}{W}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Angelic Rocket
abilities=flying
auto=may destroy target(*[-land])
text=Flying -- When this creature enters the battlefield, you may destroy target nonland permanent.
mana={8}
type=Host Artifact Creature
subtype=Angel
power=4
toughness=4
[/card]
[card]
name=Angler Drake
abilities=flying
auto=may moveto(ownerhand) target(creature)
text=Flying -- When Angler Drake enters the battlefield, you may return target creature to its owner's hand.
mana={4}{U}{U}
type=Creature
subtype=Drake
power=4
toughness=4
[/card]
[card]
name=Angler Turtle
abilities=opponentshroud
auto=lord(creature|opponentBattlefield) mustattack
text=Hexproof -- Creatures your opponents control attack each combat if able.
mana={5}{U}{U}
type=Creature
subtype=Turtle
power=5
toughness=7
[/card]
[card]
name=Angrath's Ambusher
auto=aslongas(planeswalker[Angrath]|myBattlefield)s +2/+0
text=Angrath's Ambusher gets +2/+0 as long as you control an Angrath planeswalker.
mana={2}{B}
type=Creature
subtype=Orc Pirate
power=2
toughness=3
[/card]
[card]
name=Angrath's Fury
target=creature
auto=destroy
auto=ability$!name(Deal 3 damages) name(Deal 3 damages) damage:3 target(player,planeswalker)!$ controller
auto=may name(Move Angrath, Minotaur Pirate to hand) name(Move Angrath, Minotaur Pirate to hand) moveto(myhand) target(Angrath^ Minotaur Pirate|mylibrary,mygraveyard)
text=Destroy target creature. Angrath's Fury deals 3 damage to target player or planeswalker. You may search your library and/or graveyard for a card named Angrath, Minotaur Pirate, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{B}{R}
type=Sorcery
[/card]
[card]
name=Angrath's Marauders
auto=@damaged(creature) from(*[instant;sorcery]|mystack,myGraveyard):damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(*[enchantment;artifact;land;planeswalker]|mybattlefield,myGraveyard):damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(creature[-Angrath's Marauders]|mybattlefield,myGraveyard):damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(creature[Angrath's Marauders]|mybattlefield,myGraveyard):thisforeach(variable{thatmuch}) all(trigger[to]) transform((,newability[0/-1])) oneshot
auto=@damaged(player) from(*[instant;sorcery]|mystack,myGraveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(*[enchantment;artifact;land;planeswalker]|mybattlefield,myGraveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(creature[-Angrath's Marauders]|mybattlefield,myGraveyard):damage:thatmuch all(trigger[to])
auto=@combatdamagefoeof(player) from(this):damage:thatmuch all(trigger[to])
auto=@counterremoved(duplicateAll) from(planeswalker|opponentBattlefield) restriction{myTurnOnly}:donothing
text=If a source you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead.
mana={5}{R}{R}
type=Creature
subtype=Human Pirate
power=4
toughness=4
[/card]
[card]
name=Angrath's Rampage
auto=ability$! name(sacrifices artifact) sacrifice notatarget(artifact|mybattlefield)!$ target(player)
auto=ability$! name(sacrifices creature) sacrifice notatarget(creature|mybattlefield)!$ target(player)
auto=ability$! name(sacrifices planeswalker) sacrifice notatarget(planeswalker|mybattlefield)!$ target(player)
text=Choose one -- Target player sacrifices an artifact. -- Target player sacrifices a creature. -- Target player sacrifices a planeswalker.
mana={B}{R}
type=Sorcery
[/card]
[card]
name=Animal Magnetism
auto=if type(*[creature;zpos<=5]|mylibrary)~morethan~0 then ability$!name(Choose creature card) name(Choose creature card) target(creature[zpos<=5]|opponentlibrary) moveto(opponentBattlefield) and!( moveto(opponentgraveyard) all(*[zpos<=5]|opponentlibrary) )! !$ opponent
auto=if type(*[creature;zpos<=5]|mylibrary)~equalto~0 then ability$!name(Reveal the top five cards) name(Reveal the top five cards) target(<5>*[zpos<=5]|opponentlibrary) moveto(opponentgraveyard)!$ opponent
text=Reveal the top five cards of your library. An opponent chooses a creature card from among them. Put that card onto the battlefield and the rest into your graveyard.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Animal Sanctuary
auto={T}:add{C}
auto={2}{T}:counter(1/1,1) target(creature[bird;cat;dog;goat;ox;snake])
text={T}: Add {C}. -- {2}, {T}: Put a +1/+1 counter on target Bird, Cat, Dog, Goat, Ox, or Snake.
type=Land
[/card]
[card]
name=Animating Faerie // Bring to Life
abilities=flying,adventure
other={2}{U} name(Adventure)
auto=if paid(alternative) then name(Target artifact becomes creature) name(Target artifact becomes creature) target(artifact[-creature]|myBattlefield) transforms((Artifact Creature,newability[counter(1/1.4)])) forever
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Flying // Target noncreature artifact you control becomes a 0/0 artifact creature. Put four +1/+1 counters on it.
mana={2}{U}
type=Creature
subtype=Faerie
power=2
toughness=2
[/card]
[card]
name=Animation Module
auto=@counteradded(1/1) from(*|mybattlefield):name(pay 1 for 1/1 Servo) pay[[{1}]] name(pay 1 for 1/1 Servo) token(Servo,Artifact Creature Servo,1/1)
auto={3}{T}:name(Add a counter) name(Add a counter) target(proliferation) duplicatecounters(single)
text=Whenever one or more +1/+1 counters are placed on a permanent you control, you may pay {1}. If you do, create a 1/1 colorless Servo artifact creature token. -- {3}, {T}: Choose a counter on target permanent or player. Give that permanent or player another counter of that kind.
mana={1}
type=Artifact
[/card]
[card]
name=Anje Falkenrath
abilities=haste
auto={T}{D(*|myhand)}:draw:1 controller
auto=@movedto(*[madness]|mygraveyard) from(myhand):untap
text=Haste -- {T}, Discard a card: Draw a card. -- Whenever you discard a card, if it has madness, untap Anje Falkenrath.
mana={1}{B}{R}
type=Legendary Creature
subtype=Vampire
power=1
toughness=3
[/card]
[card]
name=Anje's Ravager
abilities=madness,mustattack
autoexile=restriction{discarded} pay({1}{r}) name(pay 1R to cast) activate name(pay 1R to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
auto=@combat(attacking) reject all(*|myhand) && draw:3
text=Anje's Ravager attacks each combat if able. -- Whenever Anje's Ravager attacks, discard your hand, then draw three cards. -- Madness {1}{R} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={2}{R}
type=Creature
subtype=Vampire Berserker
power=3
toughness=3
[/card]
[card]
name=Annihilation Rooms
abilities=doublefacedeath,nomovetrigger
other={0} name(Sandfall Cell)
kicker={0} name(Veils of Fear)
auto=count(type:*[twodngtrg]:myBattlefield)
auto=ifnot paid(kicker) then ifnot paid(alternative) then all(Tomb of Annihilation|mycommandzone) counter(0/0,1,Oubliette) notrg
auto=ifnot paid(kicker) then ifnot paid(alternative) then thisforeach(variable{countedamountplus1plusend}) ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller
auto=ifnot paid(kicker) then ifnot paid(alternative) then thisforeach(variable{countedamountplus1plusend}) ability$!name(Sacrifice an artifact) name(Sacrifice an artifact) target(artifact|mybattlefield) sacrifice!$ controller
auto=ifnot paid(kicker) then ifnot paid(alternative) then thisforeach(variable{countedamountplus1plusend}) ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature|mybattlefield) sacrifice!$ controller
auto=ifnot paid(kicker) then ifnot paid(alternative) then thisforeach(variable{countedamountplus1plusend}) ability$!name(Sacrifice a land) name(Sacrifice a land) target(land|mybattlefield) sacrifice!$ controller
auto=ifnot paid(kicker) then if paid(alternative) then ability$!name(Sacrifice an artifact) name(Sacrifice an artifact) target(artifact|mybattlefield) sacrifice!$ controller
auto=ifnot paid(kicker) then if paid(alternative) then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature|mybattlefield) sacrifice!$ controller
auto=ifnot paid(kicker) then if paid(alternative) then ability$!name(Sacrifice a land) name(Sacrifice a land) target(land|mybattlefield) sacrifice!$ controller
auto=if paid(kicker) then if type(*|opponenthand)~equalto~0 then thisforeach(variable{countedamountplus1plusend}) ability$!name(Loose 2 life) name(Loose 2 life) life:-2 controller!$ opponent
auto=if paid(kicker) then if type(*|opponenthand)~morethan~0 then thisforeach(variable{countedamountplus1plusend}) ability$!name(Loose life or discard) choice name(Loose 2 life) life:-2 controller _ choice name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=if paid(kicker) then if type(*|myhand)~equalto~0 then thisforeach(variable{countedamountplus1plusend}) ability$!name(Loose 2 life) name(Loose 2 life) life:-2 controller!$ controller
auto=if paid(kicker) then if type(*|myhand)~morethan~0 then thisforeach(variable{countedamountplus1plusend}) ability$!name(Loose life or discard) choice name(Loose 2 life) life:-2 controller _ choice name(Discard a card) notatarget(*|myhand) reject!$ controller
type=Instant
[/card]
[card]
name=Annoyed Altisaur
abilities=reach,trample
autostack=if casted(this) then activate choice cascade:plibrarycount
text=Reach, trample -- Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={5}{G}{G}
type=Creature
subtype=Dinosaur
power=6
toughness=5
[/card]
[card]
name=Anointed Chorister
abilities=lifelink
auto={4}{W}:3/3 ueot
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- {4}{W}: Anointed Chorister gets +3/+3 until end of turn.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Anointed Deacon
auto=@each my combatbegins:may target(vampire) 2/0 ueot
text=At the beginning of combat on your turn, you may have target Vampire get +2/+0 until end of turn.
mana={4}{B}
type=Creature
subtype=Vampire Cleric
power=3
toughness=3
[/card]
[card]
name=Anointed Procession
abilities=tokenizer
text=If an effect would create one or more tokens under your control, it creates twice that many of those tokens instead.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Anointer Priest
auto=@movedto(creature[token]|mybattlefield):life:1 controller
autograveyard={3}{W}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Whenever a creature token enters the battlefield under your control, you gain 1 life. -- Embalm {3}{W} ({3}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Human Cleric with no mana cost. Embalm only as a sorcery.)
mana={1}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=3
[/card]
[card]
name=Anointer of Valor
abilities=flying
auto=@combat(attacking) source(creature|battlefield):all(trigger[to]) transforms((,newability[pay({3}) counter(1/1)])) oneshot
text=Flying -- Whenever a creature attacks, you may pay 3 . When you do, put a +1/+1 counter on that creature.
mana={5}{W}
type=Creature
subtype=Angel
power=3
toughness=5
[/card]
[card]
name=Anowon, the Ruin Thief
auto=lord(other creature[rogue]|mybattlefield) 1/1
auto=@combatdamagefoeof(player) from(creature[rogue]|myBattlefield) restriction{type(creature[zpos<=thatmuch]|opponentlibrary)~lessthan~1}:deplete:thatmuch opponent
auto=@combatdamagefoeof(player) from(creature[rogue]|myBattlefield) restriction{type(creature[zpos<=thatmuch]|opponentlibrary)~morethan~0}:deplete:thatmuch opponent && draw:1 controller
text=Other Rogues you control get +1/+1. -- Whenever one or more Rogues you control deal combat damage to a player, that player mills a card for each 1 damage dealt to them. If the player mills at least one creature card this way, you draw a card. (To mill a card, a player puts the top card of their library into their graveyard.)
mana={2}{U}{B}
type=Legendary Creature
subtype=Vampire Rogue
power=2
toughness=4
[/card]
[card]
name=Answered Prayers
auto=@movedTo(creature|myBattlefield):life:1
auto=@movedTo(creature|myBattlefield):becomes(Angel Creature,3/3,flying) ueot
text=Whenever a creature enters the battlefield under your control, you gain 1 life. If Answered Prayers isn't a creature, it becomes a 3/3 Angel creature with flying in addition to its other types until end of turn.
mana={1}{W}{W}
type=Enchantment
[/card]
[card]
name=Anthem of Rakdos
auto=@damaged(creature) from(*[instant;sorcery]|mystack,myGraveyard) restriction{type(*|myhand)~lessthan~1}:damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(*[enchantment;artifact;land;planeswalker]|mybattlefield,myGraveyard) restriction{type(*|myhand)~lessthan~1}:damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(creature[-Angrath's Marauders]|mybattlefield,myGraveyard) restriction{type(*|myhand)~lessthan~1}:damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(creature[Angrath's Marauders]|mybattlefield,myGraveyard) restriction{type(*|myhand)~lessthan~1}:thisforeach(variable{thatmuch}) all(trigger[to]) transform((,newability[0/-1])) oneshot
auto=@damaged(player) from(*[instant;sorcery]|mystack,myGraveyard) restriction{type(*|myhand)~lessthan~1}:damage:thatmuch all(trigger[to])
auto=@damaged(player) from(*[enchantment;artifact;land;planeswalker]|mybattlefield,myGraveyard) restriction{type(*|myhand)~lessthan~1}:damage:thatmuch all(trigger[to])
auto=@damaged(player) from(creature[-Angrath's Marauders]|mybattlefield,myGraveyard) restriction{type(*|myhand)~lessthan~1}:damage:thatmuch all(trigger[to])
auto=@combatdamagefoeof(player) from(this) restriction{type(*|myhand)~lessthan~1}:damage:thatmuch all(trigger[to])
auto=@counterremoved(duplicateAll) from(planeswalker|opponentBattlefield) restriction{restriction{type(*|myhand)~lessthan~1},myTurnOnly}:donothing
auto=lord(creature[attacking]|myBattlefield) 2/0 ueot && damage:1 controller 
text=Whenever a creature you control attacks, it gets +2/+0 until end of turn and Anthem of Rakdos deals 1 damage to you. -- Hellbent - As long as you have no cards in hand, if a source you control would deal damage to a creature or player, it deals double that damage to that creature or player instead.
mana={2}{B}{R}{R}
type=Enchantment
[/card]
[card]
name=Anti-Magic Aura
target=creature
auto=teach(creature) opponentshroud
auto=teach(creature) cantbetargetof(aura)
text=Enchant creature -- Enchanted creature can't be the target of spells and can't be enchanted. This effect doesn't remove Anti-Magic Aura.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Anticognition
target=*[creature;planeswalker]|stack
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever 
auto=if type(*|opponentGraveyard)~morethan~7 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend 
text=Counter target creature or planeswalker spell unless its controller pays {2}. If an opponent has eight or more cards in their graveyard, instead counter that spell, then scry 2.
mana={1}{U}
type=Instant
[/card]
[card]
name=Apex Altisaur
auto=may name(Fights opponent's creature) target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>
auto=_ENRAGE_may name(Fights opponent's creature) target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>
text=When Apex Altisaur enters the battlefield, it fights up to one target creature you don't control. -- Enrage - Whenever Apex Altisaur is dealt damage, it fights up to one target creature you don't control.
mana={7}{G}{G}
type=Creature
subtype=Dinosaur
power=10
toughness=10
[/card]
[card]
name=Apex Devastator
autostack=if casted(this) then activate choice cascade:plibrarycount && activate choice cascade:plibrarycount && activate choice cascade:plibrarycount && activate choice cascade:plibrarycount
text=Cascade, cascade, cascade, cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order. Multiple instances of cascade each trigger separately.)
mana={8}{G}{G}
type=Creature
subtype=Chimera Hydra
power=10
toughness=10
[/card]
[card]
name=Apex of Power
autohand={7}{R}{R}{R}:name(Cast from hand and add 10 white mana) name(Cast from hand and add 10 white mana) add{W}{W}{W}{W}{W}{W}{W}{W}{W}{W} controller && target(Apex of Power|myhand) activate castcard(restricted)
autohand={7}{R}{R}{R}:name(Cast from hand and add 10 black mana) name(Cast from hand and add 10 black mana) add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B} controller && target(Apex of Power|myhand) activate castcard(restricted)
autohand={7}{R}{R}{R}:name(Cast from hand and add 10 blue mana) name(Cast from hand and add 10 blue mana) add{U}{U}{U}{U}{U}{U}{U}{U}{U}{U} controller && target(Apex of Power|myhand) activate castcard(restricted)
autohand={7}{R}{R}{R}:name(Cast from hand and add 10 green mana) name(Cast from hand and add 10 green mana) add{G}{G}{G}{G}{G}{G}{G}{G}{G}{G} controller && target(Apex of Power|myhand) activate castcard(restricted)
autohand={7}{R}{R}{R}:name(Cast from hand and add 10 red mana) name(Cast from hand and add 10 red mana) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} controller && target(Apex of Power|myhand) activate castcard(restricted)
auto=if type(land[zpos=1]|mylibrary)~equalto~1 then all(*[zpos=1|mylibrary) moveto(exile) else all(*[zpos=1|mylibrary) moveto(exile) and!( transforms((,canplayfromexile)) ueot )!
auto=if type(land[zpos=2]|mylibrary)~equalto~1 then all(*[zpos=2|mylibrary) moveto(exile) else all(*[zpos=2|mylibrary) moveto(exile) and!( transforms((,canplayfromexile)) ueot )!
auto=if type(land[zpos=3]|mylibrary)~equalto~1 then all(*[zpos=3|mylibrary) moveto(exile) else all(*[zpos=3|mylibrary) moveto(exile) and!( transforms((,canplayfromexile)) ueot )!
auto=if type(land[zpos=4]|mylibrary)~equalto~1 then all(*[zpos=4|mylibrary) moveto(exile) else all(*[zpos=4|mylibrary) moveto(exile) and!( transforms((,canplayfromexile)) ueot )!
auto=if type(land[zpos=5]|mylibrary)~equalto~1 then all(*[zpos=5|mylibrary) moveto(exile) else all(*[zpos=5|mylibrary) moveto(exile) and!( transforms((,canplayfromexile)) ueot )!
auto=if type(land[zpos=6]|mylibrary)~equalto~1 then all(*[zpos=6|mylibrary) moveto(exile) else all(*[zpos=6|mylibrary) moveto(exile) and!( transforms((,canplayfromexile)) ueot )!
auto=if type(land[zpos=7]|mylibrary)~equalto~1 then all(*[zpos=7|mylibrary) moveto(exile) else all(*[zpos=7|mylibrary) moveto(exile) and!( transforms((,canplayfromexile)) ueot )!
text=Exile the top seven cards of your library. Until end of turn, you may cast spells from among them. -- If this spell was cast from your hand, add ten mana of any one color.
mana={7}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Aphemia, the Cacophony
abilities=flying
auto=@each my endofturn:may moveto(exile) target(enchantment|myGraveyard) && token(Zombie,Creature Zombie,2/2,black)
text=Flying -- At the beginning of your end step, you may exile an enchantment card from your graveyard. If you do, create a 2/2 black Zombie creature token.
mana={1}{B}
type=Legendary Enchantment Creature
subtype=Harpy
power=2
toughness=1
[/card]
[card]
name=Apocalypse Demon
abilities=flying
anyzone=type:*:myGraveyard/type:*:myGraveyard cdaactive
auto=@each my upkeep restriction{type(creature|myBattlefield)~morethan~1}:sacrifice notatarget(other creature|mybattlefield)
auto=@each my upkeep restriction{type(creature|myBattlefield)~lessthan~2}:tap
text=Flying -- Apocalypse Demon's power and toughness are each equal to the number of cards in your graveyard. -- At the beginning of your upkeep, tap Apocalypse Demon unless you sacrifice another creature.
mana={4}{B}{B}
type=Creature
subtype=Demon
power=*
toughness=*
[/card]
[card]
name=Apostle of Purifying Light
abilities=protection from black
target=*|graveyard
auto={2}:moveto(exile)
text=Protection from black (This creature can't be blocked, targeted, dealt damage, enchanted, or equipped by anything black.) -- {2}: Exile target card from a graveyard.
mana={1}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Appeal // Authority
target=creature
auto=foreach(creature|mybattlefield) 1/1
auto=trample
autograveyard={1}{W}{E}:all(creature|mybattlefield) vigilance ueot && target(<upto:2>creature|opponentbattlefield) tap asSorcery
text=Until end of turn, target creature gains trample and gets +X/+X, where X is the number of creatures you control. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Tap up to two target creatures your opponents control. Creatures you control gain vigilance until end of turn.
mana={G}
type=Sorcery
[/card]
[card]
name=Applied Biomancy
auto=+1/+1 target(creature)
auto=moveTo(ownerHand) target(creature)
text=Choose one or both -- Target creature gets +1/+1 until end of turn. -- Return target creature to its owner's hand.
mana={G}{U}
type=Instant
[/card]
[card]
name=Approach of the Second Sun
auto=if compare(oyidarocount)~morethan~0 then winGame else alteryidarocount:1 opponent && life:7 controller && all(this) placefromthetop(7)
text=If this spell was cast from your hand and you've cast another spell named Approach of the Second Sun this game, you win the game. Otherwise, put Approach of the Second Sun into its owner's library seventh from the top and you gain 7 life.
mana={6}{W}
type=Sorcery
[/card]
[card]
name=Aquatic Incursion
auto=token(Merfolk,creature Merfolk,1/1,blue,opponentshroud)*2
auto={3}{U}:target(creature[merfolk]) unblockable ueot
text=When Aquatic Incursion enters the battlefield, create two 1/1 blue Merfolk creature tokens with hexproof. (They can't be the targets of spells or abilities your opponents control.) -- {3}{U}: Target Merfolk can't be blocked this turn.
mana={3}{U}
type=Enchantment
[/card]
[card]
name=Arachnoform
target=creature
auto=teach(creature) 2/2
auto=teach(creature) reach
auto=teach(creature) changeling
text=Enchant creature -- Enchanted creature gets +2/+2, has reach, and is every creature type.
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Arachnus Spinner
abilities=reach
auto={T(spider|myBattlefield)}:name(Search Arachnus Web) target(Arachnus Web|myLibrary,mygraveyard) transforms((,newability[name(Attach to creature) activate castcard(normal)])) oneshot
text=Reach (This creature can block creatures with flying.) -- Tap an untapped Spider you control: Search your graveyard and/or library for a card named Arachnus Web and put it onto the battlefield attached to target creature. If you search your library this way, shuffle it.
mana={5}{G}
type=Creature
subtype=Spider
power=5
toughness=7
[/card]
[card]
name=Arachnus Web
target=creature
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=noactivatedability
auto=@each endofturn restriction{compare(power)~morethan~3}:destroy target(Arachnus Web|myBattlefield)
text=Enchant creature -- Enchanted creature can't attack or block, and its activated abilities can't be activated. -- At the beginning of the end step, if enchanted creature's power is 4 or greater, destroy Arachnus Web.
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Arahbo, Roar of the World
auto=@each my combatbegins:target(other cat|myBattlefield) 3/3 ueot
auto=@combat(attacking) source(cat|mybattlefield):all(trigger[to]) pay[[{1}{G}{W}]] trample && dynamicability<!mytgt powerpumpboth!>
text=Eminence - At the beginning of combat on your turn, if Arahbo, Roar of the World is in the command zone or on the battlefield, another target Cat you control gets +3/+3 until end of turn. -- Whenever another Cat you control attacks, you may pay {1}{G}{W}. If you do, it gains trample and gets +X/+X until end of turn, where X is its power.
mana={3}{G}{W}
type=Legendary Creature
subtype=Cat Avatar
power=5
toughness=5
[/card]
[card]
name=Arashin War Beast
auto=@combatdamagefoeof(creature[blocking]) from(this):manifest all(*[zpos=1]|mylibrary)
text=Whenever Arashin War Beast deals combat damage to one or more blocking creatures, manifest the top card of your library. (Put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.)
mana={5}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Arasta of the Endless Web
abilities=reach
auto=@movedto(*[sorcery;instant]|opponentStack):token(Spider,Creature Spider,1/2,reach,green)
text=Reach -- Whenever an opponent casts an instant or sorcery spell, create a 1/2 green Spider creature token with reach.
mana={2}{G}{G}
type=Legendary Enchantment Creature
subtype=Spider
power=3
toughness=5
[/card]
[card]
name=Arbor Armament
target=creature
auto=counter(1/1)
auto=reach
text=Put a +1/+1 counter on target creature. That creature gains reach until end of turn.
mana={G}
type=Instant
[/card]
[card]
name=Arborea Pegasus
abilities=flying
auto=name(Put 1/1 counter) target(creature|battlefield) transforms((,newability[counter(1/1)],newability[flying])) ueot
text=Flying -- When Arborea Pegasus enters the battlefield, target creature gets +1/+1 and gains flying until end of turn.
mana={3}{W}
type=Creature
subtype=Pegasus
power=2
toughness=3
[/card]
[card]
name=Arboreal Grazer
abilities=reach
auto=may moveTo(myBattlefield) and!(tap(noevent))! target(land|myhand)
text=Reach -- When Arboreal Grazer enters the battlefield, you may put a land card from your hand onto the battlefield tapped.
mana={G}
type=Creature
subtype=Beast
power=0
toughness=3
[/card]
[card]
name=Arboretum Elemental
abilities=opponentshroud
other={convoke} name(Convoke)
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of the creature's color.) -- Hexproof (This creature can't be the target of spells or abilities your opponents control.)
mana={7}{G}{G}
type=Creature
subtype=Elemental
power=7
toughness=5
[/card]
[card]
name=Arc Blade
abilities=exiledeath
other={2}{R} name(Suspend 3)
auto=ifnot paid(alternative) then damage:2 target(creature,player)
auto=moveto(myexile) and!( counter(0/0,3,Time) )!
autoexile=@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0,-1,Time)
autoexile=@each my upkeep restriction{compare(hascnttime)~equalto~1}:activate castcard(normal)
text=Arc Blade deals 2 damage to target creature or player. Exile Arc Blade with three time counters on it. -- Suspend 3-{2}{R} (Rather than cast this card from your hand, you may pay {2}{R} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Arcades, the Strategist
abilities=flying, vigilance
auto=@movedTo(creature[defender]|myBattlefield):draw:1
auto=lord(creature[defender]|mybattlefield) combattoughness
auto=lord(creature[defender]|mybattlefield) canattack
text=Flying, vigilance -- Whenever a creature with defender enters the battlefield under your control, draw a card. -- Each creature you control with defender assigns combat damage equal to its toughness rather than its power and can attack as though it didn't have defender.
mana={1}{G}{W}{U}
type=Legendary Creature
subtype=Elder Dragon
power=3
toughness=5
[/card]
[card]
name=Arcane Adaptation
auto=chooseatype lord(creature|mybattlefield,mystack,myhand,mylibrary,mysideboard,mygraveyard,myexile) transforms((chosentype)) chooseend
text=As Arcane Adaptation enters the battlefield, choose a creature type. -- Creatures you control are the chosen type in addition to their other types. The same is true for creature spells you control and creature cards you own that aren't on the battlefield.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Arcane Artisan
auto={2}{U}{T}:name(Choose player) name(Choose player) target(player) draw:1 targetedplayer && ability$!name(Choose one) choice name(Exile a creature card) notatarget(creature|myhand) moveto(exile) and!(clone addtype(ArcaneCreated))! _ choice name(Exile a non-creature card) notatarget(*[-creature]|myhand) moveto(exile)!$ targetedplayer
auto=@movedTo(this|nonbattlezone) from(battlefield):moveTo(exile) all(*[ArcaneCreated]|battlefield)
text={2}{U}, {T}: Target player draws a card, then exiles a card from their hand. If a creature card is exiled this way, that player creates a token that's a copy of that card. -- When Arcane Artisan leaves the battlefield, exile all tokens created with it at the beginning of the next end step.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=0
toughness=3
[/card]
[card]
name=Arcane Encyclopedia
auto={3}{T}:draw:1
text={3}, {T}: Draw a card.
mana={3}
type=Artifact
[/card]
[card]
name=Arcane Endeavor
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(1) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=1]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(2) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=2]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(3) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=3]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(4) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=4]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(5) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=5]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(6) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=6]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(7) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=7]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) result(8) from(controller) once:may name(Cast instant or sorcery) target(*[instant;sorcery;manacost<=8]|myhand) activate castcard(normal)])) oneshot
auto=all(*[zpos=9]|mylibrary) transforms((,newability[name(Roll a d8) rolld8 8 winability donothing winabilityend rolld8end])) oneshot
auto=name(Roll a d8) rolld8 8 winability draw:lastrollresult controller winabilityend loseability draw:lastrollresult controller loseabilityend rolld8end
text=Roll two d8 and choose one result. Draw cards equal to that result. Then you may cast an instant or sorcery spell with mana value less than or equal to the other result from your hand without paying its mana cost.
mana={5}{U}{U}
type=Sorcery
[/card]
[card]
name=Arcane Flight
target=creature
auto=teach(creature) +1/+1
auto=teach(creature) flying
text=Enchant creature -- Enchanted creature gets +1/+1 and has flying.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Arcane Infusion
flashback={3}{U}{R}
aicode=activate transforms((,newability[if type(*[instant;sorcery;zpos<=4]|myLibrary)~morethan~0 then target(*[instant;sorcery;zpos<=4]|myLibrary) moveTo(myHand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot
auto=name(Look top 4 cards) reveal:4 optionone name(Choose instant or sorcery) target(<upto:1>*[instant;sorcery]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Look at the top four cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Flashback {3}{U}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={U}{R}
type=Instant
[/card]
[card]
name=Arcane Investigator
aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) and!( transforms((,newability[all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!
auto={5}{U}:name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end
auto=@dierolled(this) from(controller):all(this) sacrifice
auto=@dierolled(this) result(1) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(2) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(3) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(4) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(5) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(6) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(7) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(8) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(9) from(controller):name(Draw 1 card) draw:1 controller
auto=@dierolled(this) result(10) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(11) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(12) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(13) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(14) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(15) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(16) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(17) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(18) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(19) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=@dierolled(this) result(20) from(controller):name(Look top 3) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
text=Search the Room-{5}{U}: Roll a d20. -- 1-9 | Draw a card. -- 10-20 | Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
mana={1}{U}
type=Creature
subtype=Elf Wizard
power=2
toughness=1
[/card]
[card]
name=Arcane Lighthouse
auto={T}:add{1}
auto={1}{T}::name(Creatures lose hexproof) all(creature|opponentBattlefield) transforms((,newability[-shroud],newability[-opponentshroud])) ueot
text={T}: Add {C} to your mana pool. -- {1}, {T}: Until end of turn, creatures your opponents control lose hexproof and shroud and can't have hexproof or shroud.
type=Land
[/card]
[card]
name=Arcane Signet
auto=aslongas(*[iscommander&red]|myzones) {T}:add{R}
auto=aslongas(*[iscommander&white]|myzones) {T}:add{W}
auto=aslongas(*[iscommander&green]|myzones) {T}:add{G}
auto=aslongas(*[iscommander&blue]|myzones) {T}:add{U}
auto=aslongas(*[iscommander&black]|myzones) {T}:add{B}
text={T}: Add one mana of any color in your commander's color identity.
mana={2}
type=Artifact
[/card]
[card]
name=Arcane Subtraction
target=creature
auto=-4/0 ueot
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Target creature gets -4/-0 until end of turn. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Arcanist's Owl
abilities=flying
aicode=activate transforms((,newability[may name(Get artifact or enchantment) target(*[artifact;enchantment;zpos<=4]|mylibrary) moveto(myhand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=name(Look top 4 cards) reveal:4 optionone name(Get artifact or enchantment) target(<upto:1>*[artifact;enchantment]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Flying -- When Arcanist's Owl enters the battlefield, look at the top four cards of your library. You may reveal an artifact or enchantment card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={WU}{WU}{WU}{WU}
type=Artifact Creature
subtype=Bird
power=3
toughness=3
[/card]
[card]
name=Arcbound Javelineer
abilities=modular
modular=1
auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
auto={T}{C(1/1,-1)}:name(Deals 1 damage) target(creature[attacking;blocking]) damage:1
auto={T}{C(1/1,-2)}:name(Deals 2 damage) target(creature[attacking;blocking]) damage:2
auto={T}{C(1/1,-3)}:name(Deals 3 damage) target(creature[attacking;blocking]) damage:3
auto={T}{C(1/1,-4)}:name(Deals 4 damage) target(creature[attacking;blocking]) damage:4
auto={T}{C(1/1,-5)}:name(Deals 5 damage) target(creature[attacking;blocking]) damage:5
auto={T}{C(1/1,-6)}:name(Deals 6 damage) target(creature[attacking;blocking]) damage:6
auto={T}{C(1/1,-7)}:name(Deals 7 damage) target(creature[attacking;blocking]) damage:7
auto={T}{C(1/1,-8)}:name(Deals 8 damage) target(creature[attacking;blocking]) damage:8
auto={T}{C(1/1,-9)}:name(Deals 9 damage) target(creature[attacking;blocking]) damage:9
auto={T}{C(1/1,-10)}:name(Deals 10 damage) target(creature[attacking;blocking]) damage:10
auto={T}{C(1/1,-11)}:name(Deals 11 damage) target(creature[attacking;blocking]) damage:11
auto={T}{C(1/1,-12)}:name(Deals 12 damage) target(creature[attacking;blocking]) damage:12
auto={T}{C(1/1,-13)}:name(Deals 13 damage) target(creature[attacking;blocking]) damage:13
auto={T}{C(1/1,-14)}:name(Deals 14 damage) target(creature[attacking;blocking]) damage:14
auto={T}{C(1/1,-15)}:name(Deals 15 damage) target(creature[attacking;blocking]) damage:15
auto={T}{C(1/1,-16)}:name(Deals 16 damage) target(creature[attacking;blocking]) damage:16
auto={T}{C(1/1,-17)}:name(Deals 17 damage) target(creature[attacking;blocking]) damage:17
auto={T}{C(1/1,-18)}:name(Deals 18 damage) target(creature[attacking;blocking]) damage:18
auto={T}{C(1/1,-19)}:name(Deals 19 damage) target(creature[attacking;blocking]) damage:19
auto={T}{C(1/1,-20)}:name(Deals 20 damage) target(creature[attacking;blocking]) damage:20
text={T}, Remove X +1/+1 counters from Arcbound Javelineer: It deals X damage to target attacking or blocking creature. -- Modular 1 (This creature enters the battlefield with a +1/+1 counter on it. When it dies, you may put its +1/+1 counters on target artifact creature.)
mana={W}
type=Artifact Creature
subtype=Soldier
power=0
toughness=1
[/card]
[card]
name=Arcbound Mouser
abilities=lifelink,modular
modular=1
auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
text=Lifelink -- Modular 1 (This creature enters the battlefield with a +1/+1 counter on it. When it dies, you may put its +1/+1 counters on target artifact creature.)
mana={W}
type=Artifact Creature
subtype=Cat
power=0
toughness=0
[/card]
[card]
name=Arcbound Prototype
abilities=modular
modular=2
auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
text=Modular 2 (This creature enters the battlefield with two +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.)
mana={1}{W}
type=Artifact Creature
subtype=Assembly-Worker
power=0
toughness=0
[/card]
[card]
name=Arcbound Shikari
abilities=modular,first strike
modular=2
auto=_DIES_may name(Put 1/1 counters) thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
text=First strike -- When Arcbound Shikari enters the battlefield, put a +1/+1 counter on each other artifact creature you control. -- Modular 2 (This creature enters the battlefield with two +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.)
mana={1}{R}{W}
type=Artifact Creature
subtype=Cat Soldier
power=0
toughness=0
[/card]
[card]
name=Arcbound Slasher
abilities=modular
modular=4
auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
text=Modular 4 (This creature enters the battlefield with four +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.) -- Riot (This creature enters the battlefield with your choice of an additional +1/+1 counter or haste.)
mana={4}{R}
type=Artifact Creature
subtype=Cat
power=0
toughness=0
[/card]
[card]
name=Arcbound Tracker
abilities=menace,modular
modular=2
auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~morethan~0}:name(Counter 1/1) counter(1/1)
text=Menace -- Modular 2 (This creature enters the battlefield with two +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.) -- Whenever you cast a spell other than your first spell each turn, put a +1/+1 counter on Arcbound Tracker.
mana={2}{R}
type=Artifact Creature
subtype=Dog
power=0
toughness=0
[/card]
[card]
name=Arcbound Whelp
abilities=flying,modular
modular=2
auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
auto={R}:name(Gets 1/0) 1/0 ueot
text=Flying -- {R}: Arcbound Whelp gets +1/+0 until end of turn. -- Modular 2 (This creature enters the battlefield with two +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.)
mana={3}{R}
type=Artifact Creature
subtype=Dragon
power=0
toughness=0
[/card]
[card]
name=Arch of Orazca
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[{5}{T}:draw:1]))
auto={T}:Add{C}
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- {T}: Add {C}. -- {5}, {T}: Draw a card. Activate this ability only if you have the city's blessing.
type=Land
[/card]
[card]
name=Archaeomancer's Map
aicode=activate moveTo(myhand) and!( shuffle )! target(<upto:2>plains[basic]|myLibrary)
auto=name(Search 2 plains) reveal:plibrarycount optionone name(choose card) target(<upto:2>plains[basic]|reveal) moveto(myhand) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(mylibrary) and!( all(*|reveal) moveto(mylibrary) and!(shuffle)! )! optiontwoend revealend
auto=@movedTo(land|opponentbattlefield) restriction{compare(type:land:opponentbattlefield)~morethan~compare(type:land:mybattlefield)}:may name(Put land in play) target(land|myhand) moveto(mybattlefield)
text=When Archaeomancer's Map enters the battlefield, search your library for up to two basic Plains cards, reveal them, put them into your hand, then shuffle. -- Whenever a land enters the battlefield under an opponent's control, if that player controls more lands than you, you may put a land card from your hand onto the battlefield.
mana={2}{W}
type=Artifact
[/card]
[card]
name=Archaeomender
auto=moveto(myhand) target(artifact|mygraveyard)
text=When Archaeomender enters the battlefield, return target artifact card from your graveyard to your hand.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Archangel of Strife
abilities=flying
auto=choice name(War) all(creature|myBattlefield) 3/0 && flipacoin winability all(creature|opponentBattlefield) 3/0 winabilityend loseability all(creature|opponentBattlefield) 0/3 loseabilityend flipend
auto=choice name(Peace) all(creature|myBattlefield) 0/3 && flipacoin winability all(creature|opponentBattlefield) 3/0 winabilityend loseability all(creature|opponentBattlefield) 0/3 loseabilityend flipend
text=Flying -- As Archangel of Strife enters the battlefield, each player chooses war or peace. -- Creatures controlled by players who chose war get +3/+0. -- Creatures controlled by players who chose peace get +0/+3.
mana={5}{W}{W}
type=Creature
subtype=Angel
power=6
toughness=6
[/card]
[card]
name=Archelos, Lagoon Mystic
auto=@movedto(*[land;enchantment;creature;planeswalker;artifact]|battlefield):this(tapped) all(trigger) tap(noevent)
auto=@movedto(*[land;enchantment;creature;planeswalker;artifact]|battlefield):this(untapped) all(trigger) untap
text=As long as Archelos, Lagoon Mystic is tapped, other permanents enter the battlefield tapped. -- As long as Archelos is untapped, other permanents enter the battlefield untapped.
mana={1}{B}{G}{U}
type=Legendary Creature
subtype=Turtle Shaman
power=2
toughness=4
[/card]
[card]
name=Archfiend of Despair
abilities=flying,nolifegainopponent
auto=@each endofturn:life:-oplifelost opponent
text=Flying -- Your opponents can't gain life. -- At the beginning of each end step, each opponent loses life equal to the life that player lost this turn. (Damage causes loss of life.)
mana={6}{B}{B}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Archfiend of Ifnir
abilities=flying,cycling
auto=@movedto(*|mygraveyard) from(myhand):all(creature|opponentbattlefield) counter(-1/-1,1)
autohand=__CYCLING__({2})
text=Flying -- Whenever you cycle or discard another card, put a -1/-1 counter on each creature your opponents control. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}{B}{B}
type=Creature
subtype=Demon
power=5
toughness=4
[/card]
[card]
name=Archfiend of Sorrows
abilities=flying
auto=all(creature|opponentbattlefield) -2/-2 ueot
autograveyard={3}{B}{B}:name(Unearth) moveto(mybattlefield) and!( transforms((,newability[haste],newability[unearth],newability[exiledeath])) forever )! asSorcery
text=Flying -- When Archfiend of Sorrows enters the battlefield, creatures your opponents control get -2/-2 until end of turn. -- Unearth {3}{B}{B} ({3}{B}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
mana={5}{B}{B}
type=Creature
subtype=Demon
power=4
toughness=5
[/card]
[card]
name=Archfiend of Spite
abilities=flying,madness
autoexile=restriction{discarded} pay({3}{B}{B}) name(pay 3BB to cast) activate name(pay 2G to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
auto=_ENRAGE_life:-thatmuch opponent donothing'sacrifice notatarget(*|mybattlefield)!$ opponent
text=Flying -- Whenever a source an opponent controls deals damage to Archfiend of Spite, that source's controller loses that much life unless they sacrifice that many permanents. -- Madness {3}{B}{B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={5}{B}{B}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Archfiend's Vessel
abilities=lifelink
autograveyard=@movedTo(this|mybattlefield) from(mygraveyard):all(this) moveTo(exile) && token(Demon,Creature Demon,5/5,black,flying)
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- When Archfiend's Vessel enters the battlefield, if it entered from your graveyard or you cast it from your graveyard, exile it. If you do, create a 5/5 black Demon creature token with flying.
mana={B}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Archipelagore
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={5}{U} name(Mutate)
auto=transforms((,newability[@mutated(this):name(Tap X creatures) thisforeach(mutations) may target(creature) freeze]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {5}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, tap up to X target creatures, where X is the number of times this creature has mutated. Those creatures don't untap during their controller's next untap step.
mana={5}{U}{U}
type=Creature
subtype=Leviathan
power=7
toughness=7
[/card]
[card]
name=Archive Haunt
backside=Overwhelmed Archivist
abilities=flying,exiledeath
auto=@combat(attacking) source(this):name(Draw and discard) draw:1 controller && transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot
text=Flying -- Whenever Archive Haunt attacks, draw a card, then discard a card. -- If Archive Haunt would be put into a graveyard from anywhere, exile it instead. // Overwhelmed Archivist
type=Creature
subtype=Spirit Wizard
color=blue
power=2
toughness=1
[/card]
[card]
name=Archive Trap
other={0} name(Opponent searched this turn)
otherrestriction=compare(olastshlturn)~equalto~compare(currentturn)
auto=deplete:13 opponent
text=If an opponent searched his or her library this turn, you may pay {0} rather than pay Archive Trap's mana cost. -- Target opponent puts the top thirteen cards of his or her library into his or her graveyard.
mana={3}{U}{U}
type=Instant
subtype=Trap
[/card]
[card]
name=Archmage Emeritus
auto=@movedto(*[instant;sorcery]|mystack):name(Draw 1 card) draw:1 controller
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, draw a card.
mana={2}{U}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Archmage's Charm
auto=choice name(counter) target(*|stack) fizzle
auto=choice name(draw) target(player) draw:2
auto=choice name(control) target(*[manacost<=1]|opponentBattlefield) moveTo(myBattlefield)
text=Choose one -- Counter target spell. -- Target player draws two cards. -- Gain control of target nonland permanent with converted mana cost 1 or less.
mana={U}{U}{U}
type=Instant
[/card]
[card]
name=Archon of Absolution
abilities=flying,protection from white
auto=lord(creature|opponentbattlefield) transforms((,newability[attackcost:1]))
text=Flying -- Protection from white (This creature can't be blocked, targeted, dealt damage, enchanted, or equipped by anything white.) -- Creatures can't attack you or a planeswalker you control unless their controller pays 1 for each of those creatures.
mana={3}{W}
type=Creature
subtype=Archon
power=3
toughness=2
[/card]
[card]
name=Archon of Coronation
abilities=flying
auto=_MONARCH_CONTROLLER_
auto=this(variable{pmonarch}>0) preventalldamage to(controller)
text=Flying -- When Archon of Coronation enters the battlefield, you become the monarch. -- As long as you're the monarch, damage doesn't cause you to lose life. (When a creature deals combat damage to you, its controller still becomes the monarch.)
mana={4}{W}{W}
type=Creature
subtype=Archon
power=5
toughness=5
[/card]
[card]
name=Archon of Cruelty
abilities=flying
auto=ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) sacrifice!$ opponent
auto=ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ opponent
auto=life:-3 opponent && life:3 controller && draw:1 controller
auto=_ATTACKING_ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) sacrifice!$ opponent
auto=_ATTACKING_ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ opponent
auto=_ATTACKING_life:-3 opponent && life:3 controller && draw:1 controller
text=Flying -- Whenever Archon of Cruelty enters the battlefield or attacks, target opponent sacrifices a creature or planeswalker, discards a card, and loses 3 life. You draw a card and gain 3 life.
mana={6}{B}{B}
type=Creature
subtype=Archon
power=6
toughness=6
[/card]
[card]
name=Archon of Emeria
abilities=flying
auto=maxCast(*)1
auto=maxCast(*)1 opponent
auto=lord(land[recent;-basic]|opponentBattlefield) transforms((,newability[tap(noevent)]))
text=Flying -- Each player can't cast more than one spell each turn. -- Nonbasic lands your opponents control enter the battlefield tapped.
mana={2}{W}
type=Creature
subtype=Archon
power=2
toughness=3
[/card]
[card]
name=Archon of Falling Stars
abilities=Flying
auto=_DIES_may moveTo(mybattlefield) target(enchantment|mygraveyard)
text=Flying -- When Archon of Falling Stars dies, you may return target enchantment card from your graveyard to the battlefield.
mana={4}{W}{W}
type=Creature
subtype=Archon
power=4
toughness=4
[/card]
[card]
name=Archon of Sun's Grace
abilities=flying,lifelink
auto=lord(creature[Pegasus]|myBattlefield) lifelink
auto=_CONSTELLATION_token(Pegasus,creature Pegasus,2/2,white,flying)
text=Flying, lifelink -- Pegasus creatures you control have lifelink. -- Constellation -- Whenever an enchantment enters the battlefield under your control, create a 2/2 white Pegasus creature token with flying.
mana={2}{W}{W}
type=Creature
subtype=Archon
power=3
toughness=4
[/card]
[card]
name=Archon of Valor's Reach
abilities=flying,vigilance,trample
auto=chooseatype transforms((,newability[maxCast(*[chosentype])0 controller],newability[maxCast(*[chosentype])0 opponent])) chooseend
text=Flying, vigilance, trample -- As Archon of Valor's Reach enters the battlefield, choose artifact, enchantment, instant, sorcery, or planeswalker. -- Players can't cast spells of the chosen type.
mana={4}{G}{W}
type=Creature
subtype=Archon
power=5
toughness=6
[/card]
[card]
name=Archpriest of Iona
anyzone=calculateparty/2 cdaactive
auto=@each my combatbegins:if compare(calculateparty)~equalto~4 then name(creature gets 1/1 and flying) name(creature gets 1/1 and flying) target(creature) transforms((,newability[1/1],newability[flying])) ueot
text=Archpriest of Iona's power is equal to the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- At the beginning of combat on your turn, if you have a full party, target creature gets +1/+1 and gains flying until end of turn.
mana={W}
type=Creature
subtype=Human Cleric
power=*
toughness=2
[/card]
[card]
name=Archway Angel
abilities=flying
auto=life:thisforeach(Gate|mybattlefield)*2
text=Flying -- When Archway Angel enters the battlefield, you gain 2 life for each Gate you control.
mana={5}{W}
type=Creature
subtype=Angel
power=3
toughness=4
[/card]
[card]
name=Archway Commons
auto=tap(noevent)
auto=pay[[{1}]] name(pay 1 mana) donothing'sacrifice
auto={T}:add{R}
auto={T}:add{U}
auto={T}:add{G}
auto={T}:add{B}
auto={T}:add{W}
text=Archway Commons enters the battlefield tapped. -- When Archway Commons enters the battlefield, sacrifice it unless you pay {1}. -- {T}: Add one mana of any color.
type=Land
[/card]
[card]
name=Arclight Phoenix
abilities=flying, haste
autograveyard=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~morethan~2}:moveTo(mybattlefield)
text=Flying, haste -- At the beginning of combat on your turn, if you've cast three or more instant and sorcery spells this turn, return Arclight Phoenix from your graveyard to the battlefield.
mana={3}{R}
type=Creature
subtype=Phoenix
power=3
toughness=2
[/card]
[card]
name=Arctic Treeline
auto=tap(noevent)
text=({T}: Add {G} or {W}.) -- Arctic Treeline enters the battlefield tapped.
type=Snow Land
subtype=Forest Plains
[/card]
[card]
name=Arcum's Astrolabe
other={i}
restriction=never
auto=draw:1 controller
auto={1}{T}:Add{W}
auto={1}{T}:Add{U}
auto={1}{T}:Add{B}
auto={1}{T}:Add{R}
auto={1}{T}:Add{G}
text=({S}i} can be paid with one mana from a snow permanent.) -- When Arcum's Astrolabe enters the battlefield, draw a card. -- {1}, {T}: Add one mana of any color.
mana={1}
type=Snow Artifact
[/card]
[card]
name=Arcum's Weathervane
auto={2}{T}:target(land[snow]) transforms((removetypes,newability[becomes(Land)])) forever
auto={2}{T}:target(land[basic,snow]) transforms((removetypes,newability[becomes(Basic Land)])) forever
auto={2}{T}:target(land[legendary,snow]) transforms((removetypes,newability[becomes(Legendary Land)])) forever
auto={2}{T}:target(land[basic,-snow]) transforms((Snow)) forever
text={2}, {T}: Target snow land is no longer snow. -- {2}, {T}: Target nonsnow basic land becomes snow.
mana={2}
type=Artifact
[/card]
[card]
name=Arcus Acolyte
abilities=reach,lifelink
auto={GW}{T}:name(Outlast) counter(1/1) asSorcery
auto=lord(other creature[-counter{1/1.1}]|mybattlefield) transforms((,newability[{GW}{T}:name(Outlast) counter(1/1) asSorcery]))
text=Reach, lifelink -- Outlast {G} or {W} ({G} or {W}, {T}: Put a +1/+1 counter on this creature. Outlast only as a sorcery.) -- Each other creature you control without a +1/+1 counter on it has outlast {G} or {W}.
mana={G}{W}
type=Creature
subtype=Human Cleric Archer
power=2
toughness=2
[/card]
[card]
name=Ardenn, Intrepid Archaeologist
abilities=partner
auto=@each my combatbegins:may target(<anyamount>equipment|battlefield) rehook
text=At the beginning of combat on your turn, you may attach any number of Auras and Equipment you control to target permanent or player. -- Partner (You can have two commanders if both have partner.)
mana={2}{W}
type=Legendary Creature
subtype=Kor Scout
power=2
toughness=2
[/card]
[card]
name=Ardent Dustspeaker
auto=_ATTACKING_may name(Put instant or sorcery on bottom) target(*[instant;sorcery]|mygraveyard) bottomoflibrary and!( transforms((,newability[all(other *[zpos<=2]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )!])) oneshot )!
text=Whenever Ardent Dustspeaker attacks, you may put an instant or sorcery card from your graveyard on the bottom of your library. If you do, exile the top two cards of your library. You may play those cards this turn.
mana={4}{R}
type=Creature
subtype=Minotaur Shaman
power=3
toughness=4
[/card]
[card]
name=Ardent Electromancer
auto=if compare(calculateparty)~equalto~1 then add{R}
auto=if compare(calculateparty)~equalto~2 then add{R}{R}
auto=if compare(calculateparty)~equalto~3 then add{R}{R}{R}
auto=if compare(calculateparty)~equalto~4 then add{R}{R}{R}{R}
text=When Ardent Electromancer enters the battlefield, add {R} for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={2}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Ardent Elementalist
auto=name(Return instant or sorcery) target(*instant;sorcery]|mygraveyard) moveto(myhand)
text=When Ardent Elementalist enters the battlefield, return target instant or sorcery card from your graveyard to your hand.
mana={3}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=1
[/card]
[card]
name=Ardenvale Paladin
auto=if casted(this) then if spent({W}{W}{W}) then counter(1/1,1)
text=Adamant - If at least three white mana was spent to cast this spell, Ardenvale Paladin enters the battlefield with a +1/+1 counter on it.
mana={3}{W}
type=Creature
subtype=Human Knight
power=2
toughness=5
[/card]
[card]
name=Ardenvale Tactician // Dizzying Swoop
abilities=flying,adventure,asflash
restriction=can play creature
other={1}{W} name(Adventure)
auto=if paid(alternative) then if type(creature|battlefield)~morethan~1 then choice name(Tap 2 creatures) name(Tap 2 creatures) name(Tap 2 creatures) target(<2>creature|battlefield) tap(noevent)
auto=if paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Tap 1 creature) name(Tap 1 creature) name(Tap 1 creature) target(creature|battlefield) tap(noevent)
auto=if paid(alternative) then choice name(Don't tap any creature) name(Don't tap any creature) donothing
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Flying // Tap up to two target creatures. (Then exile this card. You may cast the creature later from exile.)
mana={1}{W}{W}
type=Creature
subtype=Human Knight
power=2
toughness=3
[/card]
[card]
name=Arena Rector
auto=_DIES_may all(trigger[to]) moveto(exile) and! moveTo(myBattlefield) target(planeswalker|myLibrary)!
text=When Arena Rector dies, you may exile it. If you do, search your library for a planeswalker card, put it onto the battlefield, then shuffle your library.
mana={3}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=2
[/card]
[card]
name=Arena Trickster
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:counter(1/1,1) all(this)
text=Whenever you cast your first spell during each opponent's turn, put a +1/+1 counter on Arena Trickster.
mana={3}{R}
type=Creature
subtype=Human Shaman
power=3
toughness=3
[/card]
[card]
name=Arguel's Blood Fast
auto={1}{B}{L:2}:draw:1
auto=@each my upkeep:if compare(lifetotal)~lessthan~6 then flip(Temple of Aclazotz)
text={1}{B}, Pay 2 life: Draw a card. -- At the beginning of your upkeep, if you have 5 or less life, you may transform Arguel's Blood Fast.
mana={1}{B}
type=Legendary Enchantment
[/card]
[card]
name=Aria of Flame
auto=life:10 opponent
auto=@movedTo(instant,sorcery|mystack):counter(0/0,1,Verse) && thisforeach(counter{0/0.1.Verse}) damage:1 target(planeswalker,player)
text=When Aria of Flame enters the battlefield, each opponent gains 10 life. -- Whenever you cast an instant or sorcery spell, put a verse counter on Aria of Flame, then it deals damage equal to the number of verse counters on it to target player or planeswalker.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Arisen Gorgon
auto=aslongas(planeswalker[liliana]|myBattlefield) deathtouch
text=Arisen Gorgon has deathtouch as long as you control a Liliana planeswalker. (Any amount of damage this deals to a creature is enough to destroy it.)
mana={1}{B}{B}
type=Creature
subtype=Zombie Gorgon
power=3
toughness=3
[/card]
[card]
name=Arixmethes, Slumbering Isle
auto=tap(noevent)
auto=counter(0/0,5,Slumber)
auto=this(counter{0/0.1.Slumber}>=1) transforms((removetypes,newability[becomes(Legendary Land)]))
auto=this(counter{0/0.1.Slumber}<1) transforms((Legendary Creature))
auto=@movedTo(*|mystack):may counter(0/0,-1,Slumber)
auto={T}:Add{G}{U}
text=Arixmethes, Slumbering Isle enters the battlefield tapped with five slumber counters on it. -- As long as Arixmethes has a slumber counter on it, it's a land. (It's not a creature.) -- Whenever you cast a spell, you may remove a slumber counter from Arixmethes. -- {T}: Add {G}{U}.
mana={2}{G}{U}
type=Legendary Creature
subtype=Kraken
power=12
toughness=12
[/card]
[card]
name=Arlinn's Wolf
auto=cantbeblockedby(creature[power<=2])
text=Arlinn's Wolf can't be blocked by creatures with power 2 or less.
mana={2}{G}
type=Creature
subtype=Wolf
power=3
toughness=2
[/card]
[card]
name=Armed // Dangerous
target=creature
abilities=hasnokicker
other={3}{G} name(Dangerous)
kicker={3}{G} name(Fuse)
auto=if paid(alternative) then transforms((,newability[lure])) ueot
auto=ifnot paid(alternative) then transforms((,newability[1/1],newability[double strike])) ueot
auto=if paid(kicker) then ability$!name(Creature blocked by all) name(Creature blocked by all) target(creature|battlefield) transforms((,newability[lure])) ueot!$ controller
text=Target creature gets +1/+1 and gains double strike until end of turn. // All creatures able to block target creature this turn do so. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Armed and Armored
auto=all(vehicle|mybattlefield) transforms((Artifact Creature)) ueot
auto=name(Choose a dwarf) target(dwarf|mybattlefield) transforms((,newability[counter(0/0.1.ArmedEffect)],newability[target(<anyamount>equipment|mybattlefield) name(Choose equipments to attach) transforms((,newability[rehook all(dwarf[counter{0/0.1.ArmedEffect}]|mybattlefield)])) oneshot],newability[phaseaction[endofturn once] counter(0/0.-1.ArmedEffect)])) ueot
text=Vehicles you control become artifact creatures until end of turn. Choose a Dwarf you control. Attach any number of Equipment you control to it.
mana={1}{W}
type=Instant
[/card]
[card]
name=Armix, Filigree Thrasher
abilities=partner
auto=_ATTACKING_may name(discard a card) reject notatarget(*|myhand) && ability$!name(Choose creature) target(creature|opponentbattlefield) -type:artifact:mygraveyardplustype:artifact:myBattlefieldplusend/-type:artifact:mygraveyardplustype:artifact:myBattlefieldplusend ueot!$ controller
text=Whenever Armix, Filigree Thrasher attacks, you may discard a card. When you do, target creature defending player controls gets -X/-X until end of turn, where X is the number of artifacts you control plus the number of artifact cards in your graveyard. -- Partner (You can have two commanders if both have partner.)
mana={2}{B}
type=Legendary Artifact Creature
subtype=Golem
power=3
toughness=2
[/card]
[card]
name=Armored Skyhunter
abilities=flying
aicode=activate target(*[aura;equipment;zpos<=6]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[if cantargetcard(*[equipment]|*) then name(Attach to creature) rehook target(creature|mybattlefield)],newability[all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!
auto=_ATTACKING_name(Look top 6 cards) reveal:6 optionone name(Get aura or equipment) target(<upto:1>*[aura;equipment]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Put in play) moveto(myBattlefield)],newability[if cantargetcard(*[equipment]|*) then choice name(Put in play and attach) name(Put in play and attach) moveto(myBattlefield) and!( transforms((,newability[name(Attach to creature) rehook target(creature|mybattlefield)])) oneshot )!])) oneshot afterrevealedend revealend
text=Flying -- Whenever Armored Skyhunter attacks, look at the top six cards of your library. You may put an Aura or Equipment card from among them onto the battlefield. If an Equipment is put onto the battlefield this way, you may attach it to a creature you control. Put the rest of those cards on the bottom of your library in a random order.
mana={3}{W}
type=Creature
subtype=Cat Knight
power=3
toughness=3
[/card]
[card]
name=Armored Whirl Turtle
mana={2}{U}
type=Creature
subtype=Turtle
power=0
toughness=5
[/card]
[card]
name=Armory Veteran
auto=this(gear > 0) menace
text=As long as Armory Veteran is equipped, it has menace. (It can't be blocked except by two or more creatures.)
mana={1}{R}
type=Creature
subtype=Orc Warrior
power=2
toughness=2
[/card]
[card]
name=Arni Brokenbrow
abilities=boast,haste
auto={1} restriction{didattack,compare(hascntbstreduce)~equalto~0,type(creature[-Arni Brokenbrow]|mybattlefield)~morethan~0}:doboast && transforms((,setpower=power:highest:*[-Arni Brokenbrow]:mybattlefieldplus1plusend)) ueot limit:hasabilitytwoboastplus1plusend
auto={0} restriction{didattack,compare(hascntbstreduce)~morethan~0,type(creature[-Arni Brokenbrow]|mybattlefield)~morethan~0}:doboast && transforms((,setpower=power:highest:*[-Arni Brokenbrow]:mybattlefieldplus1plusend)) ueot limit:hasabilitytwoboastplus1plusend
text=Haste -- Boast-{1}: You may change Arni Brokenbrow's base power to 1 plus the greatest power among other creatures you control until end of turn. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={2}{R}
type=Legendary Creature
subtype=Human Berserker
power=3
toughness=3
[/card]
[card]
name=Arni Slays the Troll
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=name(Creature fights another one) target(creature|mybattlefield) transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) oneshot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) add{R}
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Put two counters) target(creature|mybattlefield) counter(1/1,2)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) life:power:highest:*:mybattlefield controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Target creature you control fights up to one target creature you don't control. -- II - Add {R}. Put two +1/+1 counters on up to one target creature you control. -- III - You gain life equal to the greatest power among creatures you control.
mana={R}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Arrester's Admonition
target=creature
auto=moveTo(ownerHand)
auto=_ADDENDUM_ draw:1 else
text=Return target creature to its owner's hand. -- Addendum - If you cast this spell during your main phase, draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Arrester's Zeal
target=creature
auto=+2/+2
auto=_ADDENDUM_ flying else
text=Target creature gets +2/+2 until end of turn. -- Addendum - If you cast this spell during your main phase, that creature gains flying until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Arrogant Outlaw
auto=if compare(oplifelost)~morethan~0 then life:-2 opponent && life:2 controller
text=When Arrogant Outlaw enters the battlefield, if an opponent lost life this turn, each opponent loses 2 life and you gain 2 life.
mana={2}{B}
type=Creature
subtype=Vampire Noble
power=3
toughness=2
[/card]
[card]
name=Arrogant Poet
auto=_ATTACKING_pay({L:2}) name(Arrogant poet gains flying) flying ueot
text=Whenever Arrogant Poet attacks, you may pay 2 life. If you do, it gains flying until end of turn.
mana={1}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=1
[/card]
[card]
name=Arrow Storm
target=creature,player
auto=ifnot raid then damage:4
auto=if raid then damage:5
text=Arrow Storm deals 4 damage to target creature or player. -- Raid - If you attacked with a creature this turn, instead Arrow Storm deals 5 damage to that creature or player and the damage can't be prevented.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Arrow Volley Trap
restriction=type(creature[attacking]|battlefield)~morethan~0
auto=thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature[attacking]|battlefield) damage:1!$ controller
other={1}{W} name(Pay 1W)
otherrestriction=type(creature[attacking]|battlefield)~morethan~3
text=If four or more creatures are attacking, you may pay {1}{W} rather than pay Arrow Volley Trap's mana cost. -- Arrow Volley Trap deals 5 damage divided as you choose among any number of target attacking creatures.
mana={3}{W}{W}
type=Instant
subtype=Trap
[/card]
[card]
name=Arterial Flow
auto=ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ opponent
auto=aslongas(vampire|myBattlefield) life:-2 opponent
auto=aslongas(vampire|myBattlefield) life:2
text=Each opponent discards two cards. If you control a Vampire, each opponent loses 2 life and you gain 2 life.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Artful Takedown
auto=choice name(Tap creature) target(creature) tap(noevent)
auto=choice name(Target creature gets -2/-4) target(creature) -2/-4 ueot
auto=choice name(Choose both) target(creature) tap(noevent) && ability$!name(Target creature gets -2/-4) name(Target creature gets -2/-4) target(creature) -2/-4 ueot!$ controller
text=Choose one or both -- Tap target creature. -- Target creature gets -2/-4 until end of turn.
mana={2}{U}{B}
type=Instant
[/card]
[card]
name=Artificer's Assistant
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedTo(*[artifact;legendary;saga]|mystack):scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- Whenever you cast a historic spell, scry 1. (Artifacts, legendaries, and Sagas are historic. To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.)
mana={U}
type=Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Artisan of Forms
auto=counter(0/0,1,ArtisanEffect)
auto=emblem transforms((,newability[@targeted(creature[counter{0/0.1.ArtisanEffect}]|mybattlefield) from(*|myzones):all(trigger[to]) transforms((,newability[may name(Becomes a copy) target(creature) copy])) forever])) forever dontremove
text=Heroic - Whenever you cast a spell that targets Artisan of Forms, you may have Artisan of Forms become a copy of target creature and gain this ability.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Arvad the Cursed
abilities=deathtouch, lifelink
auto=lord(other creature[legendary]|myBattlefield) +2/+2
text=Deathtouch, lifelink -- Other legendary creatures you control get +2/+2.
mana={3}{W}{B}
type=Legendary Creature
subtype=Vampire Knight
power=3
toughness=3
[/card]
[card]
name=Aryel, Knight of Windgrace
abilities=vigilance
auto={2}{W}{T}:create(knight:creature knight:2/2:white:vigilance)
auto={B}{T}{T(knight|myBattlefield)}:name(creature with power 1) name destroy target(creature[power<=1])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 2) destroy target(creature[power<=2])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 3) destroy target(creature[power<=3])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 4) destroy target(creature[power<=4])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 5) destroy target(creature[power<=5])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 6) destroy target(creature[power<=6])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 7)  destroy target(creature[power<=7])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 8) destroy target(creature[power<=8])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 9) destroy target(creature[power<=9])
auto={B}{T}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}{T(knight|myBattlefield)}:name(creature with power 10) destroy target(creature[power<=10])
text=Vigilance -- {2}{W}, {T}: Create a 2/2 white Knight creature token with vigilance. -- {B}, {T}, Tap X untapped Knights you control: Destroy target creature with power X or less.
mana={2}{W}{B}
type=Legendary Creature
subtype=Human Knight
power=4
toughness=4
[/card]
[card]
name=As Foretold
auto=@each my upkeep:counter(0/0,1,time)
auto={0}:castcard(normal) notatarget(*[-land;manacost<=counter{0/0.1.time}]|myhand) limit:1
text=At the beginning of your upkeep, put a time counter on As Foretold. -- Once each turn, you may pay {0} rather than pay the mana cost for a spell you cast with converted mana cost X or less, where X is the number of time counters on As Foretold.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=As Luck Would Have It
abilities=opponentshroud
auto=@dierolled(*|battlefield) result(1) from(controller):counter(0/0,1,Luck) all(this)
auto=@dierolled(*|battlefield) result(2) from(controller):counter(0/0,2,Luck) all(this)
auto=@dierolled(*|battlefield) result(3) from(controller):counter(0/0,3,Luck) all(this)
auto=@dierolled(*|battlefield) result(4) from(controller):counter(0/0,4,Luck) all(this)
auto=@dierolled(*|battlefield) result(5) from(controller):counter(0/0,5,Luck) all(this)
auto=@dierolled(*|battlefield) result(6) from(controller):counter(0/0,6,Luck) all(this)
auto=this(counter{0/0.100.Luck}=)) wingame controller
text=Hexproof -- Whenever you roll a die, put a number of luck counters on As Luck Would Have It equal to the result. Then if there are 100 or more luck counters on As Luck Would Have It, you win the game. (Count both rolls if you reroll a die.)
mana={G}
type=Enchantment
[/card]
[card]
name=Ascendant Spirit
auto={i}{i} restriction{compare(mysnowpoolcount)~morethan~1}:name(Becomes a warrior) transforms((Warrior,setpower=2,settoughness=3)) forever
auto=this(cantargetcard(*[warrior]) {i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~2}:name(Becomes an angel) name(Becomes an angel) transforms((Angel,setpower=4,settoughness=4,newability[counter(0/0.1.Flying)],newability[this(counter{0/0.1.Flying}>=1) flying])) forever
auto=this(cantargetcard(*[angel]) {i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~3}:name(Put 1/1 counters) name(Put 1/1 counters) transforms((,newability[counter(1/1.2)],newability[@combatdamagefoeof(player) from(this):draw:1 controller],newability[@combatdamageof(player) from(this):draw:1 controller])) forever
text={S}i}{S}i}: Ascendant Spirit becomes a Spirit Warrior with base power and toughness 2/3. -- {S}i}{S}i}{S}i}: If Ascendant Spirit is a Warrior, put a flying counter on it and it becomes a Spirit Warrior Angel with base power and toughness 4/4. -- {S}i}{S}i}{S}i}{S}i}: If Ascendant Spirit is an Angel, put two +1/+1 counters on it and it gains "Whenever this creature deals combat damage to a player, draw a card."
mana={U}
type=Snow Creature
subtype=Spirit
power=1
toughness=1
[/card]
[card]
name=Ashaya, Soul of the Wild
anyzone=type:land:myBattlefield/type:land:myBattlefield cdaactive
auto=lord(creature[-token]|myBattlefield) becomes(land forest)
text=Ashaya, Soul of the Wild's power and toughness are each equal to the number of lands you control. -- Nontoken creatures you control are Forest lands in addition to their other types. (They're still affected by summoning sickness.)
mana={3}{G}{G}
type=Legendary Creature
subtype=Elemental
power=*
toughness=*
[/card]
[card]
name=Ashes of the Abhorrent
auto=lord(*|graveyard) onlymanaability
auto=@movedto(*|graveyard) from(battlefield):life:1 controller
text=Players can't cast spells from graveyards or activate abilities of cards in graveyards. -- Whenever a creature dies, you gain 1 life.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Ashiok's Erasure
abilities=flash
auto=Moveto(exile) target(*|opponentcastingzone)
auto=aslongas(exile[share!name!]):maxCast(share!name!)0 opponent
auto=@movedto(this|nonbattlezone):moveto(ownerhand) exiledcard
text=Flash -- When Ashiok's Erasure enters the battlefield, exile target spell. -- Your opponents can't cast spells with the same name as the exiled card. -- When Ashiok's Erasure leaves the battlefield, return the exiled card to its owner's hand.
mana={2}{U}{U}
type=Enchantment
[/card]
[card]
name=Ashiok's Forerunner
auto=may moveto(myHand) target(Ashiok^ Sculptor of Fears|mylibrary,mygraveyard) && shuffle
text=Flash -- When Ashiok's Forerunner enters the battlefield, you may search your library and/or graveyard for a card named Ashiok, Sculptor of Fears, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{U}{B}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Ashiok's Skulker
auto={3}{U}:unblockable
text={3}{U}: Ashiok's Skulker can't be blocked this turn.
mana={4}{U}
type=Creature
subtype=Nightmare
power=3
toughness=5
[/card]
[card]
name=Ashmouth Dragon
abilities=flying
backside=Smoldering Egg
auto=@movedTo(*[instant;sorcery]|mystack):name(Deals 2 damage) damage:2 target(player,creature,planeswalker)
text=Flying -- Whenever you cast an instant or sorcery spell, Ashmouth Dragon deals 2 damage to any target. // Smoldering Egg
type=Creature
subtype=Dragon
color=red
power=4
toughness=4
[/card]
[card]
name=Asmodeus the Archfiend
auto=replacedraw transforms((,newability[all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )!])) oneshot
auto={B}{B}{B}:name(Draw 7 cards) all(*[zpos<=7]|mylibrary) moveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )!
auto={B}:name(Return exiled cards) all(*[counter{0/0.1.AsmodeusExiled}]|myexile) transforms((,newability[moveto(ownerhand)],newability[life:-1 controller])) oneshot
text=Binding Contract - If you would draw a card, exile the top card of your library face down instead. -- {B}{B}{B}: Draw seven cards. -- {B}: Return all cards exiled with Asmodeus the Archfiend to their owner's hand and you lose that much life.
mana={4}{B}{B}
type=Legendary Creature
subtype=Devil God
power=6
toughness=6
[/card]
[card]
name=Asmoranomardicadaistinaculdacar
other={BR} name(Cast Asmoranomardicadaistinaculdacar)
otherrestriction=compare(hascntdscrd)~morethan~0
restriction=never
autohand=@discarded(*|myHand):counter(0/0.1.dscrd)
autohand=@each end:removeallcounters(0/0,1,dscrd)
auto=may name(Search library) target(The Underworld Cookbook|mylibrary) moveto(myHand) and!( shuffle )!
auto={S(food[token]|myBattlefield)}{S(food[token]|myBattlefield)}:name(Sacrifice 2 foods) target(creature) transforms((,newability[damage:6])) oneshot
text=As long as you've discarded a card this turn, you may pay {B} or {R} to cast this spell. -- When Asmoranomardicadaistinaculdacar enters the battlefield, you may search your library for a card named The Underworld Cookbook, reveal it, put it into your hand, then shuffle. -- Sacrifice two Foods: Target creature deals 6 damage to itself.
type=Legendary Creature
subtype=Human Wizard
color=black,red
power=3
toughness=3
[/card]
[card]
name=Aspect of Lamprey
target=creature|myBattlefield
auto=target(opponent) ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ targetedplayer
auto=teach(creature) lifelink
text=Enchant creature -- When Strands of Undeath enters the battlefield, target player discards two cards. -- {B}: Regenerate enchanted creature.
mana={3}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Aspect of Manticore
abilities=flash
target=creature
auto=2/0
auto=teach(Creature) first strike ueot
text=Flash -- Enchant creature -- When Aspect of Manticore enters the battlefield, enchanted creature gains first strike until end of turn. -- Enchanted creature gets +2/+0.
mana={2}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Assassin Vra
abilities=deathtouch
auto=@damaged(planeswalker) from(this):all(trigger[to]) destroy
type=Creature
subtype=Assassin
power=1
toughness=1
color=black
[/card]
[card]
name=Assassin's Trophy
target=*
auto=destroy
auto=moveto(exile) && ability$!name(search land) notatarget(land[basic]|mylibrary) moveTo(mybattlefield) and!(tap(noevent))!!$ targetcontroller
text=Destroy target permanent an opponent controls. Its controller may search their library for a basic land card, put it onto the battlefield, then shuffle their library.
mana={B}{G}
type=Instant
[/card]
[card]
name=Assault // Battery
other={3}{G} name(Battery)
auto=if paid(alternative) then token(Elephant,Creature Elephant,3/3,green)
auto=ifnot paid(alternative) then damage:2 target(creature,player)
text=Assault deals 2 damage to target creature or player. // Put a 3/3 green Elephant creature token onto the battlefield.
mana={R}
type=Sorcery
[/card]
[card]
name=Assemble the Rank and Vile
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@movedto(creature[chosenname]|graveyard) from(mybattlefield):name(Pay and create zombie) pay({B}) name(Pay and create zombie) name(Pay and create zombie) token(Zombie Lil) and!( tap(noevent) )!])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Creatures you control with the chosen name have "When this creature dies, you may pay {B}. If you do, put a 2/2 black Zombie creature token onto the battlefield tapped."
type=Conspiracy
[/card]
[card]
name=Assure // Assemble
other={4}{G}{W} name(Assemble)
auto=if paid(alternative) then token(Elf Knight,Creature Elf Knight,2/2,green,white,vigilance)*3
auto=ifnot paid(alternative) then target(creature) tansforms((,newability[indestructible],newability[counter(1/1)])) ueot
text=Put a +1/+1 counter on target creature. That creature gains indestructible until end of turn. -- Create three 2/2 green and white Elf Knight creature tokens with vigilance.
mana={GW}{GW}
type=Instant
[/card]
[card]
name=Astral Cornucopia
auto=if paid(kicker) then counter(0/0,kicked,Charge)
auto={T}:name(Add X white mana) thisforeach(counter{0/0,1,Charge}) add{W}
auto={T}:name(Add X blue mana) thisforeach(counter{0/0,1,Charge}) add{U}
auto={T}:name(Add X black mana) thisforeach(counter{0/0,1,Charge}) add{B}
auto={T}:name(Add X red mana) thisforeach(counter{0/0,1,Charge}) add{R}
auto={T}:name(Add X green mana) thisforeach(counter{0/0,1,Charge}) add{G}
kicker=multi{3}
text=Astral Cornucopia enters the battlefield with X charge counters on it. -- {T}: Choose a color. Add one mana of that color for each charge counter on Astral Cornucopia.
mana={0}
type=Artifact
[/card]
[card]
name=Astral Drift
abilities=cycling
auto=@cycled(*|myHand):may (blink)ueot target(creature)
autohand=@cycled(this|myHand):may (blink)ueot target(creature)
autohand=__CYCLING__({2}{W})
text=Whenever you cycle Astral Drift or cycle another card while Astral Drift is on the battlefield, you may exile target creature. If you do, return that card to the battlefield under its owner's control at the beginning of the next end step.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Atarka's Command
auto=choice name(Opponent can't gain life and deal damage) name(Opponent can't gain life and deal damage) ability$!name(Can't gain life) name(Can't gain life) all(*|mybattlefield) transforms((,newability[nolifegainopponent])) ueot!$ controller && ability$!name(Can't gain life) name(Can't gain life) all(*|opponentbattlefield) transforms((,newability[nolifegain])) ueot!$ controller && ability$!name(Deals 3 damage) name(Deals 3 damage) damage:3 opponent!$ controller
auto=if type(land|myhand)~morethan~0 then choice name(Opponent can't gain life and put land in play) name(Opponent can't gain life and put land in play) target(land|myhand) moveto(myBattlefield) && ability$!name(Can't gain life) name(Can't gain life) all(*|mybattlefield) transforms((,newability[nolifegainopponent])) ueot!$ controller && ability$!name(Can't gain life) name(Can't gain life) all(*|opponentbattlefield) transforms((,newability[nolifegain])) ueot!$ controller
auto=choice name(Opponent can't gain life and don't put land in play) name(Opponent can't gain life and don't put land in play) ability$!name(Can't gain life) name(Can't gain life) all(*|mybattlefield) transforms((,newability[nolifegainopponent])) ueot!$ controller && ability$!name(Can't gain life) name(Can't gain life) all(*|opponentbattlefield) transforms((,newability[nolifegain])) ueot!$ controller
auto=choice name(Opponent can't gain life and creatures get 1/1) name(Opponent can't gain life and creatures get 1/1) ability$!name(Can't gain life) name(Can't gain life) all(*|opponentbattlefield) transforms((,newability[nolifegain])) ueot!$ controller && ability$!name(Creatures gain 1/1 and reach) name(Creatures gain 1/1 and reach) all(creature|mybattlefield) transforms((,newability[nolifegainopponent],newability[1/1],newability[reach])) ueot!$ controller
auto=if type(land|myhand)~morethan~0 then choice name(Deal damage and put land in play) name(Deal damage and put land in play) transforms((,newability[damage:3 opponent],newability[may name(Put land in play) target(land|myhand) moveto(mybattlefield)])) oneshot
auto=choice name(Deal damage and don't put land in play) name(Deal damage and don't put land in play) damage:3 opponent
auto=choice name(Deal damage and creatures get 1/1) name(Deal damage and creatures get 1/1) transforms((,newability[damage:3 opponent],newability[all(creature|mybattlefield) transforms((,newability[1/1],newability[reach])) ueot])) oneshot
auto=if type(land|myhand)~morethan~0 then choice name(Creatures get 1/1 and put land in play) name(Creatures get 1/1 and put land in play) target(land|myhand) moveto(myBattlefield) && ability$!name(Creatures gain 1/1 and reach) name(Creatures gain 1/1 and reach) all(creature|mybattlefield) transforms((,newability[1/1],newability[reach])) ueot!$ controller
auto=then choice name(Creatures get 1/1 and don't put land in play) name(Creatures get 1/1 and don't put land in play) all(creature|mybattlefield) transforms((,newability[1/1],newability[reach])) ueot
text=Choose two -- Your opponents can't gain life this turn. -- Atarka's Command deals 3 damage to each opponent. -- You may put a land card from your hand onto the battlefield. -- Creatures you control get +1/+1 and gain reach until end of turn.
mana={R}{G}
type=Instant
[/card]
[card]
name=Atemsis, All-Seeing
abilities=flying
auto={2}{U}{T}:draw:2 && transforms((,newability[target(*|myhand) reject])) forever
text=Flying -- {2}{U}, {T}: Draw two cards, then discard a card. -- Whenever Atemsis, All-Seeing deals damage to an opponent, you may reveal your hand. If cards with at least six different converted mana costs are revealed this way, that player loses the game.
mana={3}{U}{U}{U}
type=Legendary Creature
subtype=Sphinx
power=4
toughness=5
[/card]
[card]
name=Athreos, God of Passage
abilities=indestructible
auto=this(variable{orzhov}<7) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{orzhov}>6) transforms((Legendary Enchantment Creature))
auto=@movedto(other creature|graveyard) from(mybattlefield) restriction{compare(opponentlifetotal)~lessthan~4}:all(trigger[to]) transforms((,newability[moveto(myhand)])) oneshot
auto=@movedto(other creature|graveyard) from(mybattlefield) restriction{compare(opponentlifetotal)~morethan~3}:all(trigger[to]) transforms((,newability[if compare(genrand2)~equalto~0 then moveto(myhand) else life:-3 opponent])) oneshot
text=Indestructible -- As long as your devotion to white and black is less than seven, Athreos isn't a creature. -- Whenever another creature you own dies, return it to your hand unless target opponent pays 3 life.
mana={1}{W}{B}
type=Legendary Enchantment Creature
subtype=God
power=5
toughness=4
[/card]
[card]
name=Athreos, Shroud-Veiled
abilities=indestructible
auto=this(variable{orzhov}<7) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{orzhov}>6) transforms((Legendary Enchantment Creature))
auto=@each my endofturn:counter(0/0,1,Coin) target(other creature)
auto=@movedto(creature[counter{0/0,1,Coin}]|Graveyard):all(trigger[to]) moveTo(ownerBattlefield) oneshot
auto=@movedto(creature[counter{0/0,1,Coin}]|Exile):all(trigger[to]) moveTo(myBattlefield) oneshot
text=Indestructible -- As long as your devotion to white and black is less than seven, Athreos isn't a creature. -- At the beginning of your end step, put a coin counter on another target creature. -- Whenever a creature with a coin counter on it dies or is put into exile, return that card to the battlefield under your control.
mana={4}{W}{B}
type=Legendary Enchantment Creature
subtype=God
power=4
toughness=7
[/card]
[card]
name=Atla Palani, Nest Tender
aicode=activate transforms((,newability[all(*[zpos=findfirsttypecreature]|mylibrary) moveto(myBattlefield) and!( all(*[zpos<=findfirsttypecreature]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto={2}{T}:token(Egg,Creature Egg,0/1,green,defender)
auto=@movedTo(egg|graveyard) from(mybattlefield):Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal) moveto(myhand) optiononeend optiontwo choice name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text={2}, {T}: Create a 0/1 green Egg creature token with defender. -- Whenever an Egg you control dies, reveal cards from the top of your library until you reveal a creature card. Put that card onto the battlefield and the rest on the bottom of your library in a random order.
mana={1}{R}{G}{W}
type=Legendary Creature
subtype=Human Shaman
power=2
toughness=3
[/card]
[card]
name=Attendant of Vraska
auto=_DIES_if type(planeswalker[vraska]|myBattlefield)~morethan~0 then life:power
text=When Attendant of Vraska dies, if you control a Vraska planeswalker, you gain life equal to Attendant of Vraska's power.
mana={1}{B}{G}
type=Creature
subtype=Zombie Soldier
power=3
toughness=3
[/card]
[card]
name=Attended Healer
auto=@lifeof(player) restriction{compare(thatmuch)~equalto~compare(lifegain)} turnlimited:token(Cat,Creature Cat,1/1,white)
auto={2}{W}:target(other creature[cleric]) lifelink ueot
text=Whenever you gain life for the first time each turn, create a 1/1 white Cat creature token. -- {2}{W}: Another target Cleric gains lifelink until end of turn.
mana={3}{W}
type=Creature
subtype=Kor Cleric
power=2
toughness=3
[/card]
[card]
name=Atzal, Cave of Eternity
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
auto={3}{B}{G}{T}:target(creature|mygraveyard) moveTo(mybattlefield)
text=(Transforms from Journey to Eternity.) -- {T}: Add one mana of any color. -- {3}{B}{G}, {T}: Return target creature card from your graveyard to the battlefield.
type=Legendary Land
[/card]
[card]
name=Atzocan Archer
abilities=reach
auto=may transforms((,newability[target(creature) dynamicability<!powerstrike eachother!>])) ueot
text=Reach -- When Atzocan Archer enters the battlefield, you may have it fight another target creature. (Each deals damage equal to its power to the other.)
mana={2}{G}
type=Creature
subtype=Human Archer
power=1
toughness=4
[/card]
[card]
name=Atzocan Seer
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
auto={S}:target(dinosaur|mygraveyard) moveto(ownerhand)
text={T}: Add one mana of any color. -- Sacrifice Atzocan Seer: Return target Dinosaur card from your graveyard to your hand.
mana={1}{G}{W}
type=Creature
subtype=Human Druid
power=2
toughness=3
[/card]
[card]
name=Audacious Reshapers
aicode=activate transforms((,newability[damage:findfirsttypeartifact controller],newability[all(*[zpos=findfirsttypeartifact]|mylibrary) moveto(mybattlefield) and!( all(*[zpos<=findfirsttypeartifact]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto={T}{S(artifact|mybattlefield)}:name(Reveal cards) reveal:1 revealzone(mylibrary) revealuntil(artifact|mylibrary) optionone name(Get Artifact) target(artifact|reveal) moveto(mybattlefield) and!( damage:1 controller )! optiononeend optiontwo name(put on bottom) all(*|reveal) transforms((,newability[bottomoflibrary],newability[damage:1 controller])) oneshot optiontwoend revealend
text={T}, Sacrifice an artifact: Reveal cards from the top of your library until you reveal an artifact card. Put that card onto the battlefield and the rest on the bottom of your library in a random order. Audacious Reshapers deals damage to you equal to the number of cards revealed this way.
mana={2}{R}
type=Creature
subtype=Human Artificer
power=3
toughness=3
[/card]
[card]
name=Audacious Thief
auto=@combat(notblocked) source(this):draw:1 && life:-1
text=Whenever Audacious Thief attacks, you draw a card and you lose 1 life.
mana={2}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=2
[/card]
[card]
name=Augmenter Pugilist
abilities=trample
other={2}{U}{U} name(Echoing Equation)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Echoing Equation)
autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:echoing equation:!)])) forever
auto=aslongas(land|mybattlefield) 5/5 >7
text=Trample -- As long as you control eight or more lands, Augmenter Pugilist gets +5/+5. // {2}{U}{U} Echoing Equation
mana={1}{G}{G}
type=Creature
subtype=Troll Druid
power=3
toughness=3
[/card]
[card]
name=Augur of Autumn
abilities=showfromtoplibrary,canplaylandlibrarytop
auto=this(variable{pcoven}>0) canplaycreaturelibrarytop
text=You may look at the top card of your library any time. -- You may play lands from the top of your library. -- Coven - As long as you control three or more creatures with different powers, you may cast creature spells from the top of your library.
type=Creature
subtype=Human Druid
mana={1}{G}{G}
power=2
toughness=3
[/card]
[card]
name=Augury Raven
abilities=foretell,flying
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{U} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
text=Flying -- Foretell {1}{U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{U}
type=Creature
subtype=Bird
power=3
toughness=3
[/card]
[card]
name=Augusta, Dean of Order
auto=lord(other creature[tapped]|mybattlefield) 1/0
auto=lord(other creature[-tapped]|mybattlefield) 0/1
auto=@each my blockers:may name(Tap creatures) target(<anyamount>creature|mybattlefield) tap
auto=@each my blockers:name(Untap all creature) all(creature|mybattlefield) untap
text=Other tapped creatures you control get +1/+0. -- Other untapped creatures you control get +0/+1. -- Whenever you attack, untap each creature you control, then tap any number of creatures you control. // {1}{R} Plargg, Dean of Chaos
mana={2}{W}
type=Legendary Creature
subtype=Human Cleric
power=1
toughness=3
[/card]
[card]
name=Aura Graft
target=aura|battlefield
auto=moveto(myreveal) and!( transforms((,newability[name(Change target) activate castcard(normal)])) oneshot )!
text=Gain control of target Aura that's attached to a permanent. Attach it to another permanent it can enchant.
mana={1}{U}
type=Instant
[/card]
[card]
name=Aurelia's Fury
auto=thisforeach(X) ability$!name(Choose one) choice name(Damage creature) target(creature) damage:1 && tap(noevent) _ choice name(Damage opponent) damage:1 opponent && maxCast(*[-creature])0 opponent ueot _ choice name(Damage yourself) damage:1 controller && maxCast(*[-creature])0 controller ueot _ choice name(Damage planeswalker) target(planeswalker) damage:1!$ controller
text=Aurelia's Fury deals X damage divided as you choose among any number of targets. Tap each creature dealt damage this way. Players dealt damage this way can't cast noncreature spells this turn.
mana={X}{R}{W}
type=Instant
[/card]
[card]
name=Aurelia, Exemplar of Justice
abilities=flying,mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto=@each my combatbegins:ability$!name(Choose a creature) choice name(Choose non-red, non-white creature) target(creature[-red;-white]|myBattlefield) 2/0 ueot _ choice name(Choose red creature) target(creature[red]|myBattlefield) transforms((,newability[2/0 ueot],newability[trample ueot])) ueot _ name(Choose white creature) target(creature[white]|myBattlefield) transforms((,newability[2/0 ueot],newability[vigilance ueot])) ueot!$ controller
text=Flying -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- At the beginning of combat on your turn, choose up to one target creature you control. Until end of turn, that creature gets +2/+0, gains trample if it's red, and gains vigilance if it's white.
mana={2}{R}{W}
type=Legendary Creature
subtype=Angel
power=2
toughness=5
[/card]
[card]
name=Auriok Siege Sled
auto={1}:setblocker target(creature[artifact])
auto={1}:target(creature) cantbeblockerof(this) ueot
text={1}: Target artifact creature blocks Auriok Siege Sled this turn if able. -- {1}: Target artifact creature can't block Auriok Siege Sled this turn.
mana={6}
type=Artifact Creature
subtype=Juggernaut
power=3
toughness=5
[/card]
[card]
name=Auriok Steelshaper
auto=lord(*[Equipment]|mycastingzone) altercost(colorless,-1)
auto=this(gear > 0) lord(creature[Soldier]|myBattlefield) 1/1
auto=this(gear > 0) lord(creature[Knight]|myBattlefield) 1/1
text=Equip costs you pay cost {1} less. -- As long as Auriok Steelshaper is equipped, Soldier and/or Knight creatures you control get +1/+1.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Aurora Champion
auto=@combat(attacking) source(this) aslongas(other warrior|myBattlefield):tap target(creature)
text=Whenever Aurora Champion attacks, if your team controls another Warrior, tap target creature.
mana={2}{W}
type=Creature
subtype=Elf Warrior
power=3
toughness=2
[/card]
[card]
name=Aurora Phoenix
abilities=flying,partner
autostack=if casted(this) then cascade:plibrarycount
text=Flying -- Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- Whenever you cast a spell with cascade, return Aurora Phoenix from your graveyard to your hand.
mana={4}{R}{R}
type=Creature
subtype=Phoenix
power=5
toughness=3
[/card]
[card]
name=Auspicious Starrix
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={5}{G} name(Mutate)
aicode=activate transforms((,newability[target(*[zpos=findfirsttypepermanent]|mylibrary) moveto(myexile) and!( moveto(myBattlefield) and!( all(*[zpos<=findfirsttypepermanent]|mylibrary) moveto(myexile) )! )!])) oneshot
auto=transforms((,newability[@mutated(this):thisforeach(mutations) ability$!name(Reveal) reveal:1 revealuntil(*[-instant;-sorcery]|mylibrary) optionone name(Exile permanent and play) target(*[-sorcery;-instant]|myreveal) moveto(myexile) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Exile all non permanents) target(*[sorcery;instant]|myreveal) moveto(myexile) and!( all(*[sorcery;instant]|myreveal) moveto(myexile) )! optiontwoend afterrevealed all(tobecast|myexile) moveTo(myBattlefield) afterrevealedend revealend!$ controller]))
auto=ifnot paid(alternative) then transforms((,newability[becomes(,,green)])) forever all(this)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) && mutateover target(other creature[-human]|mybattlefield) && transforms((,newability[becomes(,,green)])) forever
auto=if paid(alternative) then name(Mutate Under) this(mutations<1) name(Mutate Under) choice name(Mutate Under)&& mutateunder target(other creature[-human]|mybattlefield) 
text=Mutate {5}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, exile cards from the top of your library until you exile X permanent cards, where X is the number of times this creature has mutated. Put those permanent cards onto the battlefield.
mana={4}{G}
type=Creature
subtype=Elk Beast
power=6
toughness=6
[/card]
[card]
name=Author of Shadows
auto=if type(*[-land]|opponentgraveyard)~morethan~0 then name(Choose non-land card) name(Choose non-land card) target(*[-land]|opponentgraveyard) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[all(*|opponentgraveyard) moveto(opponentexile)])) forever )!
auto=if type(*[-land]|opponentgraveyard)~equalto~0 then all(*|opponentgraveyard) moveto(opponentexile)
text=When Author of Shadows enters the battlefield, exile all cards from all opponents' graveyards. Choose a nonland card exiled this way. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.
mana={4}{B}
type=Creature
subtype=Shade Warlock
power=3
toughness=3
[/card]
[card]
name=Autumn Willow
abilities=opponentshroud,shroud
auto={G}:name(Can be target of your spells) transforms((,newability[-shroud])) ueot
auto={G}:name(Can be target of opponent spells) transforms((,newability[-opponentshroud])) ueot
text=Shroud -- {G}: Until end of turn, Autumn Willow can be the target of spells and abilities controlled by target player as though it didn't have shroud.
mana={4}{G}{G}
type=Legendary Creature
subtype=Avatar
power=4
toughness=4
[/card]
[card]
name=Autumn-Tail, Kitsune Sage
auto={1}:target(aura|battlefield) activate castcard(normal)
text={1}: Attach target Aura attached to a creature to another creature.
type=Legendary Creature
subtype=Fox Wizard
power=4
toughness=5
color=white
[/card]
[card]
name=Avacyn's Judgment
abilities=madness
auto=thisforeach(variable{2}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker]) damage:1!$ controller
autoexile=restriction{discarded} pay({X}{R}) name(pay XR to cast) name(pay XR to cast) thisforeach(X) ability$!name(Deal X damages) name(Deal X damages) target(player,creature,planeswalker]) damage:1!$ controller
text=Madness {X}{R} (If you discard this card, discard it into exile. When you do, cast it for it madness cost or put into your graveyard.) Avacyn's Judgment deals 2 damage divided as you choose among any number of targets. If Avacyn's Judgment's madness cost was paid, it deals X damage divided as you choose among those permanents and/or players instead.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Avacyn's Memorial
abilities=indestructible
auto=lord(other *[legendary]|mybattlefield) indestructible
text=Indestructible -- Other legendary permanents you control have indestructible.
mana={5}{W}{W}{W}
type=Legendary Artifact
[/card]
[card]
name=Avalanche Caller
auto={2}:target(land[snow]|mybattlefield) transforms((Elemental Creature,setpower=4,settoughness=4,newability[opponentshroud],newability[haste])) ueot
text={2}: Target snow land you control becomes a 4/4 Elemental creature with haste and hexproof until end of turn. it's still a land. (A creature with hexproof can't be the target of spells or abilities your opponents control.)
mana={1}{U}
type=Snow Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Avalanche Tusker
auto=_ATTACKING_setblocker target(creature|opponentbattlefield)
text=Whenever Avalanche Tusker attacks, target creature defending player controls blocks it this combat if able.
mana={2}{G}{U}{R}
type=Creature
subtype=Elephant Warrior
power=6
toughness=4
[/card]
[card]
name=Avatar of Growth
abilities=Trample
anyzone=changecost(colorless:-1)
auto=name(search a basic land) notatarget(<upto:2>land[basic]|opponentlibrary) moveTo(opponentbattlefield) && shuffle opponent
auto=name(search a basic land) notatarget(<upto:2>land[basic]|mylibrary) moveTo(mybattlefield) && shuffle controller
text=This spell cost {1} less to cast for each opponent you have. -- Trample -- When Avatar of Growth enters the battlefield, each player searches their library for up to two basic land cards, puts them onto the battlefield, then shuffles their library.
mana={4}{G}{G}
type=Creature
subtype=Elemental Avatar
power=4
toughness=4
[/card]
[card]
name=Avatar of Hope
abilities=flying
other={W}{W} name(Cast with 3 or less life)
otherrestriction=compare(lifetotal)~lessthan~4
restriction=compare(lifetotal)~morethan~3
text=If you have 3 or less life, Avatar of Hope costs {6} less to cast. -- Flying -- Avatar of Hope can block any number of creatures.
mana={6}{W}{W}
type=Creature
subtype=Avatar
power=4
toughness=9
[/card]
[card]
name=Aven Eternal
abilities=flying
auto=_AMASS_(1)
text=Flying -- When Aven Eternal enters the battlefield, amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={2}{U}
type=Creature
subtype=Zombie Bird Warrior
power=2
toughness=2
[/card]
[card]
name=Aven Gagglemaster
abilities=flying
auto=life:twicetype:creature[flying]|myBattlefield controller
text=Flying -- When Aven Gagglemaster enters the battlefield, you gain 2 life for each creature you control with flying.
mana={3}{W}{W}
type=Creature
subtype=Bird Warrior
power=4
toughness=3
[/card]
[card]
name=Aven Initiate
abilities=flying
autograveyard={6}{U}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Flying -- Embalm {6}{U} ({6}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Bird Warrior with no mana cost. Embalm only as a sorcery.)
mana={3}{U}
type=Creature
subtype=Bird Warrior
power=3
toughness=2
[/card]
[card]
name=Aven Mimeomancer
abilities=flying
auto=@each my upkeep:may name(Put feather counter) target(creature) transforms((,newability[counter(0/0.1.feather)],newability[this(counter{0/0.1.feather}>0) transforms((,setpower=3,settoughness=1,newability[flying]))])) forever
text=Flying -- At the beginning of your upkeep, you may put a feather counter on target creature. If you do, that creature is 3/1 and has flying for as long as it has a feather counter on it.
mana={1}{W}{U}
type=Creature
subtype=Bird Wizard
power=3
toughness=1
[/card]
[card]
name=Aven Mindcensor
abilities=flash,flying
text=Flash (You may cast this spell any time you could cast an instant.) -- Flying -- If an opponent would search a library, that player searches the top four cards of that library instead.
mana={2}{W}
type=Creature
subtype=Bird Wizard
power=2
toughness=1
[/card]
[card]
name=Aven Reedstalker
abilities=flash, flying
text=Flash -- Flying
mana={3}{U}
type=Creature
subtype=Bird Warrior
power=2
toughness=3
[/card]
[card]
name=Aven Sentry
abilities=flying
text=Flying
mana={3}{W}
type=Creature
subtype=Bird Soldier
power=3
toughness=2
[/card]
[card]
name=Aven Wind Guide
abilities=flying, vigilance
auto=lord(*[token]|mybattlefield) flying
auto=lord(*[token]|mybattlefield) vigilance
autograveyard={4}{W}{U}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Flying, vigilance -- Creature tokens you control have flying and vigilance. -- Embalm {4}{W}{U} ({4}{W}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Bird Warrior with no mana cost. Embalm only as a sorcery.)
mana={2}{W}{U}
type=Creature
subtype=Bird Warrior
power=2
toughness=3
[/card]
[card]
name=Aven Wind Mage
abilities=flying
auto=@movedTo(instant,sorcery|mystack):1/1 ueot
text=Flying -- Whenever you cast an instant or sorcery spell, Aven Wind Mage gets +1/+1 until end of turn.
mana={2}{U}
type=Creature
subtype=Bird Wizard
power=2
toughness=2
[/card]
[card]
name=Aven of Enduring Hope
abilities=flying
auto=life:3
text=Flying -- When Aven of Enduring Hope enters the battlefield, you gain 3 life.
mana={4}{W}
type=Creature
subtype=Bird Cleric
power=3
toughness=3
[/card]
[card]
name=Avenging Huntbonder
abilities=double strike
auto=_ATTACKING_name(Put double strike counter) target(other creature[attacking]) transforms((,newability[counter(0/0.1.DoubleStrike)],newability[this(counter{0/0.1.DoubleStrike}>=1) double strike])) forever 
text=Double strike -- Whenever Avenging Huntbonder attacks, put a double strike counter on another target attacking creature.
mana={3}{W}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Avian Oddity
abilities=flying,cycling
autohand=__CYCLING__({2}{U})
autohand=@cycled(this|myHand):name(Put flying counter) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Flying],newability[this(counter{0/0.1.Flying}>=1) flying])) forever
text=Flying -- Cycling {2}{U} ({2}{U}, Discard this card: Draw a card.) -- When you cycle Avian Oddity, put a flying counter on target creature you control.
mana={3}{U}
type=Creature
subtype=Bird
power=2
toughness=4
[/card]
[card]
name=Aviation Pioneer
auto=create(thopter artifact:creature thopter artifact:1/1:colorless:flying)
text=When Aviation Pioneer enters the battlefield, create a 1/1 colorless Thopter artifact creature token with flying.
mana={2}{U}
type=Creature
subtype=Human Artificer
power=1
toughness=2
[/card]
[card]
name=Avid Reclaimer
auto={T}:Add{G}
auto={T}:Add{U}
text={T}: Add {G} or {U} to your mana pool. If you control a Nissa planeswalker, you gain 2 life.
mana={2}{G}
type=Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Avoid Fate
target=*[instant;aura]|opponentstack
auto=fizzle
text=Counter target instant or Aura spell that targets a permanent you control.
mana={G}
type=Instant
[/card]
[card]
name=Awaken the Blood Avatar
abilities=doublefacedeath
auto=name(Create Avatar) name(Create Avatar) token(Avatar,Creature Avatar,3/6,black,red,haste) and!( transforms((,newability[_ATTACKING_damage:3 opponent])) forever )!
auto=ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|myBattlefield) sacrifice!$ opponent
text=As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed this way. -- Each opponent sacrifices a creature. Create a 3/6 black and red Avatar creature token with haste and "Whenever this creature attacks, it deals 3 damage to each opponent." // {1}{W}{B}{B} Extus, Oriq Overlord
mana={6}{B}{R}
type=Sorcery
[/card]
[card]
name=Awaken the Erstwhile
auto=count(type:*:myhand) && all(*|myhand) reject && token(Zombie,Creature Zombie,2/2,black)*countedamount
auto=count(type:*:opponenthand) && all(*|opponenthand) reject && token(Zombie,Creature Zombie,2/2,black)*countedamount opponent
text=Each player discards all the cards in their hand, then creates that many 2/2 black Zombie creature tokens.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Awaken the Sky Tyrant
auto=@damageof(player) from(*|opponentstack,opponentbattlefield,opponentgraveyard,opponenthand,opponentexile,opponentsideboard):may sacrifice && token(Dragon,Creature Dragon,5/5,red,flying) controller
text=When a source an opponent controls deals damage to you, sacrifice Awaken the Sky Tyrant. If you do, create a 5/5 red Dragon creature token with flying.
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Awakened Amalgam
anyzone=diffcardcounttypeland/diffcardcounttypeland cdaactive
text=Awakened Amalgam's power and toughness are each equal to the number of differently named lands you control.
mana={4}
type=Artifact Creature
subtype=Golem
power=*
toughness=*
[/card]
[card]
name=Awakening of Vitu-Ghazi
target=land|myBattlefield
auto=transforms((Legendary Elemental Creature, Vitu-Ghazi,newability[counter(1/1.9)],newability[haste])) forever
text=Put nine +1/+1 counters on target land you control. It becomes a legendary 0/0 Elemental creature with haste named Vitu-Ghazi. It's still a land.
mana={3}{G}{G}
type=Instant
[/card]
[card]
name=Awoken Demon
backside=Ecstatic Awakener
type=Creature
subtype=Demon
color=black
power=4
toughness=4
[/card]
[card]
name=Axebane Beast
mana={3}{G}
type=Creature
subtype=Beast
power=3
toughness=4
[/card]
[card]
name=Axgard Armory
auto=tap(noevent)
auto={T}:add{W}
auto={1}{R}{R}{W}{T}{S}:name(Search aura and equipment) target(aura|mylibrary) moveto(myhand) and!( transforms((,newability[name(Get equipment) target(equipment|mylibrary) moveto(myhand) and!( shuffle )!])) oneshot )!
auto={1}{R}{R}{W}{T}{S}:name(Search aura) target(aura|mylibrary) moveto(myhand) and!( shuffle )!
auto={1}{R}{R}{W}{T}{S}:name(Search equipment) target(equipment|mylibrary) moveto(myhand) and!( shuffle )!
text=Axgard Armory enters the battlefield tapped. -- {T}: Add {W}. -- {1}{R}{R}{W}, {T}, Sacrifice Axgard Armory: Search your library for an Aura card and/or an Equipment card, reveal them, put them into your hand, then shuffle your library.
type=Land
[/card]
[card]
name=Axgard Braggart
abilities=boast
auto={1}{W} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && transforms((,newability[untap],newability[counter(1/1)])) oneshot limit:hasabilitytwoboastplus1plusend
auto={W} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && transforms((,newability[untap],newability[counter(1/1)])) oneshot limit:hasabilitytwoboastplus1plusend
text=Boast-{1}{W}: Untap Axgard Braggart. Put a +1/+1 counter on it. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={3}{W}
type=Creature
subtype=Dwarf Warrior
power=3
toughness=3
[/card]
[card]
name=Axgard Cavalry
auto={T}:name(Creature gains haste) target(creature) transforms((,newability[haste])) ueot
text={T}: Target creature gains haste until end of turn.
mana={1}{R}
type=Creature
subtype=Dwarf Berserker
power=2
toughness=2
[/card]
[card]
name=Axis of Mortality
auto=@each my upkeep:may exchangelife opponent
text=At the beginning of your upkeep, you may have two target players exchange life totals.
mana={4}{W}{W}
type=Enchantment
[/card]
[card]
name=Ayara, First of Locthwain
auto=life:1
auto=life:-1 opponent
auto=@movedto(other creature[black]|mybattlefield):life:1
auto=@movedto(other creature[black]|mybattlefield):life:-1 opponent
auto={T}{S(other creature[black]|myBattlefield)}:draw:1
text=Whenever Ayara, First of Locthwain or another black creature enters the battlefield under your control, each opponent loses 1 life and you gain 1 life. -- {T}, Sacrifice another black creature: Draw a card.
mana={B}{B}{B}
type=Legendary Creature
subtype=Elf Noble
power=2
toughness=3
[/card]
[card]
name=Ayula's Influence
auto={D(land|myhand)}:token(Bear,Creature Bear,2/2,green)
text=Discard a land card: Create a 2/2 green Bear creature token.
mana={G}{G}{G}
type=Enchantment
[/card]
[card]
name=Ayula, Queen Among Bears
auto=@movedTo(other creature[bear]|myBattlefield):choice target(creature[bear]) counter(1/1,2)
auto=@movedTo(other creature[bear]|myBattlefield):choice target(creature[bear]) transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Whenever another Bear enters the battlefield under your control, Choose one -- Put two +1/+1 counters on target Bear. -- Target Bear you control fights target creature you don't control.
mana={1}{G}
type=Legendary Creature
subtype=Bear
power=2
toughness=2
[/card]
[card]
name=Azcanta, the Sunken Ruin
auto={T}:Add{U}
aicode=activate transforms((,newability[target(*[-land;-creature;zpos<=4]|mylibrary) moveto(myhand) and!( all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto={2}{U}{T}:name(Look top 4 cards) reveal:4 optionone name(Get a card) target(<upto:1>*[-land;-creature]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
text=(Transforms from Search for Azcanta.) -- {T}: Add {U} to your mana pool. -- {2}{U}, {T}: Look at the top four cards of your library. You may reveal a noncreature, nonland card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
type=Legendary Land
[/card]
[card]
name=Azor's Gateway
auto={1}{T}:draw:1 controller && transforms((,newability[notatarget(*|myhand) moveto(myexile) and!( counter(0/0.1.AzorExiled) )!])) forever
auto=aslongas(*[counter{0/0.1.AzorExiled}]|myexile) flip(Sanctum of the Sun) >4
text={1}, {T}: Draw a card, then exile a card from your hand. If cards with five or more different converted mana costs are exiled with Azor's Gateway, you gain 5 life, untap Azor's Gateway, and transform it.
mana={2}
type=Legendary Artifact
[/card]
[card]
name=Azor, the Lawbringer
abilities=flying
auto=phaseaction[upkeep once] maxCast(*[instant;sorcery])0 opponent ueot
auto=_ATTACKING_may pay({X}{W}{U}{U}) name(Gain X life and draw X cards) life:x controller && draw:x controller
text=Flying -- When Azor, the Lawbringer enters the battlefield, each opponent can't cast instant or sorcery spells during that player's next turn. -- Whenever Azor attacks, you may pay {X}{W}{U}{U}. If you do, you gain X life and draw X cards.
mana={2}{W}{W}{U}{U}
type=Legendary Creature
subtype=Sphinx
power=6
toughness=6
[/card]
[card]
name=Azorius Knight-Arbiter
abilities=unblockable, vigilance
text=Vigilance -- Azorius Knight-Arbiter can't be blocked.
mana={3}{W}{U}
type=Creature
subtype=Human Knight
power=2
toughness=5
[/card]
[card]
name=Azorius Locket
auto={WU}{WU}{WU}{WU}{T}{S}:draw:2
auto={T}:Add{W}
auto={T}:Add{U}
text={T}: Add {W} or {U}. -- {W/U}{W/U}{W/U}{W/U}, {T}, Sacrifice Azorius Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Azorius Skyguard
abilities=flying, first strike
auto=lord(creature|opponentBattlefield) -1/0
text=Flying, first strike -- Creatures your opponents control get -1/-0.
mana={4}{W}{U}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Azra Bladeseeker
auto=may ability$!name(discard) reject notatarget(*|myhand)!$ and!(draw:1)!
text=When Azra Bladeseeker enters the battlefield, each player on your team may discard a card, then each player who discarded a card this way draws a card.
mana={2}{R}
type=Creature
subtype=Azra Warrior
power=3
toughness=2
[/card]
[card]
name=Azra Oddsmaker
auto=@each my combatbegins:may name(Discard a card) target(*|myhand) reject and!( transforms((,newability[name(Choose a creature) target(creature) transforms((,newability[@combatdamaged(player) from(this):draw:2 controller])) ueot])) oneshot )!
text=At the beginning of combat on your turn, you may discard a card. If you do, choose a creature. Whenever that creature deals combat damage to a player this turn, you draw two cards.
mana={1}{B}{R}
type=Creature
subtype=Azra Warrior
power=3
toughness=3
[/card]
[card]
name=Azra Smokeshaper
autohand={1}{B}{N}:ninjutsu
auto=target(creature) indestructible ueot
text=Ninjutsu {1}{B} ({1}{B}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- When Azra Smokeshaper enters the battlefield, target creature you control gains indestructible until end of turn.
mana={3}{B}
type=Creature
subtype=Azra Ninja
power=3
toughness=3
[/card]
[card]
name=Azure Fleet Admiral
auto=_MONARCH_CONTROLLER_
auto=this(variable{omonarch}>0) unblockable
text=When Azure Fleet Admiral enters the battlefield, you become the monarch. -- Azure Fleet Admiral can't be blocked by creatures the monarch controls.
mana={3}{U}
type=Creature
subtype=Human Pirate
power=3
toughness=3
[/card]
[card]
name=Back for More
target=creature|myGraveyard
auto=moveTo(myBattlefield)
auto=transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Return target creature card from your graveyard to the battlefield. When you do, it fights up to one target creature you don't control. (Each deals damage equal to its power to the other.)
mana={4}{B}{G}
type=Instant
[/card]
[card]
name=Backdraft Hellkite
abilities=flying
auto=@combat(attacking) all(instant,sorcery|mygraveyard) tempflashback ueot
text=Flying -- Whenever Backdraft Hellkite attacks, each instant and sorcery card in your graveyard gains flashback until end of turn. The flashback cost is equal to its mana cost.
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Backup Plan
abilities=isconspiracy
restriction=never
autocommandzone=draw:7 controller
text=(Start the game with this conspiracy face up in the command zone.) -- Draw an additional hand of seven cards as the game begins. Before taking mulligans, shuffle all but one of your hands into your library.
type=Conspiracy
[/card]
[card]
name=Bad Deal
auto=draw:2 controller
auto=ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ opponent
auto=life:-2 opponent
auto=life:-2 controller
text=You draw two cards and each opponent discards two cards. Each player loses 2 life.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Baffling Defenses
target=creature
auto=counter(0/0,1,PerpetualZeroP)
auto=emblem transforms((,newability[lord(creature[counter{0/0.1.PerpetualZeroP}]) transforms((,setpower=0))])) forever dontremove
text=Target creature's base power perpetually becomes 0.
mana={1}{W}
type=Instant
[/card]
[card]
name=Baffling End
auto=target(creature[manacost<=3]|opponentbattlefield) moveto(exile)
auto=@movedTo(this|nonbattlezone) from(battlefield): token(Dinosaur,creature Dinosaur,3/3,green,trample) opponent
text=When Baffling End enters the battlefield, exile target creature an opponent controls with converted mana cost 3 or less. -- When Baffling End leaves the battlefield, target opponent creates a 3/3 green Dinosaur creature token with trample.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Bag of Devouring
auto=@sacrificed(other artifact[-token]|mybattlefield):name(Exile artifact) transforms((,newability[name(Exile artifact) all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(ownerexile) and!( counter(0/0.1.BagExiled) )!])) oneshot
auto=@sacrificed(creature[-token;-artifact]|mybattlefield):name(Exile creature) transforms((,newability[name(Exile creature) all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(ownerexile) and!( counter(0/0.1.BagExiled) )!])) oneshot
auto={2}{T}:name(Draw a card) target(other *[artifact;creature]|mybattlefield) sacrifice and!( transforms((,newability[moveto(ownerexile) and!( counter(0/0.1.BagExiled) )!],newability[draw:1 controller])) oneshot
auto={3}{T}:name(Sacrifice and roll d10) sacrifice and!( transforms((,newability[name(Roll a d10) rolld10 10 winability donothing winabilityend rolld10end])) oneshot )!
autograveyard=@dierolled(this|mygraveyard) from(controller) once:transforms((,newability[name(Return exiled cards) target(<lastrollresult>*[counter{0/0.1.BagExiled}]|exile) moveto(ownerhand) and!( all(*[counter{0/0.1.BagExiled}]|myexile) removeallcounters(0/0.1.BagExiled) )!])) oneshot
text=Whenever you sacrifice another nontoken artifact or creature, exile it. -- {2}, {T}, Sacrifice another artifact or creature: Draw a card. -- {3}, {T}, Sacrifice Bag of Devouring: Roll a d10. Return up to X cards from among cards exiled with Bag of Devouring to their owners' hands, where X is the result.
mana={B}
type=Artifact
[/card]
[card]
name=Bag of Holding
auto=@discarded(*|myhand):name(Move to exile) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(myexile) and!( counter(0/0.1.BagExiled) )!])) oneshot
auto={2}{T}:name(Draw and discard) draw:1 controller && transforms((,newability[name(Discard a card) reject notatarget(*|myhand)])) oneshot
auto={4}{T}{S}:name(Return all exiled card) all(*[counter{0/0.1.BagExiled}]|myexile) moveto(ownerhand)
text=Whenever you discard a card, exile that card from your graveyard. -- {2}, {T}: Draw a card, then discard a card. -- {4}, {T}, Sacrifice Bag of Holding: Return all cards exiled with Bag of Holding to their owner's hand.
mana={1}
type=Artifact
[/card]
[card]
name=Bag of Tricks
aicode=activate target(creature[manacost=lastrollresult]|mylibrary) moveto(mybattlefield) and!( shuffle )!
auto={4}{G}{T}:name(Roll a d8) rolld8 8 winability donothing winabilityend rolld8end
auto=@dierolled(this) from(controller):name(Look top card) reveal:1 revealzone(mylibrary) revealuntil(creature[manacost=lastrollresult]|mylibrary) optionone target(creature[manacost=lastrollresult]|myreveal) moveto(mybattlefield) optiononeend optiontwo all(*|myreveal) bottomoflibrary optiontwoend revealend
text={4}{G}, {T}: Roll a d8. Reveal cards from the top of your library until you reveal a creature card with mana value equal to the result. Put that card onto the battlefield and the rest on the bottom of your library in a random order.
mana={1}{G}
type=Artifact
[/card]
[card]
name=Baird, Steward of Argive
abilities=vigilance
auto=lord(creature|opponentbattlefield) transforms((,newability[attackcost:1]))
text=Vigilance -- Creatures can't attack you or a planeswalker you control unless their controller pays {1} for each of those creatures.
mana={2}{W}{W}
type=Legendary Creature
subtype=Human Soldier
power=2
toughness=4
[/card]
[card]
name=Baithook Angler
backside=Hook-Haunt Drifter
abilities=hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={1}{U} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
text=Disturb {1}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Hook-Haunt Drifter
mana={1}{U}
type=Creature
subtype=Human Peasant
power=2
toughness=1
[/card]
[card]
name=Bake into a Pie
target=creature
auto=destroy
auto=token(Food)
text=Destroy target creature. Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Bala Ged Recovery
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Bala Ged Sanctuary)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Bala Ged Sanctuary) name(Bala Ged Sanctuary) flip(Bala Ged Sanctuary) forcetype(land)
auto=name(Return a card from graveyard) name(Return a card from graveyard) moveTo(myHand) target(*|myGraveyard)
text=Return target card from your graveyard to your hand. // Bala Ged Sanctuary
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Bala Ged Sanctuary
auto=tap(noevent)
auto={T}:add{G}
text=Bala Ged Sanctuary enters the battlefield tapped. -- {T}: Add {G}. // {2}{G} Bala Ged Recovery
type=Land
[/card]
[card]
name=Balan, Wandering Knight
auto=this(gear > 1) double strike
auto={1}{W}:all(equipment|mybattlefield) newhook
text=First strike -- Balan, Wandering Knight has double strike as long as two or more Equipment are attached to it. -- {1}{W}: Attach all Equipment you control to Balan.
mana={2}{W}{W}
type=Legendary Creature
subtype=Cat Knight
power=3
toughness=3
[/card]
[card]
name=Baleful Ammit
abilities=lifelink
auto=counter(-1/-1,1) target(creature|mybattlefield)
text=Lifelink -- When Baleful Ammit enters the battlefield, put a -1/-1 counter on target creature you control.
mana={2}{B}
type=Creature
subtype=Crocodile Demon
power=4
toughness=3
[/card]
[card]
name=Baleful Beholder
auto=if type(enchantment|opponentbattlefield)~morethan~0 then choice name(Opponent sacrifices enchantment) name(Opponent sacrifices enchantment) ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) notatarget(enchantment|mybattlefield) sacrifice!$ opponent
auto=choice name(Your creatures gain menace) all(creature|myBattlefield) transforms((,newability[menace])) ueot
text=When Baleful Beholder enters the battlefield, Choose one -- Antimagic Cone - Each opponent sacrifices an enchantment. -- Fear Ray - Creatures you control gain menace until end of turn. (A creature with menance can't be blocked except by two or more creatures.)
mana={4}{B}{B}
type=Creature
subtype=Beholder
power=6
toughness=5
[/card]
[card]
name=Baleful Mastery
target=creature,planeswalker
other={1}{B} name(Cast for less)
auto=if paid(alternative) then draw:1 opponent
auto=moveto(exile)
text=You may pay {1}{B} rather than pay this spell's mana cost. -- If the {1}{B} cost was paid, an opponent draws a card. -- Exile target creature or planeswalker.
mana={3}{B}
type=Instant
[/card]
[card]
name=Baloth Gorger
kicker={4}
auto=if paid(kicker) then counter(1/1,3)
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- If Baloth Gorger was kicked, it enters the battlefield with three +1/+1 counters on it.
mana={2}{G}{G}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Baloth Packhunter
abilities=trample
auto=all(other creature[Baloth Packhunter]|mybattlefield) counter(1/1,2)
text=Trample -- When Baloth Packhunter enters the battlefield, put two +1/+1 counters on each other creature you control named Baloth Packhunter.
mana={3}{G}
type=Creature
subtype=Beast
power=3
toughness=2
[/card]
[card]
name=Band Together
target=<upto:2>creature|myBattlefield
auto=transforms((,newability[dynamicability<!powerstrike!> target(other creature)])) ueot
text=Up to two target creatures you control each deal damage equal to their power to another target creature.
mana={2}{G}
type=Instant
[/card]
[card]
name=Bane Alley Broker
auto={T}:name(Draw and exile) draw:1 controller && transforms((,newability[name(Exile a card) notatarget(*|myhand) moveto(exile) and!( counter(0/0.1.BaneExiled) )!])) oneshot
auto={U}{B}{T}:name(Return exiled card) target(*[counter{0/0.1.BaneExiled}]|myexile) moveto(ownerhand)
text={T}: Draw a card, then exile a card from your hand face down. -- You may look at cards exiled with Bane Alley Broker. -- {U}{B}, {T}: Return a card exiled with Bane Alley Broker to its owner's hand.
mana={1}{U}{B}
type=Creature
subtype=Human Rogue
power=0
toughness=3
[/card]
[card]
name=Baneblade Scoundrel
abilities=daybound
backside=Baneclaw Marauder
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@combat(blocked,turnlimited) source(this) from(creature|opponentbattlefield):name(Blocking creature gets -1/-1) all(trigger[from]) -1/-1 ueot
text=Whenever Baneblade Scoundrel becomes blocked, creatures blocking it get -1/-1 until end of turn. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Baneclaw Marauder
mana={3}{B}
type=Creature
subtype=Human Rogue Werewolf
power=4
toughness=3
[/card]
[card]
name=Baneclaw Marauder
abilities=nightbound
backside=Baneblade Scoundrel
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=_DIES_name(Lose 1 life) life:-1 controller
auto=@combat(blocked,turnlimited) source(this) from(creature|opponentbattlefield):name(Blocking creature gets -1/-1) all(trigger[from]) -1/-1 ueot
text=Whenever Baneclaw Marauder becomes blocked, creatures blocking it get -1/-1 until end of turn. -- Whenever a creature blocking Baneclaw Marauder dies, its controller loses 1 life. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Baneblade Scoundrel
type=Creature
subtype=Werewolf
color=black
power=5
toughness=4
[/card]
[card]
name=Banefire
target=creature,player
auto=this(X>4) nofizzle
auto=damage:X
text=Banefire deals X damage to target creature or player. -- If X is 5 or more, Banefire can't be countered by spells or abilities and the damage can't be prevented.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Banehound
abilities=lifelink,haste
text=Lifelink, haste
mana={B}
type=Creature
subtype=Nightmare Dog
power=1
toughness=1
[/card]
[card]
name=Banewhip Punisher
auto=may counter(-1/-1,1) target(creature)
auto={B}{S}:destroy target(creature[counter{-1/-1.1}])
text=When Banewhip Punisher enters the battlefield, you may put a -1/-1 counter on target creature. -- {B}, Sacrifice Banewhip Punisher: Destroy target creature that has a -1/-1 counter on it.
mana={2}{B}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Banish into Fable
auto=if casted(this) restriction{type(artifact|myBattlefield)~morethan~0} then copy(Banish into Fable)
auto=if casted(this) restriction{type(enchantment|myBattlefield)~morethan~0} then copy(Banish into Fable)
auto=moveTo(ownerhand) target(*[-land]) && token(Knight,creature Knight,2/2,white,vigilance) controller
text=When you cast this spell from your hand, copy it if you control an artifact, then copy it if you control an enchantment. You may choose new targets for the copies. -- Return target nonland permanent to its owner's hand. You create a 2/2 white Knight creature token with vigilance.
mana={4}{W}{U}
type=Instant
[/card]
[card]
name=Bankrupt in Blood
auto=draw:3
text=As an additional cost to cast this spell, sacrifice two creatures. -- Draw three cards.
mana={S(creature|myBattlefield)}{S(creature|myBattlefield)}{1}{B}
type=Sorcery
[/card]
[card]
name=Bannerhide Krushok
abilities=trample
autohand={1}{G}{discard}:name(Reinforce) counter(1/1,2) target(creature)
autograveyard={5}{G}{G}{E}:name(scavenge) counter(1/1,storedpower) target(creature) asSorcery
text=Trample -- Reinforce 2-{1}{G} ({1}{G}, Discard this card: Put two +1/+1 counters on target creature.) -- Scavenge-{5}{G}{G} ({5}{G}{G}, Exile this card from your graveyard: Put a number of +1/+1 counters equal to this card's power on target creature. Scavenge only as a sorcery.)
mana={3}{G}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Banshee of the Dread Choir
auto=@damageof(player) from(this):ability$!name(discard) target(*|myhand) reject!$ controller
auto=@damagefoeof(player) from(this):ability$!name(discard) target(*|myhand) reject!$ opponent
text=Myriad (Whenever this creature attacks, for each opponent other than defending player, you may put a token that's a copy of this creature onto the battlefield tapped and attacking that player or a planeswalker he or she controls. Exile the tokens at end of combat.) -- Whenever Banshee of the Dread Choir deals combat damage to a player, that player discards a card.
mana={3}{B}{B}
type=Creature
subtype=Spirit
power=4
toughness=4
[/card]
[card]
name=Bar the Gate
target=*[creature;planeswalker]|stack
auto=fizzle
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Counter target creature or planeswalker spell. Venture into the dungeon. (Enter the first room or advance to the next room.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Barbarian Bully
auto={0} restriction{compare(opponentlifetotal)~lessthan~5}:name(Discard a random card) discard:1 && all(this) 2/2 ueot
auto={0} restriction{compare(opponentlifetotal)~morethan~4}:name(Discard a random card) transforms((,newability[discard:1 controller],newability[if compare(genrand2)~equalto~0 then 2/2 ueot else damage:4 opponent])) oneshot
text=Discard a card at random: Barbarian Bully gets +2/+2 until end of turn unless a player has Barbarian Bully deal 4 damage to him or her. Activate this ability only once each turn.
mana={2}{R}
type=Creature
subtype=Human Barbarian
power=2
toughness=2
[/card]
[card]
name=Barbarian Class
#Ignore the lowest roll is not available ATM.
auto=counter(0/0,1,Level)
auto=@dierolled(*[-Barbarian Class]|battlefield) from(controller):name(Roll again) rolld20 20 winability donothing winabilityend loseability donothing loseabilityend rolld20end
auto=this(variable{hascntlevel}=1) {1}{R}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=@dierolled(*|battlefield) from(controller) restriction{compare(hascntlevel)~morethan~1}:name(Creature gets 2/0) target(creature|myBattlefield) transforms((,newability[2/0],newability[menace])) ueot
auto=this(variable{hascntlevel}=2) {2}{R}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}>=3) lord(creature|myBattlefield) haste
text=(Gain the next level as a sorcery to add its ability.) -- If you would roll one or more dice, instead roll that many dice plus one and ignore the lowest roll. -- {1}{R}: Level 2 -- Whenever you roll one or more dice, target creature you control gets +2/+0 and gains menace until end of turn. -- {2}{R}: Level 3 -- Creatures you control have haste.
mana={R}
type=Enchantment
subtype=Class
[/card]
[card]
name=Barbed Lightning
target=player
other={4}{R} name(Entwine)
auto=ifnot paid(alternative) then transforms((,newability[choice damage:3],newability[choice damage:3 target(creature)]))
auto=if paid(alternative) then damage:3 && damage:3 target(creature)
text=Choose one  Barbed Lightning deals 3 damage to target creature; or Barbed Lightning deals 3 damage to target player. -- Entwine {2} (Choose both if you pay the entwine cost.)
mana={2}{R}
type=Instant
[/card]
[card]
name=Barbed Spike
auto={2}:equip
auto=teach(creature) 1/0
auto=livingweapontoken(Thopter,Creature Thopter,1/1,flying)
text=When Barbed Spike enters the battlefield, create a 1/1 colorless Thopter artifact creature token with flying, then attach Barbed Spike to it. -- Equipped creature gets +1/+0. -- Equip {2}
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Barbed Wire
auto=@each opponent upkeep:damage:1 opponent
auto=@each my upkeep:damage:1 controller
auto=@each opponent upkeep:pay({2}) prevent:1 target(player) limit:1
auto=@each my upkeep:pay({2}) prevent:1 target(player) limit:1
text=At the beginning of each player's upkeep, Barbed Wire deals 1 damage to that player. -- {2}: Prevent the next 1 damage that would be dealt by Barbed Wire this turn.
mana={3}
type=Artifact
[/card]
[card]
name=Barbed-Back Wurm
auto={B}:-1/-1 target(creature[green,blocking]) ueot
text={B}: Target green creature blocking Barbed-Back Wurm gets -1/-1 until end of turn.
mana={4}{B}
type=Creature
subtype=Wurm
power=4
toughness=3
[/card]
[card]
name=Bard Class
auto=counter(0/0,1,Level)
auto=@movedto(creature[legendary]|mybattlefield):name(Get 1/1 counter) all(trigger[to]) counter(1/1)
auto=this(variable{hascntlevel}=1) {R}{G}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}>=2) lord(*[legendary]|mycastingzone) altercost(red, -1)
auto=this(variable{hascntlevel}>=2) lord(*[legendary]|mycastingzone) altercost(green, -1)
auto=this(variable{hascntlevel}=2) {3}{R}{G}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@movedto(creature[legendary]|mybattlefield) from(mystack) restriction{compare(hascntlevel)~morethan~2}:name(Exile top 2) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
text=(Gain the next level as a sorcery to add its ability.) -- Legendary creatures you control enter the battlefield with an additional +1/+1 counter on them. -- {R}{G}: Level 2 -- Legendary spells you cast cost {R}{G} less to cast. This effect reduces only the amount of colored mana you pay. -- {3}{R}{G}: Level 3 -- Whenever you cast a legendary spell, exile the top two cards of your library. You may play them this turn.
mana={R}{G}
type=Enchantment
subtype=Class
[/card]
[card]
name=Barge In
auto=target(creature[attacking]) 2/2 ueot
auto=all(creature[-human,attacking]) trample ueot
text=Target attacking creature gets +2/+2 until end of turn. Each attacking non-Human creature gains trample until end of turn.
mana={R}
type=Instant
[/card]
[card]
name=Barging Sergeant
abilities=haste,mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
text=Haste -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.)
mana={4}{R}
type=Creature
subtype=Minotaur Soldier
power=4
toughness=2
[/card]
[card]
name=Barkchannel Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Tidechannel Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Tidechannel Pathway) name(Tidechannel Pathway) flip(Tidechannel Pathway) forcetype(land)
auto={T}:add{G}
text={T}: Add {G}. // Tidechannel Pathway
type=Land
[/card]
[card]
name=Barkhide Troll
auto=counter(1/1,1)
auto={1}{C(1/1,-1)}:opponentshroud ueot
text=Barkhide Troll enters the battlefield with a +1/+1 counter on it. -- {1}, Remove a +1/+1 counter from Barkhide Troll: Barkhide Troll gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.)
mana={G}{G}
type=Creature
subtype=Troll
power=2
toughness=2
[/card]
[card]
name=Barrel Down Sokenzan
auto=if type(mountain|mybattlefield)~morethan~0 then choice name(Return 1 mountain) name(Return 1 mountain) target(creature) damage:2 && ability$!name(Return 1 mountain) name(Return 1 mountain) target(mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~1 then choice name(Return 2 mountains) name(Return 2 mountains) target(creature) damage:4 && ability$!name(Return 2 mountains) name(Return 2 mountains) target(<2>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~2 then choice name(Return 3 mountains) name(Return 3 mountains) target(creature) damage:6 && ability$!name(Return 3 mountains) name(Return 3 mountains) target(<3>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~3 then choice name(Return 4 mountains) name(Return 4 mountains) target(creature) damage:8 && ability$!name(Return 4 mountains) name(Return 4 mountains) target(<4>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~4 then choice name(Return 5 mountains) name(Return 5 mountains) target(creature) damage:10 && ability$!name(Return 5 mountains) name(Return 5 mountains) target(<5>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~5 then choice name(Return 6 mountains) name(Return 6 mountains) target(creature) damage:12 && ability$!name(Return 6 mountains) name(Return 6 mountains) target(<6>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~6 then choice name(Return 7 mountains) name(Return 7 mountains) target(creature) damage:14 && ability$!name(Return 7 mountains) name(Return 7 mountains) target(<7>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~7 then choice name(Return 8 mountains) name(Return 8 mountains) target(creature) damage:16 && ability$!name(Return 8 mountains) name(Return 8 mountains) target(<8>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~8 then choice name(Return 9 mountains) name(Return 9 mountains) target(creature) damage:18 && ability$!name(Return 9 mountains) name(Return 9 mountains) target(<9>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~9 then choice name(Return 10 mountains) name(Return 10 mountains) target(creature) damage:20 && ability$!name(Return 10 mountains) name(Return 10 mountains) target(<10>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~10 then choice name(Return 11 mountains) name(Return 11 mountains) target(creature) damage:22 && ability$!name(Return 11 mountains) name(Return 11 mountains) target(<11>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~11 then choice name(Return 12 mountains) name(Return 12 mountains) target(creature) damage:24 && ability$!name(Return 12 mountains) name(Return 12 mountains) target(<12>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~12 then choice name(Return 13 mountains) name(Return 13 mountains) target(creature) damage:26 && ability$!name(Return 13 mountains) name(Return 13 mountains) target(<13>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~13 then choice name(Return 14 mountains) name(Return 14 mountains) target(creature) damage:28 && ability$!name(Return 14 mountains) name(Return 14 mountains) target(<14>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~14 then choice name(Return 15 mountains) name(Return 15 mountains) target(creature) damage:30 && ability$!name(Return 15 mountains) name(Return 15 mountains) target(<15>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~15 then choice name(Return 16 mountains) name(Return 16 mountains) target(creature) damage:32 && ability$!name(Return 16 mountains) name(Return 16 mountains) target(<16>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~16 then choice name(Return 17 mountains) name(Return 17 mountains) target(creature) damage:34 && ability$!name(Return 17 mountains) name(Return 17 mountains) target(<17>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~17 then choice name(Return 18 mountains) name(Return 18 mountains) target(creature) damage:36 && ability$!name(Return 18 mountains) name(Return 18 mountains) target(<18>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~18 then choice name(Return 19 mountains) name(Return 19 mountains) target(creature) damage:38 && ability$!name(Return 19 mountains) name(Return 19 mountains) target(<19>mountain|mybattlefield) moveto(myhand)!$ controller
auto=if type(mountain|mybattlefield)~morethan~19 then choice name(Return 20 mountains) name(Return 20 mountains) target(creature) damage:40 && ability$!name(Return 20 mountains) name(Return 20 mountains) target(<20>mountain|mybattlefield) moveto(myhand)!$ controller
text=Sweep - Return any number of Mountains you control to their owner's hand. Barrel Down Sokenzan deals damage to target creature equal to twice the number of Mountains returned this way.
mana={2}{R}
type=Instant
subtype=Arcane
[/card]
[card]
name=Barrier Breach
target=<upto:3> enchantment
auto=moveTo(exile)
autohand=__CLYCLING__({2})
text=Exile up to three target enchantments. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{G}
type=Instant
[/card]
[card]
name=Barrier of Bones
abilities=defender
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Defender -- When Barrier of Bones enters the battlefield, surveil 1. (Look at the top card of your library. You may put that card into your graveyard.)
mana={B}
type=Creature
subtype=Skeleton Wall
power=0
toughness=3
[/card]
[card]
name=Barrin's Spite
target=creature
auto=destroy
auto=moveto(ownerhand) target(creature)
text=Choose two target creatures controlled by the same player. Their controller chooses and sacrifices one of them. Return the other to its owner's hand.
mana={2}{U}{B}
type=Sorcery
[/card]
[card]
name=Barrin, Tolarian Archmage
auto=may moveTo(ownerhand) target(other creature,planeswalker)
auto=@movedTo(*|myhand) from(battlefield):phaseaction[endofturn once] draw:1 controller limit:1
text=When Barrin, Tolarian Archmage enters the battlefield, return up to one other target creature or planeswalker to its owner's hand. -- At the beginning of your end step, if a permanent was put into your hand from the battlefield this turn, draw a card.
mana={1}{U}{U}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Barrow Witches
auto=moveto(myhand) target(creature[knight]|mygraveyard)
text=When Barrow Witches enters the battlefield, return target Knight card from your graveyard to your hand.
mana={4}{B}
type=Creature
subtype=Human Warlock
power=3
toughness=4
[/card]
[card]
name=Barrowin of Clan Undurr
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=@combat(attacking) source(this) restriction{compare(pdungeoncompleted)~morethan~0}:may name(Return creature) target(creature[manacost<=3]|mygraveyard) moveto(myBattlefield)
text=When Barrowin of Clan Undurr enters the battlefield, venture into the dungeon. (Enter the first room or advance to the next room.) -- Whenever Barrowin of Clan Undurr attacks, return up to one creature card with mana value 3 or less from your graveyard to the battlefield if you've completed a dungeon.
mana={2}{W}{B}
type=Legendary Creature
subtype=Dwarf Cleric
power=3
toughness=3
[/card]
[card]
name=Bartered Cow
auto=_DIES_token(Food)
auto=@movedTo(this|mygraveyard) from(myHand):token(Food)
text=When Bartered Cow dies or when you discard it, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={3}{W}
type=Creature
subtype=Ox
power=3
toughness=3
[/card]
[card]
name=Bartizan Bats
abilities=flying
text=Flying
mana={3}{B}
type=Creature
subtype=Bat
power=3
toughness=1
[/card]
[card]
name=Basalt Ravager
auto=target(player,creature,planeswalker) damage:sametypecreatures
text=When Basalt Ravager enters the battlefield, it deals X damage to any target, where X is the greatest number of creatures you control that have a creature type in common.
mana={3}{R}
type=Creature
subtype=Giant Wizard
power=4
toughness=2
[/card]
[card]
name=Base Camp
auto=tap(noevent)
auto={T}:add{C}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:myrestrictedcastingzone}>0) {T}:add{B}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:mybattlefield}>0) {T}:add{B}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:mybattlefield}>0) {T}:add{W}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:mybattlefield}>0) {T}:add{R}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:myrestrictedcastingzone}>0) {T}:add{U}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:mybattlefield}>0) {T}:add{U}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:creature[cleric;rogue;warrior;wizard]:mybattlefield}>0) {T}:add{G}
text={T}: Add {C}. -- {T}: Add one mana of any color. Spend this mana only to cast a Cleric, Rogue, Warrior, or Wizard spell, or to activate an ability of a Cleric, Rogue, Warrior, or Wizard.
type=Land
[/card]
[card]
name=Basic Conjuration
aicode=activate target(creature[zpos<=6]|mylibrary) moveto(myhand)
auto=name(Look top 6 cards) reveal:6 optionone name(Get Creature) target(<upto:1>creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
auto=life:3 controller
text=Look at the top six cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. You gain 3 life.
mana={1}{G}{G}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Basilica Bell-Haunt
auto=ability$!name(discard) target(*|myhand) reject!$ opponent
auto=life:3
text=When Basilica Bell-Haunt enters the battlefield, each opponent discards a card and you gain 3 life.
mana={W}{W}{B}{B}
type=Creature
subtype=Spirit
power=3
toughness=4
[/card]
[card]
name=Basri's Acolyte
abilities=lifelink
auto=counter(1/1,1) target(<upto:2>other creature|myBattlefield)
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- When Basri's Acolyte enters the battlefield, put a +1/+1 counter on each of up to two other target creatures you control.
mana={2}{W}{W}
type=Creature
subtype=Cat Cleric
power=2
toughness=3
[/card]
[card]
name=Basri's Aegis
target=<upto:2>creature
auto=counter(1/1,1)
auto=choice name(Search Library) may moveto(myhand) target(Basri^ Devoted Paladin|myLibrary) && shuffle
auto=choice name(Search Graveyard) may moveto(myhand) target(Basri^ Devoted Paladin|myGraveyard)
text=Put a +1/+1 counter on each of up to two target creatures. You may search your library and/or graveyard for a card named Basri, Devoted Paladin, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Basri's Lieutenant
abilities=vigilance
auto=protection from(*[multicolor])
auto=counter(1/1,1) target(creature|myBattlefield)
auto=_DIES_this(counter{1/1.1}>=1) token(Knight Bas)
auto=@movedTo(other creature[counter{1/1}]|myGraveyard) from(mybattlefield):token(Knight Bas)
text=Vigilance, protection from multicolored -- When Basri's Lieutenant enters the battlefield, put a +1/+1 counter on target creature you control. -- Whenever Basri's Lieutenant or another creature you control dies, if it had a +1/+1 counter on it, create a 2/2 white Knight creature token with vigilance.
mana={3}{W}
type=Creature
subtype=Human Knight
power=3
toughness=4
[/card]
[card]
name=Basri's Solidarity
auto=all(creature|mybattlefield) counter(1/1,1)
text=Put a +1/+1 counter on each creature you control.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Bastion Protector
auto=lord(creature[iscommander]|mybattlefield) 2/2
auto=lord(*[iscommander]) indestructible
text=Commander creatures you control get +2/+2 and have indestructible.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Bastion of Remembrance
auto=token(Human Soldier Bas)
auto=@movedto(creature|myGraveyard) from(myBattlefield):life:-1 opponent && life:1 controller
text=When Bastion of Remembrance enters the battlefield, create a 1/1 white Human Soldier creature token. -- Whenever a creature you control dies, each opponent loses 1 life and you gain 1 life.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Bat Whisperer
auto=if compare(oplifelost)~morethan~0 then token(Bat,Creature Bat,1/1,flying,black)
text=When Bat Whisperer enters the battlefield, if an opponent lost life this turn, create a 1/1 black Bat creature token with flying.
mana={3}{B}
type=Creature
subtype=Vampire
power=4
toughness=2
[/card]
[card]
name=Battalion Foot Soldier
auto=may moveto(myhand) target(<anyamount>Battalion Foot Soldier|mylibrary)
text=When Battalion Foot Soldier enters the battlefield, you may search your library for any number of cards named Battalion Foot Soldier, reveal them, put them into your hand, then shuffle your library.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Batterbone
auto={5}:equip
auto=teach(creature) 1/1
auto=teach(creature) vigilance
auto=livingweapontoken(Phyrexian Germ,Creature Phyrexian Germ,0/0,black)
text=Living weapon (When this Equipment enters the battlefield, create a 0/0 black Phyrexian Germ creature token, then attach this to it.) -- Equipped creature gets +1/+1 and has vigilance and lifelink. -- Equip {5}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Battershield Warrior
abilities=boast
auto={1}{W} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && all(creature|mybattlefield) transforms((,newability[1/1])) ueot limit:hasabilitytwoboastplus1plusend
auto={W} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && all(creature|mybattlefield) transforms((,newability[1/1])) ueot limit:hasabilitytwoboastplus1plusend
text=Boast-{1}{W}: Creatures you control get +1/+1 until end of turn. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={2}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Battle Cry Goblin
auto={1}{R}:name(Goblins get 1/0 and haste) all(goblin|mybattlefield) transforms((,newability[1/0],newability[haste])) ueot
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:name(Create goblin) token(Goblin,Creature Goblin,1/1,red,battleready)
text={1}{R}: Goblins you control get +1/+0 and gain haste until end of turn. -- Pack tactics - Whenever Battle Cry Goblin attacks, if you attacked with creatures with total power 6 or greater this combat, create a 1/1 red Goblin creature token that's tapped and attacking.
mana={1}{R}
type=Creature
subtype=Goblin
power=2
toughness=2
[/card]
[card]
name=Battle Mammoth
abilities=foretell,trample
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={2}{G}{G} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=@targeted(*|mybattlefield) from(*|opponentzones):may name(Draw a card) draw:1 controller
text=Trample -- Whenever a permanent you control becomes the target of a spell or ability an opponent controls, you may draw a card. -- Foretell {2}{G}{G} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{G}{G}
type=Creature
subtype=Elephant
power=6
toughness=5
[/card]
[card]
name=Battle Plan
aicode=activate target(land[basic]|mylibrary) moveto(myhand)
autohand={1}{R}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=@each my combatbegins:name(Creature gets 2/0) target(creature) 2/0 ueot
text=At the beginning of combat on your turn, target creature you control gets +2/+0 until end of turn. -- Basic landcycling {1}{R} ({1}{R}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.)
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Battle at the Bridge
target=creature
other={improvise} name(Improvise)
auto=life:X controller
auto=-X/-X ueot
text=Improvise (Your artifacts can help cast this spell. Each artifact you tap after you're done activating mana abilities pays for {1}.) -- Target creature gets -X/-X until end of turn. You gain X life.
mana={X}{B}
type=Sorcery
[/card]
[card]
name=Battle for Bretagard
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=token(Warrior,Creature Human Warrior,1/1,white)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) token(Warrior,Creature Elf Warrior,1/1,green)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Create copies of artifact tokens) target(<anyamount>*artifact[-creature;token]|mybattlefield) clone
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) ability$!name(Create copies of creature tokens) name(Create copies of creature tokens) target(<anyamount>*creature[token]|mybattlefield) clone!$ controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Create a 1/1 white Human Warrior creature token. -- II - Create a 1/1 green Elf Warrior creature token. -- III - Choose any number of artifact tokens and/or creature tokens you control with different names. For each of them, create a token that's a copy of it.
mana={1}{G}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Battle of Frost and Fire
auto=counter(0/0,1,Lore)
aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@each my firstmain:counter(0/0,1,Lore)
auto=all(creature[-giant]|battlefield) damage:3
auto=all(planeswalker|battlefield) damage:3
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) scry:3 scrycore delayed dontshow donothing scrycoreend scryend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) emblem transforms((,newability[@movedTo(*[manacost>=5]|mystack):name(Draw and discard) draw:2 && transforms((,newability[target(*|myhand) reject])) forever])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Battle of Frost and Fire deals 4 damage to each non-Giant creature and each planeswalker. -- II - Scry 3. -- III - Whenever you cast a spell with converted mana cost 5 or greater this turn, draw two cards, then discard a card.
mana={3}{U}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Battlefield Promotion
target=creature
auto=counter(1/1)
auto=first strike
auto=life:2 controller
text=Put a +1/+1 counter on target creature. That creature gains first strike until end of turn. You gain 2 life.
mana={1}{W}
type=Instant
[/card]
[card]
name=Battlefield Raptor
abilities=flying,first strike
text=Flying, first strike
mana={W}
type=Creature
subtype=Bird
power=1
toughness=2
[/card]
[card]
name=Battlefield Scavenger
auto=@exerted(creature|myBattlefield):may reject notatarget(*|myhand) and!( draw:1 controller )!
auto=_ATTACKING_may exert
text=You may exert Battlefield Scavenger as it attacks. (It won't untap during your next untap step.) -- Whenever you exert a creature, you may discard a card. If you do, draw a card.
mana={1}{R}
type=Creature
subtype=Jackal Rogue
power=2
toughness=2
[/card]
[card]
name=Battlefield Scrounger
auto={0}{restriction type(*|mygraveyard)~morethan~6}:bottomoflibrary target(<3>*|mygraveyard) && 3/3 ueot limit:1
text=Threshold - Put three cards from your graveyard on the bottom of your library: Battlefield Scrounger gets +3/+3 until end of turn. Activate this ability only once each turn, and only if seven or more cards are in your graveyard.
mana={3}{G}{G}
type=Creature
subtype=Centaur
power=3
toughness=3
[/card]
[card]
name=Battlefield Thaumaturge
auto=lord(instant,sorcery|myhand) altercost(colorless,-1)
auto=_HEROIC_opponentshroud ueot
text=Each instant and sorcery spell you cast costs {1} less to cast for each creature it targets. -- Heroic - Whenever you cast a spell that targets Battlefield Thaumaturge, Battlefield Thaumaturge gains hexproof until end of turn.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Battletide Alchemist
auto=@damaged(player) from(*|opponentbattlefield,opponentstack,opponenthand,opponentgraveyard,opponentlibrary,opponentexile]):may foreach(cleric|mybattlefield) prevent:1 controller
auto=@damaged(player) from(*|mybattlefield,mystack,myhand,mygraveyard,mylibrary,myexile]):may foreach(cleric|mybattlefield) prevent:1 opponent
text=If a source would deal damage to a player, you may prevent X of that damage, where X is the number of Clerics you control.
mana={3}{W}{W}
type=Creature
subtype=Kithkin Cleric
power=3
toughness=4
[/card]
[card]
name=Bayou Groff
other={4}{G} name(Pay 3)
restriction=type(creature|mybattlefield)~morethan~0
text=As an additional cost to cast this spell, sacrifice a creature or pay 3 .
mana={1}{G}{S(creature|mybattlefield)}
type=Creature
subtype=Plant Dog
power=5
toughness=4
[/card]
[card]
name=Bazaar Trademage
abilities=flying
auto=draw:2 && transforms((,newability[target(<3>*|myhand) reject])) forever
text=Flying -- When Bazaar Trademage enters the battlefield, draw two cards, then discard three cards.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=4
[/card]
[card]
name=Beacon Bolt
target=creature
auto=damage:pginstantsorcery
auto=foreach(*[instant;sorcery]|myexile) damage:1
flashback={1}{U}{R}{D(*|myhand)}
text=Beacon Bolt deals damage to target creature equal to the total number of instant and sorcery cards you own in exile and in your graveyard. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={1}{U}{R}
type=Sorcery
[/card]
[card]
name=Beaming Defiance
target=creature|mybattlefield
auto=transforms((,newability[2/2],newability[opponentshroud])) ueot
text=Target creature you control gets +2/+2 and gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Beamsplitter Mage
auto=@targeted(this) from(*[instant;sorcery]|mycastingzone):all(trigger[from]) castcard(copied noevent)
text=Whenever you cast an instant or sorcery spell that targets only Beamsplitter Mage, if you control one or more other creatures that spell could target, choose one of those creatures. Copy that spell. The copy targets the chosen creature.
mana={U}{R}
type=Creature
subtype=Vedalken Wizard
power=2
toughness=2
[/card]
[card]
name=Beanstalk Giant // Fertile Footsteps
abilities=adventure
other={2}{G} name(Adventure)
anyzone=type:land:myBattlefield/type:land:myBattlefield cdaactive
auto=if paid(alternative) then name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Beanstalk Giant's power and toughness are each equal to the number of lands you control. // Search your library for a basic land card, put it onto the battlefield, then shuffle your library. (Then exile this card. You may cast the creature later from exile.)
mana={6}{G}
type=Creature
subtype=Giant
power=*
toughness=*
[/card]
[card]
name=Bearded Axe
auto={2}:equip
auto=teach(creature) type:*[dwarf;equipment;vehicle]:mybattlefield/type:*[dwarf;equipment;vehicle]:mybattlefield nonstatic
text=Equipped creature gets +1/+1 for each Dwarf, Equipment, and/or Vehicle you control. -- Equip {2}
mana={2}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Bearer of Overwhelming Truths
backside=Daring Sleuth
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=@combatdamagefoeof(player) from(this):name(Create clue) token(Clue) controller
auto=@combatdamageof(player) from(this):name(Create clue) token(Clue) controller
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- Whenever Bearer of Overwhelming Truths deals combat damage to a player, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") // Daring Sleuth
type=Creature
subtype=Human Wizard
power=3
toughness=2
color=blue
[/card]
[card]
name=Bearer of Silence
abilities=flying,cantblock
autostack=if casted(this) then pay({1}{c}) ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ opponent
text=Devoid (This card has no color.) -- When you cast Bearer of Silence, you may pay {1}{C}. If you do, target opponent sacrifices a creature. ({C} represents colorless mana.) -- Flying -- Bearer of Silence can't block.
mana={1}{B}
abilities=devoid
type=Creature
subtype=Eldrazi
power=2
toughness=1
[/card]
[card]
name=Beast Cur
type=Creature
subtype=Beast
power=3
toughness=3
color=green
[/card]
[card]
name=Beast Eld
type=Creature
subtype=Beast
power=3
toughness=3
color=green
[/card]
[card]
name=Beast Gar
type=Creature
subtype=Beast
power=3
toughness=3
color=green
[/card]
[card]
name=Beast Hun
type=Creature
subtype=Beast
power=4
toughness=4
color=green
[/card]
[card]
name=Beast Saw
type=Creature
subtype=Beast
power=3
toughness=3
color=green
[/card]
[card]
name=Beast Tru
type=Creature
subttype=Beast
power=3
toughness=3
color=green
[/card]
[card]
name=Beast Viv
auto=this(counter{0/0.1.Vigilance}>=1) vigilance
auto=this(counter{0/0.1.Reach}>=1) reach
auto=this(counter{0/0.1.Trample}>=1) trample
auto=choice name(Vigilance counter) counter(0/0,1,Vigilance)
auto=choice name(Reach counter) counter(0/0,1,Reach)
auto=choice name(Trample counter) counter(0/0,1,Trample)
type=Creature
subttype=Beast
power=3
toughness=3
color=green
[/card]
[card]
name=Beast Whisperer
auto=@movedTo(creature|mystack):draw:1
text=Whenever you cast a creature spell, draw a card.
mana={2}{G}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=3
[/card]
[card]
name=Beast Wit
type=Creature
subtype=Beast
power=3
toughness=3
color=green
[/card]
[card]
name=Beast in Show
abilities=trample
text=Trample
mana={4}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=4
[/card]
[card]
name=Beastcaller Savant
abilities=haste
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{B}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{U}
text=Haste -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell.
mana={1}{G}
type=Creature
subtype=Elf Shaman Ally
power=1
toughness=1
[/card]
[card]
name=Beck // Call
abilities=hasnokicker
other={4}{W}{U} name(Call)
kicker={4}{W}{U} name(Fuse)
auto=if paid(alternative) then token(Bird,Creature Bird,1/1,white,flying)*4
auto=if paid(kicker) then ability$!name(Create 4 birds) name(Create 4 birds) token(Bird,Creature Bird,1/1,white,flying)*4!$ controller
auto=ifnot paid(alternative) then emblem transforms((,newability[@movedto(creature|battlefield):may name(Draw 1 card) draw:1 controller])) ueot
text=Whenever a creature enters the battlefield this turn, you may draw a card. // Put four 1/1 white Bird creature tokens with flying onto the battlefield. -- -- Fuse (You may cast one or both halves of this card from your hand.)
mana={G}{U}
type=Sorcery
[/card]
[card]
name=Bedeck // Bedazzle
other={4}{B}{R} name(Bedazzle)
auto=ifnot paid(alternative) then target(creature|battlefield) 3/-3 ueot
auto=ifnot paid(alternative) then target(land[-basic]|battlefield) destroy && ability$!name(Choose one) choice name(Damage opponent) damage:2 opponent _ choice name(Damage planeswalker) damage:2 target(planeswalker)!$ controller
text=Target creature gets +3/-3 until end of turn. // Destroy target nonbasic land. Bedazzle deals 2 damage to target opponent or planeswalker.
mana={BR}{BR}
type=Instant
[/card]
[card]
name=Bedevil
target=artifact,creature,planeswalker
auto=destroy
text=Destroy target artifact, creature, or planeswalker.
mana={B}{B}{R}
type=Instant
[/card]
[card]
name=Befuddle
target=creature
auto=-4/-0 
auto=draw:1
text=Target creature gets -4/-0 until end of turn. -- Draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Behold the Multiverse
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{U} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
aicode=activate transforms((,newability[draw:2 controller])) oneshot
auto=scry:2 scrycore delayed draw:2 controller scrycoreend scryend
text=Scry 2, then draw two cards. -- Foretell {1}{U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{U}
type=Instant
[/card]
[card]
name=Belbe, Corrupted Observer
text=At the beginning of each player's postcombat main phase, that player adds {C}{C} for each of your opponents who lost life this turn. (Damage causes loss of life.)
auto=@each my secondmain restriction{compare(oplifelost)~morethan~0}:add{C}{C}
auto=@each opponent secondmain restriction{compare(oplifelost)~morethan~0}:add{C}{C} opponent
mana={B}{G}
type=Legendary Creature
subtype=Zombie Elf
power=2
toughness=2
[/card]
[card]
name=Beledros Witherbloom
abilities=flying
auto=@each upkeep:name(Create Pest) token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
text=Flying -- At the beginning of each upkeep, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life." -- Pay 10 life: Untap all lands you control. Activate only once each turn.
mana={5}{B}{G}
type=Legendary Creature
subtype=Elder Dragon
power=4
toughness=4
[/card]
[card]
name=Belfry Spirit
abilities=flying
auto=name(Create Bats) token(Bat,Creature Bat,1/1,black,flying)*2
auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot
autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Create Bats) token(Bat^Creature Bat^1/1^black^flying)*2]))
text=Flying -- Haunt (When this creature dies, exile it haunting target creature.) -- When Belfry Spirit enters the battlefield or the creature it haunts dies, put two 1/1 black Bat creature tokens with flying onto the battlefield.
mana={3}{W}{W}
type=Creature
subtype=Spirit
power=1
toughness=1
[/card]
[card]
name=Belle of the Brawl
abilities=menace
auto=_ATTACKING_lord(other creature[knight]|myBattlefield) 1/0 ueot
text=Menace (This creature can't be blocked except by two or more creatures.) -- Whenever Belle of the Brawl attacks, other Knights you control get +1/+0 until end of turn.
mana={2}{B}
type=Creature
subtype=Human Knight
power=3
toughness=2
[/card]
[card]
name=Belligerent Brontodon
text=Each creature you control assigns combat damage equal to its toughness rather than its power.
mana={5}{G}{W}
type=Creature
subtype=Dinosaur
power=4
toughness=6
[/card]
[card]
name=Bellowing Aegisaur
auto=_ENRAGE_counter(1/1,1) all(other creature|mybattlefield)
text=Enrage - Whenever Bellowing Aegisaur is dealt damage, put a +1/+1 counter on each other creature you control.
mana={5}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=5
[/card]
[card]
name=Bellowing Elk
auto=if thisturn(creature|mybattlefield)~morethan~1 then transforms((,newability[trample],newability[indestructible])) ueot
auto=@movedTo(other creature|myBattlefield):transforms((,newability[trample],newability[indestructible])) ueot
text=As long as you had another creature enter the battlefield under your control this turn, Bellowing Elk has trample and indestructible.
mana={3}{G}
type=Creature
subtype=Elk
power=4
toughness=2
[/card]
[card]
name=Beloved Beggar
backside=Generous Soul
abilities=hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={4}{W}{W} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
text=Disturb {4}{W}{W} (You may cast this card from your graveyard transformed for its disturb cost.) // Generous Soul
mana={1}{W}
type=Creature
subtype=Human Peasant
power=0
toughness=4
[/card]
[card]
name=Beloved Princess
abilities=lifelink
auto=cantbeblockedby(creature[power>=3])
text=Lifelink -- Beloved Princess can't be blocked by creatures with power 3 or greater.
mana={W}
type=Creature
subtype=Human Noble
power=1
toughness=1
[/card]
[card]
name=Belt of Giant Strength
auto={9999}:equip
auto={0}:name(equip creature with power 10 or more) rehook target(creature[power>=10]|mybattlefield)
auto={1}:name(equip creature with power 9) rehook target(creature[power=9]|mybattlefield)
auto={2}:name(equip creature with power 8) rehook target(creature[power=8]|mybattlefield)
auto={3}:name(equip creature with power 7) rehook target(creature[power=7]|mybattlefield)
auto={4}:name(equip creature with power 6) rehook target(creature[power=6]|mybattlefield)
auto={5}:name(equip creature with power 5) rehook target(creature[power=5]|mybattlefield)
auto={6}:name(equip creature with power 4) rehook target(creature[power=4]|mybattlefield)
auto={7}:name(equip creature with power 3) rehook target(creature[power=3]|mybattlefield)
auto={8}:name(equip creature with power 2) rehook target(creature[power=2]|mybattlefield)
auto={9}:name(equip creature with power 1) rehook target(creature[power=1]|mybattlefield)
auto={10}:name(equip creature with power 0) rehook target(creature[power=0]|mybattlefield)
auto=teach(creature) transforms((,setpower=10,settoughness=10))
text=Equipped creature has base power and toughness 10/10. -- Equip {10}. This ability costs {X} less to activate where X is the power of the creature it targets.
mana={1}{G}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Benalish Honor Guard
auto=foreach(creature[legendary]|myBattlefield) 1/0
text=Benalish Honor Guard gets +1/+0 for each legendary creature you control.
mana={1}{W}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Benalish Marshal
auto=lord(other creature|myBattlefield) +1/+1
text=Other creatures you control get +1/+1.
mana={W}{W}{W}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Benalish Missionary
auto={1}{W}{T}:name(prevent all combat damage from target creature) donothing target(creature[blocked]) && fog from(mytgt)fog from(mytgt) oneshot
text={1}{W}, {T}: Prevent all combat damage that would be dealt by target blocked creature this turn.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Benalish Partisan
abilities=lifelink,cycling
autohand=__CYCLING__({2})
autograveyard=@cycled(*|myHand):name(Pay and return) pay({1}{W}) name(Pay and return) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[counter(1/0.1.PerpetualPT)])) forever
text=Lifelink -- Whenever you cycle another card, you may pay {1}{W}. If you do, return Benalish Partisan from your graveyard to the battlefield tapped and it perpetually gets +1/+0. -- Cycling {1}{W}
mana={1}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=2
[/card]
[card]
name=Beneath the Sands
abilities=cycling
auto=moveto(mybattlefield) target(land[basic]|mylibrary) and!(tap(noevent))!
autohand=__CYCLING__({2})
text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Benediction of Moons
auto=name(Gain 2 life) life:2 controller
auto=if type(creature|mybattlefield)~morethan~0 then name(Exile and haunt a creature) all(this|mystack) moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt and!( counter(0/0.1.MoonsHaunted) )!],newability[@movedto(creature[isprey&counter{0/0.1.MoonsHaunted}]|graveyard) from(battlefield) once:name(Gain 2 life) life:2 controller])) forever )!
text=You gain 1 life for each player. -- Haunt (When this spell card is put into a graveyard after resolving, exile it haunting target creature.) -- When the creature Benediction of Moons haunts dies, you gain 1 life for each player.
mana={W}
type=Sorcery
[/card]
[card]
name=Benefaction of Rhonas
aicode=activate transforms((,newability[if type(*[creature;enchantment;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(mygraveyard) else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[creature;enchantment;zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(mygraveyard) )!])) oneshot])) oneshot
auto=if type(creature[zpos<=5]|mylibrary)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose creature) target(creature|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Choose enchantment) target(enchantment|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot && all(*|reveal) moveto(mygraveyard) )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[if cantargetcard(*[creature]|*) then choice name(Put creature in hand) name(Put creature in hand) moveto(myhand)],newability[if cantargetcard(*[creature]|*) then choice name(Put creature in graveyard) name(Put creature in graveyard) donothing],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in hand) name(Put enchantment in hand) moveto(myhand)],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in graveyard) name(Put enchantment in graveyard) moveto(mygraveyard)])) oneshot afterrevealedend revealend
auto=if type(creature[zpos<=5]|mylibrary)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose creature) target(<upto:1>creature|reveal) moveto(myhand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto=if type(creature[zpos<=5]|mylibrary)~equalto~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose enchantment) target(<upto:1>enchantment|reveal) moveto(myhand) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto=if type(creature[zpos<=5]|mylibrary)~equalto~0 then if type(enchantment[zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(Put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Reveal the top five cards of your library. You may put a creature card and/or an enchantment card from among them into your hand. Put the rest into your graveyard.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Benevolent Blessing
abilities=auraward,flash
target=creature
auto=chooseacolor teach(creature) protection from(*[chosencolor]) chooseend
text=Flash -- Enchant creature -- As Benevolent Blessing enters the battlefield, choose a color. -- Enchanted creature has protection from the chosen color. This effect doesn't remove Auras and Equipment you control that are already attached to it.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Benevolent Geist
backside=Malevolent Hermit
abilities=flying,exiledeath
auto=lord(*[-creature]|mystack) nofizzle
text=Flying -- Noncreature spells you control can't be countered. -- If Benevolent Geist would be put into a graveyard from anywhere, exile it instead. // Malevolent Hermit
type=Creature
subtype=Spirit Wizard
color=blue
power=2
toughness=2
[/card]
[card]
name=Benthic Biomancer
auto={1}{U}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.1)])) forever
auto=@counteradded(1/1) from(this):draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text={1}{U}: Adapt 1. (If this creature has no +1/+1 counters on it, put a +1/+1 counter on it.) -- Whenever one or more +1/+1 counters are put on Benthic Biomancer, draw a card, then discard a card.
mana={U}
type=Creature
subtype=Merfolk Wizard Mutant
power=1
toughness=1
[/card]
[card]
name=Benthic Explorers
auto=this(variable{olandg}>0) {Q(land[manag]|opponentbattlefield)}{T}:Add{G}
auto=this(variable{olandu}>0) {Q(land[manau]|opponentbattlefield)}{T}:Add{U}
auto=this(variable{olandr}>0) {Q(land[manar]|opponentbattlefield)}{T}:Add{R}
auto=this(variable{olandb}>0) {Q(land[manab]|opponentbattlefield)}{T}:Add{B}
auto=this(variable{olandw}>0) {Q(land[manaw]|opponentbattlefield)}{T}:Add{W}
auto=this(variable{olandc}>0) {Q(land[cmana]|opponentbattlefield)}{T}:Add{C}
text={T}, Untap a tapped land an opponent controls: Add one mana of any type that land could produce to your mana pool.
mana={3}{U}
type=Creature
subtype=Merfolk Scout
power=2
toughness=4
[/card]
[card]
name=Bereaved Survivor
backside=Dauntless Avenger
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@movedTo(other creature|graveyard) from(myBattlefield):name(Transform Dauntless Avenger) flip(backside)
text=When another creature you control dies, transform Bereaved Survivor. // Dauntless Avenger
mana={2}{W}
type=Creature
subtype=Human Pesant
power=2
toughness=1
[/card]
[card]
name=Berg Strider
restriction=compare(mysnowpoolcount)~equalto~0
autohand={4}{i} restriction{compare(mysnowbluepoolcount)~morethan~0}:name(Cast with snow mana) name(Cast with snow mana) activate castcard(alternative)
autohand={3}{i}{U} restriction{compare(mysnowpoolcount)~morethan~0,compare(mysnowbluepoolcount)~equalto~0}:name(Cast with snow mana) name(Cast with snow mana) activate castcard(alternative)
auto=if paid(alternative) then target(*[artifact;creature]|opponentbattlefield) freeze
auto=ifnot paid(alternative) then target(*[artifact;creature]|opponentbattlefield) tap(noevent)
text=When Berg Strider enters the battlefield, tap target artifact or creature an opponent controls. If {S}i} was spent to cast this spell, that permanent doesn't untap during its controller's next untap step. ({S}i} is mana from a snow source.)
mana={4}{U}
type=Snow Creature
subtype=Giant Wizard
power=4
toughness=4
[/card]
[card]
name=Berserker's Frenzy
restriction=compare(currentphase)~lessthan~8
auto=all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:name(Choose blocker creatures) target(<anyamount>creature|battlefield) transforms((,newability[mustblock])) ueot],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot
auto=name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end
text=Cast this spell only before combat or during combat before blockers are declared. -- Roll two d20 and ignore the lower roll. -- 1-14 | Choose any number of creatures. They block this turn if able. -- 15-20 | You choose which creatures block this turn and how those creatures block.
mana={2}{R}
type=Instant
[/card]
[card]
name=Beskir Shieldmate
auto=_DIES_token(Warrior,Creature Human Warrior,1/1,white)
text=When Beskir Shieldmate dies, create a 1/1 white Human Warrior creature token.
mana={1}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=1
[/card]
[card]
name=Besmirch
target=creature
auto=moveto(mybattlefield) and!( transforms((,newability[phaseaction[endofturn once sourceinplay] moveTo(ownerBattlefield)],newability[untap],newability[haste ueot],newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[phaseaction[endofturn next once sourceinplay] removeallcounters(0/0.-1.Goaded)])) forever )!
text=Until end of turn, gain control of target creature and it gains haste. Untap and goad that creature. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Betrayal of Flesh
target=creature
other={S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)} name(Entwine)
auto=if paid(alternative) then destroy && moveTo(myBattlefield) target(creature|mygraveyard)
auto=ifnot paid(alternative) then transforms((,newability[choice name(Destroy) destroy],newability[choice name(Return) moveTo(myBattlefield) target(creature|mygraveyard)]))
text=Choose one  Destroy target creature; or return target creature card from your graveyard to the battlefield. -- Entwine'sacrifice three lands. (Choose both if you pay the entwine cost.)
mana={5}{B}
type=Instant
[/card]
[card]
name=Beyeen Coast
auto=tap(noevent)
auto={T}:add{U}
text=Beyeen Coast enters the battlefield tapped. -- {T}: Add {U}. // {1}{U} Beyeen Veil
type=Land
[/card]
[card]
name=Beyeen Veil
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Beyeen Coast)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Beyeen Coast) name(Beyeen Coast) flip(Beyeen Coast) forcetype(land)
auto=all(creature|opponentBattlefield) -2/0 ueot
text=Creatures your opponents control get -2/-0 until end of turn. // Beyeen Coast
mana={1}{U}
type=Instant
[/card]
[card]
name=Biblioplex Assistant
abilities=flying
auto=may name(Return instant or sorcery) target(*instant;sorcery]|mygraveyard) moveto(mylibrary)
text=Flying -- When Biblioplex Assistant enters the battlefield, put up to one target instant or sorcery card from your graveyard on top of your library.
mana={4}
type=Artifact Creature
subtype=Gargoyle
power=2
toughness=1
[/card]
[card]
name=Big Boa Constrictor
auto=rolld6 6 winability life:-lastrollresult opponent winabilityend loseability life:-lastrollresult opponent loseabilityend rolld6end
text=When this creature enters the battlefield, roll a six-sided die. Target opponent loses life equal to the result.
mana={3}{B}
type=Host Creature
subtype=Snake
power=1
toughness=2
[/card]
[card]
name=Big Play
target=creature
auto=transforms((,newability[2/2],newability[reach],newability[counter(1/1)])) ueot
text=Target creature gets +2/+2 and gains reach until end of turn. Put a +1/+1 counter on it.
mana={1}{G}
type=Instant
[/card]
[card]
name=Bind the Monster
target=creature
auto=tap(noevent)
auto=doesnotuntap
auto=damage:p controller
text=Enchant creature -- When Bind the Monster enters the battlefield, tap enchanted creature. It deals damage to you equal to its power. -- Enchanted creature doesn't untap during its controller's untap step.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Binding Mummy
auto=@movedto(other zombie|mybattlefield):may tap target(artifact,creature)
text=Whenever another Zombie enters the battlefield under your control, you may tap target artifact or creature.
mana={1}{W}
type=Creature
subtype=Zombie
power=2
toughness=2
[/card]
[card]
name=Binding the Old Gods
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=name(Destroy non-land permanent) target(*[-land]|opponentbattlefield) destroy
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Search forest) target(forest|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle])) oneshot )!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature|mybattlefield) transforms((,newability[deathtouch])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Destroy target nonland permanent an opponent controls. -- II - Search your library for a Forest card, put it onto the battlefield tapped, then shuffle your library. -- III - Creatures you control gain deathtouch until end of turn.
mana={2}{B}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Bioessence Hydra
abilities=trample
auto=foreach(counter(0/0,1,loyalty)|myBattlefield) counter(1/1)
auto=@counteradded(0/0,1,loyalty) from(planeswalker|myBattlefield):counter(1/1)
text=Trample -- Bioessence Hydra enters the battlefield with a +1/+1 counter on it for each loyalty counter on planeswalkers you control. -- Whenever one or more loyalty counters are put on planeswalkers you control, put that many +1/+1 counters on Bioessence Hydra.
mana={3}{G}{U}
type=Creature
subtype=Hydra Mutant
power=4
toughness=4
[/card]
[card]
name=Biogenic Ooze
auto=create(Ooze:creature Ooze:2/2:green:)
auto={1}{G}{G}{G}:create(Ooze:creature Ooze:2/2:green:)
auto=@each my endofturn:all(Ooze|mybattlefield) counter(1/1)
text=When Biogenic Ooze enters the battlefield, create a 2/2 green Ooze creature token. -- At the beginning of your end step, put a +1/+1 counter on each Ooze you control. -- {1}{G}{G}{G}: Create a 2/2 green Ooze creature token.
mana={3}{G}{G}
type=Creature
subtype=Ooze
power=2
toughness=2
[/card]
[card]
name=Biogenic Upgrade
target=creature
restriction=type(creature|battlefield)~morethan~0
auto=transforms((,newability[counter(1/1.1)],newability[thisforeach(counter{1/1.1}) counter(1/1.1) all(this)])) oneshot 
auto=choice name(Give other 2 counters to same creature) name(Give other 2 counters to same creature) counter(1/1,4)
auto=if type(creature|battlefield)~morethan~1 then choice name(Give 2 counters to another creature) name(Give 2 counters to another creature) target(other creature) transforms((,newability[counter(1/1.2)],newability[thisforeach(counter{1/1.1}) counter(1/1.1) all(this)])) oneshot
auto=if type(creature|battlefield)~morethan~2 then choice name(Give 1 counter to other 2 creatures) name(Give 1 counter to other 2 creatures) target(<2>other creature) transforms((,newability[counter(1/1.1)],newability[thisforeach(counter{1/1.1}) counter(1/1.1) all(this)])) oneshot 
text=Distribute three +1/+1 counters among one, two, or three target creatures, then double the number of +1/+1 counters on each of those creatures.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Biomathematician
auto=all(fractal|mybattlefield) counter(1/1)
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1) )!
text=When Biomathematician enters the battlefield, create a 0/0 green and blue Fractal creature token. Put a +1/+1 counter on each Fractal you control.
mana={1}{G}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Bioshift
auto=target(creature[counter{1/1}|battlefield) transforms((,newability[thisforeach(counter{1/1.1}) may name(Move 1/1 counter) counter(1/1.-1) all(this) && counter(1/1) target(other creature|mybattlefield)])) oneshot
text=Move any number of +1/+1 counters from target creature onto another target creature with the same controller.
mana={GU}
type=Instant
[/card]
[card]
name=Biowaste Blob
auto=lord(*[ooze]|mybattlefield) 1/1
auto=@each my upkeep restriction{type(*[iscommander]|myBattlefield)~morethan~0}:clone all(this)
text=Oozes you control get +1/+1. -- At the beginning of your upkeep, if you control a commander, create a token that's a copy of Biowaste Blob.
mana={2}{G}{G}
type=Creature
subtype=Ooze
power=0
toughness=0
[/card]
[card]
name=Bird Admirer
abilities=reach,daybound
backside=Wing Shredder
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
text=Reach -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Wing Shredder
mana={2}{G}
type=Creature
subtype=Human Archer Werewolf
power=1
toughness=4
[/card]
[card]
name=Bird Fal
abilities=flying
type=Creature
subtype=Bird
power=1
toughness=1
color=white
[/card]
[card]
name=Bird Mig
abilities=flying
type=Creature
subtype=Bird
power=1
toughness=1
color=white
[/card]
[card]
name=Birgi, God of Storytelling
other={4}{R} name(Harnfel, Horn of Bounty)
otherrestriction=can play artifact,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Harnfel, Horn of Bounty)
autostack=if paid(alternative) then flip(Harnfel, Horn of Bounty) forcetype(Legendary Artifact)
auto=@movedto(*|mystack) restriction{compare(isflipped)~equalto~0}:add{R} doesntempty
auto=this(variable{isflipped}<1) lord(creature[boast]|mybattlefield) twoboast
text=Whenever you cast a spell, add {R}. Until end of turn, you don't lose this mana as steps and phases end. -- Creatures you control can boast twice during each of your turns rather than once. // {4}{R} Harnfel, Horn of Bounty
mana={2}{R}
type=Legendary Creature
subtype=God
power=3
toughness=3
[/card]
[card]
name=Birthing Boughs
auto={4}{T}:token(Shapeshifter,artifact creature Shapeshifter,2/2,changeling)
text={4}, {T}: Create a 2/2 colorless Shapeshifter creature token with changeling. (It has every creature type.)
mana={3}
type=Artifact
[/card]
[card]
name=Bishop of Binding
auto=if type(creature[power=0]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 0) name(Exile creature with power 0) transforms((,newability[(blink)forsrc target(creature[power=0]|opponentbattlefield)])) forever
auto=if type(creature[power=1]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 1) name(Exile creature with power 1) transforms((,newability[(blink)forsrc target(creature[power=1]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 1/1) name(target vampire gets 1/1) target(vampire|battlefield) 1/1 ueot])) forever
auto=if type(creature[power=2]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 2) name(Exile creature with power 2) transforms((,newability[(blink)forsrc target(creature[power=2]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 2/2) name(target vampire gets 2/2) target(vampire|battlefield) 2/2 ueot])) forever
auto=if type(creature[power=3]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 3) name(Exile creature with power 3) transforms((,newability[(blink)forsrc target(creature[power=3]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 3/3) name(target vampire gets 3/3) target(vampire|battlefield) 3/3 ueot])) forever
auto=if type(creature[power=4]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 4) name(Exile creature with power 4) transforms((,newability[(blink)forsrc target(creature[power=4]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 4/4) name(target vampire gets 4/4) target(vampire|battlefield) 4/4 ueot])) forever
auto=if type(creature[power=5]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 5) name(Exile creature with power 5) transforms((,newability[(blink)forsrc target(creature[power=5]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 5/5) name(target vampire gets 5/5) target(vampire|battlefield) 5/5 ueot])) forever
auto=if type(creature[power=6]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 6) name(Exile creature with power 6) transforms((,newability[(blink)forsrc target(creature[power=6]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 6/6) name(target vampire gets 6/6) target(vampire|battlefield) 6/6 ueot])) forever
auto=if type(creature[power=7]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 7) name(Exile creature with power 7) transforms((,newability[(blink)forsrc target(creature[power=7]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 7/7) name(target vampire gets 7/7) target(vampire|battlefield) 7/7 ueot])) forever
auto=if type(creature[power=8]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 8) name(Exile creature with power 8) transforms((,newability[(blink)forsrc target(creature[power=8]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 8/8) name(target vampire gets 8/8) target(vampire|battlefield) 8/8 ueot])) forever
auto=if type(creature[power=9]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 9) name(Exile creature with power 9) transforms((,newability[(blink)forsrc target(creature[power=9]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 9/9) name(target vampire gets 9/9) target(vampire|battlefield) 9/9 ueot])) forever
auto=if type(creature[power=10]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 10) name(Exile creature with power 10) transforms((,newability[(blink)forsrc target(creature[power=10]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 10/10) name(target vampire gets 10/10) target(vampire|battlefield) 10/10 ueot])) forever
auto=if type(creature[power=11]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 11) name(Exile creature with power 11) transforms((,newability[(blink)forsrc target(creature[power=11]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 11/11) name(target vampire gets 11/11) target(vampire|battlefield) 11/11 ueot])) forever
auto=if type(creature[power=12]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 12) name(Exile creature with power 12) transforms((,newability[(blink)forsrc target(creature[power=12]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 12/12) name(target vampire gets 12/12) target(vampire|battlefield) 12/12 ueot])) forever
auto=if type(creature[power=13]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 13) name(Exile creature with power 13) transforms((,newability[(blink)forsrc target(creature[power=13]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 13/13) name(target vampire gets 13/13) target(vampire|battlefield) 13/13 ueot])) forever
auto=if type(creature[power=14]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 14) name(Exile creature with power 14) transforms((,newability[(blink)forsrc target(creature[power=14]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 14/14) name(target vampire gets 14/14) target(vampire|battlefield) 14/14 ueot])) forever
auto=if type(creature[power=15]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 15) name(Exile creature with power 15) transforms((,newability[(blink)forsrc target(creature[power=15]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 15/15) name(target vampire gets 15/15) target(vampire|battlefield) 15/15 ueot])) forever
auto=if type(creature[power=16]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 16) name(Exile creature with power 16) transforms((,newability[(blink)forsrc target(creature[power=16]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 16/16) name(target vampire gets 16/16) target(vampire|battlefield) 16/16 ueot])) forever
auto=if type(creature[power=17]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 17) name(Exile creature with power 17) transforms((,newability[(blink)forsrc target(creature[power=17]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 17/17) name(target vampire gets 17/17) target(vampire|battlefield) 17/17 ueot])) forever
auto=if type(creature[power=18]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 18) name(Exile creature with power 18) transforms((,newability[(blink)forsrc target(creature[power=18]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 18/18) name(target vampire gets 18/18) target(vampire|battlefield) 18/18 ueot])) forever
auto=if type(creature[power=19]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 19) name(Exile creature with power 19) transforms((,newability[(blink)forsrc target(creature[power=19]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 19/19) name(target vampire gets 19/19) target(vampire|battlefield) 19/19 ueot])) forever
auto=if type(creature[power>=20]|opponentbattlefield)~morethan~0 then choice name(Exile creature with power 20) name(Exile creature with power 20) transforms((,newability[(blink)forsrc target(creature[power>=20]|opponentbattlefield)],newability[_ATTACKING_name(target vampire gets 20/20) name(target vampire gets 20/20) target(vampire|battlefield) 20/20 ueot])) forever
text=When Bishop of Binding enters the battlefield, exile target creature an opponent controls until Bishop of Binding leaves the battlefield. -- Whenever Bishop of Binding attacks, target Vampire gets +X/+X until end of turn, where X is the power of the exiled card.
mana={3}{W}
type=Creature
subtype=Vampire Cleric
power=1
toughness=1
[/card]
[card]
name=Bishop of Rebirth
abilities=vigilance
auto=_ATTACKING_may moveto(mybattlefield) target(creature[manacost<=3]|mygraveyard)
text=Vigilance -- Whenever Bishop of Rebirth attacks, you may return target creature card with converted mana cost 3 or less from your graveyard to the battlefield.
mana={3}{W}{W}
type=Creature
subtype=Vampire Cleric
power=3
toughness=4
[/card]
[card]
name=Bishop of Wings
auto=life:4 controller
auto=@movedTo(creature[angel]|graveyard) from(mybattlefield):create(Spirit:creature Spirit:1/1:white:flying)
text=Whenever an Angel enters the battlefield under your control, you gain 4 life. -- Whenever an Angel you control dies, create a 1/1 white Spirit creature token with flying.
mana={W}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=4
[/card]
[card]
name=Bishop of the Bloodstained
auto=foreach(vampire|mybattlefield) life:-1 opponent
text=When Bishop of the Bloodstained enters the battlefield, target opponent loses 1 life for each Vampire you control.
mana={3}{B}{B}
type=Creature
subtype=Vampire Cleric
power=3
toughness=3
[/card]
[card]
name=Bishop's Soldier
abilities=lifelink
text=Lifelink
mana={1}{W}
type=Creature
subtype=Vampire Soldier
power=2
toughness=2
[/card]
[card]
name=Bitterblade Warrior
auto=@exerted(this):transforms((,newability[deathtouch],newability[1/0])) ueot
auto=_ATTACKING_may exert
text=You may exert Bitterblade Warrior as it attacks. When you do, it gets +1/+0 and gains deathtouch until end of turn. (An exerted creature won't untap during your next untap step.)
mana={1}{G}
type=Creature
subtype=Jackal Warrior
power=2
toughness=2
[/card]
[card]
name=Bitterbow Sharpshooters
abilities=vigilance, reach
text=Vigilance, reach
mana={4}{G}
type=Creature
subtype=Jackal Archer
power=4
toughness=4
[/card]
[card]
name=Black Dragon
abilities=flying
auto=name(Creature gets -3/-3) target(creature|opponentbattlefield) -3/-3 ueot
text=Flying -- Acid Breath - When Black Dragon enters the battlefield, target creature an opponent controls gets -3/-3 until end of turn.
mana={5}{B}{B}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Blackblade Reforged
auto=teach(creature) type:land:mybattlefield/type:land:mybattlefield nonstatic
auto={3}:equip target(creature[legendary]|mybattlefield)
auto={7}:equip
text=Equipped creature gets +1/+1 for each land you control. -- Equip legendary creature {3} -- Equip {7}
mana={2}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Blackbloom Bog
auto=tap(noevent)
auto={T}:add{B}
text=Blackbloom Bog enters the battlefield tapped. -- {T}: Add {B}. // {2}{B} Blackbloom Rogue
type=Land
[/card]
[card]
name=Blackbloom Rogue
abilities=menace
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Blackbloom Bog)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Blackbloom Bog) name(Blackbloom Bog) flip(Blackbloom Bog) forcetype(land)
auto=aslongas(*|opponentGraveyard) 3/0 >7
text=Menace (This creature can't be blocked except by two or more creatures.) -- Blackbloom Rogue gets +3/+0 as long as an opponent has eight or more cards in their graveyard. // Blackbloom Bog
mana={2}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=3
[/card]
[card]
name=Blacklance Paragon
abilities=flash
auto=target(creature[knight]|myBattlefield) transforms((,newability[deathtouch],newability[lifelink])) ueot
text=Flash -- When Blacklance Paragon enters the battlefield, target Knight gains deathtouch and lifelink until end of turn.
mana={1}{B}
type=Creature
subtype=Human Knight
power=3
toughness=1
[/card]
[card]
name=Blacksmith's Skill
target=*|battlefield
auto=transforms((,newability[opponentshroud],newability[indestructible])) ueot
auto=if cantargetcard(creature[artifact]|*) then 2/2 ueot
text=Target permanent gains hexproof and indestructible until end of turn. If it's an artifact creature, it gets +2/+2 until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Blade Banish
target=creature[power>=4]
auto=moveTo(exile)
text=Exile target creature with power 4 or greater.
mana={3}{W}
type=Instant
[/card]
[card]
name=Blade Historian
auto=lord(creature[attacking]|mybattlefield) double strike
text=Attacking creatures you control have double strike.
mana={RW}{RW}{RW}{RW}
type=Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Blade Instructor
abilities=mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
text=Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.)
mana={2}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=1
[/card]
[card]
name=Blade Juggler
auto=damage:1 controller
auto=draw:1
text=Spectacle {2}{B} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- When Blade Juggler enters the battlefield, it deals 1 damage to you and you draw a card.
other={2}{B} name(Spectacle)
otherrestriction=compare(oplifelost)~morethan~0
mana={4}{B}
type=Creature
subtype=Human Rogue
power=3
toughness=2
[/card]
[card]
name=Blade of Selves
auto={4}:equip
text=Equipped creature has myriad. (Whenever it attacks, for each opponent other than defending player, you may put a token that's a copy of that creature onto the battlefield tapped and attacking that player or a planeswalker he or she controls. Exile the tokens at end of combat.) -- Equip {4}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Bladeback Sliver
abilities=hellbent
auto=aslongas(*|myhand) lord(sliver|myBattlefield) {T}:damage:1 target(player,planeswalker) <1
text=Hellbent - As long as you have no cards in hand, Sliver creatures you control have " {T}: This creature deals 1 damage to target player or planeswalker."
mana={1}{R}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Bladebrand
target=creature
auto=deathtouch
auto=draw:1 controller
text=Target creature gains deathtouch until end of turn. -- Draw a card.
mana={1}{B}
type=Instant
[/card]
[card]
name=Bladegriff Prototype
abilities=flying
auto=@combatdamagefoeof(player) from(this):ability$!name(destroy) notatarget(*[-land]|mybattlefield) destroy!$ opponent
auto=@combatdamageof(player) from(this):ability$!name(destroy) notatarget(*[-land]|mybattlefield) destroy!$ controller
text=Flying -- Whenever Bladegriff Prototype deals combat damage to a player, destroy target nonland permanent of that player's choice that one of your opponents controls.
mana={5}
type=Artifact Creature
subtype=Griffin
power=3
toughness=2
[/card]
[card]
name=Bladestitched Skaab
auto=lord(other zombie|myBattlefield) 1/0
text=Other Zombies you control get +1/+0.
type=Creature
subtype=Zombie Soldier
mana={U}{B}
power=2
toughness=3
[/card]
[card]
name=Blaring Captain
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(blaring recruiter|mylibrary)
auto=_ATTACKING_all(warrior[attacking]) 1/1
text=Partner with Blaring Recruiter (When this creature enters the battlefield, target player may put Blaring Recruiter into their hand from their library, then shuffle.) -- Whenever Blaring Captain attacks, attacking Warriors get +1/+1 until end of turn.
mana={3}{B}
type=Creature
subtype=Azra Warrior
power=2
toughness=2
[/card]
[card]
name=Blaring Recruiter
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(blaring captain|mylibrary)
auto={2}{W}:create(warrior:creature warrior:1/1:white:)
text=Partner with Blaring Captain (When this creature enters the battlefield, target player may put Blaring Captain into their hand from their library, then shuffle.) -- {2}{W}: Create a 1/1 white Warrior creature token.
mana={3}{W}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Blast Zone
auto=counter(0/0,1,Charge)
auto={T}:Add{C}
auto={X}{X}{T}:counter(0/0,XX,Charge)
auto=this(counter{0/0.1.Charge}=0) {3}{T}{S}:name(Destroy all permanent with manacost 0) name(Destroy all permanent with manacost 0) destroy all(*[-land;manacost=0])
auto=this(counter{0/0.1.Charge}=1) {3}{T}{S}:name(Destroy all permanent with manacost 1) name(Destroy all permanent with manacost 1) destroy all(*[-land;manacost=1])
auto=this(counter{0/0.1.Charge}=2) {3}{T}{S}:name(Destroy all permanent with manacost 2) name(Destroy all permanent with manacost 2) destroy all(*[-land;manacost=2])
auto=this(counter{0/0.1.Charge}=3) {3}{T}{S}:name(Destroy all permanent with manacost 3) name(Destroy all permanent with manacost 3) destroy all(*[-land;manacost=3])
auto=this(counter{0/0.1.Charge}=4) {3}{T}{S}:name(Destroy all permanent with manacost 4) name(Destroy all permanent with manacost 4) destroy all(*[-land;manacost=4])
auto=this(counter{0/0.1.Charge}=5) {3}{T}{S}:name(Destroy all permanent with manacost 5) name(Destroy all permanent with manacost 5) destroy all(*[-land;manacost=5])
auto=this(counter{0/0.1.Charge}=6) {3}{T}{S}:name(Destroy all permanent with manacost 6) name(Destroy all permanent with manacost 6) destroy all(*[-land;manacost=6])
auto=this(counter{0/0.1.Charge}=7) {3}{T}{S}:name(Destroy all permanent with manacost 7) name(Destroy all permanent with manacost 7) destroy all(*[-land;manacost=7])
auto=this(counter{0/0.1.Charge}=8) {3}{T}{S}:name(Destroy all permanent with manacost 8) name(Destroy all permanent with manacost 8) destroy all(*[-land;manacost=8])
auto=this(counter{0/0.1.Charge}=9) {3}{T}{S}:name(Destroy all permanent with manacost 9) name(Destroy all permanent with manacost 9) destroy all(*[-land;manacost=9])
auto=this(counter{0/0.1.Charge}=10) {3}{T}{S}:name(Destroy all permanent with manacost 10) name(Destroy all permanent with manacost 10) destroy all(*[-land;manacost=10])
auto=this(counter{0/0.1.Charge}=11) {3}{T}{S}:name(Destroy all permanent with manacost 11) name(Destroy all permanent with manacost 11) destroy all(*[-land;manacost=11])
auto=this(counter{0/0.1.Charge}=12) {3}{T}{S}:name(Destroy all permanent with manacost 12) name(Destroy all permanent with manacost 12) destroy all(*[-land;manacost=12])
auto=this(counter{0/0.1.Charge}=13) {3}{T}{S}:name(Destroy all permanent with manacost 13) name(Destroy all permanent with manacost 13) destroy all(*[-land;manacost=13])
auto=this(counter{0/0.1.Charge}=14) {3}{T}{S}:name(Destroy all permanent with manacost 14) name(Destroy all permanent with manacost 14) destroy all(*[-land;manacost=14])
auto=this(counter{0/0.1.Charge}=15) {3}{T}{S}:name(Destroy all permanent with manacost 15) name(Destroy all permanent with manacost 15) destroy all(*[-land;manacost=15])
auto=this(counter{0/0.1.Charge}=16) {3}{T}{S}:name(Destroy all permanent with manacost 16) name(Destroy all permanent with manacost 16) destroy all(*[-land;manacost=16])
auto=this(counter{0/0.1.Charge}=17) {3}{T}{S}:name(Destroy all permanent with manacost 17) name(Destroy all permanent with manacost 17) destroy all(*[-land;manacost=17])
auto=this(counter{0/0.1.Charge}=18) {3}{T}{S}:name(Destroy all permanent with manacost 18) name(Destroy all permanent with manacost 18) destroy all(*[-land;manacost=18])
auto=this(counter{0/0.1.Charge}=19) {3}{T}{S}:name(Destroy all permanent with manacost 19) name(Destroy all permanent with manacost 19) destroy all(*[-land;manacost=19])
auto=this(counter{0/0.1.Charge}>=20) {3}{T}{S}:name(Destroy all permanent with manacost 20) name(Destroy all permanent with manacost 20) destroy all(*[-land;manacost>=20])
text=Blast Zone enters the battlefield with a charge counter on it. -- {T}: Add {C}. -- {X}{X}, {T}: Put X charge counters on Blast Zone. -- {3}, {T}, Sacrifice Blast Zone: Destroy each nonland permanent with converted mana cost equal to the number of charge counters on Blast Zone.
type=Land
[/card]
[card]
name=Blast from the Past
target=player,creature
abilities=cycling,madness,hasotherkicker
kicker={2}{R}
flashback={3}{R}
buyback={4}{R}
autohand=__CYCLING__({1}{R})
autoexile=restriction{discarded} pay({R}) name(pay R to cast) activate name(pay R to cast) castcard(alternative)?name(put in graveyard) moveto(ownergraveyard)
auto=damage:2
auto=if paid(kicker) then token(Goblin,Creature Goblin,1/1,red)
auto=if paid(alternative) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) token(Goblin,Creature Goblin,1/1,red)
auto=if paid(flashback) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) token(Goblin,Creature Goblin,1/1,red)
auto=if paid(buyback) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) token(Goblin,Creature Goblin,1/1,red)
text=Madness {R}, cycling {1}{R}, kicker {2}{R}, flashback {3}{R}, buyback {4}{R} -- Blast from the Past deals 2 damage to target creature or player. -- If the kicker cost was paid, put a 1/1 red Goblin creature token into play.
mana={2}{R}
type=Instant
[/card]
[card]
name=Blazing Hope
auto=target(creature[power>=controllerlife]) moveto(exile)
text=Exile target creature with power greater than or equal to your life total.
mana={W}
type=Instant
[/card]
[card]
name=Blazing Rootwalla
auto={R}:2/0 ueot limit:1
abilities=madness
autoexile=restriction{discarded} pay({0}) name(pay 0 to cast) activate name(pay 0 to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
text={R}: Blazing Rootwalla gets +2/+0 until end of turn. Activate only once each turn. -- Madness 0 (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={R}
type=Creature
subtype=Lizard
power=1
toughness=1
[/card]
[card]
name=Blazing Salvo
target=creature
auto=transforms((,newability[choice name(Damage creature) damage:3],newability[choice name(Damage controller) damage:5 controller])) oneshot
text=Blazing Salvo deals 3 damage to target creature unless that creature's controller has Blazing Salvo deal 5 damage to him or her.
mana={R}
type=Instant
[/card]
[card]
name=Blazing Sunsteel
auto={4}:equip
auto=teach(creature) 1/0
auto=@damaged(mytgt):damage:thatmuch target(player,creature,planeswalker)
text=Equipped creature gets +1/+0 for each opponent you have. -- Whenever equipped creature is dealt damage, it deals that much damage to any target. -- Equip {4}
mana={1}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Blazing Torch
auto={1}:equip
auto=teach(creature) cantbeblockedby(creature[Zombie])
auto=teach(creature) cantbeblockedby(creature[Vampire])
auto=teach(creature) {T}{S(Blazing Torch)}:damage:2 target(player,creature)
text=Equipped creature can't be blocked by Vampires or Zombies. -- Equipped creature has "{T}, Sacrifice Blazing Torch: Blazing Torch deals 2 damage to target creature or player." -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Blazing Volley
auto=damage:1 all(creature|opponentbattlefield)
text=Blazing Volley deals 1 damage to each creature your opponents control.
mana={R}
type=Sorcery
[/card]
[card]
name=Bleeding Edge
auto=may -2/-2 target(creature)
auto=_AMASS_(2)
text=Up to one target creature gets -2/-2 until end of turn. Amass 2. (Put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Blessed Alliance
target=opponent
other={5}{W} name(Escalate)
auto=if paid(alternative) then life:4 controller
auto=if paid(alternative) then untap target(<upto:2>creature)
auto=if paid(alternative) then ability$!name(sacrifice) target(creature[attacking]|mybattlefield) sacrifice!$ targetedplayer
auto=ifnot paid(alternative) then choice name(Player gains life) life:4 controller
auto=ifnot paid(alternative) then choice name(Untap creatures) untap target(<upto:2>creature)
auto=ifnot paid(alternative) then choice name(Opponent scrifices creature) target(creature[attacking]|mybattlefield) sacrifice!$ targetedplayer
text=Escalate {2} (Pay this cost for each mode chosen beyond the first.) -- Choose one or more -- Target player gains 4 life. -- Untap up to two target creatures. -- Target opponent sacrifices an attacking creature.
mana={1}{W}
type=Instant
[/card]
[card]
name=Blessed Defiance
target=creature|mybattlefield
auto=transforms((,newability[2/0],newability[lifelink],newability[@movedto(this|graveyard) from(mybattlefield):name(Create spirit) token(Spirit^Creature Spirit^1/1^white^flying)])) ueot
text=Target creature you control gets +2/+0 and gains lifelink until end of turn. When that creature dies this turn, create a 1/1 white Spirit creature token with flying.
mana={W}
type=Instant
[/card]
[card]
name=Blessed Light
target=creature,enchantment.
auto=moveto(exile)
text=Exile target creature or enchantment.
mana={4}{W}
type=Instant
[/card]
[card]
name=Blessed Reincarnation
target=creature|opponentbattlefield
auto=moveto(exile) && ability$!name(Put first creature in play) name(Put first creature in play) target(*[zpos=findfirsttypecreature]|mylibrary) moveto(myBattlefield) and!( shuffle controller )! !$ opponent
auto=_REBOUND_
text=Exile target creature an opponent controls. That player reveals cards from the top of his or her library until a creature card is revealed. The player puts that card onto the battlefield, then shuffles the rest into his or her library. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
mana={3}{U}
type=Instant
[/card]
[card]
name=Blessed Respite
target=player
auto=moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard)
auto=preventAllcombatDamage ueot
text=Target player shuffles their graveyard into their library. Prevent all combat damage that would be dealt this turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Blessed Sanctuary
auto=preventallnoncombatdamage to(creature|myBattlefield)
auto=preventallnoncombatdamage to(controller)
auto=@movedto(creature[-token]|mybattlefield):token(Unicorn,Creature Unicorn,2/2,white)
text=Prevent all noncombat damage that would be dealt to you and creatures you control. -- Whenever a nontoken creature enters the battlefield under your control, create a 2/2 white Unicorn creature token.
mana={3}{W}{W}
type=Enchantment
[/card]
[card]
name=Blessing of Belzenlok
target=creature
auto=+2/+1
auto=teach(legendary) lifelink
text=Target creature gets +2/+1 until end of turn. If it's legendary, it also gains lifelink until end of turn.
mana={B}
type=Instant
[/card]
[card]
name=Blessing of Frost
restriction=compare(mysnowpoolcount)~equalto~0
autohand={2}{i}{G} restriction{compare(mysnowpoolcount)~equalto~1}:name(Cast with 1 snow mana) name(Cast with 1 snow mana) target(Blessing of Frost|myhand) transforms((,newability[ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)!$ controller],newability[activate castcard(alternative)])) oneshot
autohand={1}{i}{i}{G} restriction{compare(mysnowpoolcount)~equalto~2}:name(Cast with 2 snow mana) name(Cast with 2 snow mana) target(Blessing of Frost|myhand) transforms((,newability[thisforeach(variable{2}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)!$ controller],newability[activate castcard(alternative)])) oneshot
autohand={i}{i}{i}{G} restriction{compare(mysnowpoolcount)~morethan~2}:name(Cast with 3 snow mana) name(Cast with 3 snow mana) target(Blessing of Frost|myhand) transforms((,newability[thisforeach(variable{3}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)!$ controller],newability[activate castcard(alternative)])) oneshot
autohand={i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~3,compare(mysnowgreenpoolcount)~morethan~0}:name(Cast with 4 snow mana) target(Blessing of Frost|myhand) transforms((,newability[thisforeach(variable{4}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)!$ controller],newability[activate castcard(alternative)])) oneshot
auto=draw:type:creature[power>=4]:mybattlefield controller
text=Distribute X +1/+1 counters among any number of creatures you control, where X is the amount of {S}i} spent to cast this spell. Then draw a card for each creature you control with power 4 or greater. ({S}i} is mana from a snow source.)
mana={3}{G}
type=Snow Sorcery
[/card]
[card]
name=Blex, Vexing Pest
other={2}{B}{B} name(Search for Blex)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Search for Blex)
autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:search for blex:!)])) forever
auto=lord(other *[pest;bat;insect;snake;spider]|mybattlefield) 1/1
auto=_DIES_life:4 controller
text=Other Pests, Bats, Insects, Snakes, and Spiders you control get +1/+1. -- When Blex, Vexing Pest dies, you gain 4 life. // {2}{B}{B} Search for Blex
mana={2}{G}
type=Legendary Creature
subtype=Pest
power=3
toughness=2
[/card]
[card]
name=Blight Herder
auto=@movedTo(*|mystack):may ([upto <2>*] moveTo(opponentgraveyard) from (opponentexile)) then token(Eldrazi Scion,Creature Eldrazi Scion,1/1) and!( transforms((,newability[{S}:Add{1}])) forever )!*3
text=When you cast this spell, you may put two cards your opponents own from exile into their owners' graveyards. If you do, create three 1/1 colorless Eldrazi Scion creature tokens. They have "Sacrifice this creature: Add {C}."
mana={5}
type=Creature
subtype=Eldrazi Processor
power=4
toughness=5
[/card]
[card]
name=Blight Keeper
abilities=flying
auto={7}{B}{T}{S}:life:4 controller && life:-4 opponent
text=Flying -- {7}{B}, {T}, Sacrifice Blight Keeper: Target opponent loses 4 life and you gain 4 life.
mana={B}
type=Creature
subtype=Bat Imp
power=1
toughness=1
[/card]
[card]
name=Blight Mound
auto=lord(pest[attacking]|mybattlefield) transforms((,newability[1/0],newability[menace]))
auto=@movedto(creature[-token]|graveyard) from(mybattlefield):token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
text=Attacking Pests you control get +1/+0 and have menace. -- Whenever a nontoken creature you control dies, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life."
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Blight-Breath Catoblepas
auto=-manaB:mybattlefield/-manaB:mybattlefield target(creature|opponentBattlefield) ueot
text=When Blight-Breath Catoblepas enters the battlefield, target creature an opponent controls gets -X/-X until end of turn, where X is your devotion to black. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.)
mana={4}{B}{B}
type=Creature
subtype=Beast
power=3
toughness=2
[/card]
[card]
name=Blightbeetle
abilities=protection from green
auto=@counteradded(1/1) from(creature|opponentbattlefield):name(Opponent creatures can't have 1/1 counter) all(trigger[from]) name(Opponent creatures can't have 1/1 counter) counter(1/1,-1) notrg
text=Protection from green (This creature can't be blocked, targeted, dealt damage, enchanted, or equipped by anything green.) -- Creatures your opponents control can't have +1/+1 counters put on them.
mana={1}{B}
type=Creature
subtype=Insect
power=1
toughness=1
[/card]
[card]
name=Blighted Bat
abilities=flying
auto={1}:haste ueot
text=Flying -- {1}: Blighted Bat gains haste until end of turn.
mana={2}{B}
type=Creature
subtype=Zombie Bat
power=2
toughness=1
[/card]
[card]
name=Blightstep Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Searstep Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Searstep Pathway) name(Searstep Pathway) flip(Searstep Pathway) forcetype(land)
auto={T}:add{B}
text={T}: Add {B}. // Searstep Pathway
type=Land
[/card]
[card]
name=Blind Fury
restriction=before battle damage
auto=all(creature) transforms((,newability[-trample],newability[@combatdamaged(creature) from(this):damage:thatmuch all(trigger[to])])) ueot
text=Cast Blind Fury only before the combat damage step. -- All creatures lose trample until end of turn. If a creature would deal combat damage to a creature this turn, it deals double that damage to that creature instead.
mana={2}{R}{R}
type=Instant
[/card]
[card]
name=Blind Hunter
abilities=flying
auto=name(Player loses 2 life) target(player) life:-2
auto=name(Gain 2 life) life:2 controller
auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot
autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Player loses 2 life) target(player) life:-2],newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Gain 2 life) life:2 controller]))
text=Flying -- Haunt (When this creature dies, exile it haunting target creature.) -- When Blind Hunter enters the battlefield or the creature it haunts dies, target player loses 2 life and you gain 2 life.
mana={2}{W}{B}
type=Creature
subtype=Bat
power=2
toughness=2
[/card]
[card]
name=Blindblast
target=creature
auto=damage:1
auto=cantblock
auto=draw:1 controller
text=Blindblast deals 1 damage to target creature. That creature can't block this turn. -- Draw a card.
mana={2}{R}
type=Instant
[/card]
[card]
name=Blinding Beam
target=player
other={3}{W} name(Entwine)
auto=if paid(alternative) then target(<2>creature) tap(noevent) && lord(creature|targetedpersonsbattlefield) frozen
auto=ifnot paid(alternative) then transforms((,newability[choice target(<2>creature) tap(noevent)],newability[choice lord(creature|targetedpersonsbattlefield) frozen]))
text=Choose one  Tap two target creatures; or creatures don't untap during target player's next untap step. -- Entwine {1} (Choose both if you pay the entwine cost.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Blinding Flare
abilities=hasnokicker,hasstrive
kicker=multi{R} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[cantblock])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[cantblock])) ueot
text=Strive - Blinding Flare costs {R} more to cast for each target beyond the first. -- Any number of target creatures can't block this turn.
mana={R}
type=Sorcery
[/card]
[card]
name=Blinding Fog
auto=preventalldamage to(creature)
auto=all(creature|mybattlefield) opponentshroud
text=Prevent all damage that would be dealt to creatures this turn. Creatures you control gain hexproof until end of turn. (They can't be the targets of spells or abilities your opponents control.)
mana={2}{G}
type=Instant
[/card]
[card]
name=Blinding Radiance
auto=tap all(creature[toughness<=2]|opponentBattlefield)
text=Tap all creatures your opponents control with toughness 2 or less.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Blink Dog
abilities=double strike
auto={3}{W}:name(Teleport) phaseout
text=Double strike -- Teleport-{3}{W}: Blink Dog phases out. (Treat it and anything attached to it as though they don't exist until your next turn.)
mana={2}{W}
type=Creature
subtype=Dog
power=1
toughness=1
[/card]
[card]
name=Blink of an Eye
kicker={1}{U}
target=*[-land]
auto=moveTo(ownerHand)
auto=if paid(kicker) then draw:1
text=Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.) -- Return target nonland permanent to its owner's hand. If this spell was kicked, draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Blisterspit Gremlin
auto={1}{T}:damage:1 opponent
auto=@movedto(*[-creature]|myStak):untap(this)
text={1}, {T}: Blisterspit Gremlin deals 1 damage to each opponent. -- Whenever you cast a noncreature spell, untap Blisterspit Gremlin.
mana={R}
type=Creature
subtype=Gremlin
power=1
toughness=1
[/card]
[card]
name=Blitz Leech
abilities=flash
auto=-2/-2 target(creature|opponentbattlefield) ueot && removeallcounters(all)
text=Flash -- When Blitz Leech enters the battlefield, target creature an opponent controls gets -2/-2 until end of turn. Remove all counters from that creature.
mana={5}{B}
type=Creature
subtype=Leech
power=5
toughness=2
[/card]
[card]
name=Blitz of the Thunder-Raptor
target=creature,planeswalker
auto=transforms((,newability[exiledeath])) ueot
auto=damage:pginstantsorcery
text=Blitz of the Thunder-Raptor deals damage to target creature or planeswalker equal to the number of instant and sorcery cards in your graveyard. If that creature or planeswalker would die this turn, exile it instead.
mana={1}{R}
type=Instant
[/card]
[card]
name=Blizzard Brawl
target=creature|mybattlefield
restriction=type(creature|mybattlefield)~morethan~0,type(creature|opponentbattlefield)~morethan~0
auto=if type(*[snow]|mybattlefield)~morethan~2 then transforms((,newability[1/0],newability[indestructible],newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot 
text=Choose target creature you control and target creature you don't control. If you control three or more snow permanents, the creature you control gets +1/+0 and gains indestructible until end of turn. Then those creatures fight each other. (Each deals damage equal to its power to the other.)
mana={G}
type=Snow Sorcery
[/card]
[card]
name=Blizzard Strix
abilities=flash,flying
auto=restriction type(other *[snow]|mybattlefield)~morethan~0 moveTo(exile) target(other *|battlefield) && (blink)ueot target(other *|battlefield)
text=Flash -- Flying -- When Blizzard Strix enters the battlefield, if you control another snow permanent, exile target permanent other than Blizzard Strix. Return that card to the battlefield under its owner's control at the beginning of the next end step.
mana={4}{U}
type=Snow Creature
subtype=Bird
power=3
toughness=2
[/card]
[card]
name=Blood Age General
auto={T}:all(spirit[attacking]|battlefield) transforms((,newability[1/0])) ueot
text={T}: Attacking Spirits get +1/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Spirit Warrior
power=2
toughness=2
[/card]
[card]
name=Blood Aspirant
auto=@sacrificed(*|mybattlefield):counter(1/1,1) all(this)
auto={1}{R}{S(creature,enchantment|myBattlefield}:damage:1 && cantblock target(creature) oneshot ueot
text=Whenever you sacrifice a permanent, put a +1/+1 counter on Blood Aspirant. -- {1}{R}, {T}, Sacrifice a creature or enchantment: Blood Aspirant deals 1 damage to target creature. That creature can't block this turn.
mana={1}{R}
type=Creature
subtype=Satyr Berserker
power=1
toughness=1
[/card]
[card]
name=Blood Beckoning
kicker={3}
auto=if paid(kicker) then moveTo(myHand) target(<2>creature|mygraveyard)
auto=ifnot paid(kicker) then moveTo(myHand) target(creature|mygraveyard)
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- Return target creature card from your graveyard to your hand. If this spell was kicked, instead return two target creature cards from your graveyard to your hand.
mana={B}
type=Sorcery
[/card]
[card]
name=Blood Burglar
auto=this(variable{controllerturn}>0) lifelink
text=As long as it's your turn, Blood Burglar has lifelink. (Damage dealt by this creature also causes you to gain that much life.)
mana={1}{B}
type=Creature
subtype=Vampire Rogue
power=2
toughness=2
[/card]
[card]
name=Blood Curdle
target=creature
auto=destroy
auto=name(Put menace counter) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Menace)],newability[this(counter{0/0.1.Menace}>=1) menace])) forever
text=Destroy target creature. Put a menace counter on a creature you control. (It can't be blocked except by two or more creatures.)
mana={3}{B}
type=Instant
[/card]
[card]
name=Blood Divination
auto=draw:3
text=As an additional cost to cast this spell, sacrifice a creature. -- Draw three cards.
mana={3}{B}{S(creature|myBattlefield)}
type=Sorcery
[/card]
[card]
name=Blood Feud
target=creature|battlefield
auto=transforms((,newability[target(other creature|battlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Target creature fights another target creature. (Each deals damage equal to its power to the other.)
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Blood Glutton
abilities=lifelink
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.)
mana={4}{B}
type=Creature
subtype=Vampire
power=4
toughness=3
[/card]
[card]
name=Blood Operative
abilities=lifelink
auto=may moveto(exile) target(*|graveyard)
autograveyard=@surveiled(*|mybattlefield,mystack):pay({L:3}) name(return to hand) moveto(myhand) all(this)
text=Lifelink -- When Blood Operative enters the battlefield, you may exile target card from a graveyard. -- Whenever you surveil, if Blood Operative is in your graveyard, you may pay 3 life. If you do, return Blood Operative to your hand.
mana={1}{B}{B}
type=Creature
subtype=Vampire Assassin
power=3
toughness=1
[/card]
[card]
name=Blood Pact
target=player
auto=draw:2 targetedplayer
auto=life:-2 targetedplayer
text=Target player draws two cards and loses 2 life.
mana={2}{B}
type=Instant
[/card]
[card]
name=Blood Price
aicode=activate transforms((,newability[moveto(myhand) all(*[zpos<=2]|mylibrary) && life:-2)])) ueot
auto=name(look) reveal:4 optionone name(Get 2 card) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend afterrevealed choice life:-2 afterrevealedend revealend
text=Look at the top four cards of your library. Put two of them into your hand and the rest on the bottom of your library in any order. You lose 2 life.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Blood Researcher
abilities=menace
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1)
text=Menace (This creature can't be blocked except by two or more creatures.) -- Whenever you gain life, put a +1/+1 counter on Blood Researcher.
mana={1}{B}{G}
type=Creature
subtype=Vampire Druid
power=2
toughness=2
[/card]
[card]
name=Blood Sun
auto=draw:1 controller
auto=lord(land[-basic]|battlefield) transforms((,newability[loseabilities],newability[{T}:add{C}]))
auto=lord(land[basic]|battlefield) transforms((,newability[loseabilities]))
text=When Blood Sun enters the battlefield, draw a card. -- All lands lose all abilities except mana abilities.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Blood Tyrant
abilities=flying,trample
auto=@each my upkeep:life:-1 opponent && life:-1 controller
auto=@each my upkeep:counter(1/1,2)
text=Flying, trample -- At the beginning of your upkeep, each player loses 1 life. Put a +1/+1 counter on Blood Tyrant for each 1 life lost this way. -- Whenever a player loses the game, put five +1/+1 counters on Blood Tyrant.
mana={4}{U}{B}{R}
type=Creature
subtype=Vampire
power=5
toughness=5
[/card]
[card]
name=Blood for Bones
auto=ability$!notatarget(creature|mygraveyard) moveto(mybattlefield)!$ controller
auto=ability$!notatarget(creature|mygraveyard) moveto(myhand)!$ controller
text=As an additional cost to cast this spell, sacrifice a creature. -- Return a creature card from your graveyard to the battlefield, then return another creature card from your graveyard to your hand.
mana={3}{B}{S(creature|myBattlefield)}
type=Sorcery
[/card]
[card]
name=Blood on the Snow
restriction=compare(mysnowpoolcount)~equalto~0
autohand={3}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~1,type(*[creature;planeswalker;manacost<=1]|mybattlefield)~equalto~0}:name(Cast with 1 snow mana and destroy creatures) name(Cast with 1 snow mana and destroy creatures) all(creature) destroy && activate castcard(alternative)
autohand={3}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~1,type(*[creature;planeswalker;manacost<=1]|mybattlefield)~morethan~0}:name(Cast with 1 snow mana and destroy creatures) name(Cast with 1 snow mana and destroy creatures) notatarget(*[creature;planeswalker;manacost<=1]|mybattlefield) transforms((,newability[all(other creature) destroy])) oneshot && activate castcard(alternative)
autohand={3}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~1,type(*[creature;planeswalker;manacost<=1]|mybattlefield)~equalto~0}:name(Cast with 1 snow mana and destroy planeswalkers) name(Cast with 1 snow mana and destroy planeswalkers) all(planeswalker) destroy && activate castcard(alternative)
autohand={3}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~1,type(*[creature;planeswalker;manacost<=1]|mybattlefield)~morethan~0}:name(Cast with 1 snow mana and destroy planeswalkers) name(Cast with 1 snow mana and destroy planeswalkers) notatarget(*[creature;planeswalker;manacost<=1]|mybattlefield) transforms((,newability[all(other planeswalker) destroy])) oneshot && activate castcard(alternative)
autohand={2}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~2,type(*[creature;planeswalker;manacost<=2]|mybattlefield)~equalto~0}:name(Cast with 2 snow mana and destroy creatures) name(Cast with 2 snow mana and destroy creatures) all(creature) destroy && activate castcard(alternative)
autohand={2}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~2,type(*[creature;planeswalker;manacost<=2]|mybattlefield)~morethan~0}:name(Cast with 2 snow mana and destroy creatures) name(Cast with 2 snow mana and destroy creatures) notatarget(*[creature;planeswalker;manacost<=2]|mybattlefield) transforms((,newability[all(other creature) destroy])) oneshot && activate castcard(alternative)
autohand={2}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~2,type(*[creature;planeswalker;manacost<=2]|mybattlefield)~equalto~0}:name(Cast with 2 snow mana and destroy planeswalkers) name(Cast with 2 snow mana and destroy planeswalkers) all(planeswalker) destroy && activate castcard(alternative)
autohand={2}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~2,type(*[creature;planeswalker;manacost<=2]|mybattlefield)~morethan~0}:name(Cast with 2 snow mana and destroy planeswalkers) name(Cast with 2 snow mana and destroy planeswalkers) notatarget(*[creature;planeswalker;manacost<=2]|mybattlefield) transforms((,newability[all(other planeswalker) destroy])) oneshot && activate castcard(alternative)
autohand={1}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~3,type(*[creature;planeswalker;manacost<=3]|mybattlefield)~equalto~0}:name(Cast with 3 snow mana and destroy creatures) name(Cast with 3 snow mana and destroy creatures) all(creature) destroy && activate castcard(alternative)
autohand={1}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~3,type(*[creature;planeswalker;manacost<=3]|mybattlefield)~morethan~0}:name(Cast with 3 snow mana and destroy creatures) name(Cast with 3 snow mana and destroy creatures) notatarget(*[creature;planeswalker;manacost<=3]|mybattlefield) transforms((,newability[all(other creature) destroy])) oneshot && activate castcard(alternative)
autohand={1}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~3,type(*[creature;planeswalker;manacost<=3]|mybattlefield)~equalto~0}:name(Cast with 3 snow mana and destroy planeswalkers) name(Cast with 3 snow mana and destroy planeswalkers) all(planeswalker) destroy && activate castcard(alternative)
autohand={1}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~equalto~3,type(*[creature;planeswalker;manacost<=3]|mybattlefield)~morethan~0}:name(Cast with 3 snow mana and destroy planeswalkers) name(Cast with 3 snow mana and destroy planeswalkers) notatarget(*[creature;planeswalker;manacost<=3]|mybattlefield) transforms((,newability[all(other planeswalker) destroy])) oneshot && activate castcard(alternative)
autohand={i}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~morethan~3,type(*[creature;planeswalker;manacost<=4]|mybattlefield)~equalto~0}:name(Cast with 4 snow mana and destroy creatures) name(Cast with 4 snow mana and destroy creatures) all(creature) destroy && activate castcard(alternative)
autohand={i}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~morethan~3,type(*[creature;planeswalker;manacost<=4]|mybattlefield)~morethan~0}:name(Cast with 4 snow mana and destroy creatures) name(Cast with 4 snow mana and destroy creatures) notatarget(*[creature;planeswalker;manacost<=4]|mybattlefield) transforms((,newability[all(other creature) destroy])) oneshot && activate castcard(alternative)
autohand={i}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~morethan~3,type(*[creature;planeswalker;manacost<=4]|mybattlefield)~equalto~0}:name(Cast with 4 snow mana and destroy planeswalkers) name(Cast with 4 snow mana and destroy planeswalkers) all(planeswalker) destroy && activate castcard(alternative)
autohand={i}{i}{i}{i}{B}{B} restriction{compare(mysnowpoolcount)~morethan~3,type(*[creature;planeswalker;manacost<=4]|mybattlefield)~morethan~0}:name(Cast with 4 snow mana and destroy planeswalkers) name(Cast with 4 snow mana and destroy planeswalkers) notatarget(*[creature;planeswalker;manacost<=4]|mybattlefield) transforms((,newability[all(other planeswalker) destroy])) oneshot && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{B} restriction{compare(mysnowpoolcount)~morethan~4,compare(mysnowblackpoolcount)~morethan~0,type(*[creature;planeswalker;manacost<=5]|mybattlefield)~equalto~0}:name(Cast with 5 snow mana and destroy creatures) name(Cast with 5 snow mana and destroy creatures) all(creature) destroy && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{B} restriction{compare(mysnowpoolcount)~morethan~4,compare(mysnowblackpoolcount)~morethan~0,type(*[creature;planeswalker;manacost<=5]|mybattlefield)~morethan~0}:name(Cast with 5 snow mana and destroy creatures) name(Cast with 5 snow mana and destroy creatures) notatarget(*[creature;planeswalker;manacost<=5]|mybattlefield) transforms((,newability[all(other creature) destroy])) oneshot && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{B} restriction{compare(mysnowpoolcount)~morethan~4,compare(mysnowblackpoolcount)~morethan~0,type(*[creature;planeswalker;manacost<=5]|mybattlefield)~equalto~0}:name(Cast with 5 snow mana and destroy planeswalkers) name(Cast with 5 snow mana and destroy planeswalkers) all(planeswalker) destroy && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{B} restriction{compare(mysnowpoolcount)~morethan~4,compare(mysnowblackpoolcount)~morethan~0,type(*[creature;planeswalker;manacost<=5]|mybattlefield)~morethan~0}:name(Cast with 5 snow mana and destroy planeswalkers) name(Cast with 5 snow mana and destroy planeswalkers) notatarget(*[creature;planeswalker;manacost<=5]|mybattlefield) transforms((,newability[all(other planeswalker) destroy])) oneshot && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~5,compare(mysnowblackpoolcount)~morethan~1,type(*[creature;planeswalker;manacost<=6]|mybattlefield)~equalto~0}:name(Cast with 6 snow mana and destroy creatures) name(Cast with 6 snow mana and destroy creatures) all(creature) destroy && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~5,compare(mysnowblackpoolcount)~morethan~1,type(*[creature;planeswalker;manacost<=6]|mybattlefield)~morethan~0}:name(Cast with 6 snow mana and destroy creatures) name(Cast with 6 snow mana and destroy creatures) notatarget(*[creature;planeswalker;manacost<=6]|mybattlefield) transforms((,newability[all(other creature) destroy])) oneshot && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~5,compare(mysnowblackpoolcount)~morethan~1,type(*[creature;planeswalker;manacost<=6]|mybattlefield)~equalto~0}:name(Cast with 6 snow mana and destroy planeswalkers) name(Cast with 6 snow mana and destroy planeswalkers) all(planeswalker) destroy && activate castcard(alternative)
autohand={i}{i}{i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~5,compare(mysnowblackpoolcount)~morethan~1,type(*[creature;planeswalker;manacost<=6]|mybattlefield)~morethan~0}:name(Cast with 6 snow mana and destroy planeswalkers) name(Cast with 6 snow mana and destroy planeswalkers) notatarget(*[creature;planeswalker;manacost<=6]|mybattlefield) transforms((,newability[all(other planeswalker) destroy])) oneshot && activate castcard(alternative)
auto=ifnot paid(alternative) then if type(*[creature;planeswalker;manacost<=0]|mybattlefield)~morethan~0 then choice name(Destroy all creatures) name(Destroy all creatures) target(*[creature;planeswalker;manacost<=0]|mybattlefield) transforms((,newability[all(other creature) destroy])) oneshot
auto=ifnot paid(alternative) then if type(*[creature;planeswalker;manacost<=0]|mybattlefield)~morethan~0 then choice name(Destroy all planeswalkers) name(Destroy all planeswalkers) target(*[creature;planeswalker;manacost<=0]|mybattlefield) transforms((,newability[all(other planeswalker) destroy])) oneshot
auto=ifnot paid(alternative) then if type(*[creature;planeswalker;manacost<=0]|mybattlefield)~equalto~0 then choice name(Destroy all creatures) name(Destroy all creatures) name(Destroy all creatures) all(creature) destroy
auto=ifnot paid(alternative) then if type(*[creature;planeswalker;manacost<=0]|mybattlefield)~equalto~0 then choice name(Destroy all planeswalkers) name(Destroy all planeswalkers) name(Destroy all planeswalkers) all(planeswalker) destroy
text=Choose one -- Destroy all creatures. -- Destroy all planeswalkers. -- Then return a creature or planeswalker card with converted mana cost X or less from your graveyard to the battlefield, where X is the amount of {S}i} spent to cast this spell. ({S}i} is mana from a snow source.)
mana={4}{B}{B}
type=Snow Sorcery
[/card]
[card]
name=Bloodborn Scoundrels
auto=target(opponent) life:-2
auto=life:2
text=Assist (Another player can pay up to {5} of this spell's cost.) -- When Bloodborn Scoundrels enters the battlefield, target opponent loses 2 life and you gain 2 life.
mana={5}{B}
type=Creature
subtype=Vampire Rogue
power=4
toughness=4
[/card]
[card]
name=Bloodbraid Marauder
abilities=cantblock
autostack=if delirium then if casted(this) then cascade:plibrarycount
text=Bloodbraid Marauder can't block. -- Delirium - This spell has cascade as long as there are four or more card types among cards in your graveyard. (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={1}{R}
type=Creature
subtype=Human Berserker
power=3
toughness=1
[/card]
[card]
name=Bloodchief's Thirst
kicker={2}{B}
auto=if paid(kicker) then destroy target(*[creature;planeswalker])
auto=ifnot paid(kicker) then destroy target(*[creature;planeswalker;manacost<=2])
text=Kicker {2}{B} (You may pay an additional {2}{B} as you cast this spell.) -- Destroy target creature or planeswalker with converted mana cost 2 or less. If this spell was kicked, instead destroy target creature or planeswalker.
mana={B}
type=Sorcery
[/card]
[card]
name=Bloodcrazed Paladin
abilities=flash
auto=foreach(creature[fresh]|mygraveyard) counter(1/1,1)
text=Flash -- Bloodcrazed Paladin enters the battlefield with a +1/+1 counter on it for each creature that died this turn.
mana={1}{B}
type=Creature
subtype=Vampire Knight
power=1
toughness=1
[/card]
[card]
name=Bloodforged Battle-Axe
auto=teach(creature) 2/0
auto=teach(creature) @combatdamaged(player) from(mytgt):clone all(this)
auto={2}:equip
text=Equipped creature gets +2/+0. -- Whenever equipped creature deals combat damage to a player, create a token that's a copy of Bloodforged Battle-Axe. -- Equip {2}
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Bloodhaze Wolverine
auto=_SECOND_DRAW_1/1 ueot
auto=_SECOND_DRAW_first strike ueot
text=Whenever you draw your second card each turn, Bloodhaze Wolverine gets +1/+1 and gains first strike until end of turn.
mana={1}{R}
type=Creature
subtype=Wolverine
power=2
toughness=1
[/card]
[card]
name=Bloodline Culling
auto=choice name(Creature gets -5/-5) target(creature) -5/-5 ueot
auto=choice name(All tokens gets -2/-2) all(creature[token]|battlefield) -2/-2 ueot
text=Choose one -- Target creature gets -5/-5 until end of turn. -- Creature tokens get -2/-2 until end of turn.
mana={1}{B}{B}
type=Instant
[/card]
[card]
name=Bloodline Necromancer
abilities=lifelink
auto=may target(creature[vampire;wizard]|mygraveyard) moveTo(mybattlefield)
text=Lifelink -- When Bloodline Necromancer enters the battlefield, you may return target Vampire or Wizard creature card from your graveyard to the battlefield.
mana={4}{B}
type=Creature
subtype=Vampire Wizard
power=3
toughness=2
[/card]
[card]
name=Bloodline Pretender
abilities=changeling
auto=chooseatype transforms((,newability[@movedto(creature[chosentype]|mybattlefield):counter(1/1)])) forever chooseend
text=Changeling (This card is every creature type.) -- As Bloodline Pretender enters the battlefield, choose a creature type. -- Whenever another creature of the chosen type enters the battlefield under your control, put a +1/+1 counter on Bloodline Pretender.
mana={3}
type=Artifact Creature
subtype=Shapeshifter
power=2
toughness=2
[/card]
[card]
name=Bloodlust Inciter
auto={T}:target(creature) haste ueot
text={T}: Target creature gains haste until end of turn.
mana={R}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Bloodmist Infiltrator
auto=_ATTACKING_may name(Sacrifice) sacrifice notatarget(other creature|mybattlefield) && transforms((,newability[unblockable])) forever
text=Whenever Bloodmist Infiltrator attacks, you may sacrifice another creature. If you do, Bloodmist Infiltrator can't be blocked this turn.
mana={2}{B}
type=Creature
subtype=Vampire
power=3
toughness=1
[/card]
[card]
name=Bloodrage Brawler
auto=reject notatarget(*|myhand)
text=When Bloodrage Brawler enters the battlefield, discard a card.
mana={1}{R}
type=Creature
subtype=Minotaur Warrior
power=4
toughness=3
[/card]
[card]
name=Bloodsky Berserker
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:transforms((,newability[counter(1/1.2)],newability[menace])) ueot
text=Whenever you cast your second spell each turn, put two +1/+1 counters on Bloodsky Berserker. It gains menace until end of turn. (It can't be blocked except by two or more creatures.)
mana={1}{B}
type=Creature
subtype=Human Berserker
power=1
toughness=1
[/card]
[card]
name=Bloodsoaked Altar
auto={T}{L:2}{D(*|myhand){S(creature|mybattlefield)}:token(Demon,Creature Demon,5/5,black,flying)
text={T}, Pay 2 life, Discard a card, Sacrifice a creature: Create a 5/5 black Demon creature token with flying. Activate this ability only any time you could cast a sorcery.
mana={4}{B}{B}
type=Artifact
[/card]
[card]
name=Bloodstone Goblin
auto=@movedto(*[kicked>=1]|mystack):transforms((,newability[1/1],newability[menace])) ueot
text=Whenever you cast a spell, if that spell was kicked, Bloodstone Goblin gets +1/+1 and gains menace until end of turn. (It can't be blocked except by two or more creatures.)
mana={1}{R}
type=Creature
subtype=Goblin Warrior
power=2
toughness=2
[/card]
[card]
name=Bloodsworn Steward
abilities=flying
auto=lord(creature[iscommander]|mybattlefield) 2/2
auto=lord(creature[iscommander]) haste
text=Flying -- Commander creatures you control get +2/+2 and have haste.
mana={2}{R}{R}
type=Creature
subtype=Vampire Knight
power=4
toughness=4
[/card]
[card]
name=Bloodtallow Candle
auto={6}{T}{S}:target(creature) -5/-5 ueot
text={6}, {T}, Sacrifice Bloodtallow Candle: Target creature gets -5/-5 until end of turn.
mana={1}
type=Artifact
[/card]
[card]
name=Bloodthirsty Adversary
abilities=haste
auto=choice name(Don't add any counter) donothing
auto=choice name(Add 1 counter) ability$!may name(Pay to add 1 counter) pay({2}{R}) name(Pay to add 1 counter) all(mysource) name(Pay to add 1 counter) transforms((,newability[counter(1/1.1)],newability[name(Exile 1 card) target(*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 2 counters) ability$!may name(Pay to add 2 counters) pay({4}{R}{R}) name(Pay to add 2 counters) all(mysource) name(Pay to add 2 counters) transforms((,newability[counter(1/1.2)],newability[name(Exile 2 cards) target(<2>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 3 counters) ability$!may name(Pay to add 3 counters) pay({6}{R}{R}{R}) name(Pay to add 3 counters) all(mysource) name(Pay to add 3 counters) transforms((,newability[counter(1/1.3)],newability[name(Exile 3 cards) target(<3>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 4 counters) ability$!may name(Pay to add 4 counters) pay({8}{R}{R}{R}{R}) name(Pay to add 4 counters) all(mysource) name(Pay to add 4 counters) transforms((,newability[counter(1/1.4)],newability[name(Exile 4 cards) target(<4>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 5 counters) ability$!may name(Pay to add 5 counters) pay({10}{R}{R}{R}{R}{R}) name(Pay to add 5 counters) all(mysource) name(Pay to add 5 counters) transforms((,newability[counter(1/1.5)],newability[name(Exile 5 cards) target(<5>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 6 counters) ability$!may name(Pay to add 6 counters) pay({12}{R}{R}{R}{R}{R}{R}) name(Pay to add 6 counters) all(mysource) name(Pay to add 6 counters) transforms((,newability[counter(1/1.6)],newability[name(Exile 6 cards) target(<6>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 7 counters) ability$!may name(Pay to add 7 counters) pay({14}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 7 counters) all(mysource) name(Pay to add 7 counters) transforms((,newability[counter(1/1.7)],newability[name(Exile 7 cards) target(<7>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 8 counters) ability$!may name(Pay to add 8 counters) pay({16}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 8 counters) all(mysource) name(Pay to add 8 counters) transforms((,newability[counter(1/1.8)],newability[name(Exile 8 cards) target(<8>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 9 counters) ability$!may name(Pay to add 9 counters) pay({18}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 9 counters) all(mysource) name(Pay to add 9 counters) transforms((,newability[counter(1/1.9)],newability[name(Exile 9 cards) target(<9>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 10 counters) ability$!may name(Pay to add 10 counters) pay({20}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 10 counters) all(mysource) name(Pay to add 10 counters) transforms((,newability[counter(1/1.10)],newability[name(Exile 10 cards) target(<10>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 11 counters) ability$!may name(Pay to add 11 counters) pay({22}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 11 counters) all(mysource) name(Pay to add 11 counters) transforms((,newability[counter(1/1.11)],newability[name(Exile 11 card) target(<11>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 12 counters) ability$!may name(Pay to add 12 counters) pay({24}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 12 counters) all(mysource) name(Pay to add 12 counters) transforms((,newability[counter(1/1.12)],newability[name(Exile 12 cards) target(<12>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 13 counters) ability$!may name(Pay to add 13 counters) pay({26}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 13 counters) all(mysource) name(Pay to add 13 counters) transforms((,newability[counter(1/1.13)],newability[name(Exile 13 cards) target(<13>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 14 counters) ability$!may name(Pay to add 14 counters) pay({28}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 14 counters) all(mysource) name(Pay to add 14 counters) transforms((,newability[counter(1/1.14)],newability[name(Exile 14 cards) target(<14>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 15 counters) ability$!may name(Pay to add 15 counters) pay({30}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 15 counters) all(mysource) name(Pay to add 15 counters) transforms((,newability[counter(1/1.15)],newability[name(Exile 15 cards) target(<15>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 16 counters) ability$!may name(Pay to add 16 counters) pay({32}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 16 counters) all(mysource) name(Pay to add 16 counters) transforms((,newability[counter(1/1.16)],newability[name(Exile 16 cards) target(<16>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 17 counters) ability$!may name(Pay to add 17 counters) pay({34}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 17 counters) all(mysource) name(Pay to add 17 counters) transforms((,newability[counter(1/1.17)],newability[name(Exile 17 cards) target(<17>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 18 counters) ability$!may name(Pay to add 18 counters) pay({36}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 18 counters) all(mysource) name(Pay to add 18 counters) transforms((,newability[counter(1/1.18)],newability[name(Exile 18 cards) target(<18>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 19 counters) ability$!may name(Pay to add 19 counters) pay({38}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 19 counters) all(mysource) name(Pay to add 19 counters) transforms((,newability[counter(1/1.19)],newability[name(Exile 19 cards) target(<19>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
auto=choice name(Add 20 counters) ability$!may name(Pay to add 20 counters) pay({40}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) name(Pay to add 20 counters) all(mysource) name(Pay to add 20 counters) transforms((,newability[counter(1/1.20)],newability[name(Exile 20 cards) target(<20>*[instant;sorcery]|mygraveyard) moveto(myexile) and!( transforms((,newability[may name(Cast from exile) activate castcard(copied)])) oneshot )!])) oneshot!$ controller
text=Haste -- When Bloodthirsty Adversary enters the battlefield, you may pay {2}{R} any number of times. When you pay this cost one or more times, put that many +1/+1 counters on Bloodthirsty Adversary, then exile that many target instant and/or sorcery cards with mana value 3 or less from your graveyard and copy them. You may cast any number of the copies without paying their mana costs.
type=Creature
subtype=Vampire
mana={1}{R}
power=2
toughness=2
[/card]
[card]
name=Bloodthirsty Aerialist
abilities=flying
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1,1)
text=Flying -- Whenever you gain life, put a +1/+1 counter on Bloodthirsty Aerialist.
mana={1}{B}{B}
type=Creature
subtype=Vampire Rogue
power=2
toughness=3
[/card]
[card]
name=Bloodtithe Collector
abilities=flying
auto=if compare(oplifelost)~morethan~0 then ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ opponent
text=Flying -- When Bloodtithe Collector enters the battlefield, if an opponent lost life this turn, each opponent discards a card.
mana={4}{B}
type=Creature
subtype=Vampire Noble
power=3
toughness=4
[/card]
[card]
name=Bloodtracker
abilities=flying
auto={B}{L:2}:counter(1/1)
auto=@movedTo(this|nonbattlezone) from(battlefield):thisforeach(counter{1/1,1}) draw:1 controller
text=Flying -- {B}, Pay 2 life: Put a +1/+1 counter on Bloodtracker. -- When Bloodtracker leaves the battlefield, draw a card for each +1/+1 counter on it.
mana={3}{B}
type=Creature
subtype=Vampire Wizard
power=2
toughness=2
[/card]
[card]
name=Bloodwater Entity
abilities=flying,prowess
auto=may moveto(mylibrary) target(instant,sorcery|mygraveyard)
auto=@movedTo(*[-creature]|mystack):1/1 ueot
text=Flying -- Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- When Bloodwater Entity enters the battlefield, you may put target instant or sorcery card from your graveyard on top of your library.
mana={1}{U}{R}
type=Creature
subtype=Elemental
power=2
toughness=2
[/card]
[card]
name=Bloom Hulk
auto=_PROLIFERATE_
text=When Bloom Hulk enters the battlefield, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={3}{G}
type=Creature
subtype=Plant Elemental
power=4
toughness=4
[/card]
[card]
name=Blossom Dryad
auto={T}:untap target(land)
text={T}: Untap target land.
mana={2}{G}
type=Creature
subtype=Dryad
power=2
toughness=2
[/card]
[card]
name=Blossoming Bogbeast
auto=_ATTACKING_life:2 controller && all(creature|mybattlefield) transforms((,newability[lifegain/lifegain],newability[trample])) ueot
text=Whenever Blossoming Bogbeast attacks, you gain 2 life. Then creatures you control gain trample and get +X/+X until end of turn, where X is the amount of life you gained this turn.
mana={4}{G}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Blossoming Calm
auto=life:2 controller
auto=all(*|myBattlefield) transforms((,newability[controllershroud])) uynt
auto=token(BlossomingEffect,BlossomingEffect,0/0,shroud,indestructible,controllershroud) and!( transforms((,newability[phaseaction[opponent end once sourceinplay] sacrifice])) forever )!
auto=_REBOUND_
text=You gain hexproof until your next turn. You gain 2 life. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
mana={W}
type=Instant
[/card]
[card]
name=Blot Out the Sky
auto=token(Inkling,Creature Inkling,2/1,white,black,flying)*x and!( tap(noevent) )!
auto=this(X>=6) all(*[-creature;-land]|battlefield) destroy
text=Create X tapped 2/1 white and black Inkling creature tokens with flying. If X is 6 or more, destroy all noncreature, nonland permanents.
mana={X}{W}{B}
type=Sorcery
[/card]
[card]
name=Blow Your House Down
target=<upto:3>creature
auto=transforms((,newability[cantblock],newability[if cantargetcard(*[wall]|*) then destroy])) ueot
text=Up to three target creatures can't block this turn. Destroy any of them that are Walls.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Blue Dragon
abilities=flying
auto=if type(creature|opponentbattlefield)~equalto~1 then name(Creature gets -3/0) name(Creature gets -3/0) target(creature|opponentbattlefield) transforms((,newability[-3/0])) uynt
auto=if type(creature|opponentbattlefield)~morethan~1 then name(Creature gets -3/0) name(Creature gets -3/0) target(creature|opponentbattlefield) transforms((,newability[-3/0],newability[counter(0/0.1.DragonEffect)],newability[counter(0/0.1.DragonEffect3)])) uynt
auto=@counteradded(0/0.1.DragonEffect3) from(creature|opponentbattlefield) once:if cantargetcard(*[fresh]|*) then may name(Creature gets -2/0) name(Creature gets -2/0) target(creature[-counter{0/0.1.DragonEffect}]|opponentbattlefield) transforms((,newability[-2/0],newability[counter(0/0.1.DragonEffect)],newability[counter(0/0.1.DragonEffect2)])) uynt
auto=@counteradded(0/0.1.DragonEffect2) from(creature|opponentbattlefield) once:if cantargetcard(*[fresh]|*) then may name(Creature gets -1/0) name(Creature gets -1/0) target(creature[-counter{0/0.1.DragonEffect}]|opponentbattlefield) transforms((,newability[-1/0],newability[all(creature|mybattlefield) removeallcounters(0/0.1.DragonEffect)],newability[all(creature|mybattlefield) removeallcounters(0/0.1.DragonEffect3)],newability[all(creature|mybattlefield) removeallcounters(0/0.1.DragonEffect2)])) uynt
auto=@each endofturn:if cantargetcard(*[fresh]|*) then all(creature[counter{0/0.1.DragonEffect}]|opponentbattlefield) transforms((,newability[removeallcounters(0/0.1.DragonEffect)],newability[removeallcounters(0/0.1.DragonEffect3)],newability[removeallcounters(0/0.1.DragonEffect2)])) forever
text=Flying -- Lightning Breath - When Blue Dragon enters the battlefield, until your next turn, target creature an opponent controls gets -3/-0, up to one other target creature gets -2/-0, and up to one other target creature gets -1/-0.
mana={5}{U}{U}
type=Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Blur of Blades
target=creature
auto=counter(-1/-1,1)
auto=damage:2 targetcontroller
text=Put a -1/-1 counter on target creature. Blur of Blades deals 2 damage to that creature's controller.
mana={1}{R}
type=Instant
[/card]
[card]
name=Boar
auto=@movedto(this|ownergraveyard) from(battlefield):token(Food)
text=When this creature dies, create a Food token. (A Food token is an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
type=Creature
subtype=Boar
power=1
toughness=1
[/card]
[card]
name=Board the Weatherlight
auto=reveal:5 optionone name(Get historic) target(*[artifact;legendary;saga]|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top five cards of your library. You may reveal a historic card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. (Artifacts, legendaries, and Sagas are historic.)
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Boarding Party
abilities=haste
autostack=if casted(this) then cascade:plibrarycount
text=Haste -- Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={5}{R}
type=Creature
subtype=Human Pirate
power=6
toughness=3
[/card]
[card]
name=Body of Knowledge
abilities=nomaxhand
anyzone=type:*:myhand/type:*:myhand cdaactive
auto=_ENRAGE_draw:thatmuch controller
text=Body of Knowledge's power and toughness are each equal to the number of cards in your hand. -- You have no maximum hand size. -- Whenever Body of Knowledge is dealt damage, draw that many cards.
mana={3}{U}{U}
type=Creature
subtype=Avatar
power=*
toughness=*
[/card]
[card]
name=Body of Research
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1,type:*:mylibrary) )!
text=Create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is the number of cards in your library.
mana={G}{G}{G}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Bog Naughty
abilities=flying
auto={3}{B}{S(food|myBattlefield)}:target(creature) -3/-3 ueot
text=Flying -- {2}{B}, Sacrifice a Food: Target creature gets -3/-3 until end of turn.
mana={3}{B}{B}
type=Creature
subtype=Faerie
power=3
toughness=3
[/card]
[card]
name=Bogardan Dragonheart
auto={S(other creature|mybattlefield)}:becomes(Creature Dragon,4/4,flying,haste) ueot
text=Sacrifice another creature: Until end of turn, Bogardan Dragonheart becomes a Dragon with base power and toughness 4/4, flying, and haste.
mana={2}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Bogardan Hellkite
abilities=flash,flying
auto=thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
text=Flash -- Flying -- When Bogardan Hellkite enters the battlefield, it deals 5 damage divided as you choose among any number of targets.
mana={6}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Bogstomper
mana={4}{B}{B}
type=Creature
subtype=Beast
power=6
toughness=5
[/card]
[card]
name=Bolas's Citadel
abilities=showfromtoplibrary,canplaylandlibrarytop
auto=this(variable{type:*[-land;zpos=1]:mylibrary}>0) {0}:name(Pay life and play from top) name(Pay life and play from top) all(*[-land;zpos=1]|mylibrary) transforms((,newability[activate castcard(normal)],newability[life:-manacost controller])) forever
auto=this(variable{type:*[-land]:mybattlefield}>9) {T}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}{S(*[-land]|myBattlefield)}:name(Sacrifice 10 permanent) name(Sacrifice 10 permanent) life:-10 opponent
text=You may look at the top card of your library any time. -- You may play the top card of your library. If you cast a spell this way, pay life equal to its converted mana cost rather than pay its mana cost. -- {T}, Sacrifice ten nonland permanents: Each opponent loses 10 life.
mana={3}{B}{B}{B}
type=Legendary Artifact
[/card]
[card]
name=Bold Plagiarist
abilities=flash
auto=@counteradded(1/1) from(creature|opponentbattlefield):counter(1/1)
auto=@counteradded(-1/-1) from(creature|opponentbattlefield):counter(-1/-1)
auto=@counteradded(0/0,1,Vigilance) from(creature|opponentbattlefield):counter(0/0,1,Vigilance)
auto=@counteradded(0/0,1,Reach) from(creature|opponentbattlefield):counter(0/0,1,Reach)
auto=@counteradded(0/0,1,Trample) from(creature|opponentbattlefield):counter(0/0,1,Trample)
auto=@counteradded(0/0,1,Flying) from(creature|opponentbattlefield):counter(0/0,1,Flying)
auto=@counteradded(0/0,1,Menace) from(creature|opponentbattlefield):counter(0/0,1,Menace)
auto=@counteradded(0/0,1,Double Strike) from(creature|opponentbattlefield):counter(0/0,1,Double Strike)
auto=@counteradded(0/0,1,First Strike) from(creature|opponentbattlefield):counter(0/0,1,First Strike)
auto=@counteradded(0/0,1,Deathtouch) from(creature|opponentbattlefield):counter(0/0,1,Deathtouch)
auto=@counteradded(0/0,1,Lifelink) from(creature|opponentbattlefield):counter(0/0,1,Lifelink)
auto=@counteradded(0/0,1,Hexproof) from(creature|opponentbattlefield):counter(0/0,1,Hexproof)
auto=@counteradded(0/0,1,Indestructible) from(creature|opponentbattlefield):counter(0/0,1,Indestructible)
auto=@counteradded(0/0,1,Lore) from(creature|opponentbattlefield):counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Time) from(creature|opponentbattlefield):counter(0/0,1,Time)
auto=@counteradded(0/0,1,Fade) from(creature|opponentbattlefield):counter(0/0,1,Fade)
auto=@counteradded(0/0,1,Egg) from(creature|opponentbattlefield):counter(0/0,1,Egg)
auto=@counteradded(0/0,1,loyalty) from(creature|opponentbattlefield):counter(0/0,1,loyalty)
auto=@counteradded(0/0,1,Charge) from(creature|opponentbattlefield):counter(0/0,1,Charge)
auto=@counteradded(0/0,1,flood) from(creature|opponentbattlefield):counter(0/0,1,flood)
auto=@counteradded(0/0,1,Page) from(creature|opponentbattlefield):counter(0/0,1,Page)
auto=@counteradded(0/0,1,Ice) from(creature|opponentbattlefield):counter(0/0,1,Ice)
auto=@counteradded(0/0,1,Storage) from(creature|opponentbattlefield):counter(0/0,1,Storage)
auto=@counteradded(0/0,1,Fury) from(creature|opponentbattlefield):counter(0/0,1,Fury)
auto=@counteradded(0/0,1,Bounty) from(creature|opponentbattlefield):counter(0/0,1,Bounty)
auto=@counteradded(0/0,1,gold) from(creature|opponentbattlefield):counter(0/0,1,gold)
auto=@counteradded(0/0,1,Blood) from(creature|opponentbattlefield):counter(0/0,1,Blood)
auto=@counteradded(0/0,1,Aim) from(creature|opponentbattlefield):counter(0/0,1,Aim)
auto=@counteradded(0/0,1,Task) from(creature|opponentbattlefield):counter(0/0,1,Task)
auto=@counteradded(0/0,1,Level) from(creature|opponentbattlefield):counter(0/0,1,Level)
auto=@counteradded(0/0,1,doom) from(creature|opponentbattlefield):counter(0/0,1,doom)
auto=@counteradded(0/0,1,eyeball) from(creature|opponentbattlefield):counter(0/0,1,eyeball)
auto=@counteradded(0/0,1,brick) from(creature|opponentbattlefield):counter(0/0,1,brick)
auto=@counteradded(0/0,1,Magnet) from(creature|opponentbattlefield):counter(0/0,1,Magnet)
auto=@counteradded(0/0,1,hour) from(creature|opponentbattlefield):counter(0/0,1,hour)
auto=@counteradded(0/0,1,Incarnation) from(creature|opponentbattlefield):counter(0/0,1,Incarnation)
auto=@counteradded(0/0,1,Foreshadow) from(creature|opponentbattlefield):counter(0/0,1,Foreshadow)
auto=@counteradded(0/0,1,Growth) from(creature|opponentbattlefield):counter(0/0,1,Growth)
auto=@counteradded(0/0,1,Ki) from(creature|opponentbattlefield):counter(0/0,1,Ki)
auto=@counteradded(0/0,1,Soot) from(creature|opponentbattlefield):counter(0/0,1,Soot)
auto=@counteradded(0/0,1,Fungus) from(creature|opponentbattlefield):counter(0/0,1,Fungus)
auto=@counteradded(0/0,1,Prey) from(creature|opponentbattlefield):counter(0/0,1,Prey)
auto=@counteradded(0/0,1,knowledge) from(creature|opponentbattlefield):counter(0/0,1,knowledge)
auto=@counteradded(0/0,1,landmark) from(creature|opponentbattlefield):counter(0/0,1,landmark)
auto=@counteradded(0/0,1,Sleep) from(creature|opponentbattlefield):counter(0/0,1,Sleep)
auto=@counteradded(0/0,1,wish) from(creature|opponentbattlefield):counter(0/0,1,wish)
auto=@counteradded(0/0,1,Verse) from(creature|opponentbattlefield):counter(0/0,1,Verse)
auto=@counteradded(0/0,1,Slumber) from(creature|opponentbattlefield):counter(0/0,1,Slumber)
auto=@counteradded(0/0,1,Luck) from(creature|opponentbattlefield):counter(0/0,1,Luck)
auto=@counteradded(0/0,1,Coin) from(creature|opponentbattlefield):counter(0/0,1,Coin)
auto=@counteradded(0/0,1,Depletion) from(creature|opponentbattlefield):counter(0/0,1,Depletion)
text=Flash -- Whenever an opponent puts one or more counters on a creature they control, they put the same number and kind of counters on Bold Plagiarist.
mana={3}{B}
type=Creature
subtype=Vampire Rogue
power=2
toughness=2
[/card]
[card]
name=Bolrac-Clan Crusher
auto={T}{C(1/1,-1),creature|mybattlefield}:damage:2 target(player,creature,planeswalker) 
text={T}, Remove a +1/+1 counter from a creature you control: Bolrac-Clan Crusher deals 2 damage to any target.
mana={3}{R}{G}
type=Creature
subtype=Ogre Warrior
power=4
toughness=4
[/card]
[card]
name=Bolt Bend
target=*[instant;sorcery]|stack
auto=fizzle
auto=activate castcard(copied noevent)
other={R} name(Reduced cast)
otherrestriction=type(creature[power>=4]|mybattlefield)~morethan~0
text=This spell costs {3} less to cast if you control a creature with power 4 or greater. -- Change the target of target spell or ability with a single target.
mana={3}{R}
type=Instant
[/card]
[card]
name=Bolt Hound
abilities=haste
auto=@combat(attakcing) source(this):all(other creature|myBattlefield) 1/0 ueot
text=Haste (This creature can attack and {T} as soon as it comes under your control.) -- Whenever Bolt Hound attacks, other creatures you control get +1/+0 until end of turn.
mana={2}{R}
type=Creature
subtype=Elemental Dog
power=2
toughness=2
[/card]
[card]
name=Bomat Courier
abilities=haste
auto=@combat(attacking) source(this):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0,1,BomatExiled) )!
auto={R}{S}:name(Return all exiled cards) discard:phandcount && transforms((,newability[all(*[counter{0/0.1.BomatExiled}]|myexile) moveto(ownerhand)])) oneshot
text=Haste -- Whenever Bomat Courier attacks, exile the top card of your library face down. (You can't look at it.) -- {R}, Discard your hand, Sacrifice Bomat Courier: Put all cards exiled with Bomat Courier into their owners' hands.
mana={1}
type=Artifact Creature
subtype=Construct
power=1
toughness=1
[/card]
[card]
name=Bombard
target=creature
auto=damage:4
text=Bombard deals 4 damage to target creature.
mana={2}{R}
type=Instant
[/card]
[card]
name=Bond of Agony
auto=life:-X controller
auto=life:-X opponent
text=As an additional cost to cast Bond of Agony, pay X life. -- Each other player loses X life.
mana={X}{B}
type=Sorcery
[/card]
[card]
name=Bond of Discipline
auto=all(creature|opponentBattlefield) tap
auto=all(creature|myBattlefield) lifelink
text=Tap all creatures your opponents control. Creatures you control gain lifelink until end of turn.
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Bond of Flourishing
auto=reveal:3 optionone name(Get a card) target(*[-instant;-sorcery]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=life:3
text=Look at the top three cards of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in any order. You gain 3 life.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Bond of Insight
auto=deplete:4
auto=deplete:4 opponent
auto=target(<upto:2>*[instant;sorcery]|mygraveyard) moveto(ownerhand)
auto=moveto(exile)
text=Each player puts the top four cards of their library into their graveyard. Return up to two instant and/or sorcery cards from your graveyard to your hand. Exile Bond of Insight.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Bond of Passion
target=creature
auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
auto=damage:2 target(creature,player)
text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. Bond of Passion deals 2 damage to any other target.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Bond of Revival
target=creature|mygraveyard
auto=moveTo(mybattlefield) && transforms((,haste)) uynt
text=Return target creature card from your graveyard to the battlefield. It gains haste until your next turn.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Bonded Horncrest
auto=@combat(attacking) source(this) restriction{type(creature[attacking]|myBattlefield)~equalto~1}:all(this) removefromcombat && untap
auto=@combat(blocking) source(this) restriction{type(creature[blocking]|myBattlefield)~equalto~1}:all(this) removefromcombat && untap
text=Bonded Horncrest can't attack or block alone.
mana={3}{R}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Bonder's Ornament
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
auto={4}{T}:if type(artifact[Bonder's Ornament]|myBattlefield) then draw:1 controller && if type(artifact[Bonder's Ornament]|opponentBattlefield) then draw:1 controller
text={T}: Add one mana of any color. -- {4}, {T}: Each player who controls a permanent named Bonder's Ornament draws a card.
mana={3}
type=Artifact
[/card]
[card]
name=Bonders' Enclave
auto={T}:Add{1}
auto={3}{T} restriction{type(creature[power>=4]|mybattlefield)~morethan~0}:draw:1 controller
text={T}: Add {1}. -- {3}, {T}: Draw a card. Activate this ability only if you control a creature with power 4 or greater.
type=Land
[/card]
[card]
name=Bone Dragon
abilities=flying
auto={3}{B}{B}:moveto(exile) notatarget(<7>*|mygraveyard):moveto(myBattlefield) && tap
text=Flying -- {3}{B}{B}, Exile seven other cards from your graveyard: Return Bone Dragon from your graveyard to the battlefield tapped.
mana={3}{B}{B}
type=Creature
subtype=Dragon Skeleton
power=5
toughness=4
[/card]
[card]
name=Bone Miser
auto=@discarded(creature|myhand):token(Zombie,Creature Zombie,2/2,black)
auto=@discarded(land|myhand):add{B}{B}
auto=@discarded(*[-land;-creature]|myhand):draw:1
text=Whenever you discard a creature card, create a 2/2 black Zombie creature token. -- Whenever you discard a land card, add {B}{B}. -- Whenever you discard a noncreature, nonland card, draw a card.
mana={4}{B}
type=Creature
subtype=Zombie Wizard
power=4
toughness=4
[/card]
[card]
name=Bone Picker
abilities=flying, deathtouch
autohand=@movedto(*|graveyard) from(battlefield):altercost(colorless,-3) ueot
text=Bone Picker costs {3} less to cast if a creature died this turn. -- Flying, deathtouch
mana={3}{B}
type=Creature
subtype=Bird
power=3
toughness=2
[/card]
[card]
name=Bone Pit Brute
abilities=menace
auto=target(creature) 4/0 ueot
text=Menace (This creature can't be blocked except by two or more creatures.) -- When Bone Pit Brute enters the battlefield, target creature gets +4/+0 until end of turn.
mana={4}{R}{R}
type=Creature
subtype=Cyclops
power=4
toughness=5
[/card]
[card]
name=Bone Shards
target=creature,planeswalker
other={B}{D(*|myHand)} name(Discard a card)
otherrestriction=type(*|myhand)~morethan~0
restriction=type(creature|myBattlefield)~morethan~0
auto=destroy
text=As an additional cost to cast this spell, sacrifice a creature or discard a card. -- Destroy target creature or planeswalker.
mana={B}{S(creature|myBattlefield)}
type=Sorcery
[/card]
[card]
name=Boneclad Necromancer
auto=may moveTo(Exile) target(creature|graveyard) && create(zombie:creature zombie:2/2:black)
text=When Boneclad Necromancer enters the battlefield, you may exile target creature card from a graveyard. If you do, create a 2/2 black Zombie creature token.
mana={3}{B}{B}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Bonecrusher Giant // Stomp
abilities=adventure,asflash
restriction=can play creature
other={1}{R} name(Adventure)
#MISSING: damage can't be prevented
auto=if paid(alternative) then name(Deals 2 damage) name(Deals 2 damage) damage:2 target(player,creature,planeswalker)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=@targeted(this) from(*|opponentzones):name(Deals 2 damage) damage:2 opponent
auto=@targeted(this) from(*|myzones):name(Deals 2 damage) damage:2 controller
text=Whenever Bonecrusher Giant becomes the target of a spell, Bonecrusher Giant deals 2 damage to that spell's controller. // Damage can't be prevented this turn. Stomp deals 2 damage to any target.
mana={2}{R}
type=Creature
subtype=Giant
power=4
toughness=3
[/card]
[card]
name=Boneyard Aberration
auto=exiledeath
auto=@movedto(this|myexile):name(Conjure Reassembling Skeleton) transforms((,newability[name(Conjure Reassembling Skeleton) conjure cards(Reassembling Skeleton) zone(mygraveyard)],newability[name(Conjure Reassembling Skeleton) conjure cards(Reassembling Skeleton) zone(mygraveyard)],newability[name(Conjure Reassembling Skeleton) conjure cards(Reassembling Skeleton) zone(mygraveyard)])) oneshot
text=When Boneyard Aberration dies, exile it. If you do, conjure three Reassembling Skeleton cards into your graveyard.
mana={4}{B}
type=Creature
subtype=Skeleton Dog
power=3
toughness=3
[/card]
[card]
name=Boneyard Lurker
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{BG}{BG} name(Mutate)
auto=transforms((,newability[@mutated(this):moveto(myhand) target(*|mygraveyard)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{BG}{BG} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, return target permanent card from your graveyard to your hand.
mana={2}{B}{G}
type=Creature
subtype=Nightmare Beast
power=4
toughness=4
[/card]
[card]
name=Boneyard Mycodrax
anyzone=type:creature:myGraveyard/type:creature:myGraveyard cdaactive
autograveyard={4}{G}{G}{E}:name(scavenge) counter(1/1,type:creature:myGraveyard) target(creature) asSorcery
text=Boneyard Mycodrax's power and toughness are each equal to the number of other creature cards in your graveyard. -- Scavenge {4}{B} ({4}{B}, Exile this card from your graveyard: Put a number of +1/+1 counters equal to this card's power on target creature. Scavenge only as a sorcery.)
mana={2}{B}
type=Creature
subtype=Fungus
power=*
toughness=*
[/card]
[card]
name=Boneyard Parley
target=<upto:2>creature|graveyard
auto=moveto(mybattlefield)
text=Exile up to five target creature cards from graveyards. An opponent separates those cards into two piles. Put all cards from the pile of your choice onto the battlefield under your control and the rest into their owners' graveyards.
mana={5}{B}{B}
type=Sorcery
[/card]
[card]
name=Boneyard Scourge
abilities=flying
autograveyard=@movedto(creature[Dragon]|graveyard) from(myBattlefield):may pay({1}{B}):moveTo(myBattlefield) all(this)
text=Flying -- Whenever a Dragon you control dies while Boneyard Scourge is in your graveyard, you may pay {1}{B}. If you do, return Boneyard Scourge from your graveyard to the battlefield.
mana={2}{B}{B}
type=Creature
subtype=Zombie Dragon
power=4
toughness=3
[/card]
[card]
name=Bonfire of the Damned
target=player
auto=ifnot paid(alternative) then thisforeach(variable{halfpaid}>0) damage:1 && damage:1 all(creature|targetedpersonsbattlefield)
auto=if paid(alternative) then thisforeach(X>0) damage:1 && damage:1 all(creature|targetedpersonsbattlefield)
autohand={X}{R} restriction{miracle,type(Bonfire of the Damned[fresh]|myhand)~morethan~0}:name(Miracle) target(Bonfire of the Damned[fresh]|myhand) activate name(Miracle) castcard(alternative restricted)
text=Bonfire of the Damned deals X damage to target player and each creature he or she controls. -- Miracle {X}{R} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.)
mana={X}{X}{R}
type=Sorcery
[/card]
[card]
name=Bontu the Glorified
abilities=menace,indestructible,cantattack,cantblock
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantattack ueot
auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantblock ueot
auto={1}{B}{S(other creature|mybattlefield)}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend && life:-1 opponent && life:1 controller
text=Menace, indestructible -- Bontu the Glorified can't attack or block unless a creature died under your control this turn. -- {1}{B}, Sacrifice another creature: Scry 1. Each opponent loses 1 life and you gain 1 life.
mana={2}{B}
type=Legendary Creature
subtype=God
power=4
toughness=6
[/card]
[card]
name=Bontu's Last Reckoning
auto=destroy all(creature)
auto=all(land|mybattlefield) frozen
text=Destroy all creatures. Lands you control don't untap during your next untap step.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Bontu's Monument
auto=@movedto(creature|mystack):life:-1 opponent && life:1 controller
auto=lord(creature[black]|mycastingzone) altercost(colorless,-1)
text=Black creature spells you cast cost {1} less to cast. -- Whenever you cast a creature spell, each opponent loses 1 life and you gain 1 life.
mana={3}
type=Legendary Artifact
[/card]
[card]
name=Book Devourer
abilities=trample
auto=@combatdamaged(player) from(this):all(*|myhand) transforms((,newability[draw:1],newability[reject])]))
text=Trample -- Whenever Book Devourer deals combat damage to a player, you may discard all the cards in your hand. If you do, draw that many cards.
mana={5}{R}
type=Creature
subtype=Beast
power=4
toughness=5
[/card]
[card]
name=Bookwurm
abilities=trample
auto=life:3 controller
auto=draw:1 controller
autograveyard={2}{G}:placefromthetop(3)
text=Trample -- When Bookwurm enters the battlefield, you gain 3 life and draw a card. -- {2}{G}: Put Bookwurm from your graveyard into your library third from the top.
mana={7}{G}
type=Creature
subtype=Wurm
power=7
toughness=7
[/card]
[card]
name=Boom // Bust
target=land|myBattlefield
other={5}{R} name(Bust)
auto=if paid(alternative) then destroy all(land)
auto=ifnot paid(alternative) then destroy && target(land|opponentBattlefield) destroy
text=Destroy target land you control and target land you don't control. // Destroy all lands.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Boon Reflection
abilities=lifefaker
auto=@lifeof(player) from(*[-Boon Reflection]):life:thatmuch
text=If you would gain life, you gain twice that much life instead.
mana={4}{W}
type=Enchantment
[/card]
[card]
name=Boon of the Wish-Giver
abilities=cycling
auto=draw:4 controller
autohand=__CYCLING__({1})
text=Draw four cards. -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Boot Nipper
auto=this(counter{0/0.1.Deathtouch}>=1) deathtouch
auto=this(counter{0/0.1.Lifelink}>=1) lifelink
auto=choice name(Deathtouch counter) counter(0/0,1,Deathtouch)
auto=choice name(Lifelink counter) counter(0/0,1,Lifelink)
text=Boot Nipper enters the battlefield with your choice of a deathtouch counter or a lifelink counter on it.
mana={1}{B}
type=Creature
subtype=Beast
power=2
toughness=1
[/card]
[card]
name=Boots of Speed
auto={1}:equip
auto=teach(creature) 1/0
auto=teach(creature) haste
text=Equipped creature gets +1/+0 and has haste. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Boreal Elemental
abilities=flying
auto=@targeted(this) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Flying -- Spells your opponents cast that target Boreal Elemental cost {2} more to cast.
mana={4}{U}
type=Creature
sybtype=Elemental
power=3
toughness=4
[/card]
[card]
name=Boreal Outrider
auto=this(variable{mysnowpoolcount}>0) transforms((,newability[@movedto(creature[-colorless]|mybattlefield) restriction{compare(mysnowpoolcount)~equalto~0} once:all(trigger[to]) counter(1/1)])) ueot
auto=@movedto(creature[-colorless]|mybattlefield):this(variable{mysnowpoolcount}>0) all(trigger[to]) counter(1/1)
text=Whenever you cast a creature spell, if {S}i} of any of that spell's color was spent to cast it, that creature enters the battlefield with an additional +1/+1 counter on it. ({S}i} is mana from a snow source.)
mana={2}{G}
type=Snow Creature
subtype=Elf Warrior
power=3
toughness=2
[/card]
[card]
name=Boros Challenger
abilities=mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto={2}{R}{W}:1/1 ueot
text=Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- {2}{R}{W}: Boros Challenger gets +1/+1 until end of turn.
mana={R}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Boros Locket
auto={T}:Add{R}
auto={T}:Add{W}
auto={RW}{RW}{RW}{RW}{T}{S}:draw:2
text={T}: Add {R} or {W}. -- {R/W}{R/W}{R/W}{R/W}, {T}, Sacrifice Boros Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Borrowed Grace
other={3}{W}{W} name(Escalate)
auto=if paid(alternative) then all(creature|myBattlefield) 2/2 ueot ueot
auto=ifnot paid(alternative) then choice name(Creatures my control get +2/+0) all(creature|myBattlefield) 2/0 ueot
auto=ifnot paid(alternative) then choice name(Creatures my control get +0/+2) all(creature|myBattlefield) 0/2 ueot
text=Escalate {1}{W} (Pay this cost for each mode chosen beyond the first.) -- Choose one or both -- Creatures you control get +2/+0 until end of turn. -- Creatures you control get +0/+2 until end of turn.
mana={2}{W}
type=Instant
[/card]
[card]
name=Borrowed Hostility
target=creature
other={3}{R} name(Escalate)
auto=if paid(alternative) then 3/0 ueot
auto=if paid(alternative) then first strike target(creature) ueot
auto=ifnot paid(alternative) then choice name(Target creature gets +3/+0) 3/0 ueot
auto=ifnot paid(alternative) then choice name(Target creature gets first strike) first strike target(creature) ueot
text=Escalate {3} (Pay this cost for each mode chosen beyond the first.) -- Choose one or both -- Target creature gets +3/+0 until end of turn. -- Target creature gains first strike until end of turn.
mana={R}
type=Instant
[/card]
[card]
name=Borrowed Malevolence
target=creature
other={2}{B} name(Escalate)
auto=if paid(alternative) then 1/1 ueot
auto=if paid(alternative) then target(creature) -1/-1 ueot
auto=ifnot paid(alternative) then choice name(Target creature gets +1/+1) 1/1 ueot
auto=ifnot paid(alternative) then choice name(Target creature gets -1/-1) -1/-1 ueot
text=Escalate {2} (Pay this cost for each mode chosen beyond the first.) -- Choose one or both -- Target creature gets +1/+1 until end of turn. -- Target creature gets -1/-1 until end of turn.
mana={B}
type=Instant
[/card]
[card]
name=Borrowed Time
auto=(blink)forsrc target(*[-land]|opponentbattlefield)
text=When Borrowed Time enters the battlefield, exile target nonland permanent an opponent controls until Borrowed Time leaves the battlefield.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Boseiju, Who Shelters All
auto=tap(noevent)
auto={T}{L:2}:add{1} && target(*|mystack) nofizzle
text=Boseiju, Who Shelters All enters the battlefield tapped. -- {T}, Pay 2 life: Add {1} to your mana pool. If that mana is spent on an instant or sorcery spell, that spell can't be countered by spells or abilities.
type=Legendary Land
[/card]
[card]
name=Bosium Strip
auto={3}{T}:name(Can cast instant or sorcery) target(*[instant;sorcery;zpos=type:*:mygraveyard]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath])) ueot
text={3}, {T}: Until end of turn, if the top card of your graveyard is an instant or sorcery card, you may cast that card. If a card cast this way would be put into a graveyard this turn, exile it instead.
mana={3}
type=Artifact
[/card]
[card]
name=Bottle Golems
abilities=trample
auto=_DIES_name(Gain life) life:power controller
text=Trample -- When Bottle Golems dies, you gain life equal to its power.
mana={4}
type=Artifact Creature
subtype=Golem
power=3
toughness=3
[/card]
[card]
name=Bottled Cloister
auto=@each opponent upkeep:all(*|myhand) moveto(ownerexile) and!( counter(0/0,1,BottledExiled) )!
auto=@each my upkeep:draw:1 controller
auto=@each my upkeep:all(*[counter{0/0.1.BottledExiled}]|myexile) moveto(myhand)
text=At the beginning of each opponent's upkeep, exile all cards from your hand face down. -- At the beginning of your upkeep, return all cards you own exiled with Bottled Cloister to your hand, then draw a card.
mana={4}
type=Artifact
[/card]
[card]
name=Boulderloft Pathway
auto={T}:add{W}
text={T}: Add {W}. // Branchloft Pathway
type=Land
[/card]
[card]
name=Bound // Determined
other={G}{U} name(Determined)
auto=if paid(alternative) then draw:1 controller
auto=if paid(alternative) then all(*|myzones) transforms((,newability[lord(*|mystack) nofizzle])) ueot
auto=ifnot paid(alternative) then name(Sacrifice a creature) name(Sacrifice a creature) target(creature|mybattlefield) transforms((,newability[sacrifice],newability[may name(Return cards) target(<upto:mycolnum>*|mygraveyard) moveto(myhand)])) oneshot
text=Sacrifice a creature. Return up to X cards from your graveyard to your hand, where X is the number of colors that creature was. Exile this card. // Other spells you control can't be countered by spells or abilities this turn. -- Draw a card.
mana={3}{B}{G}
type=Instant
[/card]
[card]
name=Bound in Gold
target=artifact,creature,enchantment,land,planeswalker
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=noactivatedability
text=Enchant permanent -- Enchanted permanent can't attack, block, or crew Vehicles, and its activated abilities can't be activated unless they're mana abilities.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Bounding Wolf
abilities=flash,reach
text=Flash -- Reach
type=Creature
subtype=Wolf
mana={2}{G}
power=3
toughness=2
[/card]
[card]
name=Bountiful Promenade
auto=tap(noevent)
auto={T}:Add{G}
auto={T}:Add{W}
text=Bountiful Promenade enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {G} or {W}.
type=Land
[/card]
[card]
name=Bounty Agent
abilities=vigilance
auto={T}{S}:destroy target(*[legendary;-land;-planeswalker])
text=Vigilance -- {T}, Sacrifice Bounty Agent: Destroy target legendary permanent that's an artifact, creature, or enchantment.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Bounty of Might
target=creature
auto=name(Target creature gets +3/+3) 3/3 ueot
auto=ability$!name(Target creature gets +3/+3) name(Target creature gets +3/+3) target(creature) 3/3 ueot!$ controller
auto=ability$!name(Target creature gets +3/+3) name(Target creature gets +3/+3) target(creature) 3/3 ueot!$ controller
text=Target creature gets +3/+3 until end of turn. -- Target creature gets +3/+3 until end of turn. -- Target creature gets +3/+3 until end of turn.
mana={4}{G}{G}
type=Instant
[/card]
[card]
name=Bounty of Skemfar
aicode=activate all(*[-land;-elf;zpos<=6]|mylibrary) moveto(mygraveyard) && target(elf[zpos<=6]|mylibrary) moveto(myhand) && target(land[zpos<=6]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!
auto=if type(land[zpos<=6]|mylibrary)~morethan~0 then if type(elf[zpos<=6]|mylibrary)~morethan~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get land) target(<upto:1>land|reveal) moveto(mybattlefield) and!( tap(noevent) )! optiononeend optiontwo name(Get elf) target(elf|reveal) moveto(myhand) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=if type(elf[zpos<=6]|mylibrary)~equalto~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get land) target(<upto:1>land|reveal) moveto(mybattlefield) and!( tap(noevent) )! optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=if type(land[zpos<=6]|mylibrary)~equalto~0 then name(Look top 6 cards) name(Look top 6 cards) reveal:6 optionone name(Get elf) target(<upto:1>elf|reveal) moveto(myhand) optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Reveal the top six cards of your library. You may put a land card from among them onto the battlefield tapped and an Elf card from among them into your hand. Put the rest on the bottom of your library in a random order.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Bounty of the Deep
other={2}{U} name(No lands in hand)
otherrestriction=type(land|myhand)~equalto~0
restriction=type(land|myhand)~morethan~0
auto=if paid(alternative) then name(Seek a land) name(Seek a land) moverandom(land) from(mylibrary) to(myhand)
auto=ifnot paid(alternative) then name(Seek a non-land) name(Seek a non-land) moverandom(*[-land]) from(mylibrary) to(myhand)
auto=name(Seek a non-land) name(Seek a non-land) moverandom(*[-land]) from(mylibrary) to(myhand)
text=If you have no land cards in your hand, seek a land card and a nonland card. Otherwise, seek two nonland cards.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Bounty of the Hunt
target=creature
restriction=type(creature|battlefield)~morethan~0
otherrestriction=type(creature|battlefield)~morethan~0
other={E(other *[green]|myhand)} name(Exile green card)
auto=transforms((,newability[counter(1/1) all(this)],newability[phaseaction[cleanup once] counter(1/1.-1) all(this)])) oneshot
auto=choice name(Give other 2 counters to 1 creature) name(Give other 2 counters to 1 creature) target(other creature) transforms((,newability[counter(1/1.2) all(this)],newability[phaseaction[cleanup once] counter(1/1.-2) all(this)])) oneshot
auto=if type(creature|battlefield)~morethan~2 then choice name(Give 1 counter to other 2 creatures) name(Give 1 counter to other 2 creatures) target(<2>other creature) transforms((,newability[counter(1/1) all(this)],newability[phaseaction[cleanup once] counter(1/1.-1) all(this)])) oneshot
text=You may exile a green card from your hand rather than pay Bounty of the Hunt's mana cost. -- Distribute three +1/+1 counters among one, two, or three target creatures. For each +1/+1 counter you put on a creature this way, remove a +1/+1 counter from that creature at the beginning of the next cleanup step.
mana={3}{G}{G}
type=Instant
[/card]
[card]
name=Bounty of the Luxa
auto=@each my firstmain:if type(this[counter(flood)])~morethan~0 ability$!thisforeach(counter{0/0,1,flood}) counter(0/0,-1,flood) && add{1}{G}{U}!$ controller else ability$!counter(0/0,1,flood) && draw:1 controller!$ controller
text=At the beginning of your precombat main phase, remove all flood counters from Bounty of the Luxa. If no counters were removed this way, put a flood counter on Bounty of the Luxa and draw a card. Otherwise, add {1}{G}{U} to your mana pool.
mana={2}{G}{U}
type=Enchantment
[/card]
[card]
name=Box of Free-Range Goblins
auto=rolld6 6 winability token(Goblin,Creature Goblin,1/1,red)*lastrollresult winabilityend loseability token(Goblin,Creature Goblin,1/1,red)*lastrollresult loseabilityend rolld6end
text=Roll a six-sided die. Create a number of 1/1 red Goblin creature tokens equal to the result.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Brackish Trudge
auto=tap(noevent)
autograveyard={1}{B} restriction{compare(lifegain)~morethan~0}:name(Return to hand) moveto(myhand)
text=Brackish Trudge enters the battlefield tapped. -- {1}{B}: Return Brackish Trudge from your graveyard to your hand. Activate only if you gained life this turn.
mana={2}{B}
type=Creature
subtype=Fungus Beast
power=4
toughness=2
[/card]
[card]
name=Brago's Favor
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[lord(*[chosenname]|mycastingzone) changecost(colorless:-1)])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Spells with the chosen name you cast cost {1} less to cast.
type=Conspiracy
[/card]
[card]
name=Brain Gorgers
abilities=madness
autoexile=restriction{discarded} pay({1}{B}) name(pay 1b to cast) activate name(pay 1b to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
autostack=if type(creature|opponentBattlefield)~morethan~0 then ability$!may name(Sacrifice and counter) name(Sacrifice and counter) target(creature|myBattlefield) sacrifice and!( all(Brain Gorgers|opponentstack) fizzle )! !$ opponent
text=When you cast Brain Gorgers, any player may sacrifice a creature. If a player does, counter Brain Gorgers. -- Madness {1}{B} (If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard.)
mana={3}{B}
type=Creature
subtype=Zombie
power=4
toughness=2
[/card]
[card]
name=Brain Pry
auto=chooseanameopp transforms((,newability[if type(*[lastnamechosen]|opponenthand)~morethan~0 then name(Discard card) name(Discard card) target(*[lastnamechosen]|opponenthand) reject],newability[if type(*[lastnamechosen]|opponenthand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|opponenthand) moveto(myreveal) and!( moveto(opponentHand) )!],newability[if type(*[lastnamechosen]|opponenthand)~equalto~0 then name(Draw a card) name(Draw a card) draw:1 controller])) forever chooseend nonland
text=Name a nonland card. Target player reveals his or her hand. That player discards a card with that name. If he or she can't, you draw a card.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Brainstone
auto={2}{T}{S}:draw:3 && transforms((,newability[target(<2>*|myhand) moveto(mylibrary)])) forever
text={2}, {T}, Sacrifice Brainstone: Draw three cards, then put two cards from your hand on top of your library in any order.
mana={1}
type=Artifact
[/card]
[card]
name=Brallin, Skyshark Rider
abilities=hiddenface,partner
auto=may name(Put partner in hand) moveTo(myhand) target(Shabraz^ the Skyshark|mylibrary)
auto=@discarded(*|myHand):all(this) counter(1/1,1) && damage:1 opponent
auto={R}:target(creature[Shark]) trample ueot
text=Partner with Shabraz, the Skyshark (When this creature enters the battlefield, target player may put Shabraz into their hand from their library, then shuffle.) -- Whenever you discard a card, put a +1/+1 counter on Brallin, Skyshark Rider and it deals 1 damage to each opponent. -- {R}: Target Shark gains trample until end of turn.
mana={3}{R}
type=Legendary Creature
subtype=Human Shaman
power=3
toughness=3
[/card]
[card]
name=Bramble Armor
auto={4}:equip
auto=teach(creature) 2/1
auto=name(Attach to creature) rehook target(creature|mybattlefield)
text=When Bramble Armor enters the battlefield, attach it to target creature you control. -- Equipped creature gets +2/+1. -- Equip {4} ({4}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{G}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Bramble Sovereign
auto=@movedto(creature[-token]|mybattlefield):all(trigger[to]) pay[[{1}{G}]] clone
auto=@movedto(creature[-token]|opponentbattlefield):all(trigger[to]) pay[[{1}{G}]] clone and!( moveTo(opponentBattlefield) )!
text=Whenever another nontoken creature enters the battlefield, you may pay {1}{G}. If you do, that creature's controller creates a token that's a copy of that creature.
mana={2}{G}{G}
type=Creature
subtype=Dryad
power=4
toughness=4
[/card]
[card]
name=Bramblefort Fink
auto={8}{restriction type(Oko|mybattlefield)~morethan~0}:transforms((,setpower=10,settoughness=10))
text={8}: Bramblefort Fink has base power and toughness 10/10 until end of turn. Activate this ability only if you control an Oko planeswalker.
mana={1}{G}
type=Creature
subtype=Ouphe
power=2
toughness=2
[/card]
[card]
name=Brambleweft Behemoth
abilities=trample
text=Trample (This creature can deal excess combat damage to defending player or planeswalker while attacking.)
mana={4}{G}{G}
type=Creature
subtype=Elemental
power=6
toughness=6
[/card]
[card]
name=Branching Bolt
target=creature
other={1}{R}{R} name(Both)
auto=if paid(alternative) then damage:3 && damage:3 target(creature[flying])
auto=ifnot paid(alternative) then transforms((,newability[choice name(Damage Non-Flying) damage:3],newability[choice name(Damage Flying) target(creature[flying] damage:3]))
text=Choose one or both Branching Bolt deals 3 damage to target creature with flying; and/or Branching Bolt deals 3 damage to target creature without flying.
mana={1}{R}{G}
type=Instant
[/card]
[card]
name=Branching Evolution
auto=@counteradded(1/1) from(creature):counter(1/1) all(trigger[from])
text=If one or more +1/+1 counters would be put on a creature you control, twice that many +1/+1 counters are put on that creature instead.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Branchloft Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Boulderloft Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Boulderloft Pathway) name(Boulderloft Pathway) flip(Boulderloft Pathway) forcetype(land)
auto={T}:add{G}
text={T}: Add {G}. // Boulderloft Pathway
type=Land
[/card]
[card]
name=Brash Taunter
abilities=indestructible
auto=_ENRAGE_damage:thatmuch opponent
auto={2}{R}{T}:transforms((,newability[target(other creature|battlefield) dynamicability<!powerstrike eachother!>])) oneshot
text=Indestructible -- Whenever Brash Taunter is dealt damage, it deals that much damage to target opponent. -- {2}{R}, {T}: Brash Taunter fights another target creature.
mana={4}{R}
type=Creature
subtype=Goblin
power=1
toughness=1
[/card]
[card]
name=Brass's Bounty
auto=name(Create treasures) token(Treasure Sur)*type:land:myBattlefield
text=For each land you control, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={6}{R}
type=Sorcery
[/card]
[card]
name=Brave the Sands
auto=lord(creature|myBattlefield) vigilance
text=Creatures you control have vigilance. -- Each creature you control can block an additional creature each combat.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Brawl-Bash Ogre
abilities=menace
auto=_ATTACKING_may {S(other creature|mybattlefield)} 2/2 ueot
text=Menace (This creature can't be blocked except by two or more creatures.) -- Whenever Brawl-Bash Ogre attacks, you may sacrifice another creature. If you do, Brawl-Bash Ogre gets +2/+2 until end of turn.
mana={2}{B}{R}
type=Creature
subtype=Ogre Warrior
power=3
toughness=3
[/card]
[card]
name=Brazen Borrower // Petty Theft
abilities=flying,cloud,flash,adventure,asflash
other={1}{U} name(Adventure)
auto=if paid(alternative) then name(Return to hand) name(Return to hand) target(*[-land]|opponentbattlefield) moveTo(ownerHand)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Flash -- Flying -- Brazen Borrower can block only creatures with flying. // Return target nonland permanent an opponent controls to its owner's hand.
mana={1}{U}{U}
type=Creature
subtype=Faerie Rogue
power=3
toughness=1
[/card]
[card]
name=Brazen Buccaneers
abilities=haste
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend limit:1
text=Haste -- When Brazen Buccaneers enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={3}{R}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Brazen Dwarf
auto=@dierolled(*|mybattlefield) from(controller):name(Deal damage) damage:1 opponent
text=Whenever you roll one or more dice, Brazen Dwarf deals 1 damage to each opponent.
mana={1}{R}
type=Creature
subtype=Dwarf Shaman
power=1
toughness=3
[/card]
[card]
name=Brazen Freebooter
auto=token(Treasure Sur)
text=When Brazen Freebooter enters the battlefield, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={3}{R}
type=Creature
subtype=Human Pirate
power=3
toughness=3
[/card]
[card]
name=Break Ties
autohand={W}{discard}:name(Reinforce) counter(1/1) target(creature)
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact) destroy
auto=if type(enchantment|battlefield)~morethan~0 then choice name(Destroy enchantment) name(Destroy enchantment) target(enchantment) destroy
auto=if type(*|graveyard)~morethan~0 then choice name(Exile card) name(Exile card) target(*|graveyard) moveto(exile)
text=Choose one -- Destroy target artifact. -- Destroy target enchantment. -- Exile target card from a graveyard. -- Reinforce 1-{W} ({W}, Discard this card: Put a +1/+1 counter on target creature.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Break the Ice
abilities=overload
other={4}{B}{B} name(Overload)
auto=overload destroy all(land[snow]|battlefield)
auto=overload all(land[-plains;-mountain;-island;-swamp;-forest]) destroy
auto=paidmana choice name(Destroy snow land) name(Destroy snow land) target(land[snow]) destroy
auto=paidmana choice name(Destroy colorless land) name(Destroy colorless land) target(land[-plains;-mountain;-island;-swamp;-forest]) destroy
text=Destroy target land that is snow or could produce {C}. -- Overload {4}{B}{B} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={B}{B}
type=Sorcery
[/card]
[card]
name=Breaking // Entering
abilities=hasnokicker
other={4}{B}{R} name(Entering)
kicker={4}{B}{R} name(Fuse)
auto=if paid(alternative) then ability$!name(Put in play) name(Put in play) target(creature|graveyard) moveTo(mybattlefield) and!( transforms((,newability[haste])) ueot )! !$ controller
auto=ifnot paid(alternative) then ability$!name(Choose one) choice name(Opponent mills 8 cards) deplete:8 opponent _ choice name(You mill 8 cards) deplete:8 controller !$ controller
auto=if paid(kicker) then ability$!name(Put in play) name(Put in play) target(creature|graveyard) moveTo(mybattlefield) and!( transforms((,newability[haste])) ueot )! !$ controller
text=Target player puts the top eight cards of their library into their graveyard. -- Put a creature card from a graveyard onto the battlefield under your control. It gains haste until end of turn. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={U}{B}
type=Sorcery
[/card]
[card]
name=Breaking Point
auto=ability$!name(Damage or bury) choice name(Deal 6 damage) damage:6 controller _ choice name(Bury all creatures) all(creature) bury!$ opponent
text=Any player may have Breaking Point deal 6 damage to him or her. If no one does, destroy all creatures. Creatures destroyed this way can't be regenerated.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Breaking Wave
abilities=asflash
other={4}{U}{U} name(Cast as instant)
restriction=can play sorcery
autostack=all(creature[-tapped]|battlefield) transforms((,newability[@counteradded(0/0.1.Untapped) from(this):tap],newability[@counteradded(0/0.1.Untapped) from(this):removeallcounters(0/0.1.Untapped)])) ueot
autostack=all(creature[tapped]|battlefield) transforms((,newability[@counteradded(0/0.1.Tapped) from(this):untap],newability[@counteradded(0/0.1.Tapped) from(this):removeallcounters(0/0.1.Tapped)])) ueot
auto=all(creature[tapped]|battlefield) counter(0/0.1.Tapped) && all(creature[-tapped]|battlefield) counter(0/0.1.Untapped)
text=You may cast Breaking Wave any time you could cast an instant if you pay {2} more to cast it. -- Simultaneously untap all tapped creatures and tap all untapped creatures.
mana={2}{U}{U}
type=Sorcery
[/card]
[card]
name=Breakneck Berserker
abilities=haste
text=Haste
mana={2}{R}
type=Creature
subtype=Dwarf Berserker
power=3
toughness=2
[/card]
[card]
name=Breath of Fire
target=creature
auto=damage:2
text=Breath of Fire deals 2 damage to target creature.
mana={1}{R}
type=Instant
[/card]
[card]
name=Breathless Knight
abilities=flying,lifelink
auto=if gravecast then counter(1/1)
text=Flying, lifelink -- Whenever Breathless Knight or another creature enters the battlefield under your control, if that creature entered from a graveyard or you cast it from a graveyard, put a +1/+1 counter on Breathless Knight.
mana={1}{W}{B}
type=Creature
subtype=Spirit Knight
power=2
toughness=2
[/card]
[card]
name=Breathstealer's Crypt
auto=@drawof(player):name(Check drawn card) transforms((,newability[name(Pay or discard) all(creature[zpos=type:*:myhand]|myhand) transforms((,newability[choice name(Discard creature) reject],newability[choice name(Pay 3 life) life:-3 controller])) oneshot])) oneshot
auto=@drawfoeof(player):name(Check drawn card) transforms((,newability[name(Pay or discard) all(creature[zpos=type:*:opponenthand]|opponenthand) transforms((,newability[choice name(Discard creature) reject],newability[choice name(Pay 3 life) life:-3 controller])) oneshot])) oneshot
text=If a player would draw a card, instead he or she draws a card and reveals it. If it's a creature card, that player discards it unless he or she pays 3 life.
mana={2}{U}{B}
type=Enchantment
[/card]
[card]
name=Breeches, Brazen Plunderer
abilities=menace,partner
auto=@combatdamagefoeof(player) from(*[pirate]|myBattlefield):all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once] moveTo(ownerexile)])) ueot )!
text=Menace -- Whenever one or more Pirates you control deal damage to your opponents, exile the top card of each of those opponents' libraries. You may play those cards this turn, and you may spend mana as though it were mana of any color to cast those spells. -- Partner (You can have two commanders if both have partner.)
mana={3}{R}
type=Legendary Creature
subtype=Goblin Pirate
power=3
toughness=3
[/card]
[card]
name=Breena, the Demagogue
abilities=flying
text=Flying -- Whenever a player attacks one of your opponents, if that opponent has more life than another of your opponents, that attacking player draws a card and you put two +1/+1 counters on a creature you control.
mana={1}{W}{B}
type=Legendary Creature
subtype=Bird Warlock
power=1
toughness=3
[/card]
[card]
name=Bretagard Stronghold
auto=tap(noevent)
auto={T}:add{G}
auto={G}{W}{W}{T}{S}:name(Put 1/1 counter) target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[vigilance],newability[lifelink])) ueot asSorcery
text=Bretagard Stronghold enters the battlefield tapped. -- {T}: Add {G}. -- {G}{W}{W}, {T}, Sacrifice Bretagard Stronghold: Put a +1/+1 counter on each of up to two target creatures you control. They gain vigilance and lifelink until end of turn. Activate this ability only any time you could cast a sorcery.
type=Land
[/card]
[card]
name=Breya's Apprentice
auto=token(Thopter,Artifact Creature Thopter,1/1,flying)
auto={T}{S(artifact|myBattlefield)}:name(Exile top card) all(*[zpos=1]|myLibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto={T}{S(artifact|myBattlefield)}:name(Creature gets 2/0) target(creature) 2/0 ueot
text=When Breya's Apprentice enters the battlefield, create a 1/1 colorless Thopter artifact creature token with flying. -- {T}, Sacrifice an artifact: Choose one -- Exile the top card of your library. Until the end of your next turn, you may play that card. -- Target creature gets +2/+0 until end of turn.
mana={2}{R}
type=Artifact Creature
subtype=Human Artificer
power=2
toughness=3
[/card]
[card]
name=Briarblade Adept
auto=_ATTACKING_target(creature|opponentbattlefield) -1/-1 ueot
autograveyard={3}{B}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Whenever Briarblade Adept attacks, target creature an opponent controls gets -1/-1 until end of turn. -- Encore {3}{B} ({3}{B}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={4}{B}
type=Creature
subtype=Elf Assassin
power=3
toughness=4
[/card]
[card]
name=Briarbridge Patrol
auto=@damaged(creature) from(this):name(Investigate) token(Clue)
auto=@sacrificed(clue|myBattlefield):counter(0/0.1.ClueSac) notrg
auto=@each endofturn restriction{compare(hascntcluesac)~morethan~2}:name(Put creature in play) name(Put creature in play) target(creature|myhand) moveto(myBattlefield)
auto=@each endofturn:removeallcounters(0/0.1.ClueSac)
text=Whenever Briarbridge Patrol deals damage to one or more creatures, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") -- At the beginning of each end step, if you sacrificed three or more Clues this turn, you may put a creature card from your hand onto the battlefield.
mana={3}{G}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Briarbridge Tracker
abilities=vigilance
auto=aslongas(*[token]|mybattlefield) 2/0 >0
auto=token(Clue)
text=Vigilance -- When Briarbridge Tracker enters the battlefield, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -- As long as you control a token, Briarbridge Tracker gets +2/+0.
type=Creature
subtype=Human Scout
mana={2}{G}
power=2
toughness=3
[/card]
[card]
name=Bright Reprisal
target=creature[attacking]
auto=destroy
auto=draw:1 controller
text=Destroy target attacking creature. -- Draw a card.
mana={4}{W}
type=Instant
[/card]
[card]
name=Brightclimb Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Grimclimb Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Grimclimb Pathway) name(Grimclimb Pathway) flip(Grimclimb Pathway) forcetype(land)
auto={T}:add{W}
text={T}: Add {W}. // Grimclimb Pathway
type=Land
[/card]
[card]
name=Brightflame
target=creature
auto=if cantargetcard(creature[white]|*) then name(Damage white creature) name(Damage white creature) foreach(creature[white]|battlefield) life:X controller && all(creature[white]|battlefield) damage:X
auto=if cantargetcard(creature[black]|*) then name(Damage black creature) name(Damage black creature) foreach(creature[black]|battlefield) life:X controller && all(creature[black]|battlefield) damage:X
auto=if cantargetcard(creature[red]|*) then name(Damage red creature) name(Damage red creature) foreach(creature[red]|battlefield) life:X controller && all(creature[red]|battlefield) damage:X
auto=if cantargetcard(creature[green]|*) then name(Damage green creature) name(Damage green creature) foreach(creature[green]|battlefield) life:X controller && all(creature[green]|battlefield) damage:X
auto=if cantargetcard(creature[blue]|*) then name(Damage blue creature) name(Damage blue creature) foreach(creature[blue]|battlefield) life:X controller && all(creature[blue]|battlefield) damage:X
auto=if cantargetcard(creature[colorless]|*) then name(Damage colorless creature) name(Damage colorless creature) life:X controller && damage:X
text=Radiance -- Brightflame deals X damage to target creature and each other creature that shares a color with it. You gain life equal to the damage dealt this way.
mana={X}{R}{R}{W}{W}
type=Sorcery
[/card]
[card]
name=Brightling
auto={W}:vigilance ueot
auto={W}:lifelink ueot
auto={W}:moveTo(ownerHand)
auto={1}:1/-1 ueot
auto={1}:-1/1 ueot
text={W}: Brightling gains vigilance until end of turn. -- {W}: Brightling gains lifelink until end of turn. -- {W}: Return Brightling to its owner's hand. -- {1}: Brightling gets +1/-1 or -1/+1 until end of turn.
mana={1}{W}{W}
type=Creature
subtype=Shapeshifter
power=3
toughness=3
[/card]
[card]
name=Brightmare
auto=tap(noevent) target(creature) and!( dynamicability<!mytgt toughnesslifegain srccontroller!> )!
text=When Brightmare enters the battlefield, tap up to one target creature. You gain life equal to that creature's power.
mana={2}{W}
type=Creature
subtype=Unicorn
power=2
toughness=3
[/card]
[card]
name=Brightwood Tracker
auto={5}{G}{T}:name(look) reveal:4 optionone name(Get a creature card) target(<1>*creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
text={5}{G}, {T}: Look at the top four cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={3}{G}
type=Creature
subtype=Elf Scout
power=3
toughness=4
[/card]
[card]
name=Brimaz, King of Oreskos
abilities=vigilance
auto=_ATTACKING_token(Cat Soldier,Creature Cat Soldier,1/1,white,vigilance,battleready) controller
auto=@combat(blocking) source(this) from(creature|opponentbattlefield):token(Cat Soldier,Creature Cat Soldier,1/1,white,vigilance) controller
text=Vigilance -- Whenever Brimaz, King of Oreskos attacks, put a 1/1 white Cat Soldier creature token with vigilance onto the battlefield attacking. -- Whenever Brimaz blocks a creature, put a 1/1 white Cat Soldier creature token with vigilance onto the battlefield blocking that creature.
mana={1}{W}{W}
type=Legendary Creature
subtype=Cat Soldier
power=3
toughness=4
[/card]
[card]
name=Brimstone Trebuchet
text=defender,reach
auto={T}:damage:1 opponent
auto=@movedto(creature[knight]|mybattlefield):untap
text=Defender, reach -- {T}: Brimstone Trebuchet deals 1 damage to each opponent. -- Whenever a Knight enters the battlefield under your control, untap Brimstone Trebuchet.
mana={2}{R}
type=Artifact Creature
subtype=Wall
power=1
toughness=3
[/card]
[card]
name=Brimstone Vandal
abilities=menace
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):name(Damage opponent) damage:1 opponent
text=Menace (This creature can't be blocked except by two or more creatures.) -- If it's neither day nor night, it becomes day as Brimstone Vandal enters the battlefield. -- Whenever day becomes night or night becomes day, Brimstone Vandal deals 1 damage to each opponent.
type=Creature
subtype=Devil
mana={2}{R}
power=2
toughness=3
[/card]
[card]
name=Brine Giant
anyzone=foreach(enchantment|myBattlefield) changecost(colorless:-1) forcedalive
text=This spell costs {1} less to cast for each enchantment you control.
mana={6}{U}
type=Creature
subtype=Giant
power=5
toughness=6
[/card]
[card]
name=Brine Seer
auto={2}{U}{T}:name(Counter spell) name(Counter spell) target(*|stack) transforms((,newability[thisforeach(variable{type:*[blue]:opponenthand}>0) pay[[{1}]] name(pay mana) donothing?fizzle])) oneshot
text={2}{U}, {T}: Reveal any number of blue cards in your hand. Counter target spell unless its controller pays {1} for each card revealed this way.
mana={3}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Brinebarrow Intruder
abilities=flash
auto=target(creature|opponentbattlefield) -2/0 ueot
text=Flash -- When Brinebarrow Intruder enters the battlefield, target creature an opponent controls gets -2/-0 until end of turn.
mana={U}
type=Creature
subtype=Human Rogue
power=1
toughness=2
[/card]
[card]
name=Brineborn Cutthroat
ability=flash
auto=@movedto(*|stack) from(*|myhand) restriction{opponentturnonly}:counter(1/1,1) 
text=Flash (You may cast this spell any time you could cast an instant.) -- Whenever you cast a spell during an opponent's turn, put a +1/+1 counter on Brineborn Cutthroat.
mana={1}{U}
type=Creature
subtype=Merfolk Pirate
power=2
toughness=1
[/card]
[card]
name=Brinelin, the Moon Kraken
abilities=partner
auto=moveto(ownerhand) target(*[-land]|battlefield)
auto=@movedto(*[manacost>=6]|mystack):moveto(ownerhand) target(*[-land]|battlefield)
text=When Brinelin, the Moon Kraken enters the battlefield or whenever you cast a spell with converted mana cost 6 or greater, you may return target nonland permanent to its owner's hand. -- Partner (You can have two commanders if both have partner.)
mana={6}{U}{U}
type=Legendary Creature
subtype=Kraken
power=6
toughness=8
[/card]
[card]
name=Bring Down
target=creature[power>=4]
auto=destroy
text=Assist (Another player can pay up to {3} of this spell's cost.) -- Destroy target creature with power 4 or greater.
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Bring to Trial
target=creature[power>=4]
auto=moveto(exile)
text=Exile target creature with power 4 or greater.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Bristling Boar
abilities=oneblocker
text=Bristling Boar can't be blocked by more than one creature.
mana={3}{G}
type=Creature
subtype=Boar
power=4
toughness=3
[/card]
[card]
name=Broken Bond
target=artifact,enchantment
auto=destroy
auto=may moveto(myBattlefield) target(land|myHand)
text=Destroy target artifact or enchantment. You may put a land card from your hand onto the battlefield.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Broken Visage
restriction=type(creature[attacking;-artifact]|battlefield)~morethan~0
auto=if type(creature[attacking;-artifact]|opponentbattlefield)~morethan~0 then choice name(Destroy opponent creature) name(Destroy opponent creature) target(creature[attacking;-artifact]|opponentbattlefield) transforms((,newability[destroy],newability[token(Spirit^Creature Spirit^p/t^black^treason) opponent])) oneshot
auto=if type(creature[attacking;-artifact]|mybattlefield)~morethan~0 then choice name(Destroy your creature) name(Destroy your creature) target(creature[attacking;-artifact]|mybattlefield) transforms((,newability[destroy],newability[token(Spirit^Creature Spirit^p/t^black^treason)])) oneshot
text=Destroy target nonartifact attacking creature. It can't be regenerated. Put a black Spirit creature token with that creature's power and toughness onto the battlefield. Sacrifice the token at the beginning of the next end step.
mana={4}{B}
type=Instant
[/card]
[card]
name=Broken Wings
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy target artifact) name(Destroy target artifact) destroy target(artifact) 
auto=if type(enchantment|battlefield)~morethan~0 then choice name(Destroy target enchantment) name(Destroy target enchantment) destroy target(enchantment)
auto=if type(creature[flying]|battlefield)~morethan~0 then choice name(Destroy target flying creature) name(Destroy target flying creature) destroy target(creature[flying])
text=Destroy target artifact, enchantment, or creature with flying.
mana={2}{G}
type=Instant
[/card]
[card]
name=Brokkos, Apex of Forever
abilities=trample,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{UB}{G}{G} name(Mutate)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Under) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
autograveyard={2}{U}{G}{G}:if type(creature[-human]|mybattlefield)~morethan~0 then name(Mutate from graveyard) name(Mutate from graveyard) choice name(Mutate from graveyard) activate castcard(alternative) else add{2}{U}{G}{G}
autograveyard={2}{B}{G}{G}:if type(creature[-human]|mybattlefield)~morethan~0 then name(Mutate from graveyard) name(Mutate from graveyard) choice name(Mutate from graveyard) activate castcard(alternative) else add{2}{B}{G}{G}
text=Mutate {2}{UB}{G}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Trample -- You may cast Brokkos, Apex of Forever from your graveyard using its mutate ability.
mana={2}{B}{G}{U}
type=Legendary Creature
subtype=Nightmare Beast Elemental
power=6
toughness=6
[/card]
[card]
name=Bronze Guardian
abilities=double strike
anyzone=type:artifact:myBattlefield/5 cdaactive
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Double strike -- Ward {2} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {2}.) -- Other artifacts you control have ward {2}. -- Bronze Guardian's power is equal to the number of artifacts you control.
mana={4}{W}
type=Artifact Creature
subtype=Golem
power=*
toughness=5
[/card]
[card]
name=Bronze Horse
abilities=trample
auto=aslongas(creature|myBattlefield)~morethan~1 preventalldamage to(this) from(*|myStack,opponentStack)
text=Trample -- As long as you control another creature, prevent all damage that would be dealt to Bronze Horse by spells that target it.
mana={7}
type=Artifact Creature
subtype=Horse
power=4
toughness=4
[/card]
[card]
name=Bronze Sword
auto={3}:equip
auto=teach(creature) 2/0
text=Equipped creature gets +2/+0. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Brood Weaver
abilities=reach
auto=_DIES_name(Create spider) token(Spider,Creature Spider,1/2,green,reach)
text=Reach -- When Brood Weaver dies, create a 1/2 green Spider creature token with reach.
type=Creature
subtype=Spider
mana={3}{G}
power=2
toughness=4
[/card]
[card]
name=Broodbirth Viper
auto=@combatdamaged(player) from(this):name(Draw a card) draw:1 controller
text=Myriad (Whenever this creature attacks, for each opponent other than defending player, you may put a token that's a copy of this creature onto the battlefield tapped and attacking that player or a planeswalker he or she controls. Exile the tokens at end of combat.) -- Whenever Broodbirth Viper deals combat damage to a player, you may draw a card.
mana={4}{U}
type=Creature
subtype=Snake
power=3
toughness=3
[/card]
[card]
name=Brought Back
auto=moveTo(myBattlefield) target(<upto:2>*[fresh;-instant;-sorcery]|mygraveyard) and!(tap(noevent))!
text=Choose up to two target permanent cards in your graveyard that were put there from the battlefield this turn. Return them to the battlefield tapped.
mana={W}{W}
type=Instant
[/card]
[card]
name=Browbeat
auto=choice name(You draw) ability$!name(Damage or draw) choice name(Opponent draws) draw:3 opponent _ choice name(Damage 5) damage:5 controller!$ opponent 
auto=choice name(Opponent draws) ability$!name(Damage or draw) choice name(Opponent draws) draw:3 opponent _ choice name(Damage 5) damage:5 controller!$ controller 
text=Any player may have Browbeat deal 5 damage to him or her. If no one does, target player draws three cards.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Brudiclad, Telchor Engineer
auto=lord(creature[token]|myBattlefield) haste
auto=@each my combatbegins:may all(creature[token]|myBattlefield) transforms((,newability[copy target(other creature[token]|myBattlefield)])) forever
auto=@each my combatbegins:token(Myr,Artifact Creature Myr,2/1,blue)
text=Creature tokens you control have haste. -- At the beginning of combat on your turn, create a 2/1 blue Myr artifact creature token. Then you may choose a token you control. If you do, each other token you control becomes a copy of that token.
mana={4}{U}{R}
type=Legendary Creature
subtype=Artificer
power=4
toughness=4
[/card]
[card]
name=Bruenor Battlehammer
auto=lord(creature[equipped]|myBattlefield) transforms((,newability[thisforeach(gear) 2/0]))
auto={0}:name(Pay 0 for first equip) target(artifact[equipment]|myBattlefield) transforms((,newability[name(Equip to a creature) rehook target(creature|myBattlefield)])) oneshot limit:1
text=Each creature you control gets +2/+0 for each Equipment attached to it. -- You may pay {0} rather than pay the equip cost of the first equip ability you activate each turn.
mana={2}{R}{W}
type=Legendary Creature
subtype=Dwarf Warrior
power=5
toughness=3
[/card]
[card]
name=Bruse Tarl, Boorish Herder
abilities=partner
auto=target(creature|mybattlefield) transforms((,newability[double strike],newability[lifelink])) ueot
auto=_ATTACKING_target(creature|mybattlefield) transforms((,newability[double strike],newability[lifelink])) ueot
text=Whenever Bruse Tarl, Boorish Herder enters the battlefield or attacks, target creature you control gains double strike and lifelink until end of turn. -- Partner (You can have two commanders if both have partner.)
mana={2}{R}{W}
type=Legendary Creature
subtype=Human Ally
power=3
toughness=3
[/card]
[card]
name=Brushfire Elemental
abilities=haste
auto=cantbeblockedby(creature[power<=2])
auto=_LANDFALL_2/2 ueot
text=Haste -- Brushfire Elemental can't be blocked by creatures with power 2 or less. -- Landfall - Whenever a land enters the battlefield under your control, Brushfire Elemental gets +2/+2 until end of turn.
mana={R}{G}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Brutal Cathar
abilities=daybound
backside=Moonrage Brute
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=name(Exile a creature) target(creature|opponentbattlefield) (blink)forsrc
text=When this creature enters the battlefield or transforms into Brutal Cathar, exile target creature an opponent controls until this creature leaves the battlefield. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Moonrage Brute
mana={2}{W}
type=Creature
subtype=Human Soldier Werewolf
power=2
toughness=2
[/card]
[card]
name=Brutal Expulsion
abilities=devoid
auto=ability$!name(Choose one) choice name(Return creature) target(creature) moveto(ownerhand) _ choice name(Return spell) target(*|stack) fizzleto(hand) _ choice name(Don't return anything) donothing!$ controller
auto=ability$!may name(Deal 2 damage) target(creature,planeswalker) transforms((,newability[exiledeath],newability[damage:2])) ueot!$ controller
text=Devoid (This card has no color.) -- Choose one or both -- Return target spell or creature to its owner's hand. -- Brutal Expulsion deals 2 damage to target creature or planeswalker. If that permanent would be put into a graveyard this turn, exile it instead.
mana={2}{U}{R}
type=Instant
[/card]
[card]
name=Brutal Hordechief
auto=@combat(attacking) source(creature|myBattlefield):life:-1 opponent && life:1 controller
auto={3}{RW}{RW}:target(<anyamount>creature|opponentbattlefield) mustblock ueot all(other creature) cantblock ueot
text=Whenever a creature you control attacks, defending player loses 1 life and you gain 1 life. -- {3}{R/W}{R/W}: Creatures your opponents control block this turn if able, and you choose how those creatures block.
mana={3}{B}
type=Creature
subtype=Orc Warrior
power=3
toughness=3
[/card]
[card]
name=Bruvac the Grandiloquent
auto=@movedTo(*|opponentgraveyard) from(opponentlibrary):deplete:1 opponent
text=If an opponent would mill one or more cards, they mill twice that many cards instead. (To mill a card, a player puts the top card of their library into their graveyard.)
mana={2}{U}
type=Legendary Creature
subtype=Human Advisor
power=1
toughness=4
[/card]
[card]
name=Bubble Snare
target=creature
kicker={2}{U}
auto=if paid(kicker) then teach(creature) transforms((,newability[tap(noevent)])) oneshot
auto=teach(creature) doesnotuntap
text=Kicker {2}{U} (You may pay an additional {2}{U} as you cast this spell.) -- Enchant creature -- When Bubble Snare enters the battlefield, if it was kicked, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Buccaneer's Bravado
restriction=type(creature|battlefield)~morethan~0
auto=choice name(Target creature gets +1/+1 and first strike) target(creature) transforms((,newability[1/1],newability[first strike])) ueot
auto=if type(creature[pirate]|battlefield)~morethan~0 then choice name(Target pirate gets +1/+1 and double strike) target(creature[pirate]) transforms((,newability[1/1],newability[double strike])) ueot
text=Choose one -- Target creature gets +1/+1 and gains first strike until end of turn. -- Target Pirate gets +1/+1 and gains double strike until end of turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Bucknard's Everfull Purse
auto={1}{T}:name(Roll a d4) rolld4 4 winability token(Treasure Sur)*lastrollresult winabilityend loseability token(Treasure Sur)*lastrollresult loseabilityend rolld4end
auto=@dierolled(this):moveto(opponentbattlefield)
text={1}, {T}: Roll a d4 and create a number of Treasure tokens equal to the result. The player to your right gains control of Bucknard's Everfull Purse.
mana={2}
type=Artifact
[/card]
[card]
name=Bulette
auto=@each my endofturn restriction{morbid}:name(Put 1/1 counter) counter(1/1)
text=At the beginning of your end step, if a creature died this turn, put a +1/+1 counter on Bulette.
mana={3}{G}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Bull's Strength
target=creature
auto=transforms((,newability[2/2],newability[trample])) ueot
text=Target creature gets +2/+2 and gains trample until end of turn. Untap it.
mana={1}{G}
type=Instant
[/card]
[card]
name=Bull-Rush Bruiser
auto=@combat(attacking) source(this) aslongas(other warrior|myBattlefield):first strike ueot
text=Whenever Bull-Rush Bruiser attacks, if your team controls another Warrior, Bull-Rush Bruiser gains first strike until end of turn.
mana={3}{R}
type=Creature
subtype=Minotaur Warrior
power=4
toughness=3
[/card]
[card]
name=Bulwark Giant
auto=life:5
text=When Bulwark Giant enters the battlefield, you gain 5 life.
mana={5}{W}
type=Creature
subtype=Giant Soldier
power=3
toughness=6
[/card]
[card]
name=Bumbling Pangolin
auto=may destroy target(artifact)
text=When this creature enters the battlefield, you may destroy target artifact.
mana={3}{R}
type=Host Creature
subtype=Pangolin Beast
power=2
toughness=2
[/card]
[card]
name=Burdened Aerialist
auto=token(Treasure Sur)
auto=@sacrificed(*[token]|mybattlefield):name(Gains flying) transforms((,newability[flying])) ueot
text=When Burdened Aerialist enters the battlefield, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Whenever you sacrifice a token, Burdened Aerialist gains flying until end of turn.
mana={2}{U}
type=Creature
subtype=Human Pirate
power=3
toughness=1
[/card]
[card]
name=Burglar Rat
auto=ability$!name(discard) reject notatarget(*|myhand)!$ opponent
text=When Burglar Rat enters the battlefield, each opponent discards a card.
mana={1}{B}
type=Creature
subtype=Rat
power=1
toughness=1
[/card]
[card]
name=Burlfist Oak
auto=@drawof(player):2/2 ueot
text=Whenever you draw a card, Burlfist Oak gets +2/+2 until end of turn.
mana={2}{G}{G}
type=Creature
subtype=Treefolk
power=2
toughness=3
[/card]
[card]
name=Burly Breaker
abilities=daybound
backside=Dire-Strain Demolisher
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Ward {1} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.) -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Dire-Strain Demolisher
mana={3}{G}{G}
type=Creature
subtype=Human Werewolf
power=6
toughness=5
[/card]
[card]
name=Burn Bright
auto=all(creature|myBattlefield) +2/+0 ueot
text=Creatures you control get +2/+0 until end of turn.
mana={2}{R}
type=Instant
[/card]
[card]
name=Burn Down the House
auto=choice name(Deals 5 damage) all(*[creature;planeswalker]|battlefield) damage:5
auto=choice name(Create devils) token(Devil Bur)*3 and!( transforms((,newability[haste])) ueot )!
text=Choose one -- Burn Down the House deals 5 damage to each creature and each planeswalker. -- Create three 1/1 red Devil creature tokens with "When this creature dies, it deals 1 damage to any target." They gain haste until end of turn.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Burn at the Stake
target=player,creature
auto=if type(creature[-tapped]|myBattlefield)~morethan~0 then choice name(Tap 1 creature) name(Tap 1 creature) damage:3 && ability$!name(Tap 1 creature) name(Tap 1 creature) target(creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~1 then choice name(Tap 2 creatures) name(Tap 2 creatures) damage:6 && ability$!name(Tap 2 creatures) name(Tap 2 creatures) target(<2>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~2 then choice name(Tap 3 creatures) name(Tap 3 creatures) damage:9 && ability$!name(Tap 3 creatures) name(Tap 3 creatures) target(<3>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~3 then choice name(Tap 4 creatures) name(Tap 4 creatures) damage:12 && ability$!name(Tap 4 creatures) name(Tap 4 creatures) target(<4>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~4 then choice name(Tap 5 creatures) name(Tap 5 creatures) damage:15 && ability$!name(Tap 5 creatures) name(Tap 5 creatures) target(<5>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~5 then choice name(Tap 6 creatures) name(Tap 6 creatures) damage:18 && ability$!name(Tap 6 creatures) name(Tap 6 creatures) target(<6>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~6 then choice name(Tap 7 creatures) name(Tap 7 creatures) damage:21 && ability$!name(Tap 7 creatures) name(Tap 7 creatures) target(<7>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~7 then choice name(Tap 8 creatures) name(Tap 8 creatures) damage:24 && ability$!name(Tap 8 creatures) name(Tap 8 creatures) target(<8>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~8 then choice name(Tap 9 creatures) name(Tap 9 creatures) damage:27 && ability$!name(Tap 9 creatures) name(Tap 9 creatures) target(<9>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~9 then choice name(Tap 10 creatures) name(Tap 10 creatures) damage:30 && ability$!name(Tap 10 creatures) name(Tap 10 creatures) target(<10>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~10 then choice name(Tap 11 creatures) name(Tap 11 creatures) damage:33 && ability$!name(Tap 11 creatures) name(Tap 11 creatures) target(<11>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~11 then choice name(Tap 12 creatures) name(Tap 12 creatures) damage:36 && ability$!name(Tap 12 creatures) name(Tap 12 creatures) target(<12>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~12 then choice name(Tap 13 creatures) name(Tap 13 creatures) damage:39 && ability$!name(Tap 13 creatures) name(Tap 13 creatures) target(<13>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~13 then choice name(Tap 14 creatures) name(Tap 14 creatures) damage:42 && ability$!name(Tap 14 creatures) name(Tap 14 creatures) target(<14>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~14 then choice name(Tap 15 creatures) name(Tap 15 creatures) damage:45 && ability$!name(Tap 15 creatures) name(Tap 15 creatures) target(<15>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~15 then choice name(Tap 16 creatures) name(Tap 16 creatures) damage:48 && ability$!name(Tap 16 creatures) name(Tap 16 creatures) target(<16>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~16 then choice name(Tap 17 creatures) name(Tap 17 creatures) damage:51 && ability$!name(Tap 17 creatures) name(Tap 17 creatures) target(<17>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~17 then choice name(Tap 18 creatures) name(Tap 18 creatures) damage:54 && ability$!name(Tap 18 creatures) name(Tap 18 creatures) target(<18>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~18 then choice name(Tap 19 creatures) name(Tap 19 creatures) damage:57 && ability$!name(Tap 19 creatures) name(Tap 19 creatures) target(<19>creature|myBattlefield) tap!$ controller
auto=if type(creature[-tapped]|myBattlefield)~morethan~19 then choice name(Tap 20 creatures) name(Tap 20 creatures) damage:60 && ability$!name(Tap 20 creatures) name(Tap 20 creatures) target(<20>creature|myBattlefield) tap!$ controller
text=As an additional cost to cast Burn at the Stake, tap any number of untapped creatures you control. -- Burn at the Stake deals damage to target creature or player equal to three times the number of creatures tapped this way.
mana={2}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Burn the Accursed
target=creature
auto=exiledeath
auto=damage:5
auto=damage:2 targetcontroller
text=Burn the Accused deals 5 damage to target creature and 2 damage to that creature's controller. If that creature would die this turn, exile it instead.
mana={4}{R}
type=Instant
[/card]
[card]
name=Burning Hands
restriction=type(*[creature;planeswalker]|battlefield)~morethan~0
auto=if type(creature[green]|opponentbattlefield)~morethan~0 then choice name(Damage green creature) name(Damage green creature) target(creature[green]|battlefield) damage:6
auto=if type(planeswalker[green]|opponentbattlefield)~morethan~0 then choice name(Damage green planeswalker) name(Damage green planeswalker) target(planeswalker[green]|battlefield) damage:6
auto=if type(creature[-green]|opponentbattlefield)~morethan~0 then choice name(Damage non-green creature) name(Damage non-green creature) target(creature[-green]|battlefield) damage:2
auto=if type(planeswalker[-green]|opponentbattlefield)~morethan~0 then choice name(Damage non-green planeswalker) name(Damage non-green planeswalker) target(planeswalker[-green]|battlefield) damage:2
text=Burning Hands deals 2 damage to target creature or planeswalker. If that permanent is green, Burning Hands deals 6 damage instead.
mana={1}{R}
type=Instant
[/card]
[card]
name=Burning Prophet
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedTo(*[-creature]|mystack):1/0 ueot
auto=@movedTo(*[-creature]|mystack):_SCRY_(1)
text=Whenever you cast a noncreature spell, Burning Prophet gets +1/+0 until end of turn, then scry 1.
mana={1}{R}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Burning Sun's Avatar
auto=damage:3 target(opponent,planeswalker) && damage:3 target(creature|battlefield)
text=When Burning Sun's Avatar enters the battlefield, it deals 3 damage to target opponent or planeswalker and 3 damage to up to one target creature.
mana={3}{R}{R}{R}
type=Creature
subtype=Dinosaur Avatar
power=6
toughness=6
[/card]
[card]
name=Burning-Fist Minotaur
abilities=first strike
auto={1}{R}{D(*|myhand)}:2/+0 ueot
text=First strike -- {1}{R}, Discard a card: Burning-Fist Minotaur gets +2/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Minotaur Wizard
power=2
toughness=1
[/card]
[card]
name=Burning-Rune Demon
abilities=flying
auto=choice name(Search library) target(*[-Burning-Rune Demon]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( transforms((,newability[name(Search another card) target(*[-Burning-Rune Demon;notshare!name!]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( ability$!name(Put in hand from library) name(Put in hand from library) target(*[fresh]|opponentlibrary) moveto(opponenthand) and!( all(*[fresh]|opponentlibrary) moveto(opponentgraveyard) and!( shuffle opponent )! )! !$ opponent )! )!])) oneshot )! )!
auto=choice name(Don't search) donothing
text=Flying -- When Burning-Rune Demon enters the battlefield, you may search your library for exactly two cards not named Burning-Rune Demon that have different names. If you do, reveal those cards. An opponent chooses one of them. Put the chosen card into your hand and the other into your graveyard, then shuffle your library.
mana={4}{B}{B}
type=Creature
subtype=Demon Berserker
power=6
toughness=6
[/card]
[card]
name=Burning-Tree Vandal
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
auto=_ATTACKING_may reject notatarget(*|myhand) and!( draw:1 controller )!
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Whenever Burning-Tree Vandal attacks, you may discard a card. If you do, draw a card.
mana={2}{R}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Burning-Yard Trainer
abilities=trample,haste
auto=target(creature[Knight]|myBattlefield) 2/2 ueot && haste ueot && trample ueot
text=Trample, haste -- When Burning-Yard Trainer enters the battlefield, another target Knight you control gets +2/+2 and gains trample and haste until end of turn.
mana={4}{R}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Burnt Offering
auto=chose name(Red) add:storedmanacost:{R}
auto=chose name(Black) add:storedmanacost:{B}
text=As an additional cost to cast this spell, sacrifice a creature. -- Add X mana in any combination of {B} and/or {R}, where X is the sacrificed creature's converted mana cost.
mana={B}{S(creature|mybattlefield)}
type=Instant
[/card]
[card]
name=Burrog Befuddler
abilities=flash
auto=name(Creature gets -1/0) target(creature|opponentbattlefield) -1/0 ueot
text=Flash -- When Burrog Befuddler enters the battlefield, target creature an opponent controls gets -1/-0 until end of turn.
mana={1}{U}
type=Creature
subtype=Frog Wizard
power=2
toughness=1
[/card]
[card]
name=Bury in Books
other={2}{U} name(Target attacking creature)
otherrestriction=type(creature[attacking]|battlefield)~morethan~0
auto=if paid(alternative) then target(creature[attacking]|battlefield) placefromthetop(2)
auto=ifnot paid(alternative) then target(creature[-attacking]|battlefield) placefromthetop(2)
text=This spell costs {2} less to cast if it targets an attacking creature. -- Put target creature into its owner's library second from the top.
mana={4}{U}
type=Instant
[/card]
[card]
name=Bushmeat Poacher
auto={1}{T}{S(other creature|myBattlefield)}:life:storedtoughness && draw:1 controller
text={1}, {T}, Sacrifice another creature: You gain life equal to that creature's toughness. Draw a card.
mana={3}{B}
type=Creature
subtype=Human Soldier
power=2
toughness=4
[/card]
[card]
name=By Force
target=<upto:X>artifact
auto=destroy
text=Destroy X target artifacts.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Cabal Conditioning
target=opponent
auto=choice name(Opponent Discards) reject notatarget(<convertedcost:highest:*:mybattlefield>*|targetedpersonshand)
auto=choice name(You Discard) reject target(<convertedcost:highest:*:mybattlefield>*|myhand)
auto=choice name(Both Discard) reject notatarget(<convertedcost:highest:*:mybattlefield>*|targetedpersonshand) && reject target(<convertedcost:highest:*:mybattlefield>*|myhand)
text=Any number of target players each discard a number of cards equal to the highest converted mana cost among permanents you control.
mana={6}{B}
type=Sorcery
[/card]
[card]
name=Cabal Evangel
mana={1}{B}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Cabal Initiate
auto={D(*|myHand)}:name(Gains lifelink) transforms((,newability[lifelink])) ueot
auto=aslongas(*|mygraveyard) 1/2 >6
text=Discard a card: Cabal Initiate gains lifelink until end of turn. -- Threshold - Cabal Initiate gets +1/+2 as long as seven or more cards are in your graveyard.
mana={1}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=1
[/card]
[card]
name=Cabal Paladin
auto=@movedTo(*[artifact;legendary;saga]|mystack):damage:2 opponent
text=Whenever you cast a historic spell, Cabal Paladin deals 2 damage to each opponent. (Artifacts, legendaries, and Sagas are historic.)
mana={3}{B}
type=Creature
subtype=Human Knight
power=4
toughness=2
[/card]
[card]
name=Cabal Shrine
auto=lord(*|opponentgraveyard) transforms((,newability[@movedTo(*[share!name!]|mystack):reject target(*|myhand) controller]))
auto=lord(*|opponentgraveyard) transforms((,newability[@movedTo(*[share!name!]|opponentstack):reject notatarget(*|opponenthand) opponent]))
auto=lord(*|mygraveyard) transforms((,newability[@movedTo(*[share!name!]|mystack):reject target(*|myhand) controller]))
auto=lord(*|mygraveyard) transforms((,newability[@movedTo(*[share!name!]|opponentstack):reject notatarget(*|opponenthand) opponent]))
text=Whenever a player casts a spell, that player discards X cards, where X is the number of cards in all graveyards with the same name as that spell.
mana={1}{B}{B}
type=Enchantment
[/card]
[card]
name=Cabal Stronghold
auto={3}{T}:foreach(swamp[basic]|myBattlefield) Add{B}
auto={T}:Add{C}
text={T}: Add {C}. -- {3}, {T}: Add {B} for each basic Swamp you control.
type=Land
[/card]
[card]
name=Cabal Therapist
abilities=menace
auto=@each my firstmain:may name(Sacrifice a creature) target(creature|mybattlefield) transforms((,newability[sacrifice],newability[chooseanameopp name(Look hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) and!( all(*[chosenname]|opponenthand) reject)! )! chooseend nonland])) oneshot
text=Menace -- At the beginning of your precombat main phase, you may sacrifice a creature. When you do, choose a nonland card name, then target player reveals their hand and discards all cards with that name.
mana={B}
type=Creature
subtype=Horror
power=1
toughness=1
[/card]
[card]
name=Cabal Therapy
flashback={S(creature|mybattlefield)}
auto=chooseanameopp name(Look hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) and!( all(*[chosenname]|opponenthand) reject)! )! chooseend nonland
text=Name a nonland card. Target player reveals his or her hand and discards all cards with that name. -- Flashback'sacrifice a creature. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={B}
type=Sorcery
[/card]
[card]
name=Cacophodon
auto=_ENRAGE_untap target(*)
text=Enrage - Whenever Cacophodon is dealt damage, untap target permanent.
mana={3}{G}
type=Creature
subtype=Dinosaur
power=2
toughness=5
[/card]
[card]
name=Caged Sun
auto=choice name(Green) transforms((,newability[lord(creature[green]|myBattlefield) 1/1],newability[lord(forest|myBattlefield) producecolor:green])) forever
auto=choice name(White) transforms((,newability[lord(creature[white]|myBattlefield) 1/1],newability[lord(plains|myBattlefield) producecolor:white])) forever
auto=choice name(Red) transforms((,newability[lord(creature[red]|myBattlefield) 1/1],newability[lord(mountain|myBattlefield) producecolor:red])) forever
auto=choice name(Black) transforms((,newability[lord(creature[black]|myBattlefield) 1/1],newability[lord(swamp|myBattlefield) producecolor:black])) forever
auto=choice name(Blue) transforms((,newability[lord(creature[blue]|myBattlefield) 1/1],newability[lord(island|myBattlefield) producecolor:blue])) forever
text=As Caged Sun enters the battlefield, choose a color. -- Creatures you control of the chosen color get +1/+1. -- Whenever a land's ability adds one or more mana of the chosen color to your mana pool, add one additional mana of that color to your mana pool.
mana={6}
type=Artifact
[/card]
[card]
name=Caged Zombie
auto={1}{B}{T}:life:-2 opponent restriction{morbid}
text={1}{B}, {T}: Each opponent loses 2 life. Activate this ability only if a creature died this turn.
mana={2}{B}
type=Creature
subtype=Zombie
power=2
toughness=3
[/card]
[card]
name=Calamity Bearer
auto=@damaged(creature) from(*[giant]|myzones):all(trigger[to]) damage:thatmuch
auto=@damagefoeof(player) from(*[giant]|myzones):damage:thatmuch opponent
auto=@damageof(player) from(*[giant]|myzones):damage:thatmuch controller
text=If a Giant source you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead.
mana={2}{R}{R}
type=Creature
subtype=Giant Berserker
power=3
toughness=4
[/card]
[card]
name=Calciform Pools
auto={T}:add{C}
auto={1}{T}:counter(0/0,1,Storage)
auto={1}{C(0/0,-1,Storage)}: ability$! _ choice add{U} _ choice add{W} !$ controller
text={T}: Add {1} to your mana pool. -- {1}, {T}: Put a storage counter on Calciform Pools. -- {1}, Remove X storage counters from Calciform Pools: Add X mana in any combination of {W} and/or {U} to your mana pool.
type=Land
[/card]
[card]
name=Calculated Dismissal
target=*|stack
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
auto=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Counter target spell unless its controller pays {3}. -- Spell mastery - If there are two or more instant and/or sorcery cards in your graveyard, scry 2. (To scry 2, look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Calculating Lich
abilities=menace
auto=@combat(attacking) source(creature|myBattlefield):life:-1 opponent
text=Whenever a creature you control attacks, defending player loses 1 life and you gain 1 life. -- {3}{R/W}{R/W}: Creatures your opponents control block this turn if able, and you choose how those creatures block.
mana={4}{B}{B}
type=Creature
subtype=Zombie Wizard
power=5
toughness=5
[/card]
[card]
name=Calibrated Blast
flashback={3}{R}{R}
aicode=activate transforms((,newability[all(*[zpos=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary and!( transforms((,newability[name(Deals damage) damage:manacost target(player^creature^planeswalker)],newability[all(*[zpos<=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! )!])) oneshot
auto=name(Reveal non-land card) Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone choice name(Get Card) target(*[-land]|reveal) bottomoflibrary and!( transforms((,newability[name(Deals damage) damage:manacost target(player^creature^planeswalker)])) oneshot )! optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Reveal cards from the top of your library until you reveal a nonland card. Put the revealed cards on the bottom of your library in a random order. When you reveal a nonland card this way, Calibrated Blast deals damage equal to that card's mana value to any target. -- Flashback {3}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{R}
type=Instant
[/card]
[card]
name=Caligo Skin-Witch
kicker={3}{B}
auto=if paid(kicker) then ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ opponent
text=Kicker {3}{B} (You may pay an additional {3}{B} as you cast this spell.) -- When Caligo Skin-Witch enters the battlefield, if it was kicked, each opponent discards two cards.
mana={1}{B}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Call of the Death-Dweller
target=<upto:2>creature[manacost<=3]|myGraveyard
auto=moveTo(myBattlefield) and!( transforms((,newability[counter(0/0.1.Deathtouch)],newability[this(counter{0/0.1.Deathtouch}>=1) deathtouch],newability[counter(0/0.1.Menace)],newability[this(counter{0/0.1.Menace}>=1) menace])) forever )!
text=Return up to two target creature cards with total converted mana cost 3 or less from your graveyard to the battlefield. Put a deathtouch counter on either of them. Then put a menace counter on either of them.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Call the Cavalry
auto=create(Knight:creature Knight:2/2:white:vigilance)*2
text=Create two 2/2 white Knight creature tokens with vigilance.
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Call the Coppercoats
abilities=hasstrive
auto=foreach(creature|opponentBattlefield) token(Soldier Call)
text=Strive - This spell costs {1}{W} more to cast for each target beyond the first. -- Choose any number of target opponents. Create X 1/1 white Human soldier creature tokens, where X is the number of creatures those opponents control.
mana={2}{W}
type=Instant
[/card]
[card]
name=Call to the Feast
auto=token(Vampire,creature Vampire,1/1,white,lifelink)*3
text=Create three 1/1 white Vampire creature tokens with lifelink.
mana={2}{W}{B}
type=Sorcery
[/card]
[card]
name=Callaphe, Beloved of the Sea
auto=type:manaU:mybattlefield/3 cdaactive
auto=@targeted(*[creature;enchantment]|myBattlefield) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Callaphe's power is equal to your devotion to blue. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.) -- Creatures and enchantments you control have "Spells your opponents cast that target this permanent cost {1} more to cast".
mana={1}{U}{U}
type=Legendary Enchantment Creature
subtype=Demigod
power=*
toughness=3
[/card]
[card]
name=Caller of the Pack
abilities=trample
text=Trample -- Myriad (Whenever this creature attacks, for each opponent other than defending player, you may put a token that's a copy of this creature onto the battlefield tapped and attacking that player or a planeswalker he or she controls. Exile the tokens at end of combat.)
mana={5}{G}{G}
type=Creature
subtype=Beast
power=8
toughness=6
[/card]
[card]
name=Callous Bloodmage
auto=choice name(Create Pest) token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
auto=choice name(Draw and lose life) draw:1 controller && life:-1 controller
auto=choice name(Exile opponent's graveyard) all(*|opponentgraveyard) moveto(exile) 
auto=choice name(Exile your graveyard) all(*|mygraveyard) moveto(exile)
text=When Callous Bloodmage enters the battlefield, Choose one -- Create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life." -- You draw a card and you lose 1 life. -- Exile target player's graveyard.
mana={2}{B}
type=Creature
subtype=Vampire Warlock
power=2
toughness=1
[/card]
[card]
name=Callous Dismissal
target=*[-land]
auto=moveTo(ownerHand)
auto=_AMASS_(1)
text=Return target nonland permanent to its owner's hand. -- Amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie army creature token first.)
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Callous Giant
abilities=undamageable
auto=_ENRAGE_if compare(thatmuch)~morethan~3 then 0/-thatmuch ueot
text=If a source would deal 3 or less damage to Callous Giant, prevent that damage.
mana={4}{R}{R}
type=Creature
subtype=Giant
power=4
toughness=4
[/card]
[card]
name=Camaraderie
auto=life:type:creature:mybattlefield controller && draw:type:creature:mybattlefield controller
auto=all(other creature|myBattlefield) 1/1
text=You gain X life and draw X cards, where X is the number of creatures you control. Creatures you control get +1/+1 until end of turn.
mana={4}{G}{W}
type=Sorcery
[/card]
[card]
name=Campus Guide
auto=may name(Search basic land) target(land[basic]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
text=When Campus Guide enters the battlefield, you may search your library for a basic land card, reveal it, then shuffle and put that card on top.
mana={2}
type=Artifact Creature
subtype=Golem
power=2
toughness=1
[/card]
[card]
name=Can't Stay Away
target=creature[manacost<=3]|mygraveyard
flashback={3}{W}{B}
auto=name(Return to battlefield) moveTo(myBattlefield) and!( transforms((,newability[exiledeath])) forever )!
text=Return target creature card with mana value 3 or less from your graveyard to the battlefield. It gains "If this creature would die, exile it instead." -- Flashback {3}{W}{B}
mana={W}{B}
type=Sorcery
[/card]
[card]
name=Canal Courier
auto=_MONARCH_CONTROLLER_
text=When Canal Courier enters the battlefield, you become the monarch. -- Whenever Canal Courier and another creature attack different players, Canal Courier can't be blocked this combat.
mana={5}{U}
type=Creature
subtype=Human Rogue
power=3
toughness=5
[/card]
[card]
name=Canal Monitor
mana={4}{B}
type=Creature
subtype=Lizard
power=5
toughness=3
[/card]
[card]
name=Candlegrove Witch
auto=@each my combatbegins restriction{coven}:name(Gains flying) transforms((,newability[flying])) ueot
text=Coven - At the beginning of combat on your turn, if you control three or more creatures with different powers, Candlegrove Witch gains flying until end of turn.
type=Creature
subtype=Human Warlock
mana={1}{W}
power=2
toughness=2
[/card]
[card]
name=Candlelight Vigil
target=creature
auto=teach(creature) +3/+2
auto=teach(creature) vigilance
text=Enchant creature -- Enchanted creature gets +3/+2 and has vigilance.
mana={3}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Candlelit Cavalry
auto=@each my combatbegins restriction{coven}:name(Gains trample) transforms((,newability[trample])) ueot
text=Coven - At the beginning of combat on your turn, if you control three or more creatures with different powers, Candlelit Cavalry gains trample until end of turn.
mana={4}{G}
type=Creature
subtype=Human Knight
power=5
toughness=5
[/card]
[card]
name=Candletrap
target=creature
auto=teach(creature) defender
auto=teach(creature) preventAllCombatDamage from(this)
auto={2}{W}{S} restriction{coven}:name(Exile enchanted creature) imprint
text=Enchant creature -- Enchanted creature has defender. -- Prevent all combat damage that would be dealt by enchanted creature. -- Coven-{2}{W}, Sacrifice Candletrap: Exile enchanted creature. Activate only if you control three or more creatures with different powers.
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Cankerous Thirst
target=creature
other={2}{B}{G} name(Both)
auto=if paid(alternative) then -3/-3 ueot
auto=if paid(alternative) then target(creature) 3/3 ueot
auto=ifnot paid(alternative) then transforms((,newability[choice name(Pay Black) pay[[{B}]] -3/-3 ueot],newability[choice name(Pay Green) pay[[{G}]] 3/3 ueot]))
text=If {B} was spent to cast Cankerous Thirst, you may have target creature get -3/-3 until end of turn. If {G} was spent to cast Cankerous Thirst, you may have target creature get +3/+3 until end of turn. (Do both if {B}{G} was spent.)
mana={3}
type=Instant
[/card]
[card]
name=Cannibalize
auto=choice name(Opponent's creatures) moveTo(exile) target(creature|opponentbattlefield) && counter(1/1,2) target(other creature|oppponentbattlefield)
auto=choice name(my creatures) moveTo(exile) target(creature|mybattlefield) && counter(1/1,2) target(other creature|mybattlefield)
text=Choose two target creatures controlled by the same player. Exile one of those creatures and put two +1/+1 counters on the other.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Canopy Baloth
auto=_LANDFALL_2/2 ueot
text=Landfall - Whenever a land enters the battlefield under your control, Canopy Baloth gets +2/+2 until end of turn.
mana={3}{G}
type=Creature
subtype=Beast
power=4
toughness=3
[/card]
[card]
name=Canopy Stalker
auto=_ATTACKING_all(creature|opponentbattlefield) mustblock ueot
auto=_DIES_life:type:creature[fresh]:graveyard controller
text=Canopy Stalker must be blocked if able. -- When Canopy Stalker dies, you gain 1 life for each creature that died this turn.
mana={3}{G}
type=Creature
subtype=Cat
power=4
toughness=2
[/card]
[card]
name=Canopy Tactician
auto={T}:add{G}{G}{G}
auto=lord(other elf|mybattlefield) 1/1
text=Other Elves you control get +1/+1. -- {T}: Add {G}{G}{G}.
mana={3}{G}
type=Creature
subtype=Elf Warrior
power=3
toughness=3
[/card]
[card]
name=Canyon Jerboa
auto=_LANDFALL_all(creature|myBattlefield) 1/1 ueot
text=Landfall - Whenever a land enters the battlefield under your control, creatures you control get +1/+1 until end of turn.
mana={2}{W}
type=Creature
subtype=Mouse
power=1
toughness=2
[/card]
[card]
name=Canyon Slough
abilities=cycling
auto=tap
autohand=__CYCLING__({2})
text=({T}: Add {B} or {R} to your mana pool.) -- Canyon Slough enters the battlefield tapped. -- Cycling {2} ({2}, Discard this card: Draw a card.)
type=Land
subtype=Swamp Mountain
[/card]
[card]
name=Caprichrome
abilities=flash,vigilance
auto=may name(Devour) target(<anyamount>other artifact|mybattlefield) sacrifice && counter(1/1,1) all(this)
text=Flash -- Vigilance -- Devour artifact 1 (As this enters the battlefield, you may sacrifice any number of artifacts. This creature enters the battlefield with that many +1/+1 counters on it.)
mana={3}{W}
type=Artifact Creature
subtype=Goat
power=2
toughness=2
[/card]
[card]
name=Capricopian
auto=counter(1/1,X)
auto={2}:restriction{combatbeginsonly} all(this) counter(1/1)
text=Capricopian enters the battlefield with X +1/+1 counters on it. -- {2}: Put a +1/+1 counter on Capricopian, then you may reselect which player Capricopian is attacking. Only the player Capricopian is attacking may activate this ability and only during the declare attackers step. (It can't attack its controller.)
mana={X}{G}
type=Creature
subtype=Goat Hydra
power=0
toughness=0
[/card]
[card]
name=Captain Lannery Storm
abilities=haste
auto=@sacrificed(TreasureArtifactToken):1/0 ueot
auto=_ATTACKING_token(435451)
text=Haste -- Whenever Captain Lannery Storm attacks, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- Whenever you sacrifice a Treasure, Captain Lannery Storm gets +1/+0 until end of turn.
mana={2}{R}
type=Legendary Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Captain Ripley Vance
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~2}:name(Counter 1/1) counter(1/1) && transforms((,newability[name(Deals damage) damage:power target(player^creature^planeswalker)])) oneshot
text=Whenever you cast your third spell each turn, put a +1/+1 counter on Captain Ripley Vance, then it deals damage equal to its power to any target.
mana={2}{R}
type=Legendary Creature
subtype=Human Pirate
power=3
toughness=2
[/card]
[card]
name=Captain Vargus Wrath
auto=_ATTACKING_all(pirate|myBattlefield) pnumofcommandcast/pnumofcommandcast ueot
text=Whenever Captain Vargus Wrath attacks, Pirates you control get +1/+1 until end of turn for each time you've cast a commander from the command zone this game.
mana={U}{R}
type=Legendary Creature
subtype=Orc Pirate
power=1
toughness=1
[/card]
[card]
name=Captain's Hook
auto={1}:equip
auto=teach(creature) +2/+0
auto=teach(creature) menace
auto=teach(creature) transforms((,newability[counter(0/0.1.Hooked)]))
auto=lord(*[counter{0/0.1.Hooked}]|mybattlefield) transforms((,newability[this(gear < 1) destroy]))
auto=transforms((Pirate))
text=Equipped creature gets +2/+0, has menace, and is a Pirate in addition to its other creature types. -- Whenever Captain's Hook becomes unattached from a permanent, destroy that permanent. -- Equip 1
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Captain's Maneuver
target=creature,player
auto=prevent:X ueot
auto=damage:X target(creature,player)
text=The next X damage that would be dealt to target creature or player this turn is dealt to another target creature or player instead.
mana={X}{R}{W}
type=Instant
[/card]
[card]
name=Captivating Crew
auto={3}{R}:target(creature) untap && haste && alias=129767
text={3}{R}: Gain control of target creature an opponent controls until end of turn. Untap that creature. It gains haste until end of turn. Activate this ability only any time you could cast a sorcery.
mana={3}{R}
type=Creature
subtype=Human Pirate
power=4
toughness=3
[/card]
[card]
name=Captivating Gyre
target=<upto:3>creature
auto=moveTo(ownerhand)
text=Return up to three target creatures to their owners' hands.
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Captivating Unicorn
auto=_CONSTELLATION_tap target(creature|opponentBattlefield)
text=Constellation -- Whenever an enchantment enters the battlefield under your control, tap target creature an opponent controls.
mana={4}{W}
type=Creature
subtype=Unicorn
power=4
toughness=4
[/card]
[card]
name=Captive Audience
auto=moveto(opponentbattlefield)
auto=@each my upkeep:this(counter{0/0.1.Choice}=0) lifeset:4 controller && counter(0/0,1,Choice) all(this)
auto=@each my upkeep:this(counter{0/0.1.Choice}=1) all(*|myhand) reject && counter(0/0,1,Choice) all(this)
auto=@each my upkeep:this(counter{0/0.1.Choice}=2) token(Zombie,Creature Zombie,2/2,black)*5 opponent && counter(0/0,1,Choice) all(this)
text=Captive Audience enters the battlefield under the control of an opponent of your choice. -- At the beginning of your upkeep, choose one that hasn't been chosen -- Your life total becomes 4. -- Discard your hand. -- Each opponent creates five 2/2 black Zombie creature tokens.
mana={5}{B}{R}
type=Enchantment
[/card]
[card]
name=Capture Sphere
abilities=flash
target=creature
auto=teach(creature) tap
auto=teach(creature) doesnotuntap
text=Flash -- Enchant creature -- When Capture Sphere enters the battlefield, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step.
mana={3}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Captured by Lagacs
target=creature
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=may name(Support 2) target(<upto:2>creature|battlefield) counter(1/1)
text=Enchant creature -- Enchanted creature can't attack or block. -- When Captured by Lagacs enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two target creatures.)
mana={1}{G}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Careless Celebrant
auto=_DIES_damage:2 target(creature,planeswalker|opponentBattlefield)
text=When Careless Celebrant dies, it deals 2 damage to target creature or planeswalker an opponent controls.
mana={1}{R}
type=Creature
subtype=Satyr Shaman
power=2
toughness=1
[/card]
[card]
name=Carnage Tyrant
abilities=nofizzle, opponentshroud, trample
text=Carnage Tyrant can't be countered. -- Trample, hexproof
mana={4}{G}{G}
type=Creature
subtype=Dinosaur
power=7
toughness=6
[/card]
[card]
name=Carnival // Carnage
other={2}{B}{R} name(Carnage)
otherrestriction=myturnonly
auto=ifnot paid(alternative) then ability$!name(Choose one) choice name(Damage opponent's target) target(*[creature;planeswalker]|opponentbattlefield) damage:1 && damage:1 opponent _ choice name(Damage your target) target(*[creature;planeswalker]|mybattlefield) damage:1 && damage:1 controller!$ controller 
auto=if paid(alternative) then damage:3 opponent && ability$!name(Discard 2 cards) notatarget(<2>*|myhand) reject!$ opponent
text=Carnival deals 1 damage to target creature or planeswalker and 1 damage to that permanent's controller. -- Carnage deals 3 damage to target opponent. That player discards two cards.
mana={BR}
type=Instant
[/card]
[card]
name=Carom
target=creature
auto=absorb ueot
auto=damage:1 target(other creature)
auto=draw:1 controller
text=The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead. -- Draw a card.
mana={1}{W}
type=Instant
[/card]
[card]
name=Carrion Grub
anyzone=power:highest:*:mygraveyard/5 cdaactive
auto=deplete:4 controller
text=Carrion Grub gets +X/+0, where X is the greatest power among creature cards in your graveyard. -- When Carrion Grub enters the battlefield, mill four cards. (Put the top four cards of your library into your graveyard.)
mana={3}{B}
type=Creature
subtype=Insect
power=0
toughness=5
[/card]
[card]
name=Carrion Imp
abilities=flying
auto=may target(creature|graveyard) moveto(exile) && life:2 controller
text=Flying -- When Carrion Imp enters the battlefield, you may exile target creature card from a graveyard. If you do, you gain 2 life.
mana={3}{B}
type=Creature
subtype=Imp
power=2
toughness=3
[/card]
[card]
name=Carrion Rats
auto=@combat(attacking,blocking) source(this):ability$!name(Choose one) choice name(Exile a card) moveto(exile) target(*|mygraveyard) && all(mysource) fog from(this) _ choice name(Don't exile any card) donothing!$ opponent
auto=@combat(attacking,blocking) source(this):ability$!name(Choose one) choice name(Exile a card) moveto(exile) target(*|mygraveyard) && all(mysource) fog from(this) _ choice name(Don't exile any card) donothing!$ controller
text=Whenever Carrion Rats attacks or blocks, any player may exile a card from his or her graveyard. If a player does, Carrion Rats assigns no combat damage this turn.
mana={B}
type=Creature
subtype=Rat
power=2
toughness=1
[/card]
[card]
name=Carrion Screecher
abilities=flying
text=Flying
mana={3}{B}
type=Creature
subtype=Zombie Bird
power=3
toughness=1
[/card]
[card]
name=Carrion Wurm
auto=@combat(attacking,blocking) source(this):ability$!name(Choose one) choice name(Exile a card) moveto(exile) target(*|mygraveyard) && all(mysource) fog from(this) _ choice name(Don't exile any card) donothing!$ opponent
auto=@combat(attacking,blocking) source(this):ability$!name(Choose one) choice name(Exile a card) moveto(exile) target(*|mygraveyard) && all(mysource) fog from(this) _ choice name(Don't exile any card) donothing!$ controller
text=Whenever Carrion Wurm attacks or blocks, any player may exile three cards from his or her graveyard. If a player does, Carrion Wurm assigns no combat damage this turn.
mana={3}{B}{B}
type=Creature
subtype=Zombie Wurm
power=6
toughness=5
[/card]
[card]
name=Carrionette
autograveyard={2}{B}{B}{E}:ability$!name(pay or exile) pay[[{2}]] name(pay 2 mana) donothing?all(opponent) moveTo(exile) target(creature)!$ opponent   
text={2}{B}{B}: Exile Carrionette and target creature unless that creature's controller pays {2}. Activate this ability only if Carrionette is in your graveyard.
mana={1}{B}
type=Creature
subtype=Skeleton
power=1
toughness=1
[/card]
[card]
name=Carth the Lion
abilities=hiddenface
aicode=activate transforms((,newability[if type(planeswalker[zpos<=7]|myLibrary)~morethan~0 then target(planeswalker[zpos<=7]|myLibrary) moveTo(myHand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot
auto=name(Look top 7 cards) reveal:7 optionone name(Get a planeswalker) target(<upto:1>planeswalker|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=@movedto(planeswalker|graveyard) from(myBattlefield):name(Look top 7 cards) reveal:7 optionone name(Get a planeswalker) target(<upto:1>planeswalker|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=lord(planeswalker|myBattlefield) transforms((,newability[@countermod(0/0.1.Loyalty) from(this) restriction{myturnonly} turnlimited:counter(0/0.1.loyalty)]))
text=Whenever Carth the Lion enters the battlefield or a planeswalker you control dies, look at the top seven cards of your library. You may reveal a planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Planeswalkers' loyalty abilities you activate cost an additional +1 to activate.
mana={2}{B}{G}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=5
[/card]
[card]
name=Cartographer's Hawk
abilities=flying
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(plains|myLibrary)
auto=@combatdamageof(player) from(this):restriction{type(land|opponentBattlefield)~morethan~type(land|myBattlefield)}:moveTo(this|myHand) && name(search card) reveal:plibrarycount optionone name(choose card) target(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=Flying -- When Cartographer's Hawk deals combat damage to a player who controls more lands than you, return it to its owner's hand. If you do, you may search your library for a Plains card, put it onto the battlefield tapped, then shuffle your library.
mana={1}{W}
type=Creature
subtype=Bird
power=2
toughness=1
[/card]
[card]
name=Cartouche of Ambition
target=creature|myBattlefield
auto=1/1
auto=lifelink
auto=may counter(-1/-1,1) target(creature)
text=Enchant creature you control -- When Cartouche of Ambition enters the battlefield, you may put a -1/-1 counter on target creature. -- Enchanted creature gets +1/+1 and has lifelink.
mana={2}{B}
type=Enchantment
subtype=Aura Cartouche
[/card]
[card]
name=Cartouche of Knowledge
target=creature|myBattlefield
auto=1/1
auto=flying
auto=draw:1 controller
text=Enchant creature you control -- When Cartouche of Knowledge enters the battlefield, draw a card. -- Enchanted creature gets +1/+1 and has flying.
mana={1}{U}
type=Enchantment
subtype=Aura Cartouche
[/card]
[card]
name=Cartouche of Solidarity
target=creature|myBattlefield
auto=1/1
auto=first strike
auto=token(Warrior,creature Warrior,1/1,white,vigilance)
text=Enchant creature you control -- When Cartouche of Solidarity enters the battlefield, create a 1/1 white Warrior creature token with vigilance. -- Enchanted creature gets +1/+1 and has first strike.
mana={W}
type=Enchantment
subtype=Aura Cartouche
[/card]
[card]
name=Cartouche of Strength
target=creature|myBattlefield
auto=1/1
auto=trample
auto=may target(creature) transforms((,newability[target(creature) dynamicability<!powerstrike eachother!>])) ueot
text=Enchant creature you control -- When Cartouche of Strength enters the battlefield, you may have enchanted creature fight target creature an opponent controls. (Each deals damage equal to its power to the other.) -- Enchanted creature gets +1/+1 and has trample.
mana={2}{G}
type=Enchantment
subtype=Aura Cartouche
[/card]
[card]
name=Cartouche of Zeal
target=creature|myBattlefield
auto=1/1
auto=haste
auto=target(creature) cantblock ueot
text=Enchant creature you control -- When Cartouche of Zeal enters the battlefield, target creature can't block this turn. -- Enchanted creature gets +1/+1 and has haste.
mana={R}
type=Enchantment
subtype=Aura Cartouche
[/card]
[card]
name=Cascade Seer
aicode=activate transforms((,newability[all(*[zpos<=calculateparty]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:calculateparty scrycore delayed dontshow donothing scrycoreend scryend
text=When Cascade Seer enters the battlefield, scry X, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={3}{U}
type=Creature
subtype=Merfolk Wizard
power=3
toughness=3
[/card]
[card]
name=Cascading Cataracts
abilities=indestructible
auto={T}:Add{1}
auto={5}{T}:name(all) add{G}{B}{W}{R}{U}
auto={5}{T}:name(green) add{G}{G}{G}{G}{G}
auto={5}{T}:name(black) add{B}{B}{B}{B}{B}
auto={5}{T}:name(white) add{W}{W}{W}{W}{W}
auto={5}{T}:name(red) add{R}{R}{R}{R}{R}
auto={5}{T}:name(blue) add{U}{U}{U}{U}{U}
auto={5}{T}:name(G/B) add{G}{G}{G}{B}{B}
auto={5}{T}:name(G/W) add{G}{G}{G}{W}{W}
auto={5}{T}:name(G/R) add{G}{G}{G}{R}{R}
auto={5}{T}:name(G/U) add{G}{G}{G}{U}{U}
auto={5}{T}:name(B/W) add{B}{B}{B}{W}{W}
auto={5}{T}:name(B/R) add{B}{B}{B}{R}{R}
auto={5}{T}:name(B/U) add{B}{B}{B}{U}{U}
auto={5}{T}:name(W/R) add{W}{W}{W}{R}{R}
auto={5}{T}:name(W/U) add{W}{W}{W}{U}{U}
auto={5}{T}:name(R/U) add{R}{R}{R}{U}{U}
text=Indestructible -- {T}: Add {1} to your mana pool. -- {5}, {T}: Add five mana in any combination of colors to your mana pool.
type=Land
[/card]
[card]
name=Cast Down
target=creature[-legendary]
auto=destroy
text=Destroy target nonlegendary creature.
mana={1}{B}
type=Instant
[/card]
[card]
name=Cast Out
abilities=flash,cycling
auto=(blink)forsrc target(*[-land]|opponentbattlefield)
autohand=__CYCLING__({W})
text=Flash -- When Cast Out enters the battlefield, exile target nonland permanent an opponent controls until Cast Out leaves the battlefield. -- Cycling {W} ({W}, Discard this card: Draw a card.)
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Cast Through Time
auto=@movedTo(*[instant;sorcery]|myStack):all(trigger[to]) transforms((,newability[gainedexiledeath],newability[phaseaction[my upkeep once] counter(0/0.1.PlayExile)])) ueot
auto=@each my upkeep:all(*[instant;sorcery]|myexile) removeallcounters(0/0,-1,PlayExile)
auto=@each my upkeep:foreach(*[counter{0/0.1.PlayExile}]|myexile) ability$!name(Choose one) choice name(Cast card from exile) activate castcard(normal) target(*[instant;sorcery;counter{0/0.1.PlayExile}]|myexile) _ choice name(Don't cast card from exile) donothing!$ controller
text=Instant and sorcery spells you control have rebound. (Exile the spell as it resolves if you cast it from your hand. At the beginning of your next upkeep, you may cast that card from exile without paying its mana cost.)
mana={4}{U}{U}{U}
type=Enchantment
[/card]
[card]
name=Castaway's Despair
target=creature
auto=tap
auto=frozen
text=Enchant creature -- When Castaway's Despair enters the battlefield, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step.
mana={3}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Castle Ardenvale
auto={T}:add{W}
auto=aslongas(plains|myBattlefield) tap(noevent) <1 oneshot
auto={2}{W}{W}{T}:create(Human:creature Human:1/1:white)
text=Castle Ardenvale enters the battlefield tapped unless you control a Plains. -- {T}: Add {W}. -- {2}{W}{W}, {T}: Create a 1/1 white Human creature token.
type=Land
[/card]
[card]
name=Castle Embereth
auto={T}:add{R}
auto=aslongas(land[mountain]|myBattlefield) tap(noevent) <1 oneshot
auto={1}{R}{R}{T}:all(creature|mybattlefield) 1/0 ueot
text=Castle Embereth enters the battlefield tapped unless you control a Mountain. -- {T}: Add {R}. -- {1}{R}{R}, {T}: Creatures you control get +1/+0 until end of turn.
type=Land
[/card]
[card]
name=Castle Garenbrig
auto={T}:add{G}
auto=aslongas(land[forest]|myBattlefield) tap(noevent) <1 oneshot
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {2}{G}{G}{T}:add{G}{G}{G}{G}{G}{G}
auto=this(variable{type:creature:mybattlefield}>0) {2}{G}{G}{T}:add{G}{G}{G}{G}{G}{G}
text=Castle Garenbrig enters the battlefield tapped unless you control a Forest. -- {T}: Add {G}. -- {2}{G}{G}, {T}: Add six {G}. Spend this mana only to cast creature spells or activate abilities of creatures.
type=Land
[/card]
[card]
name=Castle Locthwain
auto={T}:add{B}
auto=aslongas(land[swamp]|myBattlefield) tap(noevent) <1 oneshot
auto={1}{B}{B}{T}:draw:1 && life:-phandcount
text=Castle Locthwain enters the battlefield tapped unless you control a Swamp. -- {T}: Add {B}. -- {1}{B}{B}, {T}: Draw a card, then you lose life equal to the number of cards in your hand.
type=Land
[/card]
[card]
name=Castle Vantress
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={T}:add{U}
auto=aslongas(land[island]|myBattlefield) tap(noevent) <1 oneshot
auto={2}{U}{U}{T}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Castle Vantress enters the battlefield tapped unless you control an Island. -- {T}: Add {U}. -- {2}{U}{U}, {T}: Scry 2.
type=Land
[/card]
[card]
name=Casualties of War
auto=ability$!name(Destroy artifact) may name(Destroy artifact) destroy target(artifact)!$ controller
auto=ability$!name(Destroy creature) may name(Destroy creature) destroy target(creature)!$ controller
auto=ability$!name(Destroy enchantment) may name(Destroy enchantment) destroy target(enchantment)!$ controller
auto=ability$!name(Destroy land) may name(Destroy land) destroy target(land)!$ controller
auto=ability$!name(Destroy planeswalker) may name(Destroy planeswalker) destroy target(planeswalker)!$ controller
text=Choose one or more -- Destroy target artifact. -- Destroy target creature. -- Destroy target enchantment. -- Destroy target land. -- Destroy target planeswalker.
mana={2}{B}{B}{G}{G}
type=Sorcery
[/card]
[card]
name=Cat
abilities=lifelink
type=Creature
subtype=Cat
power=1
toughness=1
color=white
[/card]
[card]
name=Cat Beast
type=Creature
subtype=Cat Beast
power=2
toughness=2
color=white
[/card]
[card]
name=Cat Bird Sky
abilities=flying
type=Creature
subttype=Cat Bird
power=1
toughness=1
color=white
[/card]
[card]
name=Cat Cub
abilities=lifelink
type=Creature
subttype=Cat
power=1
toughness=1
color=white
[/card]
[card]
name=Cat Jol
type=Creature
subtype=Cat
power=2
toughness=2
color=green
[/card]
[card]
name=Cat Rin
type=Creature
subtype=Cat
power=1
toughness=1
color=green
[/card]
[card]
name=Cataclysm
auto=if type(artifact[|mybattlefield)~morethan~1 then ability$!name(Sacrifice artifact) name(Sacrifice artifact) sacrifice notatarget(<type:artifact:mybattlefieldminus1minusend>artifact|mybattlefield)!$ controller
auto=if type(artifact|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice artifact) name(Sacrifice artifact) sacrifice notatarget(<type:artifact:mybattlefieldminus1minusend>artifact|mybattlefield)!$ opponent
auto=if type(creature|mybattlefield)~morethan~1 then ability$!name(Sacrifice creature) name(Sacrifice creature) sacrifice notatarget(<type:creature:mybattlefieldminus1minusend>creature|mybattlefield)!$ controller
auto=if type(creature|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice creature) name(Sacrifice creature) sacrifice notatarget(<type:creature:mybattlefieldminus1minusend>creature|mybattlefield)!$ opponent
auto=if type(enchantment|mybattlefield)~morethan~1 then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) sacrifice notatarget(<type:enchantment:mybattlefieldminus1minusend>enchantment|mybattlefield)!$ controller
auto=if type(enchantment|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) sacrifice notatarget(<type:enchantment:mybattlefieldminus1minusend>enchantment|mybattlefield)!$ opponent
auto=if type(land|mybattlefield)~morethan~1 then ability$!name(Sacrifice land) name(Sacrifice land) sacrifice notatarget(<type:land:mybattlefieldminus1minusend>land|mybattlefield)!$ controller
auto=if type(land|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice land) name(Sacrifice land) sacrifice notatarget(<type:land:mybattlefieldminus1minusend>land|mybattlefield)!$ opponent
auto=if type(planeswalker|mybattlefield)~morethan~0 then ability$!name(Sacrifice planeswalkers) name(Sacrifice planeswalkers) sacrifice notatarget(<type:planeswalker:mybattlefield>planeswalker|mybattlefield)!$ controller
auto=if type(planeswalker|opponentbattlefield)~morethan~0 then ability$!name(Sacrifice planeswalkers) name(Sacrifice planeswalkers) sacrifice notatarget(<type:planeswalker:mybattlefield>planeswalker|mybattlefield)!$ opponent
text=Each player chooses from the permanents he or she controls an artifact, a creature, an enchantment, and a land, then sacrifices the rest.
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Catacomb Crocodile
mana={4}{B}
type=Creature
subtype=Crocodile
power=3
toughness=7
[/card]
[card]
name=Catalyst Elemental
auto={S}:add{R}{R}
text=Sacrifice Catalyst Elemental: Add {R}{R}.
mana={2}{R}
type=Creature
subtype=Elemental
power=2
toughness=2
[/card]
[card]
name=Catch // Release
abilities=hasnokicker
other={4}{R}{W} name(Release)
kicker={4}{R}{W} name(Fuse)
auto=if paid(alternative) then ability$!name(Sacrifice artifact) name(Sacrifice artifact) notatarget(artifact|mybattlefield) sacrifice!$ controller
auto=if paid(alternative) then ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ controller
auto=if paid(alternative) then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) notatarget(enchantment|mybattlefield) sacrifice!$ controller
auto=if paid(alternative) then ability$!name(Sacrifice land) name(Sacrifice land) notatarget(land|mybattlefield) sacrifice!$ controller
auto=if paid(alternative) then ability$!name(Sacrifice planeswalker) name(Sacrifice planeswalker) notatarget(planeswalker|mybattlefield) sacrifice!$ controller
auto=if paid(alternative) then ability$!name(Sacrifice artifact) name(Sacrifice artifact) notatarget(artifact|mybattlefield) sacrifice!$ opponent
auto=if paid(alternative) then ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=if paid(alternative) then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) notatarget(enchantment|mybattlefield) sacrifice!$ opponent
auto=if paid(alternative) then ability$!name(Sacrifice land) name(Sacrifice land) notatarget(land|mybattlefield) sacrifice!$ opponent
auto=if paid(alternative) then ability$!name(Sacrifice planeswalker) name(Sacrifice planeswalker) notatarget(planeswalker|mybattlefield) sacrifice!$ opponent
auto=ifnot paid(alternative) then target(*|battlefield) moveto(mybattlefield) and!( transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],newability[haste])) ueot )!
auto=if paid(kicker) then ability$!name(Sacrifice artifact) name(Sacrifice artifact) notatarget(artifact|mybattlefield) sacrifice!$ controller
auto=if paid(kicker) then ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ controller
auto=if paid(kicker) then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) notatarget(enchantment|mybattlefield) sacrifice!$ controller
auto=if paid(kicker) then ability$!name(Sacrifice land) name(Sacrifice land) notatarget(land|mybattlefield) sacrifice!$ controller
auto=if paid(kicker) then ability$!name(Sacrifice planeswalker) name(Sacrifice planeswalker) notatarget(planeswalker|mybattlefield) sacrifice!$ controller
auto=if paid(kicker) then ability$!name(Sacrifice artifact) name(Sacrifice artifact) notatarget(artifact|mybattlefield) sacrifice!$ opponent
auto=if paid(kicker) then ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=if paid(kicker) then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) notatarget(enchantment|mybattlefield) sacrifice!$ opponent
auto=if paid(kicker) then ability$!name(Sacrifice land) name(Sacrifice land) notatarget(land|mybattlefield) sacrifice!$ opponent
auto=if paid(kicker) then ability$!name(Sacrifice planeswalker) name(Sacrifice planeswalker) notatarget(planeswalker|mybattlefield) sacrifice!$ opponent
text=Gain control of target permanent until end of turn. Untap it. It gains haste until end of turn. // Each player sacrifices an artifact, a creature, an enchantment, a land, and a planeswalker. -- -- Fuse (You may cast one or both halves of this card from your hand.)
mana={1}{U}{R}
type=Sorcery
[/card]
[card]
name=Cathar Commando
abilities=flash
auto={1}{S}:name(Destroy artifact or enchantment) target(*[enchantment;artifact]|battlefield) destroy
text=Flash -- {1}, Sacrifice Cathar Commando: Destroy target artifact or enchantment.
type=Creature
subtype=Human Soldier
mana={1}{W}
power=3
toughness=1
[/card]
[card]
name=Cathar's Call
target=creature
auto=teach(creature) vigilance
auto=teach(creature) transforms((,newability[@each my endofturn:name(Create human) token(Human^Creature Human^1/1^white)]))
text=Enchant creature -- Enchanted creature has vigilance and "At the beginning of your end step, create a 1/1 white Human creature token."
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Cathartic Pyre
auto=choice name(Deals 3 damage) target(*[creature;planeswalker]|battlefield) damage:3
auto=choice name(Discard and draw) target(<upto:2>*|myhand) reject and!( draw:1 controller )!
text=Choose one -- Cathartic Pyre deals 3 damage to target creature or planeswalker. -- Discard up to two cards, then draw that many cards.
mana={1}{R}
type=Instant
[/card]
[card]
name=Cathedral Membrane
abilities=defender
other={1}{L:2} name(Pay 2 Life)
auto=@movedTo(this|graveyard) from(mybattlefield) restriction{combatbeginsonly}:damage:6 target(creature[blocking]|opponentbattlefield)
auto=@movedTo(this|graveyard) from(mybattlefield) restriction{attackersonly}:damage:6 target(creature[blocking]|opponentbattlefield)
auto=@movedTo(this|graveyard) from(mybattlefield) restriction{blockersonly}:damage:6 target(creature[blocking]|opponentbattlefield)
auto=@movedTo(this|graveyard) from(mybattlefield) restriction{combatdamageonly}:damage:6 target(creature[blocking]|opponentbattlefield)
auto=@movedTo(this|graveyard) from(mybattlefield) restriction{combatendsonly}:damage:6 target(creature[blocking]|opponentbattlefield)
text=({PW} can be paid with either {W} or 2 life.) -- Defender -- When Cathedral Membrane dies during combat, it deals 6 damage to each creature it blocked this combat.
mana={1}{W}
type=Artifact Creature
subtype=Wall
power=0
toughness=3
[/card]
[card]
name=Catti-brie of Mithral Hall
abilities=first strike,reach
auto=_ATTACKING_name(Add 1/1 counters) thisforeach(gear) counter(1/1)
auto=this(variable{hascnt11}>0) {1}:name(Remove all 1/1 counters) damage:hascnt11 target(creature[attacking;blocking]|opponentbattlefield) && all(this) removeallcounters(1/1)
text=First strike, reach -- Whenever Catti-brie of Mithral Hall attacks, put a +1/+1 counter on it for each Equipment attached to it. -- {1}, Remove all +1/+1 counters from Catti-brie: It deals X damage to target attacking or blocking creature an opponent controls, where X is the number of counters removed this way.
mana={G}{W}
type=Legendary Creature
subtype=Human Archer
power=2
toughness=2
[/card]
[card]
name=Cauldron Familiar
auto=life:1
auto=life:-1 opponent
auto={S(food|myBattlefield)}:moveto(myBattlefield)
text=When Cauldron Familiar enters the battlefield, each opponent loses 1 life and you gain 1 life. -- Sacrifice a Food: Return Cauldron Familiar from your graveyard to the battlefield.
mana={B}
type=Creature
subtype=Cat
power=1
toughness=1
[/card]
[card]
name=Cauldron's Gift
auto=if casted(this) then if spent({B}{B}{B}) then deplete:4 controller
auto=may name(Return creature in play) target(creature|myGraveyard) moveto(mybattlefield) and!( transforms((,newability[counter(1/1)])) oneshot )!
text=Adamant - If at least three black mana was spent to cast this spell, put the top four cards of your library into your graveyard. -- You may choose a creature card in your graveyard. If you do, return it to the battlefield with an additional +1/+1 counter on it.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Cavalcade of Calamity
auto=@combat(attacking) source(creature[power<=1]|mybattlefield):damage:1 opponent
text=Whenever a creature you control with power 1 or less attacks, Cavalcade of Calamity deals 1 damage to the player or planeswalker that creature is attacking.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Cavalier of Dawn
abilities=vigilance
auto=_DIES_moveTo(myhand) target(*[artifact;enchantment]|mygraveyard)
auto=choice name(Destroy your land) target(*[-land]|mybattlefield) destroy && token(Golem,Artifact Creature Golem,3/3)
auto=choice name(Destroy opponent's land) target(*[-land]|opponentbattlefield) destroy && token(Golem,Artifact Creature Golem,3/3) opponent
text=Vigilance -- When Cavalier of Dawn enters the battlefield, destroy up to one target nonland permanent. Its controller creates a 3/3 colorless Golem artifact creature token. -- When Cavalier of Dawn dies, return target artifact or enchantment card from your graveyard to your hand.
mana={2}{W}{W}{W}
type=Creature
subtype=Elemental Knight
power=4
toughness=6
[/card]
[card]
name=Cavalier of Flame
auto={1}{R}:all(creature|myBattlefield)) transforms((,newability[1/0],newability[haste])) ueot
auto=may target(<anyamount>*|myhand) reject && draw:1
auto=_DIES_damage:type:land:mygraveyard opponent
auto=_DIES_damage:type:land:mygraveyard all(planeswalker|opponentbattlefield)
text={1}{R}: Creatures you control get +1/+0 and gain haste until end of turn. -- When Cavalier of Flame enters the battlefield, discard any number of cards, then draw that many cards. -- When Cavalier of Flame dies, it deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard.
mana={2}{R}{R}{R}
type=Creature
subtype=Elemental Knight
power=6
toughness=5
[/card]
[card]
name=Cavalier of Gales
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=draw:3 controller && transforms((,newability[target(<2>*|myhand) moveto(mylibrary)])) oneshot
auto=_DIES_all(trigger[to]) moveTo(mylibrary) and!( transforms((,newability[scry:2 scrycore delayed dontshow donothing scrycoreend scryend],newability[shuffle])) oneshot )!
text=Flying -- When Cavalier of Gales enters the battlefield, draw three cards, then put two cards from your hand on top of your library in any order. -- When Cavalier of Gales dies, shuffle it into its owner's library, then scry 2.
mana={2}{U}{U}{U}
type=Creature
subtype=Elemental Knight
power=5
toughness=5
[/card]
[card]
name=Cavalier of Night
abilities=lifelink
other={2}{B}{B}{B}{S(other creature|mybattlefield)} name(sacrifice)
auto=if paid(alternative) then destroy target(creature|opponentBattlefield)
auto=_DIES_moveTo(myBattlefield) target(creature[manacost<=3]|mygraveyard)
text=Lifelink -- When Cavalier of Night enters the battlefield, you may sacrifice another creature. When you do, destroy target creature an opponent controls. -- When Cavalier of Night dies, return target creature card with converted mana cost 3 or less from your graveyard to the battlefield.
mana={2}{B}{B}{B}
type=Creature
subtype=Elemental Knight
power=4
toughness=5
[/card]
[card]
name=Cavalier of Thorns
abilities=reach
auto=reveal:5 optionone name(Get land) target(land|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto=_DIES_may all(trigger[to]) moveto(exile) && moveto(mylibrary) target(*|mygraveyard)
text=Reach -- When Cavalier of Thorns enters the battlefield, reveal the top five cards of your library. Put a land card from among them onto the battlefield and the rest into your graveyard. -- When Cavalier of Thorns dies, you may exile it. If you do, put another target card from your graveyard on top of your library.
mana={2}{G}{G}{G}
type=Creature
subtype=Elemental Knight
power=5
toughness=6
[/card]
[card]
name=Cavalry Drillmaster
auto=target(creature) 2/0 && first strike ueot
text=When Cavalry Drillmaster enters the battlefield, target creature gets +2/+0 and gains first strike until end of turn. (It deals combat damage before creatures without first strike.)
mana={1}{W}
type=Creature
subtype=Human Knight
power=2
toughness=1
[/card]
[card]
name=Cave of Temptation
auto={T}:add{C}
auto={1}{T}:Add{W}
auto={1}{T}:Add{U}
auto={1}{T}:Add{B}
auto={1}{T}:Add{R}
auto={1}{T}:Add{G}
auto={4}{T}{S}:target(creature|myBattlefield) counter(1/1,2) asSorcery
text={T}: Add {1}. -- {1}, {T}: Add one mana of any color. -- {4}, {T}, Sacrifice Cave of Temptation: Put two +1/+1 counters on target creature. Activate this ability only any time you could cast a sorcery.
type=Land
[/card]
[card]
name=Cave of the Frost Dragon
auto=if compare(type:land:myBattlefield)~morethan~2 then tap(noevent)
auto={T}:Add{W}
auto={4}{W}:name(Becomes dragon) becomes(Creature Dragon,3/4,white,flying) ueot
text=If you control two or more other lands, Cave of the Frost Dragon enters the battlefield tapped. -- {T}: Add {W}. -- {4}{W}: Cave of the Frost Dragon becomes a 3/4 white Dragon creature with flying until end of turn. it's still a land.
type=Land
[/card]
[card]
name=Cavern Whisperer
abilities=menace,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{B} name(Mutate)
auto=transforms((,newability[@mutated(this):ability$!name(discard) target(*|myhand) reject!$ opponent]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Menace (This creature can't be blocked except by two or more creatures.) -- Whenever this creature mutates, each opponent discards a card.
mana={4}{B}
type=Creature
subtype=Nightmare
power=4
toughness=4
[/card]
[card]
name=Cavern of Souls
auto={T}:add{C}
auto=chooseatype transforms((,newability[@targeted(creature[chosentype]|mystack) from(instant|opponentzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|opponentzones) fizzle],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{W}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{U}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{R}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{G}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{B}])) chooseend
text=As Cavern of Souls enters the battlefield, choose a creature type. -- {T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell of the chosen type, and that spell can't be countered.
type=Land
[/card]
[card]
name=Caverns of Despair
auto=lord(creature[-counter{0/0.1.CanAttack}]|battlefield) cantattack
auto=lord(creature[-counter{0/0.1.CanBlock}]|battlefield) cantblock
auto=@each my combatbegins:ability$!name(Choose 2 attacking creature) name(Choose 2 attacking creature) target(<2>creature|mybattlefield) counter(0/0,1,CanAttack)!$ controller
auto=@each my combatbegins:ability$!name(Choose 2 blocking creature) name(Choose 2 blocking creature) target(<2>creature|mybattlefield) counter(0/0,1,CanBlock)!$ opponent
auto=@each opponent combatbegins:ability$!name(Choose 2 attacking creature) name(Choose 2 attacking creature) target(<2>creature|mybattlefield) counter(0/0,1,CanAttack)!$ opponent
auto=@each opponent combatbegins:ability$!name(Choose 2 blocking creature) name(Choose 2 blocking creature) target(<2>creature|mybattlefield) counter(0/0,1,CanBlock)!$ controller
auto=@each combatends:all(creature|battlefield) removeallcounters(0/0.1.CanAttack)
auto=@each combatends:all(creature|battlefield) removeallcounters(0/0.1.CanBlock)
text=No more than two creatures can attack each combat. -- No more than two creatures can block each combat.
mana={2}{R}{R}
type=World Enchantment
[/card]
[card]
name=Cazur, Ruthless Stalker
abilities=hiddenface,partner
auto=may name(Put partner in hand) moveTo(myhand) target(Ukkima^ Stalking Shadow|mylibrary)
auto=@combatdamaged(player) from(creature|myBattlefield):all(trigger[from]) counter(1/1)
text=Partner with Ukkima, Stalking Shadow (When this creature enters the battlefield, target player may put Ukkima into their hand from their library, then shuffle.) -- Whenever a creature you control deals combat damage to a player, put a +1/+1 counter on that creature.
mana={3}{G}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Celebrate the Harvest
auto=if type(creature[power=0]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=1]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=2]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=3]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=4]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=5]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=6]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=7]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=8]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=9]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=10]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=11]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=12]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=13]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=14]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=15]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=16]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=17]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=18]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=19]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if type(creature[power=20]|mybattlefield)~morethan~0 then ability$!may name(Search basic land) name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
text=Search your library for up to X basic land cards, where X is the number of different powers among creatures you control. Put those cards onto the battlefield tapped, then shuffle.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Celestial Enforcer
auto=aslongas(creature[flying]|myBattlefield) {1}{W}{T}:tap target(creature)
text={1}{W}, {T}: Tap target creature. Activate this ability only if you control a creature with flying.
mana={2}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Celestial Judgment
auto=if type(creature[power=0]|battlefield)~morethan~0 then ability$!name(Choose creature with power 0) name(Choose creature with power 0) target(creature[power=0]|battlefield) transforms((,newability[all(other creature[power=0]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=1]|battlefield)~morethan~0 then ability$!name(Choose creature with power 1) name(Choose creature with power 1) target(creature[power=1]|battlefield) transforms((,newability[all(other creature[power=1]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=2]|battlefield)~morethan~0 then ability$!name(Choose creature with power 2) name(Choose creature with power 2) target(creature[power=2]|battlefield) transforms((,newability[all(other creature[power=2]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=3]|battlefield)~morethan~0 then ability$!name(Choose creature with power 3) name(Choose creature with power 3) target(creature[power=3]|battlefield) transforms((,newability[all(other creature[power=3]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=4]|battlefield)~morethan~0 then ability$!name(Choose creature with power 4) name(Choose creature with power 4) target(creature[power=4]|battlefield) transforms((,newability[all(other creature[power=4]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=5]|battlefield)~morethan~0 then ability$!name(Choose creature with power 5) name(Choose creature with power 5) target(creature[power=5]|battlefield) transforms((,newability[all(other creature[power=5]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=6]|battlefield)~morethan~0 then ability$!name(Choose creature with power 6) name(Choose creature with power 6) target(creature[power=6]|battlefield) transforms((,newability[all(other creature[power=6]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=7]|battlefield)~morethan~0 then ability$!name(Choose creature with power 7) name(Choose creature with power 7) target(creature[power=7]|battlefield) transforms((,newability[all(other creature[power=7]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=8]|battlefield)~morethan~0 then ability$!name(Choose creature with power 8) name(Choose creature with power 8) target(creature[power=8]|battlefield) transforms((,newability[all(other creature[power=8]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=9]|battlefield)~morethan~0 then ability$!name(Choose creature with power 9) name(Choose creature with power 9) target(creature[power=9]|battlefield) transforms((,newability[all(other creature[power=9]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=10]|battlefield)~morethan~0 then ability$!name(Choose creature with power 10) name(Choose creature with power 10) target(creature[power=10]|battlefield) transforms((,newability[all(other creature[power=10]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=11]|battlefield)~morethan~0 then ability$!name(Choose creature with power 11) name(Choose creature with power 11) target(creature[power=11]|battlefield) transforms((,newability[all(other creature[power=11]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=12]|battlefield)~morethan~0 then ability$!name(Choose creature with power 12) name(Choose creature with power 12) target(creature[power=12]|battlefield) transforms((,newability[all(other creature[power=12]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=13]|battlefield)~morethan~0 then ability$!name(Choose creature with power 13) name(Choose creature with power 13) target(creature[power=13]|battlefield) transforms((,newability[all(other creature[power=13]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=14]|battlefield)~morethan~0 then ability$!name(Choose creature with power 14) name(Choose creature with power 14) target(creature[power=14]|battlefield) transforms((,newability[all(other creature[power=14]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=15]|battlefield)~morethan~0 then ability$!name(Choose creature with power 15) name(Choose creature with power 15) target(creature[power=15]|battlefield) transforms((,newability[all(other creature[power=15]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=16]|battlefield)~morethan~0 then ability$!name(Choose creature with power 16) name(Choose creature with power 16) target(creature[power=16]|battlefield) transforms((,newability[all(other creature[power=16]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=17]|battlefield)~morethan~0 then ability$!name(Choose creature with power 17) name(Choose creature with power 17) target(creature[power=17]|battlefield) transforms((,newability[all(other creature[power=17]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=18]|battlefield)~morethan~0 then ability$!name(Choose creature with power 18) name(Choose creature with power 18) target(creature[power=18]|battlefield) transforms((,newability[all(other creature[power=18]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=19]|battlefield)~morethan~0 then ability$!name(Choose creature with power 19) name(Choose creature with power 19) target(creature[power=19]|battlefield) transforms((,newability[all(other creature[power=19]|battlefield) destroy])) oneshot!$ controller
auto=if type(creature[power=20]|battlefield)~morethan~0 then ability$!name(Choose creature with power 20) name(Choose creature with power 20) target(creature[power=20]|battlefield) transforms((,newability[all(other creature[power=20]|battlefield) destroy])) oneshot!$ controller
text=For each different power among creatures on the battlefield, choose a creature with that power. Destroy each creature not chosen this way.
mana={4}{W}{W}
type=Sorcery
[/card]
[card]
name=Celestial Messenger
abilities=flash,flying
auto=aslongas(Yanling planeswalker|mybattlefield) 1/1
text=Flash (You may cast this card any time you could cast an instant.) -- Flying -- Celestial Messenger gets +1/+1 as long as you control a Yanling planeswalker.
mana={2}{U}{U}
type=Creature
subtype=Bird Spirit
power=3
toughness=2
[/card]
[card]
name=Celestial Unicorn
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1)
text=Whenever you gain life, put a +1/+1 counter on Celestial Unicorn.
mana={2}{W}
type=Creature
subtype=Unicorn
power=3
toughness=2
[/card]
[card]
name=Celestus Sanctifier
aicode=activate target(*[zpos<=2]|mylibrary) moveTo(mygraveyard)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):name(Look top 2 cards) reveal:2 optionone name(Put in graveyard) target(*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put back) all(*|reveal) moveto(mylibrary) optiontwoend revealend
text=If it's neither day nor night, it becomes day as Celestus Sanctifier enters the battlefield. -- Whenever day becomes night or night becomes day, look at the top two cards of your library. Put one of them into your graveyard.
type=Creature
subtype=Human Cleric
mana={2}{W}
power=3
toughness=2
[/card]
[card]
name=Cenn's Tactician
auto={w}{T}:counter(1/1,1) target(creature[soldier])
text={W}, {T}: Put a +1/+1 counter on target Soldier creature. -- Each creature you control with a +1/+1 counter on it can block an additional creature.
mana={W}
type=Creature
subtype=Kithkin Soldier
power=1
toughness=1
[/card]
[card]
name=Censor
abilities=cycling
target=*|stack
auto=transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
autohand=__CYCLING__({U})
text=Counter target spell unless its controller pays {1}. -- Cycling {U} ({U}, Discard this card: Draw a card.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Centaur Nurturer
auto=life:3
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=When Centaur Nurturer enters the battlefield, you gain 3 life. -- {T}: Add one mana of any color.
mana={3}{G}
type=Creature
subtype=Centaur Druid
power=2
toughness=4
[/card]
[card]
name=Centaur Peacemaker
auto=life:4 controller
auto=life:4 opponent
text=When Centaur Peacemaker enters the battlefield, each player gains 4 life.
mana={1}{G}{W}
type=Creature
subtype=Centaur Cleric
power=3
toughness=3
[/card]
[card]
name=Cerebral Vortex
target=player
auto=draw:2
auto=@drawfoeof(player):damage:1 targetedplayer ueot
text=Target player draws two cards, then Cerebral Vortex deals damage to that player equal to the number of cards they've drawn this turn.
mana={1}{U}{R}
type=Instant
[/card]
[card]
name=Cerulean Drake
abilities=flying,protection from red
auto={S}:target(*|stack) fizzle
text=Flying -- Protection from red (This creature can't be blocked, targeted, dealt damage, enchanted, or equipped by anything red.) -- Sacrifice Cerulean Drake: Counter target spell that targets you.
mana={1}{U}
type=Creature
subtype=Drake
power=1
toughness=1
[/card]
[card]
name=Cetavolver
abilities=hasotherkicker
other={2}{U}{R} name(Kicker Red)
kicker={G} name(Kicker Green or Both)
auto=if paid(alternative) then transforms((,newability[counter(1/1.2)],newability[first strike])) forever
auto=if paid(kicker) then transforms((,newability[counter(1/1)],newability[trample])) forever
auto=if paid(kicker) then pay({R}) name(Pay also kicker red) transforms((,newability[counter(1/1.2)],newability[first strike])) forever
text=Kicker {1}{R} and/or {G} (You may pay an additional {1}{R} and/or {G} as you cast this spell.) -- If Cetavolver was kicked with its {1}{R} kicker, it enters the battlefield with two +1/+1 counters on it and with first strike. -- If Cetavolver was kicked with its {G} kicker, it enters the battlefield with a +1/+1 counter on it and with trample.
mana={1}{U}
type=Creature
subtype=Volver
power=1
toughness=1
[/card]
[card]
name=Chain Lightning
auto=choice name(Damage player) target(player) damage:3 && ability$!name(Pay and copy) pay[[{R}{R}]] name(copy chain lightning) activate castcard(copied noevent named!:chain lightning:!)!$ targetedplayer
auto=if type(creature|battlefield)~morethan~0 then choice name(Damage creature) name(Damage creature) target(creature) damage:3 && ability$!name(Pay and copy) pay[[{R}{R}]] name(copy chain lightning) activate castcard(copied noevent named!:chain lightning:!)!$ targetcontroller
auto=if type(planeswalker|battlefield)~morethan~0 then choice name(Damage planeswalker) name(Damage planeswalker) target(planeswalker) damage:3 && ability$!name(Pay and copy) pay[[{R}{R}]] name(copy chain lightning) activate castcard(copied noevent named!:chain lightning:!)!$ targetcontroller
text=Chain Lightning deals 3 damage to any target. Then that player or that permanent's controller may pay {R}{R}. If the player does, he or she may copy this spell and may choose a new target for that copy.
mana={R}
type=Instant
[/card]
[card]
name=Chain to Memory
target=creature
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=-4/-0
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Target creature gets -4/-0 until end of turn. Scry 2.
mana={U}
type=Instant
[/card]
[card]
name=Chained Brute
abilities=doesnotuntap
auto={1}{S(other creature|mybattlefield)}:untap myTurnOnly
text=Chained Brute doesn't untap during your untap step. -- {1}, Sacrifice another creature: Untap Chained Brute. Activate this ability only during your turn.
mana={1}{R}
type=Creature
subtype=Devil
power=4
toughness=3
[/card]
[card]
name=Chainer's Torment
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=damage:2 opponent && life:2
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) damage:2 opponent && life:2 
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) create(nightmare horror:creature nightmare horror:halfdownlifetotal/halfdownlifetotal:black) && life:-halfdownlifetotal
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Chainer's Torment deals 2 damage to each opponent and you gain 2 life. -- III - Create an X/X black Nightmare Horror creature token, where X is half your life total, rounded up. It deals X damage to you.
mana={3}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Chainer, Nightmare Adept
auto={D(*|myhand)}:name(Can play from graveyard) target(creature|mygraveyard) transforms((,newability[canplayfromgraveyard])) ueot limit:1
autro=@movedto(*[-token]|myBattlefield):name(May gain haste) all(trigger[to]) transforms((,newability[ifnot casted(this) then transforms((,newability[haste])) uynt])) forever
text=Discard a card: You may cast a creature card from your graveyard this turn. Activate this ability only once each turn. -- Whenever a nontoken creature enters the battlefield under your control, if you didn't cast it from your hand, it gains haste until your next turn.
mana={2}{B}{R}
type=Legendary Creature
subtype=Human Minion
power=3
toughness=2
[/card]
[card]
name=Chainweb Aracnir
abilities=reach
retrace={3}{G}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
auto=if paid(retrace) then counter(1/1,3)
auto=target(creature[flying]|opponentBattlefield) name(Deals damage to a creature) dynamicability<!powerstrike!>
text=Reach -- When Chainweb Aracnir enters the battlefield, it deals damage equal to its power to target creature with flying an opponent controls. -- Escape-{3}{G}{G}, Exile four other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Chainweb Aracnir escapes with three +1/+1 counters on it.
mana={G}
type=Creature
subtype=Spider
power=1
toughness=2
[/card]
[card]
name=Chainwhip Cyclops
auto={3}{R}:target(creature) cantblock
text={3}{R}: Target creature can't block this turn.
mana={4}{R}
type=Creature
subtype=Cyclops Warrior
power=4
toughness=4
[/card]
[card]
name=Chakram Retriever
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(chakram slinger|mylibrary)
auto=@movedTo(*|mystack) restriction{myturnonly}:untap target(creature)
text=Partner with Chakram Slinger (When this creature enters the battlefield, target player may put Chakram Slinger into their hand from their library, then shuffle.) -- Whenever you cast a spell during your turn, untap target creature.
mana={4}{U}
type=Creature
subtype=Elemental Dog
power=2
toughness=4
[/card]
[card]
name=Chakram Slinger
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(chakram retriever|mylibrary)
auto={R}{T}:damage:2 target(player)
text=Partner with Chakram Retriever (When this creature enters the battlefield, target player may put Chakram Retriever into their hand from their library, then shuffle.) -- {R}, {T}: Chakram Slinger deals 2 damage to target player or planeswalker.
mana={4}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=4
[/card]
[card]
name=Challenger Troll
auto=lord(creature[power>=4]|myBattlefield) oneblocker
text=Each creature you control with power 4 or greater can't be blocked by more than one creature.
mana={4}{G}
type=Creature
subtype=Troll
power=6
toughness=5
[/card]
[card]
name=Chamber Sentry
abilities=sunburst
auto=counter(1/1,sunburst,Charge)
auto={1}{T}{C(1/1,-1)}:damage:1 target(player,creature,planeswalker)
auto={2}{T}{C(1/1,-2)}:damage:2 target(player,creature,planeswalker)
auto={3}{T}{C(1/1,-3)}:damage:3 target(player,creature,planeswalker)
auto={4}{T}{C(1/1,-4)}:damage:4 target(player,creature,planeswalker)
auto={5}{T}{C(1/1,-5)}:damage:5 target(player,creature,planeswalker)
auto={6}{T}{C(1/1,-6)}:damage:6 target(player,creature,planeswalker)
auto={7}{T}{C(1/1,-7)}:damage:7 target(player,creature,planeswalker)
auto={8}{T}{C(1/1,-8)}:damage:8 target(player,creature,planeswalker)
auto={9}{T}{C(1/1,-9)}:damage:9 target(player,creature,planeswalker)
auto={10}{T}{C(1/1,-10)}:damage:10 target(player,creature,planeswalker)
auto={11}{T}{C(1/1,-11)}:damage:11 target(player,creature,planeswalker)
auto={12}{T}{C(1/1,-12)}:damage:12 target(player,creature,planeswalker)
auto={13}{T}{C(1/1,-13)}:damage:13 target(player,creature,planeswalker)
auto={14}{T}{C(1/1,-14)}:damage:14 target(player,creature,planeswalker)
auto={15}{T}{C(1/1,-15)}:damage:15 target(player,creature,planeswalker)
auto={16}{T}{C(1/1,-16)}:damage:16 target(player,creature,planeswalker)
auto={17}{T}{C(1/1,-17)}:damage:17 target(player,creature,planeswalker)
auto={18}{T}{C(1/1,-18)}:damage:18 target(player,creature,planeswalker)
auto={19}{T}{C(1/1,-19)}:damage:19 target(player,creature,planeswalker)
auto={20}{T}{C(1/1,-20)}:damage:20 target(player,creature,planeswalker)
autograveyard={W}{U}{B}{R}{G}:moveto(myhand)
text=Chamber Sentry enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. -- {X}, {T}, Remove X +1/+1 counters from Chamber Sentry: It deals X damage to any target. -- {W}{U}{B}{R}{G}: Return Chamber Sentry from your graveyard to your hand.
mana={X}
type=Artifact Creature
subtype=Construct
power=0
toughness=0
[/card]
[card]
name=Champion of Dusk
auto=damage:type:vampire:mybattlefield controller
auto=draw:type:vampire:mybattlefield controller
text=When Champion of Dusk enters the battlefield, you draw X cards and you lose X life, where X is the number of Vampires you control.
mana={3}{B}{B}
type=Creature
subtype=Vampire Knight
power=4
toughness=4
[/card]
[card]
name=Champion of Rhonas
auto=@exerted(this):moveto(mybattlefield) target(creature|myhand)
auto=_ATTACKING_may exert
text=You may exert Champion of Rhonas as it attacks. When you do, you may put a creature card from your hand onto the battlefield. (An exerted creature won't untap during your next untap step.)
mana={3}{G}
type=Creature
subtype=Jackal Warrior
power=3
toughness=3
[/card]
[card]
name=Champion of Stray Souls
autograveyard={5}{B}{B}:moveTo(mylibrary)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<2>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<3>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<4>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<5>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<6>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<7>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<8>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<9>creature|myGraveyard)
auto={3}{B}{B}{T}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}{S(creature|mybattlefield)}:moveTo(myBattlefield) target(<10>creature|myGraveyard)
text={3}{B}{B}, {T}, Sacrifice X other creatures: Return X target creature cards from your graveyard to the battlefield. -- {5}{B}{B}: Put Champion of Stray Souls on top of your library from your graveyard.
mana={4}{B}{B}
type=Creature
subtype=Skeleton Warrior
power=4
toughness=4
[/card]
[card]
name=Champion of Wits
auto=may draw:power controller && && transforms((,newability[target(<2>*|myhand) reject])) ueot
autograveyard={5}{U}{U}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=When Champion of Wits enters the battlefield, you may draw cards equal to its power. If you do, discard two cards. -- Eternalize {5}{U}{U} ({5}{U}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Naga Wizard with no mana cost. Eternalize only as a sorcery.)
mana={2}{U}
type=Creature
subtype=Naga Wizard
power=2
toughness=1
[/card]
[card]
name=Champion of the Flame
abilities=trample
auto=thisforeach(auras) 2/2
auto=thisforeach(gear) 2/2
text=Trample -- Champion of the Flame gets +2/+2 for each Aura and Equipment attached to it.
mana={1}{R}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Champion of the Perished
auto=@movedTo(other zombie|myBattlefield):name(Put 1/1 counter) counter(1/1)
text=Whenever another Zombie enters the battlefield under your control, put a +1/+1 counter on Champion of the Perished.
mana={B}
type=Creature
subtype=Zombie
power=1
toughness=1
[/card]
[card]
name=Champions of Archery // Join the Group
abilities=reach,adventure
other={2}{R} name(Adventure)
auto=if paid(alternative) then name(Move to Command Zone) name(Move to Command Zone) target(creature[legendary]|myHand) moveTo(mycommandzone) and!( transforms((,newability[iscommander])) forever )!
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=lord(*[iscommander]|myBattlefield) type:*[iscommander]:myBattlefield/0
text=Reach -- Commanders you control get +X/+0, where X is the number of Commanders you control. // You may put a legendary creature card from your hand into the command zone. it's also your commander.
mana={3}{R}
type=Legendary Creature
subtype=Human Archer
power=1
toughness=4
[/card]
[card]
name=Chance Encounter
auto=@coinflipped(*|battlefield) result(won) from(controller):name(Put chance counter) counter(0/0,1,Chance)
auto=@each my upkeep restriction{compare(hascntchance)~morethan~9}:name(Win the game) wingame
text=Whenever you win a coin flip, put a luck counter on Chance Encounter. -- At the beginning of your upkeep, if Chance Encounter has ten or more luck counters on it, you win the game.
mana={2}{R}{R}
type=Enchantment
[/card]
[card]
name=Chance for Glory
auto=all(creature|myBattlefield) transforms((,newability[indestructible])) forever
auto=turns:+1 controller
auto=emblem transforms((,newability[@each my upkeep:phaseaction[endofturn once] winGame opponent])) forever dontremove
text=Creatures you control gain indestructible. Take an extra turn after this one. At the beginning of that turn's end step, you lose the game.
mana={1}{R}{W}
type=Instant
[/card]
[card]
name=Chancellor of the Annex
abilities=flying
autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Chancellor of the Annex) transforms((,newability[@movedto(*|opponentstack) once:all(trigger[to]) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever])) forever
auto=@movedto(*|opponentstack):all(trigger[to]) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
text=You may reveal this card from your opening hand. If you do, when each opponent casts his or her first spell of the game, counter that spell unless that player pays {1}. -- Flying -- Whenever an opponent casts a spell, counter it unless that player pays {1}.
mana={4}{W}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=6
[/card]
[card]
name=Chancellor of the Dross
abilities=flying,lifelink
autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Chancellor of the Dross) life:-3 opponent  && life:3 controller
text=You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, each opponent loses 3 life, then you gain life equal to the life lost this way. -- Flying, lifelink
mana={4}{B}{B}{B}
type=Creature
subtype=Vampire
power=6
toughness=6
[/card]
[card]
name=Chancellor of the Forge
autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Chancellor of the Forge) token(Goblin,Creature Goblin,1/1,red,haste)
auto=name(Create goblins) token(Goblin,Creature Goblin,1/1,red,haste)*type:creature:mybattlefield
text=You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, put a 1/1 red Goblin creature token with haste onto the battlefield. -- When Chancellor of the Forge enters the battlefield, put X 1/1 red Goblin creature tokens with haste onto the battlefield, where X is the number of creatures you control.
mana={4}{R}{R}{R}
type=Creature
subtype=Giant
power=5
toughness=5
[/card]
[card]
name=Chancellor of the Spires
abilities=flying
autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Chancellor of the Spires) deplete:7 opponent
auto=may name(Cast from opponent graveyard) target(*[instant;sorcery]|opponentgraveyard) activate castcard(normal)
text=You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, each opponent puts the top seven cards of his or her library into his or her graveyard. -- Flying -- When Chancellor of the Spires enters the battlefield, you may cast target instant or sorcery card from an opponent's graveyard without paying its mana cost.
mana={4}{U}{U}{U}
type=Creature
subtype=Sphinx
power=5
toughness=7
[/card]
[card]
name=Chancellor of the Tangle
abilities=reach,vigilance
autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Chancellor of the Tangle) transforms((,newability[phaseaction[my firstmain once]:add{G}])) forever
text=You may reveal this card from your opening hand. If you do, at the beginning of your first main phase, add {G} to your mana pool. -- Vigilance, reach
mana={4}{G}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=7
[/card]
[card]
name=Chandra's Defeat
auto=choice name(target red creature) damage:5 target(creature[red])
auto=choice name(target red planeswalker) damage:5 target(planeswalker[red])
auto=choice name(target Chandra) target(planeswalker[chandra]) damage:5 and!(may reject notatarget(*|myhand) and!( draw:1 controller ))!
text=Chandra's Defeat deals 5 damage to target red creature or red planeswalker. If that permanent is a Chandra planeswalker, you may discard a card. If you do, draw a card.
mana={R}
type=Instant
[/card]
[card]
name=Chandra's Embercat
auto=this(variable{type:creature[elemental]:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:planeswalker[chandra]:myrestrictedcastingzone}>0) {T}:add{R}
text={T}: Add {R}. Spend this mana only to cast an Elemental spell or a Chandra planeswalker spell.
mana={1}{R}
type=Creature
subtype=Elemental Cat
power=2
toughness=2
[/card]
[card]
name=Chandra's Firemaw
abilities=haste
auto=choice name(Search Library) may moveto(myhand) target(Chandra^ Flame's Catalyst|myLibrary) && shuffle
auto=choice name(Search Graveyard) may moveto(myhand) target(Chandra^ Flame's Catalyst|myGraveyard)
text=Haste -- When Chandra's Firemaw enters the battlefield, you may search your library and/or graveyard for a card named Chandra, Flame's Catalyst, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{R}{R}
type=Creature
subtype=Hellion
power=4
toughness=2
[/card]
[card]
name=Chandra's Flame Wave
target=player
auto=damage:2
auto=damage:2 all(creature|targetedpersonsBattlefield)
auto=moveto(myhand) target(Chandra's Flame Wave|mylibrary)
auto=moveto(myhand) target(Chandra's Flame Wave|mygraveyard)
text=Chandra's Flame Wave deals 2 damage to target player and each creature that player controls. Search your library and/or graveyard for a card named Chandra, Flame's Fury, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Chandra's Magmutt
auto={T}:damage:1 target(player,planeswalker)
text={T}: Chandra's Magmutt deals 1 damage to target player or planeswalker.
mana={1}{R}
type=Creature
subtype=Elemental Dog
power=2
toughness=2
[/card]
[card]
name=Chandra's Outburst
target=player,planeswalker.
auto=damage:4
text=Chandra's Outburst deals 4 damage to target player or planeswalker. -- Search your library and/or graveyard for a card named Chandra, Bold Pyromancer, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Chandra's Pyreling
auto=@damaged(player) from(*|myBattlefield,myStack,myGraveyard,mySideboard,myExile) 1/0 ueot && double strike ueot
text=Whenever a source you control deals noncombat damage to an opponent, Chandra's Pyreling gets +1/+0 and gains double strike until end of turn. (It deals both first-strike and regular combat damage.)
mana={1}{R}
type=Creature
subtype=Elemental Lizard
power=1
toughness=3
[/card]
[card]
name=Chandra's Triumph
target=creature,planeswalker
auto=damage:3
auto=aslongas(planeswalker[Chandra]|mybattlefield) damage:2
text=Chandra's Triumph deals 3 damage to target creature or planeswalker an opponent controls. Chandra's Triumph deals 5 damage to that permanent instead if you control a Chandra planeswalker.
mana={1}{R}
type=Instant
[/card]
[card]
name=Chandra, Fire of Kaladesh
backside=Chandra, Roaring Flame
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@movedTo(*[red]|mystack) restriction{compare(isflipped)~equalto~0}:untap
auto={T}:name(Deal 1 damage) target(player) damage:1 && if compare(totaldmg)~morethan~2 then all(this) moveto(exile) and!( moveto(ownerbattlefield) and!( flip(backside) )! )!
text=Whenever you cast a red spell, untap Chandra, Fire of Kaladesh. -- {T}: Chandra, Fire of Kaladesh deals 1 damage to target player. If Chandra has dealt 3 or more damage this turn, exile her, then return her to the battlefield transformed under her owner's control. // Chandra, Roaring Flame
mana={1}{R}{R}
type=Legendary Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Changeling Outcast
abilities=changeling,cantblock,unblockable
text=Changeling (This card is every creature type.) -- Changeling Outcast can't block and can't be blocked.
mana={B}
type=Creature
subtype=Shapeshifter
power=1
toughness=1
[/card]
[card]
name=Channel
auto=all(*|myBattlefield) transforms((,newability[{L:1}:Add{1}])) ueot
text=Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1}.
mana={G}{G}
type=Sorcery
[/card]
[card]
name=Channeled Force
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1, you draw) target(*|myhand) reject and!(draw:1)! !$ controller && damage:1 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1, opponent draw) target(*|myhand) reject !$ controller && draw:1 opponent && damage:1 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2, you draw) target(<2>*|myhand) reject and!(draw:2)! !$ controller && damage:2 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2, opponent draw) target(<2>*|myhand) reject !$ controller && draw:2 opponent && damage:2 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3, you draw) target(<3>*|myhand) reject and!(draw:3)! !$ controller && damage:3 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3, opponent draw) target(<3>*|myhand) reject !$ controller && draw:3 opponent && damage:3 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4, you draw) target(<4>*|myhand) reject and!(draw:4)! !$ controller && damage:4 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4, opponent draw) target(<4>*|myhand) reject !$ controller && draw:4 opponent && damage:4 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5, you draw) target(<5>*|myhand) reject and!(draw:5)! !$ controller && damage:5 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5, opponent draw) target(<5>*|myhand) reject !$ controller && draw:5 opponent && damage:5 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6, you draw) target(<6>*|myhand) reject and!(draw:6)! !$ controller && damage:6 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6, opponent draw) target(<6>*|myhand) reject !$ controller && draw:6 opponent && damage:6 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7, you draw) target(<7>*|myhand) reject and!(draw:7)! !$ controller && damage:7 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7, opponent draw) target(<7>*|myhand) reject !$ controller && draw:7 opponent && damage:7 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8, you draw) target(<8>*|myhand) reject and!(draw:8)! !$ controller && damage:8 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8, opponent draw) target(<8>*|myhand) reject !$ controller && draw:8 opponent && damage:8 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9, you draw) target(<9>*|myhand) reject and!(draw:9)! !$ controller && damage:9 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9, opponent draw) target(<9>*|myhand) reject !$ controller && draw:9 opponent && damage:9 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10, you draw) target(<10>*|myhand) reject and!(draw:10)! !$ controller && damage:10 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10, opponent draw) target(<10>*|myhand) reject !$ controller && draw:10 opponent && damage:10 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11, you draw) target(<11>*|myhand) reject and!(draw:11)! !$ controller && damage:11 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11, opponent draw) target(<11>*|myhand) reject !$ controller && draw:11 opponent && damage:11 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12, you draw) target(<12>*|myhand) reject and!(draw:12)! !$ controller && damage:12 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12, opponent draw) target(<12>*|myhand) reject !$ controller && draw:12 opponent && damage:12 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13, you draw) target(<13>*|myhand) reject and!(draw:13)! !$ controller && damage:13 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13, opponent draw) target(<13>*|myhand) reject !$ controller && draw:13 opponent && damage:13 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14, you draw) target(<14>*|myhand) reject and!(draw:14)! !$ controller && damage:14 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14, opponent draw) target(<14>*|myhand) reject !$ controller && draw:14 opponent && damage:14 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15, you draw) target(<15>*|myhand) reject and!(draw:15)! !$ controller && damage:15 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15, opponent draw) target(<15>*|myhand) reject !$ controller && draw:15 opponent && damage:15 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16, you draw) target(<16>*|myhand) reject and!(draw:16)! !$ controller && damage:16 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16, opponent draw) target(<16>*|myhand) reject !$ controller && draw:16 opponent && damage:16 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17, you draw) target(<17>*|myhand) reject and!(draw:17)! !$ controller && damage:17 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17, opponent draw) target(<17>*|myhand) reject !$ controller && draw:17 opponent && damage:17 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18, you draw) target(<18>*|myhand) reject and!(draw:18)! !$ controller && damage:18 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18, opponent draw) target(<18>*|myhand) reject !$ controller && draw:18 opponent && damage:18 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19, you draw) target(<19>*|myhand) reject and!(draw:19)! !$ controller && damage:19 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19, opponent draw) target(<19>*|myhand) reject !$ controller && draw:19 opponent && damage:19 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20, you draw) target(<20>*|myhand) reject and!(draw:20)! !$ controller && damage:20 target(creature,planeswalker)
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20, opponent draw) target(<20>*|myhand) reject !$ controller && draw:20 opponent && damage:20 target(creature,planeswalker)
text=As an additional cost to cast this spell, discard X cards. -- Target player draws X cards. Channeled Force deals X damage to up to one target creature or planeswalker.
mana={2}{U}{R}
type=Instant
[/card]
[card]
name=Channeler Initiate
auto=counter(-1/-1,3) target(creature|mybattlefield)
auto={T}{restriction type(this[counter(-1/-1)])~morethan~0}:name(add green) counter(-1/-1,-1) && add{G}
auto={T}{restriction type(this[counter(-1/-1)])~morethan~0}:name(add blue) counter(-1/-1,-1) && add{U}
auto={T}{restriction type(this[counter(-1/-1)])~morethan~0}:name(add black) counter(-1/-1,-1) && add{B}
auto={T}{restriction type(this[counter(-1/-1)])~morethan~0}:name(add red) counter(-1/-1,-1) && add{R}
auto={T}{restriction type(this[counter(-1/-1)])~morethan~0}:name(add white) counter(-1/-1,-1) && add{W}
text=When Channeler Initiate enters the battlefield, put three -1/-1 counters on target creature you control. -- {T}, Remove a -1/-1 counter from Channeler Initiate: Add one mana of any color to your mana pool.
mana={1}{G}
type=Creature
subtype=Human Druid
power=3
toughness=4
[/card]
[card]
name=Chant of Vitu-Ghazi
other={convoke} name(Convoke)
auto=preventalldamage from(creature|*) ueot
auto=life:pdcount controller ueot
text=Convoke (Each creature you tap while casting this spell reduces its cost by {1} or by one mana of that creature's color.) -- Prevent all damage that would be dealt by creatures this turn. You gain life equal to the damage prevented this way.
mana={6}{W}{W}
type=Instant
[/card]
[card]
name=Chaos Channeler
auto=_ATTACKING_name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end
auto=@dierolled(this) result(1) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(2) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(3) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(4) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(5) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(6) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(7) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(8) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(9) from(controller):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! 
auto=@dierolled(this) result(10) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(11) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(12) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(13) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(14) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(15) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(16) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(17) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(18) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(19) from(controller):name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@dierolled(this) result(20) from(controller):name(Exile top 3 cards) all(*[zpos<=3]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
text=Wild Magic Surge - Whenever Chaos Channeler attacks, roll a d20. -- 1-9 | Exile the top card of your library. You may play it this turn. -- 10-19 | Exile the top two cards of your library. You may play them this turn. -- 20 | Exile the top three cards of your library. You may play them this turn.
mana={2}{R}{R}
type=Creature
subtype=Human Shaman
power=4
toughness=3
[/card]
[card]
name=Chaos Dragon
abilities=flying,haste,mustattack
auto=@each my combatbegins:name(Roll a d20) rolld20 20 winability donothing winabilityend loseability if compare(lastrollresult)~lessthan~11 then transforms((,newability[cantattack],newability[cantpwattack])) ueot loseabilityend rolld20end
text=Flying, haste -- Chaos Dragon attacks each combat if able. -- At the beginning of combat on your turn, each player rolls a d20. If one or more opponents had the highest result, Chaos Dragon can't attack those players or planeswalkers they control this combat.
mana={1}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Chaos Harlequin
auto={R}:reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[2/0 ueot],newability[target(<1>*|reveal) moveto(exile)])) optiononeend optiontwo if type(land|reveal)~morethan~0 then transforms((,newability[-4/0 ueot],newability[target(<1>*|reveal) moveto(exile)])) optiontwoend revealend
text={R}: Exile the top card of your library. If that card is a land card, Chaos Harlequin gets -4/-0 until end of turn. Otherwise, Chaos Harlequin gets +2/+0 until end of turn.
mana={2}{R}{R}
type=Creature
subtype=Human
power=2
toughness=4
[/card]
[card]
name=Chaos Maw
auto=damage:3 all(other creature)
text=When Chaos Maw enters the battlefield, it deals 3 damage to each other creature.
mana={5}{R}{R}
type=Creature
subtype=Hellion
power=6
toughness=6
[/card]
[card]
name=Chaos Wand
auto={4}{T}:Reveal:1 revealzone(opponentlibrary) revealuntil(*[instant;sorcery]|opponentlibrary) optionone choice name(Cast revelead instant or sorcery?) target(<upto:1>*[instant;sorcery]|reveal) moveto(ownerexile) and!( transforms((,newability[counter(0/0.1.ChaosExiledCast)])) forever )! optiononeend optiontwo choice name(put exile) target(<1>*|reveal) bottomoflibrary and!( all(*|reveal) moveto(ownerexile) and!( transforms((,newability[counter(0/0.1.ChaosExiled)])) forever )! )! optiontwoend afterrevealed all(*[counter{0/0.1.ChaosExiled}]|opponentexile) bottomoflibrary and!( name(Cast instant or sorcery) name(Cast instant or sorcery) target(*[counter{0/0.1.ChaosExiledCast}]|opponentexile) activate castcard(normal) )! afterrevealedend revealend
text={4}, {T}: Target opponent exiles cards from the top of their library until they exile an instant or sorcery card. You may cast that card without paying its mana cost. Then put the exiled cards that weren't cast this way on the bottom of that library in a random order.
mana={3}
type=Artifact
[/card]
[card]
name=Chapel Shieldgeist
backside=Chaplain of Alms
abilities=flying,first strike,exiledeath
auto=@targeted(creature|myBattlefield) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 more) donothing?fizzle])) oneshot
text=Flying, first strike -- Each creature you control has ward {1}. (Whenever it becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.) -- If Chapel Shieldgeist would be put into a graveyard from anywhere, exile it instead. // Chaplain of Alms
type=Creature
subtype=Spirit Cleric
color=white
power=2
toughness=1
[/card]
[card]
name=Chaplain of Alms
backside=Chapel Shieldgeist
abilities=first strike,hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={3}{W} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 more) donothing?fizzle])) oneshot
text=First strike -- Ward {1} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.) -- Disturb {3}{W} (You may cast this card from your graveyard transformed for its disturb cost.) // Chapel Shieldgeist
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Charge
auto=all(other creature|myBattlefield) +1/+1 
text=Creatures you control get +1/+1 until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Charge Through
target=creature
auto=transforms((,newability[trample])) ueot
auto=draw:1 controller
text=Target creature gains trample until end of turn. -- Draw a card.
mana={G}
type=Instant
[/card]
[card]
name=Charge of the Forever-Beast
auto=target(creature|myhand) transforms((,newability[target(*[creature;planeswalker]|opponentbattlefield) dynamicability<!powerstrike!>])) forever
text=As an additional cost to cast this spell, reveal a creature card from your hand. -- Charge of the Forever-Beast deals damage to target creature or planeswalker equal to the revealed card's power.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Charging Binox
abilities=trample
text=Assist (Another player can pay up to {7} of this spell's cost.) -- Trample
mana={7}{G}
type=Creature
subtype=Beast
power=7
toughness=5
[/card]
[card]
name=Charging Cinderhorn
abilities=Haste
auto=@each my endofturn:combat(-attacking[creature|mybattlefield]):counter(0/0,1,Fury) all (this) then foreach(counter[0/0,1,Fury]):damage:1 controller
auto=@each opponent endofturn:combat(-attacking[creature|opponentbattlefield]):counter(0/0,1,Fury) all (this) then foreach(counter[0/0,1,Fury]):damage:1 opponent
text=Haste -- At the beginning of each player's end step, if no creatures attacked this turn, put a fury counter on Charging Cinderhorn. Then Charging Cinderhorn deals damage equal to the number of fury counters on it to that player.
mana={3}{R}
type=Creature
subtype=Elemental Ox
power=4
toughness=2
[/card]
[card]
name=Charging Monstrosaur
abilities=trample, haste
text=Trample, haste
mana={4}{R}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Charging Tuskodon
abilities=trample
auto=@combatdamagefoeof(player) from(this):damage:thatmuch opponent
auto=@combatdamageof(player) from(this):damage:thatmuch controller
text=Trample -- If Charging Tuskodon would deal combat damage to a player, it deals double that damage to that player instead.
mana={3}{R}{R}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Charging War Boar
abilities=haste
auto=aslongas(planeswalker[Domri]|mybattlefield) +1/+1
auto=aslongas(planeswalker[Domri]|mybattlefield) trample
text=Haste (This creature can attack and {T} as soon as it comes under your control.) -- As long as you control a Domri planeswalker, Charging War Boar gets +1/+1 and has trample. (It can deal excess damage to the player or planeswalker it's attacking.)
mana={1}{R}{G}
type=Creature
subtype=Boar
power=3
toughness=1
[/card]
[card]
name=Charity Extractor
abilities=lifelink
text=Lifelink
mana={3}{B}
type=Creature
subtype=Human Knight
power=1
toughness=5
[/card]
[card]
name=Charix, the Raging Isle
auto=@targeted(this) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
auto={3}:type:island:myBattlefield/-type:island:myBattlefield ueot
text=Spells your opponents cast that target Charix, the Raging Isle cost {2} more to cast. -- {3}:Charix gets +X/-X until end of turn, where X is the number of Islands you control.
mana={2}{U}{U}
type=Legendary Creature
subtype=Leviathan Crab
power=0
toughness=17
[/card]
[card]
name=Charm Peddler
auto={W}{T}{D(*|myHand)}:preventalldamage target(creature)
text={W}, {T}, Discard a card: The next time a source of your choice would deal damage to target creature this turn, prevent that damage.
mana={W}
type=Creature
subtype=Human Spellshaper
power=1
toughness=1
[/card]
[card]
name=Charmed Sleep
target=creature
auto=teach(creature) doesnotuntap
auto=tap
text=Enchant creature -- When Charmed Sleep enters the battlefield, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step.
mana={1}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Charmed Stray
abilities=lifelink
auto=all(other Charmed Stray|myBattlefield) counter(1/1)
text=Lifelink -- Whenever Charmed Stray enters the battlefield, put a +1/+1 counter on each other creature you control named Charmed Stray.
mana={W}
type=Creature
subtype=Cat
power=1
toughness=1
[/card]
[card]
name=Charming Prince
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=choice name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=choice name(Gain 3 life) life:3
auto=choice name(Exile your creature) (blink)ueot target(other *[creature]|mybattlefield)
text=When Charming Prince enters the battlefield, Choose one -- Scry 2. -- You gain 3 life. -- Exile another target creature you own. Return it to the battlefield under your control at the beginning of the next end step.
mana={1}{W}
type=Creature
subtype=Human Noble
power=2
toughness=2
[/card]
[card]
name=Charnel Troll
abilities=trample
auto=upcost[{S(creature|mygraveyard)}] sacrifice
auto=@each my upkeep:counter(1/1)
auto={B}{G}{D(creature|myhand)}:counter(1/1)
text=Trample -- At the beginning of your upkeep, exile a creature card from your graveyard. If you do, put a +1/+1 counter on Charnel Troll. Otherwise, sacrifice it. -- {B}{G}, Discard a creature card: Put a +1/+1 counter on Charnel Troll.
mana={1}{B}{G}
type=Creature
subtype=Troll
power=4
toughness=4
[/card]
[card]
name=Chart a Course
auto=draw:2 controller
auto=if type(creature[attacking])~lessthan~1 then discard(*|myhand)
text=Draw two cards. Then discard a card unless you attacked with a creature this turn.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Chatterfang, Squirrel General
abilities=forestwalk
auto=@tokencreated(*|myBattlefield):name(Create squirrel) token(Squirrel,Creature Squirrel,1/1,green,notrigger)
auto={B}{S(squirrel|myBattlefield)}:name(Sacrifice 1 squirrel) target(creature) 1/-1 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 2 squirrels) target(creature) 2/-2 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 3 squirrels) target(creature) 3/-3 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 4 squirrels) target(creature) 4/-4 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 5 squirrels) target(creature) 5/-5 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 6 squirrels) target(creature) 6/-6 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 7 squirrels) target(creature) 7/-7 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 8 squirrels) target(creature) 8/-8 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 9 squirrels) target(creature) 9/-9 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 10 squirrels) target(creature) 10/-10 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 11 squirrels) target(creature) 11/-11 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 12 squirrels) target(creature) 12/-12 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 13 squirrels) target(creature) 13/-13 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 14 squirrels) target(creature) 14/-14 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 15 squirrels) target(creature) 15/-15 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 16 squirrels) target(creature) 16/-16 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 17 squirrels) target(creature) 17/-17 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 18 squirrels) target(creature) 18/-18 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 19 squirrels) target(creature) 19/-19 ueot
auto={B}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}{S(squirrel|myBattlefield)}:name(Sacrifice 20 squirrels) target(creature) 20/-20 ueot
text=Forestwalk (This creature can't be blocked as long as defending player controls a Forest.) -- If one or more tokens would be created under your control, those tokens plus that many 1/1 green Squirrel creature tokens are created instead. -- {B}, Sacrifice X Squirrels: Target creature gets +X/-X until end of turn.
mana={2}{G}
type=Legendary Creature
subtype=Squirrel Warrior
power=3
toughness=3
[/card]
[card]
name=Chatterstorm
abilities=storm
auto=token(Squirrel,Creature Squirrel,1/1,green)
text=Create a 1/1 green Squirrel creature token. -- Storm (When you cast this spell, copy it for each spell cast before it this turn.)
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Check for Traps
auto=if type(*[-land]|opponenthand)~morethan~0 then name(Choose non-land card) name(Choose non-land card) target(*[-land]|opponenthand) moveto(exile) and!( transforms((,newability[if cantargetcard(*[-instant;-flash]|*) then life:-1 opponent],newability[if cantargetcard(*[flash]|*) then life:-1 controller],newability[if cantargetcard(*[instant]|*) then life:-1 controller])) oneshot )!
auto=if type(*[-land]|opponenthand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) )!
text=Target opponent reveals their hand. You choose a nonland card from it. Exile that card. If an instant or a card with flash is exiled this way, they lose 1 life. Otherwise, you lose 1 life.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Checkpoint Officer
auto={1}{W}{T}:tap target(creature)
text={1}{W}, {T}: Tap target creature.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=2
[/card]
[card]
name=Cheering Fanatic
auto=_ATTACKING_target(*[-land]|mycastingzone) altercost(colorless,-1) ueot
text=Whenever Cheering Fanatic attacks, choose a card name. Spells with the chosen name cost 1 less to cast this turn.
mana={1}{R}
type=Creature
subtype=Goblin
power=2
toughness=2
[/card]
[card]
name=Chemister's Insight
auto=draw:2
flashback={3}{U}{D(*|myhand)}
text=Draw two cards. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={3}{U}
type=Instant
[/card]
[card]
name=Cherished Hatchling
auto=_DIES_all(dinosaur|mycastingzone) transforms((,newability[asflash])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=0]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:0 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:0 && all(dinosaur[power=0;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=1]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:1 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:1 && all(dinosaur[power=1;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=2]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:2 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:2 && all(dinosaur[power=2;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=3]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:3 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:3 && all(dinosaur[power=3;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=4]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:4 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:4 && all(dinosaur[power=4;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=5]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:5 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:5 && all(dinosaur[power=5;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=6]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:6 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:6 && all(dinosaur[power=6;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=7]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:7 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:7 && all(dinosaur[power=7;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=8]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:8 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:8 && all(dinosaur[power=8;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power=9]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:9 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:9 && all(dinosaur[power=9;fresh]|mybattlefield) damage:10!$ controller])) ueot
auto=_DIES_emblem transforms((,newability[@movedto(dinosaur[power>=10]|mybattlefield):ability$!name(Choose one) choice name(Don't fight) donothing _ choice name(Fights with another creature with power 0) target(creature[power=0]) damage:10 _ choice name(Fights with another creature with power 1) target(creature[power=1]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:1 _ choice name(Fights with another creature with power 2) target(creature[power=2]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:2 _ choice name(Fights with another creature with power 3) target(creature[power=3]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:3 _ choice name(Fights with another creature with power 4) target(creature[power=4]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:4 _ choice name(Fights with another creature with power 5) target(creature[power=5]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:5 _ choice name(Fights with another creature with power 6) target(creature[power=6]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:6 _ choice name(Fights with another creature with power 7) target(creature[power=7]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:7 _ choice name(Fights with another creature with power 8) target(creature[power=8]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:8 _ choice name(Fights with another creature with power 9) target(creature[power=9]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:9 _ choice name(Fights with another creature with power 10 or more) target(creature[power>=10]) damage:10 && all(dinosaur[power>=10;fresh]|mybattlefield) damage:10!$ controller])) ueot
text=When Cherished Hatchling dies, you may cast Dinosaur spells this turn as though they had flash, and whenever you cast a Dinosaur spell this turn, it gains "When this creature enters the battlefield, you may have it fight another target creature."
mana={1}{G}
type=Creature
subtype=Dinosaur
power=2
toughness=1
[/card]
[card]
name=Chevill, Bane of Monsters
abilities=deathtouch
auto=@each my upkeep restriction{type(*[counter{0/0.1.Bounty}]|opponentBattlefield)~morethan~0}:counter(0/0,1,Bounty) target(creature,planeswalker|opponentBattlefield)
auto=@movedto(graveyard) from(*[counter{0/0.1.Bounty}]|opponentbattlefield):life:3 controller && draw:1 controller
text=Deathtouch -- At the beginning of your upkeep, if your opponents control no permanents with bounty counters on them, put a bounty counter on target creature or planeswalker an opponent controls. -- Whenever a permanent an opponent controls with a bounty counter on it dies, you gain 3 life and draw a card.
mana={B}{G}
type=Legendary Creature
subtype=Human Rogue
power=1
toughness=3
[/card]
[card]
name=Chicken Egg
auto=@each my upkeep:rolld6 6 winability donothing winabilityend rolld6end
auto=@dierolled(this) result(6) from(controller):all(this) sacrifice && token(Giant Chicken,Creature Giant Chicken,4/4,red) myupkeeponly
text=During your upkeep, roll a six-sided die. On a 6, sacrifice Chicken Egg and put a Giant Chicken token into play. Treat this token as a 4/4 red creature that counts as a Chicken.
mana={1}{R}
type=Summon
subtype=Egg
[/card]
[card]
name=Chicken a la King
auto=@dierolled(*|battlefield) result(6) from(controller):all(bird|battlefield) counter(1/1)
auto={T(*[bird]|mybattlefield)}:rolld6 6 winability donothing winabilityend rolld6end
text=Whenever a 6 is rolled on a six-sided die, put a +1/+1 counter on each Bird. (You may roll dice only when instructed to.) -- Tap an untapped Bird you control: Roll a six-sided die. (Like now.)
mana={1}{U}{U}
type=Creature
subtype=Bird
power=2
toughness=2
[/card]
[card]
name=Chief Engineer
auto=lord(artifact|myhand,mylibrary,mygraveyard,myexile,mysideboard) convoke
text=Artifact spells you cast have convoke. (Your creatures can help cast those spells. Each creature you tap while casting an artifact spell pays for {1} or one mana of that creature's color.)
mana={1}{U}
type=Creature
subtype=Vedalken Artificer
power=1
toughness=3
[/card]
[card]
name=Chill Haunting
target=creature
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Exile 1 creature) name(Exile 1 creature) -1/-1 ueot && target(creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~1 then choice name(Exile 2 creatures) name(Exile 2 creatures) -2/-2 ueot && target(<2>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~2 then choice name(Exile 3 creatures) name(Exile 3 creatures) -3/-3 ueot && target(<3>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~3 then choice name(Exile 4 creatures) name(Exile 4 creatures) -4/-4 ueot && target(<4>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~4 then choice name(Exile 5 creatures) name(Exile 5 creatures) -5/-5 ueot && target(<5>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~5 then choice name(Exile 6 creatures) name(Exile 6 creatures) -6/-6 ueot && target(<6>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~6 then choice name(Exile 7 creatures) name(Exile 7 creatures) -7/-7 ueot && target(<7>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~7 then choice name(Exile 8 creatures) name(Exile 8 creatures) -8/-8 ueot && target(<8>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~8 then choice name(Exile 9 creatures) name(Exile 9 creatures) -9/-9 ueot && target(<9>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~9 then choice name(Exile 10 creatures) name(Exile 10 creatures) -10/-10 ueot && target(<10>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~10 then choice name(Exile 11 creatures) name(Exile 11 creatures) -11/-11 ueot && target(<11>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~11 then choice name(Exile 12 creatures) name(Exile 12 creatures) -12/-12 ueot && target(<12>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~12 then choice name(Exile 13 creatures) name(Exile 13 creatures) -13/-13 ueot && target(<13>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~13 then choice name(Exile 14 creatures) name(Exile 14 creatures) -14/-14 ueot && target(<14>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~14 then choice name(Exile 15 creatures) name(Exile 15 creatures) -15/-15 ueot && target(<15>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~15 then choice name(Exile 16 creatures) name(Exile 16 creatures) -16/-16 ueot && target(<16>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~16 then choice name(Exile 17 creatures) name(Exile 17 creatures) -17/-17 ueot && target(<17>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~17 then choice name(Exile 18 creatures) name(Exile 18 creatures) -18/-18 ueot && target(<18>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~18 then choice name(Exile 19 creatures) name(Exile 19 creatures) -19/-19 ueot && target(<19>creature|mygraveyard) moveTo(exile)
auto=if type(creature|mygraveyard)~morethan~19 then choice name(Exile 20 creatures) name(Exile 20 creatures) -20/-20 ueot && target(<20>creature|mygraveyard) moveTo(exile)
text=As an additional cost to cast Chill Haunting, exile X creature cards from your graveyard. -- Target creature gets -X/-X until end of turn.
mana={1}{B}
type=Instant
[/card]
[card]
name=Chill Out
auto={T}{i}:tap(noevent) target(*[artifact;creature]|battlefield)
text={S}i}, {T}: Tap target artifact or creature. ({S}i} is mana from a snow source.)
mana={2}{U}
type=Snow Artifact
[/card]
[card]
name=Chillbringer
abilities=flying
auto=freeze target(creature|opponentbattlefield)
text=Flying -- When Chillbringer enters the battlefield, tap target creature an opponent controls. It doesn't untap during its controller's next untap step.
mana={4}{U}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Chillerpillar
auto=this(cantargetcard(*[-monstrous]) {4}{i}{i}:becomes(monstrous) forever && counter(1/1,2) && transforms((,newability[flying])) forever
text={4}{S{i}{S{i}: Monstrosity 2. (If this creature isn't monstrous, put two +1/+1 counters on it and it becomes monstrous. {S}i} can be paid with one mana from a snow permanent.) -- As long as Chillerpillar is monstrous, it has flying.
mana={3}{U}
type=Snow Creature
subtype=Insect
power=3
toughness=3
[/card]
[card]
name=Chilling Chronicle
backside=Mysterious Tome
auto={1}{T}:name(Tap permanent and transform) target(*|battlefield) tap && all(this) flip(backside)
text={1}, {T}: Tap target nonland permanent. Transform Chilling Chronicle. // Mysterious Tome
type=Artifact
color=blue
[/card]
[card]
name=Chilling Trap
target=creature
auto=-4/0
auto=aslongas(wizard|myBattlefield) draw:1 controller
text=Target creature gets -4/-0 until end of turn. If you control a Wizard, draw a card.
mana={U}
type=Instant
[/card]
[card]
name=Chisei, Heart of Oceans
abilities=flying
auto=@each my upkeep:choice name(Don't remove any counter and sacrifice) sacrifice
auto=@each my upkeep restriction{type(*[counter{any}]|myBattlefield)~morethan~0}:choice name(Remove a counter) removesinglecountertype(1) target(*[counter{any}]|myBattlefield)
text=Flying -- At the beginning of your upkeep, sacrifice Chisei, Heart of Oceans unless you remove a counter from a permanent you control.
mana={2}{U}{U}
type=Legendary Creature
subtype=Spirit
power=4
toughness=4
[/card]
[card]
name=Chittering Doom
auto=@dierolled(*|battlefield) result(4) from(controller):token(Squirrel,Creature Squirrel,1/1,green)
auto=@dierolled(*|battlefield) result(5) from(controller):token(Squirrel,Creature Squirrel,1/1,green)
auto=@dierolled(*|battlefield) result(6) from(controller):token(Squirrel,Creature Squirrel,1/1,green)
text=Whenever you roll a 4 or higher on a die, create a 1/1 green Squirrel creature token.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Chittering Harvester
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={4}{B} name(Mutate)
auto=transforms((,newability[@mutated(this):ability$!sacrifice name(opponent sacrifices creature) notatarget(creature|mybattlefield)!$ opponent]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {4}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, each opponent sacrifices a creature.
mana={5}{B}
type=Creature
subtype=Nightmare
power=4
toughness=6
[/card]
[card]
name=Chittering Witch
auto=create(Rat:creature Rat:1/1:black)
auto={1}{B}{S(creature|myBattlefield)}:target(creature) -2/-2 ueot
text=When Chittering Witch enters the battlefield, create a number of 1/1 black Rat creature tokens equal to the number of opponents you have. -- {1}{B}, Sacrifice a creature: Target creature gets -2/-2 until end of turn.
mana={3}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=2
[/card]
[card]
name=Chitterspitter
auto=@each my upkeep:may name(Sacrifice token) target(*[token]|mybattlefield) sacrifice && counter(0/0,1,acorn) all(this)
auto=thisforeach(counter{0/0.1.acorn}>0) lord(squirrel|mybattlefield) 1/1
auto={G}{T}:name(Create Squirrel) token(Squirrel,Creature Squirrel,1/1,green)
text=At the beginning of your upkeep, you may sacrifice a token. If you do, put an acorn counter on Chitterspitter. -- Squirrels you control get +1/+1 for each acorn counter on Chitterspitter. -- {G}, {T}: Create a 1/1 green Squirrel creature token.
mana={2}{G}
type=Artifact
[/card]
[card]
name=Choking Vines
restriction=blockersonly
target=<prex>creature[attacking]
auto=damage:1
auto=-999/0 ueot
text=Cast Choking Vines only during the declare blockers step. -- X target attacking creatures become blocked. Choking Vines deals 1 damage to each of those creatures. (This spell works on unblockable creatures.)
mana={X}{G}
type=Instant
[/card]
[card]
name=Choose Your Weapon
auto=choice name(Double power and toughness) target(creature|battlefield) transforms((,newability[power/toughness])) ueot
auto=choice name(Deal 5 damage) target(creature[flying]|battlefield) damage:5
text=Choose one -- Two-Weapon Fighting - Double target creature's power and toughness until end of turn. -- Archery - This spell deals 5 damage to target creature with flying.
mana={2}{G}
type=Instant
[/card]
[card]
name=Chord of Calling
other={convoke} name(Convoke)
aicode=activate target(creature[manacost<=x]|mylibrary) moveto(myhand)
auto=reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[manacost<=x]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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 a creature card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library.
mana={X}{G}{G}{G}
type=Instant
[/card]
[card]
name=Chorus of the Conclave
abilities=forestwalk
auto=counter(1/1,X)
text=Forestwalk -- As an additional cost to cast creature spells, you may pay any amount of mana. If you do, that creature enters the battlefield with that many additional +1/+1 counters on it.
mana={X}{4}{G}{G}{W}{W}
type=Legendary Creature
subtype=Dryad
power=3
toughness=8
[/card]
[card]
name=Chromatic Orrery
auto=lord(*|mycastingzone) anytypeofmana
auto=lord(*|myzones) anytypeofmanaability
auto={T}:add{C}{C}{C}{C}{C}
auto={5}{T}:transforms((,newability[aslongas(*[white]|myBattlefield) draw:1 controller],newability[aslongas(*[blue]|myBattlefield) draw:1 controller],newability[aslongas(*[black]|myBattlefield) draw:1 controller],newability[aslongas(*[red]|myBattlefield) draw:1 controller],newability[aslongas(*[green]|myBattlefield) draw:1 controller])) oneshot
text=You may spend mana as though it were mana of any color. -- {T}: Add {C}{C}{C}{C}{C}. -- {5}, {T}: Draw a card for each color among permanents you control.
mana={7}
type=Legendary Artifact
[/card]
[card]
name=Chrome Courier
abilities=flying
aicode=activate target(*[zpos<=2]|mylibrary) moveto(myhand) and!( transforms((,newability[if cantargetcard(*[artifact]|*) then life:3 controller],newability[target(*[zpos<=1]|mylibrary) moveto(myGraveyard)])) oneshot )!
auto=reveal:2 optionone name(Put card in hand) target(*|reveal) moveto(myhand) and!( if cantargetcard(*[artifact]|*) then life:3 controller )! optiononeend optiontwo name(put in graveyard) all(*|reveal) moveTo(myGraveyard) optiontwoend revealend
text=Flying -- When Chrome Courier enters the battlefield, reveal the top two cards of your library. Put one of them into your hand and the other into your graveyard. If you put an artifact card into your hand this way, you gain 3 life.
mana={1}{W}{U}
type=Artifact Creature
subtype=Thopter
power=1
toughness=1
[/card]
[card]
name=Chrome Replicator
auto=if type(*[share!name!;-token;-land]|myBattlefield)~morethan~1 then token(Construct Chr)
text=When Chrome Replicator enters the battlefield, if you control two or more nonland, nontoken permanents with the same name as one another, create a 4/4 colorless Construct artifact creature token.
mana={5}
type=Artifact Creature
subtype=Construct
power=4
toughness=4
[/card]
[card]
name=Chromium, the Mutable
abilities=flash, nofizzle, flying
auto={D(*|myhand)}:transforms((Human Creature,setpower=1,settoughness=1,opponentshroud,unblockable,blue)) ueot
text=Flash -- This spell can't be countered. -- Flying -- Discard a card: Until end of turn, Chromium, the Mutable becomes a Human with base power and toughness 1/1, loses all abilities, and gains hexproof. It can't be blocked this turn.
mana={4}{W}{U}{B}
type=Legendary Creature
subtype=Elder Dragon
power=7
toughness=7
[/card]
[card]
name=Chronomantic Escape
suspend(3)={2}{W}
auto=all(creature|opponentbattlefield) transforms((,newability[cantattack],newability[cantpwattack])) uynt
text=Until your next turn, creatures can't attack you. Exile Chronomantic Escape with three time counters on it. -- Suspend 3-{2}{W} (Rather than cast this card from your hand, you may pay {2}{W} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)
mana={4}{W}{W}
type=Sorcery
[/card]
[card]
name=Chronostutter
target=creature
auto=placefromthetop(2)
text=Put target creature into its owner's library second from the top.
mana={5}{U}
type=Instant
[/card]
[card]
name=Chulane, Teller of Tales
abilities=vigilance
auto=@movedTo(creature|mystack):draw:1 && may moveto(myBattlefield) target(land|myHand)
auto={3}{T}:moveTo(ownerhand) target(other creature|mybattlefield)
text=Vigilance -- Whenever you cast a creature spell, draw a card, then you may put a land card from your hand onto the battlefield. -- {3}, {T}: Return target creature you control to its owner's hand.
mana={2}{G}{W}{U}
type=Legendary Creature
subtype=Human Druid
power=2
toughness=4
[/card]
[card]
name=Cinder Crawler
auto=@combat(blocked) source(this):pay({R}) 1/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}) 2/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}) 3/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}{R}) 4/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}{R}{R}) 5/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}{R}{R}{R}) 6/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}{R}{R}{R}{R}) 7/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}{R}{R}{R}{R}{R}) 8/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}{R}{R}{R}{R}{R}{R}) 9/0 ueot
auto=@combat(blocked) source(this):pay({R}{R}{R}{R}{R}{R}{R}{R}{R}{R}) 10/0 ueot
text={R}: Cinder Crawler gets +1/+0 until end of turn. Activate this ability only if Cinder Crawler is blocked.
mana={1}{R}
type=Creature
subtype=Salamander
power=1
toughness=2
[/card]
[card]
name=Cinderclasm
kicker={R}
auto=if paid(kicker) then damage:1 all(creature)
auto=damage:1 all(creature)
text=Kicker {R} (You may pay an additional {R} as you cast this spell.) -- Cinderclasm deals 1 damage to each creature. If it was kicked, it deals 2 damage to each creature instead.
mana={1}{R}
type=Instant
[/card]
[card]
name=Cinderheart Giant
abilities=trample
auto=_DIES_ability$!name(Deals 7 damage) name(Deals 7 damage) damage:7 notatarget(creature|mybattlefield)!$ opponent
text=Trample -- When Cinderheart Giant dies, it deals 7 damage to a creature an opponent controls chosen at random.
mana={5}{R}{R}
type=Creature
subtype=Giant Berserker
power=7
toughness=6
[/card]
[card]
name=Cindervines
auto={1}{S}:destroy target(artifact,enchantment) && damage:2 targetcontroller
auto=@movedTo(*[-creature]|opponentstack):damage:1 opponent
text=Whenever an opponent casts a noncreature spell, Cindervines deals 1 damage to that player. -- {1}, Sacrifice Cindervines: Destroy target artifact or enchantment. Cindervines deals 2 damage to that permanent's controller.
mana={R}{G}
type=Enchantment
[/card]
[card]
name=Circle of Affliction
auto=chooseacolor transforms((,newability[@damageof(player) from(*[chosencolor]): pay({1}) life:1 controller && life:-1 opponent])) forever chooseend
text=As Circle of Affliction enters the battlefield, choose a color. -- Whenever a source of the chosen color deals damage to you, you may pay {1}. If you do, target player loses 1 life and you gain 1 life.
mana={1}{B}
type=Enchantment
[/card]
[card]
name=Circle of Despair
auto={1}{S(creature|myBattlefield)}:name(prevent damage) notatarget(*|battlefield,stack,hand,graveyard) preventalldamage from(mytgt) ueot
text={1}, Sacrifice a creature: The next time a source of your choice would deal damage to target creature or player this turn, prevent that damage.
mana={1}{W}{B}
type=Enchantment
[/card]
[card]
name=Circle of Dreams Druid
auto={T}:name(Add green mana) foreach(creature|myBattlefield) add{G}
text={T}: Add {G} for each creature you control.
mana={G}{G}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=1
[/card]
[card]
name=Circle of Protection: Artifacts
auto={2}:name(prevent damage) notatarget(artifact|battlefield,stack,hand,graveyard) preventalldamage from(mytgt) ueot
text={2}: The next time an artifact source of your choice would deal damage to you this turn, prevent that damage.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Circle of the Moon Druid
auto=this(variable{controllerturn}) transforms((removecreaturesubtypes))
auto=this(variable{controllerturn}) transforms((Bear,setpower=4,settoughness=2))
text=Bear Form - As long as it's your turn, Circle of the Moon Druid is a Bear with base power and toughness 4/2. (It loses all other creature types.)
mana={2}{G}
type=Creature
subtype=Human Elf Druid
power=2
toughness=4
[/card]
[card]
name=Circling Vultures
abilities=flying,flash
other={D} name(Discard)
auto=upcost[{l2e}] sacrifice
text=Flying -- You may discard Circling Vultures any time you could cast an instant. -- At the beginning of your upkeep, sacrifice Circling Vultures unless you exile the top creature card of your graveyard.
mana={B}
type=Creature
subtype=Bird
power=3
toughness=2
[/card]
[card]
name=Circu, Dimir Lobotomist
auto=@movedTo(*[blue]|myStack):transforms((,newability[deplete:1 target(player) with counter{0/0.1.Lobotomist}]))
auto=@movedTo(*[black]|myStack):transforms((,newability[deplete:1 target(player) with counter{0/0.1.Lobotomist}]))
auto=maxCast(*[named!{counter[0/0.1.Lobotomist]}])0 opponent
text=Whenever you cast a blue spell, exile the top card of target player's library. -- Whenever you cast a black spell, exile the top card of target player's library. -- Your opponents can't cast spells with the same name as a card exiled with Circu, Dimir Lobotomist.
mana={2}{U}{B}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Circuitous Route
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>*[basic;gate]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:2>*[basic;gate]|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 land cards and/or Gate cards, put them onto the battlefield tapped, then shuffle your library.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=City's Blessing
abilities=shroud,indestructible,doublefacedeath
type=Emblem
[/card]
[card]
name=Citywatch Sphinx
abilities=flying
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=_DIES_name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Flying -- When Citywatch Sphinx dies, surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on the top of your library in any order.)
mana={5}{U}
type=Creature
subtype=Sphinx
power=5
toughness=4
[/card]
[card]
name=Citywide Bust
auto=destroy all creature[toughness>=4]
text=Destroy all creatures with toughness 4 or greater.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Civic Stalwart
auto=all(creature|myBattlefield) +1/+1 ueot
text=When Civic Stalwart enters the battlefield, creatures you control get +1/+1 until end of turn.
mana={3}{W}
type=Creature
subtype=Elephant Soldier
power=3
toughness=3
[/card]
[card]
name=Clackbridge Troll
abilities=trample,haste
auto=create(Goat:creature Goat:0/1:white)*3 opponent
auto=@each my combatbegins restriction{type(creature|opponentbattlefield)~morethan~0}:ability$!name(sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent && tap (this) && draw:1 controller && life:3 controller
text=Trample, haste -- When Clackbridge Troll enters the battlefield, target opponent creates three 0/1 white Goat creature tokens. -- At the beginning of combat on your turn, any opponent may sacrifice a creature. If a player does, tap Clackbridge Troll, you gain 3 life, and you draw a card.
mana={3}{B}{B}
type=Creature
subtype=Troll
power=8
toughness=8
[/card]
[card]
name=Claim // Fame
target=creature[manacost<=2]|mygraveyard
auto=moveto(mybattlefield)
autograveyard={1}{R}{E}:target(creature) 2/0 ueot && haste ueot assorcery
text=Return target creature card with converted mana cost 2 or less from your graveyard to the battlefield. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Target creature gets +2/+0 and gains haste until end of turn.
mana={B}
type=Sorcery
[/card]
[card]
name=Claim the Firstborn
target=creature[manacost<=3]|opponentbattlefield
auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
text=Gain control of target creature with converted mana cost 3 or less until end of turn. Untap that creature. It gains haste until end of turn.
mana={R}
type=Sorcery
[/card]
[card]
name=Clam-I-Am
auto=@dierolled(*|battlefield) result(3) from(controller):all(this) rolld6 6 winability donothing winabilityend loseability donothing loseabilityend rolld6end
text=Whenever you roll a 3 on a six-sided die, you may reroll that die.
mana={2}{U}
type=Summon
subtype=Clamfolk
[/card]
[card]
name=Clambassadors
auto=@damaged(player) from(this):target(*[creature;artifact;land]|mybattlefield) moveTo(opponentbattlefield)
text=If Clambassadors damages any player, choose an artifact, creature, or land you control. That player gains control of that artifact, creature, or land.
mana={3}{U}
type=Summon
subtype=Clamfolk
[/card]
[card]
name=Clamor Shaman
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
auto=_ATTACKING_target(creature|opponentBattlefield) cantblock ueot
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Whenever Clamor Shaman attacks, target creature an opponent controls can't block this turn.
mana={2}{R}
type=Creature
subtype=Goblin Shaman
power=1
toughness=1
[/card]
[card]
name=Clan Defiance
target=player
auto=choice name(Player) damage:X
auto=choice name(Flying) damage:X target(creature[-flying])
auto=choice name(Non-Flying) damage:X target(creature[-flying])
auto=choice name(Flying & Non-Flying) transforms((,newability[damage:X target(creature[-flying])],newability[damage:X target(creature[flying]]))
auto=choice name(Player & Non-Flying) transforms((,newability[damage:X],newability[damage:X target(creature[-flying])]))
auto=choice name(Player & Flying) transforms((,newability[damage:X],newability[damage:X target(creature[flying])]))
auto=choice name(Choose All) transforms((,newability[damage:X],newability[damage:X target(creature[-flying])],newability[damage:X target(creature[flying]]))
text=Choose one or more -- Clan Defiance deals X damage to target creature with flying. -- Clan Defiance deals X damage to target creature without flying. -- Clan Defiance deals X damage to target player.
mana={X}{R}{G}
type=Sorcery
[/card]
[card]
name=Clan Guildmage
auto={1}{R}{T}:cantblock target(creature)
auto={2}{G}{T}:target(land|mybattlefield) transforms((Elemental Creature,setpower=4,settoughness=4,haste)) ueot
text={1}{R}, {T}: Target creature can't block this turn. -- {2}{G}, {T}: Target land you control becomes a 4/4 Elemental creature with haste until end of turn. It's still a land.
mana={R}{G}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Clarion Cathars
auto=name(Create human) token(Human,Creature Human,1/1,white)
text=When Clarion Cathars enters the battlefield, create a 1/1 white Human creature token.
type=Creature
subtype=Human Knight
mana={3}{W}
power=3
toughness=3
[/card]
[card]
name=Clarion Spirit
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:token(Spirit,Creature Spirit,1/1,white,flying)
text=Whenever you cast your second spell each turn, create a 1/1 white Spirit creature token with flying.
mana={1}{W}
type=Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Clash of Titans
target=creature|battlefield
auto=transforms((,newability[target(other creature|battlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Target creature fights another target creature. (Each deals damage equal to its power to the other.)
mana={3}{R}{R}
type=Instant
[/card]
[card]
name=Clattering Augur
abilities=cantblock
auto=draw:1 controller && life:-1 controller
autograveyard={2}{B}{B}: name(Return to hand) moveto(myhand)
text=Clattering Augur can't block. -- When Clattering Augur enters the battlefield, you draw a card and you lose 1 life. -- {2}{B}{B}: Return Clattering Augur from your graveyard to your hand.
mana={1}{B}
type=Creature
subtype=Skeleton Shaman
power=1
toughness=1
[/card]
[card]
name=Clattering Skeletons
auto=@movedto(this|graveyard) from(battlefield) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=When Clattering Skeletons dies, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={3}{B}
type=Creature
subtype=Skeleton
power=4
toughness=3
[/card]
[card]
name=Clay Golem
auto=this(cantargetcard(*[-monstrous]) {6}:becomes(monstrous) forever && transforms((,newability[name(Roll a d8) rolld8 8 winability counter(1/1.lastrollresult) winabilityend loseability counter(1/1.lastrollresult) loseabilityend rolld8end],newability[name(Destroy permanent) destroy target(*|battlefield)])) forever
text={6}, Roll a d8: Monstrosity X, where X is the result. (If this creature isn't monstrous, put X +1/+1 counters on it and it becomes monstrous.) -- Berserk - When Clay Golem becomes monstrous, destroy target permanent.
mana={4}
type=Artifact Creature
subtype=Golem
power=4
toughness=4
[/card]
[card]
name=Cleansing
auto=all(land|battlefield) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?destroy])) forever
text=For each land, destroy that land unless any player pays 1 life.
mana={W}{W}{W}
type=Sorcery
[/card]
[card]
name=Cleansing Meditation
auto=aslongas(*|mygraveyard) all(enchantment|opponentBattlefield) destroy >6
auto=aslongas(*|mygraveyard) all(enchantment|myBattlefield) destroy and!( moveto(myBattlefield) )! >6
auto=aslongas(*|mygraveyard) destroy all(enchantment) <7
text=Destroy all enchantments. -- Threshold - If seven or more cards are in your graveyard, instead destroy all enchantments, then return all cards in your graveyard destroyed this way to the battlefield.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Cleansing Nova
auto=choice name(Destroy creatures) destroy all(creature)
auto=choice name(Destroy artifacts and enchantments) destroy all(artifacts,enchantment)
text=Choose one -- Destroy all creatures. -- Destroy all artifacts and enchantments.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Cleansing Ray
auto=choice name(Destroy vampire) destroy target(vampire)
auto=choice name(Destroy enchantment) destroy target(enchantment)
text=Choose one -- Destroy target Vampire. -- Destroy target enchantment.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Cleansing Screech
auto=damage:4 target(player,creature,planeswalker)
text=Cleansing Screech deals 4 damage to any target.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Cleansing Wildfire
auto=draw:1 controller
auto=choice name(Destroy opponent's land) destroy target(land|opponentBattlefield) && ability$!name(search for basic land) name(search for basic land) moveto(mybattlefield) target(land[basic]|myLibrary) and!(tap(noevent) and!(shuffle)!)! !$ opponent
auto=choice name(Destroy your land) target(land|myBattlefield) && ability$!name(search for basic land) name(search for basic land) moveto(mybattlefield) target(land[basic]|myLibrary) and!(tap(noevent) and!(shuffle)!)! !$ controller
text=Destroy target land. Its controller may search their library for a basic land card, put it onto the battlefield tapped, then shuffle their library. -- Draw a card.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Clear the Land
auto=all(land[zpos<=5]|mylibrary) moveto(myBattlefield) and!( tap(noevent) )!
auto=all(land[zpos<=5]|opponentlibrary) moveto(opponentbattlefield) and!( tap(noevent) )!
auto=all(*[-land;zpos<=5]|mylibrary) moveto(myexile)
auto=all(*[-land;zpos<=5]|opponentlibrary) moveto(opponentexile)
text=Each player reveals the top five cards of his or her library, puts all land cards revealed this way onto the battlefield tapped, and exiles the rest.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Clear the Mind
target=player
auto=moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard)
auto=draw:1 controller
text=Target player shuffles their graveyard into their library. -- Draw a card.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Clear the Stage
target=creature
auto=-3/-3
auto=if type(creature[power>3]|mybattlefield)~morethan~0 then may target(creature|mygraveyard) moveto(myhand)
text=Target creature gets -3/-3 until end of turn. If you control a creature with power 4 or greater, you may return up to one target creature card from your graveyard to your hand.
mana={4}{B}
type=Instant
[/card]
[card]
name=Clearwater Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Murkwater Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Murkwater Pathway) name(Murkwater Pathway) flip(Murkwater Pathway) forcetype(land)
auto={T}:add{U}
text={T}: Add {U}. // Murkwater Pathway
type=Land
[/card]
[card]
name=Cleaver Skaab
auto={3}{T}:name(Sacrifice and copy) target(other zombie|myBattlefield) sacrifice && clone && clone
text={3}, {T}, Sacrifice another Zombie: Create two tokens that are copies of the sacrificed creature.
mana={3}{U}
type=Creature
subtype=Zombie Horror
power=2
toughness=4
[/card]
[card]
name=Cleaving Reaper
abilities=flying,trample
autograveyard={L:3}:restriction{thisturn(*[angel;berserker]|mybattlefield)~morethan~0} name(Move back to hand) moveto(myhand) 
text=Flying, trample -- Pay 3 life: Return Cleaving Reaper from your graveyard to your hand. Activate this ability only if you had an Angel or Berserker enter the battlefield under your control this turn.
mana={3}{B}{B}
type=Creature
subtype=Angel Berserker
power=5
toughness=3
[/card]
[card]
name=Cleaving Sliver
auto=lord(sliver|mybattlefield) 2/0
text=Sliver creatures you control get +2/+0.
mana={3}{R}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Cleric
abilities=lifelink,haste
text=Lifelink, Haste
type=Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Cleric Class
abilities=lifefaker
auto=counter(0/0,1,Level)
auto=@lifeof(player) from(*[-lifefaker]|*):life:1 controller
auto=this(variable{hascntlevel}=1) {3}{W}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=@lifeof(player) from(*[-lifefaker]|*) restriction{compare(hascntlevel)~morethan~1}:name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)
auto=this(variable{hascntlevel}=2) {4}{W}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@counteradded(0/0,1,Level) from(this) restriction{compare(hascntlevel)~equalto~3}:name(Return creature) target(creature|mygraveyard) moveto(mybattlefield) and!( transforms((,newability[life:toughness controller])) oneshot )!
text=(Gain the next level as a sorcery to add its ability.) -- If you would gain life, you gain that much plus 1 life instead. -- {3}{W}: Level 2 -- Whenever you gain life, put a +1/+1 counter on target creature you control. -- {4}{W}: Level 3 -- When this Class becomes level 3, return target creature card from your graveyard to the battlefield. You gain life equal to its toughness.
mana={W}
type=Enchantment
subtype=Class
[/card]
[card]
name=Cleric of Chill Depths
auto=@combat(blocking) source(this) from(creature):all(trigger[from]) frozen
text=Whenever Cleric of Chill Depths blocks a creature, that creature doesn't untap during its controller's next untap step.
mana={1}{U}
type=Creature
subtype=Merfolk Cleric
power=1
toughness=3
[/card]
[card]
name=Cleric of Life's Bond
auto=@movedTo(creature[cleric]|myBattlefield):life:1 controller
auto=@lifeof(player) restriction{compare(thatmuch)~equalto~compare(lifegain)} turnlimited:counter(1/1,1) all(this)
text=Whenever another Cleric enters the battlefield under your control, you gain 1 life. -- Whenever you gain life for the first time each turn, put a +1/+1 counter on Cleric of Life's Bond.
mana={W}{B}
type=Creature
subtype=Vampire Cleric
power=2
toughness=2
[/card]
[card]
name=Clever Conjurer
auto={T}:name(Untap permanent) target(*[-Clever Conjurer]|mybattlefield) untap asSorcery
text=Mage Hand-{T}: Untap target permanent not named Clever Conjurer. Activate only as a sorcery.
mana={2}{U}
type=Creature
subtype=Gnome Wizard
power=2
toughness=3
[/card]
[card]
name=Clever Lumimancer
auto=@movedto(*[instant;sorcery]|mystack):2/2 ueot
text=Magecraft-Whenever you cast or copy an instant or sorcery spell, Clever Lumimancer gets +2/+2 until end of turn.
mana={W}
type=Creature
subtype=Human Wizard
power=0
toughness=1
[/card]
[card]
name=Cliffhaven Kitesail
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature) flying
auto={2}:equip
text=When Cliffhaven Kitesail enters the battlefield, attach it to target creature you control. -- Equipped creature has flying. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Cliffhaven Sell-Sword
mana={1}{W}
type=Creature
subtype=Kor Warrior
power=3
toughness=1
[/card]
[card]
name=Cliffside Rescuer
abilities=vigilance
auto={T}{S}:protection from(*|opponentbattlefield) && protection from(*|opponenthand) && protection from(*|opponentgraveyard) ueot
text=Vigilance -- {T}, Sacrifice Cliffside Rescuer: Target permanent you control gains protection from each of your opponents until end of turn. (It can't be blocked, targeted, dealt damage, enchanted, or equipped by anything controlled by those players.)
mana={1}{W}
type=Creature
subtype=Kor Soldier
power=2
toughness=2
[/card]
[card]
name=Cling to Dust
auto=if type(*[-creature]|graveyard)~morethan~0 then choice name(exile non-creature card) name(exile non-creature card) moveTo(exile) target(*[-creature]|graveyard) && draw:1 controller
auto=if type(*[creature]|graveyard)~morethan~0 then choice name(exile creature card) name(exile creature card) moveTo(exile) target(creature|graveyard) && life:3 controller
retrace={3}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Exile target card from a graveyard. If it was a creature card, you gain 3 life. Otherwise, you draw a card. -- Escape-{3}{B}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={B}
type=Instant
[/card]
[card]
name=Clockwork Servant
auto=if casted(this) then if spent({G}{G}{G}) then draw:1 controller
auto=if casted(this) then if spent({W}{W}{W}) then draw:1 controller
auto=if casted(this) then if spent({U}{U}{U}) then draw:1 controller
auto=if casted(this) then if spent({R}{R}{R}) then draw:1 controller
auto=if casted(this) then if spent({B}{B}{B}) then draw:1 controller
text=Adamant-When Clockwork Servant enters the battlefield, if at least three mana of the same color was spent to cast it, draw a card.
mana={3}
type=Artifact Creature
subtype=Gnome
power=2
toughness=3
[/card]
[card]
name=Cloister Gargoyle
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=this(variable{pdungeoncompleted}>0) 3/0
auto=this(variable{pdungeoncompleted}>0) flying
text=When Cloister Gargoyle enters the battlefield, venture into the dungeon. (Enter the first room or advance to the next room.) -- As long as you've completed a dungeon, Cloister Gargoyle gets +3/+0 and has flying.
mana={2}{W}
type=Artifact Creature
subtype=Gargoyle
power=0
toughness=4
[/card]
[card]
name=Clone Shell
aicode=activate target(*[zpos<=4]|mylibrary) moveTo(myExile)
auto=name(look) reveal:4 optionone name(put in exile) target(*|reveal) transforms((,newability[moveTo(ownerExile) and!( counter(0/0.1.ClnImp) )!])) forever optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=_DIES_name(Take back from exile) name(Take back from exile) moveto(mybattlefield) target(creature[counter{0/0.1.ClnImp}]|myExile)
text=Imprint - When Clone Shell enters the battlefield, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library in any order. -- When Clone Shell dies, turn the exiled card face up. If it's a creature card, put it onto the battlefield under your control.
mana={5}
type=Artifact Creature
subtype=Shapeshifter
power=2
toughness=2
[/card]
[card]
name=Closing Statement
other={1}{W}{B} name(Cast during end step)
otherrestriction=compare(currentphase)~equalto~11
restriction=compare(currentphase)~lessthan~11
target=*[creature;planeswalker]|opponentbattlefield
auto=destroy
auto=may name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)
text=This spell costs {2} less to cast during your end step. -- Destroy target creature or planeswalker you don't control. Put a +1/+1 counter on up to one target creature you control.
mana={3}{W}{B}
type=Instant
[/card]
[card]
name=Cloudkin Seer
abilities=flying
auto=draw:1
text=Flying -- When Cloudkin Seer enters the battlefield, draw a card.
mana={2}{U}
type=Creature
subtype=Elemental Wizard
power=2
toughness=1
[/card]
[card]
name=Cloudpiercer
abilities=reach,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{R} name(Mutate)
auto=transforms((,newability[@mutated(this):may reject notatarget(*|myhand) and!( draw:1 controller )!]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{R} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Reach -- Whenever this creature mutates, you may discard a card. If you do, draw a card.
mana={4}{R}
type=Creature
subtype=Dinosaur
power=5
toughness=4
[/card]
[card]
name=Cloudreader Sphinx
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- When Cloudreader Sphinx enters the battlefield, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={4}{U}
type=Creature
subtype=Sphinx
power=3
toughness=4
[/card]
[card]
name=Cloudshredder Sliver
auto=lord(sliver|myBattlefield) flying
auto=lord(sliver|myBattlefield) haste
text=Sliver creatures you control have flying and haste.
mana={R}{W}
type=Creature
subtype=Sliver
power=1
toughness=1
[/card]
[card]
name=Clue
auto={S}{2}:name(Draw 1) draw:1 controller
text={2}, Sacrifice this artifact: Draw a card.
type=Artifact Clue
[/card]
[card]
name=Coastline Chimera
abilities=flying
text=Flying -- {1}{W}: Coastline Chimera can block an additional creature this turn.
mana={3}{U}
type=Creature
subtype=Chimera
power=1
toughness=5
[/card]
[card]
name=Coastline Marauders
abilities=trample
auto=_ATTACKING_type:land:opponentbattlefield/0 ueot
autograveyard={4}{R}{R}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Trample -- Whenever Coastline Marauders attacks, it gets +1/+0 until end of turn for each land defending player controls. -- Encore {4}{R}{R} ({4}{R}{R}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={2}{R}
type=Creature
subtype=Human Pirate
power=0
toughness=3
[/card]
[card]
name=Coat of Arms
auto=lord(creature|battlefield) transforms((,newability[foreach(other *[creature;share!types!]|battlefield) 1/1]))
text=Each creature gets +1/+1 for each other creature on the battlefield that shares at least one creature type with it. (For example, it two Goblin Warriors and a Goblin Shaman are on the battlefield, each gets +2/+2.)
mana={5}
type=Artifact
[/card]
[card]
name=Coax from the Blind Eternities
auto=choice name(Look Exile) moveto(myhand) target(*[eldrazi]|myexile)
auto=choice name(Look Sideboard) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(Choose eldrazi) target(*[eldrazi]|reveal) moveto(myhand) optiononeend optiontwo name(put back) all(other *|reveal) moveto(ownersideboard) optiontwoend revealend
auto=choice name(Don't choose) donothing
text=You may choose an Eldrazi card you own from outside the game or in exile, reveal that card, and put it into your hand.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Cobra Trap
other={G} name(Permanent was destroyed)
otherrestriction=type(*[-creature;-instant;-sorcery;fresh]|mygraveyard)~morethan~0
auto=token(Snake,Creature Snake,1/1,green)*4
text=If a noncreature permanent under your control was destroyed this turn by a spell or ability an opponent controlled, you may pay {G} rather than pay Cobra Trap's mana cost. -- Put four 1/1 green Snake creature tokens onto the battlefield.
mana={4}{G}{G}
type=Instant
subtype=Trap
[/card]
[card]
name=Code of Constraint
target=creature
auto=-4/-0
auto=_ADDENDUM_ freeze else
auto=draw:1 controller
text=Target creature gets -4/-0 until end of turn. -- Draw a card. -- Addendum-If you cast this spell during your main phase, tap that creature and it doesn't untap during its controller's next untap step.
mana={2}{U}
type=Instant
[/card]
[card]
name=Codespell Cleric
abilities=vigilance
auto=if thisturn(*|mystack)~equalto~2 then name(Put 1/1 counter) name(Put 1/1 counter) target(creature) counter(1/1)
text=Vigilance -- When Codespell Cleric enters the battlefield, if it was the second spell you cast this turn, put a +1/+1 counter on target creature.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Codie, Vociferous Codex
auto=maxCast(*[-instant;-sorcery])0 controller
auto={4}{T}:add{W}{U}{B}{R}{G} && counter(0/0,1,CodieEffect)
auto=@movedto(*[manacost=1]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=0]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=2]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=3]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=4]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=3]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=5]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=4]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=6]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=5]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=7]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=6]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=8]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=7]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=9]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=8]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=10]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=9]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=11]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=10]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=12]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=11]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=13]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=12]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=14]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=13]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=15]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=14]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=16]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=15]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=17]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=16]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=18]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=17]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost=19]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=18]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*[manacost>=20]|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:name(Exile instant or sorcery) target(*[instant;sorcery;manacost<=19]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )!
auto=@movedto(*|mystack) restriction{compare(hascntcodieeffect)~morethan~0}:removeallcounters(0/0,1,CodieEffect)
auto=@each end restriction{compare(hascntcodieeffect)~morethan~0}:removeallcounters(0/0,1,CodieEffect)
text=You can't cast permanent spells. -- {4}, {T}: Add {W}{U}{B}{R}{G}. When you cast your next spell this turn, exile cards from the top of your library until you exile an instant or sorcery card with lesser mana value. Until end of turn, you may cast that card without paying its mana cost. Put each other card exiled this way on the bottom of your library in a random order.
mana={3}
type=Legendary Artifact Creature
subtype=Construct
power=1
toughness=4
[/card]
[card]
name=Coercive Recruiter
auto=target(creature|battlefield) moveto(mybattlefield) and!(transforms((Pirate,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
auto=@movedto(pirate|mybattlefield):target(creature|battlefield) moveto(mybattlefield) and!(transforms((Pirate,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
text=Whenever Coercive Recruiter or another Pirate enters the battlefield under your control, gain control of target creature until end of turn. Untap that creature. Until end of turn, it gains haste and becomes a Pirate in addition to its other types.
mana={4}{R}
type=Creature
subtype=Orc Pirate
power=4
toughness=3
[/card]
[card]
name=Cogwork Archivist
abilities=reach
auto={2}{T}:name(Put back on bottom) target(*|graveyard) transforms((,newability[bottomoflibrary])) oneshot
text=Reach -- {2}, {T}: Put target card from a graveyard on the bottom of its owner's library.
mana={6}
type=Artifact Creature
subtype=Construct
power=4
toughness=5
[/card]
[card]
name=Coils of the Medusa
target=creature
auto=1/-1
auto={S}:destroy target(creature[-wall,blocking])
text=Enchant creature -- Enchanted creature gets +1/-1. -- Sacrifice Coils of the Medusa: Destroy all non-Wall creatures blocking enchanted creature.
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Cold-Water Snapper
abilities=opponentshroud
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.)
mana={5}{U}
type=Creature
subtype=Turtle
power=4
toughness=5
[/card]
[card]
name=Colfenor, the Last Yew
abilities=vigilance,reach
auto=@movedTo(creature[power=1]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<1]|myGraveyard)
auto=@movedTo(creature[power=3]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<2]|myGraveyard)
auto=@movedTo(creature[power=4]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<3]|myGraveyard)
auto=@movedTo(creature[power=5]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<4]|myGraveyard)
auto=@movedTo(creature[power=6]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<5]|myGraveyard)
auto=@movedTo(creature[power=7]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<6]|myGraveyard)
auto=@movedTo(creature[power=8]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<7]|myGraveyard)
auto=@movedTo(creature[power=9]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<8]|myGraveyard)
auto=@movedTo(creature[power=10]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<9]|myGraveyard)
auto=@movedTo(creature[power=11]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<10]|myGraveyard)
auto=@movedTo(creature[power=12]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<11]|myGraveyard)
auto=@movedTo(creature[power=13]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<12]|myGraveyard)
auto=@movedTo(creature[power=14]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<13]|myGraveyard)
auto=@movedTo(creature[power=15]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<14]|myGraveyard)
auto=@movedTo(creature[power=16]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<15]|myGraveyard)
auto=@movedTo(creature[power=17]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<16]|myGraveyard)
auto=@movedTo(creature[power=18]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<17]|myGraveyard)
auto=@movedTo(creature[power=19]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<18]|myGraveyard)
auto=@movedTo(creature[power=20]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature[power<19]|myGraveyard)
auto=@movedTo(creature[power>20]|myGraveyard) from(mybattlefield):moveto(myhand) target(creature|myGraveyard)
text=Vigilance, reach -- Whenever Colfenor, the Last Yew or another creature you control dies, return up to one other target creature card with lesser toughness from your graveyard to your hand.
mana={3}{W}{B}{G}
type=Legendary Creature
subtype=Treefolk Shaman
power=3
toughness=7
[/card]
[card]
name=Collar the Culprit
target=creature[toughness>=4]
auto=destroy
text=Destroy target creature with toughness 4 or greater.
mana={3}{W}
type=Instant
[/card]
[card]
name=Collected Conjuring
aicode=activate target(<upto:2>sorcery[manacost<=3;zpos<=6]|mylibrary) moveto(mybattlefield)
auto=name(Look) reveal:6 optionone name(Get 2 sorcery) target(<upto:2>sorcery[manacost<=3]|reveal) moveto(mybattlefield) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
text=Exile the top six cards of your library. You may cast up to two sorcery cards with converted mana cost 3 or less from among them without paying their mana costs. Put the exiled cards not cast this way on the bottom of your library in a random order.
mana={2}{U}{R}
type=Sorcery
[/card]
[card]
name=Collectigull // Only the Best
abilities=flying,adventure
other={1}{W} name(Adventure)
auto=if paid(alternative) then name(Return to hand) name(Return to hand) target(*[-land]|myGraveyard) moveTo(ownerHand)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=protection from(*)
auto=_ATTACKING_draw:1 controller
text=Flying, protection from common -- Whenever Collectigull attacks, reveal the top card of your library. If it's a Booster Fun card, you may put it into your hand. // Return target Booster Fun card from your graveyard to your hand.
mana={2}{W}
type=Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Collective Brutality
other={1}{B}{D(*|myhand)} name(Escalate)
aicode=activate target(*[instant;sorcery]|opponenthand) reject
auto=if paid(alternative) then if type(*|myhand)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Discard 1 more and choose all) name(Discard 1 more and choose all) name(Discard 1 more and choose all) name(Discard 1 more and choose all) target(*|myhand) reject and!( transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed choice name(Creature gets -2/-2) target(creature) -2/-2 ueot afterrevealedend revealend])) oneshot )!
auto=if paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Opponent reveals and creature gets -2/-2) name(Opponent reveals and creature gets -2/-2) name(Opponent reveals and creature gets -2/-2) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed choice name(Creature gets -2/-2) target(creature) -2/-2 ueot afterrevealedend revealend
auto=if paid(alternative) then choice name(Opponent reveals and looses 2 life) name(Opponent reveals and looses 2 life) life:-2 opponent && life:2 controller && reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
auto=if paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Opponent looses life and creature gets -2/-2) name(Opponent looses life and creature gets -2/-2) name(Opponent looses life and creature gets -2/-2) target(creature) -2/-2 ueot && life:-2 opponent && life:2 controller
auto=ifnot paid(alternative) then choice name(Opponent reveals and discard) name(Opponent reveals and discard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) target(*[instant;sorcery]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
auto=ifnot paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Creature gets -2/-2) name(Creature gets -2/-2) name(Creature gets -2/-2) target(creature) -2/-2 ueot
auto=ifnot paid(alternative) then choice name(Opponent loses 2 and you gain) name(Opponent loses 2 and you gain) life:-2 opponent && life:2 controller
text=Escalate Discard a card. (Pay this cost for each mode chosen beyond the first.) Choose one or more -- Target opponent reveals their hand. You choose an instant or sorcery card from it. That player discards that card. -- Target creature gets -2/-2 until end of turn. -- Target opponent loses 2 life and you gain 2 life.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Collective Defiance
target=player
other={3}{R}{R} name(Escalate)
auto=if paid(alternative) then transforms((,newability[choice name(You discard hand) all(*|myhand) transforms((,newability[reject],newability[draw:1]))],newability[choice name(Opponent discard hand) all(*|opponenthand) transforms((,newability[reject],newability[draw:1]))]))
auto=if paid(alternative) then damage:4 target(creature)
auto=if paid(alternative) then damage:3 opponent
auto=ifnot paid(alternative) then choice name(You discard hand) all(*|myhand) transforms((,newability[reject],newability[draw:1]))
auto=ifnot paid(alternative) then choice name(Opponent discard hand) all(*|opponenthand) transforms((,newability[reject],newability[draw:1]))
auto=ifnot paid(alternative) then choice name(Damage target creature) damage:4 target(creature)
auto=ifnot paid(alternative) then choice name(Damage target opponent) damage:3 opponent
text=Escalate {1} (Pay this cost for each mode chosen beyond the first.) -- Choose one or more -- Target player discards all the cards in his or her hand, then draws that many cards. -- Collective Defiance deals 4 damage to target creature. -- Collective Defiance deals 3 damage to target opponent.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Collective Effort
target=player
other={1}{W}{W}{T(creature|mybattlefield)}{T(creature|mybattlefield)}: name(Escalate)
auto=if paid(alternative) then bury target(creature[power>=4])
auto=if paid(alternative) then destroy target(enchantment)
auto=if paid(alternative) then transforms((,newability[choice name(Put counter on your creatures) counter(1/1,1) all(creature|myBattlefield)],newability[choice name(Put counter on opponent creatures) counter(1/1,1) all(creature|opponentBattlefield)]))
auto=ifnot paid(alternative) then choice name(Destroy creature) bury target(creature[power>=4])
auto=ifnot paid(alternative) then choice name(Destroy enchantment) destroy target(enchantment)
auto=ifnot paid(alternative) then choice name(Put counter on your creatures) counter(1/1,1) all(creature|myBattlefield)
auto=ifnot paid(alternative) then choice name(Put counter on opponent creatures) counter(1/1,1) all(creature|opponentBattlefield)
text=Escalate'tap an untapped creature you control. (Pay this cost for each mode chosen beyond the first.) -- Choose one or more -- Destroy target creature with power 4 or greater. -- Destroy target enchantment. -- Put a +1/+1 counter on each creature target player controls.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Collector Ouphe
target=artifact
auto=noactivatedability
text=Activated abilities of artifacts can't be activated.
mana={1}{G}
type=Creature
subtype=Ouphe
power=2
toughness=2
[/card]
[card]
name=Collector Protector
auto={W}:name(Give card and prevent 1 damage to you) prevent:1 controller && name(Look Sideboard) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(Choose non-land card) target(*[-land]|reveal) moveto(opponentBattlefield) optiononeend optiontwo name(put back) all(other *|reveal) moveto(ownersideboard) optiontwoend revealend
auto={W}:name(Give card and prevent 1 damage to Collector Protector) prevent:1 && name(Look Sideboard) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(Choose non-land card) target(*[-land]|reveal) moveto(opponentBattlefield) optiononeend optiontwo name(put back) all(other *|reveal) moveto(ownersideboard) optiontwoend revealend
text={W}, Give an opponent a nonland card you own from outside the game: Prevent the next 1 damage that would be dealt to you or Collector Protector this turn.
mana={3}{W}{W}
type=Creature
subtype=Human Gamer
power=2
toughness=5
[/card]
[card]
name=Collision // Colossus
other={R}{G} name(Colossus)
auto=ifnot paid(alternative) then damage:6 target(creature[flying])
auto=if paid(alternative) then target(creature) transforms((,newability[4/2],newability[trample])) ueot
text=Collision deals 6 damage to target creature with flying. // Target creature gets +4/+2 and gains trample until end of turn.
mana={1}{RG}
type=Instant
[/card]
[card]
name=Colorful Feiyi Sparrow
abilities=flying
text=Flying. (This creature can't be blocked except by creatures with flying or reach.)
mana={1}{W}
type=Creature
subtype=Bird
power=1
toughness=3
[/card]
[card]
name=Colossal Dreadmaw
abilities=trample
text=Trample
mana={4}{G}{G}
type=Creature
subtype=Dinosaur
power=6
toughness=6
[/card]
[card]
name=Colossal Heroics
abilities=hasnokicker,hasstrive
kicker=multi{1}{G} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[2/2],newability[untap])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[2/2],newability[untap])) ueot
text=Strive - Colossal Heroics costs {1}{G} more to cast for each target beyond the first. -- Any number of target creatures each get +2/+2 until end of turn. Untap those creatures.
mana={2}{G}
type=Instant
[/card]
[card]
name=Colossal Majesty
auto=@each my upkeep:aslongas(creature[power>=4]|myBattlefield) draw:1
text=At the beginning of your upkeep, if you control a creature with power 4 or greater, draw a card.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Colossal Plow
auto=_ATTACKING_life:3 controller && add{W}{W}{W} doesntempty
auto={crew(other creature[power>=6]|myBattlefield)}:name(crew 6[1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=6]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=5]|myBattlefield)}:name(crew 6[2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=5]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=4]|myBattlefield)}:name(crew 6[2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=4]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=3]|myBattlefield)}{crew(other creature[power>=3]|myBattlefield)}:name(crew 6[2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=3]|mybattlefield)~morethan~1,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=4]|myBattlefield)}:name(crew 6[3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=4]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=3]|myBattlefield)}:name(crew 6[3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 6[3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~2,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=3]|myBattlefield)}:name(crew 6[4 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~2,type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~3,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 6[4 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,type(other creature[-tapped;power>=2]|mybattlefield)~morethan~1,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~3,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 6[5 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~3,type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~4,compare(crewtotalpower)~morethan~5}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 6 [6 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~5,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~5,compare(crewtotalpower)~morethan~5}
text=Whenever Colossal Plow attacks, add {W}{W}{W} and you gain 3 life. Until end of turn, you don't lose this mana as steps and phases end. -- Crew 6 (Tap any number of creatures you control with total power 6 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={2}
type=Artifact
subtype=Vehicle
power=6
toughness=3
[/card]
[card]
name=Colossapede
mana={4}{G}
type=Creature
subtype=Insect
power=5
toughness=5
[/card]
[card]
name=Colossification
target=creature
auto=teach(creature) transforms((,newability[tap]))
auto=teach(creature) 20/20
text=Enchant creature / When Colossification enters the battlefield, tap enchanted creature. / Enchanted creature gets +20/+20.
mana={5}{G}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Colossus Hammer
target=creature
auto=teach(creature) 10/10
auto=teach(creature) -flying
auto={8}:equip
text=Equipped creature gets +10/+10 and loses flying. -- Equip {8} ({8}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Combat Calligrapher
abilities=flying
auto=lord(inkling|opponentbattlefield) cantattack
auto=lord(inkling|opponentbattlefield) cantpwattack
auto=@each my blockers:token(Inkling,Creature Inkling,2/1,white,black,flying,battleready)
text=Flying -- Inklings can't attack you or planeswalkers you control. -- Whenever a player attacks one of your opponents, that attacking player creates a tapped 2/1 white and black Inkling creature token with flying that's attacking that opponent.
mana={3}{W}
type=Creature
subtype=Bird Cleric
power=3
toughness=3
[/card]
[card]
name=Combat Celebrant
auto=@exerted(this) restriction{once}:untap all(other creature|mybattlefield) && nextphasealter(add,combatphases,controller,after<combatends>) oneshot
auto=_ATTACKING_may exert
text=If Combat Celebrant hasn't been exerted this turn, you may exert it as it attacks. When you do, untap all other creatures you control and after this phase, there is an additional combat phase. (An exerted creature won't untap during your next untap step.)
mana={2}{R}
type=Creature
subtype=Human Warrior
power=4
toughness=1
[/card]
[card]
name=Combat Professor
abilities=flying
auto=@each my combatbegins:name(Creature gets 1/0 and vigilance) target(creature|mybattlefield) transforms((,newability[1/0],newability[vigilance])) ueot
text=Flying -- At the beginning of combat on your turn, target creature you control gets +1/+0 and gains vigilance until end of turn.
mana={3}{W}
type=Creature
subtype=Bird Cleric
power=2
toughness=3
[/card]
[card]
name=Combine Chrysalis
auto=lord(creature[token]|myBattlefield) flying
auto={2}{G}{U}{S(*[token]|myBattlefield)}{T}:name(Create beast) token(Beast,Creature Beast,4/4,green) asSorcery
text=Creature tokens you control have flying. -- {2}{G}{U}, {T}, Sacrifice a token: Create a 4/4 green Beast creature token. Activate only as a sorcery.
mana={G}{U}
type=Artifact
[/card]
[card]
name=Combine Guildmage
auto={1}{G}{T}:name(1/1 counters) emblem transforms((,newability[@movedto(creature|myBattlefield):all(trigger[to]) counter(1/1)])) ueot
auto={1}{U}{T}{C(1/1,-1),*|mybattlefield}:name(move a 1/1 counter) counter(1/1) target(creature)
text={1}{G}, {T}: This turn, each creature you control enters the battlefield with an additional +1/+1 counter on it. -- {1}{U}, {T}: Move a +1/+1 counter from target creature you control onto another target creature you control.
mana={G}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Combo Attack
target=<2>creature|mybattlefield
auto=transforms((,newability[target(creature) dynamicability<!powerstrike!>])) oneshot
text=Two target creatures your team controls each deal damage equal to their power to target creature.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Comet Storm
abilities=hasotherkicker
other={X}{R}{R} name(Pay kicker)
auto=this(X>0) ifnot paid(alternative) then target(player,creature,planeswalker) damage:X
auto=this(X>0) if paid(alternative) then choice name(kicker = 0) name(kicker = 0) name(kicker = 0) target(player,creature,planeswalker) damage:X
auto=this(X>1) if paid(alternative) then choice name(kicker = 1) name(kicker = 1) name(kicker = 1) target(<2>player,creature,planeswalker) damage:Xminus1minusend
auto=this(X>2) if paid(alternative) then choice name(kicker = 2) name(kicker = 2) name(kicker = 2) target(<3>player,creature,planeswalker) damage:Xminus2minusend
auto=this(X>3) if paid(alternative) then choice name(kicker = 3) name(kicker = 3) name(kicker = 3) target(<4>player,creature,planeswalker) damage:Xminus3minusend
auto=this(X>4) if paid(alternative) then choice name(kicker = 4) name(kicker = 4) name(kicker = 4) target(<5>player,creature,planeswalker) damage:Xminus4minusend
auto=this(X>5) if paid(alternative) then choice name(kicker = 5) name(kicker = 5) name(kicker = 5) target(<6>player,creature,planeswalker) damage:Xminus5minusend
auto=this(X>6) if paid(alternative) then choice name(kicker = 6) name(kicker = 6) name(kicker = 6) target(<7>player,creature,planeswalker) damage:Xminus6minusend
auto=this(X>7) if paid(alternative) then choice name(kicker = 7) name(kicker = 7) name(kicker = 7) target(<8>player,creature,planeswalker) damage:Xminus7minusend
auto=this(X>8) if paid(alternative) then choice name(kicker = 8) name(kicker = 8) name(kicker = 8) target(<9>player,creature,planeswalker) damage:Xminus8minusend
auto=this(X>9) if paid(alternative) then choice name(kicker = 9) name(kicker = 9) name(kicker = 9) target(<10>player,creature,planeswalker) damage:Xminus9minusend
auto=this(X>10) if paid(alternative) then choice name(kicker = 10) name(kicker = 10) name(kicker = 10) target(<11>player,creature,planeswalker) damage:Xminus10minusend
auto=this(X>11) if paid(alternative) then choice name(kicker = 11) name(kicker = 11) name(kicker = 11) target(<12>player,creature,planeswalker) damage:Xminus11minusend
auto=this(X>12) if paid(alternative) then choice name(kicker = 12) name(kicker = 12) name(kicker = 12) target(<13>player,creature,planeswalker) damage:Xminus12minusend
auto=this(X>13) if paid(alternative) then choice name(kicker = 13) name(kicker = 13) name(kicker = 13) target(<14>player,creature,planeswalker) damage:Xminus13minusend
auto=this(X>14) if paid(alternative) then choice name(kicker = 14) name(kicker = 14) name(kicker = 14) target(<15>player,creature,planeswalker) damage:Xminus14minusend
auto=this(X>15) if paid(alternative) then choice name(kicker = 15) name(kicker = 15) name(kicker = 15) target(<16>player,creature,planeswalker) damage:Xminus15minusend
auto=this(X>16) if paid(alternative) then choice name(kicker = 16) name(kicker = 16) name(kicker = 16) target(<17>player,creature,planeswalker) damage:Xminus16minusend
auto=this(X>17) if paid(alternative) then choice name(kicker = 17) name(kicker = 17) name(kicker = 17) target(<18>player,creature,planeswalker) damage:Xminus17minusend
auto=this(X>18) if paid(alternative) then choice name(kicker = 18) name(kicker = 18) name(kicker = 18) target(<19>player,creature,planeswalker) damage:Xminus18minusend
auto=this(X>19) if paid(alternative) then choice name(kicker = 19) name(kicker = 19) name(kicker = 19) target(<20>player,creature,planeswalker) damage:Xminus19minusend
text=Multikicker {1} (You may pay an additional {1} any number of times as you cast this spell.) -- Choose any target, then choose another target for each time this spell was kicked. Comet Storm deals X damage to each of them.
mana={X}{R}{R}
type=Instant
[/card]
[card]
name=Command Beacon
auto={T}:add{C}
auto={T}{S}:target(*[iscommander]|mycommandzone) moveto(myhand)
text={T}: Add {C} to your mana pool. -- {T}, Sacrifice Command Beacon: Put your commander into your hand from the command zone.
type=Land
[/card]
[card]
name=Command Tower
auto=aslongas(*[iscommander&red]|myzones) {T}:add{R}
auto=aslongas(*[iscommander&white]|myzones) {T}:add{W}
auto=aslongas(*[iscommander&green]|myzones) {T}:add{G}
auto=aslongas(*[iscommander&blue]|myzones) {T}:add{U}
auto=aslongas(*[iscommander&black]|myzones) {T}:add{B}
text={T}: Add to your mana pool one mana of any color in your commander's color identity.
type=Land
[/card]
[card]
name=Command the Dreadhorde
target=<anyamount>*[creature;planeswalker]|myGraveyard
auto=moveto(myBattlefield) and!(transforms((,newability[dynamicability<!manacostlifestrike targetcontroller!>])))!
text=Choose any number of target creature and/or planeswalker cards in graveyards. Command the Dreadhorde deals damage to you equal to the total converted mana cost of those cards. Put them onto the battlefield under your control.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Command the Storm
target=creature
auto=damage:5
text=Command the Storm deals 5 damage to target creature.
mana={4}{R}
type=Instant
[/card]
[card]
name=Commander's Insight
auto=choice name(target yourself) draw:X controller && draw:pnumofcommandcast controller
auto=choice name(target opponent) draw:X opponent && draw:onumofcommandcast opponent
text=Target player draws X cards plus an additional card for each time they've cast a commander from the command zone this game.
mana={X}{U}{U}{U}
type=Instant
[/card]
[card]
name=Commander's Insignia
auto=lord(creature|myBattlefield) pnumofcommandcast/pnumofcommandcast
text=Creatures you control get +1/+1 for each time you've cast your commander from the command zone this game.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Commander's Plate
auto={5}:equip
auto=aslongas(*[iscommander]|myBattlefield) {3}:name(equip a commander) name(equip a commander) rehook target(creature[iscommander]|mybattlefield)
auto=teach(creature) 3/3
auto=aslongas(*[red]|myzones) <1 teach(creature) aslongas(*[iscommander]|myzones) protection from red
auto=aslongas(*[white]|myzones) <1 teach(creature) aslongas(*[iscommander]|myzones) protection from white
auto=aslongas(*[green]|myzones) <1 teach(creature) aslongas(*[iscommander]|myzones) protection from green
auto=aslongas(*[blue]|myzones) <1 teach(creature) aslongas(*[iscommander]|myzones) protection from blue
auto=aslongas(*[black]|myzones) <1 teach(creature) aslongas(*[iscommander]|myzones) protection from black
text=Equipped creature gets +3/+3 and has protection from each color that's not in your commander's color identity. -- Equip commander {3} -- Equip {5}
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Commander's Sphere
auto={S}:name(Sacrifice and draw) draw:1 controller
auto=aslongas(*[iscommander&red]|myzones) {T}:add{R}
auto=aslongas(*[iscommander&white]|myzones) {T}:add{W}
auto=aslongas(*[iscommander&green]|myzones) {T}:add{G}
auto=aslongas(*[iscommander&blue]|myzones) {T}:add{U}
auto=aslongas(*[iscommander&black]|myzones) {T}:add{B}
text={T}: Add to your mana pool one mana of any color in your commander's color identity. -- Sacrifice Commander's Sphere: Draw a card.
mana={3}
type=Artifact
[/card]
[card]
name=Commanding Presence
target=creature
auto=first strike
auto=2/2
auto=@combatdamaged(player) from(mytgt):token(Soldier,Creature Human Soldier,1/1,white)
text=Enchant creature -- Enchanted creature gets +2/+2 and has first strike and "Whenever this creature deals combat damage to a player, create a 1/1 white Human Soldier creature token."
mana={3}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Commence the Endgame
abilities=nofizzle
auto=draw:2
auto=_AMASS_(type:*:myhand)
text=This spell can't be countered. -- Draw two cards, then amass X, where X is the number of cards in your hand. (Put X +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Commit // Memory
target=*[-land]
auto=placefromthetop(2)
autograveyard={4}{U}{U}{E}:moveto(opponentgraveyard) all(*|opponenthand) && moveto(opponentlibrary) all(*|opponentgraveyard) && shuffle && draw:7 opponent && moveto(mygraveyard) all(*|myhand) && moveto(mylibrary) all(*|mygraveyard) && shuffle && draw:7 controller asSorcery
text=Put target spell or nonland permanent into its owner's library second from the top. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) each player shuffles their hand and graveyard into their library and draws seven cards
mana={3}{U}
type=Instant
[/card]
[card]
name=Common Iguana
auto=may name(discard and draw) reject notatarget(*|myhand) && transforms((,newability[draw:1 controller])) forever
text=When this creature enters the battlefield, you may discard a card. If you do, draw a card.
mana={1}{R}
type=Host Creature
subtype=Lizard
power=1
toughness=3
[/card]
[card]
name=Commune with Dinosaurs
auto=choice name(dinosaur) moverandom(dinosaur) from(mylibrary) to(myhand)
auto=choice name(land) moverandom(land) from(mylibrary) to(myhand)
text=Look at the top five cards of your library. You may reveal a Dinosaur or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
mana={G}
type=Sorcery
[/card]
[card]
name=Companion of the Trials
abilities=flying
auto={1}{W}{restriction type(gideon|mybattlefield)~morethan~0}:untap target(creature)
text=Flying -- {1}{W}: Untap target creature. Activate this ability only if you control a Gideon planeswalker.
mana={2}{W}
type=Creature
subtype=Bird Soldier
power=2
toughness=2
[/card]
[card]
name=Compelled Duel
target=creature
auto=transforms((,newability[3/3],newability[_ATTACKING_all(creature|opponentbattlefield) mustblock ueot])) ueot
text=Target creature gets +3/+3 until end of turn and must be blocked this turn if able.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Compelling Argument
abilities=cycling
target=player
auto=deplete:5 targetedplayer
autohand=__CYCLING__({U})
text=Target player puts the top five cards of his or her library into his or her graveyard. -- Cycling {U} ({U}, Discard this card: Draw a card.)
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Complicate
abilities=cycling
target=*|stack
auto=transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
autohand=__CYCLING__({2}{U})
auto=@discarded(this):transforms((,newability[pay[[{1}]] name(pay 3 mana) donothing?fizzle])) oneshot
text=Counter target spell unless its controller pays {3}. -- Cycling {2}{U} ({2}{U}, Discard this card: Draw a card.) -- When you cycle Complicate, you may counter target spell unless its controller pays {1}.
mana={2}{U}
type=Instant
[/card]
[card]
name=Component Collector
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):may name(Tap or untap permanent) transforms((,newability[target(*[-land]|battlefield) tap],newability[target*[-land]|battlefield) untap])) oneshot
text=If it's neither day nor night, it becomes day as Component Collector enters the battlefield. -- Whenever day becomes night or night becomes day, you may tap or untap target nonland permanent.
type=Creature
subtype=Homunculus
mana={2}{U}
power=1
toughness=4
[/card]
[card]
name=Component Pouch
auto={T}:name(Roll a d20) rolld20 20 winability counter(0/0.2.component) winabilityend loseability if compare(lastrollresult)~lessthan~10 then counter(0/0.1.component) else counter(0/0.2.component) loseabilityend rolld20end
auto={T}{C(0/0.-1.component)}:Add{W}{U}
auto={T}{C(0/0.-1.component)}:Add{W}{B}
auto={T}{C(0/0.-1.component)}:Add{W}{R}
auto={T}{C(0/0.-1.component)}:Add{W}{G}
auto={T}{C(0/0.-1.component)}:Add{U}{B}
auto={T}{C(0/0.-1.component)}:Add{U}{R}
auto={T}{C(0/0.-1.component)}:Add{U}{G}
auto={T}{C(0/0.-1.component)}:Add{B}{R}
auto={T}{C(0/0.-1.component)}:Add{B}{G}
auto={T}{C(0/0.-1.component)}:Add{R}{G}
text={T}, Remove a component counter from Component Pouch: Add two mana of different colors. -- {T}: Roll a d20. -- 1-9 | Put a component counter on Component Pouch. -- 10-20 | Put two component counters on Component Pouch.
mana={3}
type=Artifact
[/card]
[card]
name=Compound Fracture
target=creature
auto=-1/-1 ueot
auto=foreach(Compound Fracture|mygraveyard) -1/-1
text=Target creature gets -1/-1 until end of turn. It gets an additional -1/-1 until end of turn for each card named Compound Fracture in your graveyard.
mana={B}
type=Instant
[/card]
[card]
name=Compulsory Rest
target=creature
auto=cantattack
auto=cantblock
auto=teach(creature) {2}{S}:life:2
text=Enchant creature -- Enchanted creature can't attack or block. -- Enchanted creature has "{2}, Sacrifice this creature: You gain 2 life."
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Concerted Defense
target=*[-creature]|stack
auto=if compare(calculateparty)~equalto~0 then transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
auto=if compare(calculateparty)~equalto~1 then transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=if compare(calculateparty)~equalto~2 then transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=if compare(calculateparty)~equalto~3 then transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=if compare(calculateparty)~equalto~4 then transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing?fizzle])) forever
text=Counter target noncreature spell unless its controller pays {1} plus and additional {1} for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={U}
type=Instant
[/card]
[card]
name=Conclave Cavalier
abilities=vigilance
auto=_DIES_create(elf knight:creature elf knight:2/2:green,white:vigilance)*2
text=Vigilance -- When Conclave Cavalier dies, create two 2/2 green and white Elf Knight creature tokens with vigilance.
mana={G}{G}{W}{W}
type=Creature
subtype=Centaur Knight
power=4
toughness=4
[/card]
[card]
name=Conclave Guildmage
auto={G}{T}:all(creature|myBattlefield) trample
auto={5}{W}{T}:create(elf knight:creature elf knight:2/2:green,white:vigilance)
text={G}, {T}: Creatures you control gain trample until end of turn. -- {5}{W}, {T}: Create a 2/2 green and white Elf Knight creature token with vigilance.
mana={G}{W}
type=Creature
subtype=Elf Cleric
power=2
toughness=2
[/card]
[card]
name=Conclave Mentor
auto=@counteradded(1/1) from(creature|mybattlefield) except(Conclave Mentor):may counter(1/1) target(creature[counter{1/1.1}]|myBattlefield)
auto=_DIES_life:power controller
text=If one or more +1/+1 counters would be put on a creature you control, that many plus one +1/+1 counters are put on that creature instead. -- When Conclave Mentor dies, you gain life equal to its power.
mana={G}{W}
type=Creature
subtype=Centaur Cleric
power=2
toughness=2
[/card]
[card]
name=Conclave Tribunal
other={convoke} name(Convoke)
auto=(blink)forsrc target(*[-land]|opponentbattlefield)
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.) -- When Conclave Tribunal enters the battlefield, exile target nonland permanent an opponent controls until Conclave Tribunal leaves the battlefield.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Cone of Flame
target=player
auto=choice name(1 Player, 2, 3 Creature) damage:1 && damage:2 target(creature) && ability$!name(damage) choice target(other creature) damage:3!$ controller
auto=choice name(2 Player, 1, 3 Creature) damage:2 && damage:1 target(creature) && ability$!name(damage) choice target(other creature) damage:3!$ controller
auto=choice name(3 Player, 1, 2 Creature) damage:3 && damage:1 target(creature) && ability$!name(damage) choice target(other creature) damage:2!$ controller
auto=choice name(0 Player, 1, 2, 3 Creature) damage:1 target(creature) && ability$!name(damage) choice target(other creature) damage:2!$ controller && ability$!name(damage) choice target(other creature) damage:3!$ controller
text=Cone of Flame deals 1 damage to target creature or player, 2 damage to another target creature or player, and 3 damage to a third target creature or player.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Confidence from Strength
target=creature
auto=4/4
auto=trample
text=Target creature gets +4/+4 and gains trample until end of turn.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Confiscation Coup
#AUTO_DEFINE _HARNESSED_CONTROL_($c) this(variable{penergy}>=$c) choice moveTo(mybattlefield) target(artifact,creature[manacost=$c]|opponentbattlefield) && alterenergy:-$c controller
target=artifact,creature
auto=alterenergy:4 controller
auto=_HARNESSED_CONTROL_(0)
auto=_HARNESSED_CONTROL_(1)
auto=_HARNESSED_CONTROL_(2)
auto=_HARNESSED_CONTROL_(3)
auto=_HARNESSED_CONTROL_(4)
auto=_HARNESSED_CONTROL_(5)
auto=_HARNESSED_CONTROL_(6)
auto=_HARNESSED_CONTROL_(7)
auto=_HARNESSED_CONTROL_(8)
auto=_HARNESSED_CONTROL_(9)
auto=_HARNESSED_CONTROL_(10)
auto=_HARNESSED_CONTROL_(11)
auto=_HARNESSED_CONTROL_(12)
auto=_HARNESSED_CONTROL_(13)
auto=_HARNESSED_CONTROL_(14)
auto=_HARNESSED_CONTROL_(15)
auto=_HARNESSED_CONTROL_(16)
auto=_HARNESSED_CONTROL_(17)
auto=_HARNESSED_CONTROL_(18)
auto=_HARNESSED_CONTROL_(19)
auto=_HARNESSED_CONTROL_(20)
text=Choose target artifact or creature. You get {E}{E}{E}{E} (four energy counters), then you may pay an amount of {E} equal to that permanent's converted mana cost. If you do, gain control of it.
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Conflagrate
flashback={R}{R}
auto=ifnot gravecast then thisforeach(X) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature,player) damage:1!$ controller
auto=if gravecast then all(*|myhand) transforms((,newability[may name(Discard and damage) moveto(mygraveyard) && damage:1 opponent])) ueot
text=Conflagrate deals X damage divided as you choose among any number of target creatures and/or players. -- Flashback-{R}{R}, Discard X cards. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={X}{X}{R}
type=Sorcery
[/card]
[card]
name=Conflux
auto=ability$!name(white card) moveto(myhand) notatarget(*[white]|mylibrary)!$ controller
auto=ability$!name(blue card) moveto(myhand) notatarget(*[blue]|mylibrary)!$ controller
auto=ability$!name(black card) moveto(myhand) notatarget(*[black]|mylibrary)!$ controller
auto=ability$!name(red card) moveto(myhand) notatarget(*[red]|mylibrary)!$ controller
auto=ability$!name(green card) moveto(myhand) notatarget(*[green]|mylibrary)!$ controller
text=Search your library for a white card, a blue card, a black card, a red card, and a green card. Reveal those cards and put them into your hand. Then shuffle your library.
mana={3}{W}{U}{B}{R}{G}
type=Sorcery
[/card]
[card]
name=Confound
target=*[-creature;-artifact;-planeswalker;-enchantment]|stack
auto=fizzle
auto=draw:1 controller
restriction=type(creature|battlefield)~morethan~0
text=Counter target spell that targets one or more creatures. -- Draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Confounding Conundrum
auto=draw:1 controller
auto=@movedTo(land|opponentBattlefield) restriction{thisturn(land|opponentbattlefield)~morethan~1}:ability$!name(Move to hand) moveTo(ownerHand) notatarget(land|myBattlefield)!$ opponent
text=When Confounding Conundrum enters the battlefield, draw a card. -- Whenever a land enters the battlefield under an opponent's control, if that player had another land enter the battlefield under their control this turn, they return a land they control to its owner's hand.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Confront the Assault
restriction=type(creature[attacking]|opponentbattlefield)~morethan~0
auto=token(Spirit,Creature Spirit,1/1,flying)*3
text=Cast this spell only if a creature is attacking you. -- Create three 1/1 white Spirit creature tokens with flying.
mana={4}{W}
type=Instant
[/card]
[card]
name=Confront the Past
auto=choice name(Return planeswalker) target(planeswalker[manacost<=x]|mygraveyard) moveto(mybattlefield)
auto=choice name(Remove loyalty counters) target(planeswalker|mybattlefield) counter(0/0,-x,loyalty) && counter(0/0,-x,loyalty)
text=Choose one -- Return target planeswalker card with mana value X or less from your graveyard to the battlefield. -- Remove twice X loyalty counters from target planeswalker an opponent controls.
mana={X}{B}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Conifer Wurm
abilities=trample
auto={3}{G}:type:*[snow]:mybattlefield/type:*[snow]:mybattlefield ueot
text=Trample -- {3}{G}: Conifer Wurm gets +X/+X until end of turn, where X is the number of snow permanents you control.
mana={4}{G}
type=Snow Creature
subtype=Wurm
power=4
toughness=4
[/card]
[card]
name=Conjurer's Ban
auto=chooseanameopp emblem transforms((,newability[maxCast(*[chosenname])0 controller],newability[maxCast(*[chosenname])0 opponent])) uynt chooseend
auto=draw:1 controller
text=Name a card. Until your next turn, the named card can't be played. -- Draw a card.
mana={W}{B}
type=Sorcery
[/card]
[card]
name=Connive // Concoct
other={3}{U}{B} name(Concoct)
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus3plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=if paid(alternative) then name(Surveil 3) reveal:psurveiloffsetplus3plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus3plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus3plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed target(creature|mygraveyard) moveto(myBattlefield) && surveil afterrevealedend revealend
auto=ifnot paid(alternative) then moveTo(myBattlefield) target(creature[power<=2])
text=Gain control of target creature with power 2 or less. -- Surveil 3, then return a creature card from your graveyard to the battlefield.
mana={2}{UB}{UB}
type=Sorcery
[/card]
[card]
name=Conqueror's Flail
auto={2}:equip
auto=aslongas(*[white]|myBattlefield) teach(creature) 1/1
auto=aslongas(*[blue]|myBattlefield) teach(creature) 1/1
auto=aslongas(*[black]|myBattlefield) teach(creature) 1/1
auto=aslongas(*[red]|myBattlefield) teach(creature) 1/1
auto=aslongas(*[green]|myBattlefield) teach(creature) 1/1
auto=teach(creature) this(variable{controllerturn}) maxCast(*)0 opponent
text=Equipped creature gets +1/+1 for each color among permanents you control. -- As long as Conqueror's Flail is attached to a creature, your opponents can't cast spells during your turn. -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Conqueror's Foothold
auto={T}:Add{1}
auto={2}{T}:draw:1 controller && transforms((,newability[target(*|myhand) reject])) forever
auto={4}{T}:draw:1 controller
auto={6}{T}:moveto(myhand) target(*|mygraveyard)
text=(Transforms from Conqueror's Galleon.) -- {T}: Add {1} to your mana pool. -- {2}, {T}: Draw a card, then discard a card. -- {4}, {T}: Draw a card. -- {6}, {T}: Return target card from your graveyard to your hand.
type=Land
[/card]
[card]
name=Conqueror's Galleon
auto=_ATTACKING_phaseaction[combatends once] flip(Conqueror's Foothold)
auto={crew(other creature[power>=4]|myBattlefield)}:name(crew 4 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=4]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 4 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=3]|myBattlefield)}:name(crew 4 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 4 [3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 4 [4 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~3,compare(crewtotalpower)~morethan~3}
text=When Conqueror's Galleon attacks, exile it at end of combat, then return it to the battlefield transformed under your control. -- Crew 4 (Tap any number of creatures you control with total power 4 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={4}
type=Artifact
subtype=Vehicle
power=2
toughness=10
[/card]
[card]
name=Consecrate // Consume
other={2}{W}{B} name(Consume)
otherrestriction=myturnonly
auto=ifnot paid(alternative) then draw:1 controller
auto=ifnot paid(alternative) then target(creature|graveyard) moveto(exile)
auto=if paid(alternative) then choice name(Target controller) name(Target controller) life:power:highest:creature:myBattlefield controller && ability$!name(Sacrifice creature) sacrifice notatarget(creature[power=power:highest:creature:myBattlefield]|mybattlefield)!$ controller
auto=if paid(alternative) then choice name(Target opponent) name(Target opponent) life:power:highest:creature:opponentBattlefield controller && ability$!name(Sacrifice creature) sacrifice notatarget(creature[power=power:highest:creature:myBattlefield]|mybattlefield)!$ opponent
text=Exile target card from a graveyard. -- Draw a card. // Target player sacrifices a creature with the greatest power among creatures they control. You gain life equal to its power.
mana={1}{WB}
type=Instant
[/card]
[card]
name=Consider
aicode=activate draw:1 controller
auto=name(Look top card) reveal:1 optionone name(Put in graveyard) target(<upto:1>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(Put back) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed all(*[zpos=1]|mylibrary) transforms((,newability[draw:1 controller]))) oneshot afterrevealedend revealend
text=Look at the top card of your library. You may put that card into your graveyard. -- Draw a card.
mana={U}
type=Instant
[/card]
[card]
name=Consign // Oblivion
target=*[-land]
auto=moveto(ownerhand)
autograveyard={4}{B}{E}:ability$!reject(<2>*|myhand)!$ opponent assorcery
text=Return target nonland permanent to its owner's hand. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Target opponent discards two cards.
mana={1}{U}
type=Instant
[/card]
[card]
name=Consign to Dust
abilities=hasnokicker,hasstrive
kicker=multi{2}{G} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 artifact or enchantment) name(choose 1 artifact or enchantment) target(*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~1 then name(choose 2 artifacts or enchantments) name(choose 2 artifacts or enchantments) target(<upto:2>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~2 then name(choose 3 artifacts or enchantments) name(choose 3 artifacts or enchantments) target(<upto:3>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~3 then name(choose 4 artifacts or enchantments) name(choose 4 artifacts or enchantments) target(<upto:4>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~4 then name(choose 5 artifacts or enchantments) name(choose 5 artifacts or enchantments) target(<upto:5>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~5 then name(choose 6 artifacts or enchantments) name(choose 6 artifacts or enchantments) target(<upto:6>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~6 then name(choose 7 artifacts or enchantments) name(choose 7 artifacts or enchantments) target(<upto:7>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~7 then name(choose 8 artifacts or enchantments) name(choose 8 artifacts or enchantments) target(<upto:8>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~8 then name(choose 9 artifacts or enchantments) name(choose 9 artifacts or enchantments) target(<upto:9>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~9 then name(choose 10 artifacts or enchantments) name(choose 10 artifacts or enchantments) target(<upto:10>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~10 then name(choose 11 artifacts or enchantments) name(choose 11 artifacts or enchantments) target(<upto:11>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~11 then name(choose 12 artifacts or enchantments) name(choose 12 artifacts or enchantments) target(<upto:12>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~12 then name(choose 13 artifacts or enchantments) name(choose 13 artifacts or enchantments) target(<upto:13>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~13 then name(choose 14 artifacts or enchantments) name(choose 14 artifacts or enchantments) target(<upto:14>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~14 then name(choose 15 artifacts or enchantments) name(choose 15 artifacts or enchantments) target(<upto:15>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~15 then name(choose 16 artifacts or enchantments) name(choose 16 artifacts or enchantments) target(<upto:16>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~16 then name(choose 17 artifacts or enchantments) name(choose 17 artifacts or enchantments) target(<upto:17>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~17 then name(choose 18 artifacts or enchantments) name(choose 18 artifacts or enchantments) target(<upto:18>*[artifact;enchantment]) destroy
auto=if compare(kicked)~equalto~18 then name(choose 19 artifacts or enchantments) name(choose 19 artifacts or enchantments) target(<upto:19>*[artifact;enchantment]) destroy
auto=if compare(kicked)~morethan~18 then name(choose 20 artifacts or enchantments) name(choose 20 artifacts or enchantments) target(<upto:20>*[artifact;enchantment]) destroy
text=Strive - Consign to Dust costs {2}{G} more to cast for each target beyond the first. -- Destroy any number of target artifacts and/or enchantments.
mana={2}{G}
type=Instant
[/card]
[card]
name=Consign to the Pit
target=creature
auto=destroy
auto=damage:2 targetcontroller
text=Destroy target creature. Consign to the Pit deals 2 damage to that creature's controller.
mana={5}{B}
type=Sorcery
[/card]
[card]
name=Conspicuous Snoop
abilities=showfromtoplibrary
auto=if type(goblin[zpos=1]|mylibrary)~morethan~0 then may activate castcard(normal) all(*[zpos=1]|mylibrary)
text=Play with the top card of your library revealed. -- You may cast Goblin spells from the top of your library. -- As long as the top card of your library is a Goblin card, Conspicuous Snoop has all activated abilities of that card.
mana={R}{R}
type=Creature
subtype=Goblin Rogue
power=2
toughness=2
[/card]
[card]
name=Conspiracy
auto=chooseatype lord(creature|mybattlefield,mystack,myhand,mylibrary,mysideboard,mygraveyard,myexile) transforms((chosentype)) chooseend
text=Creatures you control are the chosen type. The same is true for creature spells you control and creature cards you own that aren't on the battlefield.
mana={3}{B}{B}
type=Enchantment
[/card]
[card]
name=Conspiracy Theorist
auto=@combat(attacking) source(this) restriction{type(*|myhand)~morethan~0}:pay({1}) name(Pay 1 and discard) target(*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot
auto=@discarded(*[-land]|myhand):may name(Exile from graveyard) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )!])) oneshot
text=Whenever Conspiracy Theorist attacks, you may pay {1} and discard a card. If you do, draw a card. -- Whenever you discard one or more nonland cards, you may exile one of them from your graveyard. If you do, you may cast it this turn.
mana={1}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Constable of the Realm
auto=this(cantargetcard(*[-renown]) transforms((,newability[@combatdamaged(player) from(this):counter(1/1.2) && becomes(renown) forever]))
auto=@counteradded(1/1) from(this):may name(Exile non-land permanent) target(*[-land]|battlefield) (blink)forsrc
text=Renown 2 (When this creature deals combat damage to a player, if it isn't renowned, put two +1/+1 counters on it and it becomes renowned.) -- Whenever one or more +1/+1 counters are put on Constable of the Realm, exile up to one other target nonland permanent until Constable of the Realm leaves the battlefield.
mana={4}{W}
type=Creature
subtype=Giant Soldier
power=3
toughness=3
[/card]
[card]
name=Construct
anyzone=type:artifact:mybattlefield/type:artifact:mybattlefield cdaactive
text=This creature gets +1/+1 for each artifact you control.
type=Artifact Creature
subtype=Construct
power=*
toughness=*
[/card]
[card]
name=Construct Chr
type=Artifact Creature
subtype=Construct
power=4
toughness=4
color=colorless
[/card]
[card]
name=Construct Kar
anyzone=type:artifact:myBattlefield/type:artifact:myBattlefield cdaactive
type=Artifact Creature
subtype=Construct
power=*
toughness=*
color=colorless
[/card]
[card]
name=Consulate Surveillance
auto=alterenergy:4 controller
auto={e:2}:preventalldamage to(controller)
text=When Consulate Surveillance enters the battlefield, you get {E}{E}{E}{E} (four energy counters). -- Pay {E}{E}: Prevent all damage that would be dealt to you this turn by a source of your choice.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Consume Strength
target=creature
auto=2/2 ueot
auto=target(other creature) -2/-2 ueot
text=Target creature gets +2/+2 until end of turn. Another target creature gets -2/-2 until end of turn.
mana={1}{B}{G}
type=Instant
[/card]
[card]
name=Consuming Blob
anyzone=mygravecardtypes/mygravecardtypesplus1plusend cdaactive
auto=@each my end:name(Create ooze) token(Ooze,Creature Ooze,0/0,green) and!( transforms((,newability[mygravecardtypes/mygravecardtypesplus1plusend cdaactive])) forever )!
text=Consuming Blob's power is equal to the number of card types among cards in your graveyard and its toughness is equal to that number plus 1. -- At the beginning of your end step, create a green Ooze creature token with "This creature's power is equal to the number of card types among cards in your graveyard and its toughness is equal to that number plus 1".
type=Creature
subtype=Ooze
mana={3}{G}{G}
power=*
toughness=*+1
[/card]
[card]
name=Consuming Fervor
target=creature
auto=3/3
auto=@each my upkeep:counter(-1/-1,1)
text=Enchant creature -- Enchanted creature gets +3/+3 and has "At the beginning of your upkeep, put a -1/-1 counter on this creature."
mana={R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Contact Other Plane
aicode=activate transforms((,newability[draw:2 controller])) oneshot
auto=name(Roll a d20) rolld20 20 winability scry:3 scrycore delayed draw:3 controller scrycoreend scryend winabilityend loseability if compare(lastrollresult)~lessthan~10 then draw:2 controller else scry:2 scrycore delayed draw:2 controller scrycoreend scryend loseabilityend rolld20end
text=Roll a d20. -- 1-9 | Draw two cards. -- 10-19 | Scry 2, then draw two cards. -- 20 | Scry 3, then draw three cards.
mana={3}{U}
type=Instant
[/card]
[card]
name=Containment Breach
auto=if type(*[artifact;enchantment;manacost<=2]|battlefield)~morethan~0 then choice name(Destroy artifact or enchantment with manacost 2 or less) name(Destroy artifact or enchantment with manacost 2 or less) target(*[artifact;enchantment;manacost<=2]|battlefield) destroy && token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
auto=if type(*[artifact;enchantment;manacost>=3]|battlefield)~morethan~0 then choice name(Destroy artifact or enchantment with manacost 3 or more) name(Destroy artifact or enchantment with manacost 3 or more) target(*[artifact;enchantment;manacost>=3]|battlefield) destroy
text=Destroy target artifact or enchantment. If its mana value is 2 or less, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life."
mana={2}{G}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Containment Priest
abilities=flash
auto=@movedTo(creature[-token]|battlefield):all(trigger) transforms((,newability[ifnot casted(this) then moveto(exile)])) forever
text=Flash -- If a notoken creature would enter the battlefield and it wasn't cast, exile it instead.
mana={1}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Contamination
auto=upcost[{S(creature|mybattlefield)}] sacrifice
auto=lord(land) loseabilities
auto=lord(land) losesubtypesof(land)
auto=lord(land) transforms((Swamp))
text=At the beginning of your upkeep, sacrifice Contamination unless you sacrifice a creature. -- If a land is tapped for mana, it produces {B} instead of any other type and amount.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Contentious Plan
auto=_PROLIFERATE_
auto=draw:1
text=Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) -- Draw a card.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Contortionist Troupe
auto=counter(1/1,x)
auto=@each my end restriction{coven}:name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)
text=Contortionist Troupe enters the battlefield with X +1/+1 counters on it. -- Coven - At the beginning of your end step, if you control three or more creatures with different powers, put a +1/+1 counter on target creature you control.
type=Creature
subtype=Human
mana={X}{G}
power=0
toughness=0
[/card]
[card]
name=Contract Killing
target=creature
auto=destroy
auto=token(435451)*2
text=Destroy target creature. Create two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Contraption Cannon
auto={2}{S}:damage:allmyname target(player,creature,planeswalker)
text={2}, Sacrifice Contraption Cannon: It deals damage to any target equal to the number of Contraptions you control.
mana={4}
type=Artifact
[/card]
[card]
name=Coordinated Charge
abilities=cycling
auto=all(creatures|myBattlefield) 2/1 ueot
autohand=__CYCLING__({2})
text=Creatures you control get +2/+1 until end of turn. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{W}
type=Instant
[/card]
[card]
name=Copy Enchantment
auto=may copy target(enchantment|battlefield)
text=You may have Copy Enchantment enter the battlefield as a copy of any enchantment on the battlefield.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Coral Commando
mana={2}{U}
type=Creature
subtype=Merfolk Warrior
power=3
toughness=2
[/card]
[card]
name=Coralhelm Chronicler
aicode=activate target(*[zpos<=5]|myLibrary) moveTo(myHand)
auto=@movedTo(*[kicked>=1]|myStack):draw:1 controller && ability$!name(Discard a card) reject notatarget(*|myhand)!$ controller
auto=name(Reveal five and search kicked) reveal:5 optionone name(Get card) target(*[haskicker]|reveal) moveTo(myHand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
text=Whenever you cast a kicked spell, draw a card, then discard a card. -- When Coralhelm Chronicler enters the battlefield, look at the top five cards of your library. You may reveal a card with a kicker ability from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={2}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Cordial Vampire
auto=@movedTo(creature|graveyard) from(battlefield):all(creature[vampire]|mybattlefield) counter(1/1,1)
text=Whenever Cordial Vampire or another creature dies, put a +1/+1 counter on each Vampire you control.
mana={B}{B}
type=Creature
subtype=Vampire
power=1
toughness=1
[/card]
[card]
name=Corpse Augur
auto=_DIES_ notatarget(player) then draw:foreach(notAtarget(creature|targetedpersonsgraveyard) && life:-foreach(notAtarget(creature|targetedpersonsgraveyard)
text=When Corpse Augur dies, you draw X cards and you lose X life, where X is the number of creature cards in target player's graveyard.
mana={3}{B}
type=Creature
subtype=Zombie Wizard
power=4
toughness=2
[/card]
[card]
name=Corpse Dance
target=creature|mygraveyard
buyback={4}{B}
auto=moveto(myBattlefield) and!( transforms((,newability[haste],newability[unearth])) ueot )!
text=Buyback {2} (You may pay an additional {2} as you cast this spell. If you do, put this card into your hand as it resolves.) -- Return the top creature card of your graveyard to the battlefield. That creature gains haste until end of turn. Exile it at the beginning of the next end step.
mana={2}{B}
type=Instant
[/card]
[card]
name=Corpse Knight
auto=@movedto(other creature|mybattlefield):life:-1 opponent
text=Whenever another creature enters the battlefield under your control, each opponent loses 1 life.
mana={W}{B}
type=Creature
subtype=Zombie Knight
power=2
toughness=2
[/card]
[card]
name=Corpsejack Menace
auto=@counteradded(1/1) from(creature|battlefield) except(Corpsejack Menace):may target(creature[counter{1/1.1}]|Battlefield) counter(1/1) notrg
text=If one or more +1/+1 counters would be placed on a creature you control, twice that many +1/+1 counters are placed on it instead.
mana={2}{B}{G}
type=Creature
subtype=Fungus
power=4
toughness=4
[/card]
[card]
name=Corpseweft
auto={1}{B}{E(creature|mygraveyard)}:name(Exile 1 creature) token(Zombie,creature Zombie Horror,2/2,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 2 creatures) token(Zombie,creature Zombie Horror,4/4,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 3 creatures) token(Zombie,creature Zombie Horror,6/6,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 4 creatures) token(Zombie,creature Zombie Horror,8/8,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 5 creatures) token(Zombie,creature Zombie Horror,10/10,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 6 creatures) token(Zombie,creature Zombie Horror,12/12,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 7 creatures) token(Zombie,creature Zombie Horror,14/14,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 8 creatures) token(Zombie,creature Zombie Horror,16/16,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 9 creatures) token(Zombie,creature Zombie Horror,18/18,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 10 creatures) token(Zombie,creature Zombie Horror,20/20,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 11 creatures) token(Zombie,creature Zombie Horror,22/22,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 12 creatures) token(Zombie,creature Zombie Horror,24/24,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 13 creatures) token(Zombie,creature Zombie Horror,26/26,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 14 creatures) token(Zombie,creature Zombie Horror,28/28,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 15 creatures) token(Zombie,creature Zombie Horror,30/30,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 16 creatures) token(Zombie,creature Zombie Horror,32/32,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 17 creatures) token(Zombie,creature Zombie Horror,34/34,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 18 creatures) token(Zombie,creature Zombie Horror,36/36,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 19 creatures) token(Zombie,creature Zombie Horror,38/38,black) and!( tap(noevent) )!
auto={1}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(Exile 20 creatures) token(Zombie,creature Zombie Horror,40/40,black) and!( tap(noevent) )!
text={1}{B}, Exile one or more creature cards from your graveyard: Put an X/X black Zombie Horror creature token onto the battlefield tapped, where X is twice the number of cards exiled this way.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Corridor Monitor
auto=untap target(artifact,creature|myBattlefield)
text=When Corridor Monitor enters the battlefield, untap target artifact or creature you control.
mana={1}{U}
type=Artifact Creature
subtype=Construct
power=1
toughness=4
[/card]
[card]
name=Corrosive Ooze
auto=emblem transforms((,newability[lord(creature[counter{0/0.1.CorrosiveEffect}]) transforms((,newability[@each combatends:name(Destroy all equipments) all(myeqp) destroy],newability[@each combatends:name(Destroy all equipments) removeallcounters(0/0.1.CorrosiveEffect)]))])) forever dontremove
auto=@combat(blocking,blocked) source(this) from(creature[equipped]):name(Destroy all equipments) all(trigger[from]) counter(0/0.1.CorrosiveEffect)
text=Whenever Corrosive Ooze blocks or becomes blocked by an equipped creature, destroy all Equipment attached to that creature at end of combat.
mana={1}{G}
type=Creature
subtype=Ooze
power=2
toughness=2
[/card]
[card]
name=Corrupted Crossroads
auto={T}:add{C}
auto=this(variable{type:*[devoid]:myrestrictedcastingzone}>0) {T}{L:1}:add{W}
auto=this(variable{type:*[devoid]:myrestrictedcastingzone}>0) {T}{L:1}:add{B}
auto=this(variable{type:*[devoid]:myrestrictedcastingzone}>0) {T}{L:1}:add{R}
auto=this(variable{type:*[devoid]:myrestrictedcastingzone}>0) {T}{L:1}:add{U}
auto=this(variable{type:*[devoid]:myrestrictedcastingzone}>0) {T}{L:1}:add{G}
text={T}: Add {C} to your mana pool. ({C} represents colorless mana.) -- {T}, Pay 1 life: Add one mana of any color to your mana pool. Spend this mana only to cast a spell with devoid.
type=Land
[/card]
[card]
name=Corsair Captain
auto=token(Treasure Sur)
auto=lord(other creature[pirate]|mybattlefield) 1/1
text=When Corsair Captain enters the battlefield, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Other Pirates you control get +1/+1.
mana={2}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Cosi's Trickster
auto=@shuffledfoeof(player):may name(Put 1/1 counter) counter(1/1)
text=Whenever an opponent shuffles his or her library, you may put a +1/+1 counter on Cosi's Trickster.
mana={U}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=1
[/card]
[card]
name=Cosima, God of the Voyage
auto=@each my upkeep:may name(Exile Cosima) moveto(myexile) and!( counter(0/0,1,CosimaEffect) )!
autoexile=@movedto(land|mybattlefield) restriction{compare(hascntcosimaeffect)~morethan~0}:transforms((,newability[choice name(Add voyage counter) counter(0/0.1.Voyage)],newability[choice name(Return in play) draw:hascntvoyage controller && moveTo(mybattlefield) and!( counter(1/1.hascntvoyage) )!])) oneshot
text=At the beginning of your upkeep, you may exile Cosima. If you do, it gains "Whenever a land enters the battlefield under your control, if Cosima is exiled, you may put a voyage counter on it. If you don't, return Cosima to the battlefield with X +1/+1 counters on it and draw X cards, where X is the number of voyage counters on it."
mana={2}{U}
type=Legendary Creature
subtype=God
power=2
toughness=4
[/card]
[card]
name=Cosmic Intervention
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{W} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=emblem transforms((,newability[@movedto(*[-instant;-sorcery]|graveyard) from(mybattlefield):all(trigger[to]) transforms((,newability[moveto(exile) and!( transforms((,newability[phaseaction[endofturn once checkex] moveto(ownerbattlefield)])) ueot )! ])) ueot])) ueot
text=If a permanent you control would be put into a graveyard from the battlefield this turn, exile it instead. Return it to the battlefield under its owner's control at the beginning of the next end step. -- Foretell {1}{W} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{W}
type=Instant
[/card]
[card]
name=Cosmos Charger
abilities=foretell,flash,flying
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={2}{U} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=lord(*[foretell]|myhand) transforms((,newability[{1} restriction{type(*[Cosmos Charger]|mybattlefield)~equalto~1}:name(Pay 1 and exile face-down) name(Pay 1 and exile face-down) doforetell],newability[{0} restriction{type(*[Cosmos Charger]|mybattlefield)~morethan~1}:name(Pay 0 and exile face-down) name(Pay 0 and exile face-down) doforetell]))
text=Flash -- Flying -- Foretelling cards from your hand costs {1} less and can be done on any player's turn. -- Foretell {2}{U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{U}
type=Creature
subtype=Horse Spirit
power=3
toughness=3
[/card]
[card]
name=Cosmos Elixir
auto=@each my endofturn restriction{compare(lifetotal)~lessthan~compare(startinglife)}:life:2 controller
auto=@each my endofturn restriction{compare(lifetotal)~equalto~compare(startinglife)}:life:2 controller
auto=@each my endofturn restriction{compare(lifetotal)~morethan~compare(startinglife)}:draw:1 controller
text=At the beginning of your end step, draw a card if your life total is greater than your starting life total. Otherwise, you gain 2 life.
mana={4}
type=Artifact
[/card]
[card]
name=Cosmotronic Wave
auto=all(creature|opponentBattlefield) damage:1 && cantblock
text=Cosmotronic Wave deals 1 damage to each creature your opponents control. Creatures your opponents control can't block this turn.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Costly Plunder
auto=draw:2
text=As an additional cost to cast Costly Plunder, sacrifice an artifact or creature. -- Draw two cards.
mana={1}{B}{S(artifact,creature)}
type=Instant
[/card]
[card]
name=Counterlash
auto=if type(creature|opponentstack)~morethan~0 then choice name(Counter opponent creature) name(Counter opponent creature) target(creature|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Cast a creature from hand) name(Cast a creature from hand) target(creature|myhand) activate castcard(normal)!$ opponent])) oneshot
auto=if type(creature|mystack)~morethan~0 then choice name(Counter your creature) name(Counter your creature) target(creature|mystack) transforms((,newability[fizzle],newability[ability$!name(Cast a creature from hand) name(Cast a creature from hand) target(creature|myhand) activate castcard(normal)!$ controller])) oneshot
auto=if type(instant|opponentstack)~morethan~0 then choice name(Counter opponent instant) name(Counter opponent instant) target(instant|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Cast an instant from hand) name(Cast an instant from hand) target(instant|myhand) activate castcard(normal)!$ opponent])) oneshot
auto=if type(other instant|mystack)~morethan~0 then choice name(Counter your instant) name(Counter your instant) target(instant|mystack) transforms((,newability[fizzle],newability[ability$!name(Cast an instant from hand) name(Cast an instant from hand) target(instant|myhand) activate castcard(normal)!$ controller])) oneshot
auto=if type(sorcery|opponentstack)~morethan~0 then choice name(Counter opponent sorcery) name(Counter opponent sorcery) target(sorcery|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Cast a sorcery from hand) name(Cast a sorcery from hand) target(sorcery|myhand) activate castcard(normal)!$ opponent])) oneshot
auto=if type(sorcery|mystack)~morethan~0 then choice name(Counter your sorcery) name(Counter your sorcery) target(sorcery|mystack) transforms((,newability[fizzle],newability[ability$!name(Cast a sorcery from hand) name(Cast a sorcery from hand) target(sorcery|myhand) activate castcard(normal)!$ controller])) oneshot
auto=if type(planeswalker|opponentstack)~morethan~0 then choice name(Counter opponent planeswalker) name(Counter opponent planeswalker) target(planeswalker|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Cast a planeswalker from hand) name(Cast a planeswalker from hand) target(planeswalker|myhand) activate castcard(normal)!$ opponent])) oneshot
auto=if type(planeswalker|mystack)~morethan~0 then choice name(Counter your planeswalker) name(Counter your planeswalker) target(planeswalker|mystack) transforms((,newability[fizzle],newability[ability$!name(Cast a planeswalker from hand) name(Cast a planeswalker from hand) target(planeswalker|myhand) activate castcard(normal)!$ controller])) oneshot
auto=if type(artifact|opponentstack)~morethan~0 then choice name(Counter opponent artifact) name(Counter opponent artifact) target(artifact|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Cast an artifact from hand) name(Cast an artifact from hand) target(artifact|myhand) activate castcard(normal)!$ opponent])) oneshot
auto=if type(artifact|mystack)~morethan~0 then choice name(Counter your artifact) name(Counter your artifact) target(artifact|mystack) transforms((,newability[fizzle],newability[ability$!name(Cast an artifact from hand) name(Cast an artifact from hand) target(artifact|myhand) activate castcard(normal)!$ controller])) oneshot
auto=if type(enchantment|opponentstack)~morethan~0 then choice name(Counter opponent enchantment) name(Counter opponent enchantment) target(enchantment|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Cast an enchantment from hand) name(Cast an enchantment from hand) target(enchantment|myhand) activate castcard(normal)!$ opponent])) oneshot
auto=if type(enchantment|mystack)~morethan~0 then choice name(Counter your enchantment) name(Counter your enchantment) target(enchantment|mystack) transforms((,newability[fizzle],newability[ability$!name(Cast an enchantment from hand) name(Cast an enchantment from hand) target(enchantment|myhand) activate castcard(normal)!$ controller])) oneshot
auto=if type(tribal|opponentstack)~morethan~0 then choice name(Counter opponent tribal) name(Counter opponent tribal) target(tribal|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Cast a tribal from hand) name(Cast a tribal from hand) target(tribal|myhand) activate castcard(normal)!$ opponent])) oneshot
auto=if type(tribal|mystack)~morethan~0 then choice name(Counter your tribal) name(Counter your tribal) target(tribal|mystack) transforms((,newability[fizzle],newability[ability$!name(Cast a tribal from hand) name(Cast a tribal from hand) target(tribal|myhand) activate castcard(normal)!$ controller])) oneshot
text=Counter target spell. You may cast a nonland card in your hand that shares a card type with that spell without paying its mana cost.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Countervailing Winds
abilities=cycling
target=*|stack
auto=if cantargetcard(*|opponentstack) then transforms((,newability[pay[[{value:type:*:opponentgraveyard}]] name(pay {value} mana) donothing?fizzle])) forever else transforms((,newability[pay[[{value:type:*:mygraveyard}]] name(pay {value} mana) donothing?fizzle])) forever
autohand=__CYCLING__({2})
text=Counter target spell unless its controller pays {1} for each card in your graveyard. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Courage in Crisis
target=creature
auto=counter(1/1)
auto=_PROLIFERATE_
text=Put a +1/+1 counter on target creature, then proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Court Cleric
abilities=lifelink
auto=aslongas(planeswalker[ajani]|myBattlefield) +1/+1
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- Court Cleric gets +1/+1 as long as you control an Ajani planeswalker.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Court of Ambition
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:ability$!name(Choose one) choice name(Loose 3 life) life:-3 _ choice name(Discrd a card) reject notatarget(*|myhand)!$ opponent
auto=@each my upkeep restriction{compare(pmonarch)~equalto~1}:ability$!name(Choose one) choice name(Loose 6 life) life:-6 _ choice name(Discrd 2 cards) reject notatarget(<2>*|myhand)!$ opponent
text=When Court of Ambition enters the battlefield, you become the monarch. -- At the beginning of your upkeep, each opponent loses 3 life unless they discard a card. If you're the monarch, instead each opponent loses 6 life unless they discard two cards.
mana={2}{B}{B}
type=Enchantment
[/card]
[card]
name=Court of Bounty
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:may moveto(myBattlefield) target(land|myHand)
auto=@each my upkeep restriction{compare(pmonarch)~equalto~1}:may moveto(myBattlefield) target(*[land;creature]|myHand)
text=When Court of Bounty enters the battlefield, you become the monarch. -- At the beginning of your upkeep, you may put a land card from your hand onto the battlefield. If you're the monarch, instead you may put a creature or land card from your hand onto the battlefield.
mana={2}{G}{G}
type=Enchantment
[/card]
[card]
name=Court of Cunning
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:ability$!name(Choose one) choice name(Opponent mills cards) deplete:3 opponent _ choice name(You mill cards) deplete:3 controller _ choice name(Both player mill cards) deplete:3 controller && deplete:3 opponent _ choice name(No one mills cards) donothing!$ controller
auto=@each my upkeep restriction{compare(pmonarch)~equalto~1}:ability$!name(Choose one) choice name(Opponent mills cards) deplete:10 opponent _ choice name(You mill cards) deplete:10 controller _ choice name(Both player mill cards) deplete:10 controller && deplete:10 opponent _ choice name(No one mills cards) donothing!$ controller 
text=When Court of Cunning enters the battlefield, you become the monarch. -- At the beginning of your upkeep, any number of target players each mill two cards. If you're the monarch, each of those players mills ten cards instead. (To mill a card, a player puts the top card of their library into their graveyard.)
mana={1}{U}{U}
type=Enchantment
[/card]
[card]
name=Court of Grace
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:token(Spirit,Creature Spirit,1/1,white,flying)
auto=@each my upkeep restriction{compare(pmonarch)~equalto~1}:token(Angel,Creature Angel,4/4,white,flying)
text=When Court of Grace enters the battlefield, you become the monarch. -- At the beginning of your upkeep, create a 1/1 white Spirit creature token with flying. If you're the monarch, create a 4/4 white Angel creature token with flying instead.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Court of Ire
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:name(Deals 2 damages to any target) name(Deals 2 damages to any target) damage:2 target(player,creature,planeswalker)
auto=@each my upkeep restriction{compare(pmonarch)~equalto~1}:name(Deals 7 damages to any target) name(Deals 7 damages to any target) damage:7 target(player,creature,planeswalker)
text=When Court of Ire enters the battlefield, you become the monarch. -- At the beginning of your upkeep, Court of Ire deals 2 damage to any target. If you're the monarch, it deals 7 damage instead.
mana={3}{R}{R}
type=Enchantment
[/card]
[card]
name=Covert Cutpurse
abilities=hasdisturb
backside=Covetous Geist
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={4}{B} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto=name(Destroy a damaged creature) target(creature[damaged]|opponentbattlefield) destroy
text=When Covert Cutpurse enters the battlefield, destroy target creature you don't control that was dealt damage this turn. -- Disturb {4}{B} (You may cast this card from your graveyard transformed for its disturb cost.) // Covetous Geist
mana={2}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Coveted Jewel
auto=draw:3
auto={T}:Add{W}{W}{W}
auto={T}:Add{U}{U}{U}
auto={T}:Add{B}{B}{B}
auto={T}:Add{R}{R}{R}
auto={T}:Add{G}{G}{G}
auto=@combat(notblocked) source(creature|opponentBattlefield):untap(this) && draw:3 opponent && moveTo(opponentBattlefield) from(myBattlefield):this
text=When Coveted Jewel enters the battlefield, draw three cards. -- {T}: Add three mana of any one color. -- Whenever one or more creatures an opponent controls attack you and aren't blocked, that player draws three cards and gains control of Coveted Jewel. Untap it.
mana={6}
type=Artifact
[/card]
[card]
name=Coveted Peacock
abilities=flying
auto=_ATTACKING_may name(Goad creature) target(creature|opponentBattlefield) _GOAD_
text=Flying -- Whenever Coveted Peacock attacks, you may goad target creature defending player controls. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)
mana={3}{U}{U}
type=Creature
subtype=Bird
power=3
toughness=4
[/card]
[card]
name=Coveted Prize
abilities=hiddenface
aicode=activate moveTo(myHand) target(*|myLibrary)
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto=name(Reveal) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) moveto(myhand) and!(shuffle)! optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed if compare(calculateparty)~equalto~4 then may name(cast card with mana cost less than 4) activate name(cast card with mana cost less than 4) castcard(normal) target(*[-land;manacost<=4]|myHand) afterrevealedend revealend
text=This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- Search your library for a card, put it into your hand, then shuffle your library. If you have a full party, you may cast a spell with converted mana cost 4 or less from your hand without paying its mana cost.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Covetous Castaway
abilities=hasdisturb
backside=Ghostly Castigator
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={3}{U}{U} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto=_DIES_name(Mill 3 cards) deplete:3 controller
text=When Covetous Castaway dies, mill three cards. -- Disturb {3}{U}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Ghostly Castigator
mana={1}{U}
type=Creature
subtype=Human
power=1
toughness=3
[/card]
[card]
name=Covetous Geist
abilities=flying,deathtouch,exiledeath
backside=Covert Cutpurse
text=Flying, deathtouch -- If Covetous Geist would be put into a graveyard from anywhere, exile it instead. // Covert Cutpurse
type=Creature
subtype=Spirit Rogue
color=black
power=2
toughness=2
[/card]
[card]
name=Covetous Urge
auto=if type(*[-land]|opponentgraveyard)~morethan~0 then name(Exile non land card) name(Exile non land card) target(*[-land]|opponenthand,opponentgraveyard) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[@each beginofturn:name(Can play from exile) transforms((,newability[canplayfromexile],newability[anytypeofmana])) forever])) forever )!
auto=if type(*[-land]|opponentgraveyard)~equalto~0 then if type(*[-land]|opponenthand)~morethan~0 then name(Exile non land card) name(Exile non land card) name(Exile non land card) target(*[-land]|opponenthand) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[@each beginofturn:name(Can play from exile) transforms((,newability[canplayfromexile],newability[anytypeofmana])) forever])) forever )!
auto=if type(*[-land]|opponentgraveyard)~equalto~0 then if type(*[-land]|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
text=Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.
mana={UB}{UB}{UB}{UB}
type=Sorcery
[/card]
[card]
name=Crab
type=Creature
subtype=Crab
power=0
toughness=3
color=blue
[/card]
[card]
name=Crack Open
target=enchantment
auto=destroy
auto=token(Treasure Sur)
text=Destroy target artifact or enchantment. Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Crackle with Power
auto=target(<thirdpaid>player,creature,planeswalker) damage:fivetimesthirdpaid
text=Crackle with Power deals five times X damage to each of up to X targets.
mana={X}{X}{X}{R}{R}
type=Sorcery
[/card]
[card]
name=Crackling Drake
abilities=flying
auto=draw:1
anyzone=type:*[instant;sorcery]:mygraveyardplustype:*[instant;sorcery]:myexileplusend/4 cdaactive
text=Flying -- Crackling Drake's power is equal to the total number of instant and sorcery cards you own in exile and in your graveyard. -- When Crackling Drake enters the battlefield, draw a card.
mana={U}{U}{R}{R}
type=Creature
subtype=Drake
power=*
toughness=4
[/card]
[card]
name=Cradle of the Accursed
auto={T}:Add{1}
auto={3}{T}{S}:token(Zombie,creature Zombie,2/2,black) assorcery
text={T}: Add {1} to your mana pool. -- {3}, {T}, Sacrifice Cradle of the Accursed: Create a 2/2 black Zombie creature token. Activate this ability only any time you could cast a sorcery.
type=Land
subtype=Desert
[/card]
[card]
name=Crafty Cutpurse
abilities=flash
auto=transforms((,newability[@movedto(*[token]|opponentbattlefield):all(trigger[to]) moveto(mybattlefield)])) ueot
text=Flash -- When Crafty Cutpurse enters the battlefield, each token that would be created under an opponent's control this turn is created under your control instead.
mana={3}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Cragcrown Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Timbercrown Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Timbercrown Pathway) name(Timbercrown Pathway) flip(Timbercrown Pathway) forcetype(land)
auto={T}:add{R}
text={T}: Add {R}. // Timbercrown Pathway
type=Land
[/card]
[card]
name=Cragganwick Cremator
auto=if compare(type:*:myhand)~equalto~1 then all(*|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~2 then all(*[zpos=genrand2plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~3 then all(*[zpos=genrand3plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~4 then all(*[zpos=genrand4plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~5 then all(*[zpos=genrand5plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~6 then all(*[zpos=genrand6plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~7 then all(*[zpos=genrand7plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~8 then all(*[zpos=genrand8plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~9 then all(*[zpos=genrand9plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~10 then all(*[zpos=genrand10plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~11 then all(*[zpos=genrand11plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~12 then all(*[zpos=genrand12plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~13 then all(*[zpos=genrand13plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~14 then all(*[zpos=genrand14plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~15 then all(*[zpos=genrand15plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~16 then all(*[zpos=genrand16plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~17 then all(*[zpos=genrand17plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~18 then all(*[zpos=genrand18plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~equalto~19 then all(*[zpos=genrand19plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
auto=if compare(type:*:myhand)~morethan~19 then all(*[zpos=genrand20plus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[creature]|*) then damage:power target(player^planeswalker)])) oneshot )!
text=When Cragganwick Cremator enters the battlefield, discard a card at random. If you discard a creature card this way, Cragganwick Cremator deals damage equal to that card's power to target player or planeswalker.
mana={2}{R}{R}
type=Creature
subtype=Giant Shaman
power=5
toughness=4
[/card]
[card]
name=Cragplate Baloth
abilities=nofizzle,opponentshroud,haste
kicker={2}{G}
auto=if paid(kicker) then counter(1/1,4)
text=Kicker {2}{G} -- This spell can't be countered. -- Hexproof, haste -- If Cragplate Baloth was kicked, it enters the battlefield with four +1/+1 counters on it.
mana={5}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Cram Session
auto=life:4 controller
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=You gain 4 life. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={1}{BG}
type=Sorcery
[/card]
[card]
name=Cranial Extraction
auto=choice name(Target opponent) ability$!chooseanameopp name(Search that cards) target(<anyamount>creature[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( shuffle opponent )! chooseend nonland!$ controller
auto=choice name(Target yourself) ability$!chooseaname name(Search that cards) target(<anyamount>creature[chosenname]|mygraveyard,mylibrary,myhand) moveto(exile) and!( shuffle controller )! chooseend nonland!$ controller
text=Name a nonland card. Search target player's graveyard, hand, and library for all cards with that name and exile them. Then that player shuffles his or her library.
mana={3}{B}
type=Sorcery
subtype=Arcane
[/card]
[card]
name=Crash Through
auto=all(creature|mybattlefield) trample ueot
auto=draw:1
text=Creatures you control gain trample until end of turn. -- Draw a card.
mana={R}
type=Sorcery
[/card]
[card]
name=Crash of Rhino Beetles
abilities=trample
auto=aslongas(land|myBattlefield) 10/10 >9
text=Trample -- Crash of Rhino Beetles gets +10/+10 as long as you control ten or more lands.
mana={4}{G}
type=Creature
subtype=Insect
power=5
toughness=5
[/card]
[card]
name=Crash the Ramparts
target=creature
auto=3/3
auto=trample
text=Target creature gets +3/+3 and gains trample until end of turn.
mana={2}{G}
type=Instant
[/card]
[card]
name=Crashing Boars
auto=_ATTACKING_ability$!name(block) target(creature|mybattlefield) mustblock ueot!$ opponent
text=Whenever Crashing Boars attacks, defending player chooses an untapped creature he or she controls. That creature blocks Crashing Boars this turn if able.
mana={3}{G}{G}
type=Creature
subtype=Boar
power=4
toughness=4
[/card]
[card]
name=Crashing Drawbridge
abilities=defender
auto={T}:lord(creature|myBattlefield) haste
text=Defender -- {T}: Creatures you control gain haste until end of turn.
mana={2}
type=Artifact Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Crashing Footfalls
auto=token(Rhino,creature Rhino,4/4,green,trample)*2
text=Suspend 4-{G} (Rather than cast this card from your hand, pay {G} and exile it with four time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- Create two 4/4 green Rhino creature tokens with trample.
color=green
restriction=never
mana={0}
suspend(4)={G}
type=Sorcery
[/card]
[card]
name=Crashing Tide
auto=if type(creature[merfolk]|mybattlefield)~morethan~0 then asflash
target=creature
auto=moveTo(ownerhand)
auto=draw:1 controller
text=Crashing Tide has flash as long as you control a Merfolk. -- Return target creature to its owner's hand. -- Draw a card.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Craven Hulk
abilities=cantblock
auto=aslongas(other creature[blocking]|myBattlefield) -cantblock >0
text=Craven Hulk can't block alone.
mana={3}{R}
type=Creature
subtype=Giant Coward
power=4
toughness=4
[/card]
[card]
name=Crawl from the Cellar
target=creature|mygraveyard
flashback={3}{B}
auto=moveTo(myhand)
auto=may name(Put 1/1 counter) target(creature[zombie]|mybattlefield) counter(1/1)
text=Return target creature card from your graveyard to your hand. Put a +1/+1 counter on up to one target Zombie you control. -- Flashback {3}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={B}
type=Sorcery
[/card]
[card]
name=Crawling Barrens
auto={T}:add{C}
auto={4}:name(Add just counters) name(Add just counters) counter(1/1,2) all(this)
auto={4}:name(Add counters and transform) name(Add counters and transform) counter(1/1,2) all(this) && becomes(Creature Elemental Land) ueot
text={T}: Add {C}. -- {4}: Put two +1/+1 counters on Crawling Barrens. Then you may have it become a 0/0 Elemental creature until end of turn. It's still a land.
type=Land
[/card]
[card]
name=Creative Outburst
target=player,creature,planeswalker
auto=damage:5
aicode=activate transforms((,newability[target(*[zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) ueot
auto=name(Reveal 5 cards) reveal:5 optionone name(Get Card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
autohand={UR}{UR}{D}:token(Treasure Sur)
text=Creative Outburst deals 5 damage to any target. Look at the top five cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order. -- {UR}{UR}, Discard Creative Outburst: Create a Treasure token.
mana={3}{U}{U}{R}{R}
type=Instant
[/card]
[card]
name=Creative Technique
other={4}{R} name(Demonstrate)
aicode=activate all(*[zpos=findfirsttypenonland]|mylibrary) moveto(exile) and!( transforms((,newability[zerocast],newability[canplayfromexile],newability[all(*[zpos<=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!
auto=ifnot paid(alternative) then name(Reveal cards) name(Reveal cards) reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone name(Get non-land card) target(*[creature;instant;sorcery;enchantment;artifact;planeswalker]|myreveal) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=if paid(alternative) then name(Reveal cards) name(Reveal cards) reveal:5 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone name(Get 2 non-land cards) target(<2>*[creature;instant;sorcery;enchantment;artifact;planeswalker]|myreveal) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=if paid(alternative) then ability$!name(Reveal cards) name(Reveal cards) reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) optionone name(Get non-land card) target(*[creature;instant;sorcery;enchantment;artifact;planeswalker]|myreveal) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast])) ueot )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend !$ opponent
text=Demonstrate (When you cast this spell, you may copy it. If you do, choose an opponent to also copy it.) -- Shuffle your library, then reveal cards from the top of it until you reveal a nonland card. Exile that card and put the rest on the bottom of your library in a random order. You may cast the exiled card without paying its mana cost.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Creeping Chill
auto=damage:3 opponent
auto=life:3
autograveyard=@movedTo(this|mygraveyard) from(mylibrary):may damage:3 opponent && life:3 && moveto(exile)
text=Creeping Chill deals 3 damage to each opponent and you gain 3 life. -- When Creeping Chill is put into your graveyard from your library, you may exile it. If you do, Creeping Chill deals 3 damage to each opponent and you gain 3 life.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Creeping Inn
backside=Hostile Hostel
auto=@combat(attacking) source(this):may name(Exile a creature) target(creature|mygraveyard) moveto(myexile) and!( transforms((,newability[counter(0/0.1.InnExiled)],newability[foreach(creature[counter{0/0.1.InnExiled}]|myexile) life:-1 opponent],newability[foreach(creature[counter{0/0.1.InnExiled}]|myexile) life:1 controller])) oneshot )!
auto={4}:name(Phase out) phaseoutf
text=Whenever Creeping Inn attacks, you may exile a creature card from your graveyard. If you do, each opponent loses X life and you gain X life, where X is the number of creature cards exiled with Creeping Inn. -- {4}: Creeping Inn phases out. // Hostile Hostel
type=Artifact Creature
subtype=Horror Construct
color=black
power=3
toughness=7
[/card]
[card]
name=Creeping Trailblazer
auto=lord(other creature[elemental]|myBattlefield) 1/0
auto={2}{R}{G}::all(this) foreach(elemental|myBattlefield) 1/1 ueot
text=Other Elementals you control get +1/+0. -- {2}{R}{G}: Creeping Trailblazer gets +1/+1 until end of turn for each Elemental you control.
mana={R}{G}
type=Creature
subtype=Elemental
power=2
toughness=2
[/card]
[card]
name=Crested Herdcaller
abilities=trample
auto=create(dinosaur:creature dinosaur:3/3:green:trample)
text=Trample -- When Crested Herdcaller enters the battlefield, create a 3/3 green Dinosaur creature token with trample.
mana={3}{G}{G}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Crested Sunmare
auto=lord(Other Horse|myBattlefield) indestructible
auto=@lifeof(player) turnlimited:transforms((,newability[@next endofturn:token(Horse,creature Horse,5/5,white)])) ueot
text=Other Horses you control have indestructible. -- At the beginning of each end step, if you gained life this turn, create a 5/5 white Horse creature token.
mana={3}{W}{W}
type=Creature
subtype=Horse
power=5
toughness=5
[/card]
[card]
name=Crime // Punishment
other={X}{B}{G} name(Punishment)
auto=if paid(alternative) then destroy all(creature[manacost=X])
auto=if paid(alternative) then destroy all(enchantment[manacost=X])
auto=if paid(alternative) then destroy all(artifact[manacost=X])
auto=if not paid(alternative) then target(creature,enchantment|opponentgraveyard) moveTo(myBattlefield)
text=Put target creature or enchantment card from an opponent's graveyard onto the battlefield under your control. -- //  -- Destroy each artifact, creature, and enchantment with converted mana cost X.
mana={3}{W}{B}
type=Sorcery
[/card]
[card]
name=Crimson Fleet Commodore
abilities=trample
auto=_MONARCH_CONTROLLER_
text=Trample -- When Crimson Fleet Commodore enters the battlefield, you become the monarch.
mana={3}{R}
type=Creature
subtype=Ogre Pirate
power=5
toughness=2
[/card]
[card]
name=Crimson Honor Guard
abilities=trample
auto=@each my end restriction{type(*[iscommander]|myBattlefield)~lessthan~1}:damage:4 controller
auto=@each opponent end restriction{type(*[iscommander]|opponentBattlefield)~lessthan~1}:damage:4 opponent
text=Trample -- At the beginning of each player's end step, Crimson Honor Guard deals 4 damage to that player unless they control a commander.
mana={3}{R}{R}
type=Creature
subtype=Vampire Knight
power=4
toughness=5
[/card]
[card]
name=Crippling Fear
auto=chooseatype all(creature[-chosentype]|battlefield) -3/-3 ueot chooseend
text=Choose a creature type. Creatures that aren't of the chosen type get -3/-3 until end of turn.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Critical Hit
target=creature
auto=transforms((,newability[double strike])) ueot
autograveyard=@dierolled(*|mybattlefield) result(20) from(controller):name(Return to hand) moveto(myhand)
text=Target creature gains double strike until end of turn. -- When you roll a natural 20, return Critical Hit from your graveyard to your hand. (A natural 20 is a roll that displays 20 on the die.)
mana={1}{R}
type=Instant
[/card]
[card]
name=Croaking Counterpart
target=creature[-frog]
flashback={3}{G}{U}
auto=clone addtype(frog) and!( transforms((,setpower=1,settoughness=1,green])) forever )!
text=Create a token that's a copy of target non-Frog creature, except it's a 1/1 green Frog. -- Flashback {3}{G}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{G}{U}
type=Sorcery
[/card]
[card]
name=Crocodile of the Crossing
abilities=haste
auto=counter(-1/-1,1) target(creature|mybattlefield)
text=Haste -- When Crocodile of the Crossing enters the battlefield, put a -1/-1 counter on target creature you control.
mana={3}{G}
type=Creature
subtype=Crocodile
power=5
toughness=4
[/card]
[card]
name=Cromat
auto={W}{B}:destroy target(creature[blocking;attacking])
auto={U}{R}:flying ueot
auto={B}{R}:regenerate
auto={R}{W}:1/1 ueot
auto={G}{U}:moveto(ownerlibrary)
text={W}{B}: Destroy target creature blocking or blocked by Cromat. -- {U}{R}: Cromat gains flying until end of turn. -- {B}{G}: Regenerate Cromat. -- {R}{W}: Cromat gets +1/+1 until end of turn. -- {G}{U}: Put Cromat on top of its owner's library.
mana={W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Illusion
power=5
toughness=5
[/card]
[card]
name=Crook of Condemnation
auto={1}{T}:target(*|graveyard) moveto(exile)
auto={1}{E}:moveto(exile) all(*|graveyard)
text={1}, {T}: Exile target card from a graveyard. -- {1}, Exile Crook of Condemnation: Exile all cards from all graveyards.
mana={2}
type=Artifact
[/card]
[card]
name=Crossroads Candleguide
auto=may name(Exile a card) target(*|graveyard) moveto(exile)
auto={2}:name(Add 1 mana) ability$!name(Choose one) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add black mana) add{B} _ choice name(Add white mana) add{W} _ choice name(Add blue mana) add{U}!$ controller
text=When Crossroads Candleguide enters the battlefield, exile up to one target card from a graveyard. -- {2}: Add one mana of any color.
type=Artifact Creature
subtype=Scarecrow
mana={4}
power=3
toughness=4
[/card]
[card]
name=Crowded Crypt
auto={T}:add{B}
auto=@movedTo(creature|graveyard) from(mybattlefield):name(Put corpse counter) counter(0/0,1,Corpse)
auto={4}{B}{B}{T}{S}:token(Zombie Dec)*hascntcorpse
text={T}: Add {B}. -- Whenever a creature you control dies, put a corpse counter on Crowded Crypt. -- {4}{B}{B}, {T}, Sacrifice Crowded Crypt: Create a 2/2 black Zombie creature token with decayed for each corpse counter on Crowded Crypt. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.)
mana={2}{B}
type=Artifact
[/card]
[card]
name=Crown of Skemfar
target=creature
auto=foreach(elf|mybattlefield) 1/1
auto=reach
autograveyard={2}{G}:name(Put back in hand) moveto(myhand)
text=Enchant creature -- Enchanted creature gets +1/+1 for each Elf you control and has reach. -- {2}{G}: Return Crown of Skemfar from your graveyard to your hand.
mana={2}{G}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Crown-Hunter Hireling
auto=_MONARCH_CONTROLLER_
auto=this(variable{omonarch}<1) cantattack
auto=this(variable{omonarch}<1) cantpwattack
text=When Crown-Hunter Hireling enters the battlefield, you become the monarch. -- Crown-Hunter Hireling can't attack unless defending player is the monarch.
mana={4}{R}
type=Creature
subtype=Ogre Mercenary
power=4
toughness=4
[/card]
[card]
name=Crucible of the Spirit Dragon
auto={T}:add{C}
auto={1}{T}:name(Add storage counter) counter(0/0.1.storage)
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-1.storage)}:name(Add 1 mana) name(Add 1 mana) thisforeach(variable{1}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-1.storage)}:name(Add 1 mana) name(Add 1 mana) thisforeach(variable{1}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-2.storage)}:name(Add 2 mana) name(Add 2 mana) thisforeach(variable{2}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-2.storage)}:name(Add 2 mana) name(Add 2 mana) thisforeach(variable{2}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-3.storage)}:name(Add 3 mana) name(Add 3 mana) thisforeach(variable{3}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-3.storage)}:name(Add 3 mana) name(Add 3 mana) thisforeach(variable{3}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-4.storage)}:name(Add 4 mana) name(Add 4 mana) thisforeach(variable{4}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-4.storage)}:name(Add 4 mana) name(Add 4 mana) thisforeach(variable{4}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-5.storage)}:name(Add 5 mana) name(Add 5 mana) thisforeach(variable{5}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-5.storage)}:name(Add 5 mana) name(Add 5 mana) thisforeach(variable{5}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-6.storage)}:name(Add 6 mana) name(Add 6 mana) thisforeach(variable{6}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-6.storage)}:name(Add 6 mana) name(Add 6 mana) thisforeach(variable{6}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-7.storage)}:name(Add 7 mana) name(Add 7 mana) thisforeach(variable{7}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-7.storage)}:name(Add 7 mana) name(Add 7 mana) thisforeach(variable{7}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-8.storage)}:name(Add 8 mana) name(Add 8 mana) thisforeach(variable{8}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-8.storage)}:name(Add 8 mana) name(Add 8 mana) thisforeach(variable{8}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-9.storage)}:name(Add 9 mana) name(Add 9 mana) thisforeach(variable{9}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-9.storage)}:name(Add 9 mana) name(Add 9 mana) thisforeach(variable{9}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-10.storage)}:name(Add 10 mana) name(Add 10 mana) thisforeach(variable{10}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-10.storage)}:name(Add 10 mana) name(Add 11 mana) thisforeach(variable{10}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-11.storage)}:name(Add 11 mana) name(Add 11 mana) thisforeach(variable{11}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-11.storage)}:name(Add 11 mana) name(Add 11 mana) thisforeach(variable{11}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-12.storage)}:name(Add 12 mana) name(Add 12 mana) thisforeach(variable{12}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-12.storage)}:name(Add 12 mana) name(Add 12 mana) thisforeach(variable{12}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-13.storage)}:name(Add 13 mana) name(Add 13 mana) thisforeach(variable{13}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-13.storage)}:name(Add 13 mana) name(Add 13 mana) thisforeach(variable{13}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-14.storage)}:name(Add 14 mana) name(Add 14 mana) thisforeach(variable{14}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-14.storage)}:name(Add 14 mana) name(Add 14 mana) thisforeach(variable{14}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-15.storage)}:name(Add 15 mana) name(Add 15 mana) thisforeach(variable{15}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-15.storage)}:name(Add 15 mana) name(Add 15 mana) thisforeach(variable{15}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-16.storage)}:name(Add 16 mana) name(Add 16 mana) thisforeach(variable{16}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-16.storage)}:name(Add 16 mana) name(Add 16 mana) thisforeach(variable{16}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-17.storage)}:name(Add 17 mana) name(Add 17 mana) thisforeach(variable{17}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-17.storage)}:name(Add 17 mana) name(Add 17 mana) thisforeach(variable{17}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-18.storage)}:name(Add 18 mana) name(Add 18 mana) thisforeach(variable{18}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-18.storage)}:name(Add 18 mana) name(Add 18 mana) thisforeach(variable{18}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-19.storage)}:name(Add 19 mana) name(Add 19 mana) thisforeach(variable{19}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-19.storage)}:name(Add 19 mana) name(Add 19 mana) thisforeach(variable{19}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}{C(0/0.-20.storage)}:name(Add 20 mana) name(Add 20 mana) thisforeach(variable{20}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {T}{C(0/0.-20.storage)}:name(Add 20 mana) name(Add 20 mana) thisforeach(variable{20}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
text={T}: Add{C}. -- {1}, {T}: Put a storage counter on Crucible of the Spirit Dragon. -- {T}, Remove X storage counters from Crucible of the Spirit Dragon: Add X mana in any combination of colors. Spend this mana only to cast Dragon spells or activate abilities of Dragons.
type=Land
[/card]
[card]
name=Cruel Celebrant
auto=@movedTo(*[creature;planeswalker]|graveyard) from(myBattlefield):life:-1 opponent && life:1
text=Whenever Cruel Celebrant or another creature or planeswalker you control dies, each opponent loses 1 life and you gain 1 life.
mana={W}{B}
type=Creature
subtype=Vampire
power=1
toughness=2
[/card]
[card]
name=Cruel Cut
target=creature[power<2]|battlefield
auto=destroy
text=Destroy target creature with power 2 or less.
mana={1}{B}
type=Instant
[/card]
[card]
name=Cruel Feeding
abilities=hasnokicker,hasstrive
kicker=multi{2}{B} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[1/0],newability[lifelink])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[1/0],newability[lifelink])) ueot
text=Strive - Cruel Feeding costs {2}{B} more to cast for each target beyond the first. -- Any number of target creatures each get +1/+0 and gain lifelink until end of turn. (Damage dealt by a creature with lifelink also causes its controller to gain that much life.)
mana={B}
type=Instant
[/card]
[card]
name=Cruel Reality
target=player
auto=@each targetedplayer upkeep restriction{type(*[creature;planeswalker]|targetedpersonsbattlefield)~equalto~0}:life:-5 targetedplayer 
auto=@each targetedplayer upkeep restriction{type(*[creature;planeswalker]|targetedpersonsbattlefield)~morethan~0}:name(Sacrifice of lose life) ability$!name(Sacrifice of lose life) choice name(Sacrifice) notatarget(*[creature;planeswalker]|myBattlefield) sacrifice _ choice name(Lose life) life:-5 controller!$ targetedplayer
text=Enchant player -- At the beginning of enchanted player's upkeep, that player sacrifices a creature or planeswalker. If the player can't, he or she loses 5 life.
mana={5}{B}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Crush Contraband
restriction=type(*[artifact;enchantment]|battlefield)~morethan~0
auto=if type(artifact|battlefield)~morethan~0 then choice name(Exile artifact) name(Exile artifact) moveto(exile) target(artifact)
auto=if type(enchantment|battlefield)~morethan~0 then choice name(Exile enchantment) name(Exile enchantment) moveto(exile) target(enchantment)
auto=if type(artifact|battlefield)~morethan~0 then if type(enchantment|battlefield)~morethan~0 then choice name(Exile artifact amd enchantment) name(Exile artifact amd enchantment) name(Exile artifact amd enchantment) moveto(exile) target(artifact) && ability$!name(Exile enchantment) name(Exile enchantment) moveto(exile) target(enchantment)!$ controller
text=Choose one or both -- Exile target artifact. -- Exile target enchantment.
mana={3}{W}
type=Instant
[/card]
[card]
name=Crush Dissent
target=*|stack
auto=transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=_AMASS_(2)
text=Counter target spell unless its controller pays {2}. -- Amass 2. (Put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={3}{U}
type=Instant
[/card]
[card]
name=Crush the Weak
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={R} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=all(creature[-protection from red]) exiledeath ueot
auto=damage:2 all(creature)
text=Crush the Weak deals 2 damage to each creature. If a creature dealt damage this way would die this turn, exile it instead. -- Foretell {R} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Crushing Canopy
auto=choice name(flying) destroy target(creature[flying])
auto=choice name(enchantment) destroy target(enchantment)
text=Choose one -- Destroy target creature with flying. -- Destroy target enchantment.
mana={2}{G}
type=Instant
[/card]
[card]
name=Crushing Disappointment
auto=life:-2 opponent
auto=life:-2 controller
auto=draw:2 controller
text=Each player loses 2 life. You draw two cards.
mana={3}{B}
type=Instant
[/card]
[card]
name=Cry of Contrition
target=player
auto=ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ targetedplayer
auto=if type(creature|mybattlefield)~morethan~0 then name(Exile and haunt a creature) all(this|mystack) moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt and!( counter(0/0.1.ContritionHaunted) )!],newability[@movedto(creature[isprey&counter{0/0.1.ContritionHaunted}]|graveyard) from(battlefield) once:name(A player discards a card) target(player) ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ targetedplayer )!])) forever )!
text=Target player discards a card. -- Haunt (When this spell card is put into a graveyard after resolving, exile it haunting target creature.) -- When the creature Cry of Contrition haunts dies, target player discards a card.
mana={B}
type=Sorcery
[/card]
[card]
name=Cry of the Carnarium
auto=all(creature|battlefield) -2/-2 ueot
auto=all(creature[fresh]|graveyard) moveto(exile)
auto=all(creature) exiledeath ueot
text=All creatures get -2/-2 until end of turn. Exile all creature cards in all graveyards that were put there from the battlefield this turn. If a creature would die this turn, exile it instead.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Crypt Lurker
auto=choice name(Do Nothing) donothing
auto=choice name(Sacrifice a creature) target(creature|mybattlefield) sacrifice and!( draw:1 controller )!
auto=choice name(Discard a card) target(creature|myhand) reject and!( draw:1 controller )!
text=When Crypt Lurker enters the battlefield, you may sacrifice a creature or discard a creature card. If you do, draw a card.
mana={3}{B}
type=Creature
subtype=Horror
power=3
toughness=4
[/card]
[card]
name=Crypt of the Eternals
auto=life:1
auto={T}:Add{1}
auto={1}{T}:Add{U}
auto={1}{T}:Add{B}
auto={1}{T}:Add{R}
text=When Crypt of the Eternals enters the battlefield, you gain 1 life. -- {T}: Add {1} to your mana pool. -- {1}, {T}: Add {U}, {B}, or {R} to your mana pool.
type=Land
[/card]
[card]
name=Cryptic Annelid
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=When Cryptic Annelid enters the battlefield, scry 1, then scry 2, then scry 3. (To scry X, look at the top X cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={3}{U}
type=Creature
subtype=Worm Beast
power=1
toughness=4
[/card]
[card]
name=Cryptic Caves
auto={T}:add{C}
auto=aslongas(land|myBattlefield) {1}{T}{S}:draw:1 >4
text={T}: Add {1}. -- {1}, {T}, Sacrifice Cryptic Caves: Draw a card. Activate this ability only if you control five or more lands.
type=Land
[/card]
[card]
name=Cryptic Command
auto=if type(*|stack)~morethan~0 then if type(*|battlefield)~morethan~0 then choice name(Counter spell and return permanent) name(Counter spell and return permanent) name(Counter spell and return permanent) target(*|stack) transforms((,newability[fizzle])) forever && ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(ownerHand)!$ controller
auto=if type(*|stack)~morethan~0 then choice name(Counter spell and tap creatures) name(Counter spell and tap creatures) target(*|stack) transforms((,newability[fizzle])) forever && all(creature|opponentBattlefield) tap
auto=if type(*|stack)~morethan~0 then choice name(Counter spell and draw) name(Counter spell and draw) target(*|stack) transforms((,newability[fizzle])) forever && draw:1 controller
auto=if type(*|battlefield)~morethan~0 then choice name(Return permanent and tap creatures)  name(Return permanent and tap creatures) target(*|battlefield) moveto(ownerHand) && all(creature|opponentBattlefield) tap
auto=if type(*|battlefield)~morethan~0 then choice name(Return permanent and draw) name(Return permanent and draw) target(*|battlefield) moveto(ownerHand) && draw:1 controller
auto=choice name(Tap creatures and draw) draw:1 controller && all(creature|opponentBattlefield) tap
text=Choose two -- Counter target spell; or return target permanent to its owner's hand; or tap all creatures your opponents control; or draw a card.
mana={1}{U}{U}{U}
type=Instant
[/card]
[card]
name=Cryptic Serpent
anyzone=foreach(instant,sorcery|mygraveyard) altercost(colorless,-1)
text=Cryptic Serpent costs {1} less to cast for each instant and sorcery card in your graveyard.
mana={5}{U}{U}
type=Creature
subtype=Serpent
power=6
toughness=5
[/card]
[card]
name=Cryptic Trilobite
auto=counter(1/1,XX)
auto={C(1/1,-1)}:Add{C}{C}
auto={1}{T}:counter(1/1,1)
text=Cryptic Trilobite enters the battlefield with X +1/+1 counters on it. -- Remove a +1/+1 counter from Cryptic Trilobite: Add {C}{C}. Spend this mana only to activate abilities. -- {1}, {T}: Put a +1/+1 counter on Cryptic Trilobite.
mana={X}{X}
type=Creature
subtype=Trilobite
power=0
toughness=0
[/card]
[card]
name=Crystacean
text=Flash
mana={3}{U}
type=Creature
subtype=Crab
power=1
toughness=6
[/card]
[card]
name=Crystal Slipper
auto=teach(creature) haste
auto=teach(creature) 1/0
auto={1}:equip
text=Equipped creature gets +1/+0 and has haste. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Crystalline Giant
auto=this(counter{0/0.1.Flying}>=1) flying
auto=this(counter{0/0.1.FirstStrike}>=1) first strike
auto=this(counter{0/0.1.Deathtouch}>=1) deathtouch
auto=this(counter{0/0.1.Hexproof}>=1) opponentshroud
auto=this(counter{0/0.1.Lifelink}>=1) lifelink
auto=this(counter{0/0.1.Menace}>=1) menace
auto=this(counter{0/0.1.Reach}>=1) reach
auto=this(counter{0/0.1.Trample}>=1) trample
auto=this(counter{0/0.1.Vigilance}>=1) vigilance
auto=@each my combatbegins:ability$!choice counter(1/1,1) target(Crystalline Giant[-counter{1/1.1}]|myBattlefield) _ choice counter(0/0,1,Vigilance) target(Crystalline Giant[-counter{0/0.1.Vigilance}]|myBattlefield) _ choice counter(0/0,1,Trample) target(Crystalline Giant[-counter{0/0.1.Trample}]|myBattlefield) _ choice counter(0/0,1,Reach) target(Crystalline Giant[-counter{0/0.1.Reach}]|myBattlefield) _ choice counter(0/0,1,Menace) target(Crystalline Giant[-counter{0/0.1.Menace}]|myBattlefield) _ choice counter(0/0,1,Lifelink) target(Crystalline Giant[-counter{0/0.1.Lifelink}]|myBattlefield) _ choice counter(0/0,1,Hexproof) target(Crystalline Giant[-counter{0/0.1.Hexproof}]|myBattlefield) _ choice counter(0/0,1,Deathtouch) target(Crystalline Giant[-counter{0/0.1.Deathtouch}]|myBattlefield) _ choice counter(0/0,1,Flying) target(Crystalline Giant[-counter{0/0.1.Flying}]|myBattlefield) _ choice counter(0/0,1,First Strike) target(Crystalline Giant[-counter{0/0.1.First Strike}]|myBattlefield) !$ controller
text=At the beginning of combat on your turn, choose a kind of counter at random that Crystalline Giant doesn't have on it from among flying, first strike, deathtouch, hexproof, lifelink, menace, reach, trample, vigilance, and +1/+1. Put a counter of that kind on Crystalline Giant.
mana={3}
type=Artifact Creature
subtype=Giant
power=3
toughness=3
[/card]
[card]
name=Crystalline Resonance
auto=@cycled(*|myHand):copy target(other *|battlefield) uynt and!( @cycled(*|myHand):copy target(other *|battlefield) uynt )!
text=Whenever you cycle a card, you may have Crystalline Resonance become a copy of another target permanent until your next turn, except it has this ability.					
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Cubwarden
abilities=lifelink,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{W}{W} name(Mutate)
auto=transforms((,newability[@mutated(this):token(Cat Cub)*2]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{W}{W} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Lifelink -- Whenever this creature mutates, create two 1/1 white Cat creature tokens with lifelink.
mana={3}{W}
type=Creature
subtype=Cat
power=3
toughness=5
[/card]
[card]
name=Culling Ritual
auto=foreach(*[-land;manacost<=2]|battlefield) ability$!name(Choose one) choice name(Add green mana) add{G} _ choice name(Add black mana) add{B}!$ controller
auto=ability$!name(Destroy all) name(Destroy all) all(*[-land;manacost<=2]|battlefield) destroy!$ controller
text=Destroy each nonland permanent with mana value 2 or less. Add {B} or {G} for each permanent destroyed this way.
mana={2}{B}{G}
type=Sorcery
[/card]
[card]
name=Culmination of Studies
auto=all(land[zpos<=x]|mylibrary) moveto(exile) and!( transforms((,newability[token(Treasure Sur)])) oneshot )!
auto=all(*[blue;zpos<=x]|mylibrary) moveto(exile) and!( transforms((,newability[draw:1 controller])) oneshot )!
auto=all(*[red;zpos<=x]|mylibrary) moveto(exile) and!( transforms((,newability[damage:1 opponent])) oneshot )!
text=Exile the top X cards of your library. For each land card exiled this way, create a Treasure token. For each blue card exiled this way, draw a card. For each red card exiled this way, Culmination of Studies deals 1 damage to each opponent.
mana={X}{U}{R}
type=Sorcery
[/card]
[card]
name=Cult Guildmage
auto={3}{B}{T}:target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer assorcery
auto={R}{T}:damage:1 target(opponent)
text={3}{B}, {T}: Target player discards a card. Activate this ability only any time you could cast a sorcery. -- {R}, {T}: Cult Guildmage deals 1 damage to target opponent or planeswalker.
mana={B}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Cult of the Waxing Moon
auto=@transformed(creature[-human]|myBattlefield):name(Create wolf) token(Wolf,Creature Wolf,2/2,green)
text=Whenever a permanent you control transforms into a non-Human creature, put a 2/2 green Wolf creature token onto the battlefield.
mana={4}{G}
type=Creature
subtype=Human Shaman
power=5
toughness=4
[/card]
[card]
name=Cultivator Drone
abilities=devoid
auto={T}:add{C}
text=Devoid (This card has no color.) -- {T}: Add {C} to your mana pool. Spend this mana only to cast a colorless spell, activate an ability of a colorless permanent, or pay a cost that contains {C}. ({C} represents colorless mana.)
mana={2}{U}
type=Creature
subtype=Eldrazi Drone
power=2
toughness=3
[/card]
[card]
name=Cunning Evasion
auto=@combat(blocked) source(creature|mybattlefield):all(trigger[to]) moveTo(ownerHand)
text=Whenever a creature you control becomes blocked, you may return it to its owner's hand.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Cunning Geysermage
kicker={2}{U}
auto=if paid(kicker) then may moveTo(ownerHand) target(other creature)
text=Kicker {2}{U} (You may pay an additional {2}{U} as you cast this spell.) -- When Cunning Geysermage enters the battlefield, if it was kicked, return up to one other target creature to its owner's hand.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Cunning Nightbonder
abilities=flash
auto=lord(*[flash]|mycastingzone) altercost(colorless, -1)
auto=lord(*[flash]|mycastingzone) nofizzle
text=Flash -- Spells with flash you cast cost 1 less to cast and can't be countered.
mana={UB}{UB}
type=Creature
subtype=Human Rogue
power=2
toughness=2
[/card]
[card]
name=Cunning Rhetoric
auto=@each blockers restriction{type(creature[attacking]|opponentbattlefield)~morethan~0}:name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(exile) and!( counter(0/0.1.CunningExiled) )!
auto={0}:name(You can cast exiled card) target(*[counter{0/0.1.CunningExiled}]|exile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.CunningExiled)],newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.CunningExiled)])) ueot )!
text=Whenever an opponent attacks you and/or one or more planeswalkers you control, exile the top card of that player's library. You may play that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast it.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Cunning Survivor
auto=@discarded(*|myhand):1/0 ueot
auto=@discarded(*|myhand):unblockable ueot
text=Whenever you cycle or discard a card, Cunning Survivor gets +1/+0 until end of turn and can't be blocked this turn.
mana={1}{U}
type=Creature
subtype=Human Warrior
power=1
toughness=3
[/card]
[card]
name=Curate
aicode=activate transforms((,newability[draw:1 controller],newability[deplete:1 controller])) ueot
auto=name(look) reveal:2 optionone name(Discard cards) target(<anyamount>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put on top) target(<2>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend
text=Look at the top two cards of your library. Put any number of them into your graveyard and the rest back on top of your library in any order. -- Draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Curator of Mysteries
abilities=flying,cycling
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedto(*|mygraveyard) from(myhand):scry:1 scrycore delayed dontshow donothing scrycoreend scryend
autohand=__CYCLING__({U})
text=Flying -- Whenever you cycle or discard another card, scry 1. -- Cycling {U} ({U}, Discard this card: Draw a card.)
mana={2}{U}{U}
type=Creature
subtype=Sphinx
power=4
toughness=4
[/card]
[card]
name=Curator's Ward
target=artifact,creature,enchantment,land,planeswalker
auto=teach(mytgt) opponentshroud
auto=teach(*[artifact;legendary;saga]) @movedTo(this|nonbattlezone) from(battlefield):draw:2
text=Enchant permanent -- Enchanted permanent has hexproof. -- When enchanted permanent leaves the battlefield, if it was historic, draw two cards. (Artifacts, legendaries, and Sagas are historic.)
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Curiosity Crafter
abilities=flying,nomaxhand
auto=@combatdamaged(player) from(creature[token]|myBattlefield):draw:1 controller
text=Flying -- You have no maximum hand size. -- Whenever a creature token you control deals combat damage to a player, draw a card.
mana={3}{U}
type=Creature
subtype=Bird Wizard
power=3
toughness=3
[/card]
[card]
name=Curious Herd
auto=name(choose opponent) notatarget(opponent) deplete:0 && token(Beast Cur)*foreach(artifact|opponentBattlefield)
text=Choose target opponent. You create X 3/3 green Beast creature tokens, where X is the number of artifacts that player controls.
mana={3}{G}
type=Instant
[/card]
[card]
name=Curious Homunculus
auto=this(variable{type:*[instant;sorcery]:myrestrictedcastingzone}>0) {T}:add{C}
auto=@each my upkeep:aslongas(*[instant;sorcery]|mygraveyard) flip(Voracious Reader) >2
text={T}: Add {C} to your mana pool. Spend this mana only to cast an instant or sorcery spell. -- At the beginning of your upkeep, if there are three or more instant and/or sorcery cards in your graveyard, transform Curious Homunculus.
mana={1}{U}
type=Creature
subtype=Homunculus
power=1
toughness=1
[/card]
[card]
name=Curious Killbot
mana={2}
type=Artifact Creature
subtype=Killbot
power=2
toughness=1
[/card]
[card]
name=Curious Obsession
target=creature
auto=teach(creature) 1/1
auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):may draw:1])) forever
auto=all(creature|mybattlefield) transforms((,newability[@each my endofturn restriction{didntattack}:sacrifice target(Curious Obsession|mybattlefield)])) forever
text=Enchant creature -- Enchanted creature gets +1/+1 and has "Whenever this creature deals combat damage to a player, you may draw a card." -- At the beginning of your end step, if you didn't attack with a creature this turn, sacrifice Curious Obsession.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Curious Pair // Treats to Share
abilities=adventure
other={G} name(Adventure)
auto=if paid(alternative) then name(Create Food) name(Create Food) token(Food)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Create a Food token. (Then exile this card. You may cast the creature later from exile. A Food token is an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={1}{G}
type=Creature
subtype=Human Peasant
power=1
toughness=3
[/card]
[card]
name=Curse of Bloodletting
target=opponent
auto=@damaged(targetedplayer) from(*[instant;sorcery]|*):damage:thatmuch opponent
auto=@damaged(targetedplayer) from(*[creature;artifact;land;planeswalker]|*):damage:thatmuch opponent
auto=@damaged(targetedplayer) from(enchantment[-Curse of Bloodletting]|*):damage:thatmuch opponent
text=Enchant player -- If a source would deal damage to enchanted player, it deals double that damage to that player instead.
mana={3}{R}{R}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Bounty
target=opponent
auto=@combat(attacking) source(creature|mybattlefield) turnlimited:name(Untap all non-land permanents) untap all(*[-land]|myBattlefield)
text=Enchant player -- Whenever enchanted player is attacked, untap all nonland permanents you control. Each opponent attacking that player untaps all nonland permanents they control.
mana={1}{G}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Chaos
target=opponent
auto=@combat(attacking) source(creature|mybattlefield) turnlimited:may name(Discard and draw) target(*|myhand) reject and!( draw:1 )!
text=Enchant player -- Whenever a player attacks enchanted player with one or more creatures, that attacking player may discard a card. If the player does, he or she draws a card.
mana={2}{R}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Clinging Webs
target=player
auto=@movedto(creature[-token]|graveyard) from(targetedpersonsbattlefield):name(Exile and create spider) all(trigger[to]) name(Exile and create spider) moveto(ownerexile) and!( token(Spider,Creature Spider,1/2,green,reach) )!
text=Enchant player -- Whenever a nontoken creature enchanted player controls dies, exile it and you create a 1/2 green Spider creature token with reach.
mana={2}{G}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Conformity
target=player
auto=lord(creature[-legendary]|targetedpersonsbattlefield) transforms((removecreaturesubtypes,setpower=3,settoughness=3))
text=Enchant player -- Nonlegendary creatures enchanted player controls have base power and toughness 3/3 and lose all creature types.
mana={4}{W}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Disturbance
target=opponent
auto=@combat(attacking) source(creature|mybattlefield) turnlimited:name(Create Zombie) token(Zombie Lil)
text=Enchant player -- Whenever enchanted player is attacked, create a 2/2 black Zombie creature token. Each opponent attacking that player does the same.
mana={2}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Echoes
target=opponent
auto=@movedto(*[instant;sorcery]|targetedpersonsstack):may name(Copy casted spell) all(trigger[to]) activate castcard(copied)
text=Enchant player -- Whenever enchanted player casts an instant or sorcery spell, each other player may copy that spell and may choose new targets for the copy he or she controls.
mana={4}{U}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Fool's Wisdom
abilities=madness
target=opponent
auto=@drawn(targetedplayer):name(Lose life) life:-2 opponent && life:2 controller
autoexile=restriction{discarded} pay({3}{B}) name(pay 3B to cast) activate name(pay 3B to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
text=Enchant player -- Whenever enchanted player draws a card, they lose 2 life and you gain 2 life. -- Madness {3}{B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={4}{B}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Inertia
target=opponent
auto=@combat(attacking) source(creature|mybattlefield) turnlimited:may name(Tap or untap permanent) transforms((,newability[choice name(Tap a permanent) target(*|battlefield) tap],newability[choice name(Untap a permanent) target(*|battlefield) untap])) oneshot
text=Enchant player -- Whenever a player attacks enchanted player with one or more creatures, that attacking player may tap or untap target permanent of his or her choice.
mana={2}{U}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Leeches
target=player
abilities=daybound
backside=Leeching Lurker
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@each targetedplayer upkeep:life:-1 targetedplayer && life:1 controller
text=Enchant player -- As this permanent transforms into Curse of Leeches, attach it to a player. -- At the beginning of enchanted player's upkeep, that player loses 1 life and you gain 1 life. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Leeching Lurker
mana={2}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Misfortunes
target=opponent
auto=@each my upkeep:may name(Search curse) target(curse[-Curse of Misfortunes]|mylibrary) transforms((,newability[if type(curse[share!name!]|myBattlefield)~equalto~0 then moveto(myBattlefield) and!( shuffle )!])) oneshot
text=Enchant player -- At the beginning of your upkeep, you may search your library for a Curse card that doesn't have the same name as a Curse attached to enchanted player, put it onto the battlefield attached to that player, then shuffle your library.
mana={4}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Obsession
target=player
auto=@each targetedplayer draw:ability$!name(Draw 2 cards more) name(Draw 2 cards more) draw:2!$ targetedplayer
auto=@each targetedplayer endofturn:ability$!name(Discard hand) name(Discard hand) all(*|myhand) reject!$ targetedplayer
text=Enchant player -- At the beginning of enchanted player's draw step, that player draws two additional cards. -- At the beginning of enchanted player's end step, that player discards their hand.
mana={4}{R}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Opulence
target=opponent
auto=@combat(attacking) source(creature|myBattlefield) turnlimited:name(Create Gold) token(435451)
text=Enchant player -- Whenever enchanted player is attacked, create a colorless artifact token named Gold. It has "Sacrifice this artifact: Add one mana of any color.". Each opponent attacking that player does the same.
mana={R}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Predation
target=opponent
auto=@combat(attacking) source(creature|myBattlefield):name(Put 1/1 counter) all(trigger[to]) counter(1/1)
text=Enchant player -- Whenever a creature attacks enchanted player, put a +1/+1 counter on it.
mana={2}{G}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Shaken Faith
target=player
auto=@movedto(*|targetedpersonsstack) restriction{thisturn(*|targetedpersonsstack)~morethan~0}:damage:2 targetedplayer
text=Enchant player -- Whenever enchanted player casts a spell other than the first spell they cast each turn or copies a spell, Curse of Shaken Faith deals 2 damage to them.
mana={1}{R}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Shallow Graves
target=opponent
auto=@combat(attacking) source(creature|mybattlefield) turnlimited:may name(Create Zombie) token(Zombie Lil) and!( tap(noevent) )!
text=Enchant player -- Whenever a player attacks enchanted player with one or more creatures, that attacking player may put a 2/2 black Zombie creature token onto the battlefield tapped.
mana={2}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Silence
target=opponent
auto=chooseanameopp transforms((,newability[lord(*[chosenname]|opponentcastingzone) changecost(colorless:+2)],newability[@movedTo(*[chosenname]|opponentstack):may name(Sacrifice and draw) sacrifice and!( draw:1 controller )!])) forever chooseend nonland
text=Enchant player -- As Curse of Silence enters the battlefield, choose a card name. -- Spells with the chosen name enchanted player casts cost {2} more to cast. -- Whenever enchanted player casts a spell with the chosen name, you may sacrifice Curse of Silence. If you do, draw a card.
mana={W}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Surveillance
target=opponent
auto=@each opponent upkeep:draw:type:enchantment[curse]:mybattlefield controller
text=Enchant player -- At the beginning of enchanted player's upkeep, any number of target players other than that player each draw cards equal to the number of Curses attached to that player.
mana={4}{U}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Unbinding
target=player
aicode=activate transforms((,newability[all(creature[zpos<=oppofindfirsttypecreature]|targetedpersonslibrary) moveto(mybattlefield) and!( all(*[zpos<=oppofindfirsttypecreature]|targetedpersonslibrary) moveto(ownergraveyard) )!])) oneshot
auto=@each targetedplayer upkeep:name(Look top card) reveal:1 revealzone(targetedpersonslibrary) revealuntil(creature|targetedpersonslibrary) optionone choice name(Choose creature) target(creature|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot)! optiononeend optiontwo choice name(put in graveyard) all(*|reveal) moveto(ownergraveyard) optiontwoend afterrevealed all(tobecast|mylibrary) moveTo(mybattlefield) afterrevealedend revealend
text=Enchant player -- At the beginning of enchanted player's upkeep, that player reveals cards from the top of their library until they reveal a creature card. Put that card onto the battlefield under your control. That player puts the rest of the revealed cards into their graveyard.
mana={6}{U}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Vengeance
target=opponent
auto=@movedto(*[instant;sorcery]|targetedpersonsstack):name(Put spite counter) counter(0/0,1,Spite)
text=Enchant player -- Whenever enchanted player casts a spell, put a spite counter on Curse of Vengeance. -- When enchanted player loses the game, you gain X life and draw X cards, where X is the number of spite counters on Curse of Vengeance.
mana={B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Verbosity
target=opponent
auto=@combat(attacking) source(creature|myBattlefield) turnlimited:name(Draw a card) draw:1 controller
text=Enchant player -- Whenever enchanted player is attacked, you draw a card. Each opponent attacking that player does the same.
mana={2}{U}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of Vitality
target=opponent
auto=@combat(attacking) source(creature|myBattlefield) turnlimited:name(Gain 2 life) life:2 controller
text=Enchant player -- Whenever enchanted player is attacked, you gain 2 life. Each opponent attacking that player does the same.
mana={2}{W}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of the Cabal
auto=target(player) ability$!name(sacrifice half permanents) notatarget(<halfuptype:*:myBattlefield>*|myBattlefield) sacrifice!$ targetedplayer
suspend(2)={2}{B}{B}
autoexile=@each my upkeep suspended restriction{compare(hascnttime)~morethan~0}:ability$!name(Sacrifice a permanent) may name(Sacrifice a permanent) target(*|mybattlefield) transforms((,newability[sacrifice],newability[target(Curse of the Cabal[counter{0/0.1.Time}]|myexile) counter(0/0.2.Time)])) oneshot!$ controller
autoexile=@each opponent upkeep suspended:ability$!name(Sacrifice a permanent) may name(Sacrifice a permanent) target(*|mybattlefield) transforms((,newability[sacrifice],newability[target(Curse of the Cabal[counter{0/0.1.Time}]|opponentexile) counter(0/0.2.Time)])) oneshot!$ opponent
text=Target player sacrifices half the permanents he or she controls, rounded down. -- Suspend 2-{2}{B}{B} (Rather than cast this card from your hand, you may pay {2}{B}{B} and exile it with two time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- At the beginning of each player's upkeep, if Curse of the Cabal is suspended, that player may sacrifice a permanent. If he or she does, put two time counters on Curse of the Cabal.
mana={9}{B}
type=Sorcery
[/card]
[card]
name=Curse of the Fire Penguin
abilities=inplaydeath
text=Trample -- When this creature is put into a graveyard from play, return Curse of the Fire Penguin from your graveyard to play.
mana={4}{R}{R}
type=Creature Penguin
power=6
toughness=5
[/card]
[card]
name=Curse of the Forsaken
target=opponent
auto=@combat(attacking) source(creature|mybattlefield):name(Gain 1 life) life:1 controller
text=Enchant player -- Whenever a creature attacks enchanted player, its controller gains 1 life.
mana={2}{W}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Curse of the Restless Dead
target=player
auto=@movedto(land|targetedpersonsbattlefield):name(Create zombie) token(Zombie Dec)
text=Enchant player -- Whenever a land enters the battlefield under enchanted player's control, you create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
mana={2}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Cursed Minotaur
abilities=menace
text=Menace (This creature can't be blocked except by two or more creatures.)
mana={2}{B}
type=Creature
subtype=Zombie Minotaur
power=3
toughness=2
[/card]
[card]
name=Cursed Mirror
auto={T}:add{R}
auto=if compare(currentphase)~lessthan~11 then name(Copy target creature) may name(Copy target creature) target(creature|mybattlefield) copy and!( all(this) transforms((,newability[haste],newability[phaseaction[endofturn once] flip(Cursed Mirror) undocpy])) forever )!
text={T}: Add {R}. -- As Cursed Mirror enters the battlefield, you may have it become a copy of any creature on the battlefield until end of turn, except it has haste.
mana={2}{R}
type=Artifact
[/card]
[card]
name=Cursed Rack
auto=hmodifer:-3 opponent
text=As Cursed Rack enters the battlefield, choose an opponent. -- The chosen player's maximum hand size is four.
mana={4}
type=Artifact
[/card]
[card]
name=Cursed Scroll
auto={3}{T}:name(Choose a card name) ability$!name(Name a card from your hand) name(Name a card from your hand) target(*|myhand) transforms((,newability[if compare(cursedscrollresult)~equalto~1 then name(Deals 2 damage) name(Deals 2 damage) damage:2 target(player^creature^planeswalker) else ability$!choice name(Revealed card was different) name(Revealed card was different) all(mysource) donothing!$ controller])) oneshot!$ controller
text={3}, {T}: Choose a card name, then reveal a card at random from your hand. If that card has the chosen name, Cursed Scroll deals 2 damage to any target.
mana={1}
type=Artifact
[/card]
[card]
name=Custodi Lich
auto=_MONARCH_CONTROLLER_
auto=@becomesmonarchof(player):target(player) ability$!name(sacrifice) target(creature|mybattlefield) sacrifice!$ targetedplayer
text=When Custodi Lich enters the battlefield, you become the monarch. -- Whenever you become the monarch, target player sacrifices a creature.
mana={3}{B}{B}
type=Creature
subtype=Zombie Cleric
power=4
toughness=2
[/card]
[card]
name=Custodi Soulcaller
auto=_ATTACKING_1/1 ueot
auto=_ATTACKING_moveto(mybattlefield) target(creature[manacost<=1]|mygraveyard)
text=Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.) -- Whenever Custodi Soulcaller attacks, return target creature card with converted mana cost X or less from your graveyard to the battlefield, where X is the number of players you attacked with a creature this combat.
mana={1}{W}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=2
[/card]
[card]
name=Cut // Ribbons
target=creature
auto=damage:4
autograveyard={X}{B}{B}{E}:life:-X opponent asSorcery
text=Cut deals 4 damage to target creature. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Each opponent loses X life.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Cycle of Life
auto={H}:name(Creature becomes 0/1) target(creature[fresh]|mybattlefield) transforms((,newability[becomes(Creature^0/1) uynt],newability[phaseaction[my upkeep once sourceinplay] counter(1/1)])) forever
text=Return Cycle of Life to its owner's hand: Target creature you cast this turn becomes 0/1 until your next upkeep. At the beginning of your next upkeep, put a +1/+1 counter on that creature.
mana={1}{G}{G}
type=Enchantment
[/card]
[card]
name=Cyclical Evolution
abilities=exiledeath
other={2}{G} name(Suspend 3)
auto=ifnot paid(alternative) then choice name(Creature gets 3/3) name(Creature gets 3/3) target(creature) 3/3 ueot
auto=moveto(myexile) and!( counter(0/0,3,Time) )!
autoexile=@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0,-1,Time)
autoexile=@each my upkeep restriction{compare(hascnttime)~equalto~1}:activate castcard(normal)
text=Target creature gets +3/+3 until end of turn. Exile Cyclical Evolution with three time counters on it. -- Suspend 3-{2}{G} (Rather than cast this card from your hand, you may pay {2}{G} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Cyclone
auto=@each my upkeep restriction{compare(hascntwind)~equalto~0}:name(Pay or sacrifice) transforms((,newability[pay({G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~1}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~2}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~3}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~4}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~5}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~6}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~7}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~8}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~9}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~10}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~11}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~12}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~13}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~14}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~15}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~16}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~17}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~18}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep restriction{compare(hascntwind)~equalto~19}:name(Pay or sacrifice) transforms((,newability[pay({G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay or sacrifice) name(Pay or sacrifice) damage:hascntwind all(player) && damage:hascntwind all(creature)?name(sacrifice) sacrifice])) oneshot
auto=@each my upkeep:name(Put wind counter) counter(0/0,1,Wind)
text=At the beginning of your upkeep, put a wind counter on Cyclone, then sacrifice Cyclone unless you pay {G} for each wind counter on it. If you pay, Cyclone deals damage equal to the number of wind counters on it to each creature and each player.
mana={2}{G}{G}
type=Enchantment
[/card]
[card]
name=Cyclone Summoner
auto=if casted(this) then all(*[-giant;-wizard;-land]|battlefield) moveto(ownerhand)
text=When Cyclone Summoner enters the battlefield, if you cast it from your hand, return all permanents to their owners' hands except for Giants, Wizards, and lands.
mana={5}{U}{U}
type=Creature
subtype=Giant Wizard
power=7
toughness=7
[/card]
[card]
name=Cyclopean Giant
auto=_DIES_all(trigger[to]) moveto(exile) and!( transforms((swamp)) target(land) )!
text=When Cyclopean Giant dies, target land becomes a Swamp. Exile Cyclopean Giant.
mana={2}{B}{B}
type=Creature
subtype=Zombie Giant
power=4
toughness=2
[/card]
[card]
name=Cyclops Electromancer
auto=damage:type:*[instant;sorcery]:mygraveyard target(creature|opponentBattlefield)
text=When Cyclops Electromancer enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of instant and sorcery cards in your graveyard.
mana={4}{R}
type=Creature
subtype=Cyclops Wizard
power=4
toughness=2
[/card]
[card]
name=Cytoplast Manipulator
auto=counter(1/1,2)
auto=@movedto(other creature|battlefield) restriction{compare(hascnt11)~morethan~0,compare(ishuman)~equalto~1}:may name(move 1/1 counter) all(trigger) counter(1/1.1) && counter(1/1.-1) all(this)
auto=@movedto(other creature|mybattlefield) restriction{compare(hascnt11)~morethan~1,compare(ishuman)~equalto~0,compare(genrand2)~equalto~0}:may name(move 1/1 counter) all(trigger) counter(1/1.1) && counter(1/1.-1) all(this)
auto=@movedto(other creature|mybattlefield) restriction{compare(hascnt11)~equalto~1,compare(ishuman)~equalto~0,compare(genrand4)~equalto~0}:may name(move 1/1 counter) all(trigger) counter(1/1.1) && counter(1/1.-1) all(this)
auto=@movedto(other creature|opponentbattlefield) restriction{compare(hascnt11)~morethan~1,compare(ishuman)~equalto~0,compare(genrand20)~equalto~0}:may name(move 1/1 counter) all(trigger) counter(1/1.1) && counter(1/1.-1) all(this)
auto={U}{T}:name(Gain control of creature) target(creature[counter{1/1.1}]) steal
text=Graft 2 (This creature enters the battlefield with two +1/+1 counters on it. Whenever another creature enters the battlefield, you may move a +1/+1 counter from this creature onto it.) -- {U}, {T}: Gain control of target creature with a +1/+1 counter on it for as long as Cytoplast Manipulator remains on the battlefield.
mana={2}{U}{U}
type=Creature
subtype=Human Wizard Mutant
power=0
toughness=0
[/card]
[card]
name=D'Avenant Trapper
auto=@movedTo(*[artifact;legendary;saga]|mystack):tap target(creature|opponentBattlefield)
text=Whenever you cast a historic spell, tap target creature an opponent controls. (Artifacts, legendaries, and Sagas are historic.)
mana={2}{W}
type=Creature
subtype=Human Archer
power=3
toughness=2
[/card]
[card]
name=Daemogoth Titan
auto=_ATTACKING_name(Sacrifice a creature) target(creature|mybattlefield) sacrifice
auto=@combat(blocking) source(this):name(Sacrifice a creature) target(creature|mybattlefield) sacrifice
text=Whenever Daemogoth Titan attacks or blocks, sacrifice a creature.
mana={BG}{BG}{BG}{BG}
type=Creature
subtype=Demon
power=11
toughness=10
[/card]
[card]
name=Daemogoth Woe-Eater
auto=@each my upkeep:ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature|mybattlefield) sacrifice!$ controller
auto=@sacrificed(this):life:2 controller && draw:1 controller && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
text=At the beginning of your upkeep, sacrifice a creature. -- When you sacrifice Daemogoth Woe-Eater, each opponent discards a card, you draw a card, and you gain 2 life.
mana={1}{B}{BG}{G}
type=Creature
subtype=Demon
power=7
toughness=6
[/card]
[card]
name=Dagger Caster
auto=damage:1 opponent
auto=damage:1 all(creature|opponentBattlefield)
text=When Dagger Caster enters the battlefield, it deals 1 damage to each opponent and 1 damage to each creature your opponents control.
mana={3}{R}
type=Creature
subtype=Viashino Rogue
power=2
toughness=3
[/card]
[card]
name=Dagger of the Worthy
auto=teach(creature) 2/0
auto=teach(creature) transforms((,newability[_BLOCKED_life:-1 opponent])) forever
auto={2}:equip
text=Equipped creature gets +2/+0 and has afflict 1. (Whenever it becomes blocked, defending player loses 1 life.) -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Daggersail Aeronaut
auto=this(variable{controllerturn}>0) flying
text=As long as it's your turn, Daggersail Aeronaut has flying.
mana={3}{R}
type=Creature
subtype=Goblin
power=3
toughness=2
[/card]
[card]
name=Daghatar the Adamant
abilities=vigilance
auto=counter(1/1,4)
auto={1}{BG}{BG}:name(Move 1/1 counter) target(creature[counter{1/1}]|battlefield) transforms((,newability[name(Put 1/1 counter) target(other creature|battlefield) counter(1/1)],newability[counter(1/1.-1)])) oneshot
text=Vigilance -- Daghatar the Adamant enters the battlefield with four +1/+1 counters on it. -- {1}{BG}{BG}: Move a +1/+1 counter from target creature onto a second target creature.
mana={3}{W}
type=Legendary Creature
subtype=Human Warrior
power=0
toughness=0
[/card]
[card]
name=Dalakos, Crafter of Wonders
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{C}{C}
auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{C}{C}
auto=lord(creature[geared]|mybattlefield) flying
auto=lord(creature[geared]|mybattlefield) haste
text={T}: Add {C}{C}. Spend this mana only to cast artifact spells or activate abilities of artifacts. -- Equipped creatures you control have flying and haste.
mana={1}{U}{R}
type=Legendary Creature
subtype=Merfolk Artificer
power=2
toughness=4
[/card]
[card]
name=Damn
target=creature
abilities=overload
other={2}{W}{W} name(Overload)
auto=overload destroy all(creature)
auto=paidmana destroy
text=Destroy target creature. A creature destroyed this way can't be regenerated. -- Overload {2}{W}{W} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={B}{B}
type=Sorcery
[/card]
[card]
name=Damping Field
auto=lord(artifact|battlefield) doesnotuntap
auto=@each my untap restriction{type(artifact[tapped]|mybattlefield)~morethan~0}:name(Untap one artifact) target(artifact[tapped]|mybattlefield) untap
auto=@each opponent untap restriction{type(artifact[tapped]|opponentbattlefield)~morethan~0}:ability$!name(Untap one artifact) name(Untap one artifact) target(artifact[tapped]|mybattlefield) untap!$ opponent
text=Players can't untap more than one artifact during their untap steps.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Dance of Many
auto=upcost[{U}{U}] sacrifice
auto=target(creature[-token]|battlefield) clone and!( transforms((,newability[counter(0/0.1.DanceEffect)],newability[@movedto(this|nonbattlezone) from(battlefield):name(Sacrifice dance of many) target(Dance of Many|mybattlefield) sacrifice] )!
auto=@movedto(this|nonbattlezone) from(battlefield):name(Sacrifice token copy) target(creature[counter{0/0.1.DanceEffect}]|mybattlefield) sacrifice
text=When Dance of Many enters the battlefield, put a token that's a copy of target nontoken creature onto the battlefield. -- When Dance of Many leaves the battlefield, exile the token. -- When the token leaves the battlefield, sacrifice Dance of Many. -- At the beginning of your upkeep, sacrifice Dance of Many unless you pay {U}{U}.
mana={U}{U}
type=Enchantment
[/card]
[card]
name=Dance of the Manse
target=<prex>artifact,enchantment[-aura]|mygraveyard
auto=moveto(myBattlefield)
auto=this(X>5) becomes(creature,4/4) forever
text=Return up to X target artifact and/or non-Aura enchantment cards each with converted mana cost X or less from your graveyard to the battlefield. If X is 6 or more, those permanents are 4/4 creatures in addition to their other types.
mana={X}{W}{U}
type=Sorcery
[/card]
[card]
name=Dancing Sword
auto={1}:equip
auto=teach(creature) 2/1
auto=@movedto(graveyard) from(mytgt|battlefield):may name(Becomes construct) all(this) flip(Dancing Sword Construct)
text=Equipped creature gets +2/+1. -- When equipped creature dies, you may have Dancing Sword become a 2/1 Construct artifact creature with flying and ward {1}. If you do, it isn't an Equipment. -- Equip {1}
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Dancing Sword Construct
abilities=flying
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Flying -- Ward {1}
mana={1}{W}
type=Artifact Creature
subtype=Construct
power=2
toughness=1
[/card]
[card]
name=Danitha Capashen, Paragon
abilities=first strike, vigilance, lifelink
auto=lord(aura|mycastingzone) altercost(colorless,-1)
auto=lord(equipment|mycastingzone) altercost(colorless,-1)
text=First strike, vigilance, lifelink -- Aura and Equipment spells you cast cost {1} less to cast.
mana={2}{W}
type=Legendary Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Danse Macabre
auto=name(Sacrifice a creature) target(creature[-token]|mybattlefield) sacrifice and!( transforms((,newability[phaseaction[endofturn once] removeallcounters(0/0.1.DanseEffect)],newability[counter(0/0.1.DanseEffect)],newability[@dierolled(this|mygraveyard) from(controller) once:if compare(lastrollresultplustoughnessplusend)~lessthan~15 then target(creature[counter{0/0.1.DanseEffect}]|graveyard) moveto(mybattlefield) else target(<upto:2>creature[counter{0/0.1.DanseEffect}]|graveyard) moveto(mybattlefield)],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) ueot )!
auto=ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature[-token]|mybattlefield) sacrifice and!( transforms((,newability[phaseaction[endofturn once] removeallcounters(0/0.1.DanseEffect)],newability[counter(0/0.1.DanseEffect)])) ueot )! !$ opponent
text=Each player sacrifices a nontoken creature. Roll a d20 and add the toughness of the creature you sacrificed this way. -- 1-14 | Return a creature card put into a graveyard this way to the battlefield under your control. -- 15+ | Return up to two creature cards put into a graveyard this way to the battlefield under your control
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Dargo, the Shipwrecker
abilities=trample,partner
other={2}{R}{S(*[artifact;creature]|mybattlefield)}{S(*[artifact;creature]|mybattlefield)} name(Sacrifice 2 permanents)
text=As an additional cost to cast this spell, you may sacrifice any number of artifacts and/or creatures. This spell costs {2} less to cast for each permanent sacrificed this way and {2} less to cast for each other artifact or creature you've sacrificed this turn. -- Trample -- Partner (You can have two commanders if both have partner.)
mana={6}{R}
type=Legendary Creature
subtype=Giant Pirate
power=7
toughness=5
[/card]
[card]
name=Darigaaz Reincarnated
abilities=flying, trample, haste
autograveyard=_DIES_moveTo(exile) && counter(0/0,3,egg)
autoexile=@each my upkeep:counter(0/0,-1,egg)
autoexile=@each my upkeep:this(counter{0/0,1,egg}<1)while moveTo(battlefield)
text=Flying, trample, haste -- If Darigaaz Reincarnated would die, instead exile it with three egg counters on it. -- At the beginning of your upkeep, if Darigaaz is exiled with an egg counter on it, remove an egg counter from it. Then if Darigaaz has no egg counters on it, return it to the battlefield.
mana={4}{B}{R}{G}
type=Legendary Creature
subtype=Dragon
power=7
toughness=7
[/card]
[card]
name=Daring Archaeologist
auto=may target(artifact|mygraveyard) moveto(ownerhand)
auto=@movedTo(*[artifact;legendary;saga]|mystack):counter(1/1)
text=When Daring Archaeologist enters the battlefield, you may return target artifact card from your graveyard to your hand. -- Whenever you cast a historic spell, put a +1/+1 counter on Daring Archaeologist. (Artifacts, legendaries, and Sagas are historic.)
mana={3}{W}
type=Creature
subtype=Human Artificer
power=3
toughness=3
[/card]
[card]
name=Daring Buccaneer
other={R} name(Reveal pirate)
otherrestriction=type(pirate|myhand)~morethan~0
text=As an additional cost to cast this spell, reveal a Pirate card from your hand or pay 2 .
mana={2}{R}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Daring Fiendbonder
abilities=haste,mustattack
autograveyard={1}{B}{E}:target(creature) transform((,newability[counter(0/0.1.Indestructible)],newability[this(counter{0/0.1.Indestructible}>=1) indestructible]))
text=Haste -- Daring Fiendbonder attacks each combat if able. -- {1}{B}, Exile Daring Fiendbonder from your graveyard: Put an indestructible counter on target creature. Activate this ability only any time you could cast a sorcery.
mana={3}{B}
type=Creature
subtype=Human Warlock
power=5
toughness=1
[/card]
[card]
name=Daring Saboteur
auto={2}{U}:unblockable
auto=@combatdamaged(player) from(this):may draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text={2}{U}: Daring Saboteur can't be blocked this turn. -- Whenever Daring Saboteur deals combat damage to a player, you may draw a card. If you do, discard a card.
mana={1}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=1
[/card]
[card]
name=Daring Sleuth
backside=Bearer of Overwhelming Truths
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@sacrificed(Clue|mybattlefield):flip(backside)
text=When you sacrifice a Clue, transform Daring Sleuth. // Bearer of Overwhelming Truths
mana={1}{U}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Dark Bargain
auto=damage:2
auto=Look at the top three cards of your library Put two of them into your hand
auto=the other into your graveyard Dark Bargain deals 2 damage to you
text=Look at the top three cards of your library. Put two of them into your hand and the other into your graveyard. Dark Bargain deals 2 damage to you.
mana={3}{B}
type=Instant
[/card]
[card]
name=Dark Inquiry
target=opponent
auto=reject notatarget(*[-land]|targetedpersonshand)
text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Dark Nourishment
target=creature,player
auto=damage:3
auto=life:3 controller
text=Dark Nourishment deals 3 damage to target creature or player. You gain 3 life.
mana={4}{B}
type=Instant
[/card]
[card]
name=Dark Remedy
target=creature
auto=1/3
text=Target creature gets +1/+3 until end of turn.
mana={1}{B}
type=Instant
[/card]
[card]
name=Dark-Dweller Oracle
auto={1}{S(creature|myBattlefield)}:moveto(exile) and!(transforms((,canplayfromexile)) ueot)! all(*[zpos=1]|mylibrary)
text={1}, Sacrifice a creature: Exile the top card of your library. You may play that card this turn. (You still pay its costs. You can play a land this way only if you have an available land play remaining.)
mana={1}{R}
type=Creature
subtype=Goblin Shaman
power=2
toughness=2
[/card]
[card]
name=Darkblade Agent
auto=@surveiled(*|mybattlefield,mystack):all(this) transforms((,newability[deathtouch],newability[@combatdamaged(player) from(this):draw:1 controller])) ueot
text=As long as you've surveilled this turn, Darkblade Agent has deathtouch and "Whenever this creature deals combat damage to a player, you draw a card."
mana={1}{U}{B}
type=Creature
subtype=Human Assassin
power=2
toughness=3
[/card]
[card]
name=Darkbore Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Slitherbore Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Slitherbore Pathway) name(Slitherbore Pathway) flip(Slitherbore Pathway) forcetype(land)
auto={T}:add{B}
text={T}: Add {B}. // Slitherbore Pathway
type=Land
[/card]
[card]
name=Darkmoss Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{B}
auto={T}:add{G}
text=Darkmoss Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {B} or {G}.
type=Artifact Land
[/card]
[card]
name=Darksteel Mutation
target=creature
auto=indestructible
auto=loseabilities
auto=teach(creature) becomes(Artifact Creature Insect,0/1)
text=Enchant creature -- Enchanted creature is an Insect artifact creature with base power and toughness 0/1 and has indestructible, and it loses all other abilities, card types, and creature types.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Dash Hopes
target=*|stack
auto=transforms((,newability[pay[[{L:5}]] name(pay 5 life) donothing?fizzle])) oneshot
text=When you cast Dash Hopes, any player may pay 5 life. If a player does, counter Dash Hopes.  -- Counter target spell.
mana={B}{B}
type=Instant
[/card]
[card]
name=Dauntless Aven
abilities=flying
auto=_ATTACKING_untap target(creature|myBattlefield)
text=Flying -- Whenever Dauntless Aven attacks, untap target creature you control.
mana={2}{W}
type=Creature
subtype=Bird Warrior
power=2
toughness=1
[/card]
[card]
name=Dauntless Avenger
backside=Bereaved Survivor
auto=_ATTACKING_name(Return a creature) target(creature[manacost<=2]|mygraveyard) ninjutsu
text=Whenever Dauntless Avenger attacks, return target creature card with mana value 2 or less from your graveyard to the battlefield tapped and attacking. // Bereaved Survivor
type=Creature
subtype=Human Soldier
color=white
power=3
toughness=2
[/card]
[card]
name=Dauntless Bodyguard
auto={S}:target(creature|myBattlefield) indestructible
text=As Dauntless Bodyguard enters the battlefield, choose another creature you control. -- Sacrifice Dauntless Bodyguard: The chosen creature gains indestructible until end of turn.
mana={W}
type=Creature
subtype=Human Knight
power=2
toughness=1
[/card]
[card]
name=Dauntless Survivor
auto=counter(1/1,1) target(creature)
text=When Dauntless Survivor enters the battlefield, put a +1/+1 counter on target creature.
mana={1}{G}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Dauntless Unity
kicker={1}{W}
auto=all(creature|myBattlefield) 1/1 
auto=if paid(kicker) then all(creature|myBattlefield) 1/0
text=Kicker {1}{W} (You may pay an additional {1}{W} as you cast this spell.) -- Creatures you control get +1/+1 until end of turn. If this spell was kicked, those creatures get +2/+1 until end of turn instead.
mana={1}{W}
type=Instant
[/card]
[card]
name=Dauthi Voidwalker
abilities=shadow
auto=@movedto(*|opponentgraveyard):name(Exile with void counter) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(opponentexile) and!( counter(0/0.1.Void) )!])) forever
auto={T}{S}:name(Play exiled card) target(*[counter{0/0.1.Void}]|opponentexile) activate castcard(normal)
text=Shadow (This creature can block or be blocked by only creatures with shadow.) -- If a card would be put into an opponent's graveyard from anywhere, instead exile it with a void counter on it. -- {T}, Sacrifice Dauthi Voidwalker: Choose an exiled card an opponent owns with a void counter on it. You may play it this turn without paying its mana cost.
mana={B}{B}
type=Creature
subtype=Dauthi Rogue
power=3
toughness=2
[/card]
[card]
name=Davriel Conditions
abilities=doublefacedeath,nomovetrigger
auto=choice name(You lose six life) life:-6 controller
auto=if type(*|myhand)~equalto~0 then choice name(Exile two cards from your hand) name(Exile two cards from your hand) draw:2 opponent
auto=if type(*|myhand)~equalto~1 then choice name(Exile two cards from your hand) name(Exile two cards from your hand) target(*|myHand) moveto(exile) and!( transforms((,newability[draw:2 opponent])) oneshot )!
auto=if type(*|myhand)~morethan~1 then choice name(Exile two cards from your hand) name(Exile two cards from your hand) target(<2>*|myHand) moveto(exile)
auto=choice name(Sacrifice two permanents) target(<2>*|mybattlefield) sacrifice
auto=choice name(Opponent creatures perpetually gains +1/+1) all(creature|opponentbattlefield) counter(1/1.1.PerpetualPT)
auto=choice name(Creatures you control get -1/-0) emblem transforms((,newability[lord(creature|mybattlefield) -1/0])) forever dontremove
auto=choice name(Spells you cast cost B more to cast) emblem transforms((,newability[lord(*|mycastingzone) changecost(black:+1)])) forever dontremove
auto=choice name(Whenever you draw a card, exile top 2 cards) emblem transforms((,newability[@drawof(player):all(*[zpos<=2]|mylibrary) moveto(exile)])) forever dontremove
auto=choice name(Each upkeep you lose 1 life for each creature you control) emblem transforms((,newability[@each my upkeep:life:-type:creature:mybattlefield controller])) forever dontremove
type=Sorcery
[/card]
[card]
name=Davriel Offers
abilities=doublefacedeath,nomovetrigger
auto=choice name(Draw three cards) draw:3 controller
auto=choice name(Conjure a Manor Guardian) conjure cards(Manor Guardian) zone(myhand)
auto=choice name(Return two creatures) moverandom(creature) from(mygraveyard) to(myhand) and!( counter(1/1.1.PerpetualPT) )!
auto=choice name(Return creature with the highest mana) moverandom(creature[mancost=convertedcost:highest:*:mygraveyard]) from(mygraveyard) to(mybattlefield)
auto=choice name(Creatures you control get +2/+0.) emblem transforms((,newability[lord(creature|mybattlefield) 2/0])) forever dontremove
auto=choice name(Spells you cast cost B less to cast.) emblem transforms((,newability[lord(*|mycastingzone) changecost(black:-1)])) forever dontremove
auto=choice name(Davriel planeswalkers you control have "+2: Draw a card.") emblem transforms((,newability[lord(planeswalker[davriel]|mybattlefield) transforms((,newability[{C(0/0.2.Loyalty)}:limit:1 name(+2: Draw 1 card) draw:1 controller]))])) forever dontremove
auto=choice name(Whenever you draw a card, you gain two life) emblem transforms((,newability[@drawof(player):life:2 controller])) forever dontremove
type=Sorcery
[/card]
[card]
name=Davriel's Shadowfugue
target=player
auto=ability$!name(discard) reject notatarget(<2>*|myhand)!$ targetedplayer && life:-2
text=Target player discards two cards and loses 2 life.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Davriel's Withering
target=creature
auto=counter(-1/-2,1,PerpetualPT)
text=Target creature perpetually gets -1/-2.
mana={B}
type=Instant
[/card]
[card]
name=Dawn Charm
auto=choice name(Prevent Damage) preventAllcombatDamage ueot
auto=choice name(Regenerate Creature) regenerate target(creature)
auto=choice name(Counter Spell) target(*|stack) fizzle
text=Choose one  Prevent all combat damage that would be dealt this turn; or regenerate target creature; or counter target spell that targets you.
mana={1}{W}
type=Instant
[/card]
[card]
name=Dawn Evangel
auto=@movedTo(graveyard) from(creature[geared]|myBattlefield):moveto(myhand) target(creature[manacost<3]|mygraveyard)
text=Whenever a creature dies, if an Aura you controlled was attached to it, return target creature card with converted mana cost 2 or less from your graveyard to your hand.
mana={2}{W}
type=Enchantment Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Dawn of Hope
auto=@lifeof(player) from(*[-lifefaker]|*):pay({2}) draw:1
auto={3}{W}:create(soldier:creature soldier:1/1:white:lifelink)
text=Whenever you gain life, you may pay {2}. If you do, draw a card. -- {3}{W}: Create a 1/1 white Soldier creature token with lifelink.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Dawn to Dusk
target=enchantment
auto=choice name(Destroy) destroy
auto=choice name(Return) moveTo(myhand) target(enchantment|mygraveyard)
auto=choice name(Both) destroy && moveTo(myhand) target(enchantment|mygraveyard)
text=Choose one or both Return target enchantment card from your graveyard to your hand; and/or destroy target enchantment.
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Dawnbringer Cleric
auto=choice name(Gain 2 life) life:2 controller
auto=choice name(Destroy enchantment) target(enchantment|battlefield) destroy
auto=choice name(Exile card) target(*|graveyard) moveto(exile)
text=When Dawnbringer Cleric enters the battlefield, Choose one -- Cure Wounds - You gain 2 life. -- Dispel Magic - Destroy target enchantment. -- Gentle Repose - Exile target card from a graveyard.
mana={1}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=4
[/card]
[card]
name=Dawnglade Regent
auto=_MONARCH_CONTROLLER_
auto=lord(*|myBattlefield) transforms((,newability[this(variable{pmonarch}>0) opponentshroud]))
text=When Dawnglade Regent enters the battlefield, you become the monarch. -- As long as you're the monarch, permanents you control have hexproof.
mana={5}{G}{G}
type=Creature
subtype=Elk
power=8
toughness=8
[/card]
[card]
name=Dawnhart Mentor
auto=token(Human,Creature Human,1/1,white)
auto={5}{G} restriction{coven}:name(Creature gets 3/3 and trample) target(creature|mybattlefield) transforms((,newability[3/3],newability[trample])) ueot
text=When Dawnhart Mentor enters the battlefield, create a 1/1 white Human creature token. -- Coven-{5}{G}: Target creature you control gets +3/+3 and gains trample until end of turn. Activate only if you control three or more creatures with different powers.
type=Creature
subtype=Human Warlock
mana={2}{G}
power=0
toughness=4
[/card]
[card]
name=Dawnhart Rejuvenator
auto=life:3 controller
auto={T}:name(Add white mana) add{W}
auto={T}:name(Add red mana) add{R}
auto={T}:name(Add green mana) add{G}
auto={T}:name(Add blue mana) add{U}
auto={T}:name(Add black mana) add{B}
text=When Dawnhart Rejuvenator enters the battlefield, you gain 3 life. -- {T}: Add one mana of any color.
type=Creature
subtype=Human Warlock
mana={3}{G}
power=2
toughness=4
[/card]
[card]
name=Dawnhart Wardens
abilities=vigilance
auto=@each my combatbegins restriction{coven}:name(Creatures get 1/0) all(creature|mybattlefield) 1/0 ueot
text=Vigilance -- Coven - At the beginning of combat on your turn, if you control three or more creatures with different powers, creatures you control get +1/+0 until end of turn.
type=Creature
subtype=Human Warlock
mana={1}{G}{W}
power=3
toughness=3
[/card]
[card]
name=Dawning Angel
abilities=flying
auto=life:4
text=Flying -- When Dawning Angel enters the battlefield, you gain 4 life.
mana={4}{W}
type=Creature
subtype=Angel
power=3
toughness=2
[/card]
[card]
name=Daxos Spirit Token
anyzone=pexperience/pexperience cdaactive
text=This creature's power and toughness are each equal to the number of experience counters you have.
type=Enchantment Creature
subtype=Spirit
color=black,white
power=*
toughness=*
[/card]
[card]
name=Daxos of Meletis
auto=cantbeblockedby(creature[power>=3])
auto=@combatdamagefoeof(player) from(creature|mybattlefield):name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(exile) and!( if cantargetcard(*[-land]|*) then moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[life:manacost controller],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)])) ueot )! )!
auto=@combatdamageof(player) from(creature|mybattlefield):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[life:manacost controller])) ueot )!
text=Daxos of Meletis can't be blocked by creatures with power 3 or greater. -- Whenever Daxos of Meletis deals combat damage to a player, exile the top card of that player's library. You gain life equal to that card's converted mana cost. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it.
mana={1}{W}{U}
type=Legendary Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Daxos the Returned
auto=@movedTo(enchantment|mystack):alterexperience:1 controller
auto={1}{W}{B}:name(Create Spirit) token(Daxos Spirit Token)
text=Whenever you cast an enchantment spell, you get an experience counter. -- {1}{W}{B}: Create a white and black Spirit enchantment creature token. It has "This creature's power and toughness are each equal to the number of experience counters you have."
mana={1}{W}{B}
type=Legendary Creature
subtype=Zombie Soldier
power=2
toughness=2
[/card]
[card]
name=Daxos, Blessed by the Sun
anyzone=2/type:manaW:mybattlefield cdaactive
auto=@movedto(other creature|myBattlefield):life:1 controller
auto=@movedto(other creature|myGraveyard) from(mybattlefield):life:1 controller
text=Daxos's toughness is equal to your devotion to white. (Each {W} in the mana costs of permanents you control counts toward your devotion to white.) -- Whenever another creature you control enters the battlefield or dies, you gain 1 life.
mana={W}{W}
type=Legendary Enchantment Creature
subtype=Demigod
power=2
toughness=*
[/card]
[card]
name=Day
abilities=shroud,indestructible,doublefacedeath
backside=Night
auto=@each endofturn:name(Check if day or night) moveto(opponentbattlefield) and!( if thisturn(*|opponentstack)~equalto~0 then name(It becomes night next turn) name(It becomes night next turn) phaseaction[untap once sourceinplay] flip(backside) )!
auto=lord(*[nightbound]|battlefield) flip(backside)
text=(If it becomes day or night or if a daybound permanent enters the battlefield, track day/night for the rest of the game.) -- As it becomes day, transform all nightbound permanents. -- If a player casts no spells during their own turn, it becomes night next turn.
type=Emblem
[/card]
[card]
name=Daybreak Chaplain
abilities=lifelink
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.)
mana={1}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=3
[/card]
[card]
name=Daybreak Charger
auto=2/0 target(creature) ueot
text=When Daybreak Charger enters the battlefield, target creature gets +2/+0 until end of turn.
mana={1}{W}
type=Creature
subtype=Unicorn
power=3
toughness=1
[/card]
[card]
name=Daybreak Chimera
abilities=flying
anyzone=foreach(manaW|myBattlefield) changecost(colorless:-1) forcedalive
text=This spell costs {X} less to cast, where X is your devotion to white. (Each {W} in the mana costs of permanents you control counts towards your devotion to white.) -- Flying.
mana={3}{W}{W}
type=Creature
subtype=Chimera
power=3
toughness=3
[/card]
[card]
name=Daysquad Marshal
auto=token(Human Soldier Day)
text=When Daysquad Marshal enters the battlefield, create a 1/1 white Human Soldier creature token.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Dazzling Beauty
target=creature[attacking]
restriction=blockersonly
auto=@next upkeep:draw:1
auto=0/0 && fog from(mytgt) oneshot
text=Cast Dazzling Beauty only during the declare blockers step. -- Target unblocked attacking creature becomes blocked. (This spell works on unblockable creatures.) -- Draw a card at the beginning of the next turn's upkeep.
mana={2}{W}
type=Instant
[/card]
[card]
name=Dazzling Lights
target=creature
auto=-3/-0 
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Target creature gets -3/-0 until end of turn. -- Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on the top of your library in any order.)
mana={U}
type=Instant
[/card]
[card]
name=Dazzling Sphinx
abilities=flying
auto=@combatdamagefoeof(player) from(this):name(Reveal cards) transforms((,newability[all(*[zpos=oppofindfirsttypenonpermanent]|opponentlibrary) moveto(myexile) and!( transforms((,newability[phaseaction[endofturn once checkex] moveto(opponentreveal) and!( bottomoflibrary )!],newability[canplayfromexile],newability[zerocast],newability[all(*[zpos<=oppofindfirsttypenonpermanent]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!])) oneshot
auto=@combatdamageof(player) from(this):name(Reveal cards) transforms((,newability[all(*[zpos=findfirsttypenonpermanent]|mylibrary) moveto(myexile) and!( transforms((,newability[phaseaction[endofturn once checkex] bottomoflibrary],newability[canplayfromexile],newability[zerocast],newability[all(*[zpos<=findfirsttypenonpermanent]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!])) oneshot
text=Flying -- Whenever Dazzling Sphinx deals combat damage to a player, that player exiles cards from the top of their library until they exile an instant or sorcery card. You may cast that card without paying its mana cost. Then that player puts the exiled cards that weren't cast this way on the bottom of their library in a random order.
mana={3}{U}{U}
type=Creature
subtype=Sphinx
power=4
toughness=5
[/card]
[card]
name=Dead // Gone
other={2}{R} name(Gone)
target=creature
auto=if paid(alternative) then moveTo(ownerHand)
auto=ifnot paid(alternative) then damage:2
text=Dead deals 2 damage to target creature. // Return target creature you don't control to its owner's hand.
mana={R}
type=Instant
[/card]
[card]
name=Dead Man's Chest
target=creature|opponentbattlefield
auto=@movedTo(mytgt|graveyard) from(battlefield):all(*[-land;zpos<=p]|opponentlibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana])) forever )!
text=Enchant creature an opponent controls -- When enchanted creature dies, exile cards equal to its power from the top of its owner's library. You may cast spells from among those cards for as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells.
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Dead Reckoning
target=creature|mygraveyard
auto=choice name(Move and damage) moveto(mylibrary) && transforms((,newability[dynamicability<!powerstrike!> target(creature)])) ueot
auto=choice name(Don't Move) donothing
text=You may put target creature card from your graveyard on top of your library. If you do, Dead Reckoning deals damage equal to that card's power to target creature.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Dead Revels
target=<upto:2>creature|mygraveyard
auto=moveTo(ownerHand)
text=Spectacle {1}{B} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- Return up to two target creature cards from your graveyard to your hand.
other={1}{B} name(Spectacle)
otherrestriction=compare(oplifelost)~morethan~0
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Dead Ringers
target=<2>creature[-black]
auto=bury
text=Destroy two target nonblack creatures unless either one is a color the other isn't. They can't be regenerated.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Dead of Winter
auto=foreach(*[snow]|myBattlefield) 1/0 ueot all(creature[-snow]|mybattlefield)
text=All nonsnow creatures get -X/-X until end of turn, where X is the number of snow permanents you control.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Deadbridge Chant
auto=deplete:10 controller
auto=@each my upkeep restriction{if type(creature|mygraveyard)~morethan~0}:moveTo(myBattlefield) target(creature|myGraveyard) ifnot moveTo(*[-creature]|myHand)
text=When Deadbridge Chant enters the battlefield, put the top ten cards of your library into your graveyard. -- At the beginning of your upkeep, choose a card at random in your graveyard. If it's a creature card, put it onto the battlefield. Otherwise, put it into your hand.
mana={4}{B}{G}
type=Enchantment
[/card]
[card]
name=Deadeye Brawler
abilities=deathtouch
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[@combatdamaged(player) from(this):draw:1]))
text=Deathtouch -- Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Whenever Deadeye Brawler deals combat damage to a player, if you have the city's blessing, draw a card.
mana={2}{U}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=4
[/card]
[card]
name=Deadeye Plunderers
auto={2}{U}{B}:token(435451)
auto=foreach(artifact|mybattlefield) 1/1
text=Deadeye Plunderers gets +1/+1 for each artifact you control. -- {2}{U}{B}: Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={3}{U}{B}
type=Creature
subtype=Human Pirate
power=3
toughness=3
[/card]
[card]
name=Deadeye Quartermaster
auto=may moveto(myhand) target(equipment,vehicle|mylibrary)
text=When Deadeye Quartermaster enters the battlefield, you may search your library for an Equipment or Vehicle card, reveal it, put it into your hand, then shuffle your library.
mana={3}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Deadeye Rig-Hauler
auto=if raid then may moveto(ownerHand) target(creature)
text=Raid - When Deadeye Rig-Hauler enters the battlefield, if you attacked with a creature this turn, you may return target creature to its owner's hand.
mana={3}{U}
type=Creature
subtype=Human Pirate
power=3
toughness=2
[/card]
[card]
name=Deadeye Tormentor
auto=if raid then ability$!discard(*|myhand)!$ opponent
text=Raid - When Deadeye Tormentor enters the battlefield, if you attacked with a creature this turn, target opponent discards a card.
mana={2}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Deadeye Tracker
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto={1}{B}{T}{E(*|opponentgraveyard)} restriction{type(*|opponentgraveyard)~morethan~1}:moveto(exile) target(*|opponentgraveyard) && name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text={1}{B}, {T}: Exile two target cards from an opponent's graveyard. Deadeye Tracker explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={B}
type=Creature
subtype=Human Pirate
power=1
toughness=1
[/card]
[card]
name=Deadly Alliance
target=creature,planeswalker
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto=destroy
text=This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- Destroy target creature or planeswalker.
mana={4}{B}
type=Instant
[/card]
[card]
name=Deadly Allure
target=creature
flashback={G}
auto=transforms((,newability[deathtouch ueot],newability[@combat(attacking,blocking) source(this): all(<anyamount>creature|opponentbattlefield) mustblock ueot])) ueot
text=Target creature gains deathtouch until end of turn and must be blocked this turn if able. -- Flashback {G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={B}
type=Sorcery
[/card]
[card]
name=Deadly Brew
auto=ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) transforms((,newability[sacrifice],newability[may name(Return permanent) target(other *[-instant;-sorcery]|mygraveyard) moveto(myhand)])) oneshot!$ controller
auto=ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) transforms((,newability[sacrifice],newability[may name(Return permanent) target(other *[-instant;-sorcery]|mygraveyard) moveto(myhand)])) oneshot!$ opponent
text=Each player sacrifices a creature or planeswalker. If you sacrificed a permanent this way, you may return another permanent card from your graveyard to your hand.
mana={B}{G}
type=Sorcery
[/card]
[card]
name=Deadly Designs
auto={2}:name(Put plot counter) counter(0/0,1,Plot)
auto=@counteradded(0/0,1,Plot) from(this) restriction{compare(hascntplot)~morethan~4}:name(Sacrifice Deadly Designs) transforms((,newability[sacrifice],newability[may name(Destroy 2 creature) target(<upto:2>creature|battlefield) destroy])) oneshot
text={2}: Put a plot counter on Deadly Designs. Any player may activate this ability. -- When there are five or more plot counters on Deadly Designs, sacrifice it. If you do, destroy up to two target creatures.
mana={1}{B}
type=Enchantment
[/card]
[card]
name=Deadly Dispute
auto=draw:2 controller
auto=token(Treasure Sur)
text=As an additional cost to cast this spell, sacrifice an artifact or creature. -- Draw two cards and create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={1}{B}{S(*[creature;artifact]|myBattlefield)}
type=Instant
[/card]
[card]
name=Deadly Rollick
target=creature
auto=moveTo(exile)
other={0} name(Cast without Paying its Mana Cost)
otherrestriction=type(*[iscommander]|mybattlefield)~morethan~0
text=If you control a commander, you may cast this spell without paying its mana cost. -- Exile target creature.
mana={3}{B}
type=Instant
[/card]
[card]
name=Deadly Vanity
abilities=doublefacedeath
auto=name(Choose creature or planeswalker) target(*[creature;planeswalker]|battlefield) transforms((,newability[all(other *[creature;planeswalker]|battlefield) destroy])) oneshot
text=Choose a creature or planeswalker, then destroy all other creatures and planeswalkers. // {2}{W} Selfless Glyphweaver
mana={5}{B}{B}{B}
type=Sorcery
[/card]
[card]
name=Deadly Visit
target=creature
auto=destroy
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Destroy target creature. -- Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.)
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Deafening Clarion
auto=choice name(Damage) damage:3 all(creature)
auto=choice name(Lifelink) all(creature|myBattlefield) lifelink ueot
auto=choice name(Damage and Lifelink) damage:3 all(creature) && all(creature|myBattlefield) lifelink ueot
text=Choose one or both -- Deafening Clarion deals 3 damage to each creature. -- Creatures you control gain lifelink until end of turn.
mana={1}{R}{W}
type=Sorcery
[/card]
[card]
name=Deafening Silence
auto=maxCast(*[-creature])1
auto=maxCast(*[-creature])1 opponent
text=Each player can't cast more than one noncreature spell each turn.
mana={W}
type=Enchantment
[/card]
[card]
name=Death Tyrant
abilities=menace
auto=lord(creature[attacking]|mybattlefield) transforms((,newability[_DIES_name(Create zombie) token(Zombie Lil)]))
auto=lord(creature[blocking]|opponentbattlefield) transforms((,newability[_DIES_name(Create zombie) token(Zombie Lil) opponent]))
autograveyard={5}{B}:name(Return to battlefield) moveto(mybattlefield) and!( tap(novent) )!
text=Menace -- Negative Energy Cone - Whenever an attacking creature you control or a blocking creature an opponent controls dies, create a 2/2 black Zombie creature token. -- {5}{B}: Return Death Tyrant from your graveyard to the battlefield tapped.
mana={4}{B}
type=Creature
subtype=Beholder Skeleton
power=4
toughness=6
[/card]
[card]
name=Death's Oasis
auto=@movedto(creature[-token;manacost=1]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 1) moveto(myhand) target(creature[manacost<=0]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=2]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 2) moveto(myhand) target(creature[manacost<=1]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=3]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 3) moveto(myhand) target(creature[manacost<=2]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=4]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 4) moveto(myhand) target(creature[manacost<=3]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=5]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 5) moveto(myhand) target(creature[manacost<=4]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=6]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 6) moveto(myhand) target(creature[manacost<=5]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=7]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 7) moveto(myhand) target(creature[manacost<=6]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=8]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 8) moveto(myhand) target(creature[manacost<=7]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=9]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 9) moveto(myhand) target(creature[manacost<=8]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=10]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 10) moveto(myhand) target(creature[manacost<=9]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=11]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 11) moveto(myhand) target(creature[manacost<=10]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=12]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 12) moveto(myhand) target(creature[manacost<=11]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=13]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 13) moveto(myhand) target(creature[manacost<=12]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=14]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 14) moveto(myhand) target(creature[manacost<=13]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=15]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 15) moveto(myhand) target(creature[manacost<=14]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=16]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 16) moveto(myhand) target(creature[manacost<=15]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=17]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 17) moveto(myhand) target(creature[manacost<=16]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=18]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 18) moveto(myhand) target(creature[manacost<=17]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=19]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 19) moveto(myhand) target(creature[manacost<=18]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost=20]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature with cost < 20) moveto(myhand) target(creature[manacost<=19]|mygraveyard)])) forever
auto=@movedto(creature[-token;manacost>=20]|mygraveyard) from(mybattlefield):transforms((,newability[deplete:2 controller],newability[name(Return creature) moveto(myhand) target(creature|mygraveyard)])) forever
auto={1}{S}:life:convertedcost:highest:creature:myBattlefield
text=Whenever a nontoken creature you control dies, put the top two cards of your library into your graveyard. Then return a creature card with lesser converted mana cost than the creature that died from your graveyard to your hand. -- {1}, Sacrifice Death's Oasis: You gain life equal to the greatest converted mana cost among creatures you control.
mana={W}{B}{G}
type=Enchantment
[/card]
[card]
name=Death-Priest of Myrkul
auto=lord(*[zombie;vampire;skeleton]|myBattlefield) 1/1
auto=@each my endofturn restriction{morbid}:pay({1}) name(Pay 1 and create skeleton) token(Skeleton,Creature Skeleton,1/1,black)
text=Skeletons, Vampires, and Zombies you control get +1/+1. -- At the beginning of your end step, if a creature died this turn, you may pay {1}. If you do, create a 1/1 black Skeleton creature token.
mana={2}{B}{B}
type=Creature
subtype=Tiefling Cleric
power=2
toughness=2
[/card]
[card]
name=Deathbellow War Cry
auto=name(Search 4 different minotoaurs) target(<upto:4>creature[minotaur]|myLibrary) moveTo(myBattlefield)
text=Search your library for up to four Minotaur creature cards with different names, put them onto the battlefield, then shuffle.
mana={5}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Deathbloom Thallid
auto=_DIES_create(saproling:creature saproling:1/1:green:)
text=When Deathbloom Thallid dies, create a 1/1 green Saproling creature token.
mana={2}{B}
type=Creature
subtype=Fungus
power=3
toughness=2
[/card]
[card]
name=Deathbonnet Hulk
backside=Deathbonnet Sprout
auto=@each my upkeep restriction{type(*|mygraveyard)~morethan~0:may name(Exile a card) target(*|mygraveyard) moveto(myexile) and!( if cantargetcard(*[creature]|*) then all(this) counter(1/1) )!
text=At the beginning of your upkeep, you may exile a card from a graveyard. If a creature card was exiled this way, put a +1/+1 counter on Deathbonnet Hulk. // Deathbonnet Sprout
type=Creature
subtype=Fungus Horror
color=green
power=3
toughness=3
[/card]
[card]
name=Deathbonnet Sprout
backside=Deathbonnet Hulk
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@each my upkeep:name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( if type(creature|mygraveyard)~morethan~2 then all(this) flip(backside) )!
text=At the beginning of your upkeep, mill a card. Then if there are three or more creature cards in your graveyard, transform Deathbonnet Sprout. (To mill a card, put the top card of your library into your graveyard.) // Deathbonnet Hulk
type=Creature
subtype=Fungus
mana={G}
power=1
toughness=1
[/card]
[card]
name=Deathgorge Scavenger
auto=may moveto(exile) target(*|graveyard)
auto=_ATTACKING_may moveto(exile) target(*|graveyard)
auto=@targeted(creature|graveyard) from(this):life:2 controller
auto=@targeted(*[-creature]|graveyard) from(this):1/1 ueot
text=Whenever Deathgorge Scavenger enters the battlefield or attacks, you may exile target card from a graveyard. If a creature card is exiled this way, you gain 2 life. If a noncreature card is exiled this way, Deathgorge Scavenger gets +1/+1 until end of turn.
mana={2}{G}
type=Creature
subtype=Dinosaur
power=3
toughness=2
[/card]
[card]
name=Deathknell Berserker
auto=_DIES_this(power>=3) token(Zombie,Creature Zombie Berserker,2/2,black)
text=When Deathknell Berserker dies, if its power was 3 or greater, create a 2/2 black Zombie Berserker creature token.
mana={1}{B}
type=Creature
subtype=Elf Berserker
power=2
toughness=2
[/card]
[card]
name=Deathless Ancient
abilities=flying
autograveyard={T(<3>vampire[-tapped])}:moveto(myhand)
text=Flying -- Tap three untapped Vampires you control: Return Deathless Ancient from your graveyard to your hand.
mana={4}{B}{B}
type=Creature
subtype=Vampire Knight
power=4
toughness=4
[/card]
[card]
name=Deathless Knight
abilities=haste
autograveyard=@lifeof(player) turnlimited:moveTo(myhand)
text=Haste -- When you gain life for the first time each turn, return Deathless Knight from your graveyard to your hand.
mana={BG}{BG}{BG}{BG}
type=Creature
subtype=Skeleton Knight
power=4
toughness=2
[/card]
[card]
name=Deathsprout
target=creature
auto=destroy
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(*[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=Destroy target creature. Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={1}{B}{B}{G}
type=Instant
[/card]
[card]
name=Debt of Loyalty
target=creature
auto=regenerate && moveto(mybattlefield)
text=Regenerate target creature. You gain control of that creature if it regenerates this way.
mana={1}{W}{W}
type=Instant
[/card]
[card]
name=Debtors' Transport
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2
text=Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.)
mana={5}{B}
type=Creature
subtype=Thrull
power=5
toughness=3
[/card]
[card]
name=Decimator Beetle
auto=counter(-1/-1,1) target(creature|mybattlefield)
auto=_ATTACKING_counter(-1/-1,-1) target(creature|mybattlefield) && counter(-1/-1,1) target(creature|opponentbattlefield)
text=When Decimator Beetle enters the battlefield, put a -1/-1 counter on target creature you control. -- Whenever Decimator Beetle attacks, remove a -1/-1 counter from target creature you control and put a -1/-1 counter on up to one target creature defending player controls.
mana={3}{B}{G}
type=Creature
subtype=Insect
power=4
toughness=5
[/card]
[card]
name=Decision Paralysis
target=<upto:2>creature
auto=tap && freeze
text=Tap up to two target creatures. Those creatures don't untap during their controller's next untap step.
mana={3}{U}
type=Instant
[/card]
[card]
name=Decisive Denial
auto=if type(creature|mybattlefield)~morethan~0 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Creatures fight) name(Creatures fight) name(Creatures fight) target(creature|mybattlefield) transforms((,newability[name(Choose opponent's creature) target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
auto=if type(*[-creature]|stack)~morethan~1 then choice name(Counter non-creature spell) name(Counter non-creature spell) target(*[-creature]|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
text=Choose one -- Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) -- Counter target noncreature spell unless its controller pays 3 .
mana={G}{U}
type=Instant
[/card]
[card]
name=Declaration of Naught
auto=chooseanameopp transforms((,newability[{U}:name(Counter named spell) target(*[chosenname]|stack) fizzle])) forever chooseend nonland
text=As Declaration of Naught enters the battlefield, name a card. -- {U}: Counter target spell with the chosen name.
mana={U}{U}
type=Enchantment
[/card]
[card]
name=Declare Dominance
target=creature
auto=+3/+3
auto=lure
text=Target creature gets +3/+3 until end of turn. All creatures able to block it this turn do so.
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Decorated Champion
auto=@movedTo(other warrior|myBattlefield):counter(1/1)
text=Whenever another Warrior enters the battlefield under your team's control, put a +1/+1 counter on Decorated Champion.
mana={1}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Decorated Griffin
abilities=flying
auto={1}{W}:prevent:1 controller
text=Flying -- {1}{W}: Prevent the next 1 combat damage that would be dealt to you this turn.
mana={4}{W}
type=Creature
subtype=Griffin
power=2
toughness=3
[/card]
[card]
name=Decoy Gambit
target=creature|opponentbattlefield
auto=name(Draw or return) transforms((,newability[choice name(Opponent draw a card) draw:1 opponent],newability[choice name(Return to hand) moveTo(ownerhand)])) oneshot
text=For each opponent, choose up to one target creature that player controls, then return that creature to its owner's hand unless its controller has you draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Deekah, Fractal Theorist
auto=@movedto(*[instant;sorcery]|mystack):name(Create Fractal) all(trigger[to]) transforms((,newability[token(Fractal^Creature Fractal^0/0^green^blue) and!( counter(1/1.manacost) )!])) oneshot
auto={3}{U}:name(Token gains unblockable) target(creature[token]|battlefield) transforms((,newability[unblockable])) ueot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is that spell's mana value. -- {3}{U}: Target creature token can't be blocked this turn.
mana={4}{U}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Deem Worthy
abilities=cycling
target=creature
auto=damage:7
autohand=__CYCLING__({3}{R}) && damage:2 target(creature)
text=Deem Worthy deals 7 damage to target creature. -- Cycling {3}{R} ({3}{R}, Discard this card: Draw a card.) -- When you cycle Deem Worthy, you may have it deal 2 damage to target creature.
mana={4}{R}
type=Instant
[/card]
[card]
name=Deep Forest Hermit
auto=vanishing:3
auto=token(Squirrel,creature squirrel, 1/1,green)*4
auto=lord(creature[squirrel]|myBattlefield) 1/1
text=Vanishing 3 (This creature enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Deep Forest Hermit enters the battlefield, create four 1/1 green Squirrel creature tokens. -- Squirrels you control get +1/+1.
mana={3}{G}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Deep Freeze
target=creature
auto=teach(creature) loseabilities
auto=teach(creature) becomes(,0/4)
auto=teach(creature) defender
text=Enchant creature -- Enchanted creature has base power and toughness 0/4, has defender, loses all other abilities, and is a blue Wall in addition to its other colors and types.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Deep Water
auto={U}:name(All lands produce blue mana) ueot loseabilities && losesubtypesof(land) && transforms((island)) target(<type:land:myBattlefield>land|mybattlefield)
text={U}: Until end of turn, if you tap a land you control for mana, it produces {U} instead of any other type.
mana={U}{U}
type=Enchantment
[/card]
[card]
name=Deepglow Skate
auto=target(<anyamount>*|battlefield) duplicatecounters(all)
text=When Deepglow Skate enters the battlefield, double the number of each kind of counter on any number of target permanents.
mana={4}{U}
type=Creature
subtype=Fish
power=3
toughness=3
[/card]
[card]
name=Deeproot Champion
auto=@movedTo(*[-creature]|mystack):counter(1/1,1)
text=Whenever you cast a noncreature spell, put a +1/+1 counter on Deeproot Champion.
mana={1}{G}
type=Creature
subtype=Merfolk Shaman
power=1
toughness=1
[/card]
[card]
name=Deeproot Elite
auto=@movedTo(other Merfolk|myBattlefield):counter(1/1)target(merfolk|myBattlefield)
text=Whenever another Merfolk enters the battlefield under your control, put a +1/+1 counter on target Merfolk you control.
mana={1}{G}
type=Creature
subtype=Merfolk Warrior
power=1
toughness=1
[/card]
[card]
name=Deeproot Warrior
auto=@combat(blocked) source(this):1/1 ueot
text=Whenever Deeproot Warrior becomes blocked, it gets +1/+1 until end of turn.
mana={1}{G}
type=Creature
subtype=Merfolk Warrior
power=2
toughness=2
[/card]
[card]
name=Deeproot Waters
auto=@movedTo(Merfolk|mystack):token(Merfolk,creature Merfolk,1/1,blue,opponentshroud)
text=Whenever you cast a Merfolk spell, create a 1/1 blue Merfolk creature token with hexproof. (A creature with hexproof can't be the target of spells or abilities your opponents control.)
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Deepwood Denizen
abilities=vigilance
auto=this(variable{totcntcre11}=0) {5}{G}{T}:draw:1 controller
auto=this(variable{totcntcre11}=1) {4}{G}{T}:draw:1 controller
auto=this(variable{totcntcre11}=2) {3}{G}{T}:draw:1 controller
auto=this(variable{totcntcre11}=3) {2}{G}{T}:draw:1 controller
auto=this(variable{totcntcre11}=4) {1}{G}{T}:draw:1 controller
auto=this(variable{totcntcre11}>=5) {G}{T}:draw:1 controller
text=Vigilance -- {5}{G}, {T}: Draw a card. This ability costs 1 less to activate for each +1/+1 counter on creatures you control.
mana={2}{G}
type=Creature
subtype=Elf Warrior
power=3
toughness=2
[/card]
[card]
name=Deface
auto=choice name(Destroy target artifact) destroy target(artifact)
auto=choice name(Destroy target creature with defender) destroy target(creature[defender])
text=Choose one -- Destroy target artifact. -- Destroy target creature with defender.
mana={R}
type=Sorcery
[/card]
[card]
name=Defend the Campus
auto=choice name(Creatures get 1/1) all(creature|mybattlefield) transforms((,newability[1/1])) ueot
auto=if type(creature[power>=4]|battlefield)~morethan~0 then choice name(Destroy creature) name(Destroy creature) target(creature[power>=4]|battlefield) destroy
text=Choose one -- Creatures you control get +1/+1 until end of turn. -- Destroy target creature with power 4 or greater.
mana={3}{W}
type=Instant
[/card]
[card]
name=Defend the Celestus
restriction=type(creature|mybattlefield)~morethan~0
auto=thisforeach(variable{3}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)!$ controller
text=Distribute three +1/+1 counters among one, two, or three target creatures you control.
mana={2}{G}{G}
type=Instant
[/card]
[card]
name=Defenestrate
target=creature[-flying]
auto=destroy
text=Destroy target creature without flying.
mana={2}{B}
type=Instant
[/card]
[card]
name=Defense Grid
auto=this(variable{controllerturn}>0) lord(*|opponentzones) altercost(colorless,+3)
auto=this(variable{opponentturn}>0) lord(*|myzones) altercost(colorless,+3)
text=Each spell costs {3} more to cast except during its controller's turn.
mana={2}
type=Artifact
[/card]
[card]
name=Defiant Greatmaw
auto=counter(-1/-1,2) target(creature|mybattlefield)
auto=@counteradded(-1/-1) from(this):counter(-1/-1,-1) target(other creature|mybattlefield)
text=When Defiant Greatmaw enters the battlefield, put two -1/-1 counters on target creature you control. -- Whenever you put one or more -1/-1 counters on Defiant Greatmaw, remove a -1/-1 counter from another target creature you control.
mana={2}{G}
type=Creature
subtype=Hippo
power=4
toughness=5
[/card]
[card]
name=Defiant Khenra
mana={1}{R}
type=Creature
subtype=Jackal Warrior
power=2
toughness=2
[/card]
[card]
name=Defile
target=creature
auto=foreach(swamp|mybattlefield) -1/-1
text=Target creature gets -1/-1 until end of turn for each Swamp you control.
mana={B}
type=Instant
[/card]
[card]
name=Deflecting Swat
target=*|stack
auto=castcard(copied noevent)
other={0} name(Cast without Paying its Mana Cost)
otherrestriction=type(*[iscommander]|mybattlefield)~morethan~0
text=If you control a commander, you may cast this spell without paying its mana cost. -- You may choose new targets for target spell or ability.
mana={2}{R}
type=Instant
[/card]
[card]
name=Deft Dismissal
restriction=type(creature[attacking;blocking]|battlefield)~morethan~0
auto=thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature[attacking;blocking]) damage:1!$ controller
text=Deft Dismissal deals 3 damage divided as you choose among one, two, or three target attacking or blocking creatures.
mana={3}{W}
type=Instant
[/card]
[card]
name=Degavolver
abilities=hasotherkicker
other={1}{W}{R} name(Kicker Red)
kicker={1}{B} name(Kicker Black or Both)
auto=if paid(alternative) then transforms((,newability[counter(1/1)],newability[first strike])) forever
auto=if paid(kicker) then transforms((,newability[counter(1/1.2)],newability[{L:3}:name(Regenerate) regenerate])) forever
auto=if paid(kicker) then pay({R}) name(Pay also kicker red) transforms((,newability[counter(1/1)],newability[first strike])) forever
text=Kicker {1}{B} and/or {R} (You may pay an additional {1}{B} and/or {R} as you cast this spell.) -- If Degavolver was kicked with its {1}{B} kicker, it enters the battlefield with two +1/+1 counters on it and with "Pay 3 life: Regenerate Degavolver." -- If Degavolver was kicked with its {R} kicker, it enters the battlefield with a +1/+1 counter on it and with first strike.
mana={1}{W}
type=Creature
subtype=Volver
power=1
toughness=1
[/card]
[card]
name=Deliberate
auto=scry:2 scrycore delayed draw:1 controller scrycoreend scryend
aicode=activate transforms((,newability[draw:1 controller])) oneshot
text=Scry 2, then draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Delighted Killbot
mana={2}
type=Artifact Creature
subtype=Killbot
power=2
toughness=1
[/card]
[card]
name=Delina, Wild Mage
auto=_ATTACKING_name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end
auto=_ATTACKING_name(Choose your creature) target(creature|mybattlefield) counter(0/0.1.DelinaEffect)
auto=@dierolled(this) result(1) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(2) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(3) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(4) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(5) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(6) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(7) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(8) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(9) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(10) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(11) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(12) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(13) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(14) from(controller):all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) transforms((,newability[removeallcounters(0/0.1.DelinaEffect)],newability[clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(15) from(controller):name(may roll d20 again) transforms((,newability[choice name name(Roll d20 again) rolld20 20 winability donothing winabilityend rolld20end],newability[choice name name(Stop rolling d20) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) removeallcounters(0/0.1.DelinaEffect)],newability[name(Copy creature) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(16) from(controller):name(may roll d20 again) transforms((,newability[choice name name(Roll d20 again) rolld20 20 winability donothing winabilityend rolld20end],newability[choice name name(Stop rolling d20) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) removeallcounters(0/0.1.DelinaEffect)],newability[name(Copy creature) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(17) from(controller):name(may roll d20 again) transforms((,newability[choice name name(Roll d20 again) rolld20 20 winability donothing winabilityend rolld20end],newability[choice name name(Stop rolling d20) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) removeallcounters(0/0.1.DelinaEffect)],newability[name(Copy creature) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(18) from(controller):name(may roll d20 again) transforms((,newability[choice name name(Roll d20 again) rolld20 20 winability donothing winabilityend rolld20end],newability[choice name name(Stop rolling d20) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) removeallcounters(0/0.1.DelinaEffect)],newability[name(Copy creature) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(19) from(controller):name(may roll d20 again) transforms((,newability[choice name name(Roll d20 again) rolld20 20 winability donothing winabilityend rolld20end],newability[choice name name(Stop rolling d20) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) removeallcounters(0/0.1.DelinaEffect)],newability[name(Copy creature) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) clone with(unearth^battleready) options(nolegend)])) oneshot
auto=@dierolled(this) result(20) from(controller):name(may roll d20 again) transforms((,newability[choice name name(Roll d20 again) rolld20 20 winability donothing winabilityend rolld20end],newability[choice name name(Stop rolling d20) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) removeallcounters(0/0.1.DelinaEffect)],newability[name(Copy creature) all(creature[counter{0/0.1.DelinaEffect}]|mybattlefield) clone with(unearth^battleready) options(nolegend)])) oneshot
text=Whenever Delina, Wild Mage attacks, choose target creature you control, then roll a d20. -- 1-14 | Create a tapped and attacking token that's a copy of that creature except it's not legendary and it has "Exile this creature at end of combat." -- 15-20 | Create one of those tokens. You may roll again.
mana={3}{R}
type=Legendary Creature
subtype=Elf Shaman
power=3
toughness=2
[/card]
[card]
name=Deliver Unto Evil
auto=moveto(exile) all(this)
auto=if type(planeswalker[bolas]|mybattlefield)~morethan~0 then target(<upto:4>*|mygraveyard) moveto(myhand)
auto=if type(planeswalker[bolas]|mybattlefield)~equalto~0 then ability$!name(Choose 2 cards) name(Choose 2 cards) target(<2>*|opponentgraveyard) moveto(opponenthand)!$ opponent
text=Choose up to four target cards in your graveyard. If you control a Bolas planeswalker, return those cards to your hand. Otherwise, an opponent chooses two of them. Leave the chosen cards in your graveyard and put the rest into your hand. -- Exile Deliver Unto Evil.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Delver's Torch
auto={3}:equip
auto=teach(creature) 1/1
auto=@combat(attacking) source(mytgt) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Equipped creature gets +1/+1. -- Whenever equipped creature attacks, venture into the dungeon. (Enter the first room or advance to the next room.) -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Demanding Dragon
abilities=flying
auto=damage:5 target(opponent)
text=Flying -- When Demanding Dragon enters the battlefield, it deals 5 damage to target opponent unless that player sacrifices a creature.
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Demilich
other={U}{U}{U} name(Cast Demilich)
otherrestriction=thisturn(*[instant;sorcery]|mystack)~equalto~1
restriction=thisturn(*[instant;sorcery]|mystack)~equalto~0
autohand={U}{U} restriction{thisturn(*[instant;sorcery]|mystack)~equalto~2}:name(Cast Demilich) name(Cast Demilich) activate castcard(normal)
autohand={U} restriction{thisturn(*[instant;sorcery]|mystack)~equalto~3}:name(Cast Demilich) name(Cast Demilich) activate castcard(normal)
autohand={0} restriction{thisturn(*[instant;sorcery]|mystack)~morethan~3}:name(Cast Demilich) name(Cast Demilich) activate castcard(normal)
autograveyard={U}{U}{U}{U} restriction{type(*[instant;sorcery]|mygraveyard)~morethan~3,thisturn(*[instant;sorcery]|mystack)~equalto~0}:name(Cast Demilich) name(Cast Demilich) transforms((,newability[activate castcard(normal)],newability[name(Exile 4 cards) target(<4>*[instant;sorcery]|mygraveyard) moveto(myexile)])) oneshot
autograveyard={U}{U}{U} restriction{type(*[instant;sorcery]|mygraveyard)~morethan~3,thisturn(*[instant;sorcery]|mystack)~equalto~1}:name(Cast Demilich) name(Cast Demilich) transforms((,newability[activate castcard(normal)],newability[name(Exile 4 cards) target(<4>*[instant;sorcery]|mygraveyard) moveto(myexile)])) oneshot
autograveyard={U}{U} restriction{type(*[instant;sorcery]|mygraveyard)~morethan~3,thisturn(*[instant;sorcery]|mystack)~equalto~2}:name(Cast Demilich) name(Cast Demilich) transforms((,newability[activate castcard(normal)],newability[name(Exile 4 cards) target(<4>*[instant;sorcery]|mygraveyard) moveto(myexile)])) oneshot
autograveyard={U} restriction{type(*[instant;sorcery]|mygraveyard)~morethan~3,thisturn(*[instant;sorcery]|mystack)~equalto~3}:name(Cast Demilich) name(Cast Demilich) transforms((,newability[activate castcard(normal)],newability[name(Exile 4 cards) target(<4>*[instant;sorcery]|mygraveyard) moveto(myexile)])) oneshot
autograveyard={0} restriction{type(*[instant;sorcery]|mygraveyard)~morethan~3,thisturn(*[instant;sorcery]|mystack)~morethan~3}:name(Cast Demilich) name(Cast Demilich) transforms((,newability[activate castcard(normal)],newability[name(Exile 4 cards) target(<4>*[instant;sorcery]|mygraveyard) moveto(myexile)])) oneshot
auto=_ATTACKING_may name(Exile instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveTo(exile) and!( transforms((,newability[may name(Copy and cast) activate castcard(copied)])) oneshot )!
text=This spell costs {U} less to cast for each instant and sorcery you've cast this turn. -- Whenever Demilich attacks, exile up to one target instant or sorcery card from your graveyard. Copy it. You may cast the copy. -- You may cast Demilich from your graveyard by exiling four instants and/or sorcery cards from your graveyard in addition to paying its other costs.
mana={U}{U}{U}{U}
type=Creature
subtype=Skeleton Wizard
power=4
toughness=3
[/card]
[card]
name=Demogorgon's Clutches
auto=deplete:2 opponent
auto=life:-2 opponent
auto=ability$!name(Discard 2 cards) name(Discard 2 cards) notatarget(<2>*|myhand) reject!$ opponent
text=Target opponent discards two cards, mills two cards, and loses 2 life. (To mill a card, a player puts the top card of their library into their graveyard.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Demon Arc
abilities=flyng
type=Creature
subtype=Demon
power=5
toughness=5
color=black
[/card]
[card]
name=Demon Bolt
abilities=foretell
target=creature,planeswalker
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={R} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=damage:4
text=Demon Bolt deals 4 damage to target creature or planeswalker. -- Foretell {R} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{R}
type=Instant
[/card]
[card]
name=Demon of Catastrophes
abilities=flying, trample
text=As an additional cost to cast this spell, sacrifice a creature. -- Flying, trample
mana={2}{B}{B}{S(creature|myBattlefield)}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Demon of Loathing
auto=@combatdamaged(player) from(this)::ability$!name(sacrifice a creature) notatarget(creature|myBattlefield) sacrifice!$ opponent
text=Flying, trample -- Whenever Demon of Loathing deals combat damage to a player, that player sacrifices a creature.
mana={5}{B}{B}
type=Creature
subtype=Demon
power=7
toughness=7
[/card]
[card]
name=Demon of Wailing Agonies
abilities=flying
auto=aslongas(*[iscommander]|mybattlefield) 2/2 >0
auto=@combatdamagefoeof(player) from(this) restriction{type(*[iscommander]|myBattlefield)~morethan~0}:ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=@combatdamageof(player) from(this) restriction{type(*[iscommander]|myBattlefield)~morethan~0}:ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ controller
text=Flying -- Lieutenant - As long as you control your commander, Demon of Wailing Agonies gets +2/+2 and has "Whenever Demon of Wailing Agonies deals combat damage to a player, that player sacrifices a creature."
mana={3}{B}{B}
type=Creature
subtype=Demon
power=4
toughness=4
[/card]
[card]
name=Demon's Disciple
auto=ability$!name(sacrifice) notAtarget(*[creature;planeswapler]|myBattlefield) sacrifice !$ opponent
auto=ability$!name(sacrifice) notAtarget(*[creature;planeswapler]|myBattlefield) sacrifice !$ controller
text=When Demon's Disciple enters the battlefield, each player sacrifices a creature or planeswalker.
mana={2}{B}
type=Creature
subtype=Human Cleric
power=3
toughness=1
[/card]
[card]
name=Demonfire
target=creature,player
auto=aslongas(*|myhand) shadow <1
auto=damage:X
auto=exiledeath ueot
text=Demonfire deals X damage to target creature or player. If a creature dealt damage this way would die this turn, exile it instead. -- Hellbent - If you have no cards in hand, Demonfire can't be countered by spells or abilities and the damage can't be prevented.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Demonic Embrace
target=creature
auto=3/1
auto=flying
auto=transforms((Demon))
autograveyard={1}{B}{B}{L:3}{D(*|myHand)}:activate castcard(normal)
text=Enchant creature -- Enchanted creature gets +3/+1, has flying, and is a Demon in addition to its other types. -- You may cast Demonic Embrace from your graveyard by paying 3 life and discarding a card in addition to paying its other costs.
mana={1}{B}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Demonic Gifts
target=creature
auto=transforms((,newability[2/0],newability[inplaydeath])) ueot
text=Until end of turn, target creature gets +2/+0 and gains "When this creature dies, return it to the battlefield under its owner's control."
mana={1}{B}
type=Instant
[/card]
[card]
name=Demonic Lore
auto=draw:3 controller
auto=@each my endofturn:life:-twicetype:*:myhand
text=When Demonic Lore enters the battlefield, draw three cards. -- At the beginning of your end step, you lose 2 life for each card in your hand.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Demonic Vigor
target=creature
auto=teach(creature) +1/+1
auto=teach(creature) When enchanted creature dies return that card to its owner's hand
text=Enchant creature -- Enchanted creature gets +1/+1. -- When enchanted creature dies, return that card to its owner's hand.
mana={B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Demonlord Belzenlok
abilities=flying, trample
auto=Reveal:1 revealzone(mylibrary) revealuntil(*[-land;manacost<=3]|mylibrary) optionone choice name(Get Card) all(*[-land]|reveal) moveto(myhand) and!(damage:1 controller)! optiononeend optiontwo choice all(*|reveal) moveTo(exile) optiontwoend revealend
text=Flying, trample -- When Demonlord Belzenlok enters the battlefield, exile cards from the top of your library until you exile a nonland card, then put that card into your hand. If the card's converted mana cost is 4 or greater, repeat this process. Demonlord Belzenlok deals 1 damage to you for each card put into your hand this way.
mana={4}{B}{B}
type=Legendary Creature
subtype=Elder Demon
power=6
toughness=6
[/card]
[card]
name=Demotion
target=creature
auto=teach(creature) cantblock
auto=teach(creature) noactivatedability
text=Enchant creature -- Enchanted creature can't block, and its activated abilities can't be activated.
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Den of the Bugbear
auto=if compare(type:land:myBattlefield)~morethan~2 then tap(noevent)
auto={T}:Add{R}
auto={3}{R}:name(Becomes goblin) transforms((,newability[becomes(Creature Goblin^3/2^red) ueot],newability[_ATTACKING_name(Create goblin) token(Goblin^Creature Goblin^1/1^red^battleready)])) ueot
text=If you control two or more other lands, Den of the Bugbear enters the battlefield tapped. -- {T}: Add {R}. -- {3}{R}: Until end of turn, Den of the Bugbear becomes a 3/2 red Goblin creature with "Whenever this creature attacks, create a 1/1 red Goblin creature token that's tapped and attacking." it's still a land.
type=Land
[/card]
[card]
name=Dennick, Pious Apparition
backside=Dennick, Pious Apprentice
abilities=flying,exiledeath
auto=@movedTo(creature|graveyard):name(Investigate) token(Clue)
text=Flying -- Whenever one or more creature cards are put into graveyards from anywhere, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -- If Dennick, Pious Apparition would be put into a graveyard from anywhere, exile it instead. // Dennick, Pious Apprentice
type=Legendary Creature
subtype=Spirit Soldier
color=white,blue
power=3
toughness=2
[/card]
[card]
name=Dennick, Pious Apprentice
backside=Dennick, Pious Apparition
abilities=lifelink,hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={2}{W}{U} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto=lord(*|mygraveyard) cantbetargetof(*)
text=Lifelink -- Cards in graveyards can't be the targets of spells or abilities. -- Disturb {2}{W}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Dennick, Pious Apparition
mana={W}{U}
type=Legendary Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Deny the Divine
target=creature,enchantment|stack
auto=fizzleto(exile)
text=Counter target creature or enchantment spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.
mana={2}{U}
type=Instant
[/card]
[card]
name=Depart the Realm
abilities=foretell
target=*[-land]|battlefield
auto=moveto(ownerhand)
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={U} restriction{compare(canforetellcast)~morethan~0,type(*[-land]|battlefield)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
text=Return target nonland permanent to its owner's hand. -- Foretell {U} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Departed
auto=@targeted(this):sacrifice
auto=cantbeblockedby(creature[-spirit])
auto={3}{U}:target(other creature|myBattlefield) ) cantbeblockedby(creature[-spirit])
text=When Departed Deckhand becomes the target of a spell, sacrifice it. -- Departed Deckhand can't be blocked except by Spirits. -- {3}{U}: Another target creature you control can't be blocked this turn except by Spirits.
mana={1}{U}
type=Creature
subtype=Spirit Pirate
power=2
toughness=2
[/card]
[card]
name=Departed Deckhand
auto=@targeted(this):sacrifice
auto=cantbeblockedby(creature[-spirit])
auto={3}{U}:target(creature|mybattlefield) transforms((,newability[cantbeblockedby(creature[-spirit])])) ueot
text=When Departed Deckhand becomes the target of a spell, sacrifice it. -- Departed Deckhand can't be blocked except by Spirits. -- {3}{U}: Another target creature you control can't be blocked this turn except by Spirits.
mana={1}{U}
type=Creature
subtype=Spirit Pirate
power=2
toughness=2
[/card]
[card]
name=Departed Soulkeeper
backside=Devoted Grafkeeper
abilities=flying,cloud,exiledeath
text=Flying -- Departed Soulkeeper can block only creatures with flying. -- If Departed Soulkeeper would be put into a graveyard from anywhere, exile it instead. // Devoted Grafkeeper
type=Creature
subtype=Spirit
color=white,blue
power=3
toughness=1
[/card]
[card]
name=Depose // Deploy
other={2}{W}{U} name(Deploy)
auto=ifnot paid(alternative) then draw:1 controller
auto=ifnot paid(alternative) then target(creature) tap(noevent)
auto=if paid(alternative) then token(Thopter,Artifact Creature Thopter,1/1,flying)*2
auto=if paid(alternative) then life:type:creature:mybattlefield controller
text=Tap target creature. -- Draw a card. // Create two 1/1 colorless Thopter artifact creature tokens with flying, then you gain 1 life for each creature you control.
mana={1}{WU}
type=Instant
[/card]
[card]
name=Depths of Desire
target=creature
auto=moveto(ownerhand)
auto=name(Create treasure) token(Treasure Sur)
text=Return target creature to its owner's hand. Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={2}{U}
type=Instant
[/card]
[card]
name=Deputized Protester
abilities=menace
auto=_ATTACKING_1/1 ueot
text=Menace (This creature can't be blocked except by two or more creatures.) -- Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.)
mana={2}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=1
[/card]
[card]
name=Deputy of Detention
auto=may name(exile) target(*[-land]|battlefield) transforms((,newability[all(*[share!name!]) becomes(expelled)])) ueot && all(expelled) (blink)forsrc
text=When Deputy of Detention enters the battlefield, exile target nonland permanent an opponent controls and all other nonland permanents that player controls with the same name as that permanent until Deputy of Detention leaves the battlefield.
mana={1}{W}{U}
type=Creature
subtype=Vedalken Wizard
power=1
toughness=3
[/card]
[card]
name=Derevi, Empyrial Tactician
abilities=flying
auto=name(tap or untap) transforms((,newability[choice tap target(*)],newability[choice untap target(*)])) oneshot
auto=@combatdamaged(player) from(creature|myBattlefield):name(tap or untap) transforms((,newability[choice tap target(*)],newability[choice untap target(*)])) oneshot
#wagic doesn't have command zone
text=Flying -- Whenever Derevi, Empyrial Tactician enters the battlefield or a creature you control deals combat damage to a player, you may tap or untap target permanent. -- {1}{G}{W}{U}: Put Derevi onto the battlefield from the command zone.
mana={G}{W}{U}
type=Legendary Creature
subtype=Bird Wizard
power=2
toughness=3
[/card]
[card]
name=Dermotaxi
auto=this(variable{hasevict}=0) name(Imprint card from graveyard) imprint notatarget(creature|graveyard)
auto={T(creature|myBattlefield)}{T(creature|myBattlefield)}:transforms((,newability[all(creature[evictname]|exile) copy and!( all(this) transforms((Vehicle Artifact,newability[phaseaction[endofturn once] flip(Dermotaxi) undocpy])) forever )!])) oneshot
text=Imprint - As Dermotaxi enters the battlefield, exile a creature card from a graveyard. -- Tap two untapped creatures you control: Until end of turn, Dermotaxi becomes a copy of the exiled card, except it's a Vehicle artifact in addition to its other types.
mana={2}
type=Artifact
subtype=Vehicle
power=0
toughness=0
[/card]
[card]
name=Desecrated Tomb
auto=@movedTo(*[-mygraveyard]) from(mygraveyard):create(bat:creature bat:1/1:black:flying)
text=Whenever one or more creature cards leave your graveyard, create a 1/1 black Bat creature token with flying.
mana={3}
type=Artifact
[/card]
[card]
name=Desecration Demon
abilities=flying
auto=@each combatbegins restriction{type(creature|opponentbattlefield)~morethan~0}:name(Sacrifice and tap) ability$!name(Sacrifice and tap) may name(Sacrifice and tap) target(creature|mybattlefield) counter(0/0.1.DesecrationEffect)!$ opponent
auto=@counteradded(0/0.1.DesecrationEffect) from(creature|opponentbattlefield):name(Tap and put counter) tap && counter(1/1)
auto=@counteradded(0/0.1.DesecrationEffect) from(creature|opponentbattlefield):name(Tap and put counter) all(creature[counter{0/0.1.DesecrationEffect}]|opponentBattlefield) sacrifice
text=Flying -- At the beginning of each combat, any opponent may sacrifice a creature. If a player does, tap Desecration Demon and put a +1/+1 counter on it.
mana={2}{B}{B}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Desert Cerodon
abilities=cycling
autohand=__CYCLING__({R})
text=Cycling {R} ({R}, Discard this card: Draw a card.)
mana={5}{R}
type=Creature
subtype=Beast
power=6
toughness=4
[/card]
[card]
name=Desert of the Fervent
abilities=cycling
auto=tap
auto={T}:Add{R}
autohand=__CYCLING__({1}{R})
text=Desert of the Fervent enters the battlefield tapped. -- {T}: Add {R} to your mana pool. -- Cycling {1}{R} ({1}{R}, Discard this card: Draw a card.)
type=Land
subtype=Desert
[/card]
[card]
name=Desert of the Glorified
abilities=cycling
auto=tap
auto={T}:Add{B}
autohand=__CYCLING__({1}{B})
text=Desert of the Glorified enters the battlefield tapped. -- {T}: Add {B} to your mana pool. -- Cycling {1}{B} ({1}{B}, Discard this card: Draw a card.)
type=Land
subtype=Desert
[/card]
[card]
name=Desert of the Indomitable
abilities=cycling
auto=tap
auto={T}:Add{G}
autohand=__CYCLING__({1}{G})
text=Desert of the Indomitable enters the battlefield tapped. -- {T}: Add {G} to your mana pool. -- Cycling {1}{G} ({1}{G}, Discard this card: Draw a card.)
type=Land
subtype=Desert
[/card]
[card]
name=Desert of the Mindful
abilities=cycling
auto=tap
auto={T}:Add{U}
autohand=__CYCLING__({1}{U})
text=Desert of the Mindful enters the battlefield tapped. -- {T}: Add {U} to your mana pool. -- Cycling {1}{U} ({1}{U}, Discard this card: Draw a card.)
type=Land
subtype=Desert
[/card]
[card]
name=Desert of the True
abilities=cycling
auto=tap
auto={T}:Add{W}
autohand=__CYCLING__({1}{W})
text=Desert of the True enters the battlefield tapped. -- {T}: Add {W} to your mana pool. -- Cycling {1}{W} ({1}{W}, Discard this card: Draw a card.)
type=Land
subtype=Desert
[/card]
[card]
name=Desert's Hold
target=creature
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=noactivatedability
auto=aslongas(Desert|mybattlefield,myGraveyard) life:3 controller
text=Enchant creature -- When Desert's Hold enters the battlefield, if you control a Desert or there is a Desert card in your graveyard, you gain 3 life. -- Enchanted creature can't attack or block, and its activated abilities can't be activated.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Deserted Beach
auto=if type(other land|mybattlefield)~lessthan~2 then tap(noevent)
auto={T}:add{W}
auto={T}:add{U}
text=Deserted Beach enters the battlefield tapped unless you control two or more other lands. -- {T}: Add {W} or {U}.
type=Land
[/card]
[card]
name=Desiccated Naga
auto={3}{B}{restriction type(liliana|mybattlefield)~morethan~0}:life:-2 opponent && life:2 controller
text={3}{B}: Target opponent loses 2 life and you gain 2 life. Activate this ability only if you control a Liliana planeswalker.
mana={2}{B}
type=Creature
subtype=Zombie Naga
power=3
toughness=2
[/card]
[card]
name=Despark
target=*[manacost>=4]
auto=moveto(exile)
text=Exile target permanent with converted mana cost 4 or greater.
mana={W}{B}
type=Instant
[/card]
[card]
name=Desperate Castaways
auto=aslongas(artifact|mybattlefield) cantattack <1
auto=aslongas(artifact|mybattlefield) cantpwattack <1
text=Desperate Castaways can't attack unless you control an artifact.
mana={1}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=3
[/card]
[card]
name=Desperate Lunge
target=creature
auto=+2/+2
auto=flying
auto=life:2
text=Target creature gets +2/+2 and gains flying until end of turn. You gain 2 life.
mana={1}{W}
type=Instant
[/card]
[card]
name=Desperate Stand
abilities=hasnokicker,hasstrive
kicker=multi{R}{W} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[2/0],newability[first strike],newability[vigilance])) ueot
text=Strive - Desperate Stand costs {R}{W} more to cast for each target beyond the first. -- Any number of target creatures each get +2/+0 and gain first strike and vigilance until end of turn.
mana={R}{W}
type=Sorcery
[/card]
[card]
name=Despondent Killbot
mana={2}
type=Artifact Creature
subtype=Killbot
power=2
toughness=1
[/card]
[card]
name=Destined // Lead
target=creature
auto=1/0
auto=indestructible
autograveyard={3}{G}{E}:target(creature) lure asSorcery
text=Target creature gets +1/+0 and gains indestructible until end of turn. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) All creatures able to block target creature this turn do so.
mana={1}{B}
type=Instant
[/card]
[card]
name=Destiny Spinner
auto=lord(*[creature;enchantment]|mystack) nofizzle
auto={3}{G}:target(land|mybattlefield) transforms((Elemental Creature,setpower=type:enchantment:mybattlefield,settoughness=type:enchantment:mybattlefield,trample,haste)) ueot
text=Creature and enchantment spells you control can't be countered. -- {3}{G}: Target land you control becomes an X/X Elemental creature with trample and haste until end of turn, where X is the number of enchantments you control. it's still a land.
mana={1}{G}
type=Enchantment Creature
subtype=Human
power=2
toughness=3
[/card]
[card]
name=Destructive Digger
auto={3}{T}{S(*[artifact;land]|mybattlefield)}:draw:1
text={3}, {T}, Sacrifice an artifact or land: Draw a card.
mana={2}{R}
type=Creature
subtype=Goblin
power=3
toughness=2
[/card]
[card]
name=Destructive Tampering
auto=choice name(Destroy target artifact) destroy target(artifact)
auto=choice name(Creatures without flying can't block) lord(creature[-flying]) cantblock ueot
text=Choose one -- Destroy target artifact. -- Creatures without flying can't block this turn.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Detection Tower
auto={T}:add{C}
auto={1}{T}:name(Opponent loses hexproof) all(*|opponentbattlefield) transforms((,newability[-opponentshroud]),newability[-controllershroud])) ueot
text={T}: Add {C}. -- {1}, {T}: Until end of turn, your opponents and creatures your opponents control with hexproof can be the targets of spells and abilities you control as though they didn't have hexproof.
type=Land
[/card]
[card]
name=Detention Vortex
target=artifact,creature,enchantment,planeswalker
auto=teach(*) cantattack
auto=teach(*) cantpwattack
auto=teach(*) cantblock
auto=teach(*) noactivatedability
auto=@each opponent main:ability$!name(Pay 3) pay[[{3}]] name(Pay 3) target(*[Detention Vortex]|opponentBattlefield) destroy?donothing!$ opponent asSorcery
auto=@each opponent secondmain:ability$!name(Pay 3) pay[[{3}]] name(Pay 3) target(*[Detention Vortex]|opponentBattlefield) destroy?donothing!$ opponent asSorcery
text=Enchant nonland permanent -- Enchanted permanent can't attack or block, and its activated abilities can't be activated. -- {3}: Destroy Detention Vortex. Only your opponents may activate this ability and only as a sorcery.
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Devastating Dreams
auto=if type(*|myHand)~morethan~0 then choice name(Discard 1 card) discard:1 controller && damage:1 all(creature) && ability$!sacrifice notatarget(land|mybattlefield)!$ controller && ability$!sacrifice notatarget(land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~1 then choice name(Discard 2 cards) discard:2 controller && damage:2 all(creature) && ability$!sacrifice notatarget(<2>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<2>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~2 then choice name(Discard 3 cards) discard:3 controller && damage:3 all(creature) && ability$!sacrifice notatarget(<3>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<3>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~3 then choice name(Discard 4 cards) discard:4 controller && damage:4 all(creature) && ability$!sacrifice notatarget(<4>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<4>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~4 then choice name(Discard 5 cards) discard:5 controller && damage:5 all(creature) && ability$!sacrifice notatarget(<5>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<5>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~5 then choice name(Discard 6 cards) discard:6 controller && damage:6 all(creature) && ability$!sacrifice notatarget(<6>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<6>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~6 then choice name(Discard 7 cards) discard:7 controller && damage:7 all(creature) && ability$!sacrifice notatarget(<7>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<7>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~7 then choice name(Discard 8 cards) discard:8 controller && damage:8 all(creature) && ability$!sacrifice notatarget(<8>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<8>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~8 then choice name(Discard 9 cards) discard:9 controller && damage:9 all(creature) && ability$!sacrifice notatarget(<9>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<9>land|mybattlefield)!$ opponent
auto=if type(*|myHand)~morethan~9 then choice name(Discard 10 cards) discard:10 controller && damage:10 all(creature) && ability$!sacrifice notatarget(<10>land|mybattlefield)!$ controller && ability$!sacrifice notatarget(<10>land|mybattlefield)!$ opponent
text=As an additional cost to cast Devastating Dreams, discard X cards at random. -- Each player sacrifices X lands. Devastating Dreams deals X damage to each creature.
mana={R}{R}
type=Sorcery
[/card]
[card]
name=Devastating Mastery
other={2}{W}{W} name(Cast for less)
auto=if paid(alternative) then ability$!name(Return non-land permanent) name(Return non-land permanent) target(*[-land]|mybattlefield) moveto(myhand) and!( transforms((,newability[name(Return another non-land permanent) target(*[-land]|mybattlefield) moveto(myhand) and!( all(other *[-land]|mybattlefield) destroy )! ])) oneshot )! !$ opponent
auto=if paid(alternative) then all(*[-land]|mybattlefield) destroy
auto=ifnot paid(alternative) then all(*[-land]|battlefield) destroy
text=You may pay {2}{W}{W} rather than pay this spell's mana cost. -- If the {2}{W}{W} cost was paid, an opponent chooses up to two nonland permanents they control and returns them to their owner's hand. -- Destroy all nonland permanents.
mana={2}{W}{W}{W}{W}
type=Sorcery
[/card]
[card]
name=Devastating Summons
auto=if type(*[land]|myBattlefield)~morethan~0 then choice name(Sacrifice 1 land) ability$!sacrifice notatarget(land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,1/1,red)*2
auto=if type(*[land]|myBattlefield)~morethan~1 then choice name(Sacrifice 2 lands) ability$!sacrifice notatarget(<2>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,2/2,red)*2
auto=if type(*[land]|myBattlefield)~morethan~2 then choice name(Sacrifice 3 lands) ability$!sacrifice notatarget(<3>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,3/3,red)*2
auto=if type(*[land]|myBattlefield)~morethan~3 then choice name(Sacrifice 4 lands) ability$!sacrifice notatarget(<4>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,4/4,red)*2
auto=if type(*[land]|myBattlefield)~morethan~4 then choice name(Sacrifice 5 lands) ability$!sacrifice notatarget(<5>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,5/5,red)*2
auto=if type(*[land]|myBattlefield)~morethan~5 then choice name(Sacrifice 6 lands) ability$!sacrifice notatarget(<6>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,6/6,red)*2
auto=if type(*[land]|myBattlefield)~morethan~6 then choice name(Sacrifice 7 lands) ability$!sacrifice notatarget(<7>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,7/7,red)*2
auto=if type(*[land]|myBattlefield)~morethan~7 then choice name(Sacrifice 8 lands) ability$!sacrifice notatarget(<8>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,8/8,red)*2
auto=if type(*[land]|myBattlefield)~morethan~8 then choice name(Sacrifice 9 lands) ability$!sacrifice notatarget(<9>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,9/9,red)*2
auto=if type(*[land]|myBattlefield)~morethan~9 then choice name(Sacrifice 10 lands) ability$!sacrifice notatarget(<10>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,10/10,red)*2
auto=if type(*[land]|myBattlefield)~morethan~10 then choice name(Sacrifice 11 lands) ability$!sacrifice notatarget(<11>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,11/11,red)*2
auto=if type(*[land]|myBattlefield)~morethan~11 then choice name(Sacrifice 12 lands) ability$!sacrifice notatarget(<12>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,12/12,red)*2
auto=if type(*[land]|myBattlefield)~morethan~12 then choice name(Sacrifice 13 lands) ability$!sacrifice notatarget(<13>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,13/13,red)*2
auto=if type(*[land]|myBattlefield)~morethan~13 then choice name(Sacrifice 14 lands) ability$!sacrifice notatarget(<14>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,14/14,red)*2
auto=if type(*[land]|myBattlefield)~morethan~14 then choice name(Sacrifice 15 lands) ability$!sacrifice notatarget(<15>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,15/15,red)*2
auto=if type(*[land]|myBattlefield)~morethan~15 then choice name(Sacrifice 16 lands) ability$!sacrifice notatarget(<16>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,16/16,red)*2
auto=if type(*[land]|myBattlefield)~morethan~16 then choice name(Sacrifice 17 lands) ability$!sacrifice notatarget(<17>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,17/17,red)*2
auto=if type(*[land]|myBattlefield)~morethan~17 then choice name(Sacrifice 18 lands) ability$!sacrifice notatarget(<18>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,18/18,red)*2
auto=if type(*[land]|myBattlefield)~morethan~18 then choice name(Sacrifice 19 lands) ability$!sacrifice notatarget(<19>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,19/19,red)*2
auto=if type(*[land]|myBattlefield)~morethan~19 then choice name(Sacrifice 20 lands) ability$!sacrifice notatarget(<20>land|mybattlefield)!$ controller && token(Elemental,Creature Elemental,20/20,red)*2
text=As an additional cost to cast Devastating Summons, sacrifice X lands. -- Put two X/X red Elemental creature tokens onto the battlefield.
mana={R}
type=Sorcery
[/card]
[card]
name=Devil Bur
auto=_DIES_name(Deal 1 damage) damage:1 target(player,creature,planeswalker)
text=When this creature dies, it deals 1 damage to any target.
type=Creature
subtype=Devil
color=red
power=1
toughness=1
[/card]
[card]
name=Devious Cover-Up
target=*|stack
auto=moveto(exile)
text=Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. You may shuffle up to four target cards from your graveyard into your library.
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Devkarin Dissident
auto={4}{G}:2/2 ueot
text={4}{G}: Devkarin Dissident gets +2/+2 until end of turn.
mana={1}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Devoted Crop-Mate
auto=@exerted(this):moveto(mybattlefield) target(creature[manacost<=2]|mygraveyard)
auto=_ATTACKING_may exert
text=You may exert Devoted Crop-Mate as it attacks. When you do, return target creature card with converted mana cost 2 or less from your graveyard to the battlefield. (An exerted creature won't untap during your next untap step.)
mana={2}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Devoted Grafkeeper
backside=Departed Soulkeeper
abilities=hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={1}{W}{U} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto=deplete:2 controller
auto=@movedto(*|mystack) from(mygraveyard):name(Tap a creature) target(creature|opponentbattlefield) tap
text=When Devoted Grafkeeper enters the battlefield, mill two cards. -- Whenever you cast a spell from your graveyard, tap target creature you don't control. -- Disturb {1}{W}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Departed Soulkeeper
mana={W}{U}
type=Creature
subtype=Human Peasant
power=2
toughness=1
[/card]
[card]
name=Devoted Paladin
auto=all(creature|mybattlefield) transforms((,newability[1/1],newability[vigilance])) ueot
text=Beacon of Hope - When Devoted Paladin enters the battlefield, creatures you control get +1/+1 and gain vigilance until end of turn.
mana={4}{W}
type=Creature
subtype=Orc Knight
power=4
toughness=4
[/card]
[card]
name=Devotee of Strength
auto={4}{G}:2/2 target(creature)
text={4}{G}: Target creature gets +2/+2 until end of turn.
mana={2}{G}
type=Creature
subtype=Naga Wizard
power=3
toughness=2
[/card]
[card]
name=Devour Intellect
other={S(treasure[-tapped]|mybattlefield)} name(Pay with treasure)
otherrestriction=type(treasure[-tapped]|mybattlefield)~morethan~0
auto=if paid(alternative) then if type(*[-land]|opponenthand)~morethan~0 then name(Discard non-land card) name(Discard non-land card) name(Discard a non-land card) reject target(*[-land]|opponenthand) 
auto=if paid(alternative) then if type(*[-land]|opponenthand)~equalto~0 then name(Reveal hand) name(Reveal hand) name(Reveal hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) )!
auto=ifnot paid(alternative) then ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
text=Target opponent discards a card. If mana from a Treasure was spent to cast this spell, instead that player reveals their hand, you choose a nonland card from it, then that player discards a card.
mana={B}
type=Sorcery
[/card]
[card]
name=Devourer of Memory
auto=@movedTo(*|myGraveyard) from(myLibrary):1/1 && unblockable ueot
auto={1}{U}{B}:deplete:1 controller
text=Whenever one or more cards are put into your graveyard from your library, Devourer of Memory gets +1/+1 until end of turn and can't be blocked this turn. -- {1}{U}{B}: Put the top card of your library into your graveyard.
mana={U}{B}
type=Creature
subtype=Nightmare
power=2
toughness=1
[/card]
[card]
name=Devouring Hellion
auto=may notatarget(<anyamount>other *[creature;planeswalker]|mybattlefield) sacrifice && counter(1/1,2) all(this)
text=As Devouring Hellion enters the battlefield, you may sacrifice any number of creatures and/or planeswalkers. If you do, it enters with twice that many +1/+1 counters on it.
mana={2}{R}
type=Creature
subtype=Hellion
power=2
toughness=2
[/card]
[card]
name=Devouring Rage
target=creature
auto=choice name(Sacrifice 0 spirits) 3/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~0 then choice name(Sacrifice 1 spirit) ability$!sacrifice notatarget(spirit|mybattlefield)!$ controller && 6/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~1 then choice name(Sacrifice 2 spirits) ability$!sacrifice notatarget(<2>spirit|mybattlefield)!$ controller && 9/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~2 then choice name(Sacrifice 3 spirits) ability$!sacrifice notatarget(<3>spirit|mybattlefield)!$ controller && 12/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~3 then choice name(Sacrifice 4 spirits) ability$!sacrifice notatarget(<4>spirit|mybattlefield)!$ controller && 15/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~4 then choice name(Sacrifice 5 spirits) ability$!sacrifice notatarget(<5>spirit|mybattlefield)!$ controller && 18/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~5 then choice name(Sacrifice 6 spirits) ability$!sacrifice notatarget(<6>spirit|mybattlefield)!$ controller && 21/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~6 then choice name(Sacrifice 7 spirits) ability$!sacrifice notatarget(<7>spirit|mybattlefield)!$ controller && 24/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~7 then choice name(Sacrifice 8 spirits) ability$!sacrifice notatarget(<8>spirit|mybattlefield)!$ controller && 27/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~8 then choice name(Sacrifice 9 spirits) ability$!sacrifice notatarget(<9>spirit|mybattlefield)!$ controller && 30/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~9 then choice name(Sacrifice 10 spirits) ability$!sacrifice notatarget(<10>spirit|mybattlefield)!$ controller && 33/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~10 then choice name(Sacrifice 11 spirits) ability$!sacrifice notatarget(<11>spirit|mybattlefield)!$ controller && 36/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~11 then choice name(Sacrifice 12 spirits) ability$!sacrifice notatarget(<12>spirit|mybattlefield)!$ controller && 39/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~12 then choice name(Sacrifice 13 spirits) ability$!sacrifice notatarget(<13>spirit|mybattlefield)!$ controller && 42/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~13 then choice name(Sacrifice 14 spirits) ability$!sacrifice notatarget(<14>spirit|mybattlefield)!$ controller && 45/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~14 then choice name(Sacrifice 15 spirits) ability$!sacrifice notatarget(<15>spirit|mybattlefield)!$ controller && 48/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~15 then choice name(Sacrifice 16 spirits) ability$!sacrifice notatarget(<16>spirit|mybattlefield)!$ controller && 51/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~16 then choice name(Sacrifice 17 spirits) ability$!sacrifice notatarget(<17>spirit|mybattlefield)!$ controller && 54/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~17 then choice name(Sacrifice 18 spirits) ability$!sacrifice notatarget(<18>spirit|mybattlefield)!$ controller && 57/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~18 then choice name(Sacrifice 19 spirits) ability$!sacrifice notatarget(<19>spirit|mybattlefield)!$ controller && 60/0 ueot
auto=if type(*[spirit]|myBattlefield)~morethan~19 then choice name(Sacrifice 20 spirits) ability$!sacrifice notatarget(<20>spirit|mybattlefield)!$ controller && 63/0 ueot
text=As an additional cost to cast Devouring Rage, you may sacrifice any number of Spirits. -- Target creature gets +3/+0 until end of turn. For each Spirit sacrificed this way, that creature gets an additional +3/+0 until end of turn.
mana={4}{R}
type=Instant
subtype=Arcane
[/card]
[card]
name=Devouring Tendrils
target=creature|mybattlefield
auto=transforms((,newability[@movedto(*[creature;planeswalker]|graveyard) from(opponentbattlefield) turnlimited:life:2 controller],newability[target(*[creature;planeswalker]|opponentbattlefield) dynamicability<!powerstrike!>])) ueot
text=Target creature you control deals damage equal to its power to target creature or planeswalker you don't control. When the permanent you don't control dies this turn, you gain 2 life.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Devout Decree
target=creature[red,black],planeswalker[red,black]
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=moveTo(exile)
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Exile target creature or planeswalker that's black or red. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Devout Harpist
auto={T}:destroy target(aura)
text={T}: Destroy target Aura attached to a creature.
mana={W}
type=Creature
subtype=Human
power=1
toughness=1
[/card]
[card]
name=Diabolic Servitude
auto=moveTo(myBattlefield) target(creature|mygraveyard)
auto=soulbond _DIES_moveto(exile) && all(this) transforms((,newability[moveTo(ownerhand)]))
auto=soulbond _DIES_moveto(exile)
text={B}{B}, Pay 2 life, Sacrifice a Swamp: Return target creature card from your graveyard to the battlefield.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Diabolical Salvation
abilities=split second
auto=name(Create devil) token(Devil,Creature Devil,4/4,red,unreath) and!( transforms((,newability[_DIES_token(Treasure Sur)])) forever )!
text=Split second Create four 4/4 red Devil creature tokens with haste and "When this creature dies, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color."." -- Sacrifice the Devil tokens at the beginning of the next end step.
mana={2}{R}{R}{R}{R}
type=Instant
[/card]
[card]
name=Diamond Knight
abilities=vigilance
auto=chooseacolor transforms((,newability[@movedTo(*[chosencolor]|mystack):1/1])) forever chooseend
text=Vigilance (Attacking doesn't cause this creature to tap.) -- As Diamond Knight enters the battlefield, choose a color. -- Whenever you cast a spell of the chosen color, put a +1/+1 counter on Diamond Knight.
mana={3}
type=Artifact Creature
subtype=Knight
power=1
toughness=1
[/card]
[card]
name=Diamond Lion
auto={T}{S}:name(Add 3 red mana) discard:type:*:myHand && add{R}{R}{R}
auto={T}{S}:name(Add 3 black mana) discard:type:*:myHand && add{B}{B}{B}
auto={T}{S}:name(Add 3 green mana) discard:type:*:myHand && add{G}{G}{G}
auto={T}{S}:name(Add 3 blue mana) discard:type:*:myHand && add{U}{U}{U}
auto={T}{S}:name(Add 3 white mana) discard:type:*:myHand && add{W}{W}{W}
text={T}, Discard your hand, Sacrifice Diamond Lion: Add three mana of any one color. Activate only as an instant.
mana={2}
type=Artifact Creature
subtype=Cat
power=2
toughness=2
[/card]
[card]
name=Diamond Mare
auto=chooseacolor transforms((,newability[@movedTo(*[chosencolor]|mystack):life:1])) forever chooseend
text=As Diamond Mare enters the battlefield, choose a color. -- Whenever you cast a spell of the chosen color, you gain 1 life.
mana={2}
type=Artifact Creature
subtype=Horse
power=1
toughness=3
[/card]
[card]
name=Dictate of the Twin Gods
abilities=flash
auto=@damaged(creature) from(*[instant;sorcery]|Stack,graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(*[creature;artifact;land;planeswalker]|battlefield,graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(enchantment[-Dictate of the Twin Gods]|battlefield,graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(*[instant;sorcery]|Stack,graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(*[creature;artifact;land;planeswalker]|battlefield,graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(enchantment[-Dictate of the Twin Gods]|battlefield,graveyard):damage:thatmuch all(trigger[to])
auto=@counterremoved(duplicateAll) from(planeswalker|opponentBattlefield) restriction{myTurnOnly}:donothing
auto=@counterremoved(duplicateAll) from(planeswalker|myBattlefield) restriction{opponentTurnOnly}:donothing
text=Flash -- If a source would deal damage to a permanent or player, it deals double that damage to that permanent or player instead.
mana={3}{R}{R}
type=Enchantment
[/card]
[card]
name=Didn't Say Please
target=*|stack
auto=fizzle && deplete:3 targetcontroller
text=Counter target spell. Its controller puts the top three cards of their library into their graveyard.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Die Young
#AUTO_DEFINE _HARNESSED_COUNTER_($c) this(variable{penergy}>=$c) choice -$c/-$c && alterenergy:-$c controller
target=creature
auto=alterenergy:2 controller
auto=_HARNESSED_COUNTER_(0)
auto=_HARNESSED_COUNTER_(1)
auto=_HARNESSED_COUNTER_(2)
auto=_HARNESSED_COUNTER_(3)
auto=_HARNESSED_COUNTER_(4)
auto=_HARNESSED_COUNTER_(5)
auto=_HARNESSED_COUNTER_(6)
auto=_HARNESSED_COUNTER_(7)
auto=_HARNESSED_COUNTER_(8)
auto=_HARNESSED_COUNTER_(9)
auto=_HARNESSED_COUNTER_(10)
auto=_HARNESSED_COUNTER_(11)
auto=_HARNESSED_COUNTER_(12)
auto=_HARNESSED_COUNTER_(13)
auto=_HARNESSED_COUNTER_(14)
auto=_HARNESSED_COUNTER_(15)
auto=_HARNESSED_COUNTER_(16)
auto=_HARNESSED_COUNTER_(17)
auto=_HARNESSED_COUNTER_(18)
auto=_HARNESSED_COUNTER_(19)
auto=_HARNESSED_COUNTER_(20)
text=Choose target creature. You get {E}{E} (two energy counters), then you may pay any amount of {E}. The creature gets -1/-1 until end of turn for each {E} paid this way.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Diffusion Sliver
auto=@targeted(creature[sliver]|myBattlefield) from(*|opponentstack,opponentbattlefield,opponentexile,opponenthand,opponentlibrary):transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Whenever a Sliver creature you control becomes the target of a spell or ability an opponent controls, counter that spell or ability unless its controller pays {2}.
mana={1}{U}
type=Creature
subtype=Sliver
power=1
toughness=1
[/card]
[card]
name=Digsite Engineer
auto=@movedto(artifact|mystack):pay({2}) token(Construct,Artifact Creature Construct,0/0) and!( transforms((,newability[foreach(artifact|mybattlefield) 1/1])) forever )!
text=Whenever you cast an artifact spell, you may pay 2 . If you do, create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control."
mana={2}{W}
type=Creature
subtype=Dwarf Artificer
power=3
toughness=3
[/card]
[card]
name=Dihada's Ploy
auto=draw:2 && transforms((,newability[target(*|myhand) reject and!(life:type:*[discarded]:mygraveyard)!])) forever
flashback={1}{U}{B}{D(*|myhand)}
text=Draw two cards, then discard a card. You gain life equal to the number of cards you've discarded this turn. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={1}{U}{B}
type=Instant
[/card]
[card]
name=Diligent Excavator
auto=@movedTo(*[artifact;legendary;saga]|mystack):target(player) deplete:2
text=Whenever you cast a historic spell, target player puts the top two cards of their library into their graveyard. (Artifacts, legendaries, and Sagas are historic.)
mana={1}{U}
type=Creature
subtype=Human Artificer
power=1
toughness=3
[/card]
[card]
name=Dimir Charm
auto=choice target(sorcery|stack) fizzle
auto=choice destroy target(creature[power<=2])
auto=choice target(player) name(Look) reveal:3 optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<1>*|reveal) moveto(ownerlibrary) optiontwoend revealend
text=Choose one -- Counter target sorcery spell. -- Destroy target creature with power 2 or less. -- Look at the top three cards of target player's library. Put one back and the rest into that player's graveyard.
mana={U}{B}
type=Instant
[/card]
[card]
name=Dimir Informant
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=When Dimir Informant enters the battlefield, surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on the top of your library in any order.)
mana={2}{U}
type=Creature
subtype=Human Rogue
power=1
toughness=4
[/card]
[card]
name=Dimir Locket
auto={T}:Add{U}
auto={T}:Add{B}
auto={UB}{UB}{UB}{UB}{T}{S}:draw:2
text={T}: Add {U} or {B}. -- {U/B}{U/B}{U/B}{U/B}, {T}, Sacrifice Dimir Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Dimir Spybug
abilities=flying,menace
auto=@surveiled(*|mybattlefield,mystack):all(this) counter(1/1)
text=Flying -- Menace (This creature can't be blocked except by two or more creatures.) -- Whenever you surveil, put a +1/+1 counter on Dimir Spybug.
mana={U}{B}
type=Creature
subtype=Insect
power=1
toughness=1
[/card]
[card]
name=Dina, Soul Steeper
auto=@lifeof(player) from(*[-lifefaker]|*):life:-1 opponent
auto={1}{S(other creature[-Dina^ Soul Steeper]|mybattlefield)}:storedpower/0 ueot
text=Whenever you gain life, each opponent loses 1 life. -- {1}, Sacrifice another creature: Dina, Soul Steeper gets +X/+0 until end of turn, where X is the sacrificed creature's power.
mana={B}{G}
type=Legendary Creature
subtype=Dryad Druid
power=1
toughness=3
[/card]
[card]
name=Dinosaur For
abilities=haste
type=Creature
subttype=Dinosaur
power=1
toughness=1
color=red
[/card]
[card]
name=Dinosaur Hunter
auto=@damaged(dinosaur) from(this):destroy
text=Whenever Dinosaur Hunter deals damage to a Dinosaur, destroy that creature.
mana={1}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Dinosaur Stampede
auto=all(creature[attacking]|mybattlefield) trample ueot
text=Attacking creatures get +2/+0 until end of turn. Dinosaurs you control gain trample until end of turn.
mana={2}{R}
type=Instant
[/card]
[card]
name=Diplomatic Escort
auto={U}{T}{D(*|myhand)}:fizzle target(*|stack)
text={U}, {T}, Discard a card: Counter target spell or ability that targets a creature.
mana={1}{U}
type=Creature
subtype=Human Spellshaper
power=1
toughness=1
[/card]
[card]
name=Dire Fleet Captain
auto=_ATTACKING_all(this) foreach(other pirate[attacking]) 1/1 ueot
text=Whenever Dire Fleet Captain attacks, it gets +1/+1 until end of turn for each other attacking Pirate.
mana={B}{R}
type=Creature
subtype=Orc Pirate
power=2
toughness=2
[/card]
[card]
name=Dire Fleet Daredevil
abilities=first strike
auto=name(Exile instant or sorcery) name(Exile instant or sorcery) target(*[instant;sorcery]|opponentgraveyard) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[gainedexiledeath],newability[anytypeofmana],newability[phaseaction[endofturn once] moveTo(ownerexile)])) ueot )!
text=First strike -- When Dire Fleet Daredevil enters the battlefield, exile target instant or sorcery card from an opponent's graveyard. You may cast it this turn, and you may spend mana as though it were mana of any type to cast that spell. If that spell would be put into a graveyard this turn, exile it instead.
mana={1}{R}
type=Creature
subtype=Human Pirate
power=2
toughness=1
[/card]
[card]
name=Dire Fleet Hoarder
auto=_DIES_token(435451)
text=When Dire Fleet Hoarder dies, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={1}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=1
[/card]
[card]
name=Dire Fleet Interloper
abilities=menace
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=Menace -- When Dire Fleet Interloper enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={3}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Dire Fleet Neckbreaker
auto=lord(pirate[attacking]|myBattlefield) +2/+0
text=Attacking Pirates you control get +2/+0.
mana={2}{B}{R}
type=Creature
subtype=Orc Pirate
power=3
toughness=2
[/card]
[card]
name=Dire Fleet Poisoner
abilities=flash, deathtouch
auto=target(pirate[attacking]|myBattlefield)) 1/1 && deathtouch ueot
text=Flash -- Deathtouch -- When Dire Fleet Poisoner enters the battlefield, target attacking Pirate you control gets +1/+1 and gains deathtouch until end of turn.
mana={1}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Dire Fleet Ravager
abilities=deathtouch, menace
auto=life:-thirdupopponentlifetotal opponent
auto=life:-thirduplifetotal controller
text=Menace, deathtouch -- When Dire Fleet Ravager enters the battlefield, each player loses a third of his or her life, rounded up.
mana={3}{B}{B}
type=Creature
subtype=Orc Pirate Wizard
power=4
toughness=4
[/card]
[card]
name=Dire Fleet Warmonger
auto=@each my endofturn:may sacrifice notatarget(other creature|myBattlefield) && transforms((,newability[2/2 ueot],newability[trample ueot])) ueot all(this)
text=At the beginning of combat on your turn, you may sacrifice another creature. If you do, Dire Fleet Warmonger gets +2/+2 and gains trample until end of turn. (It can deal excess combat damage to the player or planeswalker it's attacking.)
mana={1}{B}{R}
type=Creature
subtype=Orc Pirate
power=3
toughness=3
[/card]
[card]
name=Dire Tactics
target=creature
auto=moveTo(exile) 
auto=restriction{(creature[human]|myBattlefield)~equalto~0}:dynamicability<!mytgt toughnesslifeloss srccontroller!>
text=Exile target creature. If you don't control a Human, you lose life equal to that creature's toughness.
mana={W}{B}
type=Instant
[/card]
[card]
name=Dire Wolf Prowler
auto={1}{G}:name(Gets 2/2 and haste) transforms((newability[2/2],newability[haste])) ueot limit:1
text={1}{G}: Dire Wolf Prowler gets +2/+2 and gains haste until end of turn. Activate only once each turn.
mana={2}{G}
type=Creature
subtype=Wolf
power=2
toughness=2
[/card]
[card]
name=Dire-Strain Brawler
abilities=vigilance,nightbound
backside=Tireless Hauler
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
text=Vigilance -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Tireless Hauler
type=Creature
subtype=Werewolf
color=green
power=6
toughness=6
[/card]
[card]
name=Dire-Strain Demolisher
abilities=nightbound
backside=Burly Breaker
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 3 more) name(This spell costs 3 more) target(*|opponentzones) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
text=Ward {3} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {3}.) -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Burly Breaker
type=Creature
subtype=Werewolf
color=green
power=8
toughness=7
[/card]
[card]
name=Dire-Strain Rampage
target=artifact,enchantment,land
flashback={3}{R}{G}
auto=if cantargetcard(*[land]|*) then destroy and!( transforms((,newability[may name(Search 2 basic lands) target(<upto:2>land[basic]|myLibrary) moveto(myBattlefield) and!( tap(noevent) )!])) oneshot )!
auto=if cantargetcard(*[-land]|*) then destroy and!( transforms((,newability[may name(Search a basic land) target(land[basic]|myLibrary) moveto(myBattlefield) and!( tap(noevent) )!])) oneshot )!
text=Destroy target artifact, enchantment, or land. If a land was destroyed this way, its controller may search their library for up to two basic land cards, put them onto the battlefield tapped, then shuffle. Otherwise, its controller may search their library for a basic land card, put it onto the battlefield tapped, then shuffle. -- Flashback {3}{R}{G}
mana={1}{R}{G}
type=Sorcery
[/card]
[card]
name=Direct Current
target=player,creature,planeswalker
auto=damage:2
flashback={1}{R}{R}{D(*|myhand)}
text=Direct Current deals 2 damage to any target. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Diregraf Horde
auto=token(Zombie Dec)
auto=may name(Exile 2 cards) target(<upto:2>*|graveyard) moveto(exile)
text=When Diregraf Horde enters the battlefield, create two 2/2 black Zombie creature tokens with decayed. When you do, exile up to two target cards from graveyards. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.)
mana={4}{B}
type=Creature
subtype=Zombie
power=3
toughness=4
[/card]
[card]
name=Diregraf Rebirth
target=creature|mygraveyard
auto=name(Return to battlefield) moveto(mybattlefield)
flashback={5}{B}{G}
otherrestriction=type(creature[fresh]|mygraveyard)~equalto~0
autohand={B}{G} restriction{type(creature[fresh]|mygraveyard)~morethan~2,can play sorcery}:name(Cast with 3 less) name(Cast with 3 less) activate castcard(normal)
autohand={1}{B}{G} restriction{type(creature[fresh]|mygraveyard)~equalto~2,can play sorcery}:name(Cast with 2 less) name(Cast with 2 less) activate castcard(normal)
autohand={2}{B}{G} restriction{type(creature[fresh]|mygraveyard)~equalto~1,can play sorcery}:name(Cast with 1 less) name(Cast with 1 less) activate castcard(normal)
auto=if paid(alternative) then all(this|mystack) moveto(myexile)
autograveyard={B}{G} restriction{type(creature[fresh]|mygraveyard)~morethan~4,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={1}{B}{G} restriction{type(creature[fresh]|mygraveyard)~equalto~4,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={2}{B}{G} restriction{type(creature[fresh]|mygraveyard)~equalto~3,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={3}{B}{G} restriction{type(creature[fresh]|mygraveyard)~equalto~2,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={4}{B}{G} restriction{type(creature[fresh]|mygraveyard)~equalto~1,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
text=This spell costs {1} less to cast for each creature that died this turn. -- Return target creature card from your graveyard to the battlefield. -- Flashback {5}{B}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{B}{G}
type=Sorcery
[/card]
[card]
name=Dirge Bat
abilities=flash,flying,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{B}{B} name(Mutate)
auto=transforms((,newability[@mutated(this):target(*[creature;planeswalker]|opponentBattlefield) destroy]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {4}{B}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flash -- Flying -- Whenever this creature mutates, destroy target creature or planeswalker an opponent controls.
mana={2}{B}{B}
type=Creature
subtype=Bat
power=3
toughness=3
[/card]
[card]
name=Dirty Rat
auto=choice target(opponent) ability$!name(discard) notatarget(*|myhand) reject !$ targetedplayer
text=When this creature enters the battlefield, target opponent discards a card.
mana={1}{B}
type=Host Creature
subtype=Rat
power=1
toughness=1
[/card]
[card]
name=Disallow
target=*|stack
auto=fizzle
text=Counter target spell, activated ability, or triggered ability. (Mana abilities can't be targeted.)
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Disaster Radius
auto=target(creature|myhand) transforms((,newability[damage:manacost all(creature|opponentbattlefield) ueot])) 
text=As an additional cost to cast Disaster Radius, reveal a creature card from your hand. -- Disaster Radius deals X damage to each creature your opponents control, where X is the revealed card's converted mana cost.
mana={5}{R}{R}
type=Sorcery
[/card]
[card]
name=Discerning Taste
aicode=activate target(*[zpos<=4]|mylibrary) moveto(myhand) and!( transforms((,newability[life:power:highest:creature[zpos<=4]:mylibrary controller],newability[all(*[zpos<=4]|mylibrary) moveto(mygraveyard)])) oneshot )!
auto=name(Look top 4 cards) reveal:4 optionone name(Get a Card) target(*|reveal) moveto(myhand) and!( life:power:highest:creature:reveal controller )! optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard. You gain life equal to the greatest power among creature cards put into your graveyard this way.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Disciple of Deceit
auto=@untapped(this):may name(Discard a card) target(*[-land]|myhand) reject and!( transforms((,newability[name(Search another card] target(*[manacost=manacost]|mylibrary) moveto(myhand) and!( shuffle )!])) oneshot )!
text=Inspired - Whenever Disciple of Deceit becomes untapped, you may discard a nonland card. If you do, search your library for a card with the same converted mana cost as that card, reveal it, put it into your hand, then shuffle your library.
mana={U}{B}
type=Creature
subtype=Human Rogue
power=1
toughness=3
[/card]
[card]
name=Disciple of the Sun
abilities=lifelink
auto=name(Return permanent) target(*[-instant;-sorcery;manacost<=3]|myGraveyard) moveto(myHand)
text=Lifelink -- When Disciple of the Sun enters the battlefield, return target permanent card with mana value 3 or less from your graveyard to your hand.
mana={4}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=3
[/card]
[card]
name=Discordant Piper
auto=_DIES_token(Goat,Creature Goat,0/1,white)
text=When Discordant Piper dies, create a 0/1 white Goat creature token.
mana={1}{B}
type=Creature
subtype=Zombie Satyr
power=2
toughness=1
[/card]
[card]
name=Discovery // Dispersal
abilities=flash
other={3}{U}{B} name(Dispersal)
restriction=can play sorcery
aicode=activate transforms((,newability[surveil],newability[draw:1 controller])) oneshot
auto=ifnot paid(alternative) then name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed draw:1 controller && surveil afterrevealedend revealend
auto=if paid(alternative) then ability$!name(return non-land permanent) name(return non-land permanent) moveto(ownerhand) notatarget(*[-land;manacost=convertedcost:highest:*:myBattlefield])!$ opponent
auto=if paid(alternative) then ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ opponent
text=Surveil 2, then draw a card. -- (To surveil 2, look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) // Each opponent returns a nonland permanent they control with the highest converted mana cost among permanents they control to its owner's hand, then discards a card.
mana={1}{UB}
type=Sorcery
[/card]
[card]
name=Disinformation Campaign
auto=draw:1 controller
auto=ability$!name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=@surveiled(*|mybattlefield,mystack):all(this) moveto(ownerhand)
text=When Disinformation Campaign enters the battlefield, you draw a card and each opponent discards a card. -- Whenever you surveil, return Disinformation Campaign to its owner's hand.
mana={1}{U}{B}
type=Enchantment
[/card]
[card]
name=Dismantling Wave
abilities=cycling
target=artifact,enchantment
auto=destroy
autohand=__CYCLING__({6}{W}{W})
autohand=@cycled(this|hand):destroy all(artifact,enchantment)
text=For each opponent, destroy up to one target artifact or enchantment that player controls. -- Cycling {6}{W}{W} ({6}{W}{W}, Discard this card: Draw a card.) -- When you cycle Dismantling Wave, destroy all artifacts and enchantments.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Dismissive Pyromancer
auto={R}{T}{D(*|myhand)}:draw:1
auto={2}{R}{T}{S}:damage:4 target(creature)
text={R}, {T}, Discard a card: Draw a card. -- {2}{R}, {T}, Sacrifice Dismissive Pyromancer: It deals 4 damage to target creature.
mana={1}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Displacer Beast
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto={3}{U}:name(Return to hand) moveto(ownerhand)
text=When Displacer Beast enters the battlefield, venture into the dungeon. (Enter the first room or advance to the next room.) -- Displacement-{3}{U}: Return Displacer Beast to its owner's hand.
mana={2}{U}
type=Creature
subtype=Cat Beast
power=3
toughness=2
[/card]
[card]
name=Display of Dominance
auto=choice name(Destroy) destroy target(*[blue;black;-creature])
auto=choice name(Protection) lord(*|mybattlefield) cantbetargetof(*[blue;black]|opponentstack)
text=Choose one -- Destroy target blue or black noncreature permanent. -- Permanents you control can't be the targets of blue or black spells your opponents control this turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Disposal Mummy
auto=target(*|opponentgraveyard) moveTo(exile)
text=When Disposal Mummy enters the battlefield, exile target card from an opponent's graveyard.
mana={2}{W}
type=Creature
subtype=Zombie Jackal
power=2
toughness=3
[/card]
[card]
name=Dispossess
auto=chooseanameopp name(Search that artifact) target(<anyamount>artifact[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( shuffle opponent )! chooseend
text=Choose an artifact card name. Search target opponent's graveyard, hand, and library for any number of cards with the chosen name and exile them. Then that player shuffles their library.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Disrupt Decorum
auto=all(creature|opponentBattlefield) _GOAD_
text=Goad all creatures you don't control. (Until your next turn, those creatures attack each combat if able and attack a player other than you if able.)
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Disrupting Shoal
other={E(other *|myhand)} name(Exile Card)
auto=if paid(alternative) then fizzle target(*[manacost=storedmanacost]|stack)
auto=ifnot paid(alternative) then fizzle target(*[manacost=prex]|stack)
text=You may exile a blue card with converted mana cost X from your hand rather than pay Disrupting Shoal's mana cost. -- Counter target spell if its converted mana cost is X.
mana={X}{U}{U}
type=Instant
subtype=Arcane
[/card]
[card]
name=Dissension in the Ranks
target=creature[blocking]
auto=transforms((,newability[target(other creature[blocking]) dynamicability<!powerstrike eachother!>])) ueot
text=Target blocking creature fights another target blocking creature.
mana={3}{R}{R}
type=Instant
[/card]
[card]
name=Dissenter's Deliverance
abilities=cycling
target=artifact
auto=destroy
autohand=__CYCLING__({G})
text=Destroy target artifact. -- Cycling {G} ({G}, Discard this card: Draw a card.)
mana={1}{G}
type=Instant
[/card]
[card]
name=District Guide
auto=may notatarget(*[basic;gate]|mylibrary) moveto(myhand)
text=When District Guide enters the battlefield, you may search your library for a basic land card or Gate card, reveal it, put it into your hand, then shuffle your library.
mana={2}{G}
type=Creature
subtype=Elf Scout
power=2
toughness=2
[/card]
[card]
name=Dive Down
target=creature|myBattlefield
auto=0/3
auto=opponentshroud
text=Target creature you control gets +0/+3 and gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.)
mana={U}
type=Instant
[/card]
[card]
name=Divest
target=player
aicode=activate reject notatarget(artifact,creature|targetedpersonshand)
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose card) notatarget(artifact,creature|reveal) moveto(ownerhand) and!( reject )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
text=Target player reveals their hand. You choose an artifact or creature card from it. That player discards that card.
mana={B}
type=Sorcery
[/card]
[card]
name=Divide by Zero
target=*[manacost>=1]|battlefield
auto=moveto(ownerhand)
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Return target spell or permanent with mana value 1 or greater to its owner's hand. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Divine Arrow
target=creature[attacking;blocking]
auto=damage:4
text=Divine Arrow deals 4 damage to target attacking or blocking creature.
mana={1}{W}
type=Instant
[/card]
[card]
name=Divine Gambit
target=*[artifact;creature;enchantment]|opponentbattlefield
auto=moveto(exile) && ability$!name(Put permanent in play) name(Put permanent in play) notatarget(*[-sorcery;-instant]|myhand) moveTo(mybattlefield)!$ opponent
text=Exile target artifact, creature, or enchantment an opponent controls. That player may put a permanent card from their hand onto the battlefield.
mana={W}{W}
type=Sorcery
[/card]
[card]
name=Divine Smite
restriction=type(*[creature;planeswalker]|opponentbattlefield)~morethan~0
auto=if type(creature[black]|opponentbattlefield)~morethan~0 then choice name(Exile black creature) name(Exile black creature) target(creature[black]|opponentbattlefield) moveto(exile)
auto=if type(planeswalker[black]|opponentbattlefield)~morethan~0 then choice name(Exile black planeswalker) name(Exile black planeswalker) target(planeswalker[black]|opponentbattlefield) moveto(exile)
auto=if type(creature[-black]|opponentbattlefield)~morethan~0 then choice name(Phase out non-black creature) name(Phase out non-black creature) target(creature[-black]|opponentbattlefield) phaseout
auto=if type(planeswalker[-black]|opponentbattlefield)~morethan~0 then choice name(Phase out non-black planeswalker) name(Phase out non-black planeswalker) target(planeswalker[-black]|opponentbattlefield) phaseout
text=Target creature or planeswalker an opponent controls phases out. If that permanent is black, exile it instead. (If it phases out, treat it and anything attached to it as though they don't exist until its controller's next turn.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Divine Visitation
auto=@movedto(creature[token]|mybattlefield):all(trigger) destroy && token(Angel,Creature Angel,4/4,white,flying,vigilance)
text=If one or more creature tokens would be created under your control, that many 4/4 white Angel creature tokens with flying and vigilance are created instead.
mana={3}{W}{W}
type=Enchantment
[/card]
[card]
name=Diviner's Lockbox
auto={1}{T}:ability$!chooseaname transforms((,newability[name(Look top card) if type(*[chosenname;zpos=1]|mylibrary)~equalto~0 then reveal:1 optionone name(Look top card) target(*|reveal) donothing optiononeend optiontwo all(*|reveal) placefromthetop(1) optiontwoend revealend],newability[if type(*[chosenname;zpos=1]|mylibrary)~morethan~0 then reveal:1 optionone name(Look top card) target(*|reveal) moveto(myhand) and!( draw:2 controller)! optiononeend afterrevealed sacrifice all(mysource) afterrevealedend revealend])) oneshot chooseend!$ controller asSorcery
text={1}, {T}: Choose a card name, then reveal the top card of your library. If that card has the chosen name, sacrifice Diviner's Lockbox and draw three cards. Activate this ability only any time you could cast a sorcery.
mana={4}
type=Artifact
[/card]
[card]
name=Diviner's Portent
aicode=activate transforms((,newability[draw:x controller])) oneshot
auto=name(Roll a d20) rolld20 20 winability scry:x scrycore delayed draw:x controller scrycoreend scryend winabilityend loseability if compare(lastrollresultplustype:*:myhandplusend)~lessthan~15 then draw:x controller else name(Scry and draw) scry:x scrycore delayed draw:x controller scrycoreend scryend loseabilityend rolld20end
text=Roll a d20 and add the number of cards in your hand. -- 1-14 | Draw X cards. -- 15+ | Scry X, then draw X cards.
mana={X}{U}{U}{U}
type=Instant
[/card]
[card]
name=Djeru's Renunciation
abilities=cycling
target=<upto:2>creature
auto=tap
autohand=__CYCLING__({W})
text=Tap up to two target creatures. -- Cycling {W} ({W}, Discard this card: Draw a card.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Djeru's Resolve
abilities=cycling
target=creature
auto=untap
auto=preventalldamage to(this)
autohand=__CYCLING__({2})
text=Untap target creature. Prevent all damage that would be dealt to it this turn. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={W}
type=Instant
[/card]
[card]
name=Djeru, With Eyes Open
abilities=vigilance
auto=target(planeswalker|mylibrary) moveto(myhand)
auto=@damaged(planeswalker):counter(0/0,1,Loyalty) all(trigger[to])
text=Vigilance -- When Djeru, With Eyes Open enters the battlefield, you may search your library for a planeswalker card, reveal it, put it into your hand, then shuffle your library. -- If a source would deal damage to a planeswalker you control, prevent 1 of that damage.
mana={3}{W}{W}
type=Legendary Creature
subtype=Human Warrior
power=4
toughness=3
[/card]
[card]
name=Djinn of Infinite Deceits
abilities=flying
auto={T}:moveto(mybattlefield) target(*[-legendary]|opponentbattlefield) && moveto(opponentbattlefield) target(*[-legendary]|myBattlefield)
auto={T}:restriction{combatbeginsonly} donothing
auto={T}:restriction{attackersonly} donothing
auto={T}:restriction{blockersonly} donothing
auto={T}:restriction{combatdamageonly} donothing
auto={T}:restriction{combatendsonly} donothing
text=Flying -- {T}: Exchange control of two target nonlegendary creatures. You can't activate this ability during combat.
mana={4}{U}{U}
type=Creature
subtype=Djinn
power=2
toughness=7
[/card]
[card]
name=Djinni Windseer
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=transforms((,newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot
auto=@dierolled(this) result(1) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(2) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(3) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(4) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(5) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(6) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(7) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(8) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(9) from(controller):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(10) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(11) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(12) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(13) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(14) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(15) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(16) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(17) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(18) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(19) from(controller):name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@dierolled(this) result(20) from(controller):name(Scry 3) scry:3 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- When Djinni Windseeker enters the battlefield, roll a d20. -- 1-9 | Scry 1. -- 10-19 | Scry 2. -- 20 | Scry 3.
mana={3}{U}
type=Creature
subtype=Djinn
power=3
toughness=3
[/card]
[card]
name=Dockside Extortionist
auto=name(Create treasures) token(Treasure Sur)*type:artifact:opponentbattlefield
auto=name(Create treasures) token(Treasure Sur)*type:enchantment:opponentbattlefield
text=When Dockside Extortionist enters the battlefield, create X Treasure tokens, where X is the number of artifacts and enchantments your opponents control. (Treasure tokens are artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={1}{R}
type=Creature
subtype=Goblin Pirate
power=1
toughness=2
[/card]
[card]
name=Dog Mor
anyzone=twicetype:*:myhand/twicetype:*:myhand cdaactive
text=This creature's power and toughness are each equal to twice the number of cards in your hand.
type=Creature
subtype=Dog Illusion
power=*
toughness=*
color=blue
[/card]
[card]
name=Dog Rin
type=Creature
subtype=Dog
power=1
toughness=1
color=white
[/card]
[card]
name=Dogged Pursuit
auto=@each my endofturn:life:-1 opponent && life:1 controller
text=At the beginning of your end step, each opponent loses 1 life and you gain 1 life.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Domesticated Hydra
auto=this(cantargetcard(*[-monstrous]) {X}{G}{G}{G}:becomes(monstrous) forever && counter(1/1,X) && transforms((,newability[trample])) forever
text={X}{G}{G}{G}: Monstrosity X. (If this creature isn't monstrous, put X +1/+1 counters on it and it becomes monstrous.) -- As long as Domesticated Hydra is monstrous, it has trample.
mana={2}{G}{G}
type=Creature
subtype=Hydra
power=3
toughness=3
[/card]
[card]
name=Domineering Will
target=player
auto=ability!$name(Gain control) name(Gain control) target(<upto:3>creature[-attacking]|opponentbattlefield) moveto(mybattlefield) and!( transforms((,newability[untap],newability[mustblock],newability[phaseaction[endofturn once sourceinplay] moveto(ownerbattlefield)])) ueot )! !$ targetedplayer
text=Target player gains control of up to three target nonattacking creatures until end of turn. Untap those creatures. They block this turn if able.
mana={3}{U}
type=Instant
[/card]
[card]
name=Domri's Ambush
target=creature|myBattlefield
auto=counter(1/1)
auto=transforms((,newability[target(creature,planeswalker|opponentbattlefield) dynamicability<!powerstrike!>])) ueot
text=Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature or planeswalker you don't control.
mana={R}{G}
type=Sorcery
[/card]
[card]
name=Domri's Nodorog
abilities=trample
auto=may moveTo(myhand) target(Domri^ City Smasher|myLibrary,myGraveyard)
text=Trample -- When Domri's Nodorog enters the battlefield, you may search your library and/or graveyard for a card named Domri, City Smasher, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{R}{G}
type=Creature
subtype=Beast
power=5
toughness=2
[/card]
[card]
name=Doom Foretold
auto=@each my upkeep:ability$!if type(*[-land;-token]|myBattlefield)~morethan~0 then sacrifice(*[-land;-token]|myBattlefield) itnot reject life:-2 controller draw:1 life:2 token(Knight,Creature Knight,2/2,white,vigilance) sacrifice(Doom Foretold) !$ opponent
auto=@each my upkeep:ability$!if type(*[-land;-token]|myBattlefield)~morethan~0 then sacrifice(*[-land;-token]|myBattlefield) itnot reject life:-2 controller draw:1 life:2 token(Knight,Creature Knight,2/2,white,vigilance) sacrifice(Doom Foretold) !$ opponent
text=At the beginning of each player's upkeep, that player sacrifices a nonland, nontoken permanent. If that player can't, they discard a card, they lose 2 life, you draw a card, you gain 2 life, you create a 2/2 white Knight creature token with vigilance, then you sacrifice Doom Foretold.
mana={2}{W}{B}
type=Enchantment
[/card]
[card]
name=Doom Whisperer
abilities=flying,trample
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto={L:2}:name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Flying, trample -- Pay 2 life: Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on the top of your library in any order.)
mana={3}{B}{B}
type=Creature
subtype=Nightmare Demon
power=6
toughness=6
[/card]
[card]
name=Doomed Artisan
auto=all(creature[sculpture]|mybattlefield) cantattack
auto=all(creature[sculpture]|mybattlefield) cantpwattack
auto=all(creature[sculpture]|mybattlefield) cantblock
auto=@each my endofturn:token(Sculpture,Creature Sculpture,type:creature[sculpture]:battlefield/type:creature[sculpture]:battlefield,artifact)
text=Sculptures you control can't attack or block. -- At the beginning of your end step, create a colorless Sculpture artifact creature token with "This creature's power and toughness are each equal to the number of Sculptures you control."
mana={2}{W}
type=Creature
subtype=Human Artificer
power=1
toughness=1
[/card]
[card]
name=Doomed Dissenter
auto=_DIES_token(Zombie,creature Zombie,2/2,black)
text=When Doomed Dissenter dies, create a 2/2 black Zombie creature token.
mana={1}{B}
type=Creature
subtype=Human
power=1
toughness=1
[/card]
[card]
name=Doomfall
target=opponent
auto=choice name(sacrifice) ability$!moveto(exile) target(creature|mybattlefield)!$ targetedplayer
auto=choice name(discard) if type(*[-land]|targetedpersonshand)~lessthan~1 then name(look) donothing notatarget(*|targetedpersonshand) else moveto(exile) notatarget(*[-land]|targetedpersonshand)
text=Choose one -- Target opponent exiles a creature he or she controls. -- Target opponent reveals his or her hand. You choose a nonland card from it. Exile that card.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Doomsday
auto=name(Search 5 cards) target(<5>*|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(mylibrary) and!( transforms((,newability[all(*[-fresh]|mylibrary) moveto(exile)],newability[all(*|mygraveyard) moveto(exile)])) oneshot )! )!
auto=life:-halfuplifetotal controller
text=Search your library and graveyard for five cards and exile the rest. Put the chosen cards on top of your library in any order. You lose half your life, rounded up.
mana={B}{B}{B}
type=Sorcery
[/card]
[card]
name=Doomskar
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{W}{W} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=destroy all(creature)
text=Destroy all creatures. -- Foretell {1}{W}{W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Doomskar Oracle
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={W} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:life:2 controller
text=Whenever you cast your second spell each turn, you gain 2 life. -- Foretell {W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=2
[/card]
[card]
name=Doomskar Titan
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={4}{R} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=all(creature|mybattlefield) transforms((,newability[1/0],newability[haste])) ueot
text=When Doomskar Titan enters the battlefield, creatures you control get +1/+0 and gain haste until end of turn. -- Foretell {4}{R} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={4}{R}{R}
type=Creature
subtype=Giant Berserker
power=4
toughness=4
[/card]
[card]
name=Dormant Gomazoa
abilities=flying,doesnotuntap
auto=tap(noevent)
auto=@targeted(controller):untap
text=Flying -- Dormant Gomazoa enters the battlefield tapped. -- Dormant Gomazoa doesn't untap during your untap step. -- Whenever you become the target of a spell, you may untap Dormant Gomazoa.
mana={1}{U}{U}
type=Creature
subtype=Jellyfish
power=5
toughness=5
[/card]
[card]
name=Double Deal
auto=damage:3 opponent
text=Choose another player. Double Deal deals 3 damage to that player now and deals an additional 3 damage to the player at the beginning of the next game with the player.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Double Dip
auto=life:5 controller
text=Choose another player. Gain 5 life now and an additional 5 life at the beginning of the next game with that player.
mana={4}{W}
type=Instant
[/card]
[card]
name=Double Major
target=creature|mybattlefield
auto=clone options(nolegend)
text=Copy target creature spell you control, except it isn't legendary if the spell is legendary. (A copy of a creature spell becomes a token.)
mana={G}{U}
type=Instant
[/card]
[card]
name=Double Stroke
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@movedto(sorcery[chosenname]|mystack):may name(Copy spell) all(trigger[to]) activate castcard(copied noevent)],newability[@movedto(instant[chosenname]|mystack):may name(Copy spell) all(trigger[to]) activate castcard(copied noevent)])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Whenever you cast an instant or sorcery spell with the chosen name, you may copy it. You may choose new targets for the copy.
type=Conspiracy
[/card]
[card]
name=Double Take
auto=draw:2 controller
text=Choose another player. Draw two cards now and draw an additional two cards at the beginning of the next game with that player.
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Double Vision
auto=@movedTo(*[instant;sorcery]|myStack) restriction{thisturn(*|myStack)~lessthan~1} turnlimited:all(trigger[to]) activate castcard(copied noevent)
text=Whenever you cast your first instant or sorcery spell each turn, copy that spell. You may choose new targets for the copy.
mana={3}{R}{R}
type=Enchantment
[/card]
[card]
name=Doublecast
auto=emblem transforms((,newability[@movedto(*[instant;sorcery]|myStack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot
text=When you cast your next instant or sorcery spell this turn, copy that spell. You may choose new targets for the copy.
mana={R}{R}
type=Sorcery
[/card]
[card]
name=Doubling Season
auto=@tokencreated(*|myBattlefield):name(Double the token) all(trigger) clone options(notrigger)
auto=@counteradded(duplicateAll) from(*|myBattlefield):ability$!name(Double the counter) donothing!$ controller
text=If an effect would put one or more tokens onto the battlefield under your control, it puts twice that many of those tokens onto the battlefield instead. -- If an effect would place one or more counters on a permanent you control, it places twice that many of those counters on that permanent instead.
mana={4}{G}
type=Enchantment
[/card]
[card]
name=Douser of Lights
mana={4}{B}
type=Creature
subtype=Horror
power=4
toughness=5
[/card]
[card]
name=Dovin's Acuity
auto=life:2 controller
auto=draw:1 controller
auto=@movedto(*[instant]|mystack) restriction{assorcery}:may moveto(ownerhand) all(this)
text=When Dovin's Acuity enters the battlefield, you gain 2 life and draw a card. -- Whenever you cast an instant spell during your main phase, you may return Dovin's Acuity to its owner's hand.
mana={1}{W}{U}
type=Enchantment
[/card]
[card]
name=Dovin's Automaton
auto=aslongas(planeswalker[Dovin]|mybattlefield) +2/+2
auto=aslongas(planeswalker[Dovin]|mybattlefield) vigilance
text=As long as you control a Dovin planeswalker, Dovin's Automaton gets +2/+2 and has vigilance. (Attacking doesn't cause it to tap.)
mana={4}
type=Artifact Creature
subtype=Homunculus
power=3
toughness=3
[/card]
[card]
name=Dovin's Dismissal
auto=may target(creature[tapped]) moveto(ownerlibrary)
auto=ability$!name(Choose one) choice name(Don't search) donothing _ choice name(Search library) moveto(myhand) target(Dovin^ Architect of Law|mylibrary) _ choice name(Search graveyard) moveto(myhand) target(Dovin^ Architect of Law|mygraveyard)!$ controller
text=Put up to one target tapped creature on top of its owner's library. You may search your library and/or graveyard for a card named Dovin, Architect of Law, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={2}{W}{U}
type=Instant
[/card]
[card]
name=Dovin's Veto
abilities=nofizzle
target=*[-creature]|stack
auto=fizzle
text=This spell can't be countered. -- Counter target noncreature spell.
mana={W}{U}
type=Instant
[/card]
[card]
name=Down // Dirty
abilities=hasnokicker
other={2}{G} name(Dirty)
kicker={2}{G} name(Fuse)
otherrestriction=type(*|mygraveyard)~morethan~0
auto=if paid(alternative) then ability$!name(Return to hand) name(Return to hand) moveTo(myhand) target(*|mygraveyard)!$ controller
auto=ifnot paid(alternative) then target(player) ability$!name(Discard 2 cards) name(Discard 2 cards) target(<2>*|myhand) reject!$ targetedplayer
auto=if paid(kicker) then ability$!name(Return to hand) name(Return to hand) moveTo(myhand) target(*|mygraveyard)!$ controller
text=Target player discards two cards. // Return target card from your graveyard to your hand. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Dowsing Dagger
auto=token(Plant,creature Plant,0/2,green,defender)*2
auto=@combatdamaged(player) from(this):target(Dowsing Dagger) flip(Lost Vale)
auto=teach(creature) 2/1
auto={2}:equip
text=When Dowsing Dagger enters the battlefield, target opponent creates two 0/2 green Plant creature tokens with defender. -- Equipped creature gets +2/+1. -- Whenever equipped creature deals combat damage to a player, you may transform Dowsing Dagger. -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Draco
abilities=flying
autoexile=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-2) forcedalive
autograveyard=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-2) forcedalive
autohand=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-2) forcedalive
auto=this(pbasiclandtypes=0) upcost[{10}] sacrifice
auto=this(pbasiclandtypes=1) upcost[{8}] sacrifice
auto=this(pbasiclandtypes=2) upcost[{6}] sacrifice
auto=this(pbasiclandtypes=3) upcost[{4}] sacrifice
auto=this(pbasiclandtypes=4) upcost[{2}] sacrifice
auto=this(pbasiclandtypes>4) upcost[{0}] donothing
text=Domain - Draco costs {2} less to cast for each basic land type among lands you control. -- Flying -- Domain - At the beginning of your upkeep, sacrifice Draco unless you pay {10}. This cost is reduced by {2} for each basic land type among lands you control.
mana={16}
type=Artifact Creature
subtype=Dragon
power=9
toughness=9
[/card]
[card]
name=Draconic Disciple
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
auto={7}{T}{S}:create(dragon:creature dragon:5/5:red:flying)
text={T}: Add one mana of any color. -- {7}, {T}, Sacrifice Draconic Disciple: Create a 5/5 red Dragon creature token with flying.
mana={1}{R}{G}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Draconic Intervention
abilities=exiledeath
auto=all(creature[-dragon;-protection from red]) exiledeath
auto=all(creature[-dragon]|battlefield) damage:storedmanacost
text=As an additional cost to cast this spell, exile an instant or sorcery card from your graveyard. -- Draconic Intervention deals X damage to each non-Dragon creature, where X is the exiled card's mana value. If a creature dealt damage this way would die this turn, exile it instead. -- Exile Draconic Intervention.
mana={2}{R}{R}{S(*[instant;sorcery]|mygraveyard)}
type=Sorcery
[/card]
[card]
name=Drag to the Underworld
target=creature
anyzone=foreach(manaB|myBattlefield) changecost(colorless:-1) forcedalive
auto=destroy
text=This spell costs {X} less to cast, where X is your devotion to black. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.) -- Destroy target creature.
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Dragon Hunter
auto=protection from(dragon)
auto=@combat(attacking) source(dragon[flying]|opponentbattlefield):name(Can block flying dragon) transforms((,newability[reach])) ueot
text=Protection from Dragons -- Dragon Hunter can block Dragons as though it had reach.
mana={W}
type=Creature
subtype=Human Warrior
power=2
toughness=1
[/card]
[card]
name=Dragon Throne of Tarkir
auto={3}:equip
auto=teach(creature) defender
auto=teach(creature) {2}{T}:lord(other creature|myBattlefield) dynamicability<!mytgt powerpumpboth!> ueot
text=Equipped creature has defender and "{2}, {T}: Other creatures you control gain trample and get +X/+X until end of turn, where X is this creature's power." -- Equip {3}
mana={4}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Dragon Turtle
abilities=flash
auto=freeze
auto=name(Drag Below) target(creature|opponentbattlefield) freeze
text=Flash -- Drag Below - When Dragon Turtle enters the battlefield, tap it and up to one target creature an opponent controls. They don't untap during their controllers' next untap steps.
mana={1}{U}{U}
type=Creature
subtype=Dragon Turtle
power=3
toughness=5
[/card]
[card]
name=Dragon's Approach
auto=damage:3 opponent
auto=if type(Dragon's Approach|mygraveyard)~morethan~3 then may name(Search Dragon and exile 5 Dragon's Approach) target(dragon|mylibrary) moveto(mybattlefield) and!( transforms((,newability[shuffle],newability[target(<5>*[Dragon's Approach]|mygraveyard) moveto(myexile)])) oneshot )!
text=Dragon's Approach deals 3 damage to each opponent. You may exile Dragon's Approach and four cards named Dragon's Approach from your graveyard. If you do, search your library for a Dragon creature card, put it onto the battlefield, then shuffle. -- A deck can have any number of cards named Dragon's Approach.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Dragon's Disciple
auto=@targeted(*[dragon]|myBattlefield) from(*[|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
auto=if type(*[dragon]|mybattlefield)~morethan~0 then counter(1/1)
auto=if type(*[dragon]|mybattlefield)~equalto~0 then if type(*[dragon]|myhand)~morethan~0 then may name(Reveal a dragon) counter(1/1)
text=As Dragon's Disciple enters the battlefield, you may reveal a Dragon card from your hand. If you do, or if you control a Dragon, Dragon's Disciple enters the battlefield with a +1/+1 counter on it. -- Dragons you control have ward {1}. (Whenever a Dragon you control becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.)
mana={1}{W}
type=Creature
subtype=Human Monk
power=1
toughness=3
[/card]
[card]
name=Dragon's Eye Savants
facedown={3}
autofacedown=aslongas(*[blue]|myhand) {0}:name(Reveal blue card and turn) morph
autofaceup=name(Look opponent hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) )!
text=Morph-Reveal a blue card in your hand. (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Dragon's Eye Savants is turned face up, look at target opponent's hand.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=0
toughness=6
[/card]
[card]
name=Dragon's Fire
target=creature,planeswalker
auto=choice name(Don't choose or reveal any dragon) damage:3
auto=if type(dragon[power=0]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 0) name(Choose dragon with power 0) damage:0
auto=if type(dragon[power=1]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 1) name(Choose dragon with power 1) damage:1
auto=if type(dragon[power=2]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 2) name(Choose dragon with power 2) damage:2
auto=if type(dragon[power=3]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 3) name(Choose dragon with power 3) damage:3
auto=if type(dragon[power=4]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 4) name(Choose dragon with power 4) damage:4
auto=if type(dragon[power=5]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 5) name(Choose dragon with power 5) damage:5
auto=if type(dragon[power=6]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 6) name(Choose dragon with power 6) damage:6
auto=if type(dragon[power=7]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 7) name(Choose dragon with power 7) damage:7
auto=if type(dragon[power=8]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 8) name(Choose dragon with power 8) damage:8
auto=if type(dragon[power=9]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 9) name(Choose dragon with power 9) damage:9
auto=if type(dragon[power=10]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 10) name(Choose dragon with power 10) damage:10
auto=if type(dragon[power=11]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 11) name(Choose dragon with power 11) damage:11
auto=if type(dragon[power=12]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 12) name(Choose dragon with power 12) damage:12
auto=if type(dragon[power=13]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 13) name(Choose dragon with power 13) damage:13
auto=if type(dragon[power=14]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 14) name(Choose dragon with power 14) damage:14
auto=if type(dragon[power=15]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 15) name(Choose dragon with power 15) damage:15
auto=if type(dragon[power=16]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 16) name(Choose dragon with power 16) damage:16
auto=if type(dragon[power=17]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 17) name(Choose dragon with power 17) damage:17
auto=if type(dragon[power=18]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 18) name(Choose dragon with power 18) damage:18
auto=if type(dragon[power=19]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 19) name(Choose dragon with power 19) damage:19
auto=if type(dragon[power>=20]|mybattlefield)~morethan~0 then choice name(Choose dragon with power 20) name(Choose dragon with power 20) damage:20
auto=if type(dragon[power=0]|myhand)~morethan~0 then choice name(Reveal dragon with power 0) name(Reveal dragon with power 0) damage:0
auto=if type(dragon[power=1]|myhand)~morethan~0 then choice name(Reveal dragon with power 1) name(Reveal dragon with power 1) damage:1
auto=if type(dragon[power=2]|myhand)~morethan~0 then choice name(Reveal dragon with power 2) name(Reveal dragon with power 2) damage:2
auto=if type(dragon[power=3]|myhand)~morethan~0 then choice name(Reveal dragon with power 3) name(Reveal dragon with power 3) damage:3
auto=if type(dragon[power=4]|myhand)~morethan~0 then choice name(Reveal dragon with power 4) name(Reveal dragon with power 4) damage:4
auto=if type(dragon[power=5]|myhand)~morethan~0 then choice name(Reveal dragon with power 5) name(Reveal dragon with power 5) damage:5
auto=if type(dragon[power=6]|myhand)~morethan~0 then choice name(Reveal dragon with power 6) name(Reveal dragon with power 6) damage:6
auto=if type(dragon[power=7]|myhand)~morethan~0 then choice name(Reveal dragon with power 7) name(Reveal dragon with power 7) damage:7
auto=if type(dragon[power=8]|myhand)~morethan~0 then choice name(Reveal dragon with power 8) name(Reveal dragon with power 8) damage:8
auto=if type(dragon[power=9]|myhand)~morethan~0 then choice name(Reveal dragon with power 9) name(Reveal dragon with power 9) damage:9
auto=if type(dragon[power=10]|myhand)~morethan~0 then choice name(Reveal dragon with power 10) name(Reveal dragon with power 10) damage:10
auto=if type(dragon[power=11]|myhand)~morethan~0 then choice name(Reveal dragon with power 11) name(Reveal dragon with power 11) damage:11
auto=if type(dragon[power=12]|myhand)~morethan~0 then choice name(Reveal dragon with power 12) name(Reveal dragon with power 12) damage:12
auto=if type(dragon[power=13]|myhand)~morethan~0 then choice name(Reveal dragon with power 13) name(Reveal dragon with power 13) damage:13
auto=if type(dragon[power=14]|myhand)~morethan~0 then choice name(Reveal dragon with power 14) name(Reveal dragon with power 14) damage:14
auto=if type(dragon[power=15]|myhand)~morethan~0 then choice name(Reveal dragon with power 15) name(Reveal dragon with power 15) damage:15
auto=if type(dragon[power=16]|myhand)~morethan~0 then choice name(Reveal dragon with power 16) name(Reveal dragon with power 16) damage:16
auto=if type(dragon[power=17]|myhand)~morethan~0 then choice name(Reveal dragon with power 17) name(Reveal dragon with power 17) damage:17
auto=if type(dragon[power=18]|myhand)~morethan~0 then choice name(Reveal dragon with power 18) name(Reveal dragon with power 18) damage:18
auto=if type(dragon[power=19]|myhand)~morethan~0 then choice name(Reveal dragon with power 19) name(Reveal dragon with power 19) damage:19
auto=if type(dragon[power>=20]|myhand)~morethan~0 then choice name(Reveal dragon with power 20) name(Reveal dragon with power 20) damage:20
text=As an additional cost to cast this spell, you may reveal a Dragon card from your hand or choose a Dragon you control. -- Dragon's Fire deals 3 damage to target creature or planeswalker. If you revealed a Dragon card or chose a Dragon as you cast this spell, Dragon's Fire deals damage equal to the power of that card or creature instead.
mana={1}{R}
type=Instant
[/card]
[card]
name=Dragon's Hoard
auto=@movedTo(*[Dragon]|myBattlefield):counter(0/0,1,gold)
auto={T}{C(0/0,-1,gold)}:draw:1
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=Whenever a Dragon enters the battlefield under your control, put a gold counter on Dragon's Hoard. -- {T}, Remove a gold counter from Dragon's Hoard: Draw a card. -- {T}: Add one mana of any color.
mana={3}
type=Artifact
[/card]
[card]
name=Dragon's Presence
target=creature[attacking;blocking]
auto=damage:5
text=Dragon's Presence deals 5 damage to target attacking or blocking creature.
mana={2}{W}
type=Instant
[/card]
[card]
name=Dragon's Rage Channeler
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=@movedTo(*[-creature]|myStack):name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
auto=while(restriction{delirium}) 2/2
auto=while(restriction{delirium}) flying
auto=while(restriction{delirium}) mustattack
text=Whenever you cast a noncreature spell, surveil 1. (Look at the top card of your library. You may put that card into your graveyard.) -- Delirium - As long as there are four or more card types among cards in your graveyard, Dragon's Rage Channeler gets +2/+2, has flying, and attacks each combat if able.
mana={R}
type=Creature
subtype=Human Shaman
power=1
toughness=1
[/card]
[card]
name=Dragonborn Champion
abilities=trample
auto=@damaged(player) from(*|myzones) restriction{compare(thatmuch)~morethan~4}:name(Draw card) draw:1 controller
text=Trample -- Whenever a source you control deals 5 or more damage to a player, draw a card.
mana={2}{R}{G}
type=Creature
subtype=Dragon Warrior
power=5
toughness=3
[/card]
[card]
name=Dragonkin Berserker
abilities=boast,first strike
auto={4}{R} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && token(Dragon,Creature Dragon,5/5,red,flying) limit:hasabilitytwoboastplus1plusend
auto={3}{R} restriction{didattack,compare(hascntbstreduce)~equalto~1}:doboast && token(Dragon,Creature Dragon,5/5,red,flying) limit:hasabilitytwoboastplus1plusend
auto={2}{R} restriction{didattack,compare(hascntbstreduce)~equalto~2}:doboast && token(Dragon,Creature Dragon,5/5,red,flying) limit:hasabilitytwoboastplus1plusend
auto={1}{R} restriction{didattack,compare(hascntbstreduce)~equalto~3}:doboast && token(Dragon,Creature Dragon,5/5,red,flying) limit:hasabilitytwoboastplus1plusend
auto={R} restriction{didattack,compare(hascntbstreduce)~morethan~3}:doboast && token(Dragon,Creature Dragon,5/5,red,flying) limit:hasabilitytwoboastplus1plusend
auto=foreach(dragon|mybattlefield) counter(0/0,1,MyEffect)
auto=foreach(dragon|mybattlefield) all(*[boast]|mybattlefield) counter(0/0,1,BstReduce)
auto=@movedTo(*[boast]|mybattlefield):foreach(dragon|mybattlefield) all(trigger[to]) counter(0/0,1,BstReduce)
auto=@movedTo(dragon|mybattlefield):counter(0/0,1,MyEffect)
auto=@movedTo(dragon|mybattlefield):all(*[boast]|mybattlefield) counter(0/0,1,BstReduce)
auto=@movedTo(dragon|nonbattlezone) from(mybattlefield):counter(0/0,-1,MyEffect)
auto=@movedTo(dragon|nonbattlezone) from(mybattlefield):all(*[boast]|mybattlefield) counter(0/0,-1,BstReduce)
auto=@movedTo(this|nonbattlezone) from(mybattlefield):thisforeach(counter{0/0.1.MyEffect}>0) all(*[boast]|mybattlefield) counter(0/0,-1,BstReduce)
text=First strike -- Boast abilities you activate cost {1} less to activate for each Dragon you control. -- Boast-{4}{R}: Create a 5/5 red Dragon creature token with flying. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={1}{R}
type=Creature
subtype=Human Berserker
power=2
toughness=2
[/card]
[card]
name=Dragonlord Atarka
abilities=flying,trample
auto=thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature;planeswalker|opponentBattlefield) damage:1!$ controller
text=Flying, trample -- When Dragonlord Atarka enters the battlefield, it deals 5 damage divided as you choose among any number of target creatures and/or planeswalkers your opponents control.
mana={5}{R}{G}
type=Legendary Creature
subtype=Elder Dragon
power=8
toughness=8
[/card]
[card]
name=Dragonlord's Prerogative
abilities=nofizzle alternative
auto=draw:4 controller
other={4}{U}{U} name(Can't be countered)
otherrestriction=compare(type:dragon:myhandplustype:dragon:mybattlefieldplusend)~morethan~0
text=As an additional cost to cast Dragonlord's Prerogative, you may reveal a Dragon card from your hand. -- If you revealed a Dragon card or controlled a Dragon as you cast Dragonlord's Prerogative, Dragonlord's Prerogative can't be countered. -- Draw four cards.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Dragonsguard Elite
auto=@movedto(*[instant;sorcery]|mystack):name(Put 1/1 counter) counter(1/1)
auto={4}{G}{G}:name(Double 1/1 counters) thisforeach(counter{1/1.1}) counter(1/1,1)
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, put a +1/+1 counter on Dragonsguard Elite. -- {4}{G}{G}: Double the number of +1/+1 counters on Dragonsguard Elite.
mana={1}{G}
type=Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Dragonshift
abilities=overload
target=creature|mybattlefield
auto=ueot loseabilities
auto=flying ueot
auto=ueot transforms((,setpower=4,settoughness=4))
auto=ueot transforms((Dragon,blue,red))
other={3}{U}{U}{R}{R} name(Overload)
auto=overload all(creature|myBattlefield) ueot transforms((,setpower=4,settoughness=4))
auto=overload all(creature|myBattlefield) ueot transforms((Dragon,blue,red))
auto=overload all(creature|myBattlefield) ueot loseabilities
auto=overload all(creature|myBattlefield) flying ueot
text=Until end of turn, target creature you control becomes a 4/4 blue and red Dragon, loses all abilities, and gains flying. -- Overload {3}{U}{U}{R}{R} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={1}{U}{R}
type=Instant
[/card]
[card]
name=Drake Hav
abilities=flying
type=Creature
subtype=Drake
power=2
toughness=2
color=blue
[/card]
[card]
name=Drake Haven
auto=@movedto(*|mygraveyard) from(myhand):may pay({1}) token(Drake,creature Drake,blue,2/2,flying)
text=Whenever you cycle or discard a card, you may pay {1}. If you do, create a 2/2 blue Drake creature token with flying.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Drake Tal
abilities=flying
type=Creature
subtype=Drake
power=2
toughness=2
color=blue
[/card]
[card]
name=Drakuseth, Maw of Flames
abilities=flying
auto=_ATTACKING_may name(Deals 3 damages to each of up to two other targets) name(Deals 3 damages to each of up to two other targets) damage:3 target(<2>player,creature,planeswalker)
auto=_ATTACKING_name(Deals 4 damages to any target) name(Deals 4 damagess to any target) damage:4 target(player,creature,planeswalker)
text=Flying -- Whenever Drakuseth, Maw of Flames attacks, it deals 4 damage to any target and 3 damage to each of up to two other targets.
mana={4}{R}{R}{R}
type=Legendary Creature
subtype=Dragon
power=7
toughness=7
[/card]
[card]
name=Dralnu, Lich Lord
abilities=undamageable
auto=_ENRAGE_ability$!name(sacrifice) notatarget(<storedthatmuch>*|mybattlefield) sacrifice!$ controller
auto={T}:name(Instant or sorcery gains flashback) target(*[instant;sorcery]|myGraveyard) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath])) ueot
text=If damage would be dealt to Dralnu, Lich Lord, sacrifice that many permanents instead.  -- {T}: Target instant or sorcery card in your graveyard gains flashback until end of turn. The flashback cost is equal to its mana cost. (You may cast that card from your graveyard for its flashback cost. Then exile it.)
mana={3}{U}{B}
type=Legendary Creature
subtype=Zombie Wizard
power=3
toughness=3
[/card]
[card]
name=Dramatic Finale
auto=lord(creature[token]|mybattlefield) 1/1
auto=@movedto(creature[-token]|graveyard) from(mybattlefield) turnlimited:name(Create Inkling) token(Inkling,Creature Inkling,2/1,white,black,flying)
text=Creature tokens you control get +1/+1. -- Whenever one or more nontoken creatures you control die, create a 2/1 white and black Inkling creature token with flying. This ability triggers only once each turn.
mana={WB}{WB}{WB}{WB}
type=Enchantment
[/card]
[card]
name=Drana's Silencer
auto=target(creature|opponentBattlefield) -calculateparty/-calculateparty ueot
text=When Drana's Silencer enters the battlefield, target creature an opponent controls gets -X/-X until end of turn, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={5}{B}
type=Creature
subtype=Vampire Rogue
power=3
toughness=2
[/card]
[card]
name=Drana, the Last Bloodchief
abilities=flying
auto=_ATTACKING_ability$!name(Choose a non-legendary creature) notAtarget(creature[-legendary]|opponentGraveyard) moveTo(opponentBattlefield) and!( counter(1/1.1) and!(becomes(vampire) forever)! )! !$ opponent
text=Flying -- Whenever Drana, the Last Bloodchief attacks, defending player chooses a nonlegendary creature card in your graveyard. You return that card to the battlefield with a +1/+1 counter on it. The creature is a Vampire in addition to its other types.
mana={3}{B}{B}
type=Legendary Creature
subtype=Vampire Cleric
power=4
toughness=4
[/card]
[card]
name=Drannith Healer
abilities=cycling
auto=@cycled(*|myHand):life:1 controller
autohand=__CYCLING__({1})
text=Whenever you cycle another card, you gain 1 life. -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={1}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Drannith Magistrate
auto=maxCast(*|opponentbattlefield,opponentstack,opponentgraveyard,opponentlibrary,opponentexile])0 opponent
text=Your opponents can't cast spells from anywhere other than their hands.
mana={1}{W}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Drannith Stinger
abilities=cycling
auto=@cycled(*|myHand):damage:1 opponent
autohand=__CYCLING__({1})
text=Whenever you cycle another card, Drannith Stinger deals 1 damage to each opponent. -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={1}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Draugr Necromancer
auto=@movedTo(creature[-token]|graveyard) from(opponentbattlefield):transforms((,newability[all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(opponentexile) and!( counter(0/0.1.Ice) )!])) forever
auto={0}:name(Cast card with Ice counter) name(Cast card with Ice counter) target(creature[counter{0/0.1.Ice}]|opponentexile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.Ice)],newability[canplayfromexile],newability[this(variable{snowdiffmana}>0) anytypeofmana],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.Ice)])) ueot )!
text=If a nontoken creature an opponent controls would die, exile that card with an ice counter on it instead. -- You may cast spells from among cards in exile your opponents own with ice counters on them, and you may spend mana from snow sources as though it were mana of any color to cast those spells.
mana={3}{B}
type=Snow Creature
subtype=Zombie Cleric
power=4
toughness=4
[/card]
[card]
name=Draugr Recruiter
abilities=boast
auto={3}{B} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(myhand) limit:hasabilitytwoboastplus1plusend
auto={2}{B} restriction{didattack,compare(hascntbstreduce)~equalto~1}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(myhand) limit:hasabilitytwoboastplus1plusend
auto={1}{B} restriction{didattack,compare(hascntbstreduce)~equalto~2}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(myhand) limit:hasabilitytwoboastplus1plusend
auto={B} restriction{didattack,compare(hascntbstreduce)~morethan~2}:doboast && name(Put back to hand) name(Put back to hand) target(creature|mygraveyard) moveto(myhand) limit:hasabilitytwoboastplus1plusend
text=Boast-{3}{B}: Return target creature card from your graveyard to your hand. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={3}{B}
type=Creature
subtype=Zombie Cleric
power=3
toughness=3
[/card]
[card]
name=Draugr Thought-Thief
aicode=activate moveTo(ownergraveyard) target(*[zpos=1]|opponentlibrary)
auto=target(player) name(Look player library) reveal:1 revealzone(targetedpersonslibrary) optionone name(Put in graveyard) target(<upto:1>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(Put back) target(<1>*|reveal) moveto(ownerlibrary) optiontwoend revealend
text=When Draugr Thought-Thief enters the battlefield, look at the top card of target player's library. You may put that card into their graveyard.
mana={2}{U}
type=Creature
subtype=Zombie Rogue
power=3
toughness=2
[/card]
[card]
name=Draugr's Helm
autostack=may name(Create zombie and attach) pay({2}{B}) name(Create zombie and attach) moveTo(mybattlefield) and!( transforms((,newability[token(Zombie^Creature Zombie Berserker^2/2^black),newability[rehook target(berserker[token;zombie;fresh]|mybattlefield)])) oneshot )!
auto={4}:equip
auto=teach(creature) 2/2
auto=teach(creature) menace
text=When Draugr's Helm enters the battlefield, you may pay {2}{B}. If you do, create a 2/2 black Zombie Berserker creature token, then attach Draugr's Helm to it. -- Equipped creature gets +2/+2 and has menace. (It can't be blocked except by two or more creatures.) -- Equip {4}
mana={1}{B}
type=Artifact
subttype=Equipment
[/card]
[card]
name=Drawn from Dreams
aicode=activate target(*[zpos<=7]|mylibrary) moveto(ownerhand)
auto=name(look) reveal:7 optionone name(Get two card) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top seven cards of your library. Put two of them into your hand and the rest on the bottom of your library in a random order.
mana={2}{U}{U}
type=Sorcery
[/card]
[card]
name=Dread Presence
auto=@movedTo(Swamp|myBattlefield):name(Choose one) ability$!name(Choose one) choice name(Draw and lose life) draw:1 controller && life:-1 controller _ choice name(Damage player and gain life) damage:2 target(player) && life:2 controller _ choice name(Damage creature and gain life) damage:2 target(creature) && life:2 controller _ choice name(Damage planeswalker and gain life) damage:2 target(planeswalker) && life:2 controller!$ controller
text=Whenever a Swamp enters the battlefield under your control, Choose one -- You draw a card and you lose 1 life. -- Dread Presence deals 2 damage to any target and you gain 2 life.
mana={3}{B}
type=Creature
subtype=Nightmare
power=3
toughness=3
[/card]
[card]
name=Dread Rider
auto={1}{B}{T}{E(creature|mygraveyard)}:life:-3 opponent
text={1}{B}, {T}, Exile a creature card from your graveyard: Target opponent loses 3 life.
mana={5}{B}
type=Creature
subtype=Spirit Knight
power=3
toughness=7
[/card]
[card]
name=Dread Shade
auto={B}:+1/+1 ueot
text={B}: Dread Shade gets +1/+1 until end of turn.
mana={B}{B}{B}
type=Creature
subtype=Shade
power=3
toughness=3
[/card]
[card]
name=Dread Summons
auto=deplete:X opponent && deplete:X controller
auto=@movedTo(creature|graveyard) from(library):all(trigger[to]) (token(Zombie,Creature Zombie,2/2,black) tap(noevent)) controller)!
text=Each player puts the top X cards of their library into their graveyard. For each creature card put into a graveyard this way, you create a tapped 2/2 black Zombie creature token.
mana={X}{B}{B}
type=Sorcery
[/card]
[card]
name=Dread Wanderer
auto=tap
autograveyard={2}{B}:moveto(mybattlefield) asSorcery restriction{type(*|myhand)~lessthan~2}
text=Dread Wanderer enters the battlefield tapped. -- {2}{B}: Return Dread Wanderer from your graveyard to the battlefield. Activate this ability only any time you could cast a sorcery and only if you have one or fewer cards in hand.
mana={B}
type=Creature
subtype=Zombie Jackal
power=2
toughness=1
[/card]
[card]
name=Dreadful Apathy
target=creature
auto=cantattack
auto=cantpwattack
auto=cantblock
auto={2}{W}:name(Exile enchanted creature) imprint
text=Enchant creature -- Enchanted creature can't attack or block. -- {2}{W}: Exile enchanted creature.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Dreadhorde Arcanist
abilities=trample
auto=_ATTACKING_may target(*[instant;sorcery;manacost<=power]|mygraveyard) activate castcard(normal) and!(transforms((,newability[gainedexiledeath])) forever)!
text=Trample -- Whenever Dreadhorde Arcanist attacks, you may cast target instant or sorcery card with converted mana cost less than or equal to Dreadhorde Arcanist's power from your graveyard without paying its mana cost. If that card would be put into your graveyard this turn, exile it instead.
mana={1}{R}
type=Creature
subtype=Zombie Wizard
power=1
toughness=3
[/card]
[card]
name=Dreadhorde Butcher
abilities=haste
auto=@combatdamaged(player) from(this):counter(1/1)
auto=@combatdamaged(planeswalker) from(this):counter(1/1)
auto=_DIES_damage:power target(creature,player)
text=Haste -- Whenever Dreadhorde Butcher deals combat damage to a player or planeswalker, put a +1/+1 counter on Dreadhorde Butcher. -- When Dreadhorde Butcher dies, it deals damage equal to its power to any target.
mana={B}{R}
type=Creature
subtype=Zombie Warrior
power=1
toughness=1
[/card]
[card]
name=Dreadhorde Invasion
auto=@each my upkeep:life:-1
auto=@each my upkeep:_AMASS_(1)
auto=lord(Zombie[token;power>=6;attacking]|myBattlefield) lifelink
text=At the beginning of your upkeep, you lose 1 life and amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) -- Whenever a Zombie token you control with power 6 or greater attacks, it gains lifelink until end of turn.
mana={1}{B}
type=Enchantment
[/card]
[card]
name=Dreadhorde Twins
auto=_AMASS_(2)
auto=lord(Zombie[token]|myBattlefield) trample
text=When Dreadhorde Twins enters the battlefield, amass 2. (Put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) -- Zombie tokens you control have trample.
mana={3}{R}
type=Creature
subtype=Zombie Jackal Warrior
power=2
toughness=2
[/card]
[card]
name=Dreadhound
auto=@movedto(creature|graveyard) from(battlefield,library):name(Opponent loses 1 life) life:-1 opponent
auto=deplete:3 controller
auto=aslongas(*[-hasflashback;canplayfromgraveyard]|mygraveyard) {L:1}:name(Add 1 mana) add{C}
text=When Dreadhound enters the battlefield, mill three cards. (Put the top three cards of your library into your graveyard.) -- Whenever a creature dies or a creature card is put into a graveyard from a library, each opponent loses 1 life.
mana={4}{B}{B}
type=Creature
subtype=Demon Dog
power=6
toughness=6
[/card]
[card]
name=Dreadmalkin
abilities=menace
auto={2}{B}{S(other *[creature;planeswalker]|mybattlefield)}:counter(1/1,2)
text=Menace (This creature can't be blocked except by two or more creatures.) -- {2}{B}, Sacrifice another creature or planeswalker: Put two +1/+1 counters on Dreadmalkin.
mana={B}
type=Creature
subtype=Zombie Cat
power=1
toughness=1
[/card]
[card]
name=Dreadship Reef
auto={T}:add{C}
auto={1}{T}:counter(0/0,1,Storage)
auto={1}{C(0/0,-1,Storage)}: ability$! _ choice add{U} _ choice add{B} !$ controller
text={T}: Add {C}. -- {1}, {T}: Put a storage counter on Dreadship Reef. -- {1}, Remove X storage counters from Dreadship Reef: Add X mana in any combination of {U} and/or {B}.
type=Land
[/card]
[card]
name=Dreadwurm
auto=_LANDFALL_indestructible ueot
text=Landfall - Whenever a land enters the battlefield under your control, Dreadwurm gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={4}{B}
type=Creature
subtype=Wurm Horror
power=5
toughness=4
[/card]
[card]
name=Dream Coat
target=creature
auto=teach(creature) {0}:name(change color/s) ability$!name(choose color/s) choice name(white) becomes(,white) ueot _ choice name(blue) becomes(,blue) ueot _ choice name(black) becomes(,black) ueot _ choice name(red) becomes(,red) ueot _ choice name(green) becomes(,green) ueot _ choice name(white & blue) becomes(,white,blue) ueot _ choice name(blue & black) becomes(,black,blue) ueot _ choice name(black & red) becomes(,black,red) ueot _ choice name(red & green) becomes(,red,green) ueot _ choice name(green & white) becomes(,white,green) ueot _ choice name(white & black) becomes(,white,black) ueot _ choice name(blue & red) becomes(,red,blue) ueot _ choice name(black & green) becomes(,black,green) ueot _ choice name(red & white) becomes(,white,red) ueot _ choice name(green & blue) becomes(,green,blue) ueot _ choice name(green & white & blue) becomes(,green,white,blue) ueot _ choice name(white & blue & black) becomes(,black,white,blue) ueot _ choice name(blue & black & red) becomes(,black,red,blue) ueot _ choice name(black & red & green) becomes(,green,black,red) ueot _ choice name(red & green & white) becomes(,green,white,red) ueot _ choice name(white & black & green) becomes(,green,white,black) ueot _ choice name(blue & red & white) becomes(,red,white,blue) ueot _ choice name(black & green & blue) becomes(,green,black,blue) ueot _ choice name(red & white & black) becomes(,black,white,red) ueot _ choice name(green & blue & red) becomes(,green,red,blue) ueot _ choice name(green & red & blue & black) becomes(,green,red,blue,black) ueot _ choice name(green & red & blue & white) becomes(,green,red,blue,white) ueot _ choice name(white & blue & black & red) becomes(,white,red,blue,black) ueot _ choice name(white & blue & black & green) becomes(,white,green,blue,black) ueot _ choice name(all colors) becomes(,white,red,blue,black,green) ueot!$ controller limit:1
text=Enchant creature -- {0}: Enchanted creature becomes the color or colors of your choice. Activate this ability only once each turn.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Dream Devourer
auto=lord(*[-land]|myhand) foretell
auto={2}:name(Foretell a card) target(*[-land]|myhand) doforetell myturnonly
auto=@foretold(*|myzones):name(Gains 2/0) 2/0 ueot
auto=@each upkeep restriction{type(*[foretold;-foretell]|myexile)~morethan~0}:all(*[foretold;-foretell]|myexile) transforms((,newability[this(variable{canforetellcast}>0) canplayfromexile],newability[this(variable{canforetellcast}>0) changecost(colorless:-2) forcedalive])) ueot
text=Each nonland card in your hand without foretell has foretell. Its foretell cost is equal to its mana cost reduced by {2}. (During your turn, you may pay {2} and exile it from your hand face down. Cast it on a later turn for its foretell cost.) -- Whenever you foretell a card, Dream Devourer gets +2/+0 until end of turn.
mana={1}{B}
type=Creature
subtype=Demon Cleric
power=0
toughness=3
[/card]
[card]
name=Dream Eater
abilities=flash,flying
aicode=activate transforms((,newability[surveil],newability[may name(Return non-land permanent) target(*[-land]|opponentBattlefield) moveTo(ownerhand)],newability[all(*[zpos<=psurveiloffsetplus4plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=if type(*[-land]|opponentBattlefield)~morethan~0 then choice name(Surveil 4 and return permanent) name(Surveil 4 and return permanent) reveal:psurveiloffsetplus4plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus4plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus4plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed name(Return non-land permanent) target(*[-land]|opponentBattlefield) moveTo(ownerhand) && surveil afterrevealedend revealend
auto=choice name(Surveil 4 and don't return permanent) reveal:psurveiloffsetplus4plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus4plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus4plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Flash -- Flying -- When Dream Eater enters the battlefield, surveil 4. When you do, you may return target nonland permanent an opponent controls to its owner's hand. (To surveil 4, look at the top four cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.)
mana={4}{U}{U}
type=Creature
subtype=Nightmare Sphinx
power=4
toughness=3
[/card]
[card]
name=Dream Halls
auto={D(*|myhand)}: castcard(restricted) lord(*[share!color!][-land]|myhand) controller oneshot
auto={D(*|opponenthand)}: castcard(restricted) lord(*[share!color!][-land]|opponenthand) opponent oneshot
text=Rather than pay the mana cost for a spell, its controller may discard a card that share a color with that spell.
mana={3}{U}{U}
type=Enchantment
[/card]
[card]
name=Dream Salvage
auto=draw:type:*[discarded]:opponentgraveyard controller
text=Draw cards equal to the number of cards target opponent discarded this turn.
mana={UB}
type=Instant
[/card]
[card]
name=Dream Strix
abilities=flying
auto=@targeted(this):sacrifice
auto=_DIES_name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Flying -- When Dream Strix becomes the target of a spell, sacrifice it. -- When Dream Strix dies, learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={2}{U}
type=Creature
subtype=Bird Illusion
power=3
toughness=2
[/card]
[card]
name=Dream Tides
auto=lord(creature) doesnotuntap
auto=lord(creature[-green]) transforms((,newability[@each my upkeep:{2}:untap]))
text=Creatures don't untap during their controllers' untap steps. -- At the beginning of each player's upkeep, that player may choose any number of tapped nongreen creatures he or she controls and pay {2} for each creature chosen this way. If the player does, untap those creatures.
mana={2}{U}{U}
type=Enchantment
[/card]
[card]
name=Dream Trawler
abilities=flying,lifelink
auto=@drawof(player):1/0 ueot
auto=_ATTACKING_draw:1 controller
auto={D(*|myHand)}:opponentshroud && tap(this) ueot
text=Flying, lifelink -- Whenever you draw a card, Dream Trawler gets +1/+0 until end of turn. -- Whenever Dream Trawler attacks, draw a card. -- Discard a card: Dream Trawler gains hexproof until end of turn. Tap it.
mana={2}{W}{W}{U}{U}
type=Creature
subtype=Sphinx
power=3
toughness=5
[/card]
[card]
name=Dream's Grip
target=*|battlefield
other={1}{U} name(Entwine)
auto=ifnot paid(alternative) then transforms((,newability[choice tap(noevent)],newability[choice untap]))
auto=if paid(alternative) then tap(noevent) && untap target(*|battlefield)
text=Choose one  Tap target permanent; or untap target permanent. -- Entwine {1} (Choose both if you pay the entwine cost.)
mana={U}
type=Instant
[/card]
[card]
name=Dreamcaller Siren
abilities=flash, flying, cloud
auto=if type(other pirate|mybattlefield)~morethan~0 then tap target(<upto:2>*[-land])
text=Flash -- Flying -- Dreamcaller Siren can block only creatures with flying. -- When Dreamcaller Siren enters the battlefield, if you control another Pirate, tap up to two target nonland permanents.
mana={2}{U}{U}
type=Creature
subtype=Siren Pirate
power=3
toughness=3
[/card]
[card]
name=Dreamshaper Shaman
aicode=activate transforms((,newability[if type(*[-land,zpos=1]|mylibrary)~morethan~0 then target(*[-land,zpos=1]|mylibrary) moveto(ownerbattlefield)) ueot
auto=@each my endofturn:may pay({2}{R}{S(*[-land]|myBattlefield}):Reveal:1 revealzone(mylibrary) revealuntil(*[-land]|mylibrary) moveto(mybattlefield) optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=At the beginning of your end step, you may pay {2}{R} and sacrifice a nonland permanent. If you do, reveal cards from the top of your library until you reveal a nonland permanent card. Put that card onto the battlefield and the rest on the bottom of your library in a random order.
mana={5}{R}
type=Enchantment Creature
subtype=Minotaur Shaman
power=5
toughness=4
[/card]
[card]
name=Dreamstalker Manticore
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:damage:1 target(player,creature,planeswalker)
text=Whenever you cast your first spell during each opponent's turn, Dreamstalker Manticore deals 1 damage to any target.
mana={2}{R}
type=Creature
subtype=Manticore
power=4
toughness=2
[/card]
[card]
name=Dreamstealer
abilities=menace
auto=@combatdamaged(player) from(this):ability$!name(discard) target(<storedthatmuch>*|myhand) reject!$ opponent
autograveyard={4}{B}{B}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=Menace -- Whenever Dreamstealer deals combat damage to a player, that player discards that many cards. -- Eternalize {4}{B}{B} ({4}{B}{B}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Human Wizard with no mana cost. Eternalize only as a sorcery.)
mana={2}{B}
type=Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Dreamtail Heron
abilities=flying,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{U} name(Mutate)
auto=transforms((,newability[@mutated(this):draw:1 controller]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying -- Whenever this creature mutates, draw a card.
mana={4}{U}
type=Creature
subtype=Elemental Bird
power=3
toughness=4
[/card]
[card]
name=Dredge the Mire
target=creature|opponentGraveyard
auto=moveTo(myBattlefield)
text=Each opponent chooses a creature card in their graveyard. Put those cards onto the battlefield under your control.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Dregscape Sliver
autograveyard={2}:name(Unearth) moveto(mybattlefield) and!( transforms((,newability[haste],newability[unearth],newability[exiledeath])) forever )! asSorcery
auto=lord(sliver|mygraveyard) {2}:name(Unearth) moveto(mybattlefield) and!( transforms((,newability[haste],newability[unearth],newability[exiledeath])) forever )! asSorcery
text=Each Sliver creature card in your graveyard has unearth {2}. -- Unearth {2} ({2} : Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
mana={1}{B}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Dress Down
abilities=flash,treason
auto=lord(creature|battlefield) loseabilities
auto=draw:1 controller
text=Flash -- When Dress Down enters the battlefield, draw a card. -- Creatures lose all abilities. -- At the beginning of the end step, sacrifice Dress Down.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Drey Keeper
auto=token(Squirrel,Creature Squirrel,1/1,green)*2
auto={3}{B}:name(Squirrels get 1/0) all(squirrel|myBattlefield) 1/0 ueot
text=When Drey Keeper enters the battlefield, create two 1/1 green Squirrel creature tokens. -- {3}{B}: Squirrels you control get +1/+0 and gain menace until end of turn.
mana={3}{B}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=2
[/card]
[card]
name=Drider
abilities=reach
auto=@combatdamaged(player) from(this):name(Create spider) token(Spider,Creature Spider,2/1,black,menace,flying)
text=Reach -- Whenever Drider deals combat damage to a player, create a 2/1 black Spider creature token with menace and reach.
mana={4}{B}
type=Creature
subtype=Elf Spider
power=4
toughness=3
[/card]
[card]
name=Drill Bit
target=player
auto=name(Choose and discard) target(*[-land]|targetedpersonshand) reject
text=Spectacle {B} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- Target player reveals their hand. You choose a nonland card from it. That player discards that card.
other={B} name(Spectacle) 
otherrestriction=compare(oplifelost)~morethan~0
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Driven // Despair
auto=all(creature|mybattlefield) trample
auto=all(creature|mybattlefield) transforms((,newability[@combatdamaged(player) from(this):draw:1])) ueot
autograveyard={1}{B}{E}:all(creature|mybattlefield) menace && transforms((,newability[@combatdamaged(player) from(this):ability$!target(*|myhand) reject!$ opponent])) ueot assorcery
text=Until end of turn, creatures you control gain trample and "Whenever this creature deals combat damage to a player, draw a card." -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Until end of turn, creatures you control gain menace and "Whenever this creature deals combat damage to a player, that player discards a card."
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Drizzt Do'Urden
abilities=double strike
auto=token(Guenhwyvar,Legendary Creature Cat,4/1,green,trample)
auto=@movedto(creature[power=1]|graveyard) from(battlefield) restriction{compare(power)~lessthan~1}:name(Put 1/1 counter) counter(1/1,1)
auto=@movedto(creature[power=2]|graveyard) from(battlefield) restriction{compare(power)~lessthan~2}:name(Put 1/1 counter) counter(1/1,2minuspowerminusend)
auto=@movedto(creature[power=3]|graveyard) from(battlefield) restriction{compare(power)~lessthan~3}:name(Put 1/1 counter) counter(1/1,3minuspowerminusend)
auto=@movedto(creature[power=4]|graveyard) from(battlefield) restriction{compare(power)~lessthan~4}:name(Put 1/1 counter) counter(1/1,4minuspowerminusend)
auto=@movedto(creature[power=5]|graveyard) from(battlefield) restriction{compare(power)~lessthan~5}:name(Put 1/1 counter) counter(1/1,5minuspowerminusend)
auto=@movedto(creature[power=6]|graveyard) from(battlefield) restriction{compare(power)~lessthan~6}:name(Put 1/1 counter) counter(1/1,6minuspowerminusend)
auto=@movedto(creature[power=7]|graveyard) from(battlefield) restriction{compare(power)~lessthan~7}:name(Put 1/1 counter) counter(1/1,7minuspowerminusend)
auto=@movedto(creature[power=8]|graveyard) from(battlefield) restriction{compare(power)~lessthan~8}:name(Put 1/1 counter) counter(1/1,8minuspowerminusend)
auto=@movedto(creature[power=9]|graveyard) from(battlefield) restriction{compare(power)~lessthan~9}:name(Put 1/1 counter) counter(1/1,9minuspowerminusend)
auto=@movedto(creature[power=10]|graveyard) from(battlefield) restriction{compare(power)~lessthan~10}:name(Put 1/1 counter) counter(1/1,10minuspowerminusend)
auto=@movedto(creature[power=11]|graveyard) from(battlefield) restriction{compare(power)~lessthan~11}:name(Put 1/1 counter) counter(1/1,11minuspowerminusend)
auto=@movedto(creature[power=12]|graveyard) from(battlefield) restriction{compare(power)~lessthan~12}:name(Put 1/1 counter) counter(1/1,12minuspowerminusend)
auto=@movedto(creature[power=13]|graveyard) from(battlefield) restriction{compare(power)~lessthan~13}:name(Put 1/1 counter) counter(1/1,13minuspowerminusend)
auto=@movedto(creature[power=14]|graveyard) from(battlefield) restriction{compare(power)~lessthan~14}:name(Put 1/1 counter) counter(1/1,14minuspowerminusend)
auto=@movedto(creature[power=15]|graveyard) from(battlefield) restriction{compare(power)~lessthan~15}:name(Put 1/1 counter) counter(1/1,15minuspowerminusend)
auto=@movedto(creature[power=16]|graveyard) from(battlefield) restriction{compare(power)~lessthan~16}:name(Put 1/1 counter) counter(1/1,16minuspowerminusend)
auto=@movedto(creature[power=17]|graveyard) from(battlefield) restriction{compare(power)~lessthan~17}:name(Put 1/1 counter) counter(1/1,17minuspowerminusend)
auto=@movedto(creature[power=18]|graveyard) from(battlefield) restriction{compare(power)~lessthan~18}:name(Put 1/1 counter) counter(1/1,18minuspowerminusend)
auto=@movedto(creature[power=19]|graveyard) from(battlefield) restriction{compare(power)~lessthan~19}:name(Put 1/1 counter) counter(1/1,19minuspowerminusend)
auto=@movedto(creature[power>=20]|graveyard) from(battlefield) restriction{compare(power)~lessthan~20}:name(Put 1/1 counter) counter(1/1,20minuspowerminusend)
text=Double strike -- When Drizzt Do'Urden enters the battlefield, create Guenhwyvar, a legendary 4/1 green Cat creature token with trample. -- Whenever a creature dies, if it had power greater than Drizzt's power, put a number of +1/+1 counters on Drizzt equal to the difference.
mana={3}{G}{W}
type=Legendary Creature
subtype=Elf Ranger
power=3
toughness=3
[/card]
[card]
name=Drossforge Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{B}
auto={T}:add{R}
text=Drossforge Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {B} or {R}.
type=Artifact Land
[/card]
[card]
name=Drover of the Mighty
auto=aslongas(dinosaur|mybattlefield) 2/2
auto={T}:add{G}
auto={T}:add{B}
auto={T}:add{W}
auto={T}:add{R}
auto={T}:add{U}
text=Drover of the Mighty gets +2/+2 as long as you control a Dinosaur. -- {T}: Add one mana of any color to your mana pool.
mana={1}{G}
type=Creature
subtype=Human Druid
power=1
toughness=1
[/card]
[card]
name=Drown in Dreams
auto=choice name(Player draws cards) target(player) draw:fullpaid targetedplayer
auto=choice name(Player mills cards) target(player) deplete:twicefullpaid targetedplayer
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then choice name(Player draws and a player mills) name(Player draws and a player mills) target(player) draw:fullpaid targetedplayer && ability$!name(Player mills cards) name(Player mills cards) target(player) deplete:storedtwicefullpaid targetedplayer!$ controller
text=Choose one. If you control a commander as you cast this spell, you may choose both. -- Target player draws X cards. -- Target player mills twice X cards.
mana={X}{2}{U}
type=Instant
[/card]
[card]
name=Drown in Shapelessness
target=creature
auto=moveTo(ownerHand)
text=Return target creature to its owner's hand.
mana={1}{U}
type=Instant
[/card]
[card]
name=Drown in the Loch
auto=choice name(Counter Spell) fizzle target(*[manacost<=type:*:opponentGraveyard]|stack)
auto=choice name(Destroy Creature) destroy target(creature[manacost<=type:*:opponentGraveyard]|opponentBattlefield)
text=Choose one -- Counter target spell with converted mana cost less than or equal to the number of cards in its controller's graveyard. -- Destroy target creature with converted mana cost less than or equal to the number of cards in its controller's graveyard.
mana={U}{B}
type=Instant
[/card]
[card]
name=Drowned Secrets
auto=@movedTo(blue|mystack):target(player deplete:2
text=Whenever you cast a blue spell, target player puts the top two cards of their library into their graveyard.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Drownyard Amalgam
auto=name(Target player mills 3 cards) target(player) deplete:3
auto={2}{U}:name(Becomes unblockable) transforms((,newability[unblockable])) ueot
text=When Drownyard Amalgam enters the battlefield, target player mills three cards. (They put the top three cards of their library into their graveyard.) -- {2}{U}: Drownyard Amalgam can't be blocked this turn.
mana={4}{U}
type=Creature
subtype=Zombie Horror
power=3
toughness=6
[/card]
[card]
name=Drowsing Tyrannodon
abilities=defender
auto=aslongas(creature[power>=4]|myBattlefield) canattack >0
text=Defender (This creature can't attack.) -- As long as you control a creature with power 4 or greater, Drowsing Tyrannodon can attack as though it didn't have defender.
mana={1}{G}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Drudge Sentinel
auto={3}:tap && indestructible ueot
text={3}: Tap Drudge Sentinel. It gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={2}{B}
type=Creature
subtype=Skeleton Warrior
power=2
toughness=1
[/card]
[card]
name=Druid Class
auto=counter(0/0,1,Level)
auto=_LANDFALL_life:1 controller
auto=this(variable{hascntlevel}=1) {2}{G}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}>=2) maxPlay(land)+1
auto=this(variable{hascntlevel}=2) {4}{G}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@counteradded(0/0.1.Level) restriction{compare(hascntlevel)~equalto~3}:name(Land become creature) target(land|mybattlefield) transforms((Creature,newability[haste],newability[type:land:myBattlefield/type:land:myBattlefield cdaactive])) forever 
text=(Gain the next level as a sorcery to add its ability.) -- Whenever a land enters the battlefield under your control, you gain 1 life. -- {2}{G}: Level 2 -- You may play an additional land on each of your turns. -- {4}{G}: Level 3 -- When this Class becomes level 3, target land you control becomes a creature with haste and "This creature's power and toughness are each equal to the number of lands you control." it's still a land.
mana={1}{G}
type=Enchantment
subtype=Class
[/card]
[card]
name=Druid of Horns
auto=@targeted(this) from(Aura|mycastingzone):create(beast:creature beast:3/3:green:)
text=Whenever you cast an Aura spell that targets Druid of Horns, create a 3/3 green Beast creature token.
mana={3}{G}
type=Creature
subtype=Human Druid
power=2
toughness=3
[/card]
[card]
name=Druid of Purification
auto=may name(Destroy artifact or enchantment) target(*[artifact;enchantment]|opponentbattlefield) destroy
auto=ability$!name(Destroy artifact or enchantment) name(Destroy artifact or enchantment) may target(*[artifact;enchantment]|mybattlefield) destroy!$ opponent
text=When Druid of Purification enters the battlefield, starting with you, each player may choose an artifact or enchantment you don't control. Destroy each permanent chosen this way.
mana={3}{G}
type=Creature
subtype=Human Druid
power=2
toughness=3
[/card]
[card]
name=Druid of the Sacred Beaker
auto={T}:foreach(Crossbreed Labs watermark|myBattlefield) add{G}
text={T}: Add {G} for each Crossbreed Labs watermark among permanents you control.
mana={2}{G}
type=Creature
subtype=Deer Bird Ape Druid
power=2
toughness=2
[/card]
[card]
name=Dryad Greenseeker
auto={T}:reveal:1 optionone if type(land|reveal)~morethan~0 then target(<1>*|reveal) moveto(hand) optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend
text={T}: Look at the top card of your library. If it's a land card, you may reveal it and put it into your hand.
mana={1}{G}
type=Creature
subtype=Dryad
power=1
toughness=3
[/card]
[card]
name=Dryad of the Ilysian Grove
auto=maxPlay(land)+1
auto=lord(land|myBattlefield) transforms((plains forest mountain swamp island))
text=You may play an additional land on each of your turns. -- Lands you control are every basic land type in addition to their other types.
mana={2}{G}
type=Enchantment Creature
subtype=Nymph
power=2
toughness=4
[/card]
[card]
name=Dryad's Revival
flashback={4}{G}
auto=name(Return card to hand) target(*|mygraveyard) moveto(myhand)
text=Return target card from your graveyard to your hand. -- Flashback {4}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Dual Strike
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={R} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=emblem transforms((,newability[@movedTo(*[instant;sorcery;manacost<=4]|mystack) once:name(Copy spell) all(trigger[to]) activate castcard(copied noevent)])) ueot
text=When you cast your next instant or sorcery spell with converted mana cost 4 or less this turn, copy that spell. You may choose new targets for the copy. -- Foretell {R} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={R}{R}
type=Instant
[/card]
[card]
name=Dub
target=creature
auto=teach(creature) +2/+2
auto=teach(creature) first strike  
auto=transforms((Knight))
text=Enchant creature -- Enchanted creature gets +2/+2, has first strike, and is a Knight in addition to its other types.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Duel for Dominance
target=creature|myBattlefield
auto=if coven then transforms((,newability[counter(1/1)],newability[name(Fight opponent creature) target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) oneshot
auto=ifnot coven then transforms((,newability[name(Fight opponent creature) target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) oneshot
text=Coven - Choose target creature you control and target creature you don't control. If you control three or more creatures with different powers, put a +1/+1 counter on the chosen creature you control. Then the chosen creatures fight each other. (They each deal damage equal to their power to the other.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Duelcraft Trainer
abilities=first strike
auto=@each my combatbegins restriction{coven}:name(Gains double strike) transforms((,newability[double strike])) ueot
text=First strike -- Coven - At the beginning of combat on your turn, if you control three or more creatures with different powers, target creature you control gains double strike until end of turn.
type=Creature
subtype=Human Soldier
mana={3}{W}
power=3
toughness=3
[/card]
[card]
name=Dueling Coach
auto=ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) counter(1/1)!$ controller
auto={4}{W}{T}:name(Put 1/1 counter) all(creature[counter{1/1}]|mybattlefield) counter(1/1)
text=When Dueling Coach enters the battlefield, put a +1/+1 counter on target creature. -- {4}{W}, {T}: Put a +1/+1 counter on each creature you control with a +1/+1 counter on it.
mana={3}{W}
type=Creature
subtype=Human Monk
power=2
toughness=2
[/card]
[card]
name=Dueling Rapier
abilities=flash
auto=aslongas(parents) rehook target(creature|mybattlefield) <1
auto={4}:equip
auto=teach(creature) 2/0
text=Flash -- When Dueling Rapier enters the battlefield, attach it to target creature you control. -- Equipped creature gets +2/+0. -- Equip {4} ({4}: Attach to target creature you control. Equip only as a sorcery.)
mana={R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Dulcet Sirens
facedown={3}
autofacedown={U}:morph
autofaceup={U}{T}:mustattack target(creature) ueot
text={U}, {T}: Target creature attacks target opponent this turn if able. -- Morph {U} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)
mana={2}{U}
type=Creature
subtype=Siren
power=1
toughness=3
[/card]
[card]
name=Dune Beetle
mana={1}{B}
type=Creature
subtype=Insect
power=1
toughness=4
[/card]
[card]
name=Dune Diviner
auto={1}{T notatarget(desert|mybattlefield)}:life:1 controller
text={1}, Tap an untapped Desert you control: You gain 1 life.
mana={2}{G}
type=Creature
subtype=Naga Cleric
power=2
toughness=3
[/card]
[card]
name=Dunes of the Dead
auto={T}:Add{1}
auto=_DIES_token(Zombie ,Creature Zombie,2/2,Black)
text={T}: Add {1} to your mana pool. -- When Dunes of the Dead is put into a graveyard from the battlefield, create a 2/2 black Zombie creature token.
type=Land
subtype=Desert
[/card]
[card]
name=Dungeon Crawler
auto=tap(noevent)
autograveyard=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):may name(Return to hand) name(Return to hand) moveto(myhand)
text=Dungeon Crawler enters the battlefield tapped. -- Whenever you complete a dungeon, you may return Dungeon Crawler from your graveyard to your hand.
mana={B}
type=Creature
subtype=Zombie
power=2
toughness=1
[/card]
[card]
name=Dungeon Descent
auto=tap(noevent)
auto={T}:Add{C}
auto={4}{T}{T(creature[-tapped;legendary]|myBattlefield)}:name(Venture into the dungeon) if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot asSorcery
text=Dungeon Descent enters the battlefield tapped. -- {T}: Add {C}. -- {4}, {T}, Tap an untapped legendary creature you control: Venture into the dungeon. Activate only as a sorcery. (Enter the first room or advance to the next room.)
type=Land
[/card]
[card]
name=Dungeon Map
auto={T}:add{C}
auto={3}{T}:if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot asSorcery
text={T}: Add {C}. -- {3}, {T}: Venture into the dungeon. Activate only as a sorcery. (Enter the first room or advance to the next room.)
mana={3}
type=Artifact
[/card]
[card]
name=Dungeon of the Mad Mage
restriction=never
aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) and!( transforms((,newability[zerocast],newability[draw:2 controller])) forever )!
autocommandzone=transforms((,newability[shroud],newability[indestructible])) forever
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Yawning Portal) name(Yawning Portal) life:1 controller!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Dungeon Level) name(Dungeon Level) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~3}:ability$!name(Goblin Bazaar or Twisted Caverns) all(Dungeon of the Mad Mage|mycommandzone) transforms((,newability[choice name(Goblin Bazaar) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend],newability[if type(creature|battlefield)~morethan~0 then choice name(Twisted Caverns) name(Twisted Caverns) target(<type:*[twodngtrg]:mybattlefieldplus1plusend>creature|battlefield) transforms((,newability[cantattack],newability[cantpwattack])) uynt])) oneshot!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Lost Level) name(Lost Level) scry:2 scrycore delayed dontshow donothing scrycoreend scryend!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~5}:ability$!name(Runestone Caverns or Muiral's Graveyard) transforms((,newability[choice name(Muiral's Graveyard) token(Skeleton Mad)*twicetype:*[twodngtrg]:mybattlefieldplus1plusend],newability[choice name(Runestone Caverns) all(*[zpos<=twicecardcountabiltwodngtrgplus1plusend]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) oneshot!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~6}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Deep Mines) name(Deep Mines) scry:3 scrycore delayed dontshow donothing scrycoreend scryend!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~7}:choice name(Dungeon completed) all(Dungeon of the Mad Mage|mycommandzone) completedungeon:1 controller
autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~7}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Mad Wizard's Lair) name(Mad Wizard's Lair) reveal:3 optionone name(Choose a card) target(<upto:1>*|reveal) moveto(myhand) and!( transforms((,newability[zerocast])) forever )! optiononeend optiontwo all(*|reveal) moveto(myhand) optiontwoend revealend!$ controller
text=Yawning Portal - You gain 1 life. -- Dungeon Level - Scry 1. -- Goblin Bazaar - Create a Treasure token. -- Twisted Caverns - Target creature can't attack until your next turn. -- Lost Level - Scry 2. -- Runestone Caverns - Exile the top two cards of your library. You may play them. -- Muiral's Graveyard - Create two 1/1 black Skeleton creature tokens. -- Deep Mines - Scry 3. -- Mad Wizard's Lair - Draw three cards and reveal them. You may cast one of them without paying its mana cost.
type=Dungeon
[/card]
[card]
name=Duplicant
auto=if type(creature[-token]|battlefield)~morethan~0 then may name(Exile non-token creature) name(Exile non-token creature) imprint target(creature[-token]) && all(this) transforms((,newability[evictpw/evictth cdaactive])) forever
auto=this(variable{hasevict}>=1) transforms((evicttypes))
auto=this(variable{hasevict}=0) transforms((,setpower=2,settoughness=4))
text=Imprint - When Duplicant enters the battlefield, you may exile target nontoken creature. -- As long as the exiled card is a creature card, Duplicant has that card's power, toughness, and creature types. It's still a Shapeshifter.
mana={6}
type=Artifact Creature
subtype=Shapeshifter
power=2
toughness=4
[/card]
[card]
name=Durable Coilbug
autograveyard={4}{B}:moveto(myhand)
text={4}{B}: Return Durable Coilbug from your graveyard to your hand.
mana={1}{B}
type=Creature
subtype=Insect
power=2
toughness=2
[/card]
[card]
name=Dusk // Dawn
auto=destroy all(creature[power>=3])
autograveyard={3}{W}{W}{E}:moveto(myhand) all(creature[power<=2]|mygraveyard) asSorcery
text=Destroy all creatures with power 3 or greater. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Return all creature cards with power 2 or less from your graveyard to your hand.
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Dusk Charger
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ 2/2
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Dusk Charger gets +2/+2 as long as you have the city's blessing.
mana={3}{B}
type=Creature
subtype=Horse
power=3
toughness=3
[/card]
[card]
name=Dusk Legion Dreadnought
abilities=vigilance
auto={crew(other creature[power>=2]|myBattlefield)}:name(crew 2 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~1}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 2 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~1}
text=Vigilance -- Crew 2 (Tap any number of creatures you control with total power 2 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={5}
type=Artifact
subtype=Vehicle
power=4
toughness=6
[/card]
[card]
name=Dusk Legion Zealot
auto=draw:1
auto=life:-1
text=When Dusk Legion Zealot enters the battlefield, you draw a card and you lose 1 life.
mana={1}{B}
type=Creature
subtype=Vampire Soldier
power=1
toughness=1
[/card]
[card]
name=Duskborne Skymarcher
abilities=flying
auto={W}{T}:target(vampire) 1/1 ueot
text=Flying -- {W}, {T}: Target attacking Vampire gets +1/+1 until end of turn.
mana={W}
type=Creature
subtype=Vampire Cleric
power=1
toughness=1
[/card]
[card]
name=Duskfang Mentor
auto=target(creature[-human]|myBattlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto={1}{B}{T}:counter(1/1,1) all(creature[lifelink]|myBattlefield)
text=When Duskfang Mentor enters the battlefield, put a lifelink counter on target non-Human creature you control. -- {1}{B}, {T}: Put a +1/+1 counter on each creature you control with lifelink.
mana={2}{B}
type=Creature
subtype=Human Cleric
power=1
toughness=3
[/card]
[card]
name=Duskmantle Operative
auto=cantbeblockedby(creature[power>=4])
text=Duskmantle Operative can't be blocked by creatures with power 4 or greater.
mana={1}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=2
[/card]
[card]
name=Duskmantle Seer
abilities=flying
aicode=activate target(*[zpos=1]|opponentlibrary) moveto(opponenthand) and!( transforms((,newability[life:-manacost controller])) oneshot )! 
auto=@each my upkeep:name(Reveal my top card) all(*[zpos=1]|mylibrary) moveto(myhand) and!( transforms((,newability[life:-manacost controller])) oneshot )! 
auto=@each my upkeep:name(Reveal opponent top card) reveal:1 revealzone(opponentlibrary) optionone name(look) target(*|reveal) moveto(opponenthand) and!( transforms((,newability[life:-manacost controller])) oneshot )! optiononeend revealend
text=Flying -- At the beginning of your upkeep, each player reveals the top card of his or her library, loses life equal to that card's converted mana cost, then puts it into his or her hand.
mana={2}{U}{B}
type=Creature
subtype=Vampire Wizard
power=4
toughness=4
[/card]
[card]
name=Duskshell Crawler
auto=name(Put 1/1 counter) target(creature) counter(1/1)
auto=lord(creature[counter{1/1.1}]|myBattlefield) trample
text=When Duskshell Crawler enters the battlefield, put a +1/+1 counter on target creature. -- Each creature you control with a +1/+1 counter on it has trample.
mana={1}{G}
type=Creature
subtype=Insect
power=0
toughness=3
[/card]
[card]
name=Duskwielder
abilities=boast
auto={1} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && life:-1 opponent && life:1 controller limit:hasabilitytwoboastplus1plusend
auto={0} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && life:-1 opponent && life:1 controller limit:hasabilitytwoboastplus1plusend
text=Boast-{1}: Target opponent loses 1 life and you gain 1 life. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={B}
type=Creature
subtype=Elf Berserker
power=1
toughness=2
[/card]
[card]
name=Dust of Moments
auto=choice name(Remove 2 time counters) all(*[counter{0/0.1.Time}]|battlefield,exile) counter(0/0,-2,Time)
auto=choice name(Add 2 time counters) all(*[counter{0/0.1.Time}]|battlefield,exile) counter(0/0,2,Time)
text=Choose one  Remove two time counters from each permanent and each suspended card; or put two time counters on each permanent with a time counter on it and each suspended card.
mana={2}{W}
type=Instant
[/card]
[card]
name=Dutiful Servants
mana={3}{W}
type=Creature
subtype=Zombie
power=2
toughness=5
[/card]
[card]
name=Dwarfhold Champion
auto=this(gear > 0) 0/2
text=As long as Dwarfhold Champion is equipped, it gets +0/+2.
mana={1}{W}
type=Creature
subtype=Dwarf Warrior
power=3
toughness=1
[/card]
[card]
name=Dwarven Catapult
auto=thisforeach(X) ability$!name(Choose a creature) damage:1 target(creature|opponentBattlefield)!$ controller
text=Dwarven Catapult deals X damage divided evenly, rounded down, among all creatures target opponent controls.
mana={X}{R}
type=Instant
[/card]
[card]
name=Dwarven Driller
auto={T}:name(destroy) target(land) transforms((,newability[pay[[{L:2}]] name(pay 2 life) donothing?destroy])) forever
text={T}: Destroy target land unless its controller has Dwarven Driller deal 2 damage to him or her.
mana={3}{R}
type=Creature
subtype=Dwarf
power=2
toughness=2
[/card]
[card]
name=Dwarven Hammer
autostack=may name(Create dwarf and attach) pay({2}) name(Create dwarf and attach) moveTo(mybattlefield) and!( transforms((,newability[token(Dwarf^Creature Dwarf Berserker^2/1^red)],newability[rehook target(berserker[token;dwarf;fresh]|mybattlefield)])) oneshot )!
auto={3}:equip
auto=teach(creature) 3/0
auto=teach(creature) trample
text=When Dwarven Hammer enters the battlefield, you may pay {2}. If you do, create a 2/1 red Dwarf Berserker creature token, then attach Dwarven Hammer to it. -- Equipped creature gets +3/+0 and has trample. -- Equip {3}
mana={2}{R}
type=Artifact
subttype=Equipment
[/card]
[card]
name=Dwarven Lightsmith
auto=all(creature|myBattlefield) 1/1
text=Assist (Another player can pay up to {5} of this spell's cost.) -- When Dwarven Lightsmith enters the battlefield, creatures your team controls get +1/+1 until end of turn.
mana={5}{W}
type=Creature
subtype=Dwarf Cleric
power=3
toughness=4
[/card]
[card]
name=Dwarven Mine
auto=aslongas(other land[mountain]|myBattlefield) tap(noevent) <3 oneshot
auto=aslongas(other land[mountain]|myBattlefield) >2 create(Dwarf:creature Dwarf:1/1:red) once 
text={T}: Add {R}. -- Dwarven Mine enters the battlefield tapped unless you control three or more other Mountains. -- When Dwarven Mine enters the battlefield untapped, create a 1/1 red Dwarf creature token.
type=Land
subtype=Mountain
[/card]
[card]
name=Dwarven Priest
auto=life:1 type:creature:myBattlefield
text=When Dwarven Priest enters the battlefield, you gain 1 life for each creature you control.
mana={3}{W}
type=Creature
subtype=Dwarf Cleric
power=2
toughness=4
[/card]
[card]
name=Dwarven Reinforcements
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{R} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=token(Dwarf,Creature Dwarf Berserker,2/1,red)*2
text=Create two 2/1 red Dwarf Berserker creature tokens. -- Foretell {1}{R} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Dwarven Scorcher
auto={T}:name(damage) target(creature) transforms((,newability[pay[[{L:2}]] name(pay 2 life) donothing?damage:1])) forever
text=Sacrifice Dwarven Scorcher: Dwarven Scorcher deals 1 damage to target creature unless that creature's controller has Dwarven Scorcher deal 2 damage to him or her.
mana={R}
type=Creature
subtype=Dwarf
power=1
toughness=1
[/card]
[card]
name=Dwindle
target=creature
auto=teach(creature) -6/-0
auto=teach(creature) @combat(blocking) source(mytgt):phaseaction[combatends,sourceinplay] destroy
text=Enchant creature -- Enchanted creature gets -6/-0. -- When enchanted creature blocks, destroy it. (The attacking creature remains blocked.)
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Eager Beaver
auto=may untap target(*|battlefield)
text=When this creature enters the battlefield, you may untap target permanent.
mana={2}{G}
type=Host Creature
subtype=Beaver
power=3
toughness=2
[/card]
[card]
name=Eager Construct
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=may name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=ability$!name(Scry 1) may name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ opponent
text=When Eager Construct enters the battlefield, each player may scry 1.
mana={2}
type=Artifact Creature
subtype=Construct
power=2
toughness=2
[/card]
[card]
name=Eager First-Year
auto=@movedto(*[instant;sorcery]|mystack):1/0 ueot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, Eager First-Year gets +1/+0 until end of turn.
mana={1}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Earth-Cult Elemental
auto=transforms((,newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot
auto=@dierolled(this) from(controller):name(Opponent sacrifice a permanent) ability$!name(Sacrifice a permanent) name(Sacrifice a permanent) notatarget(*|mybattlefield) sacrifice!$ opponent
auto=@dierolled(this) result(1) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(2) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(3) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(4) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(5) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(6) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(7) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(8) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(9) from(controller):name(Sacrifice Permanent) target(*|mybattlefield) sacrifice
auto=@dierolled(this) result(20) from(controller):name(Opponent sacrifice another permanent) ability$!name(Sacrifice a permanent) name(Sacrifice a permanent) notatarget(*|mybattlefield) sacrifice!$ opponent
text=Siege Monster - When Earth-Cult Elemental enters the battlefield, roll a d20. -- 1-9 | Each player sacrifices a permanent. -- 10-19 | Each opponent sacrifices a permanent. -- 20 | Each opponent sacrifices two permanents.
mana={4}{R}{R}
type=Creature
subtype=Elemental
power=6
toughness=6
[/card]
[card]
name=Earth-Origin Yak
auto=choice all(creature|mybattlefield) 1/1 ueot
text=When Earth-Origin Yak enters the battlefield, creatures you control get +1/+1  until end of turn.
mana={3}{W}
type=Creature
subtype=Ox
power=2
toughness=4
[/card]
[card]
name=Earthshaker Giant
abilities=trample
auto=name(Creatures get 3/3) all(other creature|myBattlefield) transforms((,newability[3/3],newability[trample])) ueot
text=Trample -- When Earthshaker Giant enters the battlefield, other creatures you control get +3/+3 and gain trample until end of turn.
mana={4}{G}{G}
type=Creature
subtype=Giant Druid
power=6
toughness=6
[/card]
[card]
name=Earthshaker Khenra
abilities=haste
auto=target(creature[power<=p]) cantblock ueot
autograveyard={4}{R}{R}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! asSorcery
text=Haste -- When Earthshaker Khenra enters the battlefield, target creature with power less than or equal to Earthshaker Khenra's power can't block this turn. -- Eternalize {4}{R}{R} ({4}{R}{R}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Jackal Warrior with no mana cost. Eternalize only as a sorcery.)
mana={1}{R}
type=Creature
subtype=Jackal Warrior
power=2
toughness=1
[/card]
[card]
name=Earthshaking Si
abilities=trample
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.)
mana={5}{G}
type=Creature
subtype=Beast
power=5
toughness=5
[/card]
[card]
name=Easy Prey
abilities=cycling
target=creature[manacost<=2]
auto=destroy
autohand=__CYCLING__({2})
text=Destroy target creature with converted mana cost 2 or less. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{B}
type=Instant
[/card]
[card]
name=Eat to Extinction
target=creature,planeswalker
auto=moveto(exile) 
aicode=activate may name(Put in graveyard) target(*[zpos=1]|mylibrary) moveto(mygraveyard)
auto=name(Look) reveal:1 optionone name(Put On Top) target(<upto:1>*|reveal) moveto(mylibrary) optiononeend optiontwo name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Exile target creature or planeswalker. Look at the top card of your library. You may put that card into your graveyard.
mana={3}{B}
type=Instant
[/card]
[card]
name=Eaten Alive
target=creature,planeswalker
other={3}{B}{B} name(Pay 3B more)
auto=moveTo(exile)
text=As an additional cost to cast this spell, sacrifice a creature or pay {3}{B}. -- Exile target creature or planeswalker.
mana={B}{S(creature|mybattlefield)}
type=Sorcery
[/card]
[card]
name=Ebondeath, Dracolich
abilities=flash,flying
auto=tap(noevent)
autograveyard={2}{B}{B} restriction{thisturn(creature[-Ebondeath^ Dracolich;fresh]|mygraveyard)~morethan~0}:name(Cast from graveyard) activate castcard(normal)
text=Flash -- Flying -- Ebondeath, Dracolich enters the battlefield tapped. -- You may cast Ebondeath, Dracolich from your graveyard if a creature not named Ebondeath, Dracolich died this turn.
mana={2}{B}{B}
type=Legendary Creature
subtype=Zombie Dragon
power=5
toughness=2
[/card]
[card]
name=Ebony Fly
auto=tap(noevent)
auto={T}:add{C}
auto={4}:name(Roll a d6) rolld6 6 winability donothing winabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):may name(Becomes 1/1 insect) becomes(Creature Insect,1/1,flying) ueot
auto=@dierolled(this) result(2) from(controller):may name(Becomes 2/2 insect) becomes(Creature Insect,2/2,flying) ueot
auto=@dierolled(this) result(3) from(controller):may name(Becomes 3/3 insect) becomes(Creature Insect,3/3,flying) ueot
auto=@dierolled(this) result(4) from(controller):may name(Becomes 4/4 insect) becomes(Creature Insect,4/4,flying) ueot
auto=@dierolled(this) result(5) from(controller):may name(Becomes 5/5 insect) becomes(Creature Insect,5/5,flying) ueot
auto=@dierolled(this) result(6) from(controller):may name(Becomes 6/6 insect) becomes(Creature Insect,6/6,flying) ueot
auto=_ATTACKING_name(Another creature gains flying) target(other creature[attacking]|battlefield) transforms((,newability[flying])) ueot
text=Ebony Fly enters the battlefield tapped. -- {T}: Add {C}. -- {4}: Roll a d6. Until end of turn, you may have Ebony Fly become an X/X Insect artifact creature with flying, where X is the result. -- Whenever Ebony Fly attacks, another target attacking creature gains flying until end of turn.
mana={2}
type=Artifact
[/card]
[card]
name=Eccentric Apprentice
abilities=flying
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=@each my combatbegins restriction{compare(pdungeoncompleted)~morethan~0}:may name(Creature becomes bird) target(creature|battlefield) transforms((Bird,setpower=1,settoughness=1,newability[flying])) ueot
text=Flying -- When Eccentric Apprentice enters the battlefield, venture into the dungeon. (Enter the first room or advance to the next room.) -- At the beginning of combat on your turn, if you've completed a dungeon, up to one target creature becomes a Bird with base power and toughness 1/1 and flying until end of turn.
mana={2}{U}
type=Creature
subtype=Tiefling Wizard
power=3
toughness=5
[/card]
[card]
name=Eccentric Farmer
auto=deplete:3 controller && transforms((,newability[may name(Return a land) target(land|mygraveyard) moveto(myhand)])) oneshot
text=When Eccentric Farmer enters the battlefield, mill three cards, then you may return a land card from your graveyard to your hand. (To mill a card, put the top card of your library into your graveyard.)
type=Creature
subtype=Human Peasant
mana={2}{G}
power=2
toughness=3
[/card]
[card]
name=Echo Storm
auto=thisforeach(variable{pnumofcommandcastplus1plusend}) ability$!name(Copy an artifact) name(Copy an artifact) clone target(artifact)!$ controller
text=When you cast this spell, copy it for each time you've cast your commander from the command zone this game. You may choose new targets for the copies. -- Create a token that's a copy of target artifact.
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Echo of Eons
flashback={2}{U}
auto=ability$! moveto(mylibrary) all(*|myhand,mygraveyard) !$ controller
auto=ability$! moveto(mylibrary) all(*|myhand,mygraveyard) !$ opponent
auto=shuffle all(player)
auto=draw:7 opponent
auto=draw:7 controller
text=Each player shuffles their hand and graveyard into their library, then draws seven cards. -- Flashback {2}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Echoing Boon
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@targeted(creature[chosenname]|mybattlefield) from(*[instant;sorcery]|mycastingzone):may name(Copy spell) target(*[instant;sorcery]|mystack) activate castcard(copied noevent)])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Whenever you cast an instant or sorcery spell, if it targets a creature you control with the chosen name, you may copy that spell and may choose new targets for the copy.
type=Conspiracy
[/card]
[card]
name=Echoing Equation
abilities=doublefacedeath
auto=name(All creatures becomes copy) target(creature|myBattlefield) transforms((,newability[phaseaction[endofturn once] counter(0/0.-1.EchoingEffect)],newability[counter(0/0.1.EchoingEffect)],newability[all(other creature|myBattlefield) transforms((,newability[all(creature[counter{0/0.1.EchoingEffect}]|myBattlefield) copy options(nolegend) and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(myorigname) undocpy])) forever )!])) ueot])) oneshot
text=Choose target creature you control. Each other creature you control becomes a copy of it until end of turn, except those creatures aren't legendary if the chosen creature is legendary. // {1}{G}{G} Augmenter Pugilist
mana={2}{U}{U}
type=Sorcery
[/card]
[card]
name=Echoing Return
target=creature|mygraveyard
auto=moveto(myhand)
auto=all(creature[share!name!]|mygraveyard) moveto(myHand)
text=Return target creature card and all other cards with the same name as that card from your graveyard to your hand.
mana={B}
type=Sorcery
[/card]
[card]
name=Ecological Appreciation
abilities=exiledeath
auto=count(type:*:myhand)
auto=if compare(type:creature:mylibraryplustype:creature:mygraveyardplusend)~morethan~3 then if compare(countedamount)~morethan~3 then choice name(Search 4 creatures) name(Search 4 creatures) name(Search 4 creatures) target(<2>creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(mylibrary) and!( name(Search other 2 creatures) target(<2>creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(myBattlefield) )! )! )!
auto=if compare(type:creature:mylibraryplustype:creature:mygraveyardplusend)~morethan~2 then if compare(countedamount)~morethan~3 then choice name(Search 3 creatures) name(Search 3 creatures) name(Search 3 creatures) target(creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(myBattlefield) and!( name(Search other 2 creatures) target(<2>creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(mylibrary) )! )! )!
auto=if compare(type:creature:mylibraryplustype:creature:mygraveyardplusend)~morethan~3 then if compare(countedamount)~lessthan~4 then choice name(Search 4 creatures) name(Search 4 creatures) name(Search 4 creatures) target(<2>creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(myBattlefield) and!( name(Search other 2 creatures) target(<2>creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(mylibrary) )! )! )!
auto=if compare(type:creature:mylibraryplustype:creature:mygraveyardplusend)~morethan~2 then if compare(countedamount)~lessthan~4 then choice name(Search 3 creatures) name(Search 3 creatures) name(Search 3 creatures) target(<2>creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(mylibrary) and!( name(Search another creature) target(creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(myBattlefield) )! )! )!
auto=if compare(type:creature:mylibraryplustype:creature:mygraveyardplusend)~morethan~1 then choice name(Search 2 creatures) name(Search 2 creatures) target(<2>creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(mylibrary) and!( shuffle )! )!
auto=if compare(type:creature:mylibraryplustype:creature:mygraveyardplusend)~morethan~0 then choice name(Search 1 creature) name(Search 1 creature) target(creature[manacost<=fullpaid]|mylibrary,mygraveyard) moveto(myreveal) and!( moveto(mylibrary) and!( shuffle )! )!
auto=choice name(Don't search any creature) donothing
text=Search your library and graveyard for up to four creature cards with different names that each have mana value X or less and reveal them. An opponent chooses two of those cards. Shuffle the chosen cards into your library and put the rest onto the battlefield. Exile Ecological Appreciation.
mana={X}{2}{G}
type=Sorcery
[/card]
[card]
name=Ecstatic Awakener
backside=Awoken Demon
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto={2}{B}{S(other creature|mybattlefield)}:name(Draw a card) draw:1 controller && flip(backside)
text={2}{B}, Sacrifice another creature: Draw a card, then transform Ecstatic Awakener. Activate only once each turn. // Awoken Demon
mana={B}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Edgar Markov
abilities=first strike,haste
auto=@movedTo(other *[vampire]|mystack):token(Vampire,Creature Vampire,1/1,black)
autocommandzone=@movedTo(other *[vampire]|mystack):token(Vampire,Creature Vampire,1/1,black)
auto=_ATTACKING_counter(1/1) all(vampire|myBattlefield)
text=Eminence - Whenever you cast another Vampire spell, if Edgar Markov is in the command zone or on the battlefield, create a 1/1 black Vampire creature token. -- First strike, haste -- Whenever Edgar Markov attacks, put a +1/+1 counter on each Vampire you control.
mana={3}{R}{W}{B}
type=Legendary Creature
subtype=Vampire Knight
power=4
toughness=4
[/card]
[card]
name=Edgewall Innkeeper
auto=@movedTo(creature[adventure]|myStack):name(Draw a card) draw:1 controller
text=Whenever you cast a creature spell that has an Adventure, draw a card. (It doesn't need to have gone on the adventure first.)
mana={G}
type=Creature
subtype=Human Peasant
power=1
toughness=1
[/card]
[card]
name=Edifice of Authority
auto={1}{T}{C(0/0,1,brick)}:target(creature) cantattack ueot
auto=this(counter{0/0.3.brick}) {1}{T}:target(creature) transforms((,newability[cantattack],newability[cantblock],newability[onlymanaability])) ueot
text={1}, {T}: Target creature can't attack this turn. Put a brick counter on Edifice of Authority. -- {1}, {T}: Until your next turn, target creature can't attack or block and its activated abilities can't be activated. Activate this ability only if there are three or more brick counters on Edifice of Authority.
mana={3}
type=Artifact
[/card]
[card]
name=Eerie Ultimatum
auto=moveto(mybattlefield) target(<anyamount>*|mygraveyard)
text=Return any number of permanent cards with different names from your graveyard to the battlefield.
mana={W}{W}{B}{B}{B}{G}{G}
type=Sorcery
[/card]
[card]
name=Efreet Flamepainter
abilities=double strike
auto=@combatdamaged(player) from(this):may name(Cast instant or sorcery) target(*[instant;sorcery]|myhand) transforms((,newability[gainedexiledeath],newability[activate castcard(normal)])) oneshot
text=Double strike -- Whenever Efreet Flamepainter deals combat damage to a player, you may cast target instant or sorcery card from your graveyard without paying its mana cost. If that spell would be put into your graveyard, exile it instead.
mana={3}{R}
type=Creature
subtype=Efreet Shaman
power=1
toughness=4
[/card]
[card]
name=Egon, God of Death
abilities=deathtouch
other={B} name(Throne of Death)
otherrestriction=can play artifact,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Throne of Death)
autostack=if paid(alternative) then flip(Throne of Death) forcetype(Legendary Artifact)
auto=@each my upkeep restriction{compare(isflipped)~equalto~0,type(*|mygraveyard)~morethan~1}:name(Exile two cards) name(Exile two cards) target(<2>*|mygraveyard) moveto(exile)
auto=@each my upkeep restriction{compare(isflipped)~equalto~0,type(*|mygraveyard)~lessthan~2}:name(Sacrifice and draw) name(Sacrifice and draw) all(this) sacrifice && draw:1 controller
text=Deathtouch -- At the beginning of your upkeep, exile two cards from your graveyard. If you can't, sacrifice Egon and draw a card. // {B} Throne of Death
mana={2}{B}
type=Legendary Creature
subtype=God
power=6
toughness=6
[/card]
[card]
name=Eidolon of Inspiration
auto=@each my combatbegins:2/0 target(creature|myBattlefield) ueot
text=At the beginning of combat on your turn, target creature you control gets +2/+0 until end of turn.
mana={1}{W}{W}
type=Enchantment Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Eidolon of Obstruction
abilities=first strike
auto=lord(planeswalker|opponentBattlefield) activatedability altercost(colorless,+1)
text=First strike -- Loyalty abilities of planeswalkers your opponents control cost {1} more to activate.
mana={1}{W}
type=Enchantment Creature
subtype=Spirit
power=2
toughness=1
[/card]
[card]
name=Eidolon of Philosophy
auto={6}{U}{S}:Draw:3 controller
text={6}{U}, Sacrifice Eidolon of Philosophy: Draw three cards.
mana={U}
type=Enchantment Creature
subtype=Spirit
power=1
toughness=2
[/card]
[card]
name=Elaborate Firecannon
auto=@each my upkeep:frozen
auto={4}{T}:damage:2 target(creature,player)
auto=@each my upkeep:may discard(*|myhand) && untap
text=Elaborate Firecannon doesn't untap during your untap step. -- {4}, {T}: Elaborate Firecannon deals 2 damage to target creature or player. -- At the beginning of your upkeep, you may discard a card. If you do, untap Elaborate Firecannon.
mana={2}
type=Artifact
[/card]
[card]
name=Elder Gargaroth
abilities=vigilance,reach,trample
auto=@combat(attacking,blocking) source(this):ability$!name(Choose one) choice name(Create token) token(Beast Eld) _ choice name(Gain life) life:3 controller _ choice name(Draw card) draw:1 controller!$ controller
text=Vigilance, reach, trample -- Whenever Elder Gargaroth attacks or blocks, Choose one -- Create a 3/3 green Beast creature token. -- You gain 3 life. -- Draw a card.
mana={3}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Elderfang Disciple
auto=ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ opponent
text=When Elderfang Disciple enters the battlefield, each opponent discards a card.
mana={1}{B}
type=Creature
subtype=Elf Cleric
power=1
toughness=1
[/card]
[card]
name=Elderfang Ritualist
auto=_DIES_target(other *[elf]|mygraveyard) moveTo(myhand)
text=When Elderfang Ritualist dies, return another target Elf card from your graveyard to your hand.
mana={2}{B}
type=Creature
subtype=Elf Cleric
power=3
toughness=1
[/card]
[card]
name=Elderfang Venom
auto=lord(elf[attacking]|mybattlefield) deathtouch
auto=@movedto(elf|graveyard) from(mybattlefield):life:-1 opponent && life:l controller
text=Attacking Elves you control have deathtouch. -- Whenever an Elf you control dies, each opponent loses 1 life and you gain 1 life.
mana={2}{B}{G}
type=Enchantment
[/card]
[card]
name=Elderleaf Mentor
auto=token(Warrior,Creature Elf Warrior,1/1,green)
text=When Elderleaf Mentor enters the battlefield, create a 1/1 green Elf Warrior creature token.
mana={3}{G}
type=Creature
subtype=Elf Warrior
power=3
toughness=2
[/card]
[card]
name=Eldrazi Mimic
auto=@movedto(other creature[colorless]|mybattlefield):all(trigger[to]) may becomes(storedpower/storedtoughness) ueot
text=Whenever another colorless creature enters the battlefield under your control, you may change Eldrazi Mimic's base power and toughness to that creature's power and toughness until end of turn.
mana={2}
type=Creature
subtype=Eldrazi
power=2
toughness=1
[/card]
[card]
name=Eldrazi Temple
auto={T}:add{C}
auto=this(variable{type:eldrazi[-black;-blue;-red;-green;-white]:myrestrictedcastingzone}>0) {T}:add{C}{C}
auto=this(variable{type:eldrazi[-black;-blue;-red;-green;-white]:mybattlefield}>0) {T}:add{C}{C}
text={T}: Add {1} to your mana pool. -- {T}: Add {2} to your mana pool. Spend this mana only to cast colorless Eldrazi spells or activate abilities of colorless Eldrazi.
type=Land
[/card]
[card]
name=Electric Revelation
flashback={3}{R}
auto=draw:2 controller
text=As an additional cost to cast this spell, discard a card. -- Draw two cards. -- Flashback {3}{R} (You may cast this card from your graveyard for its flashback cost and any additional costs. Then exile it.)
mana={2}{R}{D(other *|myhand)}
type=Instant
[/card]
[card]
name=Electrify
target=creature
auto=damage:4
text=Electrify deals 4 damage to target creature.
mana={3}{R}
type=Instant
[/card]
[card]
name=Electrodominance
auto=damage:X target(player,creature,planeswalker)
auto=may castcard(normal) notatarget(*[-land;manacost<=X]|myhand)
text=Electrodominance deals X damage to any target. You may cast a card with converted mana cost X or less from your hand without paying its mana cost.
mana={X}{R}{R}
type=Instant
[/card]
[card]
name=Electropotence
auto=@movedto(other creature[colorless]|mybattlefield):name(pay 2R for damage) pay[[{2}{R}]] name(Pay 2R):all(trigger[to]) transforms((,newability[target(creature,player) dynamicability<!powerstrike!>])) ueot
text=Whenever a creature enters the battlefield under your control, you may pay {2}{R}. If you do, that creature deals damage equal to its power to target creature or player.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Electrostatic Field
abilities=defender
auto=@movedTo(instant,sorcery|mystack):electrostatic field damage:1 each opponent
text=Defender -- Whenever you cast an instant or sorcery spell, Electrostatic Field deals 1 damage to each opponent.
mana={1}{R}
type=Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Elemental Expressionist
auto=@movedto(*[instant;sorcery]|mystack):name(Choose a creature) target(creature|mybattlefield) transforms((,newability[exiledeath],newability[@movedto(this|exile):token(Elemental^Creature Elemental^4/4^blue^red)])) ueot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, choose target creature you control. Until end of turn, it gains "If this creature would leave the battlefield, exile it instead of putting it anywhere else" and "When this creature is put into exile, create a 4/4 blue and red Elemental creature token." (Each instance of that ability triggers separately.)
mana={UR}{UR}{UR}{UR}
type=Creature
subtype=Orc Wizard
power=4
toughness=4
[/card]
[card]
name=Elemental Hoo
abilities=flying
type=Creature
subtype=Elemental
power=4
toughness=4
color=white
[/card]
[card]
name=Elemental Masterpiece
auto=token(Elemental,Creature Elemental,4/4,blue,red)*2
autohand={UR}{UR}{D}:name(Create a treasure) token(Treasure Sur)
text=Create two 4/4 blue and red Elemental creature tokens. -- {UR}{UR}, Discard Elemental Masterpiece: Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={5}{U}{R}
type=Sorcery
[/card]
[card]
name=Elemental Phoenix
auto=@each my upkeep:moveto(mybattlefield) target(Rekindling Phoenix|mygraveyard) and!( transforms((,newability[haste])) ueot )!
auto=@each my upkeep:sacrifice all(this)
text=At the beginning of your upkeep, sacrifice this creature and return target card named Rekindling Phoenix from your graveyard to the battlefield. It gains haste until end of turn.
type=Creature
subtype=Elemental
power=0
toughness=1
color=red
[/card]
[card]
name=Elemental Summoning
auto=token(Elemental,Creature Elemental,4/4,blue,red)
text=Create a 4/4 blue and red Elemental creature token.
mana={3}{UR}{UR}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Elemental Uprising
target=land|mybattlefield
auto=transforms((Creature Elemental,setpower=4,settoughness=4,newability[haste],newability[@combat(attacking) source(this):all(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot])) ueot
text=Target land you control becomes a 4/4 Elemental creature with haste until end of turn. it's still a land. It must be blocked this turn if able.
mana={1}{G}
type=Instant
[/card]
[card]
name=Elementalist's Palette
auto=@movedTo(*[hasx]|myStack):counter(0/0,2,Charge)
auto={T}:name(Add white mana) add{W}
auto={T}:name(Add green mana) add{G}
auto={T}:name(Add black mana) add{B}
auto={T}:name(Add blue mana) add{U}
auto={T}:name(Add red mana) add{R}
auto={T}:name(Add colorless mana) if type(*[hasx]|myrestrictedcastingzone)~morethan~0 then thisforeach(variable{hascntcharge}>0) add{C}
text=Whenever you cast a spell with {X} in its mana cost, put two charge counters on Elementalist's Palette. -- {T}: Add one mana of any color. -- {T}: Add Colorless for each charge counter on Elementalist's Palette. Spend this mana only on costs that contain {X}.
mana={3}
type=Artifact
[/card]
[card]
name=Elenda, the Dusk Rose
abilities=lifelink
auto=@movedTo(other creature|graveyard) from(battlefield):counter(1/1)
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=0) donothing
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=1) create(Vampire:creature Vampire:1/1:black:lifelink) controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=2) create(Vampire:creature Vampire:1/1:black:lifelink)*2 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=3) create(Vampire:creature Vampire:1/1:black:lifelink)*3 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=4) create(Vampire:creature Vampire:1/1:black:lifelink)*4 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=5) create(Vampire:creature Vampire:1/1:black:lifelink)*5 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=6) create(Vampire:creature Vampire:1/1:black:lifelink)*6 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=7) create(Vampire:creature Vampire:1/1:black:lifelink)*7 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=8) create(Vampire:creature Vampire:1/1:black:lifelink)*8 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=9) create(Vampire:creature Vampire:1/1:black:lifelink)*9 controller
auto=@movedTo(myGraveyard) from(this|battlefield):this(power=10) create(Vampire:creature Vampire:1/1:black:lifelink)*10 controller
text=Lifelink -- Whenever another creature dies, put a +1/+1 counter on Elenda, the Dusk Rose. -- When Elenda dies, create X 1/1 white Vampire creature tokens with lifelink, where X is Elenda's power.
mana={2}{W}{B}
type=Legendary Creature
subtype=Vampire Knight
power=1
toughness=1
[/card]
[card]
name=Elfhame Druid
auto={T}:add{G}
auto=this(variable{type:*[haskicker]:myrestrictedcastingzone}>0) {T}:add{G}{G}
text={T}: Add{G}. -- {T}: Add {G}{G}. Spend this mana only to cast kicked spells.
mana={1}{G}
type=Creature
subtype=Elf Druid
power=0
toughness=2
[/card]
[card]
name=Eligeth, Crossroads Augur
abilities=flying,partner,replacescry
auto=@scryed(*|mybattlefield,mystack):name(Draw cards instead of scry) draw:scryedcards controller
text=Flying -- If you would scry a number of cards, draw that many cards instead. -- Partner (You can have two commanders if both have partner.)
mana={4}{U}{U}
type=Legendary Creature
subtype=Sphinx
power=5
toughness=6
[/card]
[card]
name=Eliminate
auto=choice name(Destroy creature) target(creature[manacost<=3]) destroy
auto=choice name(Destroy planeswalker) target(planeswalker[manacost<=3]) destroy
text=Destroy target creature or planeswalker with converted mana cost 3 or less.
mana={1}{B}
type=Instant
[/card]
[card]
name=Eliminate the Competition
auto=if type(*[creature]|myBattlefield)~morethan~0 then choice name(Sacrifice 1 creature) ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && target(creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~1 then choice name(Sacrifice 2 creatures) ability$!sacrifice notatarget(<2>creature|mybattlefield)!$ controller && target(<2>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~2 then choice name(Sacrifice 3 creatures) ability$!sacrifice notatarget(<3>creature|mybattlefield)!$ controller && target(<3>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~3 then choice name(Sacrifice 4 creatures) ability$!sacrifice notatarget(<4>creature|mybattlefield)!$ controller && target(<4>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~4 then choice name(Sacrifice 5 creatures) ability$!sacrifice notatarget(<5>creature|mybattlefield)!$ controller && target(<5>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~5 then choice name(Sacrifice 6 creatures) ability$!sacrifice notatarget(<6>creature|mybattlefield)!$ controller && target(<6>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~6 then choice name(Sacrifice 7 creatures) ability$!sacrifice notatarget(<7>creature|mybattlefield)!$ controller && target(<7>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~7 then choice name(Sacrifice 8 creatures) ability$!sacrifice notatarget(<8>creature|mybattlefield)!$ controller && target(<8>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~8 then choice name(Sacrifice 9 creatures) ability$!sacrifice notatarget(<9>creature|mybattlefield)!$ controller && target(<9>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~9 then choice name(Sacrifice 10 creatures) ability$!sacrifice notatarget(<10>creature|mybattlefield)!$ controller && target(<10>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~10 then choice name(Sacrifice 11 creatures) ability$!sacrifice notatarget(<11>creature|mybattlefield)!$ controller && target(<11>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~11 then choice name(Sacrifice 12 creatures) ability$!sacrifice notatarget(<12>creature|mybattlefield)!$ controller && target(<12>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~12 then choice name(Sacrifice 13 creatures) ability$!sacrifice notatarget(<13>creature|mybattlefield)!$ controller && target(<13>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~13 then choice name(Sacrifice 14 creatures) ability$!sacrifice notatarget(<14>creature|mybattlefield)!$ controller && target(<14>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~14 then choice name(Sacrifice 15 creatures) ability$!sacrifice notatarget(<15>creature|mybattlefield)!$ controller && target(<15>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~15 then choice name(Sacrifice 16 creatures) ability$!sacrifice notatarget(<16>creature|mybattlefield)!$ controller && target(<16>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~16 then choice name(Sacrifice 17 creatures) ability$!sacrifice notatarget(<17>creature|mybattlefield)!$ controller && target(<17>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~17 then choice name(Sacrifice 18 creatures) ability$!sacrifice notatarget(<18>creature|mybattlefield)!$ controller && target(<18>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~18 then choice name(Sacrifice 19 creatures) ability$!sacrifice notatarget(<19>creature|mybattlefield)!$ controller && target(<19>creature) destroy
auto=if type(*[creature]|myBattlefield)~morethan~19 then choice name(Sacrifice 20 creatures) ability$!sacrifice notatarget(<20>creature|mybattlefield)!$ controller && target(<20>creature) destroy
text=As an additional cost to cast Eliminate the Competition, sacrifice X creatures. -- Destroy X target creatures.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Elite Arcanist
auto=may name(Exile instant from hand) target(instant|myhand) imprint
auto=this(variable{hasevict}>0) this(variable{evictmc}=0) {T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=1) {1}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=2) {2}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=3) {3}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=4) {4}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=5) {5}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=6) {6}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=7) {7}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=8) {8}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=9) {9}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=10) {10}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=11) {11}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=12) {12}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=13) {13}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=14) {14}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=15) {15}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=16) {16}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=17) {17}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=18) {18}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}=19) {19}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
auto=this(variable{hasevict}>0) this(variable{evictmc}>=20) {20}{T}:name(Cast a copy of exiled instant) activate castcard(copied noevent named!:imprintedcard:!)
text=When Elite Arcanist enters the battlefield, you may exile an instant card from your hand. -- {X}, {T}: Copy the exiled card. You may cast the copy without paying its mana cost. X is the converted mana cost of the exiled card.
mana={3}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Elite Arrester
auto={1}{U}{T}:tap target(creature)
text={1}{U}, {T}: Tap target creature.
mana={W}
type=Creature
subtype=Human Soldier
power=0
toughness=3
[/card]
[card]
name=Elite Guardmage
abilities=flying
auto=life:3 && draw:1
text=Flying -- When Elite Guardmage enters the battlefield, you gain 3 life and draw a card.
mana={2}{W}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Elite Headhunter
abilities=menace
auto={BR}{BR}{BR}{S(other creature|myBattlefield)}:damage:2 target(creature,planeswalker)
auto={BR}{BR}{BR}{S(artifact|myBattlefield)}:damage:2 target(creature,planeswalker)
text=Menace (This creature can't be blocked except by two or more creatures.) -- {BR}{BR}{BR}, Sacrifice another creature or an artifact: Elite Headhunter deals 2 damage to target creature or planeswalker.
mana={BR}{BR}{BR}{BR}
type=Creature
subtype=Human Knight
power=2
toughness=3
[/card]
[card]
name=Elite Instructor
auto=draw:1
auto=reject target(*|myhand)
text=When Elite Instructor enters the battlefield, draw a card, then discard a card.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Elite Spellbinder
abilities=flying
auto=if type(*[-land]|opponenthand)~morethan~0 then name(Exile a non-land card) name(Exile a non-land card)  target(*[-land]|opponenthand) moveto(opponentexile) and!( transforms((,newability[canplayfromexile],newability[changecost(colorless:2) forcedalive])) forever )!
auto=if type(*[-land]|opponenthand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) )!
text=Flying -- When Elite Spellbinder enters the battlefield, look at target opponent's hand. You may exile a nonland card from it. For as long as that card remains exiled, its owner may play it. A spell cast this way costs 2 more to cast.
mana={2}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=1
[/card]
[card]
name=Elkin Bottle
auto={3}{T}:moveto(exile) and!( transforms((,canplayfromexile)) uynt )! all(*[zpos=1]|mylibrary)
text={3}, {T}: Exile the top card of your library. Until the beginning of your next upkeep, you may play that card.
mana={3}
type=Artifact
[/card]
[card]
name=Eloise, Nephalia Sleuth
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=@sacrificed(*[token]|mybattlefield):name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
auto=@movedTo(other creature|graveyard) from(mybattlefield):name(Investigate) token(Clue)
text=Whenever another creature you control dies, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -- Whenever you sacrifice a token, surveil 1. (Look at the top card of your library. You may put that card into your graveyard.)
mana={3}{U}{B}
type=Legendary Creature
subtype=Human Rogue
power=4
toughness=4
[/card]
[card]
name=Elsha of the Infinite
abilities=prowess,showfromtoplibrary
auto=this(variable{type:*[-land;-creature;zpos=1]:mylibrary}>0) lord(*[zpos=1]|mylibrary) flash
auto=this(variable{type:*[-land;-creature;zpos=1]:mylibrary}>0) canplayfromlibrarytop
auto=@movedTo(*[-creature]|mystack):1/1 ueot
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- You may look at the top card of your library any time. -- You may cast the top card of your library if it's a noncreature, nonland card, and you may cast it as though it had flash.
mana={2}{U}{R}{W}
type=Legendary Creature
subtype=Djinn Monk
power=3
toughness=3
[/card]
[card]
name=Elspeth Conquers Death
auto=moveTo(Exile) target(*[manacost>=3]|opponentbattlefield)
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) all(*[-creature]|opponentcastingzone) altercost(colorless, +2) uynt
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) choice name(Planeswalker) target(planeswalker|mygraveyard) transforms((,newability[moveTo(mybattlefield)],newability[counter(0/0.1.loyalty)]))
auto=@counteradded(0/0,1,Lore) from(this): this(counter{0/0.3.Lore}) choice name(Creature) target(creature|mygraveyard) transforms((,newability[moveTo(mybattlefield)],newability[counter(1/1)]))
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Exile target permanent an opponent controls with converted mana cost 3 or greater. -- II - Noncreature spells your opponents cast cost {2} more to cast until your next turn. -- III - Return target creature or planeswalker card from your graveyard to the battlefield. Put a +1/+1 counter or a loyalty counter on it.
mana={3}{W}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Elspeth's Devotee
auto=may moveto(myHand) target(Elspeth^ Undaunted Hero|mylibrary,mygraveyard) && shuffle
text=When Elspeth's Devotee enters the battlefield, you may search your library and/or graveyard for a card named Elspeth, Undaunted Hero, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={2}{W}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Elspeth's Nightmare
aicode=activate reject notatarget(*[-creature;-land]|targetedpersonshand)
auto=destroy target(creature[power<=2])
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) target(opponent) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature;-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveTo(exile) all(*|opponentGraveyard)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=I - Destroy target creature an opponent controls with power 2 or less. -- II - Target opponent reveals their hand. You choose a noncreature, nonland card from it. That player discards that card. -- III - Exile target opponent's graveyard.
mana={2}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Elturgard Ranger
abilities=reach
auto=name(Create wolf) token(Wolf,Creature Wolf,2/2,green)
text=Reach -- When Elturgard Ranger enters the battlefield, create a 2/2 green Wolf creature token.
mana={4}{G}
type=Creature
subtype=Human Elf Ranger
power=4
toughness=1
[/card]
[card]
name=Elven Ambush
auto=token(Warrior,Creature Elf Warrior,1/1,green)*type:elf:mybattlefield
text=Create a 1/1 green Elf Warrior creature token for each Elf you control.
mana={3}{G}
type=Instant
[/card]
[card]
name=Elven Bow
autostack=may name(Create elf and attach) pay({2}) name(Create elf and attach) moveTo(mybattlefield) and!( transforms((,newability[token(Elf^Creature Elf Warrior^1/1^green),newability[rehook target(warrior[token;elf;fresh]|mybattlefield)])) oneshot )!
auto={3}:equip
auto=teach(creature) 1/2
auto=teach(creature) reach
text=When Elven Bow enters the battlefield, you may pay {2}. If you do, create a 1/1 green Elf Warrior creature token, then attach Elven Bow to it. -- Equipped creature gets +1/+2 and has reach. -- Equip {3}
mana={G}
type=Artifact
subttype=Equipment
[/card]
[card]
name=Elvish Clancaller
auto=lord(other elf|myBattlefield) +1/+1
auto={4}{G}{G}{T}:moveto(mybattlefield) target(Elvish Clancaller|mylibrary)
text=Other Elves you control get +1/+1. -- {4}{G}{G}, {T}: Search your library for a card named Elvish Clancaller, put it onto the battlefield, then shuffle your library.
mana={G}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Elvish Doomsayer
auto=@movedto(this|ownergraveyard) from(battlefield):ability$!name(discard) notatarget(*|myhand) reject!$ opponent
text=When Elvish Doomsayer dies, each opponent discards a card.
mana={1}{B}
type=Creature
subtype=Elf Shaman
power=1
toughness=1
[/card]
[card]
name=Elvish Dreadlord
abilities=deathtouch
auto=@movedto(this|ownergraveyard) from(battlefield):all(creature[-elf]|battlefield) -3/-3 ueot
autograveyard={5}{B}{B}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Deathtouch -- When Elvish Dreadlord dies, non-Elf creatures get -3/-3 until end of turn. -- Encore {5}{B}{B} ({5}{B}{B}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={3}{B}{B}
type=Creature
subtype=Zombie Elf
power=3
toughness=3
[/card]
[card]
name=Elvish Impersonators
auto=all(this) transforms((Creature Summon Elves,setpower=1,settoughness=1)) forever
auto=all(this) rolld6 6 winability lastrollresultminus1minusend/0 winabilityend loseability lastrollresultminus1minusend/0 loseabilityend rolld6end
auto=all(this) rolld6 6 winability 0/lastrollresultminus1minusend winabilityend loseability 0/lastrollresultminus1minusend loseabilityend rolld6end
text=When you play Elvish Impersonators, roll two six-sided dice one after the other. Elvish Impersonators comes into play with power equal to the first die roll and toughness equal to the second.
mana={3}{G}
type=Summon
subtype=Elves
[/card]
[card]
name=Elvish Reclaimer
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land|myLibrary)
auto=aslongas(land|myGraveyard) 2/2 >2
auto={2}{T}{S(land|mybattlefield)}:name(search card) reveal:plibrarycount optionone name(choose card) target(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=Elvish Reclaimer gets +2/+2 as long as there are three or more land cards in your graveyard. -- {2}, {T}, Sacrifice a land: Search your library for a land card, put it onto the battlefield tapped, then shuffle your library.
mana={G}
type=Creature
subtype=Elf Warrior
power=1
toughness=2
[/card]
[card]
name=Elvish Rejuvenator
aicode=activate moveTo(myBattlefield) tap(noevent) target(land|myLibrary)
auto=name(Reveal Cards) reveal:5 revealzone(mylibrary) revealuntil(land|mylibrary) optionone choice name(Put a land card) target(land|reveal) moveto(mybattlefield) tap(noevent) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=When Elvish Rejuvenator enters the battlefield, look at the top five cards of your library. You may put a land card from among them onto the battlefield tapped. Put the rest on the bottom of your library in a random order.
mana={2}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Elvish Warmaster
auto=@movedto(elf|mybattlefield) turnlimited:token(Warrior,Creature Elf Warrior,1/1,green)
auto={5}{G}{G}:all(elf|mybattlefield) transforms((,newability[2/2],newability[deathtouch])) ueot
text=Whenever one or more other Elves enters the battlefield under your control, create a 1/1 green Elf Warrior creature token. This ability triggers only once each turn. -- {5}{G}{G}: Elves you control get +2/+2 and gain deathtouch until end of turn.
mana={1}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Embalmer's Tools
auto={T(zombie[-tapped]|mybattlefield)}:deplete:1 target(player)
text=Activated abilities of creature cards in your graveyard cost {1} less to activate. -- Tap an untapped Zombie you control: Target player mills a card.
mana={2}
type=Artifact
[/card]
[card]
name=Embercleave
abilities=flash
other={3}{R}{R} name(Cast Embercleave for 1 less)
otherrestriction=type(creature[attacking]|myBattlefield)~morethan~0
restriction=type(creature[attacking]|myBattlefield)~equalto~0
autohand={2}{R}{R} restriction{type(creature[attacking]|myBattlefield)~equalto~2}:name(Cast Embercleave for 2 less) name(Cast Embercleave for 2 less) activate castcard(alternative)
autohand={1}{R}{R} restriction{type(creature[attacking]|myBattlefield)~equalto~3}:name(Cast Embercleave for 3 less) name(Cast Embercleave for 3 less) activate castcard(alternative)
autohand={R}{R} restriction{type(creature[attacking]|myBattlefield)~morethan~3}:name(Cast Embercleave for 4 less) name(Cast Embercleave for 4 less) activate castcard(alternative)
auto=name(Attach to creature) rehook target(creature|myBattlefield)
auto=teach(creature) double strike
auto=teach(creature) trample
auto=teach(creature) 1/1
auto={3}:equip
text=Flash -- This spell costs {1} less to cast for each attacking creature you control. -- When Embercleave enters the battlefield, attach it to target creature you control. -- Equipped creature gets +1/+1 and has double strike and trample. -- Equip {3}
mana={4}{R}{R}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Embereth Paladin
abilities=haste
auto=if casted(this) then if spent({R}{R}{R}) then counter(1/1)
text=Haste -- Adamant - If at least three red mana was spent to cast this spell, Embereth Paladin enters the battlefield with a +1/+1 counter on it.
mana={3}{R}
type=Creature
subtype=Human Knight
power=4
toughness=1
[/card]
[card]
name=Embereth Shieldbreaker // Battle Display
abilities=adventure
other={R} name(Adventure)
auto=if paid(alternative) then name(Destroy artifact) name(Destroy artifact) target(artifact|battlefield) destroy
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Destroy target artifact. (Then exile this card. You may cast the creature later from exile.)
mana={1}{R}
type=Creature
subtype=Human Knight
power=2
toughness=1
[/card]
[card]
name=Embereth Skyblazer
auto=this(variable{controllerturn}>0) flying
auto=_ATTACKING_pay({2}{R}):all(creature|mybattlefield) 1/0 ueot
text=As long as it's your turn, Embereth Skyblazer has flying. -- Whenever Embereth Skyblazer attacks, you may pay {2}{R}. If you do, creatures you control get +X/+0 until end of turn, where X is the number of opponents you have.
mana={3}{R}
type=Creature
subtype=Human Knight
power=4
toughness=3
[/card]
[card]
name=Emberhorn Minotaur
auto=@exerted(this):1/1 ueot && menace ueot
auto=_ATTACKING_may exert
text=You may exert Emberhorn Minotaur as it attacks. When you do, it gets +1/+1 and gains menace until end of turn. (An exerted creature won't untap during your next untap step.)
mana={3}{R}
type=Creature
subtype=Minotaur Warrior
power=4
toughness=3
[/card]
[card]
name=Embermaw Hellion
abilities=trample
auto=@damaged(*|battlefield) from(*[instant;sorcery;red]|mystack,myGraveyard):all(trigger[to]) transforms((,newability[damage:1])) oneshot
auto=@damaged(*|battlefield) from(*[enchantment;artifact;land;planeswalker;red]|mybattlefield,myGraveyard):all(trigger[to]) transforms((,newability[damage:1])) oneshot
auto=@damaged(*|battlefield) from(other creature[red]|mybattlefield,myGraveyard):all(trigger[to]) transforms((,newability[damage:1])) oneshot
auto=@damagefoeof(player) from(*[instant;sorcery;red]|mystack,myGraveyard):ability$!name(Damage opponent) damage:1 opponent!$ controller
auto=@damagefoeof(player) from(*[enchantment;artifact;land;planeswalker;red]|mybattlefield,myGraveyard):ability$!name(Damage opponent) damage:1 opponent!$ controller
auto=@damagefoeof(player) from(other creature[red]|mybattlefield,myGraveyard):ability$!name(Damage opponent) damage:1 opponent!$ controller
auto=@damageof(player) from(*[instant;sorcery;red]|mystack,myGraveyard):ability$!name(Damage controller) damage:1 controller!$ controller
auto=@damageof(player) from(*[enchantment;artifact;land;planeswalker;red]|mybattlefield,myGraveyard):ability$!name(Damage controller) damage:1 controller!$ controller
auto=@damageof(player) from(other creature[red]|mybattlefield,myGraveyard):ability$!name(Damage controller) damage:1 controller!$ controller
text=Trample (This creature can deal excess combat damage to defending player or planeswalker while attacking.) -- If another red source you control would deal damage to a permanent or player, it deals that much damage plus 1 to that permanent or player instead.
mana={3}{R}{R}
type=Creature
subtype=Hellion
power=4
toughness=5
[/card]
[card]
name=Emberwilde Captain
auto=_MONARCH_CONTROLLER_
auto=@each blockers restriction{type(creature[attacking]|opponentbattlefield)~morethan~0}:if compare(pmonarch)~morethan~0 then damage:type:*:opponenthand opponent
text=When Emberwilde Captain enters the battlefield, you become the monarch. -- Whenever an opponent attacks you while you're the monarch, Emberwilde Captain deals damage to that player equal to the number of cards in their hand.
mana={3}{R}
type=Creature
subtype=Djinn Pirate
power=4
toughness=2
[/card]
[card]
name=Emberwilde Djinn
abilities=flying
auto=@each opponent upkeep restriction{type(Emberwilde Djinn|opponentbattlefield)~morethan~0}:ability$!name(Pay RR) pay[[{R}{R}]] name(Gain Control) notatarget(Emberwilde Djinn|opponentbattlefield) moveto(mybattlefield)!$ opponent
auto=@each opponent upkeep restriction{type(Emberwilde Djinn|opponentbattlefield)~morethan~0}:ability$!name(Pay 2 life) pay[[{L:2}]] name(Gain Control) notatarget(Emberwilde Djinn|opponentbattlefield) moveto(mybattlefield)!$ opponent
auto=@each my upkeep restriction{type(Emberwilde Djinn|opponentbattlefield)~morethan~0}:ability$!name(Pay RR) pay[[{R}{R}]] name(Gain Control) notatarget(Emberwilde Djinn|opponentbattlefield) moveto(mybattlefield)!$ controller
auto=@each my upkeep restriction{type(Emberwilde Djinn|opponentbattlefield)~morethan~0}:ability$!name(Pay 2 Life) pay[[{L:2}]] name(Gain Control) notatarget(Emberwilde Djinn|opponentbattlefield) moveto(mybattlefield)!$ controller
text=Flying -- At the beginning of each player's upkeep, that player may pay {R}{R} or 2 life. If he or she does, the player gains control of Emberwilde Djinn.
mana={2}{R}{R}
type=Creature
subtype=Djinn
power=5
toughness=4
[/card]
[card]
name=Embodiment of Flame
backside=Flame Channeler
auto=@damaged(this) from(*|myzones):name(Put a flame counter) counter(0/0.1.Flame)
auto={1}{C(0/0,-1,Flame)}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )!
text=Whenever a spell you control deals damage, put a flame counter on Embodiment of Flame. -- {1}, Remove a flame counter from Embodiment of Flame: Exile the top card of your library. You may play that card this turn. // Flame Channeler
type=Creature
subtype=Elemental Wizard
color=red
power=3
toughness=3
[/card]
[card]
name=Embolden
auto=thisforeach(variable{4}) ability$!name(Prevent 1 damage) name(Prevent 1 damage) prevent:1 target(creature,player)!$ controller
flashback={1}{W}
text=Prevent the next 4 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose. -- Flashback {1}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Embrose, Dean of Shadow
auto={T}:name(Put 1/1 counter) target(other creature|battlefield) transforms((,newability[counter(1/1)],newability[damage:2])) oneshot
auto=@movedto(creature[counter{1/1}]|graveyard) from(mybattlefield):name(Draw card) draw:1 controller
text={T}: Put a +1/+1 counter on another target creature, then Embrose, Dean of Shadow deals 2 damage to that creature. -- Whenever a creature you control with a +1/+1 counter on it dies, draw a card. // {1}{W} Shaile, Dean of Radiance
mana={2}{B}{B}
type=Legendary Creature
subtype=Human Warlock
power=4
toughness=4
[/card]
[card]
name=Emergence Zone
auto={T}:Add{C}
auto={1}{T}{S}:all(*|mycastingzone) transforms((,newability[asflash])) ueot
text={T}: Add {C}. -- {1}, {T}, Sacrifice Emergence Zone: You may cast spells this turn as though they had flash.
type=Land
[/card]
[card]
name=Emergency Powers
auto=moveto(exile)
auto=moveto(opponentlibrary) all(*|opponenthand)
auto=moveto(opponentlibrary) all(*|opponentgraveyard) && shuffle
auto=draw:7 opponent
auto=moveto(mylibrary) all(*|myhand)
auto=moveto(mylibrary) all(*|mygraveyard) && shuffle
auto=draw:7 controller
auto=_ADDENDUM_ auto=castcard(normal) notatarget(*[-instant;-sorcery;manacost<=7]|myhand) else
text=Each player shuffles their hand and graveyard into their library, then draws seven cards. Exile Emergency Powers. -- Addendum - If you cast this spell during your main phase, you may put a permanent card with converted mana cost 7 or less from your hand onto the battlefield.
mana={5}{W}{U}
type=Instant
[/card]
[card]
name=Emergent Growth
target=creature
auto=transforms((,newability[5/5],newability[_ATTACKING_all(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot])) ueot
text=Target creature gets +5/+5 until end of turn and must be blocked this turn if able.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Emergent Sequence
auto=name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[counter(1/1.type:land[fresh]:mybattlefield)],newability[becomes(Fractal Creature Land^0/0^green^blue)])) forever )!
text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle. That land becomes a 0/0 green and blue Fractal creature that's still a land. Put a +1/+1 counter on it for each land you had enter the battlefield under your control this turn.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Emergent Ultimatum
auto=ability$! notatarget(*|opponentexile) moveto(ownerlibrary) !$ opponent
auto=transforms((,newability[choice name(Reveal 2 and cast 2) target(<2>*|mylibrary) moveTo(myBattlefield)],newability[choice name(Reveal 2 and move to exile) target(<2>*|mylibrary) moveTo(myexile)]))
auto=moveTo(exile)
text=Search your library for up to three monocolored cards with different names and exile them. An opponent chooses one of those cards. Shuffle that card into your library. You may cast the other cards without paying their mana costs. Exile Emergent Ultimatum.
mana={B}{B}{G}{G}{G}{U}{U}
type=Sorcery
[/card]
[card]
name=Emeria Captain
abilities=flying,vigilance
auto=counter(1/1,calculateparty) all(this)
text=Flying, vigilance -- When Emeria Captain enters the battlefield, put a +1/+1 counter on it for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={3}{W}
type=Creature
subtype=Angel Warrior
power=1
toughness=1
[/card]
[card]
name=Emeria's Call
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Emeria, Shattered Skyclave)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Emeria, Shattered Skyclave) name(Emeria, Shattered Skyclave) flip(Emeria, Shattered Skyclave) forcetype(land)
auto=token(Angel,Creature Angel Warrior,4/4,flying,white)*2
auto=all(creature[-angel]|myBattlefield) indestructible uynt
text=Create two 4/4 white Angel Warrior creature tokens with flying. Non-Angel creatures you control gain indestructible until your next turn. // Emeria, Shattered Skyclave
mana={4}{W}{W}{W}
type=Sorcery
[/card]
[card]
name=Emeria, Shattered Skyclave
auto=ability$!name(Choose one) choice name(Pay 3 life) life:-3 _ choice name(Tap) tap(noevent) all(mysource)!$ controller
auto={T}:add{W}
text=As Emeria, Shattered Skyclave enters the battlefield, you may pay 3 life. If you don't, it enters the battlefield tapped. -- {T}: Add {W}. // {4}{W}{W}{W} Emeria's Call
type=Land
[/card]
[card]
name=Emiel the Blessed
auto=@movedto(other creature[-unicorn]|mybattlefield):name(pay G or W) pay[[{GW}]] name(Pay G or W) counter(1/1) all(trigger[to])
auto=@movedto(other creature[unicorn]|mybattlefield):name(pay G or W) pay[[{GW}]] name(Pay G or W) counter(1/1,2) all(trigger[to])
text={3}: Exile another target creature you control, then return it to the battlefield under its owner's control. -- Whenever another creature enters the battlefield under your control, you may pay {G} or {W}. If you do, put a +1/+1 counter on it. If it's a Unicorn, put two +1/+1 counters on it instead. ( {G} or {W} can be paid with either {G} or {W}.)
mana={2}{W}{W}
type=Legendary Creature
subtype=Unicorn
power=4
toughness=4
[/card]
[card]
name=Emissary's Ploy
abilities=isconspiracy
restriction=never
autocommandzone=choice name(Choose 1) transforms((,newability[lord(creature[manacost=1]|mycastingzone) anytypeofmana])) forever
autocommandzone=choice name(Choose 2) transforms((,newability[lord(creature[manacost=2]|mycastingzone) anytypeofmana])) forever
autocommandzone=choice name(Choose 3) transforms((,newability[lord(creature[manacost=3]|mycastingzone) anytypeofmana])) forever
text=(Start the game with this conspiracy face up in the command zone.) -- Before drawing your opening hand, choose 1, 2, or 3. -- You may spend mana as though it were mana of any color to cast creature spells with converted mana cost equal to the chosen number.
type=Conspiracy
[/card]
[card]
name=Emissary of Sunrise
abilities=first strike
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=First strike -- When Emissary of Sunrise enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={2}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Emmara, Soul of the Accord
auto=@tapped(this):create(soldier:creature soldier:1/1:white:lifelink)
text=Whenever Emmara, Soul of the Accord becomes tapped, create a 1/1 white Soldier creature token with lifelink.
mana={G}{W}
type=Legendary Creature
subtype=Elf Cleric
power=2
toughness=2
[/card]
[card]
name=Emperor's Vanguard
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=@combatdamaged(player) from(this):name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=Whenever Emperor's Vanguard deals combat damage to a player, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={3}{G}
type=Creature
subtype=Human Scout
power=4
toughness=3
[/card]
[card]
name=Empowered Autogenerator
auto=tap(noevent)
auto={T}:counter(0/0,1,Charge) all(this) && name(Add white mana) thisforeach(counter{0/0,1,Charge}) add{W}
auto={T}:counter(0/0,1,Charge) all(this) && name(Add blue mana) thisforeach(counter{0/0,1,Charge}) add{U}
auto={T}:counter(0/0,1,Charge) all(this) && name(Add black mana) thisforeach(counter{0/0,1,Charge}) add{B}
auto={T}:counter(0/0,1,Charge) all(this) && name(Add red mana) thisforeach(counter{0/0,1,Charge}) add{R}
auto={T}:counter(0/0,1,Charge) all(this) && name(Add green mana) thisforeach(counter{0/0,1,Charge}) add{G}
text=Empowered Autogenerator enters the battlefield tapped. -- {T}: Put a charge counter on Empowered Autogenerator. Add X mana of any one color, where X is the number of charge counters on Empowered Autogenerator.
mana={4}
type=Artifact
[/card]
[card]
name=Empty the Laboratory
auto=if compare(ishuman)~equalto~0 then name(Sacrifice zombies) name(Sacrifice zombies) target(<fullpaid>zombie|mybattlefield) sacrifice and!( transforms((,newability[name(Put zombie in play) target(creature[zombie]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot )!
auto=if compare(ishuman)~equalto~1 then name(Sacrifice zombies) name(Sacrifice zombies) target(<fullpaid>zombie|mybattlefield) sacrifice and!( transforms((,newability[ability$!name(Reveal) reveal:1 revealuntil(creature[zombie]|mylibrary) optionone name(Put in play) target(creature[zombie]|myreveal) bottomoflibrary and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put on bottom) all(*|myreveal) bottomoflibrary optiontwoend afterrevealed all(*[tobecast]|mylibrary) moveto(mybattlefield) afterrevealedend revealend!$ controller])) oneshot )!
text=Sacrifice X Zombies, then reveal cards from the top of your library until you reveal a number of Zombie creature cards equal to the number of Zombies sacrificed this way. Put those cards onto the battlefield and the rest on the bottom of your library in a random order.
mana={X}{U}{U}
type=Sorcery
[/card]
[card]
name=Empty the Pits
other={delve} name(Delve)
auto=token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!*xx
text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Put X 2/2 black Zombie creature tokens onto the battlefield tapped.
mana={X}{X}{B}{B}{B}{B}
type=Instant
[/card]
[card]
name=Empyrean Eagle
abilities=flying
auto=lord(creature[flying]|mybattlefield) 1/1
text=Flying -- Other creatures you control with flying get +1/+1.
mana={1}{W}{U}
type=Creature
subtype=Bird Spirit
power=2
toughness=3
[/card]
[card]
name=Empyrial Archangel
abilities=flying,shroud
abilities=cantlifelose
auto=@damageof(player):life:thatmuch controller && damage:thatmuch all(this)
text=Flying, shroud -- All damage that would be dealt to you is dealt to Empyrial Archangel instead.
mana={4}{G}{W}{W}{U}
type=Creature
subtype=Angel
power=5
toughness=8
[/card]
[card]
name=Empyrial Storm
auto=thisforeach(variable{pnumofcommandcastplus1plusend}) create(Angel:creature Angel:4/4:white:flying)
text=When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -- Create a 4/4 white Angel creature token with flying.
mana={4}{W}{W}
type=Sorcery
[/card]
[card]
name=Emry, Lurker of the Loch
anyzone=foreach(*[artifact]|myBattlefield) changecost(colorless:-1) forcedalive
auto=deplete:4 controller
auto={T}:target(artifact|mygraveyard) canplayfromgraveyard ueot
text=This spell costs {1} less to cast for each artifact you control. -- When Emry, Lurker of the Loch enters the battlefield, put the top four cards of your library into your graveyard. -- {T}: Choose target artifact card in your graveyard. You may cast that card this turn. (You still pay its costs. Timing rules still apply.)
mana={2}{U}
type=Legendary Creature
subtype=Merfolk Wizard
power=1
toughness=2
[/card]
[card]
name=Encampment Keeper
abilities=first strike
auto={7}{W}{T}{S}:all(creature|mybattlefield) 2/2 ueot
text=First strike -- {7}{W}, {T}, Sacrifice Encampment Keeper: Creatures you control get +2/+2 until end of turn.
mana={W}
type=Creature
subtype=Dog
power=1
toughness=1
[/card]
[card]
name=Enchanted Carriage
auto=create(Mouse:creature Mouse:1/1:white)*2
auto={crew(other creature[power>=2]|myBattlefield)}:name(crew 2 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~1}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 2 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~1}
text=When Enchanted Carriage enters the battlefield, create two 1/1 white Mouse creature tokens. -- Crew 2 (Tap any number of creatures you control with total power 2 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={5}
type=Artifact
subtype=Vehicle
power=4
toughness=4
[/card]
[card]
name=Enchanter's Bane
auto=@each my end:name(Choose enchantment) target(enchantment|battlefield) transforms((,newability[choice name(Sacrifice) sacrifice],newability[choice name(Deal damage) damage:manacost controller])) oneshot
text=At the beginning of your end step, target enchantment deals damage equal to its converted mana cost to its controller unless that player sacrifices it.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=End-Raze Forerunners
abilities=vigilance, trample, haste
auto=all(other creature|myBattlefield) +2/+2
auto=all(other creature|myBattlefield) vigilance 
auto=all(other creature|myBattlefield) trample 
text=Vigilance, trample, haste -- When End-Raze Forerunners enters the battlefield, other creatures you control get +2/+2 and gain vigilance and trample until end of turn.
mana={5}{G}{G}{G}
type=Creature
subtype=Boar
power=7
toughness=7
[/card]
[card]
name=Endbringer's Revel
auto={4}:moveto(ownerhand) target(creature|graveyard)
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 4) pay[[{4}]] name(Pay 4) notatarget(creature|graveyard) moveto(ownerhand)?donothing!$ opponent])) forever
text={4}: Return target creature card from a graveyard to its owner's hand. Any player may activate this ability but only any time he or she could cast a sorcery.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Endless Atlas
auto={2}{T}:draw:1 controller restriction{control three or more lands with same name}
text={2}, {T}: Draw a card. Activate this ability only if you control three or more lands with the same name.
mana={2}
type=Artifact
[/card]
[card]
name=Endless Sands
auto={T}:Add{1}
auto={2}{T}:(blink)forsrc target(creature|myBattlefield)
auto={4}{T}{S}:name(Return each creature card exiled with Endless Sands to the battlefield) donothing
text={T}: Add {1} to your mana pool. -- {2}, {T}: Exile target creature you control. -- {4}, {T}, Sacrifice Endless Sands: Return each creature card exiled with Endless Sands to the battlefield under its owner's control.
type=Land
subtype=Desert
[/card]
[card]
name=Endling
auto={B}:menace
auto={B}:deathtouch
auto={B}:undying
auto={1}:-1/-1
auto={1}:1/1
text={B}: Endling gains menace until end of turn. -- {B}: Endling gains deathtouch until end of turn. -- {B} : Endling gains undying until end of turn. (When this creature dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it.) {1}: Endling gets +1/-1 or -1/+1 until end of turn.
mana={2}{B}{B}
type=Creature
subtype=Zombie Shapeshifter
power=3
toughness=3
[/card]
[card]
name=Endurance
abilities=flash,reach
other={E(*[green]|myhand)} name(Evoke)
auto=if paid(alternative) then sacrifice
auto=choice name(Target opponent) all(*|opponentgraveyard) transforms((,newability[bottomoflibrary])) oneshot
auto=choice name(Target yourself) all(*|myGraveyard) transforms((,newability[bottomoflibrary])) oneshot
text=Flash -- Reach -- When Endurance enters the battlefield, up to one target player puts all the cards from their graveyard on the bottom of their library in a random order. -- Evoke-Exile a green card from your hand.
mana={1}{G}{G}
type=Creature
subtype=Elemental Incarnation
power=3
toughness=4
[/card]
[card]
name=Enduring Angel
abilities=flying,double strike,controllershroud,cantlose
backside=Angelic Enforcer
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=this(variable{lifetotal}<=0) transforms((,newability[lifeset:3],newability[flip(backside)]))
text=Flying, double strike -- You have hexproof. -- If your life total would be reduced to 0 or less, instead transform Enduring Angel and your life total becomes 3. Then if Enduring Angel didn't transform this way, you lose the game. // Angelic Enforcer
mana={2}{W}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Enduring Renewal
auto=replacedraw if type(creature[zpos=1|mylibrary)~morethan~0 then moveto(ownergraveyard) all(*[zpos=1|mylibrary) else draw:1 controller
auto=@movedTo(creature|mygraveyard) from(battlefield):all(trigger[to]) moveTo(myhand)
text=Play with your hand revealed. -- If you would draw a card, reveal the top card of your library instead. If it's a creature card, put it into your graveyard. Otherwise, draw a card. -- Whenever a creature is put into your graveyard from the battlefield, return it to your hand.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Enduring Scalelord
abilities=flying
auto=@counteradded(1/1) from(other creature|mybattlefield):may counter(1/1,1)
text=Flying -- Whenever one or more +1/+1 counters are placed on another creature you control, you may put a +1/+1 counter on Enduring Scalelord.
mana={4}{G}{W}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Enduring Sliver
auto={2}{T}:counter(1/1,1) asSorcery
auto=lord(sliver|mybattlefield) transforms((,newability[{2}{T}:counter(1/1,1) asSorcery]))
text=Outlast {2} ({2}, {T}: Put a +1/+1 counter on this creature. Outlast only as a sorcery.) -- Other Sliver creatures you control have outlast 2 .
mana={1}{W}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Enemy of Enlightenment
abilities=flying
auto=foreach(*|opponenthand) -1/-1
auto=@each my upkeep:target(opponent) ability$!name(discard) target(<1>*|myhand) reject !$ targetedplayer
text=Flying -- Enemy of Enlightenment gets -1/-1 for each card in your opponents' hands. -- At the beginning of your upkeep, each player discards a card.
mana={5}{B}
type=Enchatment Creature
subtype=Demon
power=5
toughness=5
[/card]
[card]
name=Enforcer Griffin
abilities=flying
text=Flying
mana={4}{W}
type=Creature
subtype=Griffin
power=3
toughness=4
[/card]
[card]
name=Engulfing Eruption
auto=damage:5 target(creature)
text=Engulfing Eruption deals 5 damage to target creature.
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Enhanced Surveillance
auto=altersurvoffset:2 controller
auto=@movedto(this|nonbattlezone) from(battlefield):altersurvoffset:-2 controller
auto={E}:all(*|myGraveyard) moveto(myLibrary) and!(shuffle)!
text=You may look at an additional two cards each time you surveil. -- Exile Enhanced Surveillance: Shuffle your graveyard into your library.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Enigma Drake
abilities=flying
auto=foreach(instant,sorcery|mygraveyard) 1/0
text=Flying -- Enigma Drake's power is equal to the number of instant and sorcery cards in your graveyard.
mana={1}{U}{R}
type=Creature
subtype=Drake
power=*
toughness=4
[/card]
[card]
name=Enigma Thief
abilities=flying
other={3}{U} name(Prowl)
otherrestriction=prowl
auto=may moveTo(ownerhand) target(*[-land]|opponentbattlefield)
text=Prowl {3}{U} (You may cast this spell for its prowl cost if you dealt combat damage to a player this turn with a Sphinx or Rogue.) -- Flying -- When Enigma Thief enters the battlefield, for each opponent, return up to one target nonland permanent that player controls to its owner's hand.
mana={5}{U}{U}
type=Creature
subtype=Sphinx Rogue
power=5
toughness=5
[/card]
[card]
name=Enigmatic Incarnation
aicode=activate moveTo(myBattlefield) target(creature[manacost=storedmanacostplus1plusend]|mylibrary)
auto=@each my endofturn:may {S(enchantment|mybattlefield)}:name(search a creature) reveal:plibrarycount optionone name(choose card) target(creature[manacost=storedmanacostplus1plusend]|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=At the beginning of your end step, you may sacrifice another enchantment. If you do, search your library for a creature card with converted mana cost equal to 1 plus the sacrificed enchantment's converted mana cost, put that card onto the battlefield, then shuffle your library.
mana={2}{G}{U}
type=Enchantment
[/card]
[card]
name=Enlarge
target=creature
auto=trample ueot
auto=7/7 ueot
auto=transform((,newability[_ATTACKING_ all(creature|opponentbattlefield) mustblock ueot])) ueot
text=Target creature gets +7/+7 and gains trample until end of turn. It must be blocked this turn if able. (If a creature with trample would assign enough damage to its blockers to destroy them, you may have it assign the rest of its damage to defending player or planeswalker.)
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Enraged Ceratok
auto=cantbeblockedby(creature[power<=2])
text=Enraged Ceratok can't be blocked by creatures with power 2 or less.
mana={2}{G}{G}
type=Creature
subtype=Rhino
power=4
toughness=4
[/card]
[card]
name=Enraged Killbot
mana={2}
type=Artifact Creature
subtype=Killbot
power=2
toughness=1
[/card]
[card]
name=Ensouled Scimitar
auto={2}:equip
auto={3}:becomes(Artifact Creature Spirit,1/5,flying) ueot
auto=teach(creature) 1/5
text={3}: Ensouled Scimitar becomes a 1/5 Spirit artifact creature with flying until end of turn. (Equipment that's a creature can't equip a creature.) -- Equipped creature gets +1/+5. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Enter the God-Eternals
target=creature
auto=damage:4
auto=life:4
auto=deplete:4 target(player)
auto=_AMASS_(4)
text=Enter the God-Eternals deals 4 damage to target creature and you gain life equal to the damage dealt this way. Target player puts the top four cards of their library into their graveyard. Amass 4. (Put four +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={2}{U}{U}{B}
type=Sorcery
[/card]
[card]
name=Enter the Unknown
target=creature|mybattlefield
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=choice name(Target creature you control explores) name(Target creature you control explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
auto=maxPlay(land)+1
text=Target creature you control explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on the creature, then put the card back or put it into your graveyard.) -- You may play an additional land this turn.
mana={G}
type=Sorcery
[/card]
[card]
name=Enthralling Hold
target=creature[tapped]
alias=1194
text=Enchant creature -- You can't choose an untapped creature as this spell's target as you cast it. -- You control enchanted creature.
mana={3}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Enthusiastic Study
target=creature
auto=transforms((,newability[3/1],newability[trample])) ueot
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Target creature gets +3/+1 and gains trample until end of turn. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={2}{R}
type=Instant
[/card]
[card]
name=Entourage of Trest
auto=_MONARCH_CONTROLLER_
text=When Entourage of Trest enters the battlefield, you become the monarch. -- Entourage of Trest can block an additional creature each combat as long as you're the monarch.
mana={4}{G}
type=Creature
subtype=Elf Soldier
power=4
toughness=4
[/card]
[card]
name=Entrancing Lyre
abilities=shackler
auto={X}{T}:shackle target(creature[power<=X])
auto=@each my untap restriction{canuntap}:may untap
text=You may choose not to untap Entrancing Lyre during your untap step. -- Variable Colorless , {T}: Tap target creature with power X or less. It doesn't untap during its controller's untap step for as long as Entrancing Lyre remains tapped.
mana={3}
type=Artifact
[/card]
[card]
name=Entrancing Melody
target=creature[manacost=X]
auto=moveto(mybattlefield)
text=Gain control of target creature with converted mana cost X.
mana={X}{U}{U}
type=Sorcery
[/card]
[card]
name=Entrapment Maneuver
auto=target(player) ability$!name(sacrifice attacker) notatarget(creature[attacking]|mybattlefield) sacrifice!$ targetedplayer then token(Soldier,Creature Soldier,1/1,white)*storedtoughness
text=Target player sacrifices an attacking creature. You create X 1/1 white Soldier creature tokens, where X is that creature's toughness.
mana={3}{W}
type=Instant
[/card]
[card]
name=Entreat the Angels
autohand=restriction{miracle} pay[[{X}{W}{W}]] name(Miracle) activate name(Miracle) castcard(restricted)
auto=token(Angel, Creature Angel,4/4,flying,white)*XX
text=Put X 4/4 white Angel creature tokens with flying onto the battlefield. -- Miracle {X}{W}{W} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.)
mana={X}{X}{W}{W}{W}
type=Sorcery
[/card]
[card]
name=Entreat the Dead
auto=ifnot paid(alternative) then thisforeach(variable{halfpaid}>0) ability$!name(Return target creature) name(Return target creature) target(creature|mygraveyard) moveTo(myBattlefield)!$ controller
auto=if paid(alternative) then thisforeach(X>0) ability$!name(Return target creature) name(Return target creature) target(creature|mygraveyard) moveTo(myBattlefield)!$ controller
autohand={X}{B}{B} restriction{miracle,type(Entreat the Dead[fresh]|myhand)~morethan~0}:name(Miracle) target(Entreat the Dead[fresh]|myhand) activate name(Miracle) castcard(alternative restricted)
text=Return X target creature cards from your graveyard to the battlefield. -- Miracle {X}{B}{B} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.)
mana={X}{X}{B}{B}{B}
type=Sorcery
[/card]
[card]
name=Environmental Sciences
auto=life:2 controller
auto=name(Search land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )!
text=Search your library for a basic land card, reveal it, put it into your hand, then shuffle. You gain 2 life.
mana={2}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Eon Frolicker
abilities=flying
auto=if casted(this) then turns:+1 opponent && protection from(*) uynt && all(planeswalker|myBattlefield) protection from(*) uynt
text=Flying -- When Eon Frolicker enters the battlefield, if you cast it, target opponent takes an extra turn after this one. Until your next turn, you and planeswalkers you control gain protection from that player. (You and planeswalkers you control can't be targeted, dealt damage, or enchanted by anything controlled by that player.)
mana={2}{U}{U}
type=Creature
subtype=Elemental Otter
power=5
toughness=5
[/card]
[card]
name=Ephemerate
target=creature|mybattlefield)
auto=moveto(exile) and!(moveto(ownerbattlefield))!
auto=_REBOUND_
text=Exile target creature you control, then return it to the battlefield under its owner's control. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
mana={W}
type=Instant
[/card]
[card]
name=Epic Downfall
auto=moveTo(exile) target(creature[manacost>=3]|battlefield)
text=Exile target creature with converted mana cost 3 or greater.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Epicure of Blood
auto=@lifeof(player) from(*[-lifefaker]|*):life:-1 opponent
text=Whenever you gain life, each opponent loses 1 life.
mana={4}{B}
type=Creature
subtype=Vampire
power=4
toughness=4
[/card]
[card]
name=Eradicator Valkyrie
abilities=boast,flying,lifelink
auto=protection from(planeswalker)
auto={1}{B}{S(creature|mybattlefield)} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) sacrifice notatarget(*[creature;planeswalker]|mybattlefield)!$ opponent limit:hasabilitytwoboastplus1plusend
auto={B}{S(creature|mybattlefield)} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) sacrifice notatarget(*[creature;planeswalker]|mybattlefield)!$ opponent limit:hasabilitytwoboastplus1plusend
text=Flying, lifelink, hexproof from planeswalkers -- Boast-{1}{B}, Sacrifice a creature: Each opponent sacrifices a creature or planeswalker. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={2}{B}{B}
type=Creature
subtype=Angel Berserker
power=4
toughness=3
[/card]
[card]
name=Erebos's Intervention
target=creature,graveyard
auto=choice name(Target creature gets -X/-X) -X/-X
auto=choice name(Exile up to X cards...) moveto(Exile)
text=Choose one -- Target creature gets -X/-X until end of turn. You gain X life. -- Exile up to twice X target cards from graveyards.
mana={X}{B}
type=Instant
[/card]
[card]
name=Erebos's Titan
auto=restriction{type(creature|opponentBattlefield)~lessthan~1}:indestructible
autograveyard=@movedTo(creature|opponentexile) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveTo(myhand))! !$ controller
autograveyard=@movedTo(creature|opponentBattlefield) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveTo(myhand))! !$ controller
autograveyard=@movedTo(creature|opponenthand) from(opponentgraveyard):if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(moveTo(myhand))! !$ controller
text=As long as your opponents control no creatures, Erebos's Titan has indestructible. (Damage and effects that say "destroy" don't destroy it.) -- Whenever a creature card leaves an opponent's graveyard, you may discard a card. If you do, return Erebos's Titan from your graveyard to your hand.
mana={1}{B}{B}{B}
type=Creature
subtype=Giant
power=5
toughness=5
[/card]
[card]
name=Erebos, Bleak-Hearted
abilities=indestructible
auto=this(variable{type:manab}<5) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{type:manab}>4) transforms((Legendary Enchantment Creature))
auto=@movedto(graveyard) from(creature|myBattlefield):may pay({L:2}):Draw:1 controller
auto={1}{B}{S(other creature|mybattlefield)}:-2/-1 target(creature) ueot
text=Indestructible -- As long as your devotion to black is less than five, Erebos isn't a creature. -- Whenever another creature you control dies, you may pay 2 life. If you do, draw a card. -- {1}{B}, Sacrifice another creature: Target creature gets -2/-1 until end of turn.
mana={3}{B}
type=Legendary Enchantment Creature
subtype=God
power=5
toughness=6
[/card]
[card]
name=Erosion
target=land
auto=teach(land) transforms((,newability[@each my upkeep:transforms((,newability[choice name(Pay 1 mana) pay[[{1}]] name(pay 1 mana) donothing?destroy],newability[choice name(Pay 1 life) pay[[{L:1}]] name(pay 1 life) donothing?destroy]])) oneshot]))
text=Enchant land -- At the beginning of the upkeep of enchanted land's controller, destroy that land unless that player pays {1} or 1 life.
mana={U}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Errata, the Silencer
abilities=unblockable
auto=@damagefoeof(player) from(this): transforms((,newability[moveTo(opponentExile) target(creature|opponentBattlefield) with counter{0/0.1.Hit}],newability[if restriction{type(creature[counter{0/0.1.Hit}]|opponentExile)~morethan~2} wingame controller)) && moveTo(ownerlibrary) all(this) && shuffle
text=Etrata, the Silencer can't be blocked. -- Whenever Etrata deals combat damage to a player, exile target creature that player controls and put a hit counter on that card. That player loses the game if they own three or more exiled cards with hit counters on them. Etrata's owner shuffles Etrata into their library.
mana={2}{U}{B}
type=Legendary Creature
subtype=Vampire Assassin
power=3
toughness=5
[/card]
[card]
name=Erratic Cyclops
abilities=trample
auto=@movedto(*[instant;sorcery;manacost=1]|mystack):all(this) 1/0 ueot
auto=@movedto(*[instant;sorcery;manacost=2]|mystack):all(this) 2/0 ueot
auto=@movedto(*[instant;sorcery;manacost=3]|mystack):all(this) 3/0 ueot
auto=@movedto(*[instant;sorcery;manacost=4]|mystack):all(this) 4/0 ueot
auto=@movedto(*[instant;sorcery;manacost=5]|mystack):all(this) 5/0 ueot
auto=@movedto(*[instant;sorcery;manacost=6]|mystack):all(this) 6/0 ueot
auto=@movedto(*[instant;sorcery;manacost=7]|mystack):all(this) 7/0 ueot
auto=@movedto(*[instant;sorcery;manacost=8]|mystack):all(this) 8/0 ueot
auto=@movedto(*[instant;sorcery;manacost=9]|mystack):all(this) 9/0 ueot
auto=@movedto(*[instant;sorcery;manacost=10]|mystack):all(this) 10/0 ueot
auto=@movedto(*[instant;sorcery;manacost=11]|mystack):all(this) 11/0 ueot
auto=@movedto(*[instant;sorcery;manacost=12]|mystack):all(this) 12/0 ueot
auto=@movedto(*[instant;sorcery;manacost=13]|mystack):all(this) 13/0 ueot
auto=@movedto(*[instant;sorcery;manacost=14]|mystack):all(this) 14/0 ueot
auto=@movedto(*[instant;sorcery;manacost=15]|mystack):all(this) 15/0 ueot
auto=@movedto(*[instant;sorcery;manacost=16]|mystack):all(this) 16/0 ueot
auto=@movedto(*[instant;sorcery;manacost=17]|mystack):all(this) 17/0 ueot
auto=@movedto(*[instant;sorcery;manacost=18]|mystack):all(this) 18/0 ueot
auto=@movedto(*[instant;sorcery;manacost=19]|mystack):all(this) 19/0 ueot
auto=@movedto(*[instant;sorcery;manacost=20]|mystack):all(this) 20/0 ueot
text=Trample -- Whenever you cast an instant or sorcery spell, Erratic Cyclops gets +X/+0 until end of turn, where X is that spell's converted mana cost.
mana={3}{R}
type=Creature
subtype=Cyclops Shaman
power=0
toughness=8
[/card]
[card]
name=Erratic Visionary
auto={1}{U}{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text={1}{U}, {T}: Draw a card, then discard a card.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Erstwhile Trooper
auto={D(creature|myhand)}:2/2 && trample ueot limit:1
text=Discard a creature card: Erstwhile Trooper gets +2/+2 and gains trample until end of turn. Activate this ability only once each turn.
mana={1}{B}{G}
type=Creature
subtype=Zombie Soldier
power=2
toughness=2
[/card]
[card]
name=Escape Protocol
auto=@cycled(*|myHand):may pay({1}) target(creature,artifact|myBattlefield) moveto(exile) and!(moveto(mybattlefield))!
text=Whenever you cycle a card, you may pay 1 . When you do, exile target artifact or creature you control, then return it to the battlefield under its owner's control.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Escape Velocity
target=creature
auto=haste
auto=1/0
retrace={1}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Enchant creature -- Enchanted creature gets +1/+0 and has haste. -- Escape-{1}{R}, Exile two other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Escape to the Wilds
auto=moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos<=5]|mylibrary)
auto=maxPlay(land)+1
text=Exile the top five cards of your library. You may play cards exiled this way until the end of your next turn. -- You may play an additional land this turn.
mana={3}{R}{G}
type=Sorcery
[/card]
[card]
name=Esika's Chariot
auto={crew(other creature[power>=4]|myBattlefield)}:name(crew 4 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=4]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 4 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=3]|myBattlefield)}:name(crew 4 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 4 [3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 4 [4 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~3,compare(crewtotalpower)~morethan~3}
auto=token(Cat,Creature Cat,2/2,green)*2
auto=_ATTACKING_clone target(*[token]|mybattlefield)
text=When Esika's Chariot enters the battlefield, create two 2/2 green Cat creature tokens. -- Whenever Esika's Chariot attacks, create a token that's a copy of target token you control. -- Crew 4
mana={3}{G}
type=Legendary Artifact
subtype=Vehicle
power=4
toughness=4
[/card]
[card]
name=Esika, God of the Tree
abilities=vigilance
other={W}{U}{B}{R}{G} name(The Prismatic Bridge)
otherrestriction=can play enchantment,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(The Prismatic Bridge)
autostack=if paid(alternative) then flip(The Prismatic Bridge) forcetype(Legendary Enchantment)
auto=this(variable{isflipped}<1) transforms((,newability[{T}:add{W}],newability[{T}:add{G}],newability[{T}:add{R}],newability[{T}:add{B}],newability[{T}:add{U}]))
auto=this(variable{isflipped}<1) lord(other creature[legendary]|mybattlefield) transforms((,newability[vigilance],newability[{T}:add{W}],newability[{T}:add{G}],newability[{T}:add{R}],newability[{T}:add{B}],newability[{T}:add{U}]))
text=Vigilance -- {T}: Add one mana of any color. -- Other legendary creatures you control have vigilance and "{T}: Add one mana of any color." // {W}{U}{B}{R}{G} The Prismatic Bridge
mana={1}{G}{G}
type=Legendary Creature
subtype=God
power=1
toughness=4
[/card]
[card]
name=Esior, Wardwing Familiar
abilities=flying,partner
auto=@targeted(*[iscommander]|myBattlefield) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 3 more) name(This spell costs 3 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
text=Flying -- Spells your opponents cast that target one or more commanders you control cost {3} more to cast. -- Partner (You can have two commanders if both have partner.)
mana={1}{U}
type=Legendary Creature
subtype=Bird
power=1
toughness=3
[/card]
[card]
name=Esix, Fractal Bloom
abilities=flying
auto=@movedto(*[token]|mybattlefield) turnlimited:all(trigger[to] transforms((,newability[may name(Copy a creature) target(creature[-Esix^ Fractal Bloom]|battlefield) copy])) oneshot
text=Flying -- The first time you would create one or more tokens during each of your turns, you may instead choose a creature other than Esix, Fractal Bloom and create that many tokens that are copies of that creature.
mana={4}{G}{U}
type=Legendary Creature
subtype=Fractal
power=4
toughness=4
[/card]
[card]
name=Esper Sentinel
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~1,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~2,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~3,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~4,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~5,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~6,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~7,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{7}]] name(pay 7 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~8,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~9,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~10,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~11,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{11}]] name(pay 11 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~12,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~13,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{13}]] name(pay 13 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~14,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~15,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{15}]] name(pay 15 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~16,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~17,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{17}]] name(pay 17 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~18,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~equalto~19,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{19}]] name(pay 19 mana) donothing?draw:1 opponent])) forever
auto=@movedto(*[-creature]|opponentstack) restriction{compare(power)~morethan~19,thisturn(*[-creature]|opponentstack)~equalto~0}:all(trigger) transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing?draw:1 opponent])) forever
text=Whenever an opponent casts their first noncreature spell each turn, draw a card unless that player pays {X}, where X is Esper Sentinel's power.
mana={W}
type=Artifact Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Essence Capture
target=creature|stack
auto=fizzle
auto=may counter(1/1) target(creature|mybattlefield)
text=Counter target creature spell. Put a +1/+1 counter on up to one target creature you control.
mana={U}{U}
type=Instant
[/card]
[card]
name=Essence Infusion
target=creature
auto=transforms((,newability[counter(1/1.2)],newability[lifelink])) ueot
text=Put two +1/+1 counters on target creature. It gains lifelink until end of turn.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Essence Pulse
auto=life:2 controller && all(creature|battlefield) transforms((,newability[-lifegain/-lifegain])) ueot
text=You gain 2 life. Each creature gets -X/-X until end of turn, where X is the amount of life you gained this turn.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Essence Symbiote
auto=@mutated(creature|mybattlefield):all(trigger[to]) counter(1/1)
auto=@mutated(creature|mybattlefield):life:2 controller
text=Whenever a creature you control mutates, put a +1/+1 counter on that creature and you gain 2 life.
mana={1}{G}
type=Creature
subtype=Beast
power=2
toughness=2
[/card]
[card]
name=Essence of the Wild
auto=@movedto(creature|mybattlefield):all(trigger[to]) transforms((,newability[copy all(Essence of the Wild)])) forever
text=Creatures you control enter the battlefield as a copy of Essence of the Wild.
mana={3}{G}{G}{G}
type=Creature
subtype=Avatar
power=6
toughness=6
[/card]
[card]
name=Estrid's Invocation
auto=this(cantargetcard(*[enchantment|myBattlefield])) may copy notatarget(enchantment|myBattlefield) transforms((,newability[@each my upkeep:moveto(exile) and!(moveto(mybattlefield))!]))
text=You may have Estrid's Invocation enter the battlefield as a copy of any enchantment you control, except it has "At the beginning of your upkeep, you may exile this enchantment. If you do, return it to the battlefield under its owner's control."
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Etali, Primal Storm
auto=_ATTACKING_Reveal:1 revealzone(mylibrary) revealuntil(*|mylibrary) optionone choice name(Cast Card) target(*|reveal)  moveto(mylibrary) and!(may castcard(normal))! optiononeend optiontwo target(<1>*|reveal) bottomoflibrary and!(all(*|reveal) bottomoflibrary)! optiontwoend revealend
auto=_ATTACKING_Reveal:1 revealzone(opponentlibrary) revealuntil(*|opponentlibrary) optionone choice name(Cast Card) target(*|reveal)  moveto(opponentlibrary) and!(may castcard(normal))! optiononeend optiontwo target(<1>*|reveal) bottomoflibrary and!(all(*|reveal) bottomoflibrary)! optiontwoend revealend
text=Whenever Etali, Primal Storm attacks, exile the top card of each player's library, then you may cast any number of spells from among those cards without paying their mana costs.
mana={4}{R}{R}
type=Legendary Creature
subtype=Elder Dinosaur
power=6
toughness=6
[/card]
[card]
name=Etchings of the Chosen
auto=chooseatype transforms((,newability[lord(creature[chosentype]|mybattlefield) 1/1],newability[{1}{S(creature[chosentype]|mybattlefield)}:name(Creature gains indestructible) target(creature) indestructible ueot])) chooseend
text=As Etchings of the Chosen enters the battlefield, choose a creature type. -- Creatures you control of the chosen type get +1/+1. -- {1}, Sacrifice a creature of the chosen type: Target creature you control gains indestructible until end of turn.
mana={1}{W}{B}
type=Enchantment
[/card]
[card]
name=Eternal Isolation
target=creature[power>=4]
auto=bottomoflibrary
text=Put target creature with power 4 or greater on the bottom of its owner's library.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Eternal Skylord
auto=_AMASS_(2)
auto=lord(Zombie[token]|myBattlefield) flying.
text=When Eternal Skylord enters the battlefield, amass 2. (Put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) -- Zombie tokens you control have flying.
mana={4}{U}
type=Creature
subtype=Zombie Wizard
power=3
toughness=3
[/card]
[card]
name=Eternal Taskmaster
auto=tapped(noevent)
auto=_ATTACKING_pay({2}{b}) target(creature|mygraveyard) moveto(ownerhand)
text=Eternal Taskmaster enters the battlefield tapped. -- Whenever Eternal Taskmaster attacks, you may pay {2}{B}. If you do, return target creature card from your graveyard to your hand.
mana={1}{B}
type=Creature
subtype=Zombie
power=2
toughness=3
[/card]
[card]
name=Eternal of Harsh Truths
auto=@combat(notblocked) source(this):draw:1
auto=_BLOCKED_life:-2 opponent
text=Afflict 2 (Whenever this creature becomes blocked, defending player loses 2 life.) -- Whenever Eternal of Harsh Truths attacks and isn't blocked, draw a card.
mana={2}{U}
type=Creature
subtype=Zombie Cleric
power=1
toughness=3
[/card]
[card]
name=Ethereal Absolution
auto=lord(creature|myBattlefield) +1/+1
auto=lord(creature|opponentBattlefield) -1/-1
auto={2}{W}{B}:name(exile non-creature card) moveTo(exile) target(*[-creature]|opponentGraveyard)
auto={2}{W}{B}:name(exile creature card) moveTo(exile) target(creature|opponentGraveyard) && create(Spirit:creature Spirit:1/1:white,black:flying)
text=Creatures you control get +1/+1. -- Creatures your opponents control get -1/-1. -- {2}{W}{B}: Exile target card from an opponent's graveyard. If it was a creature card, you create a 1/1 white and black Spirit creature token with flying.
mana={4}{W}{B}
type=Enchantment
[/card]
[card]
name=Ethereal Elk
abilities=trample
auto=may moveto(myhand) target(Vivien^ Nature's Avenger|mylibrary)
auto=may moveto(myhand) target(Vivien^ Nature's Avenger|mygraveyard)
text=Trample -- When Ethereal Elk enters the battlefield, you may search your library and/or graveyard for a card named Vivien, Nature's Avenger, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{G}{G}
type=Creature
subtype=Elk Spirit
power=3
toughness=3
[/card]
[card]
name=Ethereal Forager
abilities=flying
auto=_ATTACKING_may moveTo(ownerHand) target(instant,sorcery|myExile)
text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Flying -- Whenever Ethereal Forager attacks, you may return an instant or sorcery card exiled with Ethereal Forager to its owner's hand.
mana={4}{U}{U}
other={delve} name(Delve)
type=Creature
subtype=Elemental Whale
power=3
toughness=3
[/card]
[card]
name=Ethereal Grasp
target=creature
auto=tap
auto=counter(0/0,1,PerpetualUntap)
auto=emblem transforms((,newability[lord(creature[counter{0/0.1.PerpetualUntap}]) transforms((,newability[doesnotuntap],newability[{8}:name(Untap this creature) untap]))])) forever dontremove
text=Tap target creature. That creature perpetually gains "This creature doesn't untap during your untap step" and "{8}: Untap this creature."
mana={2}{U}
type=Instant
[/card]
[card]
name=Ethereal Valkyrie
abilities=flying
auto=draw:1 controller && transforms((,newability[name(Exile a card from your hand) target(*|myhand) doforetell])) oneshot
auto=_ATTACKING_draw:1 controller && transforms((,newability[name(Exile a card from your hand) target(*|myhand) doforetell])) oneshot
auto=emblem transforms((,newability[@each upkeep:all(*[foretold;-foretell]|myexile) transforms((,newability[this(variable{canforetellcast}>0) canplayfromexile],newability[this(variable{canforetellcast}>0) changecost(colorless:-2) forcedalive])) ueot])) forever dontremove
text=Flying -- Whenever Ethereal Valkyrie enters the battlefield or attacks, draw a card, then exile a card from your hand face down. It becomes foretold. Its foretell cost is its mana cost reduced by {2}. (On a later turn, you may cast it for its foretell cost, even if this creature has left the battlefield.)
mana={4}{W}{U}
type=Creature
subtype=Spirit Angel
power=4
toughness=4
[/card]
[card]
name=Etherium Spinner
auto=@movedto(*[manacost>=4]|myStack):name(Create Thopter) token(Thopter,Creature Thopter,1/1,flying)
text=Whenever you cast a spell with mana value 4 or greater, create a 1/1 colorless Thopter artifact creature token with flying.
mana={2}{U}
type=Artifact Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Ethersworn Sphinx
abilities=flying,affinityartifacts
autostack=if casted(this) then cascade:plibrarycount
text=Affinity for artifacts (This spell costs 1 less to cast for each artifact you control.) -- Flying -- Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card with lesser mana value. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={7}{W}{U}
type=Artifact Creature
subtype=Sphinx
power=4
toughness=4
[/card]
[card]
name=Eureka
auto=moveto(ownerbattlefield) notatarget(<anyamount>*[creature;artifact;enchantment;land;planeswalker]|myhand)
auto=ability$! moveto(ownerbattlefield) notatarget(<anyamount>*[creature;artifact;enchantment;land;planeswalker]|myhand) !$ opponent
text=Starting with you, each player may put a permanent card from their hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield.
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=Eureka Moment
auto=draw:2 && transforms((,newability[may name(Put land in play) target(land|myhand) moveto(mybattlefield)])) forever
text=Draw two cards. You may put a land card from your hand onto the battlefield.
mana={2}{G}{U}
type=Instant
[/card]
[card]
name=Eutropia the Twice-Favored
auto=_CONSTELLATION_counter(1/1,1) target(creature) && flying target(creature) ueot
text=Constellation - Whenever an enchantment enters the battlefield under your control, put a +1/+1 counter on target creature. That creature gains flying until end of turn.
mana={1}{G}{U}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Evasive Action
target=*|stack
auto=if compare(pbasiclandtypes)~equalto~1 then transforms((,newability[pay[[{1}]] name(pay {1} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~2 then transforms((,newability[pay[[{2}]] name(pay {2} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~3 then transforms((,newability[pay[[{3}]] name(pay {3} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~4 then transforms((,newability[pay[[{4}]] name(pay {4} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~5 then transforms((,newability[pay[[{5}]] name(pay {5} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~6 then transforms((,newability[pay[[{6}]] name(pay {6} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~7 then transforms((,newability[pay[[{7}]] name(pay {7} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~8 then transforms((,newability[pay[[{8}]] name(pay {8} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~9 then transforms((,newability[pay[[{9}]] name(pay {9} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~10 then transforms((,newability[pay[[{10}]] name(pay {10} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~11 then transforms((,newability[pay[[{11}]] name(pay {11} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~12 then transforms((,newability[pay[[{12}]] name(pay {12} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~13 then transforms((,newability[pay[[{13}]] name(pay {13} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~14 then transforms((,newability[pay[[{14}]] name(pay {14} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~15 then transforms((,newability[pay[[{15}]] name(pay {15} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~16 then transforms((,newability[pay[[{16}]] name(pay {16} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~17 then transforms((,newability[pay[[{17}]] name(pay {17} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~18 then transforms((,newability[pay[[{18}]] name(pay {18} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~equalto~19 then transforms((,newability[pay[[{19}]] name(pay {19} mana) donothing?fizzle])) forever
auto=if compare(pbasiclandtypes)~morethan~19 then transforms((,newability[pay[[{29}]] name(pay {20} mana) donothing?fizzle])) forever
text=Domain - Counter target spell unless its controller pays {1} for each basic land type among lands you control.
mana={1}{U}
type=Instant
[/card]
[card]
name=Ever-Watching Threshold
auto=@each blockers restriction{type(creature[attacking]|opponentbattlefield)~morethan~0}:draw:1
text=Whenever an opponent attacks you and/or a planeswalker you control with one or more creatures, draw a card.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Everdawn Champion
auto=preventAllCombatDamage to(this)
text=Prevent all combat damage that would be dealt to Everdawn Champion.
mana={1}{W}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Everlasting Torment
#MISSING:Damage can't be prevented
abilities=nolifegain,nolifegainopponent
auto=lord(creature|battlefield) transforms((,newability[undamageable],newability[_ENRAGE_counter(-1/-1.thatmuch)]))
text=Players can't gain life. -- Damage can't be prevented. -- All damage is dealt as though its source had wither. (A source with wither deals damage to creatures in the form of -1/-1 counters.)
mana={2}{BR}
type=Enchantment
[/card]
[card]
name=Everquill Phoenix
abilities=flying,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{R} name(Mutate)
auto=transforms((,newability[@mutated(this):token(Feather Eve)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{R} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying -- Whenever this creature mutates, create a red artifact token named Feather with "{1}, Sacrifice Feather: Return target Phoenix card from your graveyard to the battlefield tapped."
mana={2}{R}{R}
type=Creature
subtype=Phoenix
power=4
toughness=4
[/card]
[card]
name=Eviscerate
target=creature
auto=destroy
text=Destroy target creature.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Evolution Sage
auto=_LANDFALL__PROLIFERATE_
text=Whenever a land enters the battlefield under your control, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={2}{G}
type=Creature
subtype=Elf Druid
power=3
toughness=2
[/card]
[card]
name=Evra, Halcyon Witness
abilities=lifelink
auto={4}:count(lifetotal) && transforms((,newability[lifeset:p controller})) forever && all(this) transforms((,setpower=countedamount)) forever
text=Lifelink -- {4}: Exchange your life total with Evra, Halcyon Witness's power.
mana={4}{W}{W}
type=Legendary Creature
subtype=Avatar
power=4
toughness=4
[/card]
[card]
name=Excavated Wall
abilities=defender
auto={1}{T}:deplete:1 controller
text=Defender -- {1}, {T}: Mill a card. (Put the top card of your library into your graveyard.)
mana={1}
type=Artifact Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Excavating Anurid
auto=may name(sacrifice land) S(land):draw:1
auto=aslongas(*|mygraveyard) 1/1 >6
auto=aslongas(*|mygraveyard) vigilance >6
text=When Excavating Anurid enters the battlefield, you may sacrifice a land. If you do, draw a card. -- Threshold - As long as seven or more cards are in your graveyard, Excavating Anurid gets +1/+1 and has vigilance.
mana={4}{G}
type=Creature
subtype=Frog Beast
power=4
toughness=4
[/card]
[card]
name=Excavation
auto={1}{S(land|myBattlefield)}:draw:1 controller
auto=aslongas(land|opponentBattlefield) lord(land|opponentbattlefield) transforms((,newability[{1}{S(land|myBattlefield)}:draw:1 controller limit:1])) >1
text={1}, Sacrifice a land: Draw a card. Any player may activate this ability.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Excavation Elephant
kicker={1}{W}
auto=if paid(kicker) then target(artifact|mygraveyard) moveto(ownerhand)
text=Kicker {1}{W} (You may pay an additional {1}{W} as you cast this spell.) -- When Excavation Elephant enters the battlefield, if it was kicked, return target artifact card from your graveyard to your hand.
mana={4}{W}
type=Creature
subtype=Elephant
power=3
toughness=5
[/card]
[card]
name=Excavation Mole
auto=deplete:3 controller
text=Trample -- When Excavation Mole enters the battlefield, put the top three cards of your library into your graveyard.
mana={2}{G}
type=Creature
subtype=Mole
power=3
toughness=3
[/card]
[card]
name=Excavation Technique
other={3}{W} name(Demonstrate)
auto=name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure Sur)*2])) oneshot
auto=if paid(alternative) then ability$!name(Destroy permanent) name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure Sur)*2])) oneshot!$ controller
auto=if paid(alternative) then ability$!name(Destroy permanent) name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure Sur)*2])) oneshot!$ opponent
text=Demonstrate (When you cast this spell, you may copy it. If you do, choose an opponent to also copy it. Players may choose new targets for their copies.) -- Destroy target nonland permanent. Its controller creates two Treasure tokens.
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Excavator
auto={T}{S(land[basic,island]|myBattlefield)}:target(creature) islandwalk ueot
auto={T}{S(land[basic,mountain]|myBattlefield)}:target(creature) mountainwalk ueot
auto={T}{S(land[basic,plains]|myBattlefield)}:target(creature) plainswalk ueot
auto={T}{S(land[basic,forest]|myBattlefield)}:target(creature) forestwalk ueot
auto={T}{S(land[basic,swamp]|myBattlefield)}:target(creature) swampwalk ueot
auto={T}{S(land[basic,swamp,island]|myBattlefield)}:target(creature) swampwalk ueot && islandwalk ueot
auto={T}{S(land[basic,mountain,island]|myBattlefield)}:target(creature) mountainwalk ueot && islandwalk ueot
auto={T}{S(land[basic,plains,island]|myBattlefield)}:target(creature) plainswalk ueot && islandwalk ueot
auto={T}{S(land[basic,forest,island]|myBattlefield)}:target(creature) forestwalk ueot && islandwalk ueot
auto={T}{S(land[basic,mountain,swamp]|myBattlefield)}:target(creature) mountainwalk ueot && swampwalk ueot
auto={T}{S(land[basic,plains,swamp]|myBattlefield)}:target(creature) plainswalk ueot && swampwalk ueot
auto={T}{S(land[basic,forest,swamp]|myBattlefield)}:target(creature) forestwalk ueot && swampwalk ueot
auto={T}{S(land[basic,mountain,plains]|myBattlefield)}:target(creature) mountainwalk ueot && plainswalk ueot
auto={T}{S(land[basic,plains,forest]|myBattlefield)}:target(creature) plainswalk ueot && forestwalk ueot
auto={T}{S(land[basic,forest,mountain]|myBattlefield)}:target(creature) mountainwalk ueot && forestwalk ueot
auto={T}{S(land[basic,mountain,forest,island]|myBattlefield)}:target(creature) mountainwalk ueot && forestwalk ueot && islandwalk ueot
auto={T}{S(land[basic,mountain,forest,swamp]|myBattlefield)}:target(creature) mountainwalk ueot && forestwalk ueot && swampwalk ueot
auto={T}{S(land[basic,mountain,forest,plains]|myBattlefield)}:target(creature) mountainwalk ueot && forestwalk ueot && plainswalk ueot
auto={T}{S(land[basic,mountain,island,swamp]|myBattlefield)}:target(creature) mountainwalk ueot && swampwalk ueot && islandwalk ueot
auto={T}{S(land[basic,mountain,island,plains]|myBattlefield)}:target(creature) mountainwalk ueot && plainswalk ueot && islandwalk ueot
auto={T}{S(land[basic,mountain,swamp,plains]|myBattlefield)}:target(creature) mountainwalk ueot && plainswalk ueot && swampwalk ueot
auto={T}{S(land[basic,swamp,island,plains]|myBattlefield)}:target(creature) swampwalk ueot && plainswalk ueot && islandwalk ueot
auto={T}{S(land[basic,swamp,island,forest]|myBattlefield)}:target(creature) forestwalk ueot && swampwalk ueot && islandwalk ueot
auto={T}{S(land[basic,swamp,plains,forest]|myBattlefield)}:target(creature) forestwalk ueot && swampwalk ueot && plainswalk ueot
auto={T}{S(land[basic,plains,forest,island]|myBattlefield)}:target(creature) forestwalk ueot && islandwalk ueot && plainswalk ueot
auto={T}{S(land[basic,mountain,island,forest,plains]|myBattlefield)}:target(creature) mountainwalk ueot && forestwalk ueot && islandwalk ueot && plainswalk ueot
auto={T}{S(land[basic,mountain,island,forest,swamp]|myBattlefield)}:target(creature) mountainwalk ueot && forestwalk ueot && islandwalk ueot && swampwalk ueot
auto={T}{S(land[basic,mountain,island,swamp,plains]|myBattlefield)}:target(creature) mountainwalk ueot && swampwalk ueot && islandwalk ueot && plainswalk ueot
auto={T}{S(land[basic,mountain,plains,forest,swamp]|myBattlefield)}:target(creature) mountainwalk ueot && forestwalk ueot && plainswalk ueot && swampwalk ueot
auto={T}{S(land[basic,plains,island,forest,swamp]|myBattlefield)}:target(creature) plainswalk ueot && forestwalk ueot && islandwalk ueot && swampwalk ueot
auto={T}{S(land[basic,mountain,plains,island,forest,swamp]|myBattlefield)}:target(creature) mountainwalk ueot && plainswalk ueot && forestwalk ueot && islandwalk ueot && swampwalk ueot
text={T}, Sacrifice a basic land: Target creature gains landwalk of each of the land types of the sacrificed land until end of turn.
mana={2}
type=Artifact
[/card]
[card]
name=Excise
target=creature[attacking]
auto=moveTo(exile)
auto=transforms((,newability[pay[[{prex}]] name(pay {prex} mana) donothing?moveTo(exile)])) forever
text=Exile target attacking creature unless its controller pays {X}.
mana={X}{W}
type=Instant
[/card]
[card]
name=Exclusion Mage
auto=moveto(ownerHand) target(creature|opponentBattlefield)
text=When Exclusion Mage enters the battlefield, return target creature an opponent controls to its owner's hand.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Exclusion Ritual
auto=name(Exile permanent) target(*|battlefield) imprint
auto=this(variable{hasevict}>0) transforms((,newability[maxCast(*[evictname])0],newability[maxCast(*[evictname])0 opponent]))
text=Imprint - When Exclusion Ritual enters the battlefield, exile target nonland permanent. -- Players can't cast spells with the same name as the exiled card.
mana={4}{W}{W}
type=Enchantment
[/card]
[card]
name=Excruciator
#MISSING: damage can't be prevented
text=Damage that would be dealt by Excruciator can't be prevented.
mana={6}{R}{R}
type=Creature
subtype=Avatar
power=7
toughness=7
[/card]
[card]
name=Exemplar of Strength
auto=counter(-1/-1,3) target(creature|mybattlefield)
auto=@combat(attacking) source(this){restriction type(this[counter(-1/-1)])~morethan~0}:counter(-1/-1,-1) && life:1 controller
text=When Exemplar of Strength enters the battlefield, put three -1/-1 counters on target creature you control. -- Whenever Exemplar of Strength attacks, remove a -1/-1 counter from it. If you do, you gain 1 life.
mana={1}{G}
type=Creature
subtype=Human Warrior
power=4
toughness=4
[/card]
[card]
name=Exhilarating Elocution
target=creature|mybattlefield
auto=name(Put two 1/1 counters) transforms((,newability[counter(1/1.2)],newability[name(Other creature gets +1/+1) target(other creature|mybattlefield) 1/1 ueot])) oneshot
text=Put two +1/+1 counters on target creature you control. Other creatures you control get +1/+1 until end of turn.
mana={2}{W}{B}
type=Sorcery
[/card]
[card]
name=Exhumer Thrull
auto=name(Return creature to hand) moveto(myhand) target(creature|mygraveyard)
auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot
autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Return creature to hand) moveto(myhand) target(creature|mygraveyard)]))
text=Haunt (When this creature dies, exile it haunting target creature.) -- When Exhumer Thrull enters the battlefield or the creature it haunts dies, return target creature card from your graveyard to your hand.
mana={5}{B}
type=Creature
subtype=Thrull
power=3
toughness=3
[/card]
[card]
name=Exotic Orchard
auto=this(variable{olandg}>0) {t}:out{g}
auto=this(variable{olandu}>0) {t}:out{u}
auto=this(variable{olandr}>0) {t}:out{r}
auto=this(variable{olandb}>0) {t}:out{b}
auto=this(variable{olandw}>0) {t}:out{w}
auto=this(variable{olandc}>0) {t}:out{1}
text={T}: Add one mana of any color that a land an opponent controls could produce.
type=Land
[/card]
[card]
name=Expanded Anatomy
target=creature
auto=transforms((,newability[vigilance],newability[counter(1/1.2)])) ueot
text=Put two +1/+1 counters on target creature. It gains vigilance until end of turn.
mana={3}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Expansion // Explosion
other={X}{U}{U}{R}{R} name(Explosion)
auto=if paid(alternative) then choice name(Damage any target and you draw) damage:X target(player,creature,planeswalker) && draw:X controller
auto=if paid(alternative) then choice name(Damage any target and opponent draws) damage:X target(player,creature,planeswalker) && draw:X opponent
auto=ifnot paid(alternative) then name(copy spell) target(*[instant;sorcery;manacost<=4]|stack) activate castcard(copied noevent)
text=Copy target instant or sorcery spell with converted mana cost 4 or less. You may choose new targets for the copy. -- Explosion deals X damage to any target. Target player draws X cards.
mana={UR}{UR}
type=Instant
[/card]
[card]
name=Expedition Champion
auto=aslongas(other creature[warrior]|myBattlefield) 2/0
text=Expedition Champion gets +2/+0 as long as you control another warrior.
mana={2}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=3
[/card]
[card]
name=Expedition Diviner
abilities=flying
auto=_DIES_if type(creature[wizard]|mybattlefield)~morethan~0 then draw:1 controller
text=Flying -- As long as you control another Wizard, Expedition Diviner has "When this creature dies, draw a card."
mana={3}{U}
type=Creature
subtype=Merfolk Wizard
power=3
toughness=2
[/card]
[card]
name=Expedition Healer
abilities=vigilance
auto=aslongas(other creature[cleric]|myBattlefield) lifelink
text=Vigilance -- Expedition Healer has lifelink as long as you control another Cleric.
mana={1}{W}
type=Creature
subtype=Kor Cleric
power=2
toughness=2
[/card]
[card]
name=Expedition Skulker
auto=aslongas(other rogue|myBattlefield) deathtouch
text=Expedition Skulker has deathtouch as long as you control another Rogue.
mana={1}{B}
type=Creature
subtype=Vampire Rogue
power=2
toughness=2
[/card]
[card]
name=Expel
target=creature
auto=moveto(exile)
text=Exile target tapped creature.
mana={2}{W}
type=Instant
[/card]
[card]
name=Expel from Orazca
target=*[-land]
auto=choice name(owner's hand) moveTo(ownerHand)
auto=_CITY'S_BLESSING_ choice name(owner's library) moveTo(ownerLibrary)
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Return target nonland permanent to its owner's hand. If you have the city's blessing, you may put that permanent on top of its owner's library instead.
mana={1}{U}
type=Instant
[/card]
[card]
name=Experimental Frenzy
abilities=showfromtoplibrary,canplayfromlibrarytop
auto=lord(*|myhand) altercost(colorless, 99)
auto=maxPlay(land)-99
auto={3}{R}:destroy all(this)
text=You may look at the top card of your library any time. -- You may play the top card of your library. -- You can't play cards from your hand. -- {3}{R}: Destroy Experimental Frenzy.
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Experimental Overload
auto=token(Weird Exp,Creature Weird,type:*[instant;sorcery]:myGraveyard/type:*[instant;sorcery]:myGraveyard,blue,red)
auto=may moveTo(myHand) target(*[instant;sorcery]|myGraveyard)
auto=moveTo(exile) all(this)
text=Create an X/X blue and red Weird creature token, where X is the number of instant and sorcery cards in your graveyard. Then you may return an instant or sorcery card from your graveyard to your hand. Exile Experimental Overload.
mana={2}{U}{R}
type=Sorcery
[/card]
[card]
name=Explore the Vastlands
abilities=doublefacedeath
aicode=activate transforms((,newability[if type(*[land;instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) bottomoflibrary else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[land;instant;sorcery;zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot])) oneshot
auto=if type(land[zpos<=5]|mylibrary)~morethan~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot && all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[if cantargetcard(*[land]|*) then choice name(Put land in hand) name(Put land in hand) moveto(myhand)],newability[if cantargetcard(*[land]|*) then choice name(Put land back) name(Put land back) moveto(myreveal) and!( bottomoflibrary )!],newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put spell in hand) name(Put spell in hand) moveto(myhand)],newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put spell back) name(Put spell back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend
auto=if type(land[zpos<=5]|mylibrary)~morethan~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose land) target(land|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Put land in hand) name(Put land in hand) moveto(myhand)],newability[choice name(Put land back) name(Put land back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend
auto=if type(land[zpos<=5]|mylibrary)~equalto~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose instant or sorcery) target(*[instant;sorcery]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[choice name(Put spell in hand) name(Put spell in hand) moveto(myhand)],newability[choice name(Put spell back) name(Put spell back) moveto(myreveal) and!( bottomoflibrary )!])) oneshot afterrevealedend revealend
auto=if type(land[zpos<=5]|mylibrary)~equalto~0 then if type(*[instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Put back) target(*|reveal) bottomoflibrary optiononeend optiontwo name(Put back) all(*|reveal) bottomoflibrary optiontwoend revealend
autostack=ability$!name(Look top 5 cards) transforms((,newability[if type(*[land;instant;sorcery;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) bottomoflibrary else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[land;instant;sorcery;zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot])) oneshot!$ opponent
text=Each player looks at the top five cards of their library and may reveal a land card and/or an instant or sorcery card from among them. Each player puts the cards they revealed this way into their hand and the rest on the bottom of their library in a random order. Each player gains 3 life. // {5} Wandering Archaic
mana={3}
type=Sorcery
[/card]
[card]
name=Explorer's Scope
auto={1}:equip
auto=@combat(attacking) source(mytgt):reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) and!(tap(noevent))! optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend
text=Whenever equipped creature attacks, look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Explosion of Riches
auto=draw:1 controller
auto=ability$!name(Choose one) choice name(Draw and loose life) life:-5 && draw:1 _ choice name(Don'd draw) donothing!$ opponent
text=Draw a card, then each other player may draw a card. Whenever a card is drawn this way, Explosion of Riches deals 5 damage to target opponent chosen at random from among your opponents.
mana={5}{R}
type=Sorcery
[/card]
[card]
name=Explosive Welcome
target=player,creature,planeswalker
auto=damage:5
auto=target(player,creature,planeswalker) damage:3
auto=add{R}{R}{R}
text=Explosive Welcome deals 5 damage to any target and 3 damage to any other target. Add {R}{R}{R}.
mana={7}{R}
type=Instant
[/card]
[card]
name=Exponential Growth
target=creature
auto=this(X=2) transforms((,newability[thisforeach(variable{1}) p/t ueot])) oneshot
auto=this(X=3) transforms((,newability[thisforeach(variable{1}) p/t ueot])) oneshot
auto=this(X=4) transforms((,newability[thisforeach(variable{2}) p/t ueot])) oneshot
auto=this(X=5) transforms((,newability[thisforeach(variable{2}) p/t ueot])) oneshot
auto=this(X=6) transforms((,newability[thisforeach(variable{3}) p/t ueot])) oneshot
auto=this(X=7) transforms((,newability[thisforeach(variable{3}) p/t ueot])) oneshot
auto=this(X=8) transforms((,newability[thisforeach(variable{4}) p/t ueot])) oneshot
auto=this(X=9) transforms((,newability[thisforeach(variable{4}) p/t ueot])) oneshot
auto=this(X=10) transforms((,newability[thisforeach(variable{5}) p/t ueot])) oneshot
auto=this(X=11) transforms((,newability[thisforeach(variable{5}) p/t ueot])) oneshot
auto=this(X=12) transforms((,newability[thisforeach(variable{6}) p/t ueot])) oneshot
auto=this(X=13) transforms((,newability[thisforeach(variable{6}) p/t ueot])) oneshot
auto=this(X=14) transforms((,newability[thisforeach(variable{7}) p/t ueot])) oneshot
auto=this(X=15) transforms((,newability[thisforeach(variable{7}) p/t ueot])) oneshot
auto=this(X=16) transforms((,newability[thisforeach(variable{8}) p/t ueot])) oneshot
auto=this(X=17) transforms((,newability[thisforeach(variable{8}) p/t ueot])) oneshot
auto=this(X=18) transforms((,newability[thisforeach(variable{9}) p/t ueot])) oneshot
auto=this(X=19) transforms((,newability[thisforeach(variable{9}) p/t ueot])) oneshot
auto=this(X=20) transforms((,newability[thisforeach(variable{10}) p/t ueot])) oneshot
auto=this(X=21) transforms((,newability[thisforeach(variable{10}) p/t ueot])) oneshot
text=Until end of turn, double target creature's power X times.
mana={X}{X}{G}{G}
type=Sorcery
[/card]
[card]
name=Expose to Daylight
target=artifact,enchantment
auto=destroy
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Destroy target artifact or enchantment. Scry 1.
mana={2}{W}
type=Instant
[/card]
[card]
name=Expressive Iteration
aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) moveto(myhand)],newability[all(*[zpos=2]|mylibrary) bottomoflibrary],newability[all(*[zpos=3]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! ])) ueot
auto=name(look top 3 cards) reveal:3 optionone name(Put in my hand) target(*|reveal) moveto(myhand) optiononeend optiontwo choice name(Choose one for Bottom) target(*|reveal) bottomoflibrary and!( all(other *|reveal) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! )! optiontwoend 
text=Look at the top three cards of your library. Put one of them into your hand, put one of them on the bottom of your library, and exile one of them. You may play the exiled card this turn.
mana={U}{R}
type=Sorcery
[/card]
[card]
name=Exquisite Archangel
abilities=flying,cantlifelose
auto=@damageof(player):if compare(lifetotal)~lessthan~1 then all(this) moveTo(exile) && lifeset:startinglife controller
text=Flying -- If you would lose the game, instead exile Exquisite Archangel and your life total becomes equal to your starting life total.
mana={5}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Exquisite Firecraft
target=player,creature,planeswalker
abilities=nofizzle alternative
other={1}{R}{R} name(Spell mastery)
otherrestriction=type(*[instant;sorcery]|mygraveyard)~morethan~1
restriction=type(*[instant;sorcery]|mygraveyard)~lessthan~2
auto=damage:4
text=Exquisite Firecraft deals 4 damage to any target. -- Spell mastery - If there are two or more instant and/or sorcery cards in your graveyard, this spell can't be countered.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Exquisite Huntmaster
auto=_DIES_token(Elf Warrior,Creature Elf Warrior,1/1,green)
autograveyard={4}{B}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=When Exquisite Huntmaster dies, create a 1/1 green Elf Warrior creature token. -- Encore {4}{B} ({4}{B}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={3}{B}
type=Creature
subtype=Elf Warrior
power=4
toughness=2
[/card]
[card]
name=Extract Brain
aicode=activate target(*[zpos<=fullpaid]|opponenthand) activate castcard(normal)
auto=name(Look opponent hand) reveal:x revealzone(opponenthand) optionone name(Cast card) target(<upto:1>*|reveal) activate castcard(normal) optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerhand) optiontwoend revealend
text=Target opponent chooses X cards from their hand. Look at those cards. You may cast a spell from among them without paying its mana cost.
mana={X}{U}{B}
type=Sorcery
[/card]
[card]
name=Extus, Oriq Overlord
abilities=double strike
other={6}{B}{R} name(Awaken the Blood Avatar)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Awaken the Blood Avatar)
autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:awaken the blood avatar:!)])) forever
autohand={4}{B}{R}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~0,can play sorcery,compare(isflipped)~equalto~1}:name(Sacrifice 1) transforms((,newability[activate castcard(copied named!:awaken the blood avatar:!)],newability[moveto(mygraveyard)])) forever
autohand={2}{B}{R}{S(creature|myBattlefield)}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~1,can play sorcery,compare(isflipped)~equalto~1}:name(Sacrifice 2) transforms((,newability[activate castcard(copied named!:awaken the blood avatar:!)],newability[moveto(mygraveyard)])) forever
autohand={B}{R}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~2,can play sorcery,compare(isflipped)~equalto~1}:name(Sacrifice 3) transforms((,newability[copied activate castcard(named!:awaken the blood avatar:!)],newability[moveto(mygraveyard)])) forever
auto=@movedto(*[instant;sorcery]|mystack):name(Return creature) target(creature[-legendary]|mygraveyard) moveto(myhand)
text=Double strike -- Magecraft - Whenever you cast or copy an instant or sorcery spell, return target nonlegendary creature card from your graveyard to your hand. // {6}{B}{R} Awaken the Blood Avatar
mana={1}{W}{B}{B}
type=Legendary Creature
subtype=Human Warlock
power=2
toughness=4
[/card]
[card]
name=Exuberant Wolfbear
auto=_ATTACKING_may target(human|myBattlefield) becomes(p/t) ueot
text=Whenever Exuberant Wolfbear attacks, you may change the base power and toughness of target Human you control to Exuberant Wolfbear's power and toughness until end of turn.
mana={3}{G}
type=Creature
subtype=Wolf Bear
power=4
toughness=4
[/card]
[card]
name=Exultant Skymarcher
abilities=flying
text=Flying
mana={1}{W}{W}
type=Creature
subtype=Vampire Soldier
power=2
toughness=3
[/card]
[card]
name=Eye Collector
abilities=flying
auto=@combatdamaged(player) from(this):deplete:1 controller
auto=@combatdamaged(player) from(this):deplete:1 opponent
text=Flying -- Whenever Eye Collector deals combat damage to a player, each player puts the top card of their library into their graveyard.
mana={B}
type=Creature
subtype=Faerie
power=1
toughness=1
[/card]
[card]
name=Eye of Vecna
auto=draw:1 controller && life:-2 controller
auto=@each my upkeep:name(Pay 2 to draw) pay[[{2}]] name(Pay 2) draw:1 controller && life:-2 controller
text=When Eye of Vecna enters the battlefield, you draw a card and you lose 2 life. -- At the beginning of your upkeep, you may pay {2}. If you do, you draw a card and you lose 2 life.
mana={2}
type=Legendary Artifact
[/card]
[card]
name=Eyeblight Cullers
auto=_DIES_token(Elf Warrior,Creature Elf Warrior,1/1,green)*3
auto=_DIES_deplete:3 controller
text=When Eyeblight Cullers dies, create three 1/1 green Elf Warrior creature tokens, then mill three cards. (Put the top three cards of your library into your graveyard.)
mana={4}{B}
type=Creature
subtype=Elf Warrior
power=3
toughness=3
[/card]
[card]
name=Eyekite
abilities=flying
auto=restriction{compare(pdrewcount)~morethan~1} 2/0 ueot
text=Flying -- Eyekite gets +2/+0 as long as you've drawn two or more cards this turn.
mana={1}{U}
type=Creature
subtype=Drake
power=1
toughness=2
[/card]
[card]
name=Eyes Everywhere
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={5}{U}:moveto(mybattlefield) target(*[-land]|opponentbattlefield) and!( moveto(opponentbattlefield) all(this) )! asSorcery
auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=At the beginning of your upkeep, scry 1. -- {5}{U}: Exchange control of Eyes Everywhere and target nonland permanent. Activate this ability only any time you could cast a sorcery.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Eyes of the Beholder
target=creature
auto=-11/-11 ueot
text=Target creature gets -11/-11 until end of turn.
mana={4}{B}{B}
type=Instant
[/card]
[card]
name=Eyetwitch
abilities=flying
auto=_DIES_name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Flying -- When Eyetwitch dies, learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={B}
type=Creature
subtype=Eye Bat
power=1
toughness=1
[/card]
[card]
name=Ezuri's Predation
auto=foreach(creature|opponentBattlefield) token(Beast,Creature Beast,4/4,green) and!( transforms((,newability[moveTo(this|myBattlefield) damage:dynamicability<!powerstrike!> target(other creature|opponentBattlefield])) forever )! controller
text=For each creature your opponents control, create a 4/4 green Beast creature token. Each of those Beasts fights a different one of those creatures.
mana={5}{G}{G}{G}
type=Sorcery
[/card]
[card]
name=Ezuri, Claw of Progress
auto=@movedTo(creature[power<=2]|myBattlefield):alterexperience:1 controller
auto=@each my combatbegins:name(Put 1/1 counters) counter(1/1,pexperience) target(other creature|myBattlefield)
text=Whenever a creature with power 2 or less enters the battlefield under your control, you get an experience counter. -- At the beginning of combat on your turn, put X +1/+1 counters on another target creature you control, where X is the number of experience counters you have.
mana={2}{G}{U}
type=Legendary Creature
subtype=Elf Warrior
power=3
toughness=3
[/card]
[card]
name=Ezzaroot Channeler
abilities=reach
auto=token(manareducer,manareducer,0/0,shroud,indestructible,treason) and!( transforms((,newability[thisforeach(variable{lifegain}>0) lord(creature|mycastingzone) changecost(colorless:-1) forcedalive])) forever )!
auto=@each untap:token(manareducer,manareducer,0/0,shroud,indestructible,treason) and!( transforms((,newability[thisforeach(variable{lifegain}>0) lord(creature|mycastingzone) changecost(colorless:-1) forcedalive])) forever )!
auto={T}:life:2 controller
text=Reach -- Creature spells you cast cost {X} less to cast, where X is the amount of life you gained this turn. -- {T}: You gain 2 life.
mana={5}{G}
type=Creature
subtype=Treefolk Druid
power=4
toughness=6
[/card]
[card]
name=Fa'adiyah Seer
auto={T}:reveal:1 optionone if type(land|reveal)~morethan~0 then target(<1>*|reveal) moveto(myHand) optiononeend optiontwo if type(land|reveal)~lessthan~1 then target(<1>*|reveal) moveto(myGraveyard) optiontwoend revealend
text={T}: Draw a card and reveal it. If it isn't a land card, discard it.
mana={1}{G}
type=Creature
subtype=Human Shaman
power=1
toughness=1
[/card]
[card]
name=Fabled Passage
auto={T}{S}:name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[shuffle],newability[tap(noevent)],newability[if type(land|myBattlefield)~morethan~3 then untap])) oneshot )!
text={T}, Sacrifice Fabled Passage: Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. Then if you control four or more lands, untap that land.
type=Land
[/card]
[card]
name=Fabled Path of Searo Point
auto={W}{U}{B}{R}{G}{T}:all(creature|myBattlefield) transforms((,newability[this(variable{type:land:opponentbattlefield}>0) unblockable])) ueot
text={W}{U}{B}{R}{G}, {T}: Creatures you control gain landwalk until end of turn.
type=Legendary Land
subtype=Mountain
[/card]
[card]
name=Face of Divinity
target=creature
auto=teach(creature) 2/2
auto=teach(creature) transforms((,newability[this(auras>=2) first strike],newability[this(auras>=2) lifelink]))
text=Enchant creature -- Enchanted creature gets +2/+2. -- As long as another Aura is attached to enchanted creature, it has first strike and lifelink.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Faceless Agent
abilities=changeling
auto=name(Seek a creature) name(Seek a creature) moverandom(creature) from(mylibrary) to(myhand)
text=Changeling -- When Faceless Agent enters the battlefield, seek a creature card of the most prevalent creature type in your library.
mana={3}
type=Creature
subtype=Shapeshifter
power=2
toughness=1
[/card]
[card]
name=Faceless Haven
auto={T}:add{C}
auto={i}{i}{i}:transforms((Creature,setpower=4,settoughness=3,newability[vigilance],newability[changeling])) ueot
text={T}: Add {C}. -- {S}i}{S}i}{S}i}: Faceless Haven becomes a 4/3 creature with vigilance and all creature types until end of turn. It's still a land. ({S}i} can be paid with one mana from a snow source.)
type=Snow Land
[/card]
[card]
name=Facet Reader
auto={1}{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text={1}, {T}: Draw a card, then discard a card.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Fact or Fiction
auto=reveal:5 optionone target(<upto:3>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) target(<5>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend
text=Reveal the top five cards of your library. An opponent separates those cards into two piles. Put one pile into your hand and the other into your graveyard.
mana={3}{U}
type=Instant
[/card]
[card]
name=Fade Away
auto=foreach(creature|myBattlefield) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing'sacrifice target(*|mybattlefield) controller]))
auto=foreach(creature|opponentBattlefield) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing'sacrifice target(*|mybattlefield) opponent]))
text=For each creature, its controller sacrifices a permanent unless he or she pays {1}.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Fading Hope
target=creature
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=moveto(ownerhand) and!( if cantargetcard(*[manacost<=3]|*) then scry:1 scrycore delayed dontshow donothing scrycoreend scryend )!
text=Return target creature to its owner's hand. If its mana value was 3 or less, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={U}
type=Instant
[/card]
[card]
name=Fae Offering
auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0,thisturn(*[creature]|mystack)~morethan~0}:name(Create clue) token(Clue)
auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0,thisturn(*[creature]|mystack)~morethan~0}:name(Create food) token(Food)
auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0,thisturn(*[creature]|mystack)~morethan~0}:name(Create treasure) token(Treasure Sur)
text=At the beginning of each end step, if you've cast both a creature spell and a noncreature spell this turn, create a Clue token, a Food token, and a Treasure token.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Fae of Wishes // Granted
abilities=flying,adventure
other={3}{U} name(Adventure)
auto=if paid(alternative) then name(Pick non-creature from sideboard) name(Pick non-creature from sideboard) target(*[-creature]|mysideboard) moveTo(myhand)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto={1}{U}{D(*|myhand)}{D(*|myhand)}:name(Return to hand) moveTo(ownerhand)
text=Flying -- {1}{U}, Discard two cards: Return Fae of Wishes to its owner's hand. // You may choose a noncreature card you own from outside the game, reveal it, and put it into your hand.
mana={1}{U}
type=Creature
subtype=Faerie Wizard
power=1
toughness=4
[/card]
[card]
name=Faeburrow Elder
abilities=vigilance
auto=aslongas(*[white]|myBattlefield) 1/1 && aslongas(*[blue]|myBattlefield) 1/1 && aslongas(*[black]|myBattlefield) 1/1 && aslongas(*[red]|myBattlefield) 1/1 && aslongas(*[green]|myBattlefield) 1/1
auto={T}:aslongas(*[white]|myBattlefield) add{W} && aslongas(*[blue]|myBattlefield) add{U} && aslongas(*[black]|myBattlefield) add{B} && aslongas(*[red]|myBattlefield) add{R} && aslongas(*[green]|myBattlefield) add{G}
text=Vigilance -- Faeburrow Elder gets +1/+1 for each color among permanents you control. -- {T}: For each color among permanents you control, add one mana of that color.
mana={1}{G}{W}
type=Creature
subtype=Treefolk Druid
power=0
toughness=0
[/card]
[card]
name=Faerie Artisans
abilities=flying
auto=@movedto(creature[-token]|opponentBattlefield):name(Copy creature) all(trigger[to]) clone addtype(artifact) and!( transform((,newability[counter(0/0.1.ArtisanCreated)],newability[name(Exile other tokens) all(other creature[counter{0/0.1.ArtisanCreated}]|myBattlefield) moveTo(exile)])) oneshot )!
text=Flying -- Whenever a nontoken creature enters the battlefield under an opponent's control, create a token that's a copy of that creature except it's an artifact in addition to its other types. Then exile all other tokens created with Faerie Artisans.
mana={3}{U}
type=Creature
subtype=Faerie Artificer
power=2
toughness=2
[/card]
[card]
name=Faerie Duelist
abilities=flash, flying
auto=target(creature|opponentbattlefield) -2/-0 ueot
text=Flash -- Flying -- When Faerie Duelist enters the battlefield, target creature an opponent controls gets -2/-0 until end of turn.
mana={1}{U}
type=Creature
subtype=Faerie Rogue
power=1
toughness=2
[/card]
[card]
name=Faerie Formation
abilities=flying
auto={3}{U}:create(Faerie:creature Faerie:1/1:blue:flying) && draw:1
text=Flying -- {3}{U}: Create a 1/1 blue Faerie creature token with flying. Draw a card.
mana={4}{U}
type=Creature
subtype=Faerie
power=5
toughness=4
[/card]
[card]
name=Faerie Guidemother // Gift of the Fae
abilities=flying,adventure
other={1}{W} name(Adventure)
auto=if paid(alternative) then name(Creature gets 2/1 and flying) name(Creature gets 2/1 and flying) target(creature) transforms((,newability[flying],newability[2/1])) ueot
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Flying // Target creature gets +2/+1 and gains flying until end of turn. (Then exile this card. You may cast the creature later from exile.)
mana={W}
type=Creature
subtype=Faerie
power=1
toughness=1
[/card]
[card]
name=Faerie Seer
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- When Faerie Seer enters the battlefield, scry 2.
mana={U}
type=Creature
subtype=Faerie Wizard
power=1
toughness=1
[/card]
[card]
name=Faerie Vandal
abilities=flash,flying
auto=_SECOND_DRAW_counter(1/1)
text=Flash -- Flying -- Whenever you draw your second card each turn, put a +1/+1 counter on Faerie Vandal.
mana={1}{U}
type=Creature
subtype=Faerie Rogue
power=1
toughness=2
[/card]
[card]
name=Failure // Comply
auto=ifnot paid(alternative) then target(*|stack) fizzleto(hand)
auto=if paid(alternative) then chooseanameopp maxcast(*[chosenname])0 opponent ueot && phaseaction[upkeep once] maxcast(*[lastnamechosen])0 opponent ueot chooseend nonland
autograveyard={W}{E}:name(Comply) activate castcard(alternative) asSorcery
text=Return target spell to its owner's hand. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Choose a card name. Until your next turn, your opponents can't cast spells with the chosen name.
mana={1}{U}
type=Instant
[/card]
[card]
name=Fain, the Broker
auto={T}{S(creature|mybattlefield)}:name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2)
auto={T}:name(Create a treasure) target(creature[counter{any}]|mybattlefield) transforms((,newability[removesinglecountertype(1)],newability[token(Treasure Sur)])) oneshot
auto={T}{S(artifact|mybattlefield)}:name(Create an inkling) token(Inkling,Creature Inkling,2/1,white,black,flying)
auto={3}{B}:name(Untap Fain, the Broker) untap all(this)
text={T}, Sacrifice a creature: Put two +1/+1 counters on target creature. -- {T}, Remove a counter from a creature you control: Create a Treasure token. -- {T}, Sacrifice an artifact: Create a 2/1 white and black Inkling creature token with flying. -- {3}{B}: Untap Fain, the Broker.
mana={2}{B}
type=Legendary Creature
subtype=Human Warlock
power=3
toughness=3
[/card]
[card]
name=Fairgrounds Patrol
autograveyard={1}{W}{E}:name(Create Thopter) token(Thopter,Artifact Creature Thopter,1/1,flying) asSorcery
text={1}{W}, Exile Fairgrounds Patrol from your graveyard: Create a 1/1 colorless Thopter artifact creature token with flying. Activate only as a sorcery.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Fairgrounds Trumpeter
auto=@counteradded(1/1) from(*|mybattlefield):counter(1/1)
text=At the beginning of each end step, if a +1/+1 counter was placed on a permanent under your control this turn, put a +1/+1 counter on Fairgrounds Trumpeter.
mana={2}{G}
type=Creature
subtype=Elephant
power=2
toughness=2
[/card]
[card]
name=Faith of the Devoted
auto=@movedto(*|mygraveyard) from(myhand):pay({1}) life:2 controller && life:-2 opponent
text=Whenever you cycle or discard a card, you may pay {1}. If you do, each opponent loses 2 life and you gain 2 life.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Faithful Mending
flashback={1}{W}{U}
auto=life:2 controller
auto=draw:2 controller && transforms((,newability[name(Discard 2 cards) target(<2>*|myHand) reject])) oneshot
text=You gain 2 life, draw two cards, then discard two cards. -- Flashback {1}{W}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={W}{U}
type=Instant
[/card]
[card]
name=Faithless Salvaging
auto=target(*|myHand) reject and!( transforms((,newability[name(Draw 1 card) draw:1 controller])) oneshot )!
auto=_REBOUND_
text=Discard a card, then draw a card. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
mana={1}{R}
type=Instant
[/card]
[card]
name=Falcon Abomination
abilities=flying
auto=token(Zombie Dec)
text=Flying -- When Falcon Abomination enters the battlefield, create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
mana={2}{U}
type=Creature
subtype=Zombie Bird
power=2
toughness=2
[/card]
[card]
name=Falconer Adept
auto=_ATTACKING_token(Bird,Creature Bird,1/1,white,flying,battleready)
text=Whenever Falconer Adept attacks, create a 1/1 white Bird creature token with flying that's tapped and attacking.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Falkenrath Perforator
auto=@combat(attacking) source(this):name(Deals 1 damage) damage:1 opponent
text=Whenever Falkenrath Perforator attacks, it deals 1 damage to defending player.
type=Creature
subtype=Vampire
mana={1}{R}
power=2
toughness=1
[/card]
[card]
name=Falkenrath Pit Fighter
auto={1}{R}{D(*|myhand)}{S(vampire|myBattlefield)}:name(Draw 2 cards) draw:2 controller restriction{compare(oplifelost)~morethan~0}
text={1}{R}, Discard a card, sacrifice a Vampire: Draw two cards. Activate this ability only if an opponent lost life this turn.
type=Creature
subtype=Vampire Warrior
mana={R}
power=2
toughness=1
[/card]
[card]
name=Fall from Favor
target=creature
auto=tap
auto=this(variable{omonarch}<1) doesnotuntap
text=Enchant creature -- When Fall from Favor enters the battlefield, tap enchanted creature and you become the monarch. -- Enchanted creature doesn't untap during its controller's untap step unless that player is the monarch.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Fall of the Impostor
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=may name(Put 1/1 counter) target(creature) counter(1/1)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Put 1/1 counter) target(creature) counter(1/1)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Exile creature) target(creature[power=power:highest:*:opponentbattlefield]) moveTo(exile)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Put a +1/+1 counter on up to one target creature. -- III - Exile a creature with the greatest power among creatures target opponent controls.
mana={1}{G}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Fall of the Thran
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=destroy all(land)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) moveTo(battlefield) notatarget(<2>land|myGraveyard) 
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) ability$! moveto(ownerbattlefield) notatarget(<2>land|myGraveyard) !$ opponent
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveTo(battlefield) notatarget(<2>land|myGraveyard) 
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) ability$! moveto(ownerbattlefield) notatarget(<2>land|myGraveyard) !$ opponent
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Destroy all lands. -- II, III - Each player returns two land cards from their graveyard to the battlefield.
mana={5}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Fallen Shinobi
autohand={2}{U}{B}{N}:ninjutsu
auto=@combatdamaged(player) from(this):transforms((,newability[@movedto(*|opponentgraveyard) restriction{thisturn(*|opponentstack)~equalto~2}:all(trigger[to]) may castcard(normal)])) ueot && ingest:2 opponent
text=Ninjutsu {2}{U}{B} -- ({2}{U}{B}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever Fallen Shinobi deals combat damage to a player, that player exiles the top two cards of their library. Until end of turn, you may play those cards without paying their mana costs.
mana={3}{U}{B}
type=Creature
subtype=Zombie Ninja
power=5
toughness=4
[/card]
[card]
name=Falling Timber
target=creature
other={2}{G}{S(land|myBattlefield)} name(Sacrifice a Land)
auto=0/0 && fog from(mytgt) oneshot
auto=if paid(alternative) then 0/0 target(other creature) && fog from(mytgt) oneshot
text=Kicker'sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.) -- Prevent all combat damage target creature would deal this turn. If Falling Timber was kicked, prevent all combat damage another target creature would deal this turn.
mana={2}{G}
type=Instant
[/card]
[card]
name=Falthis, Shadowcat Familiar
abilities=partner
auto=lord(*[iscommander]|mybattlefield) menace
auto=lord(*[iscommander]|mybattlefield) deathtouch
text=Commanders you control have menace and deathtouch. -- Partner (You can have two commanders if both have partner.)
mana={2}{B}
type=Legendary Creature
subtype=Nightmare Cat
power=2
toughness=2
[/card]
[card]
name=Famished Foragers
auto=if compare(oplifelost)~morethan~0 then add{R}{R}{R}
auto={2}{R}:name(Draw a card) draw:1 controller
text=When Famished Foragers enters the battlefield, if an opponent lost life this turn, add {R}{R}{R}. -- {2}{R}, Discard a card: Draw a card.
type=Creature
subtype=Vampire
mana={3}{R}
power=4
toughness=3
[/card]
[card]
name=Famished Paladin
auto=doesnotuntap
auto=@lifeof(player) from(*[-lifefaker]|*):untap(this)
text=Famished Paladin doesn't untap during your untap step. -- Whenever you gain life, untap Famished Paladin.
mana={1}{W}
type=Creature
subtype=Vampire Knight
power=3
toughness=3
[/card]
[card]
name=Fan Bearer
auto={2}{T}:Tap target(creature)
text={2}, {T}: Tap target creature.
mana={W}
type=Creature
subtype=Zombie
power=1
toughness=2
[/card]
[card]
name=Fan Favorite
auto={2}:1/1 ueot
text=Assist (Another player can pay up to {3} of this spell's cost.) -- {2}: Fan Favorite gets +1/+1 until end of turn. Any player may activate this ability.
mana={3}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=2
[/card]
[card]
name=Fanatical Firebrand
abilities=haste
auto={T}{S}:damage:1 target(player,creature,planeswalker)
text=Haste -- {T}, Sacrifice Fanatical Firebrand: It deals 1 damage to any target.
mana={R}
type=Creature
subtype=Goblin Pirate
power=1
toughness=1
[/card]
[card]
name=Fang of the Pack
auto=_ATTACKING_1/1 ueot
text=Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.) -- At the beginning of combat on your turn, another target creature you control gains melee until end of turn. (If a creature has multiple instances of melee, each triggers separately.)
mana={5}{G}
type=Creature
subtype=Wolf
power=5
toughness=3
[/card]
[card]
name=Fangblade Brigand
abilities=daybound
backside=Fangblade Eviscerator
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto={1}{R}:name(Gets 1/0 and first strike) transforms((,newability[1/0],newability[first strike])) ueot
text={1}{R}: Fangblade Brigand gets +1/+0 and gains first strike until end of turn. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Fangblade Eviscerator
mana={3}{R}
type=Creature
subtype=Human Werewolf
power=3
toughness=4
[/card]
[card]
name=Fangblade Eviscerator
abilities=nightbound
backside=Fangblade Brigand
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto={1}{R}:name(Gets 1/0 and first strike) transforms((,newability[1/0],newability[first strike])) ueot
auto={4}{R}:name(All creatures gets 2/0) all(creature|mybattlefield) transforms((,newability[2/0])) ueot
text={1}{R}: Fangblade Eviscerator gets +1/+0 and gains first strike until end of turn. -- {4}{R}: Creatures you control get +2/+0 until end of turn. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Fangblade Brigand
type=Creature
subtype=Werewolf
color=red
power=4
toughness=5
[/card]
[card]
name=Far // Away
abilities=hasnokicker
other={2}{B} name(Away)
kicker={2}{B} name(Fuse)
restriction=type(creature|battlefield)~morethan~0
auto=if paid(alternative) then target(player) ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ targetedplayer
auto=ifnot paid(alternative) then ability$!name(Return to hand) name(Return to hand) moveto(ownerhand) target(creature|battlefield)!$ controller
auto=if paid(kicker) then target(player) ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ targetedplayer
text=Return target creature to its owner's hand. // Target player sacrifices a creature. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Farfinder
abilities=vigilance
aicode=activate target(land[basic]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Vigilance -- When Farfinder enters the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.
mana={3}
type=Creature
subtype=Fox
power=1
toughness=1
[/card]
[card]
name=Farideh's Fireball
target=creature,planeswalker
auto=damage:5
auto=damage:2 opponent
auto=name(Roll a d20) rolld20 20 winability donothing winabilityend loseability if compare(srclastrollresult)~lessthan~10 then damage:2 controller loseabilityend rolld20end
text=Farideh's Fireball deals 5 damage to target creature or planeswalker. Roll a d20. -- 1-9 | Farideh's Fireball deals 2 damage to each player. -- 10-20 | Farideh's Fireball deals 2 damage to each opponent.
mana={3}{R}{R}
type=Instant
[/card]
[card]
name=Farideh, Devil's Chosen
auto=@dierolled(*|mybattlefield) from(controller):name(Gains flying and menace) transforms((,newability[flying],newability[menace])) ueot
auto=@dierolled(*|mybattlefield) result(10) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(11) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(12) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(13) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(14) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(15) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(16) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(17) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(18) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(19) from(controller):name(Draw a card) draw:1 controller
auto=@dierolled(*|mybattlefield) result(20) from(controller):name(Draw a card) draw:1 controller
text=Dark One's Own Luck - Whenever you roll one or more dice, Farideh, Devil's Chosen gains flying and menace until end of turn. If any of those results was 10 or higher, draw a card.
mana={2}{U}{R}
type=Legendary Creature
subtype=Tiefling Warlock
power=3
toughness=3
[/card]
[card]
name=Farm // Market
target=creature[attacking;blocking]
auto=destroy
autograveyard={3}{E}:draw:2 && transforms((,newability[target(<2>*|myhand) reject])) forever asSorcery
text=Destroy target attacking or blocking creature. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Draw two cards, then discard two cards.
mana={2}{W}
type=Instant
[/card]
[card]
name=Farmstead Gleaner
abilities=doesnotuntap
auto={2}{Q}:counter(1,1)
text=Farmstead Gleaner doesn't untap during your untap step. -- {2}, Untap: Put a +1/+1 counter on Farmstead Gleaner. ( Untap is the untap symbol.)
mana={3}
type=Artifact Creature
subtype=Scarecrow
power=2
toughness=2
[/card]
[card]
name=Farsight Adept
auto=draw:1 controller
auto=draw:1 opponent
text=When Farsight Adept enters the battlefield, you and target opponent each draw a card.
mana={2}{W}
type=Creature
subtype=Kor Wizard
power=3
toughness=3
[/card]
[card]
name=Fast // Furious
other={3}{R}{R} name(Furious)
otherrestriction=can play sorcery
auto=if paid(alternative) then all(creature[-flying]|battlefield) damage:3
auto=ifnot paid(alternative) then target(*|myHand) reject and!( transforms((,newability[name(Draw 2 cards) draw:2 controller])) oneshot )!
text=Discard a card, then draw two cards. -- Furious deals 3 damage to each creature without flying.
mana={2}{R}
type=Instant
[/card]
[card]
name=Fateful Absence
target=creature,planeswalker
auto=destroy && token(Clue) targetcontroller
text=Destroy target creature or planeswalker. Its controller investigates. (They create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.")
mana={1}{W}
type=Instant
[/card]
[card]
name=Fateful End
target=player,creature,plansewalker
auto=damage:3
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Fateful End deals 3 damage to any target. Scry 1.
mana={2}{R}
type=Instant
[/card]
[card]
name=Fates' Reversal
auto=may name(Return creature to hand) target(creature|mygraveyard) moveTo(myhand)
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Return up to one target creature card from your graveyard to your hand. Venture into the dungeon. (Enter the first room or advance to the next room.)
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Fathom Fleet Boarder
auto=aslongas(pirate|myBattlefield)~lessthan~1 life:-1
text=When Fathom Fleet Boarder enters the battlefield, you lose 2 life unless you control another Pirate.
mana={2}{B}
type=Creature
subtype=Orc Pirate
power=3
toughness=3
[/card]
[card]
name=Fathom Fleet Captain
abilities=menace
auto=@combat(attacking) source(this) restriction{type(pirate[-token]|mybattlefield)~morethan~0}:may pay({2}) token(Pirate,creature Pirate,2/2,black,menace)
text=Menace -- Whenever Fathom Fleet Captain attacks, if you control another nontoken Pirate, you may pay {2}. If you do, create a 2/2 black Pirate creature token with menace.
mana={1}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=1
[/card]
[card]
name=Fathom Fleet Cutthroat
auto=destroy target(creature[damaged]|opponentbattlefield)
text=When Fathom Fleet Cutthroat enters the battlefield, destroy target creature an opponent controls that was dealt damage this turn.
mana={3}{B}
type=Creature
subtype=Human Pirate
power=3
toughness=3
[/card]
[card]
name=Fathom Fleet Firebrand
auto={1}{R}:1/0
text={1}{R}: Fathom Fleet Firebrand gets +1/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Fathom Fleet Swordjack
auto=_ATTACKING_target(planeswalker,player) damage:type:artifact:mybattlefield
autograveyard={5}{R}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Whenever Fathom Fleet Swordjack attacks, it deals damage to the player or planeswalker it's attacking equal to the number of artifacts you control. -- Encore {5}{R} ({5}{R}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={3}{R}
type=Creature
subtype=Orc Pirate
power=4
toughness=3
[/card]
[card]
name=Favor of the Mighty
auto=lord(creature[manacost=convertedcost:highest:*:battlefield]|battlefield) protection from white
auto=lord(creature[manacost=convertedcost:highest:*:battlefield]|battlefield) protection from blue
auto=lord(creature[manacost=convertedcost:highest:*:battlefield]|battlefield) protection from black
auto=lord(creature[manacost=convertedcost:highest:*:battlefield]|battlefield) protection from red
auto=lord(creature[manacost=convertedcost:highest:*:battlefield]|battlefield) protection from green
text=Each creature with the highest converted mana cost has protection from all colors.
mana={1}{W}
type=Tribal Enchantment
subtype=Giant
[/card]
[card]
name=Favored of Iroas
auto=_CONSTELLATION_double strike ueot
text=Constellation -- Whenever an enchantment enters the battlefield under your control, Favored of Iroas gains double strike until end of turn.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Fblthp, the Lost
auto=draw:1 
auto=@movedTo(battlefield) from(library):draw:1
auto=@targeted(this):moveto(mylibrary) && shuffle
text=When Fblthp, the Lost enters the battlefield, draw a card. If it entered from your library or was cast from your library, draw two cards instead. -- When Fblthp becomes the target of a spell, shuffle Fblthp into its owner's library.
mana={1}{U}
type=Legendary Creature
subtype=Homunculus
power=1
toughness=1
[/card]
[card]
name=Fearless Fledgling
auto=_LANDFALL_counter(1/1,1) all(this)
auto=_LANDFALL_all(this) flying ueot
text=Landfall - Whenever a land enters the battlefield under your control, put a +1/+1 counter on Fearless Fledgling. It gains flying until end of turn.
mana={1}{W}
type=Creature
subtype=Griffin
power=1
toughness=1
[/card]
[card]
name=Fearless Halberdier
mana={2}{R}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Fearless Liberator
abilities=boast
auto={2}{R} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && token(Dwarf,Creature Dwarf Berserker,2/1,red) limit:hasabilitytwoboastplus1plusend
auto={1}{R} restriction{didattack,compare(hascntbstreduce)~equalto~1}:doboast && token(Dwarf,Creature Dwarf Berserker,2/1,red) limit:hasabilitytwoboastplus1plusend
auto={R} restriction{didattack,compare(hascntbstreduce)~morethan~1}:doboast && token(Dwarf,Creature Dwarf Berserker,2/1,red) limit:hasabilitytwoboastplus1plusend
text=Boast-{2}{R}: Create a 2/1 red Dwarf Berserker creature token. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={1}{R}
type=Creature
subtype=Dwarf Berserker
power=2
toughness=1
[/card]
[card]
name=Fearless Pup
abilities=boast,first strike
auto={2}{R} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && 2/0 ueot limit:hasabilitytwoboastplus1plusend
auto={1}{R} restriction{didattack,compare(hascntbstreduce)~equalto~1}:doboast && 2/0 ueot limit:hasabilitytwoboastplus1plusend
auto={R} restriction{didattack,compare(hascntbstreduce)~morethan~1}:doboast && 2/0 ueot limit:hasabilitytwoboastplus1plusend
text=First strike -- Boast-{2}{R}: Fearless Pup gets +2/+0 until end of turn. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={R}
type=Creature
subtype=Wolf
power=1
toughness=1
[/card]
[card]
name=Feast of Sanity
auto=@discarded(*|myhand):name(Deals 1 damage) damage:1 target(player,creature,planeswalker)
auto=@discarded(*|myhand):life:1 controller
text=Whenever you discard a card, Feast of Sanity deals 1 damage to any target and you gain 1 life.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Feast of Succession
auto=_MONARCH_CONTROLLER_
auto=all(creature|battlefield) -4/-4 ueot
text=All creatures get -4/-4 until end of turn. You become the monarch.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Feast on the Fallen
auto=@each upkeep restriction{lastturn(oplifelost)~morethan~0}:counter(1/1,1) target(creature[myBattlefield])
text=At the beginning of each upkeep, if an opponent lost life last turn, put a +1/+1 counter on target creature you control.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Feaster of Fools
abilities=flying
other={convoke} name(Convoke)
auto=may target(<anyamount>other creature|mybattlefield) sacrifice && counter(1/1,2) all(this)
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.) -- Flying -- Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.)
mana={4}{B}{B}
type=Creature
subtype=Demon
power=3
toughness=3
[/card]
[card]
name=Feasting Troll King
auto=vigilance,trample
auto=if casted(this) then token(Food)
text=Vigilance, trample -- When Feasting Troll King enters the battlefield, if you cast it from your hand, create three Food tokens. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Sacrifice three Foods: Return Feasting Troll King from your graveyard to the battlefield. Activate this ability only during your turn.
mana={2}{G}{G}{G}{G}
type=Creature
subtype=Troll Noble
power=7
toughness=6
[/card]
[card]
name=Feather Eve
auto={1}{S}:target(*[Phoenix]|mygraveyard) moveto(myBattlefield) and!(tap(noevent))!
type=Artifact
[/card]
[card]
name=Feather, the Redeemed
abilities=flying
auto=@targeted(creature|mybattlefield) from(sorcery|myzones):transforms((,newability[all(sorcery|mystack) moveto(exile)])) ueot
auto=@targeted(creature|mybattlefield) from(sorcery|myzones):name(Return sorcery from exile) transforms((,newability[name(Return sorcery from exile) phaseaction[endofturn] target(sorcery[fresh]|myexile) moveto(myhand)])) ueot
auto=@targeted(creature|mybattlefield) from(instant|myzones):transforms((,newability[all(instant|mystack) moveto(exile)])) ueot
auto=@targeted(creature|mybattlefield) from(instant|myzones):name(Return instant from exile) transforms((,newability[name(Return instant from exile) phaseaction[endofturn] target(instant[fresh]|myexile) moveto(myhand)])) ueot
text=Flying -- Whenever you cast an instant or sorcery spell that targets a creature you control, exile that card instead of putting it into your graveyard as it resolves. If you do, return it to your hand at the beginning of the next end step.
mana={R}{W}{W}
type=Legendary Creature
subtype=Angel
power=3
toughness=4
[/card]
[card]
name=Feed the Serpent
target=creature,planeswalker
auto=moveTo(exile)
text=Exile target creature or planeswalker.
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Feed the Swarm
auto=name(destroy) target(*[creature;enchantment]|opponentBattlefield) transforms((,newability[destroy],newability[life:-manacost opponent])) oneshot
text=Destroy target creature or enchantment an opponent controls. You lose life equal to that permanent's converted mana cost.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Feign Death
target=creature
auto=transforms((,newability[inplaytapdeath],newability[counterdeath])) ueot
text=Until end of turn, target creature gains "When this creature dies, return it to the battlefield tapped under it owner's control with a +1/+1 counter on it."
mana={B}
type=Instant
[/card]
[card]
name=Feisty Stegosaurus
auto=name(Choose creature and roll a die) name(Choose creature and roll a die) target(creature|opponentBattlefield) rolld6 6 winability damage:lastrollresult winabilityend loseability damage:lastrollresult loseabilityend rolld6end
text=When this creature enters the battlefield, roll a six-sided die. This creature deals damage equal to the result to target creature an opponent controls.
mana={4}{R}
type=Host Creature
subtype=Dinosaur
power=2
toughness=1
[/card]
[card]
name=Feiyi Snake
abilities=reach
text=Reach (This creature can block creatures with flying.)
mana={1}{G}
type=Creature
subtype=Snake
power=2
toughness=1
[/card]
[card]
name=Felidar Retreat
auto=_LANDFALL_name(Choose one) ability$!name(Choose one) choice name(Put a +1/+1 counter and vigilance) all(creature|myBattlefield) counter(1/1,1) && all(creature|myBattlefield) vigilance ueot _ choice name(Create a 2/2 Cat) token(Cat Beast)!$ controller
text=Landfall - Whenever a land enters the battlefield under your control, Choose one -- Create a 2/2 white Cat Beast creature token. -- Put a +1/+1 counter on each creature you control. Those creatures gain vigilance until end of turn.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Feline Sovereign
auto=all(other creature[cat]|myBattlefield) 1/1
auto=all(other creature[cat]|myBattlefield) protection from(creature[dog])
auto=@combatdamagefoeof(player) from(creature[cat]|myBattlefield):destroy target(*[artifact;enchantment]|opponentBattlefield)
text=Other Cats you control get +1/+1 and have protection from Dogs. -- Whenever one or more Cats you control deal combat damage to a player, destroy up to one target artifact or enchantment that player controls.
mana={2}{G}
type=Creature
subtype=Cat
power=2
toughness=3
[/card]
[card]
name=Felisa, Fang of Silverquill
abilities=flying,mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot 
auto=@movedto(creature[-token;counter{1/1.1}]|mygraveyard) from(myBattlefield):thisforeach(variable{1}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.2}]|mygraveyard) from(myBattlefield):thisforeach(variable{2}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.3}]|mygraveyard) from(myBattlefield):thisforeach(variable{3}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.4}]|mygraveyard) from(myBattlefield):thisforeach(variable{4}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.5}]|mygraveyard) from(myBattlefield):thisforeach(variable{5}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.6}]|mygraveyard) from(myBattlefield):thisforeach(variable{6}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.7}]|mygraveyard) from(myBattlefield):thisforeach(variable{7}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.8}]|mygraveyard) from(myBattlefield):thisforeach(variable{8}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.9}]|mygraveyard) from(myBattlefield):thisforeach(variable{9}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.10}]|mygraveyard) from(myBattlefield):thisforeach(variable{10}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.11}]|mygraveyard) from(myBattlefield):thisforeach(variable{11}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.12}]|mygraveyard) from(myBattlefield):thisforeach(variable{12}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.13}]|mygraveyard) from(myBattlefield):thisforeach(variable{13}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.14}]|mygraveyard) from(myBattlefield):thisforeach(variable{14}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.15}]|mygraveyard) from(myBattlefield):thisforeach(variable{15}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.16}]|mygraveyard) from(myBattlefield):thisforeach(variable{16}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.17}]|mygraveyard) from(myBattlefield):thisforeach(variable{17}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.18}]|mygraveyard) from(myBattlefield):thisforeach(variable{18}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.19}]|mygraveyard) from(myBattlefield):thisforeach(variable{19}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
auto=@movedto(creature[-token;counter{1/1.20}]|mygraveyard) from(myBattlefield):thisforeach(variable{20}) token(Inkling,Creature Inkling,2/1,white,black,flying) and!( tap(noevent) )!
text=Flying -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- Whenever a nontoken creature you control dies, if it had counters on it, create X tapped 2/1 white and black Inkling creature tokens with flying, where X is the number of counters it had on it.
mana={2}{W}{B}
type=Legendary Creature
subtype=Vampire Wizard
power=3
toughness=2
[/card]
[card]
name=Fell Flagship
auto=lord(pirate|mybattlefield) 1/0
auto=@combatdamaged(player) from(this):ability$!discard(*|myhand)!$ opponent
auto={crew(other creature[power>=3]|myBattlefield)}:name(crew 3 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~2}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 3 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~2}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 3 [3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~2}
text=Pirates you control get +1/+0. -- Whenever Fell Flagship deals combat damage to a player, that player discards a card. -- Crew 3 (Tap any number of creatures you control with total power 3 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={3}
type=Artifact
subtype=Vehicle
power=3
toughness=3
[/card]
[card]
name=Fell Specter
abilities=flying
auto=target(opponent) ability$!name(discard) reject notatarget(*|myhand)!$
auto=@discarded(*|opponenthand):life-2 opponent
text=Flying -- When Fell Specter enters the battlefield, target opponent discards a card. -- Whenever an opponent discards a card, that player loses 2 life.
mana={3}{B}
type=Creature
subtype=Specter
power=1
toughness=3
[/card]
[card]
name=Fell the Mighty
auto=if type(creature[power=0]|battlefield)~morethan~0 then choice name(Power more than 0) name(Power more than 0) destroy all(creature[power>=1]|battlefield)
auto=if type(creature[power=1]|battlefield)~morethan~0 then choice name(Power more than 1) name(Power more than 1) destroy all(creature[power>=2]|battlefield)
auto=if type(creature[power=2]|battlefield)~morethan~0 then choice name(Power more than 2) name(Power more than 2) destroy all(creature[power>=3]|battlefield)
auto=if type(creature[power=3]|battlefield)~morethan~0 then choice name(Power more than 3) name(Power more than 3) destroy all(creature[power>=4]|battlefield)
auto=if type(creature[power=4]|battlefield)~morethan~0 then choice name(Power more than 4) name(Power more than 4) destroy all(creature[power>=5]|battlefield)
auto=if type(creature[power=5]|battlefield)~morethan~0 then choice name(Power more than 5) name(Power more than 5) destroy all(creature[power>=6]|battlefield)
auto=if type(creature[power=6]|battlefield)~morethan~0 then choice name(Power more than 6) name(Power more than 6) destroy all(creature[power>=7]|battlefield)
auto=if type(creature[power=7]|battlefield)~morethan~0 then choice name(Power more than 7) name(Power more than 7) destroy all(creature[power>=8]|battlefield)
auto=if type(creature[power=8]|battlefield)~morethan~0 then choice name(Power more than 8) name(Power more than 8) destroy all(creature[power>=9]|battlefield)
auto=if type(creature[power=9]|battlefield)~morethan~0 then choice name(Power more than 9) name(Power more than 9) destroy all(creature[power>=10]|battlefield)
auto=if type(creature[power=10]|battlefield)~morethan~0 then choice name(Power more than 10) name(Power more than 10) destroy all(creature[power>=11]|battlefield)
auto=if type(creature[power=11]|battlefield)~morethan~0 then choice name(Power more than 11) name(Power more than 11) destroy all(creature[power>=12]|battlefield)
auto=if type(creature[power=12]|battlefield)~morethan~0 then choice name(Power more than 12) name(Power more than 12) destroy all(creature[power>=13]|battlefield)
auto=if type(creature[power=13]|battlefield)~morethan~0 then choice name(Power more than 13) name(Power more than 13) destroy all(creature[power>=14]|battlefield)
auto=if type(creature[power=14]|battlefield)~morethan~0 then choice name(Power more than 14) name(Power more than 14) destroy all(creature[power>=15]|battlefield)
auto=if type(creature[power=15]|battlefield)~morethan~0 then choice name(Power more than 15) name(Power more than 15) destroy all(creature[power>=16]|battlefield)
auto=if type(creature[power=16]|battlefield)~morethan~0 then choice name(Power more than 16) name(Power more than 16) destroy all(creature[power>=17]|battlefield)
auto=if type(creature[power=17]|battlefield)~morethan~0 then choice name(Power more than 17) name(Power more than 17) destroy all(creature[power>=18]|battlefield)
auto=if type(creature[power=18]|battlefield)~morethan~0 then choice name(Power more than 18) name(Power more than 18) destroy all(creature[power>=19]|battlefield)
auto=if type(creature[power>=19]|battlefield)~morethan~0 then choice name(Power more than 19) name(Power more than 19) destroy all(creature[power>=20]|battlefield)
text=Destroy all creatures with power greater than target creature's power.
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Fell the Pheasant
target=creature[flying]
auto=damage:5
auto=token(Food)
text=Fell the Pheasant deals 5 damage to target creature with flying. Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={1}{G}
type=Instant
[/card]
[card]
name=Fellwar Stone
auto=this(variable{olandg}>0) {t}:out{g}
auto=this(variable{olandu}>0) {t}:out{u}
auto=this(variable{olandr}>0) {t}:out{r}
auto=this(variable{olandb}>0) {t}:out{b}
auto=this(variable{olandw}>0) {t}:out{w}
auto=this(variable{olandc}>0) {t}:out{1}
text={T}: Add one mana of any color that a land an opponent controls could produce.
mana={2}
type=Artifact
[/card]
[card]
name=Feral Abomination
abilities=deathtouch
text=Deathtouch
mana={5}{B}
type=Creature
subtype=Thrull
power=5
toughness=5
[/card]
[card]
name=Feral Contest
target=creature|mybattlefield
auto=transforms((,newability[counter(1/1)],newability[name(Another creature blocks it) target(other creature|battlefield) transforms((,newability[mustblock])) ueot])) ueot
text=Put a +1/+1 counter on target creature you control. Another target creature blocks it this turn if able.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Feral Hydra
type=Creature
subtype=Hydra Beast
mana={X}{G}
power=0
toughness=0
text=Feral Hydra enters the battlefield with X +1/+1 counters on it. -- {3}: Put a +1/+1 counter on Feral Hydra. Any player may play this ability
auto=counter(1/1,X)
auto={3}:counter(1/1)
#Not all player can use ability
[/card]
[card]
name=Feral Maaka
mana={1}{R}
type=Creature
subtype=Cat
power=2
toughness=2
[/card]
[card]
name=Feral Prowler
auto=_DIES_draw:1
text=When Feral Prowler dies, draw a card.
mana={1}{G}
type=Creature
subtype=Cat
power=1
toughness=3
[/card]
[card]
name=Feral Roar
target=creature
auto=4/4 ueot
text=Target creature gets +4/+4 until end of turn.
mana={1}{B}
type=Instant
[/card]
[card]
name=Ferocious Pup
auto=create(wolf:creature wolf:2/2:green)
text=When Ferocious Pup enters the battlefield, create a 2/2 green Wolf creature token.
mana={2}{G}
type=Creature
subtype=Wolf
power=0
toughness=1
[/card]
[card]
name=Ferocious Tigorilla
auto=this(counter{0/0.1.Trample}>=1) trample
auto=this(counter{0/0.1.Menace}>=1) menace
auto=choice name(Flying) counter(0/0,1,Trample)
auto=choice name(First Strike) counter(0/0,1,Menace)
text=Ferocious Tigorilla enters the battlefield with your choice of a trample counter or a menace counter on it. (A creature with menace can't be blocked except by two or more creatures.)
mana={3}{R}
type=Creature
subtype=Cat Ape
power=4
toughness=3
[/card]
[card]
name=Ferocious Zheng
mana={2}{G}{G}
type=Creature
subtype=Cat Beast
power=4
toughness=4
[/card]
[card]
name=Ferocity of the Wilds
auto=lord(creature[-human;attacking]|mybattlefield) 1/0
auto=lord(creature[-human;attacking]|mybattlefield) trample
text=Attacking non-Human creatures you control get +1/+0 and have trample.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Ferropede
abilities=unblockable
auto=@combatdamaged(player) from(this):may name(Remove a counter) target(*[counter{any}]|battlefield) removesinglecountertype(1)
text=Ferropede is unblockable. -- Whenever Ferropede deals combat damage to a player, you may remove a counter from target permanent.
mana={3}
type=Artifact Creature
subtype=Insect
power=1
toughness=1
[/card]
[card]
name=Fervent Mastery
other={2}{R}{R} name(Cast for 1 less)
aicode=activate transforms((,newability[target(<3>*|mylibrary) moveto(myhand) and!( discard:1 controller )!])) oneshot
auto=name(Search up to 3 cards) reveal:plibrarycount optionone name(Choose up to 3 cards) target(<upto:3>*|reveal) moveto(myhand) optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) and!( shuffle )! optiontwoend afterrevealed thisforeach(variable{3}) discard:1 controller afterrevealedend revealend
auto=if paid(alternative) then ability$!name(Discard and draw) name(Discard and draw) target(<anyamount>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot!$ opponent
text=You may pay {2}{R}{R} rather than pay this spell's mana cost. -- If the {2}{R}{R} cost was paid, an opponent discards any number of cards, then draws that many cards. -- Search your library for up to three cards, put them into your hand, shuffle, then discard three cards at random.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Fervent Paincaster
auto={T}:damage:1 target(player)
auto=@exerted(this):damage:1 target(creature)
auto={T}:exert
text={T}: Fervent Paincaster deals 1 damage to target player. -- {T}, Exert Fervent Paincaster: It deals 1 damage to target creature. (An exerted creature won't untap during your next untap step.)
mana={2}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=1
[/card]
[card]
name=Fervent Strike
target=creature
auto=+1/+0
auto=first strike
auto=haste 
text=Target creature gets +1/+0 and gains first strike and haste until end of turn.
mana={R}
type=Instant
[/card]
[card]
name=Festering March
abilities=exiledeath
other={2}{B} name(Suspend 3)
auto=ifnot paid(alternative) then all(creature|opponentbattlefield) -1/-1 ueot
auto=moveto(myexile) and!( counter(0/0,3,Time) )!
autoexile=@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0,-1,Time)
autoexile=@each my upkeep restriction{compare(hascnttime)~equalto~1}:activate castcard(normal)
text=Creatures your opponents control get -1/-1 until end of turn. Exile Festering March with three time counters on it. -- Suspend 3-{2}{B} (Rather than cast this card from your hand, you may pay {2}{B} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Festering Mummy
auto=_DIES_may target(creature) counter(-1/-1,1)
text=When Festering Mummy dies, you may put a -1/-1 counter on target creature.
mana={B}
type=Creature
subtype=Zombie
power=1
toughness=1
[/card]
[card]
name=Festival Crasher
auto=@movedTo(*[instant;sorcery]|mystack):name(Gets 2/0) 2/0 ueot
text=Whenever you cast an instant or sorcery spell, Festival Crasher gets +2/+0 until end of turn.
type=Creature
subtype=Devil
mana={1}{R}
power=1
toughness=3
[/card]
[card]
name=Festive Funeral
target=creature
auto=foreach(*|mygraveyard) -1/-1 ueot
text=Target creature gets -X/-X until end of turn, where X is the number of cards in your graveyard.
mana={4}{B}
type=Instant
[/card]
[card]
name=Fetid Pools
abilities=cycling
auto=tap
autohand=__CYCLING__({2})
text=({T}: Add {U} or {B} to your mana pool.) -- Fetid Pools enters the battlefield tapped. -- Cycling {2} ({2}, Discard this card: Draw a card.)
type=Land
subtype=Island Swamp
[/card]
[card]
name=Fevered Suspicion
auto=_REBOUND_
auto=name(Exile cards) all(*[zpos<=oppofindfirsttypenonland]|opponentlibrary) moveto(exile) and!( counter(0/0.1.FeveredExiled) )!
auto=token(FeveredEffect,FeveredEffect,0/0,shroud,indestructible) and!( transforms((,newability[{0}:name(Cast exiled card) target(*[-land;counter{0/0.1.FeveredExiled}]|opponentexile) activate castcard(normal)])) forever )!
text=Each opponent exiles cards from the top of their library until they exile a nonland card. You may cast any number of spells from among those nonland cards without paying their mana costs. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
mana={6}{B}{R}
type=Sorcery
[/card]
[card]
name=Fey Steed
auto=_ATTACKING_name(Creature gains indestructible) target(other creature[attacking]|mybattlefield) transforms((,newability[indestructible])) ueot
auto=@targeted(*[creature;planeswalker]|mybattlefield) from(*|opponentzones):may name(Draw a card) draw:1 controller
text=Whenever Fey Steed attacks, another target attacking creature you control gains indestructible until end of turn. -- Whenever a creature or planeswalker you control becomes the target of a spell or ability an opponent controls, you may draw a card.
mana={2}{W}{W}
type=Creature
subtype=Elk
power=4
toughness=4
[/card]
[card]
name=Feywild Trickster
auto=@dierolled(*|mybattlefield) from(controller):name(Create Faerie) token(Faerie Dragon,Creature Faerie Dragon,1/1,blue,flying)
text=Whenever you roll one or more dice, create a 1/1 blue Faerie Dragon creature token with flying.
mana={2}{U}
type=Creature
subtype=Gnome Warlock
power=2
toughness=2
[/card]
[card]
name=Fibrous Entangler
abilities=vigilance
auto=_ATTACKING_all(creature|opponentbattlefield) mustblock ueot
text=Vigilance -- Fibrous Entangler must be blocked if able. -- Fibrous Entangler can block an additional creature each combat.
mana={2}{G}{G}
type=Creature
subtype=Eldrazi Werewolf
power=4
toughness=6
[/card]
[card]
name=Field Research
kicker={2}{U}
auto=draw:2 controller
auto=if paid(kicker) then draw:1 controller
text=Kicker {2}{U} (You may pay an additional {2}{U} as you cast this spell.) -- Draw two cards. If this spell was kicked, draw three cards instead.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Field Trip
auto=ability$!name(Search basic plains) name(Search basic plains) target(plains[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Search your library for a basic Forest card, put that card onto the battlefield tapped, then shuffle. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Field of Ruin
auto={T}:Add{1}
auto={2}{T}{S}:name(Destroy non-basic land) target(land[-basic]|opponentbattlefield) destroy && ability$!name(Search library) name(Search library) target(land[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )! !$ controller && ability$!name(Search library) name(Search library) target(land[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )! !$ opponent
text={T}: Add {1} to your mana pool. -- {2}, {T}, Sacrifice Field of Ruin: Destroy target nonbasic land an opponent controls. Each player searches his or her library for a basic land card, puts it onto the battlefield, then shuffles his or her library.
type=Land
[/card]
[card]
name=Field of the Dead
auto=tap(noevent)
auto={T}:add{C}
auto=if type(land|myBattlefield)~morethan~6 then name(Create zombie) token(Zombie,Creature Zombie,2/2,black)
auto=@movedTo(other land|myBattlefield) restriction{type(land|myBattlefield)~morethan~6}:name(Create zombie) token(Zombie,Creature Zombie,2/2,black)
text=Field of the Dead enters the battlefield tapped. -- {T}: Add {1}. -- Whenever Field of the Dead or another land enters the battlefield under your control, if you control seven or more lands with different names, create a 2/2 black Zombie creature token.
type=Land
[/card]
[card]
name=Fiend Artisan
auto=foreach(creature|myGraveyard) 1/1
aicode=activate target(creature[manacost<=X]|mylibrary) moveto(myBattlefield)
auto={X}{BG}{T}{S(other creature|myBattlefield}:name(search creature) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose creature) target(creature[manacost<=X]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myBattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery
text=Fiend Artisan gets +1/+1 for each creature card in your graveyard. -- {X}{BG}, {T}, Sacrifice another creature: Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery.
mana={BG}{BG}
type=Creature
subtype=Nightmare
power=1
toughness=1
[/card]
[card]
name=Fiend of the Shadows
abilities=flying
auto=@combatdamagefoeof(player) from(this):ability$!name(Exile a card) name(Exile a card) notatarget(*|myhand) moveto(myexile) and!( counter(0/0,1,FiendExiled) )! !$ opponent
auto=@combatdamageof(player) from(this):name(Exile a card) target(*|myhand) moveto(myexile) and!( counter(0/0,1,FiendExiled) )!
auto=lord(*[counter{0/0.1.FiendExiled}]|myexile) transforms((,newability[canplayfromexile]))
auto={0}:name(Cast card from opponent's exile) name(Cast card from opponent's exile) target(*[counter{0/0.1.FiendExiled}]|opponentexile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.FiendExiled)],newability[canplayfromexile],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.FiendExiled)])) ueot )!
auto={S(human|mybattlefield)}:regenerate
text=Flying -- Whenever Fiend of the Shadows deals combat damage to a player, that player exiles a card from his or her hand. You may play that card for as long as it remains exiled. -- Sacrifice a Human: Regenerate Fiend of the Shadows.
mana={3}{B}{B}
type=Creature
subtype=Vampire Wizard
power=3
toughness=3
[/card]
[card]
name=Fiendish Duo
abilities=First strike
auto=@damagefoeof(player) from(*[instant;sorcery]|stack,Graveyard):damage:thatmuch all(trigger[to])
auto=@damagefoeof(player) from(*[enchantment;artifact;land;planeswalker]|battlefield,Graveyard):damage:thatmuch all(trigger[to])
auto=@damagefoeof(player) from(creature[-Fiendish Duo]|battlefield,Graveyard):damage:thatmuch all(trigger[to])
auto=@combatdamagefoeof(player) from(this):damage:thatmuch all(trigger[to])
text=First strike -- If a source would deal damage to an opponent, it deals double that damage to that player instead.
mana={4}{R}{R}
type=Creature
subtype=Devil
power=5
toughness=5
[/card]
[card]
name=Fiendlash
auto={2}{R}:equip
auto=@damaged(mytgt):name(Deal damage) target(player,planeswalker) damage:power
auto=teach(creature) 2/0
auto=teach(creature) reach
text=Equipped creature gets +2/+0 and has reach. -- Whenever equipped creature is dealt damage, it deals damage equal to its power to target player or planeswalker. -- Equip {2}{R}
mana={1}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Fierce Guardianship
target=*[-creature]|stack
auto=fizzle
other={0} name(Cast without Paying its Mana Cost)
otherrestriction=type(*[iscommander]|mybattlefield)~morethan~0
text=If you control a commander, you may cast this spell without paying its mana cost. -- Counter target noncreature spell.
mana={2}{U}
type=Instant
[/card]
[card]
name=Fierce Witchstalker
abilities=trample
auto=token(Food)
text=Trample -- When Fierce Witchstalker enters the battlefield, create a Food token. (It's an artifact with "{2} , {T}, Sacrifice this artifact: You gain 3 life.")
mana={2}{G}{G}
type=Creature
subtype=Wolf
power=4
toughness=4
[/card]
[card]
name=Fiery Cannonade
auto=damage:2 all(creature[-pirate])
text=Fiery Cannonade deals 2 damage to each non-Pirate creature.
mana={2}{R}
type=Instant
[/card]
[card]
name=Fiery Confluence
auto=choice name(Damage creatures 1 time) damage:1 all(creature|battlefield)
auto=choice name(Damage creatures 2 times) damage:2 all(creature|battlefield)
auto=choice name(Damage creatures 3 times) damage:3 all(creature|battlefield)
auto=choice name(Damage opponent 1 time) damage:2 opponent
auto=choice name(Damage opponent 2 times) damage:4 opponent
auto=choice name(Damage opponent 3 times) damage:6 opponent
auto=choice name(Destroy 1 Artifact) destroy target(<1>*[artifact]|battlefield)
auto=choice name(Destroy 2 Artifacts) destroy target(<2>*[artifact]|battlefield)
auto=choice name(Destroy 3 Artifacts) destroy target(<3>*[artifact]|battlefield)
auto=choice name(Damage creatures 2 times and Damage opponent 1 time) damage:2 all(creature|battlefield) && damage:2 opponent
auto=choice name(Damage creatures 2 times and Destroy 1 Artifact) damage:2 all(creature|battlefield) && destroy target(<1>*[artifact]|battlefield)
auto=choice name(Damage creatures 1 time and Damage opponent 2 times) damage:1 all(creature|battlefield) && damage:4 opponent
auto=choice name(Damage creatures 1 time and Destroy 2 Artifacts) damage:1 all(creature|battlefield) && destroy target(<2>*[artifact]|battlefield)
auto=choice name(Damage opponent 1 time and Destroy 2 Artifacts) damage:2 opponent && destroy target(<2>*[artifact]|battlefield)
auto=choice name(Damage opponent 2 times and Destroy 1 Artifact) damage:4 opponent && destroy target(<1>*[artifact]|battlefield)
auto=choice name(Damage opponent 1 time, Damage creatures 1 time and Destroy 1 Artifact) damage:1 all(creature|battlefield) && damage:2 opponent && destroy target(<1>*[artifact]|battlefield)
text=Choose three. You may choose the same mode more than once. -- Fiery Confluence deals 1 damage to each creature. -- Fiery Confluence deals 2 damage to each opponent. -- Destroy target artifact.
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Fiery Emancipation
auto=@damaged(player) from(*|myBattlefield,myStack,myGraveyard,mySideboard,myExile):all(trigger[to]) damage:twicethatmuch 
auto=@damaged(planeswalker) from(*|myBattlefield,myStack,myGraveyard,mySideboard,myExile):all(trigger[to]) damage:twicethatmuch
auto=@damaged(creature) from(*|myBattlefield,myStack,myGraveyard,mySideboard,myExile):all(trigger[to]) damage:twicethatmuch
text=If a source you control would deal damage to a permanent or player, it deals triple that damage to that permanent or player instead.
mana={3}{R}{R}{R}
type=Enchantment
[/card]
[card]
name=Fiery Encore
abilities=storm
auto=if type(*[-land]|myhand)~morethan~0 then choice name(Discard non-land card) name(Discard non-land card) target(*[-land]|myhand) transforms((,newability[damage:manacost target(*[creature;planeswalker]|battlefield)],newability[reject],newability[draw:1 controller])) oneshot
auto=if type(land|myhand)~morethan~0 then choice name(Discard a land) name(Discard a land) target(land|myhand) transforms((,newability[reject],newability[draw:1 controller])) oneshot
text=Discard a card, then draw a card. When you discard a nonland card this way, Fiery Encore deals damage equal to that card's mana value to target creature or planeswalker. -- Storm (When you cast this spell, copy it for each spell cast before it this turn.)
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Fiery Finish
target=creature
auto=damage:7
text=Fiery Finish deals 7 damage to target creature.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Fiery Intervention
auto=choice damage:5 target(creature)
auto=choice destroy target(artifact)
text=Choose one -- Fiery Intervention deals 5 damage to target creature. -- Destroy target artifact.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Fiery Islet
auto={T}{L:1}:Add{U}
auto={T}{L:1}:Add{R}
auto={1}{T}{S}:draw:1
text={T}, Pay 1 life: Add {U} or {R}. -- {1}, {T}, Sacrifice Fiery Islet: Draw a card.
type=Land
[/card]
[card]
name=Fiery Justice
auto=thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
auto=life:5 opponent
text=Fiery Justice deals 5 damage divided as you choose among any number of target creatures and/or players. Target opponent gains 5 life.
mana={R}{G}{W}
type=Sorcery
[/card]
[card]
name=Fifty Feet of Rope
auto={T}:name(Wall can't block) target(*[wall]|battlefield) transforms((,newability[cantblock])) ueot
auto={3}{T}:name(Creature doesn't untap) target(creature|battlefield) transforms((,newability[doesnotuntap])) uynt
auto={4}{T}:name(Venture into the dungeon) if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot asSorcery
text=Climb Over-{T}: Target Wall can't block this turn. -- Tie Up-{3}, {T}: Target creature doesn't untap during its controller's next untap step. -- Rappel Down-{4}, {T}: Venture into the dungeon. Activate only as a sorcery. (Enter the first room or advance to the next room.)
mana={1}
type=Artifact
[/card]
[card]
name=Fight as One
target=creature|mybattlefield
other={W} name(Both)
auto=if paid(alternative) then target(creature[human]) 1/1 && indestructible ueot
auto=if paid(alternative) then target(creature[-human]) 1/1 && indestructible ueot
auto=ifnot paid(alternative) then 1/1 && indestructible ueot
text=Choose one or both -- Target Human creature you control gets +1/+1 and gains indestructible until end of turn. -- Target non-Human creature you control gets +1/+1 and gains indestructible until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Fight with Fire
kicker={5}{R}
auto=ifnot paid(kicker) then damage:5 target(creature)
auto=if paid(kicker) then thisforeach(variable{10}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planewsalker) damage:1!$ controller
text=Kicker {5}{R} (You may pay an additional {5}{R} as you cast this spell.) -- Fight with Fire deals 5 damage to target creature. If this spell was kicked, it deals 10 damage divided as you choose among any number of targets instead. (Those targets can include players and planeswalkers.)
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Fighter Class
auto=counter(0/0,1,Level)
auto=name(Search equipment) target(artifact[equipment]|mylibrary) moveTo(myhand) and!( shuffle )!
auto=this(variable{hascntlevel}=1) {1}{R}{W}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}>=2) lord(artifact[equipment]|myBattlefield) transforms((,newability[{0}:name(Add 2 mana for equip) add{C}{C}]))
auto=this(variable{hascntlevel}=2) {3}{R}{W}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@combat(attacking) source(creature|mybattlefield) restriction{compare(hascntlevel)~morethan~2}:may name(Creature has to block) target(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot
text=(Gain the next level as a sorcery to add its ability.) -- When Fighter Class enters the battlefield, search your library for an Equipment card, reveal it, put it into your hand, then shuffle. -- {1}{R}{W}: Level 2 -- Equip abilities you activate cost {2} less to activate. -- {3}{R}{W}: Level 3 -- Whenever a creature you control attacks, up to one target creature blocks it this combat if able.
mana={R}{W}
type=Enchantment
subtype=Class
[/card]
[card]
name=Filigree Attendant
abilities=flying
anyzone=type:artifact:myBattlefield/3 cdaactive
text=Flying -- Filigree Attendant's power is equal to the number of artifacts you control.
mana={2}{U}{U}
type=Artifact Creature
subtype=Homunculus
power=*
toughness=3
[/card]
[card]
name=Fin-Clade Fugitives
auto=cantbeblockedby(creature[power<=2])
autograveyard={4}{G}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Fin-Clade Fugitives can't be blocked by creatures with power 2 or less. -- Encore {4}{G} ({4}{G}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={5}{G}
type=Creature
subtype=Elf Salamander Rogue
power=7
toughness=4
[/card]
[card]
name=Final Death
target=creature
auto=moveto(Exile)
text=Exile target creature.
mana={4}{B}
type=Instant
[/card]
[card]
name=Final Flare
target=creature
auto=damage:5
text=As an additional cost to cast this spell, sacrifice a creature or enchantment. -- Final Flare deals 5 damage to target creature.
mana={2}{R}{S(creature,enchantment|mybattlefield)}
type=Instant
[/card]
[card]
name=Final Parting
auto=name(put in hand) moveto(myhand) notatarget(*|mylibrary) and!(name(put in graveyard) moveto(mygraveyard) notatarget(*|mylibrary))! oneshot
text=Search your library for two cards. Put one into your hand and the other into your graveyard. Then shuffle your library.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Final Payment
target=creature
auto=destroy
other={W}{B}{L:5} name(Pay 5 Life)
text=As an additional cost to cast this spell, pay 5 life or sacrifice a creature or enchantment. -- Destroy target creature.
mana={W}{B}{S(*[creature;enchantment]|mybattlefield)}
type=Instant
[/card]
[card]
name=Final Reward
target=creature
auto=moveto(exile)
text=Exile target creature.
mana={4}{B}
type=Instant
[/card]
[card]
name=Finale of Devastation
auto=this(X>=10) all(creature|myBattlefield) transforms((,newability[haste])) ueot
auto=this(X>=10) all(creature|myBattlefield) +x/+x ueot
auto=this(X=0) target(creature[manacost=0]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=1) target(creature[manacost<=1]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=2) target(creature[manacost<=2]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=3) target(creature[manacost<=3]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=4) target(creature[manacost<=4]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=5) target(creature[manacost<=5]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=6) target(creature[manacost<=6]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=7) target(creature[manacost<=7]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=8) target(creature[manacost<=8]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=9) target(creature[manacost<=9]|myLibrary,myGraveyard) moveTo(myBattlefield)
auto=this(X=10) target(creature[manacost<=10]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[10/10])) ueot )!
auto=this(X=11) target(creature[manacost<=11]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[11/11])) ueot )!
auto=this(X=12) target(creature[manacost<=12]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[12/12])) ueot )!
auto=this(X=13) target(creature[manacost<=13]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[13/13])) ueot )!
auto=this(X=14) target(creature[manacost<=14]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[14/14])) ueot )!
auto=this(X=15) target(creature[manacost<=15]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[15/15])) ueot )!
auto=this(X=16) target(creature[manacost<=16]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[16/16])) ueot )!
auto=this(X=17) target(creature[manacost<=17]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[17/17])) ueot )!
auto=this(X=18) target(creature[manacost<=18]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[18/18])) ueot )!
auto=this(X=19) target(creature[manacost<=19]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[19/19])) ueot )!
auto=this(X>=20) target(creature[manacost<=20]|myLibrary,myGraveyard) moveTo(myBattlefield) and!( transforms((,newability[haste],newability[20/20])) ueot )!
text=Search your library and/or graveyard for a creature card with converted mana cost X or less and put it onto the battlefield. If you search your library this way, shuffle it. If X is 10 or more, creatures you control get +X/+X and gain haste until end of turn.
mana={X}{G}{G}
type=Sorcery
[/card]
[card]
name=Finale of Eternity
target=<upto:3>creature[toughness<=prex]
auto=destroy
auto=this(prex>=10) all(creature|mygraveyard) moveto(mybattlefield)
text=Destroy up to three target creatures with toughness X or less. If X is 10 or more, return all creature cards from your graveyard to the battlefield.
mana={X}{B}{B}
type=Sorcery
[/card]
[card]
name=Finale of Glory
auto=create(soldier:creature soldier:2/2:white:vigilance)*X
auto=this(X>=10) create(Angel:creature Angel:4/4:white:flying:vigilance)*X
text=Create X 2/2 white Soldier creature tokens with vigilance. If X is 10 or more, also create X 4/4 white Angel creature tokens with flying and vigilance.
mana={X}{W}{W}
type=Sorcery
[/card]
[card]
name=Finale of Promise
target=<upto:2>*[instant;sorcery;manacost<=prex]|mygraveyard
auto=this(X>=10) activate castcard(copied noevent)
auto=activate castcard(normal) and!(transforms((,newability[gainedexiledeath])) forever)!
text=You may cast up to one target instant card and/or sorcery card from your graveyard each with converted mana cost X or less without paying their mana costs. If a card cast this way would be put into your graveyard this turn, exile it instead. If X is 10 or more, copy each of those spells twice. You may choose new targets for the copies.
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Finale of Revelation
abilties=exiledeath
auto=this(X<10) draw:x
auto=this(X>=10) moveto(myLibrary) all(*|myGraveyard) && shuffle && draw:x 
auto=this(X>=10) untap notatarget(<upto:5>land)
autoexile=lord(*|myBattlefield) nomaxhand
text=Draw X cards. If X is 10 or more, instead shuffle your graveyard into your library, draw X cards, untap up to five lands, and you have no maximum hand size for the rest of the game. -- Exile Finale of Revelation.
mana={X}{U}{U}
type=Sorcery
[/card]
[card]
name=Find // Finality
other={4}{B}{G} name(Finality)
auto=ifnot paid(alternative) then moveto(myhand) target(<upto:2>creature|mygraveyard)
auto=if paid(alternative) then may counter(1/1,2) target(creature|myBattlefield) && all(creature) -4/-4 ueot
text=Return up to two target creature cards from your graveyard to your hand. // You may put two +1/+1 counters on a creature you control. Then all creatures get -4/-4 until end of turn.
mana={BG}{BG}
type=Sorcery
[/card]
[card]
name=Find the Path
target=land
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=teach(land) transforms((,newability[{T}:name(Add 2 green mana) add{G}{G}]))
text=Enchant land -- When Find the Path enters the battlefield, venture into the dungeon. (Enter the first room or advance to the next room.) -- Enchanted land has "{T}: Add {G}{G}."
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Finishing Blow
target=creature,planeswalker
auto=destroy
text=Destroy target creature or planeswalker.
mana={4}{B}
type=Instant
[/card]
[card]
name=Fire // Ice
other={1}{U} name(Ice)
auto=ifnot paid(alternative) then thisforeach(variable{2}) ability$!name(Choose one) choice name(Damage creature) damage:1 target(creature) _ choice name(Damage player) damage:1 target(player) _ choice name(Damage planeswalker) damage:1 target(planeswalker)!$ controller
auto=if paid(alternative) then name(Tap target permanent) name(Tap target permanent) target(*|battlefield) tap(noevent) && draw:1 controller
text=Fire deals 2 damage divided as you choose among one or two targets. -- Tap target permanent. Draw a card.
mana={1}{R}
type=Instant
[/card]
[card]
name=Fire Covenant
auto=choice name(Pay 1 Life) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 2 Life) thisforeach(variable{2}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 3 Life) thisforeach(variable{3}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 4 Life) thisforeach(variable{4}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 5 Life) thisforeach(variable{5}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 6 Life) thisforeach(variable{6}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 7 Life) thisforeach(variable{7}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 8 Life) thisforeach(variable{8}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 9 Life) thisforeach(variable{9}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 10 Life) thisforeach(variable{10}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 11 Life) thisforeach(variable{11}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 12 Life) thisforeach(variable{12}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 13 Life) thisforeach(variable{13}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 14 Life) thisforeach(variable{14}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 15 Life) thisforeach(variable{15}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 16 Life) thisforeach(variable{16}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 17 Life) thisforeach(variable{17}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 18 Life) thisforeach(variable{18}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 19 Life) thisforeach(variable{19}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
auto=choice name(Pay 20 Life) thisforeach(variable{20}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && life:-1 controller
text=As an additional cost to cast Fire Covenant, pay X life. -- Fire Covenant deals X damage divided as you choose among any number of target creatures.
mana={1}{B}{R}
type=Instant
[/card]
[card]
name=Fire Giant's Fury
target=giant|mybattlefield
auto=2/2 ueot
auto=trample ueot
auto=transforms((,newability[@combatdamaged(player) from(this):transforms((,newability[all(*[zpos<=thatmuch]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.FireEffect)],newability[this(variable{hascntfireeffect}>0) canplayfromexile],newability[phaseaction[opponent upkeep once checkex] counter(0/0.1.FireEffect)],newability[phaseaction[my upkeep once checkex] counter(0/0.1.FireEffect)],newability[phaseaction[endofturn checkex] counter(0/0.-1.FireEffect)])) forever )!])) ueot])) ueot
text=Target Giant you control gets +2/+2 and gains trample until end of turn. Whenever it deals combat damage to a player this turn, exile that many cards from the top of your library. Until the end of your next turn, you may play those cards.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Fire Prophecy
target=creature
auto=damage:3
auto=may bottomoflibrary target(*|myHand) && draw:1 controller
text=Fire Prophecy deals 3 damage to target creature. You may put a card from your hand on the bottom of your library. If you do, draw a card.
mana={1}{R}
type=Instant
[/card]
[card]
name=Fire Servant
auto=@damaged(creature) from(*[instant;sorcery;red]|myStack,mygraveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(*[instant;sorcery;red]|myStack,mygraveyard):damage:thatmuch all(trigger[to])
text=If a red instant or sorcery spell you control would deal damage, it deals double that damage instead.
mana={3}{R}{R}
type=Creature
subtype=Elemental
power=4
toughness=3
[/card]
[card]
name=Fire Shrine Keeper
abilities=menace
auto={7}{R}{T}{S}:target(<upto:2>creature) damage:3
text=Menace -- {7}{R}, {T}, Sacrifice Fire Shrine Keeper: It deals 3 damage to each of up to two target creatures.
mana={R}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Fire Urchin
abilities=trample
auto=@movedTo(instant,sorcery|mystack):1/0 ueot
text=Trample -- Whenever you cast an instant or sorcery spell, Fire Urchin gets +1/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Elemental
power=1
toughness=3
[/card]
[card]
name=Fire and Brimstone
auto=if type(creature[attacking]|opponentbattlefield)~morethan~0 then damage:4 opponent
auto=damage:4 controller
text=Fire and Brimstone deals 4 damage to target player who declared an attacking creature this turn and 4 damage to you.
mana={3}{W}{W}
type=Instant
[/card]
[card]
name=Fire-Omen Crane
abilities=flying
auto=_ATTACKING_damage:1 target(creature|opponentBattlefield)
text=Flying. (This creature can't be blocked except by creatures with flying or reach.) -- Whenever Fire-Omen Crane attacks, it deals 1 damage to target creature an opponent controls.
mana={3}{R}{R}
type=Creature
subtype=Bird Spirit
power=3
toughness=3
[/card]
[card]
name=Fireblade Artist
abilities=haste
auto=@each my upkeep:may sacrifice notatarget(creature|mybattlefield) && ability$!name(Choose one) choice name(Damage opponent) damage:2 target(opponent) _ choice name(Damage planeswalker) damage:2 target(planeswalker)!$ controller
text=Haste -- At the beginning of your upkeep, you may sacrifice a creature. When you do, Fireblade Artist deals 2 damage to target opponent or planeswalker.
mana={B}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Fireblade Charger
auto=this(gear > 0) haste
auto=_DIES_name(Damage any target) damage:power target(player,creature,planeswalker)
text=As long as Fireblade Charger is equipped, it has haste. -- When Fireblade Charger dies, it deals damage equal to its power to any target.
mana={R}
type=Creature
subtype=Goblin Warrior
power=1
toughness=1
[/card]
[card]
name=Fireborn Knight
abilities=double strike
auto={RW}{RW}{RW}{RW}:1/1
text=Double strike -- {RW}{RW}{RW}{RW}: Fireborn Knight gets +1/+1 until end of turn.
mana={RW}{RW}{RW}{RW}
type=Creature
subtype=Human Knight
power=2
toughness=3
[/card]
[card]
name=Firebrand Archer
auto=@movedTo(*[-creature]|mystack):damage:1 opponent
text=Whenever you cast a noncreature spell, Firebrand Archer deals 1 damage to each opponent.
mana={1}{R}
type=Creature
subtype=Human Archer
power=2
toughness=1
[/card]
[card]
name=Firecannon Blast
target=creature
auto=damage:3
auto=if raid then damage:3
text=Firecannon Blast deals 3 damage to target creature. -- Raid - Firecannon Blast deals 6 damage to that creature instead if you attacked with a creature this turn.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Firecat Blitz
flashback={R}{R}
auto=ifnot gravecast then token(Elemental Cat,Creature Elemental Cat,3/1,red,haste,unearth)*fullpaid
auto=if gravecast then name(Sacrifice X mountains) name(Sacrifice X mountains) target(<anyamount>mountain|myBattlefield) sacrifice and!( token(Elemental Cat,Creature Elemental Cat,3/1,red,haste,unearth) )!
text=Put X 1/1 red Elemental Cat creature tokens with haste onto the battlefield. Exile them at the beginning of the next end step. -- Flashback-{R}{R}, Sacrifice X Mountains. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Firefist Adept
auto=damage:type:wizard:mybattlefield target(creature|opponentBattlefield)
text=When Firefist Adept enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of Wizards you control.
mana={4}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Fireflux Squad
auto=_ATTACKING_may moveTo(myExile) target(other creature[attacking]|myBattlefield) && Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone name(Get Creature) target(creature|myreveal) moveto(mybattlefield) && transforms((,haste,attacking)) forever optiononeend optiontwo choice name(Shuffle) all(*|myreveal) bottomoflibrary && shuffle controller  optiontwoend revealend
text=Haste -- Whenever Fireflux Squad attacks, you may exile another target attacking creature you control. If you do, reveal cards from the top of your library until you reveal a creature card. Put that card onto the battlefield tapped and attacking and the rest on the bottom of your library in a random order.
mana={3}{R}
type=Creature
subtype=Human Soldier
power=4
toughness=3
[/card]
[card]
name=Firemind Vessel
auto=tapped(noevent)
auto={T}:Add{W}{U}
auto={T}:Add{W}{B}
auto={T}:Add{W}{R}
auto={T}:Add{W}{G}
auto={T}:Add{U}{B}
auto={T}:Add{U}{R}
auto={T}:Add{U}{G}
auto={T}:Add{B}{R}
auto={T}:Add{B}{G}
auto={T}:Add{R}{G}
text=Firemind Vessel enters the battlefield tapped. -- {T}: Add two mana of different colors.
mana={4}
type=Artifact
[/card]
[card]
name=Firemind's Research
auto=@movedTo(instant,sorcery|mystack):counter(0/0,charge)
auto={1}{U}{C(0/0,-2,Charge)}:draw:1
auto={1}{R}{C(0/0,-5,Charge)}:damage:5 target(player,creature,planeswalker)
text=Whenever you cast an instant or sorcery spell, put a charge counter on Firemind's Research. -- {1}{U}, Remove two charge counters from Firemind's Research: Draw a card. -- {1}{R}, Remove five charge counters from Firemind's Research: It deals 5 damage to any target.
mana={U}{R}
type=Enchantment
[/card]
[card]
name=Fires of Invention
auto=maxCast(*)2 controller
auto=this(variable{opponentturn}>0) maxCast(*)0 controller
auto=lord(*[manacost<=type:land:mybattlefield;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~1}:lord(*[manacost<=1;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~2}:lord(*[manacost<=2;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~3}:lord(*[manacost<=3;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~4}:lord(*[manacost<=4;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~5}:lord(*[manacost<=5;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~6}:lord(*[manacost<=6;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~7}:lord(*[manacost<=7;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~8}:lord(*[manacost<=8;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~9}:lord(*[manacost<=9;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~10}:lord(*[manacost<=10;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~11}:lord(*[manacost<=11;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~12}:lord(*[manacost<=12;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~13}:lord(*[manacost<=13;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~14}:lord(*[manacost<=14;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~15}:lord(*[manacost<=15;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~16}:lord(*[manacost<=16;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~17}:lord(*[manacost<=17;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~18}:lord(*[manacost<=18;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~19}:lord(*[manacost<=19;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
auto=@movedto(land|myBattlefield,myHand,myGraveyard,myExile,mySideboard,myLibrary) restriction{compare(type:land:mybattlefield)~equalto~20}:lord(*[manacost<=20;-land]|myHand,myGraveyard,myExile,mySideboard,myLibrary) zerocast
text=You can cast spells only during your turn and you can cast no more than two spells each turn. -- You may cast spells with converted mana cost less than or equal to the number of lands you control without paying their mana costs.
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Firesong and Sunspeaker
auto=@damaged(creature) from(*[instant;sorcery;red]|mystack,mygraveyard):life:thatmuch controller
auto=@damageof(player) from(*[instant;sorcery;red]|mystack,mygraveyard):life:thatmuch controller
auto=@damagefoeof(player) from(*[instant;sorcery;red]|mystack,mygraveyard):life:thatmuch controller
auto=@lifeof(player) from(*[instant;sorcery;white]|mystack,mygraveyard)):damage:3 target(creature,player)
text=Red instant and sorcery spells you control have lifelink. -- Whenever a white instant or sorcery spell causes you to gain life, Firesong and Sunspeaker deals 3 damage to target creature or player.
mana={4}{R}{W}
type=Legendary Creature
subtype=Minotaur Cleric
power=4
toughness=6
[/card]
[card]
name=Firestorm
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1, damage 1 creature or opponent) target(*|myhand) reject!$ controller && damage:1 target(creature,player)
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2, damage 1 creature and opponent) target(<2>*|myhand) reject!$ controller && damage:2 target(creature) && damage:2 opponent
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=2, damage 2 creatures) target(<2>*|myhand) reject!$ controller && damage:2 target(<2>creature)
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3, damage 2 creature and opponent) target(<3>*|myhand) reject!$ controller && damage:3 target(<2>creature) && damage:3 opponent
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3, damage 3 creatures) target(<3>*|myhand) reject!$ controller && damage:3 target(<3>creature)
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4, damage 3 creature and opponent) target(<4>*|myhand) reject!$ controller && damage:4 target(<3>creature) && damage:4 opponent
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4, damage 4 creatures) target(<4>*|myhand) reject!$ controller && damage:4 target(<4>creature)
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5, damage 4 creature and opponent) target(<5>*|myhand) reject!$ controller && damage:5 target(<4>creature) && damage:5 opponent
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5, damage 5 creatures) target(<5>*|myhand) reject!$ controller && damage:5 target(<5>creature)
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6, damage 5 creature and opponent) target(<6>*|myhand) reject!$ controller && damage:6 target(<5>creature) && damage:6 opponent
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6, damage 6 creatures) target(<6>*|myhand) reject!$ controller && damage:6 target(<6>creature)
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7, damage 6 creature and opponent) target(<7>*|myhand) reject!$ controller && damage:7 target(<6>creature) && damage:7 opponent
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7, damage 7 creatures) target(<7>*|myhand) reject!$ controller && damage:7 target(<7>creature)
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8, damage 7 creature and opponent) target(<8>*|myhand) reject!$ controller && damage:8 target(<7>creature) && damage:8 opponent
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8, damage 8 creatures) target(<8>*|myhand) reject!$ controller && damage:8 target(<8>creature)
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9, damage 8 creature and opponent) target(<9>*|myhand) reject!$ controller && damage:9 target(<8>creature) && damage:9 opponent
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9, damage 9 creatures) target(<9>*|myhand) reject!$ controller && damage:9 target(<9>creature)
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10, damage 9 creature and opponent) target(<10>*|myhand) reject!$ controller && damage:10 target(<9>creature) && damage:10 opponent
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10, damage 10 creatures) target(<10>*|myhand) reject!$ controller && damage:10 target(<10>creature)
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11, damage 10 creature and opponent) target(<11>*|myhand) reject!$ controller && damage:11 target(<10>creature) && damage:11 opponent
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11, damage 11 creatures) target(<11>*|myhand) reject!$ controller && damage:11 target(<11>creature)
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12, damage 11 creature and opponent) target(<12>*|myhand) reject!$ controller && damage:12 target(<11>creature) && damage:12 opponent
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12, damage 12 creatures) target(<12>*|myhand) reject!$ controller && damage:12 target(<12>creature)
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13, damage 12 creature and opponent) target(<13>*|myhand) reject!$ controller && damage:13 target(<12>creature) && damage:13 opponent
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13, damage 13 creatures) target(<13>*|myhand) reject!$ controller && damage:13 target(<13>creature)
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14, damage 13 creature and opponent) target(<14>*|myhand) reject!$ controller && damage:14 target(<13>creature) && damage:14 opponent
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14, damage 14 creatures) target(<14>*|myhand) reject!$ controller && damage:14 target(<14>creature)
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15, damage 14 creature and opponent) target(<15>*|myhand) reject!$ controller && damage:15 target(<14>creature) && damage:15 opponent
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15, damage 15 creatures) target(<15>*|myhand) reject!$ controller && damage:15 target(<15>creature)
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16, damage 15 creature and opponent) target(<16>*|myhand) reject!$ controller && damage:16 target(<15>creature) && damage:16 opponent
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16, damage 16 creatures) target(<16>*|myhand) reject!$ controller && damage:16 target(<16>creature)
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17, damage 16 creature and opponent) target(<17>*|myhand) reject!$ controller && damage:17 target(<16>creature) && damage:17 opponent
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17, damage 17 creatures) target(<17>*|myhand) reject!$ controller && damage:17 target(<17>creature)
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18, damage 17 creature and opponent) target(<18>*|myhand) reject!$ controller && damage:18 target(<17>creature) && damage:18 opponent
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18, damage 18 creatures) target(<18>*|myhand) reject!$ controller && damage:18 target(<18>creature)
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19, damage 18 creature and opponent) target(<19>*|myhand) reject!$ controller && damage:19 target(<18>creature) && damage:19 opponent
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19, damage 19 creatures) target(<19>*|myhand) reject!$ controller && damage:19 target(<19>creature)
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20, damage 19 creature and opponent) target(<20>*|myhand) reject!$ controller && damage:20 target(<19>creature) && damage:20 opponent
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20, damage 20 creatures) target(<20>*|myhand) reject!$ controller && damage:20 target(<20>creature)
text=As an additional cost to cast Firestorm, discard X cards. -- Firestorm deals X damage to each of X target creatures and/or players.
mana={R}
type=Instant
[/card]
[card]
name=Firestorm Phoenix
abilities=flying,handdeath
auto=@movedto(this|myhand) from(battlefield):emblem transforms((,newability[maxcast(*[Firestorm Phoenix])0 ueot])) ueot
text=Flying -- If Firestorm Phoenix would die, return Firestorm Phoenix to its owner's hand instead. Until that player's next turn, that player plays with that card revealed in his or her hand and can't play it.
mana={4}{R}{R}
type=Creature
subtype=Phoenix
power=3
toughness=2
[/card]
[card]
name=Firja's Retribution
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=token(Angel,Creature Angel,4/4,white,flying,vigilance)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) all(angel|mybattlefield) transforms((,newability[{T}:name(Destroy creature) destroy target(creature[power<=powerminus1minusend])])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(angel|mybattlefield) transforms((,newability[double strike])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Create a 4/4 white Angel Warrior creature token with flying and vigilance. -- II - Until end of turn, Angels you control gain "{T}: Destroy target creature with power less than this creature's power." -- III - Angels you control gain double strike until end of turn.
mana={1}{W}{W}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Firja, Judge of Valor
abilities=flying,lifelink
aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myhand) and!(deplete:2)!])) ueot
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:name(Look top 3 cards) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Flying, lifelink -- Whenever you cast your second spell each turn, look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard.
mana={2}{W}{B}{B}
type=Legendary Creature
subtype=Angel Cleric
power=2
toughness=4
[/card]
[card]
name=Firmament Sage
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):name(Draw a card) draw:1 controller
text=If it's neither day or night, it becomes day as Firmament Sage enters the battlefield. -- Whenever day becomes night or night becomes day, draw a card.
type=Creature
subtype=Human Wizard
mana={3}{U}
power=2
toughness=3
[/card]
[card]
name=First Day of Class
auto=emblem transforms((,newability[@movedto(creature|mybattlefield):name(Gains 1/1 counter and haste) all(trigger[to]) transforms((,newability[counter(1/1),newability[haste])) ueot])) ueot
text=Whenever a creature enters the battlefield under your control this turn, put a +1/+1 counter on it and it gains haste until end of turn. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={1}{R}
type=Instant
[/card]
[card]
name=First Response
auto=@each upkeep restriction{lastturn(life)~morethan~0}:token(Soldier,Creature Soldier,1/1,white)
text=At the beginning of each upkeep, if you lost life last turn, put a 1/1 white Soldier creature token onto the battlefield.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=First Sliver's Chosen
auto=lord(sliver|mybattlefield) exalted
text=Sliver creatures you control have exalted. (Whenever a creature you control attacks alone, it gets +1/+1 until end of turn for each instance of exalted among permanents you control.)
mana={4}{W}
type=Creature
subtype=Sliver
power=3
toughness=3
[/card]
[card]
name=First-Sphere Gargantua
auto=draw:1 controller
auto=life:-1 controller
autograveyard={2}{B}:name(Unearth) moveto(mybattlefield) and!( transforms((,newability[haste],newability[unearth],newability[exiledeath])) forever )! asSorcery
text=When First-Sphere Gargantua enters the battlefield, you draw a card and you lose 1 life. -- Unearth {2}{B} ({2}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
mana={4}{B}{B}
type=Creature
subtype=Phyrexian Horror
power=5
toughness=4
[/card]
[card]
name=Fish Reef
auto=_DIES_token(Whale Reef)
text=When this creature dies, put a 6/6 blue Whale creature token onto the battlefield with "When this creature dies, put a 9/9 blue Kraken creature token onto the battlefield."
type=Creature
subtype=Fish
color=blue
power=3
toughness=3
[/card]
[card]
name=Fissure Vent
auto=choice name(Destroy non-basic land) destroy target(land[-basic])
auto=choice name(Destroy artifact) destroy target(artifact)
auto=choice name(Destroy non-basic land and artifact) destroy target(land[-basic]) && ability$!name(Destroy artifact) name(Destroy artifact) destroy target(artifact)!$ controller
text=Choose one or both -- Destroy target artifact. -- Destroy target nonbasic land.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Fissure Wizard
auto=if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(draw:1)! !$ controller
text=When Fissure Wizard enters the battlefield, you may discard a card. If you do, draw a card.
mana={1}{R}
type=Creature
subtype=Goblin Wizard
power=2
toughness=1
[/card]
[card]
name=Fist of Suns
auto=lord(*|myrestrictedcastingzone) transforms((,newability[{W}{U}{B}{R}{G}:name(Pay 5 colors and zerocast) name(Pay 5 colors and zerocast) zerocast]))
auto=lord(*[canplayfromgraveyard]|mygraveyard) transforms((,newability[{W}{U}{B}{R}{G}:name(Pay 5 colors and zerocast) name(Pay 5 colors and zerocast) zerocast]))
auto=lord(*[canplayfromexile]|myexile) transforms((,newability[{W}{U}{B}{R}{G}:name(Pay 5 colors and zerocast) name(Pay 5 colors and zerocast) zerocast]))
text=You may pay {W}{U}{B}{R}{G} rather than pay the mana cost for spells that you cast.
mana={3}
type=Artifact
[/card]
[card]
name=Fists of Flame
target=creature
auto=draw:1
auto=thisforeach(variable{pdrewcount}>0) 1/1 ueot && trample ueot
text=Draw a card. Until end of turn, target creature gains trample and gets +1/+0 for each card you've drawn this turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Five-Finger Discount
target=*[-land]|battlefield
auto=moveto(myhand) and!( transforms((,newability[anytypeofmana])) forever)!
text=Put target nonland permanent into your hand. You may spend mana as though it were mana of any color the next time you cast that card.
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Flaccify
target=*|stack
auto=transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
text=Counter target spell unless its controller pays {3}.
mana={2}{U}
type=Instant
[/card]
[card]
name=Flailing Manticore
abilities=flying,first strike
auto={1}:1/1 ueot
auto={1}:-1/-1 ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 1) pay[[{1}]] name(Pay 1) -1/-1 notatarget(Flailing Manticore|opponentBattlefield)ueot?donothing!$ opponent])) forever
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 1) pay[[{1}]] name(Pay 1) 1/1 notatarget(Flailing Manticore|opponentBattlefield)ueot?donothing!$ opponent])) forever
text=Flying, first strike -- {1}: Flailing Manticore gets +1/+1 until end of turn. Any player may activate this ability. -- {1}: Flailing Manticore gets -1/-1 until end of turn. Any player may activate this ability.
mana={3}{R}
type=Creature
subtype=Manticore
power=3
toughness=3
[/card]
[card]
name=Flailing Ogre
auto={1}:1/1 ueot
auto={1}:-1/-1 ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 1) pay[[{1}]] name(Pay 1) -1/-1 notatarget(Flailing Ogre|opponentBattlefield)ueot?donothing!$ opponent])) forever
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 1) pay[[{1}]] name(Pay 1) 1/1 notatarget(Flailing Ogre|opponentBattlefield)ueot?donothing!$ opponent])) forever
text={1}: Flailing Ogre gets +1/+1 until end of turn. Any player may activate this ability. -- {1}: Flailing Ogre gets -1/-1 until end of turn. Any player may activate this ability.
mana={2}{R}
type=Creature
subtype=Ogre
power=3
toughness=3
[/card]
[card]
name=Flailing Soldier
auto={1}:1/1 ueot
auto={1}:-1/-1 ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 1) pay[[{1}]] name(Pay 1) -1/-1 notatarget(Flailing Soldier|opponentBattlefield)ueot?donothing!$ opponent])) forever
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 1) pay[[{1}]] name(Pay 1) 1/1 notatarget(Flailing Soldier|opponentBattlefield)ueot?donothing!$ opponent])) forever
text={1}: Flailing Soldier gets +1/+1 until end of turn. Any player may activate this ability. -- {1}: Flailing Soldier gets -1/-1 until end of turn. Any player may activate this ability.
mana={R}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Flame Blitz
abilities=cycling
autohand=__CYCLING__({2})
auto=@each my endofturn:damage:5 all(planeswalker)
text=At the beginning of your end step, Flame Blitz deals 5 damage to each planeswalker. -- Cycling {2} ({2} , Discard this card: Draw a card.)
mana={R}
type=Enchantment
[/card]
[card]
name=Flame Channeler
backside=Embodiment of Flame
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@damaged(this) from(*|myzones):name(Transform Embodiment of Flame) flip(backside) 
text=When a spell you control deals damage, transform Flame Channeler. // Embodiment of Flame
mana={1}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Flame Spill
target=creature
auto=transforms((,newability[this(toughness=1) damage:1 && damage:3 targetController])) oneshot
auto=transforms((,newability[auto=this(toughness=2) damage:2 && damage:2 targetController])) oneshot
auto=transforms((,newability[auto=this(toughness=3) damage:3 && damage:1 targetController])) oneshot
auto=transforms((,newability[auto=this(toughness>=4) damage:4])) oneshot
text=Flame Spill deals 4 damage to target creature. Excess damage is dealt to that creature's controller instead.
mana={2}{R}
type=Instant
[/card]
[card]
name=Flame Sweep
auto=damage:2 all(creature|opponentbattlefield)
auto=damage:2 all(creature[-flying]|mybattlefield)
text=Flame Sweep deals 2 damage to each creature except for creatures you control with flying.
mana={2}{R}
type=Instant
[/card]
[card]
name=Flame-Wreathed Phoenix
abilities=flying
auto=all(this) flipacoin winability counter(0/0,1,TributeUnpaid) winabilityend loseability counter(1/1,2) loseabilityend flipend
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:all(this) transforms((,newability[counter(0/0.-1.TributeUnpaid)],newability[haste],newability[handdeath])) forever
text=Flying -- Tribute 2 (As this creature enters the battlefield, an opponent of your choice may place two +1/+1 counters on it.) -- When Flame-Wreathed Phoenix enters the battlefield, if tribute wasn't paid, it gains haste and "When this creature dies, return it to its owner's hand."
mana={2}{R}{R}
type=Creature
subtype=Phoenix
power=3
toughness=3
[/card]
[card]
name=Flameblade Adept
abilities=menace
auto=@movedto(*|mygraveyard) from(myhand):1/0 ueot
text=Menace -- Whenever you cycle or discard a card, Flameblade Adept gets +1/+0 until end of turn.
mana={R}
type=Creature
subtype=Jackal Warrior
power=1
toughness=2
[/card]
[card]
name=Flamekin Bladewhirl
otherrestriction=type(*[elemental]|myhand)~lessthan~2
other={3}{R}
restriction=type(*[elemental]|myhand)~morethan~1
text=As an additional cost to cast Flamekin Bladewhirl, reveal an Elemental card from your hand or pay {3}.
mana={R}
type=Creature
subtype=Elemental Warrior
power=2
toughness=1
[/card]
[card]
name=Flamekin Herald
auto=@movedto(*[iscommander]|mystack):all(trigger[to]) transforms((,newability[activate choice cascade:plibrarycount])) oneshot
text=Commander spells you cast have cascade. (Whenever you cast a commander, exile cards from the top of your library until you exile a nonland card with lesser converted mana cost. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={2}{R}
type=Creature
subtype=Elemental Wizard
power=3
toughness=2
[/card]
[card]
name=Flamerush Rider
other={2}{R}{R} name(Dash)
auto=if paid(alternative) then transforms((,newability[haste],newability[phaseaction[endofturn sourceinplay] moveto(ownerhand)]))ueot
auto=_ATTACKING_target(other creature[attacking]) clone with(unearth,battleready)
text=Whenever Flamerush Rider attacks, create a token that's a copy of another target attacking creature and that's tapped and attacking. Exile the token at end of combat. -- Dash {2}{R}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.)
mana={4}{R}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Flames of the Blood Hand
#MISSING:damage can't be prevented
auto=choice name(Damage opponent) damage:4 opponent && all(*|mybattlefield) transforms((,newability[nolifegainopponent])) ueot && all(*|opponentbattlefield) transforms((,newability[nolifegain])) ueot
auto=choice name(Damage yourself) damage:4 controller && all(*|mybattlefield) transforms((,newability[nolifegain])) ueot && all(*|opponentbattlefield) transforms((,newability[nolifegainopponent])) ueot
text=Flames of the Blood Hand deals 4 damage to target player. The damage can't be prevented. If that player would gain life this turn, that player gains no life instead.
mana={2}{R}
type=Instant
[/card]
[card]
name=Flames of the Raze-Boar
target=creature|opponentBattlefield
auto=damage:4
auto=if type(creature[power>3]|mybattlefield)~morethan~0 then damage:2 all(creature|opponentBattlefield)
text=Flames of the Raze-Boar deals 4 damage to target creature an opponent controls. Then Flames of the Raze-Boar deals 2 damage to each other creature that player controls if you control a creature with power 4 or greater.
mana={5}{R}
type=Instant
[/card]
[card]
name=Flamescroll Celebrant
#MISSING:opponent activates an ability
abilities=flash
other={W}{W} name(Revel in Silence)
otherrestriction=compare(isflipped)~equalto~1
restriction=can play creature,compare(isflipped)~equalto~0
anyzone={0}:doubleside(Revel in Silence)
autostack=if paid(alternative) then transforms((,newability[moveto(myexile)],newability[activate castcard(copied named!:revel in silence:!)])) forever
auto={1}{R}:2/0 ueot
text=Whenever an opponent activates an ability that isn't a mana ability, Flamescroll Celebrant deals 1 damage to that player. -- {1}{R}: Flamescroll Celebrant gets +2/+0 until end of turn. // {W}{W} Revel in Silence
mana={1}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=1
[/card]
[card]
name=Flameshot
other={D(mountain|myHand)} name(Discard a Mountain)
auto=thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature) damage:1!$ controller
text=You may discard a Mountain card rather than pay this spell's mana cost. -- Flameshot deals 3 damage divided as you choose among one, two, or three target creatures.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Flameskull
abilities=cantblock,flying
auto=_DIES_name(Rejuvenation) transforms((,newability[all(creature[-token;fresh:zpos=type:*:mygraveyard]|mygraveyard) moveto(exile) and!( transforms((,newability[phaseaction[my endofturn once next checkex] removeallcounters(0/0.1.FlameskullExiled)],newability[this(counter{0/0.1.FlameskullExiled}>0) canplayfromexile],newability[counter(0/0.1.FlameskullExiled)],newability[all(*[zpos=1]|mylibrary) moveTo(myexile) and!( transforms((,newability[counter(0/0.1.FlameskullExiled)],newability[this(counter{0/0.1.FlameskullExiled}>0) canplayfromexile],newability[@each untap restriction{compare(hascntflameskullexiled)~equalto~0}:-canplayfromexile],newability[@each untap restriction{compare(hascntflameskullexiled)~morethan~0}:canplayfromexile],newability[phaseaction[my endofturn once next checkex] removeallcounters(0/0.1.FlameskullExiled)],newability[@movedto(this|mystack) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) removeallcounters(0/0.1.FlameskullExiled)],newability[@movedto(this|mybattlefield) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) removeallcounters(0/0.1.FlameskullExiled)])) forever )!])) forever )!])) forever
autoexile=@movedto(*[counter{0/0.1.FlameskullExiled}]|mystack) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) transforms((,newability[removeallcounters(0/0.1.FlameskullExiled)],newability[-canplayfromexile])) oneshot
autoexile=@movedto(land[counter{0/0.1.FlameskullExiled}]|mybattlefield) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) transforms((,newability[removeallcounters(0/0.1.FlameskullExiled)],newability[-canplayfromexile])) oneshot
text=Flying -- Flameskull can't block. -- Rejuvenation - When Flameskull dies, exile it. If you do, exile the top card of your library. Until the end of your next turn, you may play one of those cards. (If you cast Flameskull this way, you can't play the other card, and vice versa.)
mana={1}{R}{R}
type=Creature
subtype=Skeleton
power=3
toughness=1
[/card]
[card]
name=Flamespeaker Adept
auto=@scryed(*|mybattlefield,mystack):all(this) transforms((,newability[2/0],newability[first strike])) ueot
text=Whenever you scry, Flamespeaker Adept gets +2/+0 and gains first strike until end of turn.
mana={2}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=3
[/card]
[card]
name=Flamethrower Sonata
abilities=doublefacedeath
auto=name(Discard and draw) target(*|myhand) transforms((,newability[reject],newability[draw:1 controller],newability[if cantargetcard(*[instant;sorcery]|*) then name(Damage creature or planeswalker) name(Damage creature or planeswalker) damage:manacost target(*[creature;planeswalker]|opponentbattlefield)])) oneshot
text=Discard a card, then draw a card. When you discard an instant or sorcery card this way, Flamethrower Sonata deals damage equal to that card's mana value to target creature or planeswalker you don't control. // {2}{U}{U} Torrent Sculptor
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Flametongue Yearling
kicker=multi{2}
auto=counter(1/1,kicked)
auto=damage:power target(creature)
text=Multikicker {2} (You may pay an additional 2 any number of times as you cast this spell.) -- Flametongue Yearling enters the battlefield with a +1/+1 counter on it for each time it was kicked. -- When Flametongue Yearling enters the battlefield, it deals damage equal to its power to target creature.
mana={R}{R}
type=Creature
subtype=Kavu
power=2
toughness=1
[/card]
[card]
name=Flaming Gambit
target=player
flashback={X}{R}{R}
auto=if type(creature|targetedpersonsbattlefield)~equalto~0 then damage:x
auto=if type(creature|targetedpersonsbattlefield)~morethan~0 then ability$!name(Choose one) choice name(Damage player) damage:storedx controller _ choice name(Damage creature) damage:storedx target(creature|mybattlefield)!$ targetedPlayer
text=Flaming Gambit deals X damage to target player. That player may choose a creature he or she controls and have Flaming Gambit deal that damage to it instead. -- Flashback {X}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={X}{R}
type=Instant
[/card]
[card]
name=Flare of Faith
target=creature
auto=2/2 ueot
auto=if cantargetcard(*[human]|*) then transforms((,newability[1/1],newability[indestructible])) ueot
text=Target creature gets +2/+2 until end of turn. If it is a Human, it gets +3/+3 and gains indestructible until end of turn instead.
mana={1}{W}
type=Instant
[/card]
[card]
name=Flash Foliage
restriction=blockersonly
auto=token(Saproling,Creature Saproling,1/1,green) and!(transforms((,newability[mustblock])) ueot)!
auto=draw:1 controller
text=Cast Flash Foliage only during combat after blockers are declared. -- Put a 1/1 green Saproling creature token onto the battlefield blocking target creature attacking you.  -- Draw a card.
mana={2}{G}
type=Instant
[/card]
[card]
name=Flawless Maneuver
auto=all(creature|myBattlefield) indestructible ueot
other={0} name(Cast without Paying its Mana Cost)
otherrestriction=type(*[iscommander|mybattlefield)~morethan~0
text=If you control a commander, you may cast this spell without paying its mana cost. -- Creatures you control gain indestructible until end of turn.
mana={2}{W}
type=Instant
[/card]
[card]
name=Flaxen Intruder // Welcome Home
abilities=adventure
other={5}{G}{G} name(Adventure)
auto=if paid(alternative) then name(Create 3 Bears)  name(Create 3 Bears) token(Bear,Creature Bear,2/2,green)*3
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=@combatdamaged(player) from(this):may sacrifice all(this) && destroy target(*[artifact;enchantment]|battlefield)
text=Whenever Flaxen Intruder deals combat damage to a player, you may sacrifice it. When you do, destroy target artifact or enchantment. // Create three 2/2 green Bear creature tokens. (Then exile this card. You may cast the creature later from exile.)
mana={G} 
type=Creature
subtype=Human Berserker
power=1
toughness=2
[/card]
[card]
name=Flay Essence
auto=choice name(Exile opponent's creature or planeswalker) target(*[creature;planeswalker]|opponentbattlefield) transforms((,newability[life:hascntanycnt opponent],newability[moveto(exile)])) forever
auto=choice name(Exile your creature or planeswalker) target(*[creature;planeswalker]|mybattlefield) transforms((,newability[life:hascntanycnt controller],newability[moveto(exile)])) forever
text=Exile target creature or planeswalker. You gain life equal to the number of counters on it.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Fleet Swallower
auto=_ATTACKING_target(player) deplete:halfdowntype:*:targetedpersonslibrary
text=Whenever Fleet Swallower attacks, target player puts the top half of his or her library, rounded up, into his or her graveyard.
mana={5}{U}{U}
type=Creature
subtype=Fish
power=6
toughness=6
[/card]
[card]
name=Flesh // Blood
target=creature
abilities=hasnokicker
other={R}{G} name(Blood)
kicker={R}{G} name(Fuse)
otherrestriction=type(creature|myBattlefield)~morethan~0
auto=if paid(alternative) then transforms((,newability[name(Deal damage) damage:power target(player^creature)])) forever
auto=if paid(kicker) then ability$!name(Creature deals damage) name(Creature deals damage) target(creature|myBattlefield) transforms((,newability[name(Deal damage) damage:power target(player^creature)])) forever!$ controller
auto=ifnot paid(alternative) then counter(1/1,storedpower)
text=Exile target creature card from a graveyard. Put X +1/+1 counters on target creature, where X is the power of the card you exiled. // Target creature you control deals damage equal to its power to target creature or player. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={3}{B}{G}{E(creature|graveyard)}
type=Sorcery
[/card]
[card]
name=Fleshtaker
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@sacrificed(other creature|myBattlefield):name(Gain life and scry) life:1 controller && scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={1}{S(other creature|myBattlefield)}:name(Gets 2/2) 2/2 ueot
text=Whenever you sacrifice another creature, you gain 1 life and scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {1}, Sacrifice another creature: Fleshtaker gets +2/+2 until end of turn.
type=Creature
subtype=Human Assassin
mana={W}{B}
power=2
toughness=2
[/card]
[card]
name=Flicker of Fate
target=creature,enchantment|mybattlefield
auto=(blink)
text=Exile target creature or enchantment, then return it to the battlefield under its owner's control.
mana={1}{W}
type=Instant
[/card]
[card]
name=Flight of Equenauts
abilities=flying
other={convoke} name(Convoke)
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Flying
mana={7}{W}
type=Creature
subtype=Human Knight
power=4
toughness=5
[/card]
[card]
name=Flip the Switch
target=*|stack
auto=transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=token(Zombie Dec)
text=Counter target spell unless its controller pays {4}. Create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Flood of Recollection
target=instant,sorcery|mygraveyard
auto=moveto(ownerHand)
auto=exile all(this)
text=Return target instant or sorcery card from your graveyard to your hand. Exile Flood of Recollection.
mana={U}{U}
type=Sorcery
[/card]
[card]
name=Flood of Tears
auto=moveTo(ownerhand) all(*[-land]) 
auto=if type(*[-token;-instant;-sorcery]|myHand)~morethan~3 then may moveTo(myBattlefield) target(*[-instant;-sorcery]|myHand)
text=Return all nonland permanents to their owners' hands. If you return four or more nontoken permanents you control this way, you may put a permanent card from your hand onto the battlefield.
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Floodhound
auto={3}{T}:name(Investigate) name(Create clue) token(Clue) controller
text={3}, {T}: Investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.")
mana={U}
type=Creature
subtype=Elemental Dog
power=1
toughness=2
[/card]
[card]
name=Floodwaters
abilities=cycling
target=<upto:2>creature
auto=moveto(ownerhand)
autohand=__CYCLING__({2})
text=Return up to two target creatures to their owners' hands. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Florian, Voldaren Scion
abilities=first strike
aicode=activate target(*[zpos<=oplifelost]|mylibrary) moveto(myhand) and!( transforms((,newability[canplayfromexile],newability[all(*[zpos<=oplifelost]|myLibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot )!
auto=@each my secondmain restriction{compare(oplifelost)~morethan~0}:name(Look top card) reveal:oplifelost optionone name(Exile 1 card) target(*|reveal) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|myreveal) bottomoflibrary )! optiontwoend revealend
text=First strike -- At the beginning of your postcombat main phase, look at the top X cards of your library, where X is the total amount of life your opponents lost this turn. Exile one of those cards and put the rest on the bottom of your library in a random order. You may play the exiled card this turn.
type=Legendary Creature
subtype=Vampire Noble
mana={1}{B}{R}
power=3
toughness=3
[/card]
[card]
name=Flourishing Fox
abilities=cycling
auto=@cycled(*|myHand):all(this) counter(1/1,1)
autohand=__CYCLING__({1})
text=Whenever you cycle another card, put a +1/+1 counter on Flourishing Fox. -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={W}
type=Creature
subtype=Fox
power=1
toughness=1
[/card]
[card]
name=Flourishing Strike
other={2}{G} name(Entwine)
auto=ifnot paid(alternative) then choice name(Deal 5 damage) name(Deal 5 damage) target(creature[flying]|battlefield) damage:5
auto=ifnot paid(alternative) then choice name(Creature gets 3/3) name(Creature gets 3/3) target(creature) transforms((,newability[3/3])) ueot
auto=if paid(alternative) then choice name(Creature gets 3/3) name(Creature gets 3/3) target(creature) transforms((,newability[3/3],newability[name(Deal 5 damage) target(creature[flying]|battlefield) damage:5])) ueot
text=Choose one -- Flourishing Strike deals 5 damage to target creature with flying. -- Target creature gets +3/+3 until end of turn. -- Entwine {2}{G} (Choose both if you pay the entwine cost.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Flower // Flourish
other={4}{G}{W} name(Flourish)
auto=if paid(alternative) then all(creature|mybattlefield) 2/2 ueot
auto=ifnot paid(alternative) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[basic;forest;plains]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Search your library for a basic Forest or Plains card, reveal it, put it into your hand, then shuffle your library. -- Creatures you control get +2/+2 until end of turn.
mana={GW}
type=Sorcery
[/card]
[card]
name=Fluctuator
auto=lord(*[cycling]|mycastingzone) altercost(colorless,-2)
text=Cycling abilities you activate cost up to {2} less to activate.
mana={2}
type=Artifact
[/card]
[card]
name=Flummoxed Cyclops
abilities=reach
auto=@each my blockers restriction{type(creature[attacking]|opponentBattlefield)~morethan~1}:cantblock ueot
text=Reach -- Whenever two or more creatures your opponents control attack, Flummoxed Cyclops can't block this combat.
mana={3}{R}
type=Creature
subtype=Cyclops
power=4
toughness=4
[/card]
[card]
name=Flumph
abilities=defender,flying
auto=_ENRAGE_name(Draw a card) draw:1 controller && draw:1 opponent
text=Defender, flying -- Whenever Flumph is dealt damage, you and target opponent each draw a card.
mana={1}{W}
type=Creature
subtype=Jellyfish
power=0
toughness=4
[/card]
[card]
name=Flunk
target=creature
auto=transforms((,newability[-7minusphandcountminusend/-7minusphandcountminusend ueot])) ueot
text=Target creature gets -X/-X until end of turn, where X is 7 minus the number of cards in that creature's controller's hand.
mana={1}{B}
type=Instant
[/card]
[card]
name=Flusterstorm
abilities=storm
target=*[-creature;-planeswalker;-artifact;-enchantment]|stack
auto=transforms((,newability[pay[[{1}]] name(pay {1} mana) donothing?fizzle])) forever
text=Counter target instant or sorcery spell unless its controller pays {1}. -- Storm (When you cast this spell, copy it for each spell cast before it this turn. You may choose new targets for the copies.)
mana={U}
type=Instant
[/card]
[card]
name=Flutterfox
auto=aslongas(artifact|myBattlefield) flying
auto=aslongas(enchantment|myBattlefield) flying
text=As long as you control an artifact or enchantment, Flutterfox has flying.
mana={1}{W}
type=Creature
subtype=Fox
power=2
toughness=2
[/card]
[card]
name=Flux Channeler
auto=@movedTo(*[-creature]|mystack):_PROLIFERATE_
text=Whenever you cast a noncreature spell, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Fly
target=creature
auto=teach(creature) flying
auto=@combatdamaged(player) from(mytgt) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Enchant creature -- Enchanted creature has flying and "Whenever this creature deals combat damage to a player, venture into the dungeon." (Enter the first room or advance to the next room.)
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Flycatcher Giraffid
auto=this(counter{0/0.1.Vigilance}>=1) vigilance
auto=this(counter{0/0.1.Reach}>=1) reach
auto=choice name(Vigilance counter) counter(0/0,1,Vigilance)
auto=choice name(Reach counter) counter(0/0,1,Reach)
text=Flycatcher Giraffid enters the battlefield with your choice of a vigilance counter or a reach counter on it.
mana={4}{G}
type=Creature
subtype=Antelope Lizard
power=3
toughness=5
[/card]
[card]
name=Fodder Tosser
auto={T}{D(*|myHand)}:name(Deal 2 damage) target(player,planeswalker) damage:2
text={T}, Discard a card: Fodder Tosser deals 2 damage to target player or planeswalker.
mana={3}
type=Artifact
[/card]
[card]
name=Foe-Razer Regent
abilities=flying
auto=@movedTo(this|mybattlefield) from(myHand):all(trigger[to]) transforms((,newability[choice name(Fight target creature you don't control) dynamicability<!powerstrike!> target(creature|opponentBattlefield)])) forever
auto=@lord(creature|mybattlefield) dynamicability<!powerstrike!> target(creature|opponentBattlefield):all(trigger[to]) endofturn:counter(1/1,2)
text=Flying -- When Foe-Razer Regent enters the battlefield, you may have it fight target creature you don't control. -- Whenever a creature you control fights, put two +1/+1 counters on it at the beginning of the next end step.
mana={5}{G}{G}
type=Creature
subtype=Dragon
power=4
toughness=5
[/card]
[card]
name=Folio of Fancies
abilities=nomaxhand,oppnomaxhand
auto={X}{X}{T}:name(Each player draws cards) name(Each player draws cards) draw:XX all(player)
auto={2}{U}{T}:deplete:type:*:opponenthand opponent
text=Players have no maximum hand size. -- {X}{X}, {T}: Each player draws X cards. -- {2}{U}, {T}: Each opponent puts a number of cards equal to the number of cards in their hand from the top of their library into their graveyard.
mana={1}{U}
type=Artifact
[/card]
[card]
name=Font of Agonies
auto=@lifelostof(player):counter(0/0,Blood,thatmuch) all(this)
auto={1}{B}{C(0/0,-4,Blood)}:target(creature) destroy
text=Whenever you pay life, put that many blood counters on Font of Agonies. -- {1}{B}, Remove four blood counters from Font of Agonies: Destroy target creature.
mana={B}
type=Enchantment
[/card]
[card]
name=Food
auto={2}{T}{S}:life:3
text={2}, {T}, Sacrifice this artifact: You gain 3 life.
type=Artifact
subtype=Food
[/card]
[card]
name=Food Chain
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {E(creature|myBattlefield)}:name(Add White) thisforeach(variable{storedmanacostplus1plusend}) add{W}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {E(creature|myBattlefield)}:name(Add Blue) thisforeach(variable{storedmanacostplus1plusend}) add{U}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {E(creature|myBattlefield)}:name(Add Black) thisforeach(variable{storedmanacostplus1plusend}) add{B}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {E(creature|myBattlefield)}:name(Add Red) thisforeach(variable{storedmanacostplus1plusend}) add{R}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {E(creature|myBattlefield)}:name(Add Green) thisforeach(variable{storedmanacostplus1plusend}) add{G}
text=Exile a creature you control: Add X mana of any one color to your mana pool, where X is the exiled creature's converted mana cost plus one. Spend this mana only to cast creature spells.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Footfall Crater
abilities=cycling
target=land
auto=teach(land) transforms((newability[{T}:haste && trample target(creature) ueot]))
autohand=__CYCLING__({1})
text=Enchant land -- Enchanted land has " -- {T}: Target creature gains trample and haste until end of turn." -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Footlight Fiend
auto=_DIES_damage:1 target(player,creature,planeswalker)
text=When Footlight Fiend dies, it deals 1 damage to any target.
mana={BR}
type=Creature
subtype=Devil
power=1
toughness=1
[/card]
[card]
name=Forbidden Friendship
auto=token(Dinosaur For)
auto=token(Human Soldier For)
text=Create a 1/1 red Dinosaur creature token with haste and a 1/1 white Human Soldier creature token.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Forbidden Ritual
target=<anyamount>*[-token]|myBattlefield
auto=transforms((,newability[sacrifice],newability[if type(*|opponentbattlefield)~morethan~0 then if type(*|opponenthand)~morethan~0 then ability$!name(Choose one) choice name(Pay 2 life) life:-2 controller _ choice name(Discard a card) notarget(*|myhand) reject _ choice name(Sacrifice a permanent) notarget(*|myBattlefield) sacrifice!$ opponent],newability[if type(*|opponentbattlefield)~morethan~0 then if type(*|opponenthand)~equalto~0 then ability$!name(Choose one) choice name(Pay 2 life) life:-2 controller _ choice name(Sacrifice a permanent) notarget(*|myBattlefield) sacrifice!$ opponent],newability[if type(*|opponentbattlefield)~equalto~0 then if type(*|opponenthand)~morethan~0 then ability$!name(Choose one) choice name(Pay 2 life) life:-2 controller _ choice name(Discard a card) notarget(*|myhand) reject!$ opponent],newability[if type(*|opponentbattlefield)~equalto~0 then if type(*|opponenthand)~equalto~0 then life:-2 opponent])) oneshot
text=Sacrifice a nontoken permanent. If you do, target opponent loses 2 life unless he or she sacrifices a permanent or discards a card. You may repeat this process any number of times.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Forbidding Spirit
auto=all(creature|opponentbattlefield) transforms((,newability[attackcost:2])) uynt
text=When Forbidding Spirit enters the battlefield, until your next turn, creatures can't attack you or a planeswalker you control unless their controller pays 2 for each of those creatures.
mana={1}{W}{W}
type=Creature
subtype=Spirit Cleric
power=3
toughness=3
[/card]
[card]
name=Force of Despair
other={E(*[black]|myhand)}
otherrestriction=opponentturnonly
auto=destroy all(creature[fresh])
text=If it's not your turn, you may exile a black card from your hand rather than pay this spell's mana cost. -- Destroy all creatures that entered the battlefield this turn.
mana={1}{B}{B}
type=Instant
[/card]
[card]
name=Force of Negation
target=*[-creature]|stack
other={E(other *[blue]|myhand)} name(Exile a Blue Card from Hand)
otherrestriction=opponentturnonly
auto=fizzleto(exile)
text=If it's not your turn, you may exile a blue card from your hand rather than pay this spell's mana cost. -- Counter target noncreature spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Force of Rage
other={E(other *[red]|myhand)} name(Exile a Red Card from Hand)
otherrestriction=opponentturnonly
auto=token(Elemental,Creature Elemental,3/1,red,haste,trample)*2 and!( transforms((,newability[@each my upkeep:name(Sacrifice elemental token) sacrifice])) forever )!
text=If it's not your turn, you may exile a red card from your hand rather than pay this spell's mana cost. -- Create two 3/1 red Elemental creature tokens with trample and haste. Sacrifice those tokens at the beginning of your next upkeep.
mana={1}{R}{R}
type=Instant
[/card]
[card]
name=Force of Vigor
target=<upto:2>*[artifact;enchantment]
other={E(*[green]|myhand)} name(Exile a Green Card from Hand)
otherrestriction=opponentturnonly
auto=destroy
text=If it's not your turn, you may exile a green card from your hand rather than pay this spell's mana cost. -- Destroy up to two target artifacts and/or enchantments.
mana={2}{G}{G}
type=Instant
[/card]
[card]
name=Force of Virtue
abilities=flash
other={E(*[white]|myhand)} name(Exile a White Card from Hand)
otherrestriction=opponentturnonly
auto=lord(creature|myBattlefield) 1/1
text=If it's not your turn, you may exile a white card from your hand rather than pay this spell's mana cost. -- Flash -- Creatures you control get +1/+1.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Forced Landing
target=creature[flying]
auto=bottomoflibrary
text=Put target creature with flying on the bottom of its owner's library.
mana={1}{G}
type=Instant
[/card]
[card]
name=Forceful Denial
target=*|stack
auto=fizzle
autostack=if casted(this) then cascade:plibrarycount
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- Counter target spell.
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Forebear's Blade
auto=teach(creature) +3/+0
auto=teach(creature) vigilance
auto=teach(creature) trample
auto=@movedto(mytgt|graveyard):rehook target(creature|mybattlefield)
auto={3}:equip
text=Equipped creature gets +3/+0 and has vigilance and trample. -- Whenever equipped creature dies, attach Forebear's Blade to target creature you control. -- Equip {3}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Foreboding Fruit
target=player
auto=draw:2 && life:-2
auto=if casted(this) then if spent({B}{B}{B}) then token(Food) controller
text=Target player draws two cards and loses 2 life. -- Adamant - If at least three black mana was spent to cast this spell, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Forerunner of the Coalition
auto=name(Search your library for a Pirate) name(Search your library for a Pirate) target(pirate|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
auto=@movedTo(other pirate|myBattlefield):life:-1 opponent
text=When Forerunner of the Coalition enters the battlefield, you may search your library for a Pirate card, reveal it, then shuffle your library and put that card on top of it. -- Whenever another Pirate enters the battlefield under your control, each opponent loses 1 life.
mana={2}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Forerunner of the Empire
auto=name(Search your library for a Dinosaur) name(Search your library for a Dinosaur) target(dinosaur|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
auto=@movedTo(dinosaur|myBattlefield):may name(Damage all creatures) name(Damage all creatures) all(creature|battlefield) damage:1
text=When Forerunner of the Empire enters the battlefield, you may search your library for a Dinosaur card, reveal it, then shuffle your library and put that card on top of it. -- Whenever a Dinosaur enters the battlefield under your control, you may have Forerunner of the Empire deal 1 damage to each creature.
mana={3}{R}
type=Creature
subtype=Human Soldier
power=1
toughness=3
[/card]
[card]
name=Forerunner of the Heralds
auto=name(Search your library for a Merfolk) name(Search your library for a Merfolk) target(merfolk|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
auto=@movedTo(other merfolk|myBattlefield):counter(1/1)
text=When Forerunner of the Heralds enters the battlefield, you may search your library for a Merfolk card, reveal it, then shuffle your library and put that card on top of it. -- Whenever another Merfolk enters the battlefield under your control, put a +1/+1 counter on Forerunner of the Heralds.
mana={3}{G}
type=Creature
subtype=Merfolk Scout
power=3
toughness=2
[/card]
[card]
name=Forerunner of the Legion
aicode=activate target(vampire|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))!
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(vampire|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=@movedTo(other creature[vampire]|mybattlefield): target(creature) 1/1 ueot
text=When Forerunner of the Legion enters the battlefield, you may search your library for a Vampire card, reveal it, then shuffle your library and put that card on top of it. -- Whenever another Vampire enters the battlefield under your control, target creature gets +1/+1 until end of turn.
mana={2}{W}
type=Creature
subtype=Vampire Knight
power=2
toughness=2
[/card]
[card]
name=Foreshadow
auto=chooseanameopp name(Mill opponent) all(*[zpos=1]|opponentLibrary) moveto(opponentGraveyard) and!( if cantargetcard(*[chosenname]|*) then draw:1 controller )! chooseend
auto=@next upkeep:draw:1 controller
text=Name a card, then put the top card of target opponent's library into his or her graveyard. If that card is the named card, you draw a card. -- Draw a card at the beginning of the next turn's upkeep.
mana={1}{U}
type=Instant
[/card]
[card]
name=Forever Young
target=<anyamount>creature|mygraveyard
auto=moveTo(mylibrary)
auto=draw:1 controller
text=Put any number of target creature cards from your graveyard on top of your library. -- Draw a card.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Forge of Heroes
auto={T}:add{C}
auto={T} restriction{type(creature[iscommander;fresh]|mybattlefield)~morethan~0}:name(Add 1/1 counter to Commander) target(creature[iscommander;fresh]|mybattlefield) counter(1/1)
auto={T} restriction{type(planeswalker[iscommander;fresh]|mybattlefield)~morethan~0}:name(Add loyalty counter to Commander) target(planeswalker[iscommander;fresh]|mybattlefield) counter(0/0,1,Loyalty)
text={T}: Add {C}. -- {T}: Choose target commander that entered the battlefield this turn. Put a +1/+1 counter on it if it's a creature and a loyalty counter on it if it's a planeswalker.
type=Land
[/card]
[card]
name=Forging the Tyrite Sword
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=token(Treasure Sur)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) token(Treasure Sur)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Search library) target(equipment,Halvar^ God of Battle|mylibrary) moveTo(myhand) and!( shuffle )!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Create a Treasure token. -- III - Search your library for a card named Halvar, God of Battle or an Equipment card, reveal it, put it into your hand, then shuffle your library.
mana={1}{R}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Forgotten Sentinel
auto=tap(noevent)
text=Forgotten Sentinel enters the battlefield tapped.
mana={4}
type=Artifact Creature
subtype=Golem
power=4
toughness=3
[/card]
[card]
name=Foriysian Brigade
text=Foriysian Brigade can block an additional creature.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=4
[/card]
[card]
name=Foriysian Interceptor
abilities=flash,defender
text=Flash (You may cast this spell any time you could cast an instant.) -- Defender -- Foriysian Interceptor can block an additional creature.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=0
toughness=5
[/card]
[card]
name=Foriysian Totem
auto={T}:add{R}
auto={4}{R}:transforms((Giant Artifact Creature,setpower=4,settoughness=4,red,trample)) ueot all(this)
text={T}: Add {R} to your mana pool. -- {4}{R}: Foriysian Totem becomes a 4/4 red Giant artifact creature with trample until end of turn. -- As long as Foriysian Totem is a creature, it can block an additional creature.
mana={3}
type=Artifact
[/card]
[card]
name=Forked Lightning
target=creature
auto=damage:2
auto=thisforeach(variable{2}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature) damage:1!$ controller
text=Forked Lightning deals 4 damage divided as you choose among one, two, or three target creatures.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Form of the Dinosaur
auto=lifeset:15 controller
auto=@each my upkeep:target(creature|opponentbattlefield) transforms((,newability[dynamicability<!powerstrike targetopponent!>],newability[damage:15])) oneshot
text=When Form of the Dinosaur enters the battlefield, your life total becomes 15. -- At the beginning of your upkeep, Form of the Dinosaur deals 15 damage to target creature an opponent controls and that creature deals damage equal to its power to you.
mana={4}{R}{R}
type=Enchantment
[/card]
[card]
name=Forsake the Worldly
abilities=cycling
target=artifact,enchantment
auto=moveto(exile)
autohand=__CYCLING__({2})
text=Exile target artifact or enchantment. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Forsaken Monument
auto=lord(creature[colorless]|myBattlefield) 2/2
auto=@tappedformana(*[-basic;colorless]|myBattlefield):add{C}
auto=@movedTo(*[colorless]|myStack):life:2 controller
text=Colorless creatures you control get +2/+2. -- Whenever you tap a permanent for {C}, add an additional {C}. -- Whenever you cast a colorless spell, you gain 2 life.
type=Legendary Artifact
mana={5}
[/card]
[card]
name=Forsworn Paladin
abilities=menace
auto={1}{B}{L:1}{T}:name(Create treasure) token(Treasure Sur)
auto={2}{B}:name(Pay without treasure) target(creature) 2/0 ueot
auto={2}{S(treasure[-tapped]|mybattlefield)}:name(Pay with treasure) target(creature) transforms((,newability[2/0],newability[deathtouch])) ueot
text=Menace -- {1}{B}, {T}, Pay 1 life: Create a Treasure token. -- {2}{B}: Target creature get +2/+0 until end of turn. If mana from a Treasure was spent to activate this ability, that creature also gains deathtouch until end of turn.
mana={B}
type=Creature
subtype=Human Knight
power=1
toughness=1
[/card]
[card]
name=Fortifying Draught
auto=life:2 controller
auto=target(creature) lifegain/lifegain ueot
text=You gain 2 life. Target creature gets +X/+X until end of turn, where X is the amount of life you gained this turn.
mana={G}
type=Instant
[/card]
[card]
name=Fortifying Provisions
auto=lord(creature|myBattlefield) 0/1
auto=token(Food)
text=Creatures you control get +0/+1. -- When Fortifying Provisions enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Fortuitous Find
target=*[artifact;creature]|mygraveyard
auto=choice name(Return target artifact or creature) moveto(myhand)
auto=choice name(Return target artifact and creature) moveto(myhand) && moveto(myhand) target(*[artifact;creature]|mygraveyard)
text=Choose one or both -- Return target artifact card from your graveyard to your hand. -- Return target creature card from your graveyard to your hand.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Fortunate Few
auto=ability$!name(Destroy all non-land permanents except one) name(Destroy all non-land permanents except one) target(<type:*[-land]:opponentbattlefieldminus1minusend>*[-land]|opponentbattlefield) destroy!$ controller
auto=ability$!name(Destroy all non-land permanents except one) name(Destroy all non-land permanents except one) target(<type:*[-land]:opponentbattlefieldminus1minusend>*[-land]|opponentbattlefield) destroy!$ opponent
text=Choose a nonland permanent you don't control, then each other player chooses a nonland permanent they don't control that hasn't been chosen this way. Destroy all other nonland permanents.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Foul Play
target=creature[power<=2]
auto=destroy
auto=token(Clue)
text=Destroy target creature with power 2 or less. Investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.")
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Foul Watcher
abilities=flying
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
auto=while(restriction{delirium}) 1/0
text=Flying -- When Foul Watcher enters the battlefield, surveil 1. (Look at the top card of your library. You may put that card into your graveyard.) -- Delirium - Foul Watcher gets +1/+0 as long as there are four or more card types among cards in your graveyard.
mana={1}{U}
type=Creature
subtype=Nightmare Bird
power=1
toughness=2
[/card]
[card]
name=Foulmire Knight // Profane Insight
abilities=deathtouch,adventure,asflash
restriction=can play creature
other={2}{B} name(Adventure)
auto=if paid(alternative) then name(Draw 1 and opponent looses 1 life) name(Draw 1 and opponent looses 1 life) draw:1 controller && life:-1 controller
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Deathtouch // You draw a card and you lose 1 life. (Then exile this card. You may cast the creature later from exile.)
mana={B}
type=Creature
subtype=Zombie Knight
power=1
toughness=1
[/card]
[card]
name=Foundation Breaker
other={1}{G} name(Evoke)
auto=if paid(alternative) then sacrifice
auto=may name(Destroy artifact or enchantment) target(*[artifact;enchantment]|battlefield) destroy
text=When Foundation Breaker enters the battlefield, you may destroy target artifact or enchantment. -- Evoke {1}{G} (You may cast this spell for its evoke cost. If you do, it's sacrificed when it enters the battlefield.)
mana={3}{G}
type=Creature
subtype=Elemental
power=2
toughness=2
[/card]
[card]
name=Foundry Helix
target=player,creature,planeswalker
other={1}{R}{W}{S(artifact|myBattlefield)} name(Sacrifice an artifact)
otherrestriction=type(artifact|myBattlefield)~morethan~0
restriction=type(*[-artifact]|myBattlefield)~morethan~0
auto=damage:4
auto=if paid(alternative) then life:4 controller
text=As an additional cost to cast this spell, sacrifice a permanent. -- Foundry Helix deals 4 damage to any target. If the sacrificed permanent was an artifact, you gain 4 life.
mana={1}{R}{W}{S(*[-artifact]|myBattlefield)}
type=Instant
[/card]
[card]
name=Fountain of Ichor
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
auto={3}:transforms((Dinosaur Artifact Creature,setpower=3,settoughness=3)) ueot
text={T}: Add one mana of any color. -- {3}: Fountain of Ichor becomes a 3/3 Dinosaur artifact creature until end of turn.
mana={3}
type=Artifact
[/card]
[card]
name=Fountain of Renewal
auto=@each my upkeep:life:1
auto={3}{S}:draw:1
text=At the beginning of your upkeep, you gain 1 life. -- {3}, Sacrifice Fountain of Renewal: Draw a card.
mana={1}
type=Artifact
[/card]
[card]
name=Fowl Play
target=creature
auto=teach(creature) loseabilities
auto=teach(creature) transforms((,setpower=1,settoughness=1))
auto=teach(creature) transforms((Chicken))
text=Enchanted creature loses all abilities and is a 1/1 creature that counts as a Chicken.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Fractal Harness
auto={2}:equip
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.x) )!
auto=name(Attach to fractal) rehook target(fractal[token;fresh;counter{1/1}]|mybattlefield)
auto=transforms((,newability[_ATTACKING_thisforeach(counter{1/1.1}) counter(1/1) all(this)]))
text=When Fractal Harness enters the battlefield, create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it and attach Fractal Harness to it. -- Whenever equipped creature attacks, double the number of +1/+1 counters on it. -- Equip {2}
mana={X}{2}{G}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Fractal Summoning
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.x) )!
text=Create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it.
mana={X}{GU}{GU}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Fracture
target=artifact,enchantment,planeswalker
auto=destroy
text=Destroy target artifact, enchantment, or planeswalker.
mana={W}{B}
type=Instant
[/card]
[card]
name=Fractured Identity
target=*[-land]
auto=moveto(exile)
auto=clone
text=Exile target nonland permanent. Each player other than its controller creates a token that's a copy of it.
mana={3}{W}{U}
type=Sorcery
[/card]
[card]
name=Fractured Sanity
auto=deplete:14 opponent
abilities=cycling
autohand={1}{U}{cycle}:name(cycling) draw:1 controller && deplete:4 opponent
text=Each opponent mills fourteen cards. -- Cycling {1}{U} -- ({1}{U}, Discard this card: Draw a card.) -- When you cycle Fractured Sanity, each opponent mills four cards.
mana={U}{U}{U}
type=Sorcery
[/card]
[card]
name=Frantic Inventory
auto=draw:1 controller
auto=foreach(Frantic Inventory|myGraveyard) draw:1 controller
text=Draw a card, then draw cards equal to the number of cards named Frantic Inventory in your graveyard.
mana={1}{U}
type=Instant
[/card]
[card]
name=Fraying Omnipotence
auto=life:-halfupopponentlifetotal opponent
auto=life:-halfuplifetotal controller
auto=ability$!name(Discard half of hand) name(Discard half of hand) reject notatarget(<halfuptype:*:myhand>*|myhand)!$ controller
auto=ability$!name(Discard half of hand) name(Discard half of hand) reject notatarget(<halfuptype:*:myhand>*|myhand)!$ opponent
auto=ability$!name(Sacrifice half of creatures) name(Sacrifice half of creatures) sacrifice notatarget(<halfuptype:creature:mybattlefield>creature|mybattlefield)!$ controller
auto=ability$!name(Sacrifice half of creatures) name(Sacrifice half of creatures) sacrifice notatarget(<halfuptype:creature:mybattlefield>creature|mybattlefield)!$ opponent
text=Each player loses half their life, then discards half the cards in their hand, then sacrifices half the creatures they control. Round up each time.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Fraying Sanity
target=player
auto=@each endofturn:deplete:type:*[fresh]:targetedpersonsgraveyard targetedplayer
text=Enchant player -- At the beginning of each end step, enchanted player puts the top X cards of his or her library into his or her graveyard, where X is the number of cards put into that graveyard from anywhere this turn.
mana={2}{U}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Frenzied Arynx
abilities=trample
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
auto={4}{R}{G}:+3/+0
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Trample -- {4}{R}{G}: Frenzied Arynx gets +3/+0 until end of turn.
mana={2}{R}{G}
type=Creature
subtype=Cat Beast
power=3
toughness=3
[/card]
[card]
name=Frenzied Rage
target=creature
auto=teach(creature) +2/+1
auto=teach(creature) menace 
text=Enchant creature -- Enchanted creature gets +2/+1 and has menace. (It can't be blocked except by two or more creatures.)
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Frenzied Raider
auto=@boasted(*|mybattlefield):counter(1/1)
text=Whenever you activate a boast ability, put a +1/+1 counter on Frenzied Raider.
mana={1}{R}
type=Creature
subtype=Demon Berserker
power=2
toughness=2
[/card]
[card]
name=Frenzied Raptor
mana={2}{R}
type=Creature
subtype=Dinosaur
power=4
toughness=2
[/card]
[card]
name=Frenzied Saddlebrute
abilities=haste
auto=lord(creature|myBattlefield) haste
text=Haste -- All creatures can attack your opponents and planeswalkers your opponents control as though those creatures had haste.
mana={4}{R}
type=Creature
subtype=Orc Warrior
power=5
toughness=4
[/card]
[card]
name=Frenzied Trapbreaker
abilities=nightbound
backside=Outland Liberator
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto={1}{S}:name(Destroy artifact or enchantment) target(*[artifact;enchantment]|battlefield) destroy
auto=@combat(attacking) source(this):name(Destroy artifact or enchantment) target(*[artifact;enchantment]|opponentbattlefield) destroy
text={1}, Sacrifice Frenzied Trapbreaker: Destroy target artifact or enchantment. -- Whenever Frenzied Trapbreaker attacks, destroy target artifact or enchantment defending player controls. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Outland Liberator
type=Creature
subtype=Werewolf
color=green
power=3
toughness=3
[/card]
[card]
name=Fresh-Faced Recruit
auto=this(variable{controllerturn}>0) first strike
text=As long as it's your turn, Fresh-Faced Recruit has first strike.
mana={1}{RW}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Frightful Delusion
target=*|stack
auto=fizzle
auto=transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
auto=ability$!name(discard) notatarget(*|myhand) reject!$ opponent
text=Counter target spell unless its controller pays {1}. That player discards a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Frilled Deathspitter
auto=_ENRAGE_damage:2 target(opponent,planeswalker)
text=Enrage - Whenever Frilled Deathspitter is dealt damage, it deals 2 damage to target opponent or planeswalker.
mana={2}{R}
type=Creature
subtype=Dinosaur
power=3
toughness=2
[/card]
[card]
name=Frilled Mystic
abilities=flash
auto=if type(*|stack)~morethan~0 then may name(Counter spell) target(*|stack) fizzle
text=Flash -- When Frilled Mystic enters the battlefield, you may counter target spell.
mana={G}{G}{U}{U}
type=Creature
subtype=Elf Lizard Wizard
power=3
toughness=2
[/card]
[card]
name=Frilled Sandwalla
auto={1}{G}:2/2 limit:1
text={1}{G}: Frilled Sandwalla gets +2/+2 until end of turn. Activate this ability only once each turn.
mana={G}
type=Creature
subtype=Lizard
power=1
toughness=1
[/card]
[card]
name=Frilled Sea Serpent
auto={5}{U}{U}:unblockable
text={5}{U}{U}: Frilled Sea Serpent can't be blocked this turn.
mana={4}{U}{U}
type=Creature
subtype=Serpent
power=4
toughness=6
[/card]
[card]
name=Frillscare Mentor
auto=target(creature[-human]|myBattlefield) transforms((,newability[counter(0/0.1.Menace)],newability[this(counter{0/0.1.Menace}>=1) menace])) forever
auto={2}{R}{T}:counter(1/1,1) all(creature[Menace]|myBattlefield)
text=When Frillscare Mentor enters the battlefield, put a menace counter on target non-Human creature you control. (It can't be blocked except by two or more creatures.) -- {2}{R}, {T}: Put a +1/+1 counter on each creature you control with menace.
mana={2}{R}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Froghemoth
abilities=trample,haste
auto=@combatdamaged(player) from(this):name(Exile cards) transforms((,newability[name(Exile cards) target(<upto:thatmuch>*|opponentgraveyard) moveto(exile) and!( all(this) counter(1/1) && if cantargetcard(*[-creature]|*) then life:1 controller )!])) oneshot
text=Trample, haste -- Whenever Froghemoth deals combat damage to a player, exile up to that many target cards from their graveyard. Put a +1/+1 counter on Froghemoth for each creature exiled this way. You gain 1 life for each noncreature card exiled this way.
mana={3}{G}{G}
type=Creature
subtype=Frog Horror
power=4
toughness=4
[/card]
[card]
name=Frogify
target=creature
auto=teach(creature) loseabilities
auto=teach(creature) transforms((,setpower=1,settoughness=1))
auto=teach(creature) transforms((,blue,frog))
text=Enchant creature -- Enchanted creature loses all abilities and is a blue Frog creature with base power and toughness 1/1. (It loses all other card types and creature types.)
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Frondland Felidar
abilities=vigilance
auto=lord(creature[vigilance]|myBattlefield) transforms((,newability[{1}{T}:tap target(creature)]))
text=Vigilance -- Creatures you control with vigilance have "{1}, {T}: Tap target creature."
mana={2}{G}{W}
type=Creature
subtype=Cat Beast
power=3
toughness=5
[/card]
[card]
name=Frontier Warmonger
auto=lord(creature[attacking]|myBattlefield) menace ueot
text=Whenever one or more creatures attack an opponent or a planeswalker an opponent controls, those creatures gain menace until end of turn.
mana={3}{R}
type=Creature
subtype=Human Warrior
power=4
toughness=4
[/card]
[card]
name=Frontline Devastator
auto={1}{R}:1/0
auto=_BLOCKED_life:-2 opponent
text=Afflict 2 (Whenever this creature becomes blocked, defending player loses 2 life.) -- {1}{R}: Frontline Devastator gets +1/+0 until end of turn.
mana={3}{R}
type=Creature
subtype=Zombie Minotaur Warrior
power=3
toughness=3
[/card]
[card]
name=Frontline Medic
auto=_ATTACKING_restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:all(creature|mybattlefield) transforms((indestructible)) ueot
auto={S}:name(counter spell) target(other *|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
text=Battalion - Whenever Frontline Medic and at least two other creatures attack, creatures you control gain indestructible until end of turn. -- Sacrifice Frontline Medic: Counter target spell with {X} in its mana cost unless its controller pays {3}.
mana={2}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=3
[/card]
[card]
name=Frost Augur
aicode=activate moveTo(myhand) target(*[snow;zpos=1]|mylibrary)
auto={T}{i}:name(Look your library) reveal:1 revealzone(mylibrary) optionone name(Put in hand) target(<upto:1>*[snow]|reveal) moveto(myhand) optiononeend optiontwo name(Put back) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend
text={S}i}, {T}: Look at the top card of your library. If it's a snow card, you may reveal it and put it into your hand. ({S}i} can be paid with one mana from a snow source.)
mana={U}
type=Snow Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Frost Bite
target=creature,planeswalker
auto=if type(snow|mybattlefield)~lessthan~3 then damage:2
auto=if type(snow|mybattlefield)~morethan~2 then damage:3
text=Frost Bite deals 2 damage to target creature or planeswalker. If you control three or more snow permanents, it deals 3 damage instead.
mana={R}
type=Snow Instant
[/card]
[card]
name=Frost Titan
auto=@targeted(this) from(opponent):transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
auto=target(*) transforms((,newability[tap],newability[frozen]))
auto=_ATTACKING_target(*) transforms((,newability[tap],newability[frozen]))
text=Whenever Frost Titan becomes the target of a spell or ability an opponent controls, counter that spell or ability unless its controller pays {2}. -- Whenever Frost Titan enters the battlefield or attacks, tap target permanent. It doesn't untap during its controller's next untap step.
mana={4}{U}{U}
type=Creature
subtype=Giant
power=6
toughness=6
[/card]
[card]
name=Frost Trickster
abilities=flying
auto=name(Tap creature) target(creature|opponentbattlefield) freeze
text=Flying -- When Frost Trickster enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
mana={2}{U}
type=Creature
subtype=Bird Wizard
power=2
toughness=2
[/card]
[card]
name=Frostboil Snarl
auto=if type(*[island;mountain]|myhand)~equalto~0 then tap(noevent)
auto={T}:add{U}
auto={T}:add{R}
text=As Frostboil Snarl enters the battlefield, you may reveal an Island or Mountain card from your hand. If you don't, Frostboil Snarl enters the battlefield tapped. -- {T}: Add {U} or {R}.
type=Land
[/card]
[card]
name=Frostpeak Yeti
auto={1}{i}:unblockable ueot
text={1}{S}i}: Frostpeak Yeti can't be blocked this turn. ({S}i} can be paid with one mana from a snow source.)
mana={3}{U}
type=Snow Creature
subtype=Yeti
power=3
toughness=3
[/card]
[card]
name=Frostpyre Arcanist
other={3}{U} name(Reduced cost)
otherrestriction=type(*[giant;wizard]|mybattlefield)~morethan~0
restriction=type(*[giant]|mybattlefield)~equalto~0,type(*[wizard]|mybattlefield)~equalto~0
auto=name(Choose instant or sorcery name from graveyard) name(Choose instant or sorcery name from graveyard) target(*[instant;sorcery]|mygraveyard) transforms((,newability[name(Search same instant or sorcery from library) name(Search same instant or sorcery from library) target(*[share!name!]|mylibrary) moveto(myhand) and!(shuffle)!])) oneshot
text=This spell costs {1} less to cast if you control a Giant or a Wizard. -- When Frostpyre Arcanist enters the battlefield, search your library for an instant or sorcery card with the same name as a card in your graveyard, reveal it, put it into your hand, then shuffle your library.
mana={4}{U}
type=Creature
subtype=Giant Wizard
power=2
toughness=5
[/card]
[card]
name=Frostveil Ambush
target=<upto:2>creature
auto=tap
auto=frozen
text=Tap up to two target creatures. Those creatures don't untap during their controller's next untap step. -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Frostwalk Bastion
auto={T}:add{1}
auto={1}{i}:becomes(Creature Construct,2/3) ueot
text={T}: Add {1}. -- {1}{S}i}: Until end of turn, Frostwalk Bastion becomes a 2/3 Construct artifact creature. It's still a land. ({S}i} can be paid with one mana from a snow permanent.) -- Whenever Frostwalk Bastion deals combat damage to a creature, tap that creature and it doesn't untap during its controller's next untap step.
type=Snow Land
[/card]
[card]
name=Frostwalla
auto={i}:2/2 ueot limit:1
text={S{i}: Frostwalla gets +2/+2 until end of turn. Activate this ability only once each turn. ({S}i} can be paid with one mana from a snow permanent.)
mana={2}{G}
type=Snow Creature
subtype=Lizard
power=2
toughness=2
[/card]
[card]
name=Fruit of Tizerus
target=player
auto=life:-2
retrace={3}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Target player loses 2 life. Escape-{3}{B}, Exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={B}
type=Instant
[/card]
[card]
name=Fruitcake Elemental
abilities=indestructible
auto={3}:name(Opponent gains control) moveTo(opponentBattlefield) target(Fruitcake Elemental|battlefield)
auto={3}:name(You gain control) moveTo(myBattlefield) target(Fruitcake Elemental|battlefield)
auto=@each endofturn restriction{myturnonly}:damage:7 controller
text=Fruitcake Elemental is indestructible. -- At the end of your turn, Fruitcake Elemental deals 7 damage to you. -- {3}: Target player gains control of Fruitcake Elemental.
mana={1}{G}{G}
type=Creature
subtype=Elemental
power=7
toughness=7
[/card]
[card]
name=Fry
abilities=nofizzle
target=creature,planeswalker[white;blue]
auto=damage:6
text=This spell can't be countered. -- Fry deals 5 damage to target creature or planeswalker that's white or blue.
mana={1}{R}
type=Instant
[/card]
[card]
name=Full Flowering
auto=thisforeach(variable{halfpaid}) ability$!name(Clone target token) name(Clone target token) clone notatarget(creature[token]|mybattlefield)!$ controller
text=Populate X times. (To populate, create a token that's a copy of a creature token you control. Do this X times.)
mana={X}{X}{G}
type=Sorcery
[/card]
[card]
name=Fully Grown
target=creature
auto=3/3 ueot
auto=transforms((,newability[counter(0/0.1.Trample)],newability[this(counter{0/0.1.Trample}>=1) trample])) forever
text=Target creature gets +3/+3 until end of turn. Put a trample counter on it.
mana={2}{G}
type=Instant
[/card]
[card]
name=Fuming Effigy
auto=@movedto(*|mybattlefield,mystack,myhand,mylibrary,mysideboard,myexile,mycommandzone) from(mygraveyard):name(Deals 1 damage) damage:1 opponent
text=Whenever one or more cards leave your graveyard, Fuming Effigy deals 1 damage to each opponent.
mana={3}{R}
type=Creature
subtype=Spirit
power=4
toughness=3
[/card]
[card]
name=Funeral Longboat
abilities=vigilance
auto={crew(other creature[power>=1]|myBattlefield)}:name(crew 1 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~0}
text=Vigilance -- Crew 1 (Tap any number of creatures you control with total power 1 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={2}
type=Artifact
subtype=Vehicle
power=3
toughness=3
[/card]
[card]
name=Funeral Rites
auto=draw:2 controller
auto=life:-2 controller
auto=deplete:2 controller
text=You draw two cards, lose 2 life, and put the top two cards of your library into your graveyard.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Fungal Infection
target=creature
auto=-1/-1
auto=create(Saproling:creature Saproling:1/1:green:)
text=Target creature gets -1/-1 until end of turn. Create a 1/1 green Saproling creature token.
mana={B}
type=Instant
[/card]
[card]
name=Fungal Plots
auto={1}{G}{E(creature|mygraveyard)}:create(saproling:creature saproling:1/1:green:)
auto={S(saproling|myBattlefield)}{S(saproling|myBattlefield)}:life:2 && draw:1
text={1}{G}, Exile a creature card from your graveyard: Create a 1/1 green Saproling creature token. -- Sacrifice two Saprolings: You gain 2 life and draw a card.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Fungal Reaches
auto={T}:add{C}
auto={1}{T}:counter(0/0,1,Storage)
auto={1}{C(0/0,-1,Storage)}: ability$! _ choice add{R} _ choice add{G} !$ controller
text={T}: Add {C}. -- {1}, {T}: Put a storage counter on Fungal Reaches. -- {1}, Remove X storage counters from Fungal Reaches: Add X mana in any combination of {R} and/or {G}.
type=Land
[/card]
[card]
name=Fungal Rebirth
target=*|myGraveyard
auto=moveTo(myHand)
auto=token(Saproling Fun)*2 restriction{morbid}
text=Return target permanent card from your graveyard to your hand. If a creature died this turn, create two 1/1 green Saproling creature tokens.
mana={2}{G}
type=Instant
[/card]
[card]
name=Funnel-Web Recluse
abilities=reach
auto=if morbid then name(Create clue) token(Clue) controller
text=Reach -- Morbid - When Funnel-Web Recluse enters the battlefield, if a creature died this turn, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.")
mana={4}{G}
type=Creature
subtype=Spider
power=3
toughness=5
[/card]
[card]
name=Furious Rise
auto=@each my endofturn aslongas(creature[power>=4]|myBattlefield):moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos=1]|mylibrary) uynt
text=At the beginning of your end step, if you control a creature with power 4 or greater, exile the top card of your library. You may play that card until you exile another card with Furious Rise.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Furnace of Rath
auto=@damaged(creature) from(*[instant;sorcery]|stack,Graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(*[creature;artifact;land;planeswalker]|battlefield,Graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(creature) from(enchantment[-Furnace of Rath]|battlefield,Graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(*[instant;sorcery]|stack,Graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(*[creature;artifact;land;planeswalker]|battlefield,Graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(enchantment[-Furnace of Rath]|battlefield,Graveyard):damage:thatmuch all(trigger[to])
text=If a source would deal damage to a creature or player, it deals double that damage to that creature or player instead.
mana={1}{R}{R}{R}
type=Enchantment
[/card]
[card]
name=Fury
other={E(*[red]|myhand)} name(Evoke)
auto=if paid(alternative) then sacrifice
abilities=double strike
auto=thisforeach(variable{4}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(*[creature;planeswalker]|battlefield) damage:1!$ controller
text=Double strike -- When Fury enters the battlefield, it deals 4 damage divided as you choose among any number of target creatures and/or planeswalkers. -- Evoke-Exile a red card from your hand.
mana={3}{R}{R}
type=Creature
subtype=Elemental Incarnation
power=3
toughness=3
[/card]
[card]
name=Fury Storm
auto=thisforeach(variable{pnumofcommandcastplus1plusend}) ability$!name(Copy target instant or sorcery spell) name(Copy target instant or sorcery spell) castcard(copied noevent) target(*[instant;sorcery]|stack)!$ controller
text=When you cast this spell, copy it for each time you've cast your commander from the command zone this game. You may choose new targets for the copies. -- Copy target instant or sorcery spell. You may choose new targets for the copy.
mana={2}{R}{R}
type=Instant
[/card]
[card]
name=Furycalm Snarl
auto=if type(*[plains;mountain]|myhand)~equalto~0 then tap(noevent)
auto={T}:add{W}
auto={T}:add{R} 
text=As Furycalm Snarl enters the battlefield, you may reveal a Mountain or Plains card from your hand. If you don't, Furycalm Snarl enters the battlefield tapped. -- {T}: Add {R} or {W}.
type=Land
[/card]
[card]
name=Fynn, the Fangbearer
abilities=deathtouch
auto=lord(creature[deathtouch]|mybattlefield) poisontwotoxic
text=Deathtouch -- Whenever a creature you control with deathtouch deals combat damage to a player, that player gets two poison counters. (A player with ten or more poison counters loses the game.)
mana={1}{G}
type=Legendary Creature
subtype=Human Warrior
power=1
toughness=3
[/card]
[card]
name=Gadrak, the Crown-Scourge
abilities=flying
auto=aslongas(artifact|myBattlefield) cantattack <4
auto=aslongas(artifact|myBattlefield) cantpwattack <4
auto=@each my endofturn restriction{morbid}:foreach(creature[-token;fresh]|myGraveyard) token(Treasure Gad)
text=Flying -- Gadrak, the Crown-Scourge can't attack unless you control four or more artifacts. -- At the beginning of your end step, create a Treasure token for each nontoken creature that died this turn. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{R}
type=Legendary Creature
subtype=Dragon
power=5
toughness=4
[/card]
[card]
name=Gadwick, the Wizened
auto=draw:X
auto=@movedTo(*[blue]|mystack):tap target(*[-land]|opponentbattlefield)
text=When Gadwick, the Wizened enters the battlefield, draw X cards. -- Whenever you cast a blue spell, tap target nonland permanent an opponent controls.
mana={X}{U}{U}{U}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Gaea's Herald
auto=lord(creature|stack) nofizzle
text=Creature spells can't be countered.
mana={1}{G}
type=Creature
subtype=Elf
power=1
toughness=1
[/card]
[card]
name=Gaea's Protector
auto=_ATTACKING_ all(creature|opponentbattlefield) mustblock ueot
text=Gaea's Protector must be blocked if able.
mana={3}{G}
type=Creature
subtype=Elemental Warrior
power=4
toughness=2
[/card]
[card]
name=Gaea's Touch
auto={0}:moveTo(myBattlefield) target(forest[basic]|myhand) asSorcery limit:1
auto={S}:Add{G}{G}
auto={0}:name(don't sacrifice) donothing limit:9
text={0}: You may put a basic Forest card from your hand onto the battlefield. Activate this ability only any time you could cast a sorcery and only once each turn. -- Sacrifice Gaea's Touch: Add {G}{G}.
mana={G}{G}
type=Enchantment
[/card]
[card]
name=Gaea's Will
auto=emblem transforms((,newability[lord(*|myGraveyard) canplayfromgraveyard],newability[lord(*|myzones) exiledeath])) ueot
text=Suspend 4-{G} -- Until end of turn, you may play lands and cast spells from your graveyard. -- If a card would be put into your graveyard from anywhere this turn, exile that card instead.
color=green
restriction=never
mana={0}
suspend(4)={G}
type=Sorcery
[/card]
[card]
name=Gahiji, Honored One
auto=@combat(attacking) source(creature|myBattlefield):all(trigger[to]) 2/0 ueot
text=Whenever a creature attacks one of your opponents or a planeswalker an opponent controls, that creature gets +2/+0 until end of turn.
mana={2}{R}{G}{W}
type=Legendary Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Galazeth Prismari
abilities=flying
auto=token(Treasure Sur)
auto=lord(artifact|mybattlefield) transforms((,newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{W}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{B}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{R}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{U}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{G}]))
text=Flying -- When Galazeth Prismari enters the battlefield, create a Treasure token. -- Artifacts you control have " {T}: Add one mana of any color. Spend this mana only to cast an instant or sorcery spell."
mana={2}{U}{R}
type=Legendary Creature
subtype=Elder Dragon
power=3
toughness=4
[/card]
[card]
name=Gale Swooper
abilities=flying
auto=target(creature) flying ueot
text=Flying -- When Gale Swooper enters the battlefield, target creature gains flying until end of turn.
mana={3}{W}
type=Creature
subtype=Griffin
power=3
toughness=2
[/card]
[card]
name=Galea, Kindler of Hope
abilities=vigilance,showfromtoplibrary,canplayauraequiplibrarytop
auto=@movedto(*[equipment]|mystack) from(mylibrary):transforms((,newability[@movedto(*[equipment]|mybattlefield) once:all(trigger[to]) transforms((,newability[name(Attach to creature) rehook target(creature|mybattlefield)])) forever])) ueot
text=Vigilance -- You may look at the top card of your library any time. -- You may cast Aura and Equipment spells from the top of your library. When you cast an Equipment spell this way, it gains "When this Equipment enters the battlefield, attach it to target creature you control."
mana={1}{G}{U}{W}
type=Legendary Creature
subtype=Elf Knight
power=4
toughness=4
[/card]
[card]
name=Galecaster Colossus
auto={T(wizard|myBattlefield)}:target(*[-land]|opponentBattlefield) moveTo(ownerHand)
text=Tap an untapped Wizard you control: Return target nonland permanent you don't control to its owner's hand.
mana={5}{U}{U}
type=Creature
subtype=Giant Wizard
power=5
toughness=6
[/card]
[card]
name=Galedrifter
backside=Waildrifter
abilities=flying,hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={4}{U} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
text=Flying -- Disturb {4}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Waildrifter
mana={3}{U}
type=Creature
subtype=Hippogriff
power=3
toughness=2
[/card]
[card]
name=Galestrike
target=creature(tapped)
auto=moveto(ownerhand)
auto=draw:1 controller
text=Return target tapped creature to its owner's hand. -- Draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Gallant Cavalry
abilities=vigilance
auto=create(knight:creature knight:2/2:white:vigilance)
text=Vigilance (Attacking doesn't cause this creature to tap.) -- When Gallant Cavalry enters the battlefield, create a 2/2 white Knight creature token with vigilance.
mana={3}{W}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Gallia of the Endless Dance
abilities=haste
auto=lord(other creature[Satyr]|myBattlefield) 1/1
auto=lord(other creature[Satyr]|myBattlefield) haste
auto=@each blockers restriction{type(creature[attacking]|myBattlefield)~morethan~2}:discard:1 controller oneshot && draw:2 controller
text=Haste -- Other Satyrs you control get +1/+1 and have haste. -- Whenever you attack with three or more creatures, you may discard a card at random. If you do, draw two cards.
mana={R}{G}
type=Legendary Creature
subtype=Satyr
power=2
toughness=2
[/card]
[card]
name=Galloping Lizrog
abilities=trample
auto=all(creature[counter{1/1.1}]|mybattlefield) transforms((,newability[thisforeach(counter{1/1.1}) may counter(1/1.-1) all(this) && counter(1/1.2) target(Galloping Lizrog[fresh]|mybattlefield)])) ueot
text=Trample -- When Galloping Lizrog enters the battlefield, you may remove any number of +1/+1 counters from among creatures you control. If you do, put twice that many +1/+1 counters on Galloping Lizrog.
mana={3}{G}{U}
type=Creature
subtype=Frog Lizard
power=3
toughness=3
[/card]
[card]
name=Galvanic Iteration
flashback={1}{U}{R}
auto=emblem transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:name(Copy spell) all(trigger[to]) name(Copy spell) activate castcard(copied)])) ueot
text=When you cast your next instant or sorcery spell this turn, copy that spell. You may choose new targets for the copy. -- Flashback {1}{U}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={U}{R}
type=Instant
[/card]
[card]
name=Galvanic Relay
abilities=storm
auto=all(*[zpos=1]|myLibrary) moveto(myexile) and!( transforms((,newability[phaseaction[opponent end once checkex] counter(0/0.1.GalvanicEffect)])) forever )!
auto=emblem transforms((,newability[lord(*[counter{0/0.1.GalvanicEffect}]|myexile) canplayfromexile])) forever dontremove
auto=emblem transforms((,newability[@each my end:all(*[counter{0/0.1.GalvanicEffect}]|myexile) counter(0/0.-1.GalvanicEffect)] forever dontremove
text=Exile the top card of your library. During your next turn, you may play that card. -- Storm (When you cast this spell, copy it for each spell cast before it this turn.)
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Game Plan
auto=moveto(opponentlibrary) all(*|opponenthand)
auto=moveto(opponentlibrary) all(*|opponentgraveyard) && shuffle
auto=draw:7 opponent
auto=moveto(mylibrary) all(*|myhand)
auto=moveto(mylibrary) all(*|mygraveyard) && shuffle
auto=draw:7 controller
auto=moveto(exile)
text=Assist (Another player can pay up to {5} of this spell's cost.) -- Each player shuffles their hand and graveyard into their library, then draws seven cards. Exile Game Plan.
mana={5}{U}
type=Sorcery
[/card]
[card]
name=Gang Up
target=creature[power<=prex]
auto=destroy
text=Assist (Another player can pay up to {X} of this spell's cost. You choose the value of X.) -- Destroy target creature with power X or less.
mana={X}{B}
type=Instant
[/card]
[card]
name=Gang of Devils
auto=_DIES_thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
text=When Gang of Devils dies, it deals 3 damage divided as you choose among one, two, or three target creatures and/or players.
mana={5}{R}
type=Creature
subtype=Devil
power=3
toughness=3
[/card]
[card]
name=Garbage Elemental (c)
auto=_ATTACKING_all(other creature[attacking]) 1/0 ueot
auto=all(this) rolld6 winability token(Goblin,Creature Goblin,1/1,red)*lastrollresultminuslastrollchoiceminusend winabilityend loseability token(Goblin,Creature Goblin,1/1,red)*lastrollresultminuslastrollchoiceminusend loseabilityend rolld6end
text=Battle cry (Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn.) -- When Garbage Elemental enters the battlefield, roll two six-sided dice. Create a number of 1/1 red Goblin creature tokens equal to the difference between those results.
mana={4}{R}
type=Creature
subtype=Elemental
power=3
toughness=2
[/card]
[card]
name=Garbage Elemental (d)
autostack=if casted(this) then cascade:plibrarycount
auto=choice name(Damage opponent) all(this) rolld6 6 winability damage:lastrollresult opponent winabilityend loseability damage:lastrollresult opponent loseabilityend rolld6end
auto=if type(planeswalker|battlefield)~morethan~0 then choice name(Damage planeswalker) target(planeswalker) rolld6 6 winability damage:lastrollresult winabilityend loseability damage:lastrollresult loseabilityend rolld6end
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- When Garbage Elemental enters the battlefield, roll a six-sided die. Garbage Elemental deals damage equal to the result to target opponent or planeswalker.
mana={4}{R}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Garenbrig Carver // Shield's Might
abilities=adventure,asflash
restriction=can play creature
other={1}{G} name(Adventure)
auto=if paid(alternative) then name(Creature gets 2/2) name(Creature gets 2/2) target(creature|battlefield) 2/2 ueot
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Target creature gets +2/+2 until end of turn. (Then exile this card. You may cast the creature later from exile.)
mana={3}{G}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Garenbrig Paladin
auto=if casted(this) then if spent({G}{G}{G}) then counter(1/1)
auto=cantbeblockedby(creature[power<=2])
text=Adamant - If at least three green mana was spent to cast this spell, Garenbrig Paladin enters the battlefield with a +1/+1 counter on it. -- Garenbrig Paladin can't be blocked by creatures with power 2 or less.
mana={4}{G}
type=Creature
subtype=Giant Knight
power=4
toughness=4
[/card]
[card]
name=Garenbrig Squire
auto=@movedTo(creature[adventure]|myStack):name(Gains 1/1) 1/1 ueot
text=Whenever you cast a creature spell that has an Adventure, Garenbrig Squire gets +1/+1 until end of turn. (It doesn't need to have gone on the adventure first.)
mana={1}{G}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Gargadon
abilities=trample
suspend(4)={1}{R}
text=Trample -- Suspend 4-{1}{R} (Rather than cast this card from your hand, you may pay 1{R} and exile it with four time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.)
mana={5}{R}{R}
type=Creature
subtype=Beast
power=7
toughness=5
[/card]
[card]
name=Gargos, Vicious Watcher
abilities=vigilance
auto=lord(hydra|mycastingzone) altercost(colorless, -4)
auto=@targeted(creature|mybattlefield):transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>]))
text=Vigilance -- Hydra spells you cast cost {4} less to cast. -- Whenever a creature you control becomes the target of a spell, Gargos, Vicious Watcher fights up to one target creature you don't control.
mana={3}{G}{G}{G}
type=Legendary Creature
subtype=Hydra
power=8
toughness=7
[/card]
[card]
name=Garna, the Bloodflame
abilities=flash
auto=moveTo(myHand) all(creature[fresh]|graveyard)
auto=lord(other creature|myBattlefield) haste
text=Flash -- When Garna, the Bloodflame enters the battlefield, return to your hand all creature cards in your graveyard that were put there from anywhere this turn. -- Other creatures you control have haste.
mana={3}{B}{R}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Garrison Cat
auto=_DIES_token(Human Soldier Gar)
text=When Garrison Cat dies, create a 1/1 white Human Soldier creature token.
mana={W}
type=Creature
subtype=Cat
power=1
toughness=1
[/card]
[card]
name=Garrison Griffin
abilities=flying
auto=_ATTACKING_target(knight|myBattlefield) flying ueot
text=Flying -- Whenever Garrison Griffin attacks, target Knight you control gains flying until end of turn.
mana={2}{W}
type=Creature
subtype=Griffin
power=2
toughness=2
[/card]
[card]
name=Garrison Sergeant
auto=aslongas(Gate|myBattlefield) double strike
text=Garrison Sergeant has double strike as long as you control a Gate.
mana={3}{R}{W}
type=Creature
subtype=Viashino Soldier
power=3
toughness=3
[/card]
[card]
name=Garruk's Gorehorn
mana={4}{G}
type=Creature
subtype=Beast
power=7
toughness=3
[/card]
[card]
name=Garruk's Harbinger
auto=cantbetargetof(*[black])
auto=@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(Get a creature or a garruk) target(<upto:1>*[creature;garruk]|reveal) moveto(myHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=@combatdamaged(planeswalker) from(this):name(Reveal cards) reveal:thatmuch optionone name(Get a creature or a garruk) target(<upto:1>*[creature;garruk]|reveal) moveto(myHand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Hexproof from black -- Whenever Garruk's Harbinger deals combat damage to a player or planeswalker, look at that many cards from the top of your library. You may reveal a creature card or Garruk planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={1}{G}{G}
type=Creature
subtype=Beast
power=4
toughness=3
[/card]
[card]
name=Garruk's Uprising
auto=if type(creature[power>=4]:myBattlefield)~morethan~0 then draw:1 controller
auto=lord(creature|myBattlefield) trample
auto=@movedTo(creature[power>=4]|myBattlefield):draw:1 controller
text=When Garruk's Uprising enters the battlefield, if you control a creature with power 4 or greater, draw a card. -- Creatures you control have trample. (They can deal excess combat damage to the player or planeswalker they're attacking.) -- Whenever a creature with power 4 or greater enters the battlefield under your control, draw a card.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Garruk's Warsteed
abilities=vigilance
auto=choice name(Search Library) may moveto(myhand) target(Garruk^ Savage Herald|myLibrary) && shuffle
auto=choice name(Search Graveyard) may moveto(myhand) target(Garruk^ Savage Herald|myGraveyard)
text=Vigilance -- When Garruk's Warsteed enters the battlefield, you may search your library and/or graveyard for a card named Garruk, Savage Herald, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{G}{G}
type=Creature
subtype=Rhino
power=3
toughness=5
[/card]
[card]
name=Garrulous Sycophant
auto=@each my endofturn restriction{compare(pmonarch)~morethan~0}:life:-1 opponent && life:1 controller
text=At the beginning of your end step, if you're the monarch, each opponent loses 1 life and you gain 1 life.
mana={2}{B}
type=Creature
subtype=Human Advisor
power=1
toughness=4
[/card]
[card]
name=Garth One-Eye
auto=this(cantargetcard(*[-disenchant]) {1}{W}{T}:name(Choose disenchant) becomes(disenchant) forever && activate castcard(copied noevent named!:disenchant:!)
auto=this(cantargetcard(*[-braingeyser]) {X}{U}{U}{T}:name(Choose braingeyser) name(Choose braingeyser) transforms((,newability[becomes(braingeyser)],newability[activate castcard(copied noevent named!:braingeyser:! costx!:x:!)])) forever
auto=this(cantargetcard(*[-terror]) {1}{B}{T}:name(Choose terror) becomes(terror) forever && activate castcard(copied noevent named!:terror:!)
auto=this(cantargetcard(*[-shivan]) {4}{R}{R}{T}:name(Choose shivan dragon) becomes(shivan) forever && activate castcard(copied noevent named!:shivan dragon:!)
auto=this(cantargetcard(*[-regrowth]) {1}{G}{T}:name(Choose regrowth) becomes(regrowth) forever && activate castcard(copied noevent named!:regrowth:!)
auto=this(cantargetcard(*[-lotus]) {0}{T}:name(Choose black lotus) becomes(lotus) forever && activate castcard(copied noevent named!:black lotus:!)
text={T}: Choose a card name that hasn't been chosen from among Disenchant, Braingeyser, Terror, Shivan Dragon, Regrowth, and Black Lotus. Create a copy of the card with the chosen name. You may cast the copy. (You still pay its costs.)
mana={W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Human Wizard
power=5
toughness=5
[/card]
[card]
name=Gate Colossus
anyzone=foreach(land[Gate]|myBattlefield) changecost(colorless:-1) forcedalive
auto=cantbeblockedby(creature[power>=2])
autograveyard=@movedTo(land[Gate]|myBattlefield):may moveTo(myLibray)
text=This spell costs {1} less to cast for each Gate you control. -- Gate Colossus can't be blocked by creatures with power 2 or less. -- Whenever a Gate enters the battlefield under your control, you may put Gate Colossus from your graveyard on top of your library.
mana={8}
type=Artifact Creature
subtype=Construct
power=8
toughness=8
[/card]
[card]
name=Gate to the Afterlife
auto=@movedto(creature[-token]|mygraveyard) from(mybattlefield):life:1 controller && may ability$!draw:1 && target(*|myhand) reject!$ controller
text=Whenever a nontoken creature you control dies, you gain 1 life. Then you may draw a card. If you do, discard a card. -- {2}, {T}, Sacrifice Gate to the Afterlife: Search your graveyard, hand, and/or library for a card named God-Pharaoh's Gift and put it onto the battlefield. If you search your library this way, shuffle it. Activate this ability only if there are six or more creature cards in your graveyard.
mana={3}
type=Artifact
[/card]
[card]
name=Gatebreaker Ram
auto=foreach(gate|myBattlefield) 1/1
auto=aslongas(gate|myBattlefield) vigilance >1
auto=aslongas(gate|myBattlefield) trample >1
text=Gatebreaker Ram gets +1/+1 for each Gate you control. -- As long as you control two or more Gates, Gatebreaker Ram has vigilance and trample.
mana={2}{G}
type=Creature
subtype=Sheep
power=2
toughness=2
[/card]
[card]
name=Gatekeeper Gargoyle
abilities=flying
auto=foreach(Gate|myBattlefield) counter(1/1)
text=Flying -- Gatekeeper Gargoyle enters the battlefield with a +1/+1 counter on it for each Gate you control.
mana={6}
type=Artifact Creature
subtype=Gargoyle
power=3
toughness=3
[/card]
[card]
name=Gates Ablaze
auto=damage:type:gate:mybattlefield all(creature)
text=Gates Ablaze deals X damage to each creature, where X is the number of Gates you control.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Gates of Istfell
auto=tap(noevent)
auto={T}:add{W}
auto={2}{W}{U}{U}{T}{S}:life:2 controller && draw:2 controller
text=Gates of Istfell enters the battlefield tapped. -- {T}: Add {W}. -- {2}{W}{U}{U}, {T}, Sacrifice Gates of Istfell: You gain 2 life and draw two cards.
type=Land
[/card]
[card]
name=Gateway Plaza
auto=tap(noevent)
auto=pay[[{1}]] name(pay 1 mana) donothing'sacrifice
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=Gateway Plaza enters the battlefield tapped. -- When Gateway Plaza enters the battlefield, sacrifice it unless you pay {1}. -- {T}: Add one mana of any color.
type=Land
subtype=Gate
[/card]
[card]
name=Gateway Sneak
auto=@combatdamaged(player) from(this):draw:1
auto=@movedTo(gate|myBattlefield):unblockable ueot
text=Whenever a Gate enters the battlefield under your control, Gateway Sneak can't be blocked this turn. -- Whenever Gateway Sneak deals combat damage to a player, draw a card.
mana={2}{U}
type=Creature
subtype=Vedalken Rogue
power=1
toughness=3
[/card]
[card]
name=Gauntlets of Light
target=creature
auto=0/2
auto=teach(creature) {2}{W}:untap
auto=combattoughness
text=Enchant creature -- Enchanted creature gets +0/+2 and assigns combat damage equal to its toughness rather than its power. -- Enchanted creature has "{2}{W}: Untap this creature."
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Gavony Dawnguard
aicode=activate transforms((,newability[if type(creature[zpos<=4;manacost<=3]|myLibrary)~morethan~0 then target(creature[zpos<=4;manacost<=3]|myLibrary) moveTo(myHand) and!( all(other *[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):name(Look top 4 cards) reveal:4 optionone name(Get a creature) target(<upto:1>creature[manacost<=3]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Ward {1} -- If it's neither day nor night, it becomes day as Gavony Dawnguard enters the battlefield. -- Whenever day becomes night or night becomes day, look at the top four cards of your library. You may reveal a creature card with mana value 3 or less from among them and put it into your hand. Put the rest on the bottom of your library in any order.
type=Creature
subtype=Human Soldier
mana={1}{W}{W}
power=3
toughness=3
[/card]
[card]
name=Gavony Silversmith
auto=may name(Put 1/1 counters) target(<upto:2>creature) counter(1/1)
text=When Gavony Silversmith enters the battlefield, put a +1/+1 counter on each of up to two target creatures.
type=Creature
subtype=Human Soldier
mana={3}{W}
power=2
toughness=3
[/card]
[card]
name=Gavony Trapper
auto={2}{T}:name(Tap a creature) target(creature) tap
text={2}, {T}: Tap target creature.
type=Creature
subtype=Human Soldier
mana={W}
power=0
toughness=2
[/card]
[card]
name=Gearsmith Guardian
auto=aslongas(creature[blue]|myBattlefield) +2/+0
text=Gearsmith Guardian gets +2/+0 as long as you control a blue creature.
mana={5}
type=Artifact Creature
subtype=Construct
power=3
toughness=5
[/card]
[card]
name=Gearsmith Prodigy
auto=aslongas(artifact|myBattlefield) +1/+0
text=Gearsmith Prodigy gets +1/+0 as long as you control an artifact.
mana={U}
type=Creature
subtype=Human Artificer
power=1
toughness=2
[/card]
[card]
name=Geistflame Reservoir
auto=@movedTo(*[instant;sorcery]|mystack):name(Put charge counter) counter(0/0,1,Charge)
auto={1}{R}{T}:name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto={1}{R}{T}{C(0/0,-1,Charge)}:name(Deal 1 damage) damage:1 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-2,Charge)}:name(Deal 2 damage) damage:2 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-3,Charge)}:name(Deal 3 damage) damage:3 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-4,Charge)}:name(Deal 4 damage) damage:4 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-5,Charge)}:name(Deal 5 damage) damage:5 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-6,Charge)}:name(Deal 6 damage) damage:6 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-7,Charge)}:name(Deal 7 damage) damage:7 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-8,Charge)}:name(Deal 8 damage) damage:8 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-9,Charge)}:name(Deal 9 damage) damage:9 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-10,Charge)}:name(Deal 10 damage) damage:10 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-11,Charge)}:name(Deal 11 damage) damage:11 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-12,Charge)}:name(Deal 12 damage) damage:12 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-13,Charge)}:name(Deal 13 damage) damage:13 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-14,Charge)}:name(Deal 14 damage) damage:14 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-15,Charge)}:name(Deal 15 damage) damage:15 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-16,Charge)}:name(Deal 16 damage) damage:16 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-17,Charge)}:name(Deal 17 damage) damage:17 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-18,Charge)}:name(Deal 18 damage) damage:18 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-19,Charge)}:name(Deal 19 damage) damage:19 target(player,creature,planeswalker)
auto={1}{R}{T}{C(0/0,-20,Charge)}:name(Deal 20 damage) damage:20 target(player,creature,planeswalker)
text=Whenever you cast an instant or sorcery spell, put a charge counter on Geistflame Reservoir. -- {1}{R}, {T}, Remove any number of charge counters from Geistflame Reservoir: It deals that much damage to any target. -- {1}{R}, {T}: Exile the top card of your library. You may play that card this turn.
mana={2}{R}
type=Artifact
[/card]
[card]
name=Geistwave
target=*[-land]|battlefield
auto=if cantargetcard(*[-land]|opponentbattlefield) then moveto(ownerhand) else moveto(ownerhand) and!( draw:1 controller)!
text=Return target nonland permanent to its owner's hand. If you controlled that permanent, draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Gelatinous Cube
auto=name(Engulf) target(creature[-ooze]|opponentbattlefield) imprint
auto=this(variable{hasevict}>0) transforms((,newability[@movedto(this|nonbattlezone) from(battlefield):name(Return exiled creature) target(creature[evictname]|opponentexile) moveTo(ownerbattlefield)]
auto=this(variable{hasevict}>0) this(variable{evictmc}=0) {B}:name(X=0) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=1) {1}{B}:name(X=1) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=2) {2}{B}:name(X=2) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=3) {3}{B}:name(X=3) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=4) {4}{B}:name(X=4) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=5) {5}{B}:name(X=5) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=6) {6}{B}:name(X=6) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=7) {7}{B}:name(X=7) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=8) {8}{B}:name(X=8) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=9) {9}{B}:name(X=9) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=10) {10}{B}:name(X=10) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=11) {11}{B}:name(X=11) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=12) {12}{B}:name(X=12) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=13) {13}{B}:name(X=13) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=14) {14}{B}:name(X=14) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=15) {15}{B}:name(X=15) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=16) {16}{B}:name(X=16) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=17) {17}{B}:name(X=17) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=18) {18}{B}:name(X=18) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}=19) {19}{B}:name(X=19) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
auto=this(variable{hasevict}>0) this(variable{evictmc}>=20) {20}{B}:name(X=20) target(creature[evictname]|opponentexile) moveto(ownergraveyard)
text=Engulf - When Gelatinous Cube enters the battlefield, exile target non-Ooze creature an opponent controls until Gelatinous Cube leaves the battlefield. -- Dissolve-{X}{B}: Put target creature card with mana value X exiled with Gelatinous Cube into its owner's graveyard.
mana={2}{B}{B}
type=Creature
subtype=Ooze
power=4
toughness=3
[/card]
[card]
name=Gem of Becoming
auto={3}{T}{S}:name(search lands) ability$!name(Island) moveto(myhand) notatarget(*[island]|mylibrary)!$ controller && ability$!name(Swamp) moveto(myhand) notatarget(*[swamp]|mylibrary)!$ controller && ability$!name(Mountain) moveto(myhand) notatarget(*[mountain]|mylibrary)!$ controller
text={3}, {T}, Sacrifice Gem of Becoming: Search your library for an Island card, a Swamp card, and a Mountain card. Reveal those cards and put them into your hand. Then shuffle your library.
mana={3}
type=Artifact
[/card]
[card]
name=Gemrazer
abilities=reach,trample,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={1}{G}{G} name(Mutate)
auto=transforms((,newability[@mutated(this):target(*[artifact;enchantment]|opponentBattlefield) destroy]))
auto=ifnot paid(alternative) then transforms((,newability[becomes(,,green)])) forever all(this)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield) && transforms((,newability[becomes(,,green)])) forever
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {1}{G}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Reach, trample -- Whenever this creature mutates, destroy target artifact or enchantment an opponent controls.
mana={3}{G}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Gemstone Caverns
autohand=@each my upkeep restriction{compare(currentturn)~equalto~1}:may name(Start with gemstone in play) transforms((,newability[moveto(mybattlefield) and!( counter(0/0.1.luck) )!],newability[name(Exile card from hand) target(other *|myhand) moveto(myexile)])) oneshot
auto={T}:add{C}
auto=this(counter{0/0.1.luck}>0) {T}:add{W}
auto=this(counter{0/0.1.luck}>0) {T}:add{U}
auto=this(counter{0/0.1.luck}>0) {T}:add{G}
auto=this(counter{0/0.1.luck}>0) {T}:add{B}
auto=this(counter{0/0.1.luck}>0) {T}:add{R}
text=If Gemstone Caverns is in your opening hand and you're not playing first, you may begin the game with Gemstone Caverns on the battlefield with a luck counter on it. If you do, exile a card from your hand. -- {T}: Add {1} to your mana pool. If Gemstone Caverns has a luck counter on it, instead add one mana of any color to your mana pool.
type=Legendary Land
[/card]
[card]
name=General Ferrous Rokiric
auto=cantbetargetof(*[-multicolor;-colorless]|opponentBattlefield,opponenthand,opponentgraveyard,opponentstack)
auto=@movedto(*[multicolor]|mystack):name(Create golem) token(Golem,Creature Artifact Golem,4/4,red,white)
text=Hexproof from monocolored -- Whenever you cast a multicolored spell, create a 4/4 red and white Golem artifact creature token.
mana={1}{R}{W}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=1
[/card]
[card]
name=General Kudro of Drannith
auto=lord(other creature[human]|myBattlefield) 1/1
auto=moveTo(exile) target(*|opponentGraveyard)
auto=@movedto(other human|myBattlefield):moveTo(exile) target(*|opponentGraveyard)
auto={2}{S(human|myBattlefield)}{S(human|myBattlefield)}:destroy target(creature[power>=4])
text=Other Humans you control get +1/+1. -- Whenever General Kudro of Drannith or another Human enters the battlefield under your control, exile target card from an opponent's graveyard. -- {2}, Sacrifice two Humans: Destroy target creature with power 4 or greater.
mana={1}{W}{B}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=General's Enforcer
auto=lord(human[legendary]|myBattlefield) indestructible
auto={2}{W}{B}:moveTo(exile) target(creature|mygraveyard) && token(Human Soldier Gen)
auto={2}{W}{B}:moveTo(exile) target(creature|opponentGraveyard) && token(Human Soldier Gen)
auto={2}{W}{B}:moveTo(exile) target(*[-creature]|mygraveyard)
auto={2}{W}{B}:moveTo(exile) target(*[-creature]|opponentGraveyard)
text=Legendary Humans you control have indestructible. -- {2}{W}{B}: Exile target card from a graveyard. If it was a creature card, create a 1/1 white Human Soldier creature token.
mana={W}{B}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Generator Servant
auto={T}{S}:add{2} && emblem transforms((,newability[all(creature[fresh]|mybattlefield) haste ueot limit:1])) ueot
text={T}, Sacrifice Generator Servant: Add {2} to your mana pool. If that mana is spent on a creature spell, it gains haste until end of turn. (That creature can attack and {T} as soon as it comes under your control.)
mana={1}{R}
type=Creature
subtype=Elemental
power=2
toughness=1
[/card]
[card]
name=Generous Gift
target=*|battlefield
auto=destroy
auto=token(Elephant,Creature Elephant,3/3,green) targetController
text=Destroy target permanent. Its controller creates a 3/3 green Elephant creature token.
mana={2}{W}
type=Instant
[/card]
[card]
name=Generous Patron
auto=target(<upto:2>creature) counter(1/1)
auto=@counteradded(any) from(creature|opponentbattlefield):may draw:1 controller
text=When Generous Patron enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) -- Whenever you put one or more counters on a creature you don't control, draw a card.
mana={2}{G}
type=Creature
subtype=Elf Advisor
power=1
toughness=4
[/card]
[card]
name=Generous Soul
backside=Beloved Beggar
abilities=flying,vigilance,exiledeath
text=Flying, vigilance -- If Generous Soul would be put into a graveyard from anywhere, exile it instead. // Beloved Beggar
type=Creature
subtype=Spirit
color=white
power=4
toughness=4
[/card]
[card]
name=Generous Stray
auto=draw:1
text=When Generous Stray enters the battlefield, draw a card.
mana={2}{G}
type=Creature
subtype=Cat
power=1
toughness=2
[/card]
[card]
name=Genesis Storm
aicode=activate target(<pnumofcommandcastplus1plusend>*[-land;-instant;-sorcery]|mylibrary) moveto(mybattlefield)
auto=if compare(pnumofcommandcast)~equalto~0 then name(Reveal from top) name(Reveal from top) Reveal:1 revealzone(mylibrary) revealuntil(*[-land;-instant;-sorcery]|mylibrary) optionone choice name(Get non-land permanent) target(*[-land;-instant;-sorcery]|reveal) moveto(mybattlefield) optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=if compare(pnumofcommandcast)~morethan~0 then name(Reveal from top) name(Reveal from top) Reveal:type:*:mylibrary revealzone(mylibrary) optionone choice name(Get non-land permanents) target(<pnumofcommandcastplus1plusend>*[-land;-instant;-sorcery]|reveal) moveto(mybattlefield) optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -- Reveal cards from the top of your library until you reveal a nonland permanent card. You may put that card onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield on the bottom of your library in a random order.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Genesis Ultimatum
auto=name(Look) reveal:5 optionone name(Put a permanent) target(<anyamount>*[-instant;-sorcery]|reveal) moveto(myBattlefield) optiononeend optiontwo all(*|reveal) moveto(myHand) optiontwoend revealend
auto=moveTo(myExile)
text=Look at the top five cards of your library. Put any number of permanent cards from among them onto the battlefield and the rest into your hand. Exile Genesis Ultimatum.
mana={G}{G}{U}{U}{U}{R}{R}
type=Sorcery
[/card]
[card]
name=Geode Golem
abilities=trample
auto=@combatdamagefoeof(player) from(this):may activate castcard(normal) target(*[iscommander]|mycommandzone)
auto=@combatdamageof(player) from(this):may activate castcard(normal) target(*[iscommander]|mycommandzone)
text=Trample -- Whenever Geode Golem deals combat damage to a player, you may cast your commander from the command zone without paying its mana cost. (You still pay any additional costs.)
mana={5}
type=Artifact Creature
subtype=Golem
power=5
toughness=3
[/card]
[card]
name=Geode Rager
abilities=first strike
auto=_LANDFALL_name(Choose one) ability$!name(Choose one) choice name(Goad opponent creatures) all(creature|opponentBattlefield) _GOAD_ _ choice name(Goad your creatures) all(creature|myBattlefield) _GOAD_!$ controller
text=First strike -- Landfall - Whenever a land enters the battlefield under your control, goad each creature target player controls. (Until your next turn, those creatures attack each combat if able and attack a player other than you if able.)
mana={4}{R}{R}
type=Creature
subtype=Elemental
power=4
toughness=3
[/card]
[card]
name=Geomancer's Gambit
target=land
auto=draw:1
auto=destroy && ability$!name(search land) notatarget(land[basic]|mylibrary) moveTo(mybattlefield) and!(tap(noevent))!!$ targetcontroller
text=Destroy target land. Its controller may search their library for a basic land card, put it onto the battlefield, then shuffle their library. -- Draw a card.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Geometric Nexus
auto=@movedto(*[instant;sorcery;manacost=1]|stack):counter(0/0,1,Charge)
auto=@movedto(*[instant;sorcery;manacost=2]|stack):counter(0/0,2,Charge)
auto=@movedto(*[instant;sorcery;manacost=3]|stack):counter(0/0,3,Charge)
auto=@movedto(*[instant;sorcery;manacost=4]|stack):counter(0/0,4,Charge)
auto=@movedto(*[instant;sorcery;manacost=5]|stack):counter(0/0,5,Charge)
auto=@movedto(*[instant;sorcery;manacost=6]|stack):counter(0/0,6,Charge)
auto=@movedto(*[instant;sorcery;manacost=7]|stack):counter(0/0,7,Charge)
auto=@movedto(*[instant;sorcery;manacost=8]|stack):counter(0/0,8,Charge)
auto=@movedto(*[instant;sorcery;manacost=9]|stack):counter(0/0,9,Charge)
auto=@movedto(*[instant;sorcery;manacost=10]|stack):counter(0/0,10,Charge)
auto=@movedto(*[instant;sorcery;manacost=11]|stack):counter(0/0,11,Charge)
auto=@movedto(*[instant;sorcery;manacost=12]|stack):counter(0/0,12,Charge)
auto=@movedto(*[instant;sorcery;manacost=13]|stack):counter(0/0,13,Charge)
auto=@movedto(*[instant;sorcery;manacost=14]|stack):counter(0/0,14,Charge)
auto=@movedto(*[instant;sorcery;manacost=15]|stack):counter(0/0,15,Charge)
auto=@movedto(*[instant;sorcery;manacost=16]|stack):counter(0/0,16,Charge)
auto=@movedto(*[instant;sorcery;manacost=17]|stack):counter(0/0,17,Charge)
auto=@movedto(*[instant;sorcery;manacost=18]|stack):counter(0/0,18,Charge)
auto=@movedto(*[instant;sorcery;manacost=19]|stack):counter(0/0,19,Charge)
auto=@movedto(*[instant;sorcery;manacost>=20]|stack):counter(0/0,20,Charge)
auto={6}{T}:name(Remove all charge counters) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.hascntcharge) )! && removeallcounters(0/0,1,Charge)
text=Whenever a player casts an instant or sorcery spell, put a number of charge counters on Geometric Nexus equal to that spell's mana value. -- {6}, {T}, Remove all charge counters from Geometric Nexus: Create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is the number of charge counters removed this way.
mana={2}
type=Artifact
[/card]
[card]
name=Geosurge
auto=this(variable{type:*[creature;artifact]:myrestrictedcastingzone}>0) {T}:add{R}{R}{R}{R}{R}{R}{R}
text=Add {R}{R}{R}{R}{R}{R}{R} to your mana pool. Spend this mana only to cast artifact or creature spells.
mana={R}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Gerrard, Weatherlight Hero
abilities=first strike
auto=_DIES_moveto(exile) && moveTo(myBattlefield) all(creature[fresh]|graveyard) && moveTo(myBattlefield) all(artifact[fresh]|graveyard)
text=First strike -- When Gerrard, Weatherlight Hero dies, exile it and return to the battlefield all artifact and creature cards in your graveyard that were put there from the battlefield this turn.
mana={2}{R}{W}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Get the Point
target=creature
auto=destroy
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Destroy target creature. Scry 1.
mana={3}{B}{R}
type=Instant
[/card]
[card]
name=Ghalta, Primal Hunger
anyzone=changecost(colorless:-powertotalinplay) forcedalive
abilities=trample
text=This spell costs {X} less to cast, where X is the total power of creatures you control. -- Trample
mana={10}{G}{G}
type=Legendary Creature
subtype=Elder Dinosaur
power=12
toughness=12
[/card]
[card]
name=Ghastbark Twins
abilities=trample
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- Ghastbark Twins can block an additional creature each combat.
mana={5}{G}{G}
type=Creature
subtype=Treefolk
power=7
toughness=7
[/card]
[card]
name=Ghastly Gloomhunter
abilities=flying,lifelink
kicker={3}{W}
auto=if paid(kicker) then counter(1/1,2) all(this)
text=Kicker {3}{B} (You may pay an additional {3}{B} as you cast this spell.) -- Flying, lifelink -- If Ghastly Gloomhunter was kicked, it enters the battlefield with two +1/+1 counters on it.
mana={1}{B}
type=Creature
subtype=Zombie Bat
power=1
toughness=1
[/card]
[card]
name=Ghastly Haunting
target=creature
alias=1194
text=Enchant creature -- You control enchanted creature.
type=Enchantment
subtype=Aura
[/card]
[card]
name=Ghen, Arcanum Weaver
auto={R}{W}{B}{T}{S(enchantment|mybattlefield)}:moveto(mybattlefield) target(enchantment|mygraveyard)
text={R}{W}{B}, {T}, Sacrifice an enchantment: Return target enchantment card from your graveyard to the battlefield.
mana={R}{W}{B}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Ghired's Belligerence
auto=thisforeach(X) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature) damage:1!$ controller
text=Ghired's Belligerence deals X damage divided as you choose among any number of target creatures. Whenever a creature dealt damage this way dies this turn, populate. (Create a token that's a copy of a creature token you control.)
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Ghired, Conclave Exile
auto=token(Rhino,Creature Rhino,4/4,green,trample)
auto=@combat(attacking) restriction{type(creature[token]|mybattlefield)~morethan~0}:ability$! _POPULATE_ ninjutsu !$ controller
text=When Ghired, Conclave Exile enters the battlefield, create a 4/4 green Rhino creature token with trample. -- Whenever Ghired attacks, populate. The token enters the battlefield tapped and attacking. (To populate, create a token that's a copy of a creature token you control.)
mana={2}{R}{G}{W}
type=Legendary Creature
subtype=Human Shaman
power=2
toughness=5
[/card]
[card]
name=Ghitu Chronicler
kicker={3}{R}
auto=if paid(kicker) then target(instant,sorcery|mygraveyard) moveto(ownerhand)
text=Kicker {3}{R} (You may pay an additional {3}{R} as you cast this spell.) -- When Ghitu Chronicler enters the battlefield, if it was kicked, return target instant or sorcery card from your graveyard to your hand.
mana={1}{R}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Ghitu Fire
target=creature,player
abilities=flash
restriction=myturnonly
other={X}{2}{R} name(Cast as Instant)
auto=paidmana damage:X
auto=alternative damage:X
text=You may cast Ghitu Fire any time you could cast an instant if you pay {2} more to cast it. -- Ghitu Fire deals X damage to target creature or player.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Ghitu Journeymage
auto=aslongas(other wizard|myBattlefield) damage:2 opponent
text=When Ghitu Journeymage enters the battlefield, if you control another Wizard, Ghitu Journeymage deals 2 damage to each opponent.
mana={2}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Ghitu Lavarunner
auto=aslongas(instant,sorcery|myGraveyard) 1/0 >1
auto=aslongas(instant,sorcery|myGraveyard) haste >1
text=As long as there are two or more instant and/or sorcery cards in your graveyard, Ghitu Lavarunner gets +1/+0 and has haste.
mana={R}
type=Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Ghor-Clan Wrecker
abilities=menace
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Menace (This creature can't be blocked except by two or more creatures.)
mana={3}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Ghost of Ramirez DePietro
abilities=partner
auto=cantbeblockedby(creature[power>=3])
auto=@combatdamaged(player) from(this):target(*[fresh]|graveyard) moveto(ownerhand)
text=Ghost of Ramirez DePietro can't be blocked by creatures with toughness 3 or greater. -- Whenever Ghost of Ramirez DePietro deals combat damage to a player, choose up to one target card in a graveyard that was discarded or put there from a library this turn. Put that card into its owner's hand. -- Partner (You can have two commanders if both have partner.)
mana={2}{U}
type=Legendary Creature
subtype=Spirit Pirate
power=2
toughness=3
[/card]
[card]
name=Ghost-Lit Drifter
abilities=flying
autohand={1}{U}{D}:name(1 creature gains flying) target(creature|battlefield) transforms((,newability[flying])) ueot
autohand={2}{U}{D}:name(2 creatures gains flying) target(<2>creature|battlefield) transforms((,newability[flying])) ueot
autohand={3}{U}{D}:name(3 creatures gains flying) target(<3>creature|battlefield) transforms((,newability[flying])) ueot
autohand={4}{U}{D}:name(4 creatures gains flying) target(<4>creature|battlefield) transforms((,newability[flying])) ueot
autohand={5}{U}{D}:name(5 creatures gains flying) target(<5>creature|battlefield) transforms((,newability[flying])) ueot
autohand={6}{U}{D}:name(6 creatures gains flying) target(<6>creature|battlefield) transforms((,newability[flying])) ueot
autohand={7}{U}{D}:name(7 creatures gains flying) target(<7>creature|battlefield) transforms((,newability[flying])) ueot
autohand={8}{U}{D}:name(8 creatures gains flying) target(<8>creature|battlefield) transforms((,newability[flying])) ueot
autohand={9}{U}{D}:name(9 creatures gains flying) target(<9>creature|battlefield) transforms((,newability[flying])) ueot
autohand={10}{U}{D}:name(10 creatures gains flying) target(<10>creature|battlefield) transforms((,newability[flying])) ueot
autohand={11}{U}{D}:name(11 creatures gains flying) target(<11>creature|battlefield) transforms((,newability[flying])) ueot
autohand={12}{U}{D}:name(12 creatures gains flying) target(<12>creature|battlefield) transforms((,newability[flying])) ueot
autohand={13}{U}{D}:name(13 creatures gains flying) target(<13>creature|battlefield) transforms((,newability[flying])) ueot
autohand={14}{U}{D}:name(14 creatures gains flying) target(<14>creature|battlefield) transforms((,newability[flying])) ueot
autohand={15}{U}{D}:name(15 creatures gains flying) target(<15>creature|battlefield) transforms((,newability[flying])) ueot
autohand={16}{U}{D}:name(16 creatures gains flying) target(<16>creature|battlefield) transforms((,newability[flying])) ueot
autohand={17}{U}{D}:name(17 creatures gains flying) target(<17>creature|battlefield) transforms((,newability[flying])) ueot
autohand={18}{U}{D}:name(18 creatures gains flying) target(<18>creature|battlefield) transforms((,newability[flying])) ueot
autohand={19}{U}{D}:name(19 creatures gains flying) target(<19>creature|battlefield) transforms((,newability[flying])) ueot
autohand={20}{U}{D}:name(20 creatures gains flying) target(<20>creature|battlefield) transforms((,newability[flying])) ueot
auto={2}{U}:target(other creature|battlefield) transforms((,newability[flying])) ueot
text=Flying -- {2}{U}: Another target creature gains flying until end of turn. -- Channel-{X}{U}, Discard Ghost-Lit Drifter: X target creatures gain flying until end of turn.
mana={2}{U}
type=Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Ghostfire Blade
auto={3}:equip
auto={1}:rehook target(creature[colorless]|mybattlefield)
auto=teach(creature) 2/2
text=Equipped creature gets +2/+2. -- Equip {3} -- Ghostfire Blade's equip ability costs {2} less to activate if it targets a colorless creature.
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Ghostly Castigator
abilities=flying,exiledeath
backside=Covetous Castaway
auto=may name(Shuffle back 3 cards) target(<upto:3>*|mygraveyard) moveto(mylibrary) and!( shuffle )!
text=Flying -- When Ghostly Castigator enters the battlefield, shuffle up to three target cards from your graveyard into your library. -- If Ghostly Castigator would be put into a graveyard from anywhere, exile it instead. // Covetous Castaway
type=Creature
subtype=Spirit
color=blue
power=3
toughness=4
[/card]
[card]
name=Ghostly Pilferer
auto=@untapped(this):name(pay 2 to draw) pay[[{2}]] name(Pay 2) draw:1 controller
auto=@movedTo(*|opponentStack) from(graveyard):draw:1 controller
auto=@movedTo(*|opponentStack) from(library):draw:1 controller
auto=@movedTo(*|opponentStack) from(sideboard):draw:1 controller
auto=@movedTo(*|opponentStack) from(exile):draw:1 controller
auto=@movedTo(*|opponentStack) from(commandzone):draw:1 controller
auto={D(*|myhand)}:unblockable ueot
text=Whenever Ghostly Pilferer becomes untapped, you may pay {2}. If you do, draw a card. -- Whenever an opponent casts a spell from anywhere other than their hand, draw a card. -- Discard a card: Ghostly Pilferer can't be blocked this turn.
mana={1}{U}
type=Creature
subtype=Spirit Rogue
power=2
toughness=1
[/card]
[card]
name=Ghoulcaller's Harvest
flashback={3}{B}{G}
auto=token(Zombie Dec)*halfuptype:creature:mygraveyard
text=Create X 2/2 black Zombie creature tokens with decayed, where X is half the number of creature cards in your graveyard, rounded up. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.) -- Flashback {3}{B}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={B}{G}
type=Sorcery
[/card]
[card]
name=Ghoulish Procession
auto=@movedto(creature[-token]|graveyard) from(battlefield) turnlimited:name(Create zombie) token(Zombie Dec)
text=Whenever one or more nontoken creatures die, create a 2/2 black Zombie creature token with decayed. This ability triggers only once each turn. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.)
mana={1}{B}
type=Enchantment
[/card]
[card]
name=Ghouls' Night Out
auto=name(Return your creature) target(creature|mygraveyard) moveto(mybattlefield) and!( transforms((Zombie,newcolors[black],newability[decayed],newability[cantblock],newability[@combat(attacking) source(this):counter(0/0.1.Decayed)],newability[@combat(attacking) source(this):phaseaction[combatends sourceinplay] sacrifice])) forever )!
auto=ability$!name(Return opponent creature) name(Return opponent creature) target(creature|opponentgraveyard) moveto(mybattlefield) and!( transforms((Zombie,newcolors[black],newability[decayed],newability[cantblock],newability[@combat(attacking) source(this):counter(0/0.1.Decayed)],newability[@combat(attacking) source(this):phaseaction[combatends sourceinplay] sacrifice])) forever )! !$ controller
text=For each player, choose a creature card in that player's graveyard. Put those cards onto the battlefield under your control. They're black Zombies in addition to their other colors and types and they gain decayed. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.)
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Giant Killer // Chop Down
abilities=adventure,asflash
restriction=can play creature
other={2}{W} name(Adventure)
auto=if paid(alternative) then name(Destroy creature) name(Destroy creature) target(creature[power>=4]|battlefield) destroy
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto={1}{W}{T}:target(creature) tap(noevent)
text={1}{W}, {T}: Tap target creature. // Destroy target creature with power 4 or greater. (Then exile this card. You may cast the creature later from exile.)
mana={W}
type=Creature
subtype=Human Peasant
power=1
toughness=2
[/card]
[card]
name=Giant Opportunity
target=creature
other={2}{G}{S(food|myBattlefield)}{S(food|myBattlefield)} name(Sacrifice Foods)
auto=if paid(alternative) then token(Giant,creature Giant,7/7,green)
auto=ifnot paid(alternative) then token(Food)*3
text=You may sacrifice two Foods. If you do, create a 7/7 green Giant creature token. Otherwise, create three Food tokens. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Giant Ox
text=Giant Ox crews Vehicles using its toughness rather than its power.
mana={1}{W}
type=Creature
subtype=Ox
power=0
toughness=6
[/card]
[card]
name=Giant Slug
auto={5}:transforms((,newability[phaseaction[my upkeep sourceinplay]:forestwalk ueot])) forever
auto={5}:transforms((,newability[phaseaction[my upkeep sourceinplay]:mountainwalk ueot])) forever
auto={5}:transforms((,newability[phaseaction[my upkeep sourceinplay]:islandwalk ueot])) forever
auto={5}:transforms((,newability[phaseaction[my upkeep sourceinplay]:plainswalk ueot])) forever
auto={5}:transforms((,newability[phaseaction[my upkeep sourceinplay]:swampwalk ueot])) forever 
text={5}: At the beginning of your next upkeep, choose a basic land type. Giant Slug gains landwalk of the chosen type until the end of that turn.
mana={1}{B}
type=Creature
subtype=Slug
power=1
toughness=1
[/card]
[card]
name=Giant Turtle
auto=@each my combatends restriction{didattack}:transforms((,newability[counter(0/0.1.TurtleEffect)],newability[@each my end restriction{didntattack}:counter(0/0.-1.TurtleEffect)])) forever
auto=this(counter{0/0.1.TurtleEffect}>0) cantattack
auto=this(counter{0/0.1.TurtleEffect}>0) cantpwattack
text=Giant Turtle can't attack if it attacked during your last turn.
mana={1}{G}{G}
type=Creature
subtype=Turtle
power=2
toughness=4
[/card]
[card]
name=Giant's Amulet
autostack=may name(Create giant and attach) pay({3}{U}) name(Create giant and attach) moveTo(mybattlefield) and!( transforms((,newability[token(Giant^Creature Giant Wizard^4/4^blue),newability[rehook target(warrior[token;giant;fresh]|mybattlefield)])) oneshot )!
auto={2}:equip
auto=teach(creature) 0/1
auto=teach(creature) transforms((,newability[this(variable{tapped}<1) opponentshroud]))
text=When Giant's Amulet enters the battlefield, you may pay {3}{U}. If you do, create a 4/4 blue Giant Wizard creature token, then attach Giant's Amulet to it. -- Equipped creature gets +0/+1 and has "This creature has hexproof as long as it's untapped." (It can't be the target of spells or abilities your opponents control.)
mana={U}
type=Artifact
subttype=Equipment
[/card]
[card]
name=Giant's Grasp
target=giant|mybattlefield
auto=name(Gain control of nonland permanent) steal target(*[-land]|opponentbattlefield)
text=Enchant Giant you control -- When Giant's Grasp enters the battlefield, gain control of target nonland permanent for as long as Giant's Grasp remains on the battlefield.
mana={2}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Giant's Skewer
auto={3}:equip
auto=teach(creature) 2/1
auto=teach(creature) transforms((,newability[@combatdamaged(creature) from(this):token(Food)]))
text=Equipped creature gets +2/+1. -- Whenever equipped creature deals combat damage to a creature, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Gideon's Battle Cry
auto=all(creature|myBattlefield) counter(1/1)
auto=target(planeswalker[gideon&manacost=6]|mylibrary) moveto(myhand)
text=Put a +1/+1 counter on each creature you control. You may search your library and/or graveyard for a card named Gideon, the Oathsworn, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Gideon's Company
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1,2)
auto={3}{W}:counter(0/0,1,Loyalty) target(planeswalker[gideon])
text=Whenever you gain life, put two +1/+1 counters on Gideon's Company. -- {3}{W}: Put a loyalty counter on target Gideon planeswalker.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Gideon's Defeat
target=creature[white;attacking;blocking]
auto=moveto(exile)
auto=if casted(this) then if type(gideon|opponentbattlefield)~morethan~0 life:5 controller
text=Exile target white creature that's attacking or blocking. If it was a Gideon planeswalker, you gain 5 life.
mana={W}
type=Instant
[/card]
[card]
name=Gideon's Intervention
auto=chooseanameopp lord(*|mybattlefield) transforms((,newability[maxcast(*[chosenname])0 opponent],newability[protection from (*[chosenname])],newability[preventalldamage to(controller) from(*[chosenname])])) chooseend nonland
text=As Gideon's Intervention enters the battlefield, choose a card name. -- Your opponents can't cast spells with the chosen name. -- Prevent all damage that would be dealt to you and permanents you control by sources with the chosen name.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Gideon's Resolve
auto=may moveto(myhand) target(Gideon^ Martial Paragon|mylibrary)
auto=lord(creature|mybattlefield) 1/1
text=When Gideon's Resolve enters the battlefield, you may search your library and/or graveyard for a card named Gideon, Martial Paragon, reveal it, and put it into your hand. If you search your library this way, shuffle it. -- Creatures you control get +1/+1.
mana={4}{W}
type=Enchantment
[/card]
[card]
name=Gideon's Triumph
target=player
auto=ability$!name(sacrifice) target(creature[attacking;blocking]|mybattlefield) sacrifice!$ targetedplayer
auto=aslongas(planeswalker[Gideon]|mybattlefield) ability$!name(sacrifice) target(creature[attacking;blocking]|mybattlefield) sacrifice!$ targetedplayer
text=Target opponent sacrifices a creature that attacked or blocked this turn. If you control a Gideon planeswalker, that player sacrifices two of those creatures instead.
mana={1}{W}
type=Instant
[/card]
[card]
name=Gift of Growth
kicker={2}
auto=Kicker 2/2
target=creature
auto=Untap 
auto=+2/+2
text=Kicker {2} (You may pay an additional {2} as you cast this spell.) -- Untap target creature. It gets +2/+2 until end of turn. If this spell was kicked, that creature gets +4/+4 until end of turn instead.
mana={1}{G}
type=Instant
[/card]
[card]
name=Gift of Paradise
target=land
auto=life:3 controller
auto=teach(land) {T}:add{G}{G}
auto=teach(land) {T}:add{W}{W}
auto=teach(land) {T}:add{U}{U}
auto=teach(land) {T}:add{B}{B}
auto=teach(land) {T}:add{R}{R}
text=Enchant land -- When Gift of Paradise enters the battlefield, you gain 3 life. -- Enchanted land has "{T}: Add two mana of any one color to your mana pool."
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Gift of Strength
target=creature
auto=3/3
auto=reach
text=Target creature gets +3/+3 and gains reach until end of turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Gigadrowse
abilities=hasnokicker,hasreplicate
target=*|battlefield
kicker=multi{U} name(Replicate)
auto=name(Tap creature) tap
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Gigadrowse) name(Copy Gigadrowse) activate castcard(copied noevent named!:Gigadrowse:!)!$ controller
text=Replicate {U} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Tap target permanent.
mana={U}
type=Instant
[/card]
[card]
name=Gigantosaurus
mana={G}{G}{G}{G}{G}
type=Creature
subtype=Dinosaur
power=10
toughness=10
[/card]
[card]
name=Gilanra, Caller of Wirewood
abilities=partner
auto={T}:transforms((,newability[add{G}],newability[@movedto(*[manacost>=6]|mystack):draw:1 controller limit:1])) ueot
text={T}: Add {G}. When you spend this mana to cast a spell with converted mana cost 6 or greater, draw a card. -- Partner (You can have two commanders if both have partner.)
mana={2}{G}
type=Legendary Creature
subtype=Elf Druid
power=1
toughness=2
[/card]
[card]
name=Gilded Assault Cart
abilities=trample
auto={crew(other creature[power>=2]|myBattlefield)}:name(crew 2 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~1}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 2 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~1}
autograveyard={S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}:moveTo(myhand)
text=Trample -- Crew 2 (Tap any number of creatures you control with total power 2 or more: This Vehicle becomes an artifact creature until end of turn.) -- Sacrifice two Treasures: Return Gilded Assault Cart from your graveyard to your hand.
mana={1}{R}{R}
type=Artifact
subtype=Vehicle
power=5
toughness=1
[/card]
[card]
name=Gilded Cerodon
auto=_ATTACKING_aslongas(Desert|mybattlefield,myGraveyard) target(creature) cantblock ueot
text=Whenever Gilded Cerodon attacks, if you control a Desert or there is a Desert card in your graveyard, target creature can't block this turn.
mana={4}{R}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Gilded Goose
abilities=flying
auto=token(Food)
auto={1}{G}{T}:token(Food)
auto={T}{S(food|myBattlefield)}:add{W}
auto={T}{S(food|myBattlefield)}:add{U}
auto={T}{S(food|myBattlefield)}:add{R}
auto={T}{S(food|myBattlefield)}:add{G}
auto={T}{S(food|myBattlefield)}:add{B}
text=Flying -- When Gilded Goose enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- {1}{G}, {T}: Create a Food token. -- {T}, Sacrifice a Food: Add one mana of any color.
mana={G}
type=Creature
subtype=Bird
power=0
toughness=2
[/card]
[card]
name=Gilded Light
abilities=cycling
auto=playershroud ueot
autohand=__CYCLING__({2})
text=You gain shroud until end of turn. (You can't be the target of spells or abilities.) -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Gilded Sentinel
mana={4}
type=Artifact Creature
subtype=Golem
power=3
toughness=3
[/card]
[card]
name=Gilder Bairn
auto={2}{GU}{Q}:name(Add counter to a permanent) name(Add counter to a permanent) target(*[counter{any}]|battlefield) duplicatecounters(all,single)
text={2}{GU}, {Q}: For each counter on target permanent, put another of those counters on that permanent. ({Q} is the untap symbol.)
mana={1}{GU}{GU}
type=Creature
subtype=Ouphe
power=1
toughness=3
[/card]
[card]
name=Gilt-Blade Prowler
auto=@discarded(*|myHand) turnlimited:all(this) transforms((,newability[{1}{T}{L:1}:draw:1 controller])) ueot
text={1}, {T}, Pay 1 life: Draw a card. Activate only if you've discarded a card this turn.
mana={2}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=3
[/card]
[card]
name=Gilt-Leaf Winnower
abilities=menace
auto=may name(Destroy non-elf) target(creature[-elf]) transforms((,newability[if compare(power)~morethan~compare(toughness) then destroy],newability[if compare(power)~lessthan~compare(toughness) then destroy])) oneshot
text=Menace (This creature can't be blocked except by two or more creatures.) -- When Gilt-Leaf Winnower enters the battlefield, you may destroy target non-Elf creature whose power and toughness aren't equal.
mana={3}{B}{B}
type=Creature
subtype=Elf Warrior
power=4
toughness=3
[/card]
[card]
name=Giltgrove Stalker
auto=cantbeblockedby(creature[power<=2])
text=Giltgrove Stalker can't be blocked by creatures with power 2 or less.
mana={1}{G}
type=Creature
subtype=Merfolk Warrior
power=2
toughness=1
[/card]
[card]
name=Gingerbread Cabin
auto=aslongas(other land[forest]|myBattlefield) tap(noevent) <3 oneshot
auto=aslongas(other land[forest]|myBattlefield) >2 token(Food) once 
text={T}: Add {G}. -- Gingerbread Cabin enters the battlefield tapped unless you control three or more other Forests. -- When Gingerbread Cabin enters the battlefield untapped, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
type=Land
subtype=Forest
[/card]
[card]
name=Gingerbrute
abilities=haste
auto={1}:cantbeblockedby(creature[-haste])
auto={2}{T}{S}:life:3
text=Haste -- {1}: Gingerbrute can't be blocked this turn except by creatures with haste. -- {2}, {T}, Sacrifice Gingerbrute: You gain 3 life.
mana={1}
type=Artifact Creature
subtype=Food Golem
power=1
toughness=1
[/card]
[card]
name=Gird for Battle
target=<upto:2>creature
auto=counter(1/1)
text=Put a +1/+1 counter on each of up to two target creatures.
mana={W}
type=Sorcery
[/card]
[card]
name=Gisa, Glorious Resurrector
auto=@movedto(creature|graveyard) from(opponentbattlefield):name(Exile creature) all(trigger[to]) moveto(opponentexile) and!( counter(0/0.1.GisaExiled) )!
auto=@each my upkeep restriction{type(creature|opponentexile)~morethan~0}:name(Put exile creatures in play) name(Put exile creatures in play) all(creature[counter[{0/0.1.GisaExiled}]|opponentexile) moveto(mybattlefield) and!( transforms((,newability[decayed],newability[cantblock],newability[@combat(attacking) source(this):counter(0/0.1.Decayed)],newability[@combat(attacking) source(this):phaseaction[combatends sourceinplay] sacrifice])) forever )!
text=If a creature an opponent controls would die, exile it instead. -- At the beginning of your upkeep, put all creature cards exiled with Gisa, Glorious Resurrector onto the battlefield under your control. They gain decayed. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.)
mana={2}{B}{B}
type=Legendary Creature
subtype=Human Wizard
power=4
toughness=4
[/card]
[card]
name=Gishath, Sun's Avatar
abilities=vigilance,trample,haste
auto=@combatdamaged(player) from(this):name(Reveal cards) reveal:thatmuch optionone name(Get dinosaurs) target(<anyamount>creature[dinosaur]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
text=Trample, vigilance, haste -- Whenever Gishath, Sun's Avatar deals combat damage to a player, reveal that many cards from the top of your library. Put any number of Dinosaur creature cards from among them onto the battlefield and the rest on the bottom of your library in a random order.
mana={5}{R}{G}{W}
type=Legendary Creature
subtype=Dinosaur Avatar
power=7
toughness=6
[/card]
[card]
name=Give // Take
target=creature
abilities=hasnokicker
other={2}{U} name(Take)
kicker={2}{U} name(Fuse)
otherrestriction=type(creature|mybattlefield)~morethan~0
auto=if paid(alternative) then transforms((,newability[thisforeach(counter{1/1}>0) draw:1 controller],newability[thisforeach(counter{1/1}>0) counter(1/1.-1)])) oneshot
auto=ifnot paid(alternative) then counter(1/1,3)
auto=if paid(kicker) then ability$!name(Remove all 1/1 counters) name(Remove all 1/1 counters) target(creature|mybattlefield) transforms((,newability[thisforeach(counter{1/1}>0) draw:1 controller],newability[thisforeach(counter{1/1}>0) counter(1/1.-1)])) oneshot!$ controller
text=Put three +1/+1 counters on target creature. //  Remove all +1/+1 counters from target creature you control. Draw that many cards. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Give No Ground
target=creature
auto=2/6 ueot
text=Target creature gets +2/+6 until end of turn and can block any number of creatures this turn.
mana={3}{W}
type=Instant
[/card]
[card]
name=Giver of Runes
auto={T}:name(protection from white) target(creature|myBattlefield) protection from white
auto={T}:name(protection from blue) target(creature|myBattlefield) protection from blue
auto={T}:name(protection from black) target(creature|myBattlefield) protection from black
auto={T}:name(protection from red) target(creature|myBattlefield) protection from red
auto={T}:name(protection from green) target(creature|myBattlefield) protection from green
auto={T}:name(protection from colorless)target(creature|myBattlefield) protection from colorless
text={T}: Another target creature you control gains protection from colorless or from the color of your choice until end of turn.
mana={W}
type=Creature
subtype=Kor Cleric
power=1
toughness=2
[/card]
[card]
name=Glacial Floodplain
auto=tap(noevent)
text=({T}: Add {W} or {U}.) -- Glacial Floodplain enters the battlefield tapped.
type=Snow Land
subtype=Plains Island
[/card]
[card]
name=Glacial Grasp
target=creature
auto=freeze
auto=deplete:2 targetcontroller
auto=draw:1 controller
text=Tap target creature. Its controller mills two cards. That creature doesn't untap during its controller's next untap step. (They put the top two cards of their library into their graveyard.) -- Draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Glacial Plating
target=creature
auto=cumulativeupcost[{i}] moveto(mygraveyard)
auto=thisforeach(counter{0/0.1.Age}>0) teach(creature) 3/3
text=Enchant creature -- Cumulative upkeep {S{i} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it. {S{i} can be paid with one mana from a snow permanent.) -- Enchanted creature gets +3/+3 for each age counter on Glacial Plating.
mana={2}{W}{W}
type=Snow Enchantment
subtype=Aura
[/card]
[card]
name=Glacial Revelation
aicode=activate all(snow[zpos<=6]|mylibrary) moveto(myHand) && all(*[-snow;zpos<=6]|mylibrary) moveto(mygraveyard)
auto=name(Look) reveal:6 optionone name(Get Snow) target(<anyamount>*[snow]|reveal) moveto(myHand) optiononeend optiontwo all(*|reveal) moveto(graveyard) optiontwoend revealend
text=Reveal the top six cards of your library. You may put any number of snow permanent cards from among them into your hand. Put the rest into your graveyard.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Glacian, Powerstone Engineer
abilities=partner
auto={T}{T(artifact[-tapped]|myBattlefield)}:name(Tap 1 artifact) name(Tap 1 artifact) reveal:1 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 2 artifact) name(Tap 2 artifact) reveal:2 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 3 artifact) name(Tap 3 artifact) reveal:3 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 4 artifact) name(Tap 4 artifact) reveal:4 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 5 artifact) name(Tap 5 artifact) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 6 artifact) name(Tap 6 artifact) reveal:6 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 7 artifact) name(Tap 7 artifact) reveal:7 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 8 artifact) name(Tap 8 artifact)  reveal:8 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 9 artifact) name(Tap 9 artifact) reveal:9 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 10 artifact) name(Tap 10 artifact) reveal:10 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 11 artifact) name(Tap 11 artifact) reveal:11 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 12 artifact) name(Tap 12 artifact) reveal:12 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 13 artifact) name(Tap 13 artifact) reveal:13 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 14 artifact) name(Tap 14 artifact) reveal:14 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 15 artifact) name(Tap 15 artifact) reveal:15 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 16 artifact) name(Tap 16 artifact) reveal:16 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 17 artifact) name(Tap 17 artifact) reveal:17 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 18 artifact) name(Tap 18 artifact) reveal:18 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 19 artifact) name(Tap 19 artifact) reveal:19 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 20 artifact) name(Tap 20 artifact) reveal:20 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text={T}, Tap X untapped artifacts you control: Look at the top X cards of your library. Put one of those cards into your hand and the rest into your graveyard. -- Partner (You can have two commanders if both have partner.)
mana={5}{U}
type=Legendary Creature
subtype=Human Artificer
power=3
toughness=6
[/card]
[card]
name=Glademuse
auto=@movedTo(*|opponentStack): restriction{myturnonly} then draw:1 opponent
auto=@movedTo(*|myStack): restriction{opponentturnonly} then draw:1 controller
text=Whenever a player casts a spell, if it's not their turn, that player draws a card.
mana={2}{G}
type=Creature
subtype=Beast
power=2
toughness=4
[/card]
[card]
name=Gladewalker Ritualist
abilities=changeling
auto=@movedto(other creature[Gladewalker Ritualist]|mybattlefield):draw:1 controller
text=Changeling (This card is every creature type.) -- Whenever another creature named Gladewalker Ritualist enters the battlefield under your control, draw a card.
mana={2}{G}
type=Creature
subtype=Shapeshifter
power=3
toughness=3
[/card]
[card]
name=Glaive of the Guildpact
auto=teach(creature) foreach(Gate|myBattlefield) 1/0 
auto=teach(creature) vigilance
auto=teach(creature) menace
auto={3}:equip
text=Equipped creature gets +1/+0 for each Gate you control and has vigilance and menace. (A creature with menace can't be blocked except by two or more creatures.) -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Glarecaster
abilities=flying
auto={5}{W}:transforms((,newability[undamageable],newability[_ENRAGE_damage:thatmuch target(player^creature)],newability[@damageof(player):life:thatmuch controller && damage:thatmuch target(player^creature)])) ueot
text=Flying -- {5}{W}: The next time damage would be dealt to Glarecaster and/or you this turn, that damage is dealt to target creature or player instead.
mana={4}{W}{W}
type=Creature
subtype=Bird Cleric
power=3
toughness=3
[/card]
[card]
name=Glass Asp
auto=@combatdamaged(player) from(this):ability$!name(pay or lifeloss) pay[[{2}]] donothing?life:-2!$ opponent
text=Whenever Glass Asp deals combat damage to a player, that player loses 2 life at the beginning of his or her next draw step unless he or she pays {2} before that step.
mana={1}{G}{G}
type=Creature
subtype=Snake
power=2
toughness=1
[/card]
[card]
name=Glass Casket
auto=(blink)forsrc target(creature[manacost<=3]|opponentbattlefield)
text=When Glass Casket enters the battlefield, exile target creature an opponent controls with converted mana cost {3} or less until Glass Casket leaves the battlefield.
mana={1}{W}
type=Artifact
[/card]
[card]
name=Glass of the Guildpact
auto=lord(creature[multicolor]|myBattlefield) +1/+1
text=Multicolored creatures you control get +1/+1.
mana={2}
type=Artifact
[/card]
[card]
name=Glasspool Mimic
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Glasspool Shore)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Glasspool Shore) name(Glasspool Shore) flip(Glasspool Shore) forcetype(land)
auto=name(Clone a creature) name(Clone a creature) may notatarget(creature|myBattlefield) clone addtype(Shapeshifter Rogue)
text=You may have Glasspool Mimic enter the battlefield as a copy of a creature you control, except it's a Shapeshifter Rogue in addition to its other types. // Glasspool Shore
mana={2}{U}
type=Creature
subtype=Shapeshifter Rogue
power=0
toughness=0
[/card]
[card]
name=Glasspool Shore
auto=tap(noevent)
auto={T}:add{U}
text=Glasspool Shore enters the battlefield tapped. -- {T}: Add {U}. // {2}{U} Glasspool Mimic
type=Land
[/card]
[card]
name=Gleaming Barrier
abilities=defender
auto=_DIES_token(Treasure Sur)
text=Defender -- When Gleaming Barrier dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}
type=Artifact Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Gleaming Overseer
auto=_AMASS_(1)
auto=lord(Zombie[token]|myBattlefield) opponentshroud
auto=lord(Zombie[token]|myBattlefield) menace
text=When Gleaming Overseer enters the battlefield, amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) -- Zombie tokens you control have hexproof and menace.
mana={1}{U}{B}
type=Creature
subtype=Zombie Wizard
power=1
toughness=4
[/card]
[card]
name=Gleemox
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text={T}: Add one mana of any color to your mana pool. -- This card is banned.
mana={0}
type=Artifact
[/card]
[card]
name=Glimmer Bairn
auto={S(*[token]|myBattlefield)}:name(Gets 2/2) 2/2 ueot
text=Sacrifice a token: Glimmer Bairn gets +2/+2 until end of turn.
mana={G}
type=Creature
subtype=Ouphe
power=1
toughness=2
[/card]
[card]
name=Glimmerbell
abilities=flying
auto={1}{U}:untap(this)
text=Flying -- {1}{U}: Untap Glimmerbell.
mana={1}{U}
type=Creature
subtype=Elemental Jellyfish
power=1
toughness=3
[/card]
[card]
name=Glimpse of Freedom
auto=draw:1 controller
retrace={2}{U}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Draw a card. -- Escape-{2}{U}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Glimpse of Tomorrow
suspend(3)={R}{R}
auto=count(type:*:mybattlefield)
auto=all(*|myBattlefield) moveto(myLibrary) and!( shuffle )!
auto=name(search card) reveal:countedamount optionone name(Choose non-aura cards) target(<countedamount>*[-aura;-instant;-sorcery]|reveal) moveto(mybattlefield) and!( all(*[aura]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(myBattlefield) afterrevealedend revealend
text=Suspend 3-{R}{R} -- Shuffle all permanents you own into your library, then reveal that many cards from the top of your library. Put all non-Aura permanent cards revealed this way onto the battlefield, then do the same for Aura cards, then put the rest on the bottom of your library in a random order.
mana={0}
color=red
restriction=never
type=Sorcery
[/card]
[card]
name=Glimpse the Cosmos
aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand)
auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=if paid(alternative) then moveTo(exile)
autograveyard={U} restriction{type(giant|mybattlefield)~morethan~0}:activate castcard(alternative)
text=Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. -- As long as you control a Giant, you may cast Glimpse the Cosmos from your graveyard by paying {U} rather than paying its mana cost. If you cast Glimpse the Cosmos this way and it would be put into your graveyard, exile it instead.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Glint-Horn Buccaneer
abilities=haste
auto=@discarded(*|myhand):damage:1 opponent
auto=this(attacking) {1}{R}{D(*|myhand)}:draw:1 controller
text=Haste -- Whenever you discard a card, Glint-Horn Buccaneer deals 1 damage to each opponent. -- {1}{R}, Discard a card: Draw a card. Activate this ability only if Glint-Horn Buccaneer is attacking.
mana={1}{R}{R}
type=Creature
subtype=Minotaur Pirate
power=2
toughness=4
[/card]
[card]
name=Glinting Creeper
auto=cantbeblockedby(creature[power<=2])
auto=counter(1/1,twiceconverge)
text=Converge - Glinting Creeper enters the battlefield with two +1/+1 counters on it for each color of mana spent to cast it. -- Glinting Creeper can't be blocked by creatures with power 2 or less.
mana={4}{G}
type=Creature
subtype=Plant
power=0
toughness=0
[/card]
[card]
name=Glissa Sunseeker
abilities=first strike
auto={T}:name(destroy artifact) name(destroy artifact) destroy target(artifact[manacost=mypoolcount])
text=First strike -- {T}: Destroy target artifact if its converted mana cost is equal to the amount of mana in your mana pool.
mana={2}{G}{G}
type=Legendary Creature
subtype=Elf
power=3
toughness=2
[/card]
[card]
name=Glittering Frost
target=land
auto=teach(land) becomes(snow)
auto=teach(land) transforms((,newability[@tappedformana(this):chooseacolor add{chosencolor} chooseend]))
text=Enchant land -- Enchanted land is snow. -- Whenever enchanted land is tapped for mana, its controller adds an additional one mana of any color.
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Global Ruin
auto=ability$!name(Sacrifice forests) name(Sacrifice forests) target(<type:forest:mybattlefieldminus1minusend>forest|mybattlefield) sacrifice!$ controller
auto=ability$!name(Sacrifice plains) name(Sacrifice plains) target(<type:plains:mybattlefieldminus1minusend>plains|mybattlefield) sacrifice!$ controller
auto=ability$!name(Sacrifice mountains) name(Sacrifice mountains) target(<type:mountain:mybattlefieldminus1minusend>mountain|mybattlefield) sacrifice!$ controller
auto=ability$!name(Sacrifice swamps) name(Sacrifice swamps) target(<type:swamp:mybattlefieldminus1minusend>swamp|mybattlefield) sacrifice!$ controller
auto=ability$!name(Sacrifice islands) name(Sacrifice islands) target(<type:island:mybattlefieldminus1minusend>island|mybattlefield) sacrifice!$ controller
auto=ability$!name(Sacrifice other lands) name(Sacrifice other lands) all(land[-forest;-plains;-swamp;-mountain;-island]|mybattlefield) sacrifice!$ controller
auto=ability$!name(Sacrifice forests) name(Sacrifice forests) target(<type:forest:mybattlefieldminus1minusend>forest|mybattlefield) sacrifice!$ opponent
auto=ability$!name(Sacrifice plains) name(Sacrifice plains) target(<type:plains:mybattlefieldminus1minusend>plains|mybattlefield) sacrifice!$ opponent
auto=ability$!name(Sacrifice mountains) name(Sacrifice mountains) target(<type:mountain:mybattlefieldminus1minusend>mountain|mybattlefield) sacrifice!$ opponent
auto=ability$!name(Sacrifice swamps) name(Sacrifice swamps) target(<type:swamp:mybattlefieldminus1minusend>swamp|mybattlefield) sacrifice!$ opponent
auto=ability$!name(Sacrifice islands) name(Sacrifice islands) target(<type:island:mybattlefieldminus1minusend>island|mybattlefield) sacrifice!$ opponent
auto=ability$!name(Sacrifice other lands) name(Sacrifice other lands) all(land[-forest;-plains;-swamp;-mountain;-island]|mybattlefield) sacrifice!$  opponent
text=Each player chooses from the lands he or she controls a land of each basic land type, then sacrifices the rest.
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Gloom
auto=lord(*[white]|mycastingzone) altercost(colorless, +3)
auto=lord(*[white]|opponentcastingzone) altercost(colorless, +3)
text=White spells cost {3} more to cast. -- Activated abilities of white enchantments cost {3} more to activate.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Gloom Pangolin
mana={2}{B}
type=Creature
subtype=Nightmare Pangolin
power=1
toughness=5
[/card]
[card]
name=Gloom Sower
auto=@combat(blocked) source(this) from(creature):life:-2 opponent && life:2 controller
text=Whenever Gloom Sower becomes blocked by a creature, that creature's controller loses 2 life and you gain 2 life.
mana={5}{B}{B}
type=Creature
subtype=Horror
power=8
toughness=6
[/card]
[card]
name=Gloom Stalker
auto=this(variable{pdungeoncompleted}>0) double strike
text=As long as you've completed a dungeon, Gloom Stalker has double strike.
mana={2}{W}
type=Creature
subtype=Dwarf Ranger
power=2
toughness=3
[/card]
[card]
name=Glorifier of Dusk
auto={L:2}:flying ueot
auto={L:2}:vigilance ueot
text=Pay 2 life: Glorifier of Dusk gains flying until end of turn. -- Pay 2 life: Glorifier of Dusk gains vigilance until end of turn.
mana={3}{W}{W}
type=Creature
subtype=Vampire Soldier
power=4
toughness=4
[/card]
[card]
name=Glorious Enforcer
abilities=flying,lifelink
auto=@each combatbegins restriction{compare(lifetotal)~morethan~compare(opponentlifetotal)}:name(Gains double strike) transforms((,newability[double strike])) ueot
text=Flying, lifelink -- At the beginning of each combat, if you have more life than an opponent, Glorious Enforcer gains double strike until end of turn.
mana={5}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Glorious Protector
abilities=foretell,flash,flying
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={2}{W} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=may name(Exile non-angel creatures) target(<anyamount>*[-angel]|mybattlefield) (blink)forsrc
text=Flash -- Flying -- When Glorious Protector enters the battlefield, you may exile any number of non-Angel creatures you control until Glorious Protector leaves the battlefield.
mana={2}{W}{W}
type=Creature
subtype=Angel Cleric
power=3
toughness=4
[/card]
[card]
name=Glory Bearers
auto=lord(other creature[attacking]|myBattlefield) 0/1 ueot
text=Whenever another creature you control attacks, it gets +0/+1 until end of turn.
mana={3}{W}
type=Enchantment Creature
subtype=Human Cleric
power=3
toughness=4
[/card]
[card]
name=Glory-Bound Initiate
auto=@exerted(this):transforms((,newability[lifelink],newability[1/3])) ueot
auto=_ATTACKING_may exert
text=You may exert Glory-Bound Initiate as it attacks. When you do, it gets +1/+3 and gains lifelink until end of turn. (An exerted creature won't untap during your next untap step.)
mana={1}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=1
[/card]
[card]
name=Glorybringer
abilities=flying, haste
auto=@exerted(this):damage:4 target(creature[-dragon]|opponentbattlefield)
auto=_ATTACKING_may exert
text=Flying, haste -- You may exert Glorybringer as it attacks. When you do, it deals 4 damage to target non-Dragon creature an opponent controls. (An exerted creature won't untap during your next untap step.)
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Glowspore Shaman
auto=deplete:3 && may (land|mygraveyard) moveTo(myLibrary)
text=When Glowspore Shaman enters the battlefield, put the top three cards of your library into your graveyard. You may put a land card from your graveyard on top of your library.
mana={B}{G}
type=Creature
subtype=Elf Shaman
power=3
toughness=1
[/card]
[card]
name=Glowstone Recluse
abilities=reach,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{G} name(Mutate)
auto=transforms((,newability[@mutated(this):counter(1/1) && counter(1/1)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Reach -- Whenever this creature mutates, put two +1/+1 counters on it.
mana={2}{G}
type=Creature
subtype=Spider
power=2
toughness=3
[/card]
[card]
name=Gluttonous Slug
abilities=menace
auto=evolve
text=Menace -- Evolve (Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.)
mana={1}{B}
type=Creature
subtype=Slug Horror
power=0
toughness=3
[/card]
[card]
name=Gluttonous Troll
abilities=trample
auto=token(Food)
auto={1}{G}{S(other *[-land]|mybattlefield)}:+2/+2 ueot 
text=Trample -- When Gluttonous Troll enters the battlefield, create a number of Food tokens equal to the number of opponents you have. (Food tokens are artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- {1}{G}, Sacrifice another nonland permanent: Gluttonous Troll gets +2/+2 until end of turn.
mana={2}{B}{G}
type=Creature
subtype=Troll
power=3
toughness=3
[/card]
[card]
name=Glyph Keeper
abilities=flying
auto=@targeted(this) restriction{once}:all(trigger[from]) fizzle
autograveyard={5}{U}{U}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Flying -- Whenever Glyph Keeper becomes the target of a spell or ability for the first time each turn, counter that spell or ability. -- Embalm {5}{U}{U} ({5}{U}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Sphinx with no mana cost. Embalm only as a sorcery.)
mana={3}{U}{U}
type=Creature
subtype=Sphinx
power=5
toughness=3
[/card]
[card]
name=Glyph of Destruction
target=*[wall;blocking]|mybattlefield
auto=10/0 ueot
auto=prevent:9999 ueot
auto=transforms((,newability[phaseaction[endofturn once] destroy])) ueot
text=Target blocking Wall you control gets +10/+0 until end of combat. Prevent all damage that would be dealt to it this turn. Destroy it at the beginning of the next end step.
mana={R}
type=Instant
[/card]
[card]
name=Glyph of Life
auto=@damaged(wall) from(creature[attacking]):life:thatmuch controller ueot
text=Until end of turn, whenever an attacking creature deals damage to target Wall creature, you gain that much life.
mana={W}
type=Instant
[/card]
[card]
name=Gnarlback Rhino
abilities=trample
auto=_HEROIC_draw:1 controller
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- Whenever you cast a spell that targets Gnarlback Rhino, draw a card.
mana={2}{G}{G}
type=Creature
subtype=Rhino
power=4
toughness=4
[/card]
[card]
name=Gnarled Professor
abilities=trample
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Trample -- When Gnarled Professor enters the battlefield, learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={2}{G}{G}
type=Creature
subtype=Treefolk Druid
power=5
toughness=4
[/card]
[card]
name=Gnarled Sage
abilities=reach
auto=this(pdrewcount>1) 0/2 ueot && vigilance ueot
text=Reach (This creature can block creatures with flying.) -- As long as you've drawn two or more cards this turn, Gnarled Sage gets +0/+2 and has vigilance. (Attacking doesn't cause it to tap.)
mana={3}{G}{G}
type=Creature
subtype=Treefolk Druid
power=4
toughness=4
[/card]
[card]
name=Gnarlid Colony
kicker={2}{G}
auto=if paid(kicker) then counter(1/1,2)
auto=lord(creature[counter{1/1.1}]|myBattlefield) trample
text=Kicker {2}{G} (You may pay an additional {2}{G} as you cast this spell.) -- If Gnarlid Colony was kicked, it enters the battlefield with two +1/+1 counters on it. -- Each creature you control with a +1/+1 counter on it has trample.
mana={1}{G}
type=Creature
subtype=Beast
power=2
toughness=2
[/card]
[card]
name=Gnarlroot Trapper
auto=this(variable{type:elf:myrestrictedcastingzone}>0) {T}{L:1}:add{G}
auto={T}:target(elf[attacking]|mybattlefield) transforms((,newability[deathtouch])) ueot
text={T}, Pay 1 life: Add {G} to your mana pool. Spend this mana only to cast an Elf creature spell. -- {T}: Target attacking Elf you control gains deathtouch until end of turn. (Any amount of damage it deals to a creature is enough to destroy it.)
mana={B}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Gnoll Hunter
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:name(Put 1/1 counter) counter(1/1)
text=Pack tactics - Whenever Gnoll Hunter attacks, if you attacked with creatures with total power 6 or greater this combat, put a +1/+1 counter on Gnoll Hunter.
mana={1}{G}
type=Creature
subtype=Gnoll
power=2
toughness=2
[/card]
[card]
name=Gnome-Made Engine
auto=token(Gnome,Artifact Creature Gnome,1/1)
text=When this creature enters the battlefield, create a 1/1 colorless Gnome artifact creature token.
mana={4}
type=Host Artifact Creature
subtype=Construct
power=2
toughness=2
[/card]
[card]
name=Gnostro, Voice of the Crags
aicode=activate transforms((,newability[all(*[zpos<=pstormcount]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={T}:name(Scry) name(Scry) scry:pstormcount scrycore delayed dontshow donothing scrycoreend scryend
auto={T}:name(Damage creature) name(Damage creature) damage:pstormcount target(creature)
auto={T}:name(Gain life) name(Gain life) life:pstormcount controller
text={T}: Choose one. X is the number of spells you've cast this turn. -- Scry X. -- Gnostro, Voice of the Crags deals X damage to target creature. -- You gain X life.
mana={1}{U}{R}{W}
type=Legendary Creature
subtype=Chimera
power=3
toughness=3
[/card]
[card]
name=Gnottvold Recluse
abilities=reach
text=Reach
mana={2}{G}
type=Creature
subtype=Spider
power=4
toughness=2
[/card]
[card]
name=Gnottvold Slumbermound
auto=tap(noevent)
auto={T}:add{R}
auto={3}{R}{G}{G}{T}{S}:name(Destroy land) target(land|battlefield) destroy && token(Warrior,Creature Troll Warrior,4/4,green,trample)
text=Gnottvold Slumbermound enters the battlefield tapped. -- {T}: Add {R}. -- {3}{R}{G}{G}, {T}, Sacrifice Gnottvold Slumbermound: Destroy target land. Create a 4/4 green Troll Warrior creature token with trample.
type=Land
[/card]
[card]
name=Go Blank
target=player
auto=ability$!name(Discard 2 cards) name(Discard 2 cards) target(<2>*|myhand) reject and!( all(*|mygraveyard) moveto(exile) )! !$ targetedplayer
text=Target player discards two cards. Then exile all cards from that player's graveyard.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Go for Blood
abilities=cycling
target=creature|myBattlefield
auto=transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) ueot
autohand=__CYCLING__({1})
text=Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Goatnap
target=creature|opponentbattlefield
auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)! && if cantargetcard(goat) then 3/0 ueot
text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If that creature is a Goat, it also gets +3/+0 until end of turn.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Goblin Anarchomancer
auto=lord(*[red;green]|nonbattlezone) altercost(colorless,-1)
text=Each spell you cast that's red or green costs 1 less to cast.
mana={R}{G}
type=Creature
subtype=Goblin Shaman
power=2
toughness=2
[/card]
[card]
name=Goblin Assailant
mana={1}{R}
type=Creature
subtype=Goblin Warrior
power=2
toughness=2
[/card]
[card]
name=Goblin Assassin
auto=flipacoin loseability sacrifice target(creature|mybattlefield) loseabilityend flipend
auto=ability$!name(flip a coin) flipacoin loseability sacrifice notatarget(creature|mybattlefield) loseabilityend flipend!$ opponent
auto=@movedto(other creature[goblin]|battlefield):flipacoin loseability sacrifice target(creature|mybattlefield) loseabilityend flipend
auto=@movedto(other creature[goblin]|battlefield):ability$!name(flip a coin) flipacoin loseability sacrifice notatarget(creature|mybattlefield) loseabilityend flipend!$ opponent
text=Whenever Goblin Assassin or another Goblin enters the battlefield, each player flips a coin. Each player whose coin comes up tails sacrifices a creature.
mana={3}{R}{R}
type=Creature
subtype=Goblin Assassin
power=2
toughness=2
[/card]
[card]
name=Goblin Assault Team
abilities=haste
auto=_DIES_counter(1/1) target(creature|myBattlefield)
text=Haste -- When Goblin Assault Team dies, put a +1/+1 counter on target creature you control.
mana={3}{R}
type=Creature
subtype=Goblin Warrior
power=4
toughness=1
[/card]
[card]
name=Goblin Banneret
abilities=mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto={1}{R}:2/0 ueot
text=Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- {1}{R}: Goblin Banneret gets +2/+0 until end of turn.
mana={R}
type=Creature
subtype=Goblin Soldier
power=1
toughness=1
[/card]
[card]
name=Goblin Barrage
kicker={S(*[artifact;goblin]|mybattlefield)}
target=creature
auto=damage:4
auto=Kicker damage:4 target(player)
text=Kicker'sacrifice an artifact or Goblin. (You may sacrifice an artifact or Goblin in addition to any other costs as you cast this spell.) -- Goblin Barrage deals 4 damage to target creature. If this spell was kicked, it also deals 4 damage to target player or planeswalker.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Goblin Bird-Grabber
auto={R}:restriction{if type(creature[flying]|mybattlefield)~morethan~0}: flying ueot
text={R}: Goblin Bird-Grabber gains flying until end of turn. Activate this ability only if you control a creature with flying.
mana={1}{R}
type=Creature
subtype=Goblin
power=2
toughness=1
[/card]
[card]
name=Goblin Bowling Team
auto=@damaged(creature) from(this):all(trigger[to]) rolld6 6 winability damage:lastrollresult winabilityend loseability damage:lastrollresult loseabilityend rolld6end
auto=@damageof(player) from(this):all(this) rolld6 6 winability damage:lastrollresult controller winabilityend loseability damage:lastrollresult controller loseabilityend rolld6end
auto=@damagefoeof(player) from(this):all(this) rolld6 6 winability damage:lastrollresult opponent winabilityend loseability damage:lastrollresult opponent loseabilityend rolld6end
text=Whenever Goblin Bowling Team damages any creature or player, roll a six-sided die. Goblin Bowling Team deals to that creature or player additional damage equal to the die roll.
mana={3}{R}
type=Summon
subtype=Goblins
[/card]
[card]
name=Goblin Bruiser
mana={1}{R}{R}
type=Creature
subtype=Goblin Warrior
power=3
toughness=3
[/card]
[card]
name=Goblin Chainwhirler
abilities=first strike
auto=damage:1 opponent
auto=damage:1 all(creature|opponentBattlefield)
auto=damage:1 all(planeswalker|opponentBattlefield)
text=First strike -- When Goblin Chainwhirler enters the battlefield, it deals 1 damage to each opponent and each creature and planeswalker they control.
mana={R}{R}{R}
type=Creature
subtype=Goblin Warrior
power=3
toughness=3
[/card]
[card]
name=Goblin Champion
abilities=haste,exalted
text=Haste -- Exalted (Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn.)
mana={R}
type=Creature
subtype=Goblin Warrior
power=0
toughness=1
[/card]
[card]
name=Goblin Cratermaker
auto={1}{S}:damage target(creature)
auto={1}{S}:Destroy target(*[colorless;-land])
text={1}, Sacrifice Goblin Cratermaker: Choose one -- Goblin Cratermaker deals 2 damage to target creature. -- Destroy target colorless nonland permanent.
mana={1}{R}
type=Creature
subtype=Goblin Warrior
power=2
toughness=2
[/card]
[card]
name=Goblin Engineer
auto=may moveto(mygraveyard) target(artifact|mylibrary)
auto={R}{T}{S(artifact|myBattlefield)}:target(artifact[manacost<=3]|mygraveyard) moveto(mybattlefield)
text=When Goblin Engineer enters the battlefield, you may search your library for an artifact card, put it into your graveyard, then shuffle your library. -- {R}, {T}, Sacrifice an artifact: Return target artifact card with converted mana cost 3 or less from your graveyard to the battlefield.
mana={1}{R}
type=Creature
subtype=Goblin Artificer
power=1
toughness=2
[/card]
[card]
name=Goblin Festival
auto={2}:flipacoin loseability moveTo(opponentbattlefield) loseabilityend flipend && damage:1 opponent 
text={2}: Goblin Festival deals 1 damage to target creature or player. Flip a coin. If you lose the flip, choose one of your opponents. That player gains control of Goblin Festival.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Goblin Fire Fiend
abilities=haste
auto=_ATTACKING_all(creature|opponentBattlefield) mustblock ueot
auto={R}:1/0 ueot
text=Haste -- Goblin Fire Fiend must be blocked if able. -- {R}: Goblin Fire Fiend gets +1/+0 until end of turn.
mana={3}{R}
type=Creature
subtype=Goblin Berserker
power=1
toughness=1
[/card]
[card]
name=Goblin Flectomancer
auto={S}:target(*[instant;sorcery]|stack) transforms((,newability[fizzle],newability[activate castcard(copied noevent)])) forever 
text=Sacrifice Goblin Flectomancer: You may change the targets of target instant or sorcery spell.
mana={U}{R}{R}
type=Creature
subtype=Goblin Wizard
power=2
toughness=2
[/card]
[card]
name=Goblin Gang Leader
auto=token(Goblin,Creature Goblin,1/1,red)*2
text=When Goblin Gang Leader enters the battlefield, create two 1/1 red Goblin creature tokens.
mana={2}{R}{R}
type=Creature
subtype=Goblin Warrior
power=2
toughness=2
[/card]
[card]
name=Goblin Gathering
auto=foreach(Goblin Gathering|mygraveyard) create(Goblin:creature Goblin:1/1:red:)
auto=create(Goblin:creature Goblin:1/1:red:)*2
text=Create a number of 1/1 red Goblin creature tokens equal to two plus the number of cards named Goblin Gathering in your graveyard.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Goblin Goliath
auto=token(Goblin,Creature Goblin,1/1,red)
auto={3}{R}{T}:lord(*|mybattlefield) transforms((DoubleActive)) ueot
auto=@damagefoeof(player) from(*[instant;sorcery]|mystack,myGraveyard) restriction{type(*[DoubleActive]|mybattlefield)~morethan~0}:damage:thatmuch all(trigger[to])
auto=@damagefoeof(player) from(*[enchantment;artifact;land;planeswalker]|mybattlefield,myGraveyard) restriction{type(*[DoubleActive]|mybattlefield)~morethan~0}:damage:thatmuch all(trigger[to])
auto=@damagefoeof(player) from(creature[-Goblin Goliath]|mybattlefield,myGraveyard) restriction{type(*[DoubleActive]|mybattlefield)~morethan~0}:damage:thatmuch all(trigger[to])
auto=@combatdamagefoeof(player) from(this) restriction{type(*[DoubleActive]|mybattlefield)~morethan~0}:damage:thatmuch all(trigger[to])
text=When Goblin Goliath enters the battlefield, create a number of 1/1 red Goblin creature tokens equal to the number of opponents you have. -- {3}{R}, {T}: If a source you control would deal damage to an opponent this turn, it deals double that damage to that player instead.
mana={4}{R}{R}
type=Creature
subtype=Goblin Mutant
power=5
toughness=4
[/card]
[card]
name=Goblin Grenadiers
auto=@combat(notblocked) source(this):may name(Sacrifice and destroy) transforms((,newability[sacrifice],newability[name(Destroy creature) target(creature) destroy],newability[ability$!name(Destroy land) name(Destroy land) target(land) destroy!$ controller])) oneshot
text=Whenever Goblin Grenadiers attacks and isn't blocked, you may sacrifice it. If you do, destroy target creature and target land.
mana={3}{R}
type=Creature
subtype=Goblin
power=2
toughness=2
[/card]
[card]
name=Goblin Instigator
auto=token(Goblin,Creature Goblin,1/1,red)
text=When Goblin Instigator enters the battlefield, create a 1/1 red Goblin creature token.
mana={1}{R}
type=Creature
subtype=Goblin Rogue
power=1
toughness=1
[/card]
[card]
name=Goblin Javelineer
abilities=haste
auto=@combat(blocked) source(this):name(Damage blocking creature) damage:1 target(creature[blocking]|opponentbattlefield)
text=Haste -- Whenever Goblin Javelineer becomes blocked, it deals 1 damage to target creature blocking it.
mana={R}
type=Creature
subtype=Goblin Warrior
power=1
toughness=1
[/card]
[card]
name=Goblin Locksmith
auto=_ATTACKING_all(creature[defender]) cantblock
text=Whenever Goblin Locksmith attacks, creatures with defender can't block this turn.
mana={1}{R}
type=Creature
subtype=Goblin Rogue
power=2
toughness=1
[/card]
[card]
name=Goblin Los
type=Creature
subtype=Goblin
power=1
toughness=1
color=red
[/card]
[card]
name=Goblin Morningstar
auto={1}{R}:equip
auto=teach(creature) 1/0
auto=teach(creature) trample
auto=aslongas(parents) transforms((,newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot <1
auto=@dierolled(this) result(1) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(2) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(3) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(4) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(5) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(6) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(7) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(8) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(9) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(10) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(11) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(12) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(13) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(14) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(15) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(16) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(17) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(18) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(19) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
auto=@dierolled(this) result(20) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red)
text=Equipped creature gets +1/+0 and has trample. -- Equip {1}{R} -- When Goblin Morningstar enters the battlefield, roll a d20. -- 1-9 | Create a 1/1 red Goblin creature token. -- 10-20 | Create a 1/1 red Goblin creature token, then attach Goblin Morningstar to it.
mana={1}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Goblin Motivator
auto={T}:target(creature) haste ueot
text={T}: Target creature gains haste until end of turn. (It can attack and {T} this turn.)
mana={R}
type=Creature
subtype=Goblin Warrior
power=1
toughness=1
[/card]
[card]
name=Goblin Oriflamme
auto=lord(creature[attacking]|mybattlefield) 1/0
text=Attacking creatures you control get +1/+0.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Goblin Racketeer
auto=_ATTACKING_may name(Goad creature) target(creature|opponentBattlefield) _GOAD_
text=Whenever Goblin Racketeer attacks, you may goad target creature defending player controls. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)
mana={3}{R}
type=Creature
subtype=Goblin Rogue
power=4
toughness=2
[/card]
[card]
name=Goblin Secret Agent
abilities=first strike
text=First strike -- At the beginning of your upkeep, reveal a card from your hand at random.
mana={2}{R}
type=Creature
subtype=Goblin Rogue
power=2
toughness=2
[/card]
[card]
name=Goblin Smuggler
abilities=haste
auto={T}:target(other creature[power<=2]|battlefield) unblockable ueot
text=Haste (This creature can attack and {T} as soon as it comes under your control.) -- {T}: Another target creature with power 2 or less can't be blocked this turn.
mana={2}{R}
type=Creature
subtype=Goblin Rogue
power=2
toughness=2
[/card]
[card]
name=Goblin Snowman
auto=@combat(blocking) source(this):preventAllCombatDamage to(this) && preventAllCombatDamage from(this)
auto={T}:name(Deal 1 damage) damage:1 target(creature[blocking]|battlefield)
text=Whenever Goblin Snowman blocks, prevent all combat damage that would be dealt to and dealt by it this turn. -- {T}: Goblin Snowman deals 1 damage to target creature it's blocking.
mana={3}{R}
type=Creature
subtype=Goblin
power=1
toughness=1
[/card]
[card]
name=Goblin Test Pilot
abilities=flying
auto={T}:all(this) rolld6 6 winability counter(0/0,1,GoblinEffect) winabilityend loseability counter(0/0,1,GoblinEffect) loseabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 to opponent) name(Damage 2 to opponent) damage:2 opponent && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(2) from(controller):this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 to yourself) name(Damage 2 to yourself) damage:2 controller && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(3) from(controller) restriction{type(creature|myBattlefield)~lessthan~2}:this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 to yourself) name(Damage 2 to yourself) damage:2 controller && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(3) from(controller) restriction{type(creature|myBattlefield)~morethan~1}:this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 to your creature) name(Damage 2 to your creature) ability$!name(Damage creature) damage:2 target(creature|opponentBattlefield)!$ opponent && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(4) from(controller) restriction{type(creature|opponentBattlefield)~morethan~0}:this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 opponent's creature) name(Damage 2 to opponent's creature) ability$!name(Damage creature) damage:2 target(creature|myBattlefield)!$ opponent && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(4) from(controller) restriction{type(creature|opponentBattlefield)~equalto~0}:this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 to opponent) name(Damage 2 to opponent) damage:2 opponent && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(5) from(controller) restriction{type(creature|opponentBattlefield)~morethan~0}:this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 opponent's creature) name(Damage 2 to opponent's creature) ability$!name(Damage creature) damage:2 target(creature|myBattlefield)!$ opponent && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(5) from(controller) restriction{type(creature|opponentBattlefield)~equalto~0}:this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 to opponent) name(Damage 2 to opponent) damage:2 opponent && counter(0/0,-1,GoblinEffect) all(this)
auto=@dierolled(this) result(6) from(controller):this(counter{0/0.1.GoblinEffect}=1) name(Damage 2 to your creature) name(Damage 2 to your creature) ability$!name(Damage creature) damage:2 target(creature|opponentBattlefield)!$ opponent && counter(0/0,-1,GoblinEffect) all(this)
text=Flying -- {T}: Goblin Test Pilot deals 2 damage to target creature or player chosen at random.
mana={1}{U}{R}
type=Creature
subtype=Goblin Wizard
power=0
toughness=2
[/card]
[card]
name=Goblin Trailblazer
abilities=menace
text=Menace
mana={1}{R}
type=Creature
subtype=Goblin Pirate
power=2
toughness=1
[/card]
[card]
name=Goblin Traprunner
auto=_ATTACKING_name(Flip a coin) flipacoin winability token(Goblin,Creature Goblin,1/1,red,battleready) winabilityend flipend
auto=_ATTACKING_name(Flip a coin) flipacoin winability token(Goblin,Creature Goblin,1/1,red,battleready) winabilityend flipend
auto=_ATTACKING_name(Flip a coin) flipacoin winability token(Goblin,Creature Goblin,1/1,red,battleready) winabilityend flipend
text=Whenever Goblin Traprunner attacks, flip three coins. For each flip you win, create a 1/1 red Goblin creature token that's tapped and attacking.
mana={3}{R}
type=Creature
subtype=Goblin
power=4
toughness=2
[/card]
[card]
name=Goblin Trashmaster
auto=lord(other goblin|myBattlefield) +1/+1
auto={S(Goblin|myBattlefield)}:destroy target(artifact)
text=Other Goblins you control get +1/+1. -- Sacrifice a Goblin: Destroy target artifact.
mana={2}{R}{R}
type=Creature
subtype=Goblin Warrior
power=3
toughness=3
[/card]
[card]
name=Goblin War Cry
auto=thisforeach(variable{type:creature:opponentBattlefieldminus1minusend}) ability$!name(Creature can't block) name(Creature can't block) target(creature|myBattlefield) cantblock ueot!$ opponent
text=Target opponent chooses a creature he or she controls. Other creatures he or she controls can't block this turn.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Goblin War Party
other={5}{R}{R} name(Entwine)
auto=if paid(alternative) then create(Goblin:Creature Goblin:1/1:red)*3 && all(creature|mybattlefield) 1/1 ueot && all(creature|mybattlefield) haste ueot
auto=ifnot paid(alternative) then transforms((,newability[choice create(Goblin:Creature Goblin:1/1:red)*3],newability[choice all(creature|mybattlefield) 1/1 ueot && all(creature|mybattlefield) haste ueot]))
text=Choose one -- Create three 1/1 red Goblin creature tokens. -- Creatures you control get +1/+1 and gain haste until end of turn. -- Entwine {2}{R} (Choose both if you pay the entwine cost.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Goblin Wiz
abilities=prowess
auto=@movedTo(*[-creature]|myStack):1/1 ueot
text=Whenever you cast a noncreature spell, this get +1/+1 until end of turn.
type=Creature
subtype=Goblin Wizard
power=1
toughness=1
color=red
[/card]
[card]
name=Goblin Wizardry
auto=token(Goblin Wiz)*2
text=Create two 1/1 red Goblin Wizard creature tokens with prowess. (Whenever you cast a noncreature spell, they get +1/+1 until end of turn.)
mana={3}{R}
type=Instant
[/card]
[card]
name=God-Eternal Bontu
abilities=menace
auto=may name(Sacrifice permanents) target(<anyamount>other *|mybattlefield) sacrifice && draw:1 controller
auto=_DIES_may name(Move back to hand) target(God-Eternal Bontu[fresh]|graveyard) placefromthetop(3)
auto=@movedto(this|exile) from(myBattlefield):may name(Move back to hand) target(God-Eternal Bontu[fresh]|exile) placefromthetop(3)
text=Menace -- When God-Eternal Bontu enters the battlefield, sacrifice any number of other permanents, then draw that many cards. -- When God-Eternal Bontu dies or is put into exile from the battlefield, you may put it into its owner's library third from the top.
mana={3}{B}{B}
type=Legendary Creature
subtype=Zombie God
power=5
toughness=6
[/card]
[card]
name=God-Eternal Kefnet
abilities=flying
auto=_DIES_may name(Move back to hand) target(God-Eternal Kefnet[fresh]|graveyard) placefromthetop(3)
auto=@movedto(this|exile) from(myBattlefield):may name(Move back to hand) target(God-Eternal Kefnet[fresh]|exile) placefromthetop(3)
auto=@drawof(player) turnlimited:may activate castcard(copied noevent) target(*[sorcery;instant;fresh]|myhand) limit:1
text=Flying -- You may reveal the first card you draw each turn as you draw it. Whenever you reveal an instant or sorcery card this way, copy that card and you may cast the copy. That copy costs {2} less to cast. -- When God-Eternal Kefnet dies or is put into exile from the battlefield, you may put it into its owner's library third from the top.
mana={2}{U}{U}
type=Legendary Creature
subtype=Zombie God
power=4
toughness=5
[/card]
[card]
name=God-Eternal Oketra
abilities=double strike
auto=@movedTo(creature|mystack):create(zombie warrior:creature zombie warrior:4/4:black:vigilance)
auto=_DIES_may name(Move back to hand) target(God-Eternal Oketra[fresh]|graveyard) placefromthetop(3)
auto=@movedto(this|exile) from(myBattlefield):may name(Move back to hand) target(God-Eternal Oketra[fresh]|exile) placefromthetop(3)
text=Double strike -- Whenever you cast a creature spell, create a 4/4 black Zombie Warrior creature token with vigilance. -- When God-Eternal Oketra dies or is put into exile from the battlefield, you may put it into its owner's library third from the top.
mana={3}{W}{W}
type=Legendary Creature
subtype=Zombie God
power=3
toughness=6
[/card]
[card]
name=God-Eternal Rhonas
abilities=deathtouch
auto=all(other creature|myBattlefield) dynamicability<!mytgt powerpumppow!> ueot
auto=all(other creature|myBattlefield) vigilance ueot
auto=_DIES_may name(Move back to hand) target(God-Eternal Rhonas[fresh]|graveyard) placefromthetop(3)
auto=@movedto(this|exile) from(myBattlefield):may name(Move back to hand) target(God-Eternal Rhonas[fresh]|exile) placefromthetop(3)
text=Deathtouch -- When God-Eternal Rhonas enters the battlefield, double the power of each other creature you control until end of turn. Those creatures gain vigilance until end of turn. -- When God-Eternal Rhonas dies or is put into exile from the battlefield, you may put it into its owner's library third from the top.
mana={3}{G}{G}
type=Legendary Creature
subtype=Zombie God
power=5
toughness=5
[/card]
[card]
name=God-Pharaoh's Faithful
auto=@movedTo(blue;black;red|mystack):life:1
text=Whenever you cast a blue, black, or red spell, you gain 1 life.
mana={W}
type=Creature
subtype=Human Wizard
power=0
toughness=4
[/card]
[card]
name=God-Pharaoh's Gift
auto=@each my combatbegins:may target(creature|mygraveyard) clone and!( transforms((Zombie,setpower=4,settoughness=4,black,haste ueot)) forever )! && moveTo(exile)
text=At the beginning of combat on your turn, you may exile a creature card from your graveyard. If you do, create a token that's a copy of that card, except it's a 4/4 black Zombie. It gains haste until end of turn.
mana={7}
type=Artifact
[/card]
[card]
name=God-Pharaoh's Statue
auto=lord(*|opponentcastingzone) altercost(colorless,+2)
auto=@each my endofturn:life:-1 opponent
text=Spells your opponents cast cost {2} more to cast. -- At the beginning of your end step, each opponent loses 1 life.
mana={6}
type=Legendary Artifact
[/card]
[card]
name=Godo's Irregulars
auto=@combat(blocked) source(this):all(this) transforms((,newability[{R}:damage:1 target(creature[blocking]|opponentbattlefield)])) ueot
text={R}: Godo's Irregulars deals 1 damage to target creature blocking it.
mana={R}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Gods' Hall Guardian
abilities=foretell,vigilance
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={3}{W} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
text=Vigilance -- Foretell {3}{W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={5}{W}
type=Creature
subtype=Cat
power=3
toughness=6
[/card]
[card]
name=Goka the Unjust
auto={T}:damage:1 target(creature[damaged])
text={T}: Goka the Unjust deals 4 damage to target creature that was dealt damage this turn.
mana={3}{R}
type=Legendary Creature
subtype=Ogre Shaman
power=4
toughness=4
[/card]
[card]
name=Gold-Forge Garrison
auto={T}:add{W}{W}
auto={T}:add{G}{G}
auto={T}:add{R}{R}
auto={T}:add{U}{U}
auto={T}:add{B}{B}
auto={4}{T}:token(Golem,Artifact Creature Golem,4/4)
text=(Transforms from Golden Guardian.) -- {T}: Add two mana of any one color. -- {4}, {T}: Create a 4/4 colorless Golem artifact creature token.
type=Land
[/card]
[card]
name=Golden Demise
auto=_ASCEND_
auto=if type(City's Blessing|mybattlefield)~equalto~0 then all(creature|myBattlefield) -2/-2 ueot
auto=all(creature|opponentBattlefield) -2/-2 ueot
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- All creatures get -2/-2 until end of turn. If you have the city's blessing, instead only creatures your opponents control get -2/-2 until end of turn.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Golden Egg
auto=draw:1 controller
auto={1}{T}:add{G}
auto={1}{T}:add{R}
auto={1}{T}:add{W}
auto={1}{T}:add{U}
auto={1}{T}:add{B}
auto={2}{T}{S}:life:3 controller
text=When Golden Egg enters the battlefield, draw a card. -- {1},{T}, Sacrifice Golden Egg: Add one mana of any color. -- {2}, {T}, Sacrifice Golden Egg: You gain 3 life.
mana={2}
type=Artifact
subtype=Food
[/card]
[card]
name=Golden Guardian
abilities=defender
auto={2}:transforms((,newability[name(Fights another creature you control) name(Fights another creature you control) target(other creature) dynamicability<!powerstrike eachother!>],newability[counter(0/0.1.GoldenFilp)])) ueot
auto=@movedto(creature[counter{0/0.1.GoldenFilp}]|mygraveyard) from(battlefield):name(Return Golden Guardian to the battlefield transformed) name(Return Golden Guardian to the battlefield transformed) all(trigger[to]) name(Return Golden Guardian to the battlefield transformed) transforms((,newability[counter(0/0.1.GoldenFilp)])) forever
auto=@each endofturn:this(counter{0/0.1.GoldenFilp}>=1) removeallcounters(0/0,1,GoldenFilp) 
autograveyard=this(counter{0/0.1.GoldenFilp}>=1) flip(Gold-Forge Garrison) forcetype(land)
text=Defender -- {2}: Golden Guardian fights another target creature you control. When Golden Guardian dies this turn, return it to the battlefield transformed under your control.
mana={4}
type=Artifact Creature
subtype=Golem
power=4
toughness=4
[/card]
[card]
name=Golden Ratio
auto=if type(creature[power=0]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=1]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=2]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=3]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=4]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=5]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=6]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=7]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=8]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=9]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=10]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=11]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=12]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=13]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=14]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=15]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=16]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=17]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=18]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=19]|mybattlefield)~morethan~0 then draw:1 controller
auto=if type(creature[power=20]|mybattlefield)~morethan~0 then draw:1 controller
text=Draw a card for each different power among creatures you control.
mana={1}{G}{U}
type=Sorcery
[/card]
[card]
name=Goldenhide Ox
auto=name(Creature must be blocked) target(creature) transforms((,newability[_ATTACKING_all(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot])) ueot
auto=@movedto(enchantment|myBattlefield):name(Creature must be blocked) target(creature) transforms((,newability[_ATTACKING_all(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot])) ueot
text=Constellation - Whenever Goldenhide Ox or another enchantment enters the battlefield under your control, target creature must be blocked this turn if able.
mana={5}{G}
type=Enchantment Creature
subtype=Ox
power=5
toughness=4
[/card]
[card]
name=Goldmane Griffin
abilities=flying,vigilance
auto=moveto(myhand) target(Ajani^ Inspiring Leader|mylibrary)
auto=moveto(myhand) target(Ajani^ Inspiring Leader|mygraveyard)
text=Flying, vigilance -- When Goldmane Griffin enters the battlefield, you may search your library and/or graveyard for a card named Ajani, Inspiring Leader, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{W}{W}
type=Creature
subtype=Griffin
power=3
toughness=2
[/card]
[card]
name=Goldmaw Champion
abilities=boast
auto={1}{W} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && tap(noevent) target(creature) limit:hasabilitytwoboastplus1plusend
auto={W} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && tap(noevent) target(creature) limit:hasabilitytwoboastplus1plusend
text=Boast-{1}{W}: Tap target creature. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={2}{W}
type=Creature
subtype=Dwarf Warrior
power=2
toughness=3
[/card]
[card]
name=Goldmeadow Stalwart
otherrestriction=type(*[kithkin]|myhand)~lessthan~2
other={3}{W}
restriction=type(*[kithkin]|myhand)~morethan~1
text=As an additional cost to cast Goldmeadow Stalwart, reveal a Kithkin card from your hand or pay {3}.
mana={W}
type=Creature
subtype=Kithkin Soldier
power=2
toughness=2
[/card]
[card]
name=Goldmire Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{B}
auto={T}:add{W}
text=Goldmire Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {W} or {B}.
type=Artifact Land
[/card]
[card]
name=Goldnight Castigator
abilities=flying,haste
auto=@damaged(this) from(*[instant;sorcery]|stack,graveyard):damage:thatmuch all(this)
auto=@damaged(this) from(*[enchantment;artifact;land;planeswalker]|battlefield,graveyard):damage:thatmuch all(this)
auto=@damaged(this) from(creature[-Goldnight Castigator]|battlefield,graveyard):damage:thatmuch all(this)
auto=@combatdamaged(this) from(creature[Goldnight Castigator]|battlefield,graveyard):damage:thatmuch all(this)
auto=@damageof(player) from(*[instant;sorcery]|mystack,graveyard):damage:thatmuch all(trigger[to])
auto=@damageof(player) from(*[enchantment;artifact;land;planeswalker]|mybattlefield,graveyard):damage:thatmuch all(trigger[to])
auto=@damageof(player) from(creature[-Goldnight Castigator]|mybattlefield,graveyard):damage:thatmuch all(trigger[to])
text=Flying, haste -- If a source would deal damage to you, it deals double that damage to you instead. -- If a source would deal damage to Goldnight Castigator, it deals double that damage to Goldnight Castigator instead.
mana={2}{R}{R}
type=Creature
subtype=Angel
power=4
toughness=9
[/card]
[card]
name=Goldspan Dragon
abilities=flying,haste
auto=@targeted(this):token(Treasure Sur)
auto=@combat(attacking) source(this):token(Treasure Sur)
auto=lord(artifact[treasure]|mybattlefield) transforms((,newability[{T}{S}:add{W}{W}],newability[{T}{S}:add{R}{R}],newability[{T}{S}:add{U}{U}],newability[{T}{S}:add{G}{G}],newability[{T}{S}:add{B}{B}]))
text=Flying, haste -- Whenever Goldspan Dragon attacks or becomes the target of a spell, create a Treasure token. -- Treasures you control have "{T}, Sacrifice this artifact: Add two mana of any one color."
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Goldvein Pick
auto={1}:equip
auto=teach(creature) 1/1
auto=@combatdamaged(player) from(mytgt):token(Treasure Sur)
text=Equipped creature gets +1/+1. -- Whenever equipped creature deals combat damage to a player, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Golgari Findbroker
auto=target(*[-instant,-sorcery]|mygraveyard) moveto(ownerhand)
text=When Golgari Findbroker enters the battlefield, return target permanent card from your graveyard to your hand.
mana={B}{B}{G}{G}
type=Creature
subtype=Elf Shaman
power=3
toughness=4
[/card]
[card]
name=Golgari Locket
auto={T}:Add{B}
auto={T}:Add{G}
auto={BG}{BG}{BG}{BG}{T}{S}:draw:2
text={T}: Add {B} or {G}. -- {B/G}{B/G}{B/G}{B/G}, {T}, Sacrifice Golgari Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Golgari Raiders
abilities=haste
auto=foreach(creature|mygraveyard) counter(1/1)
text=Haste -- Undergrowth - Golgari Raiders enters the battlefield with a +1/+1 counter on it for each creature card in your graveyard.
mana={3}{G}
type=Creature
subtype=Elf Warrior
power=0
toughness=0
[/card]
[card]
name=Golos, Tireless Pilgrim
auto=may name(Search land) target(land|myLibrary) moveTo(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle])) oneshot )! 
auto={2}{W}{U}{B}{R}{G}:name(Exile top 3 cards) all(*[zpos<=3]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )! 
text=When Golos, Tireless Pilgrim enters the battlefield, you may search your library for a land card, put that card onto the battlefield tapped, then shuffle your library. -- {2}{W}{U}{B}{R}{G}: Exile the top three cards of your library. You may play them this turn without paying their mana costs.
mana={5}
type=Legendary Artifact Creature
subtype=Scout
power=3
toughness=5
[/card]
[card]
name=Goma Fada Vanguard
auto=_ATTACKING_target(creature[power<=type:warrior:mybattlefield]|opponentBattlefield) cantblock ueot
text=Whenever Goma Fada Vanguard attacks, target creature an opponent controls with power less than or equal to the number of Warriors you control can't block this turn.
mana={1}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Gomazoa
abilities=defender,flying
auto={T}:name(Put on library) transforms((,newability[moveto(mylibrary) and!( shuffle )!],newability[if cantargetcard(*[blocking]|*) then name(Put creature on library) name(Put creature on library) target(creature[blocked]|opponentbattlefield) moveto(ownerlibrary) and!( shuffle opponent )!])) oneshot
text=Defender, flying -- {T}: Put Gomazoa and each creature it's blocking on top of their owners' libraries, then those players shuffle their libraries.
mana={2}{U}
type=Creature
subtype=Jellyfish
power=0
toughness=3
[/card]
[card]
name=Gonti, Lord of Luxury
abilities=deathtouch
aicode=activate target(*[zpos<=4]|opponentlibrary) moveto(opponentexile) and!( transforms((,newability[counter(0/0.1.GontiExiled)],newability[all(*[zpos<=3]|opponentlibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!
auto=name(look) reveal:4 revealzone(opponentlibrary) optionone name(Exile a card) target(*|reveal) moveto(opponentexile) and!( counter(0/0.1.GontiExiled) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={0}:name(Cast card with Gonti) name(Cast card with Gonti) target(*[counter{0/0.1.GontiExiled}]|opponentexile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.GontiExiled)],newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.GontiExiled)])) ueot )!
text=Deathtouch -- When Gonti, Lord of Luxury enters the battlefield, look at the top four cards of target opponent's library, exile one of them face down, then put the rest on the bottom of that library in a random order. You may look at and cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any type to cast that spell.
mana={2}{B}{B}
type=Legendary Creature
subtype=Aetherborn Rogue
power=2
toughness=3
[/card]
[card]
name=Good-Fortune Unicorn
auto=@movedto(other creature|mybattlefield):all(trigger) counter(1/1)
text=Whenever another creature enters the battlefield under your control, put a +1/+1 counter on that creature.
mana={1}{G}{W}
type=Creature
subtype=Unicorn
power=2
toughness=2
[/card]
[card]
name=Gor Muldrak, Amphinologist
auto=protection from(salamanders)
auto=preventalldamage to(controller) from(creature[salamander])
auto=@each my endofturn restriction{type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield)}:token(Salamander Warrior,Creature Warrior Salamander,4/3,blue)
auto=@each my endofturn restriction{type(creature|opponentbattlefield)~lessthan~type(creature|mybattlefield)}:token(Salamander Warrior,Creature Warrior Salamander,4/3,blue) opponent
text=You and permanents you control have protection from Salamanders. -- At the beginning of your end step, each player who controls the fewest creatures creates a 4/3 blue Salamander Warrior creature token.
mana={1}{G}{U}
type=Legendary Creature
subtype=Human Scout
power=3
toughness=2
[/card]
[card]
name=Goreclaw, Terror of Qal Sisma
auto=lord(creature[power>=4]|mycastingzone) altercost(colorless,-2)
auto=_ATTACKING_all(creature[power>=4]|myBattlefield) 1/1 ueot
auto=_ATTACKING_all(creature[power>=4]|myBattlefield) trample ueot
text=Creature spells you cast with power 4 or greater cost {2} less to cast. -- Whenever Goreclaw, Terror of Qal Sisma attacks, each creature you control with power 4 or greater gets +1/+1 and gains trample until end of turn.
mana={3}{G}
type=Legendary Creature
subtype=Bear
power=4
toughness=3
[/card]
[card]
name=Goremand
abilities=flying,trample
auto=ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice !$ opponent
text=As an additional cost to cast this spell, sacrifice a creature. -- Flying -- Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- When Goremand enters the battlefield, each opponent sacrifices a creature.
mana={4}{B}{B}{S(creature|mybattlefield)}
type=Creature
subtype=Demon
power=5
toughness=5
[/card]
[card]
name=Gorex, the Tombshell
abilities=deathtouch
other={4}{B}{B} name(Exile 1 creature)
otherrestriction=type(creature|mygraveyard)~morethan~0
auto=if paid(alternative) then name(Exile 1 creature) name(Exile 1 creature) target(creature|mygraveyard) moveto(myexile) and!( counter(0/0.1.GorexExiled) )!
autohand={2}{B}{B} restriction{type(creature|mygraveyard)~morethan~1}:name(Exile 2 creatures) name(Exile 2 creatures) activate castcard(normal) and!( target(<2>creature|mygraveyard) moveto(myexile) and!( counter(0/0.1.GorexExiled) )! )!
autohand={B}{B} restriction{type(creature|mygraveyard)~morethan~2}:name(Exile 3 creatures) name(Exile 3 creatures) activate castcard(normal) and!( target(<3>creature|mygraveyard) moveto(myexile) and!( counter(0/0.1.GorexExiled) )! )!
auto=_ATTACKING_name(Return a random card) moverandom(creature[counter{0/0.1.GorexExiled}]) from(myexile) to(myhand)
auto=_DIES_name(Return a random card) moverandom(creature[counter{0/0.1.GorexExiled}]) from(myexile) to(myhand)
text=As an additional cost to cast this spell, you may exile a number of creature cards from your graveyard. This spell costs {2} less to cast for each card exiled this way. -- Deathtouch -- Whenever Gorex, the Tombshell attacks or dies, choose a card at random exiled with Gorex and put that card into its owner's hand.
mana={6}{B}{B}
type=Legendary Creature
subtype=Zombie Turtle
power=4
toughness=4
[/card]
[card]
name=Gorging Vulture
abilities=flying
auto=reveal:4 revealzone(mylibrary) optionone all(*|reveal) moveto(ownergraveyard) and!( if cantargetcard(creature|*) then life:1 target(player))! optiononeend revealend
text=Flying -- When Gorging Vulture enters the battlefield, put the top four cards of your library into your graveyard. You gain 1 life for each creature card put into your graveyard this way.
mana={2}{B}
type=Creature
subtype=Bird
power=2
toughness=2
[/card]
[card]
name=Gorilla Berserkers
abilities=trample,threeblockers
auto=rampage(2/2,1)
auto=_ATTACKING_if type(creature[blocking]|opponentBattlefield)~lessthan~3 then unblockable ueot
text=Trample; rampage 2 (Whenever this creature becomes blocked, it gets +2/+2 until end of turn for each creature blocking it beyond the first.) -- Gorilla Berserkers can't be blocked except by three or more creatures.
mana={3}{G}{G}
type=Creature
subtype=Ape Berserker
power=2
toughness=3
[/card]
[card]
name=Goring Ceratops
abilities=double strike
auto=_ATTACKING_all(other creature|mybattlefield) double strike ueot
text=Double strike -- Whenever Goring Ceratops attacks, other creatures you control gain double strike until end of turn.
mana={5}{W}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Gorm the Great
abilities=vigilance,menace,partner
auto=may name(Put partner in hand) moveto(myhand) target(Virtus the Veiled|mylibrary) and!(shuffle)!
auto=_ATTACKING_all(creature|opponentbattlefield) mustblock ueot
text=Partner with Virtus the Veiled (When this creature enters the battlefield, target player may put Virtus into their hand from their library, then shuffle.) -- Vigilance -- Gorm the Great must be blocked if able, and Gorm must be blocked by two or more creatures if able.
mana={3}{G}
type=Legendary Creature
subtype=Giant Warrior
power=2
toughness=7
[/card]
[card]
name=Gossamer Chains
auto={H}:name(prevent all combat damage that would be dealt by target creature) donothing target(creature[attacking]) && fog to(mytgt) oneshot && fog from(mytgt) oneshot
text=Return Gossamer Chains to its owner's hand: Prevent all combat damage that would be dealt by target unblocked creature this turn.
mana={W}{W}
type=Enchantment
[/card]
[card]
name=Gouged Zealot
abilities=reach
auto=@combat(attacking) source(this) restriction{delirium}:name(Deals 1 damage) damage:1 all(creature|opponentbattlefield)
text=Reach -- Delirium - Whenever Gouged Zealot attacks, if there are four or more card types among cards in your graveyard, Gouged Zealot deals 1 damage to each creature defending player controls.
mana={3}{R}
type=Creature
subtype=Cyclops Berserker
power=4
toughness=3
[/card]
[card]
name=Govern the Guildless
target=creature[-multicolor]
auto=moveto(mybattlefield)
autohand={1}{U}:name(change color/s) ability$!name(choose color/s) choice name(white) target(creature) becomes(,white) ueot _ choice name(blue) target(creature) becomes(,blue) ueot _ choice name(black) target(creature) becomes(,black) ueot _ choice name(red) target(creature) becomes(,red) ueot _ choice name(green) target(creature) becomes(,green) ueot _ choice name(white & blue) target(creature) becomes(,white,blue) ueot _ choice name(blue & black) target(creature) becomes(,black,blue) ueot _ choice name(black & red) target(creature) becomes(,black,red) ueot _ choice name(red & green) target(creature) becomes(,red,green) ueot _ choice name(green & white) target(creature) becomes(,white,green) ueot _ choice name(white & black) target(creature) becomes(,white,black) ueot _ choice name(blue & red) target(creature) becomes(,red,blue) ueot _ choice name(black & green) target(creature) becomes(,black,green) ueot _ choice name(red & white) target(creature) becomes(,white,red) ueot _ choice name(green & blue) target(creature) becomes(,green,blue) ueot _ choice name(green & white & blue) target(creature) becomes(,green,white,blue) ueot _ choice name(white & blue & black) target(creature) becomes(,black,white,blue) ueot _ choice name(blue & black & red) target(creature) becomes(,black,red,blue) ueot _ choice name(black & red & green) target(creature) becomes(,green,black,red) ueot _ choice name(red & green & white) target(creature) becomes(,green,white,red) ueot _ choice name(white & black & green) target(creature) becomes(,green,white,black) ueot _ choice name(blue & red & white) target(creature) becomes(,red,white,blue) ueot _ choice name(black & green & blue) target(creature) becomes(,green,black,blue) ueot _ choice name(red & white & black) target(creature) becomes(,black,white,red) ueot _ choice name(green & blue & red) target(creature) becomes(,green,red,blue) ueot _ choice name(green & red & blue & black) target(creature) becomes(,green,red,blue,black) ueot _ choice name(green & red & blue & white) target(creature) becomes(,green,red,blue,white) ueot _ choice name(white & blue & black & red) target(creature) becomes(,white,red,blue,black) ueot _ choice name(white & blue & black & green) target(creature) becomes(,white,green,blue,black) ueot _ choice name(all colors) target(creature) becomes(,white,red,blue,black,green) ueot!$ controller limit:1 myUpkeepOnly
text=Gain control of target monocolored creature. -- Forecast-{1}{U}, Reveal Govern the Guildless from your hand: Target creature becomes the color or colors of your choice until end of turn. (Activate this ability only during your upkeep and only once each turn.)
mana={5}{U}
type=Sorcery
[/card]
[card]
name=Grab the Reins
target=creature|myBattlefield
other={2}{R} name(Entwine)
auto=if paid(alternative) then transforms((,newability[target(creature) moveTo(myBattlefield) ueot && haste ueot],newability[sacrifice && damage:p target(creature,player)])) forever
auto=ifnot paid(alternative) then transforms((,newability[choice target(creature) moveTo(myBattlefield) ueot && haste ueot],newability[choice sacrifice && damage:p target(creature,player)])) forever
text=Choose one -- Until end of turn, you gain control of target creature and it gains haste. -- Sacrifice a creature. Grab the Reins deals damage equal to that creature's power to target creature or player. -- Entwine {2}{R} (Choose both if you pay the entwine cost.)
mana={3}{R}
type=Instant
[/card]
[card]
name=Graceful Antelope
abilities=plainswalk
auto=@combatdamaged(player) from(this):target(land|battlefield) may transforms((,newability[aslongas(Graceful Antelope|mybattlefield) becomes(plains)])) forever
text=Plainswalk -- Whenever Graceful Antelope deals combat damage to a player, you may have target land become a Plains until Graceful Antelope leaves the battlefield.
mana={2}{W}{W}
type=Creature
subtype=Antelope
power=1
toughness=4
[/card]
[card]
name=Graceful Cat
auto=_ATTACKING_ 1/1 ueot
text=Whenever Graceful Cat attacks, it gets +1/+1 until end of turn.
mana={2}{W}
type=Creature
subtype=Cat
power=2
toughness=2
[/card]
[card]
name=Graceful Restoration
auto=if type(creature|myGraveyard)~morethan~0 then choice name(Return one creature with 1/1 counter) name(Return one creature with 1/1 counter) target(creature|mygraveyard) moveto(myBattlefield) and!( counter(1/1) )!
auto=if type(creature[power<=2]|myGraveyard)~morethan~0 then choice name(Return up to 2 creatures) name(Return up to 2 creatures) target(<upto:2>creature[power<=2]|mygraveyard) moveto(myBattlefield)
text=Choose one -- Return target creature card from your graveyard to the battlefield with an additional +1/+1 counter on it. -- Return up to two target creature cards with power 2 or less from your graveyard to the battlefield.
mana={3}{W}{B}
type=Sorcery
[/card]
[card]
name=Grafted Exoskeleton
auto={2}:equip
auto=teach(creature) +2/+2
auto=teach(creature) infect
auto=teach(creature) transforms((,newability[counter(0/0.1.Hooked)]))
auto=lord(*[counter{0/0.1.Hooked}]|mybattlefield) transforms((,newability[this(gear < 1) destroy]))
text=Equipped creature gets +2/+2 and has infect. (It deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.) -- Whenever Grafted Exoskeleton becomes unattached from a permanent, sacrifice that permanent. -- Equip {2}
mana={4}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Grafted Identity
target=creature
alias=1194
auto=teach(creature) 1/1
text=As an additional cost to cast this spell, sacrifice a creature. -- Enchant creature -- You control enchanted creature. -- Enchanted creature gets +1/+1.
mana={2}{U}{U}{S(creature|mybattlefield)}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Grafted Wargear
auto={0}:equip
auto=teach(creature) +3/+2
auto=teach(creature) transforms((,newability[counter(0/0.1.Hooked)]))
auto=lord(*[counter{0/0.1.Hooked}]|mybattlefield) transforms((,newability[this(gear < 1) destroy]))
text=Equipped creature gets +3/+2. -- Whenever Grafted Wargear becomes unattached from a permanent, sacrifice that permanent. -- Equip {0} ({0}: Attach to target creature you control. Equip only as a sorcery.)
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Grakmaw, Skyclave Ravager
auto=counter(1/1,3)
auto=@movedTo(other creature[counter{1/1}]|myGraveyard) from(mybattlefield):counter(1/1) all(this)
auto=_DIES_this(counter{1/1}=0) token(Hydra,Creature Hydra,0/0,black,green)
auto=_DIES_this(counter{1/1}=1) token(Hydra,Creature Hydra,1/1,black,green)
auto=_DIES_this(counter{1/1}=2) token(Hydra,Creature Hydra,2/2,black,green)
auto=_DIES_this(counter{1/1}=3) token(Hydra,Creature Hydra,3/3,black,green)
auto=_DIES_this(counter{1/1}=4) token(Hydra,Creature Hydra,4/4,black,green)
auto=_DIES_this(counter{1/1}=5) token(Hydra,Creature Hydra,5/5,black,green)
auto=_DIES_this(counter{1/1}=6) token(Hydra,Creature Hydra,6/6,black,green)
auto=_DIES_this(counter{1/1}=7) token(Hydra,Creature Hydra,7/7,black,green)
auto=_DIES_this(counter{1/1}=8) token(Hydra,Creature Hydra,8/8,black,green)
auto=_DIES_this(counter{1/1}=9) token(Hydra,Creature Hydra,9/9,black,green)
auto=_DIES_this(counter{1/1}=10) token(Hydra,Creature Hydra,10/10,black,green)
auto=_DIES_this(counter{1/1}=11) token(Hydra,Creature Hydra,11/11,black,green
auto=_DIES_this(counter{1/1}=12) token(Hydra,Creature Hydra,12/12,black,green)
auto=_DIES_this(counter{1/1}=13) token(Hydra,Creature Hydra,13/13,black,green)
auto=_DIES_this(counter{1/1}=14) token(Hydra,Creature Hydra,14/14,black,green)
auto=_DIES_this(counter{1/1}=15) token(Hydra,Creature Hydra,15/15,black,green)
auto=_DIES_this(counter{1/1}=16) token(Hydra,Creature Hydra,16/16,black,green)
auto=_DIES_this(counter{1/1}=17) token(Hydra,Creature Hydra,17/17,black,green)
auto=_DIES_this(counter{1/1}=18) token(Hydra,Creature Hydra,18/18,black,green)
auto=_DIES_this(counter{1/1}=19) token(Hydra,Creature Hydra,19/19,black,green)
auto=_DIES_this(counter{1/1}>=20) token(Hydra,Creature Hydra,20/20,black,green)
text=Grakmaw, Skyclave Ravager enters the battlefield with three +1/+1 counters on it. -- Whenever another creature you control dies, if it had a +1/+1 counter on it, put a +1/+1 counter on Grakmaw. -- When Grakmaw dies, create an X/X black and green Hydra creature token, where X is the number of +1/+1 counters on Grakmaw.
mana={1}{B}{G}
type=Legendary Creature
subtype=Hydra Horror
power=0
toughness=0
[/card]
[card]
name=Grand Warlord Radha
abilities=haste
auto=@each my blockers:foreach(creature[attacking]|mybattlefield) ability$!name(Choose one) choice name(Add red mana) add{R} doesntempty _ choice name(Add green mana) add{G} doesntempty!$ controller
text=Haste -- Whenever one or more creatures you control attack, add that much mana in any combination of {R} and/or {G}. Until end of turn, you don't lose this mana as steps and phases end.
mana={2}{R}{G}
type=Legendary Creature
subtype=Elf Warrior
power=3
toughness=4
[/card]
[card]
name=Granitic Titan
abilities=menace,cycling
autohand=__CYCLING__({2})
text=Menace -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{R}{R}
type=Creature
subtype=Elemental
power=5
toughness=4
[/card]
[card]
name=Grappling Hook
auto={4}:equip
auto=teach(creature) double strike
auto=@combat(attacking) source(mytgt):may name(Target creature must block) name(Target creature must block) target(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot
text=Equipped creature has double strike. -- Whenever equipped creature attacks, you may have target creature block it this turn if able. -- Equip {4}
mana={4}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Grappling Sundew
abilities=defender, reach
auto={4}{G}:indestructible ueot
text=Defender, reach -- {4}{G}: Grappling Sundew gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy this creature.)
mana={1}{G}
type=Creature
subtype=Plant
power=0
toughness=4
[/card]
[card]
name=Grasp of Fate
auto=choice (blink)forsrc target(*[-land]|opponentbattlefield)
text=When Grasp of Fate enters the battlefield, for each opponent, exile up to one target nonland permanent that player controls until Grasp of Fate leaves the battlefield. (Those permanents return under their owners' control.)
mana={1}{W}{W}
type=Enchantment
[/card]
[card]
name=Grasping Current
target=<upto:2>creature
auto=moveto(ownerhand)
auto=moveto(myhand) target(Jace^ Ingenious Mind-Mage|mylibrary)
text=Return up to two target creatures to their owner's hand. -- Search your library and/or graveyard for a card named Jace, Ingenious Mind-Mage, reveal it, and put it into your hand. If you searched your library this way, shuffle it.
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Grasping Dunes
auto={T}:Add{1}
auto={1}{T}{S}:counter(-1/-1,1) target(creature) assorcery
text={T}: Add {1} to your mana pool. -- {1}, {T}, Sacrifice Grasping Dunes: Put a -1/-1 counter on target creature. Activate this ability only any time you could cast a sorcery.
type=Land
subtype=Desert
[/card]
[card]
name=Grasping Giant
abilities=Vigilance
auto=@combat(blocked) source(this) from(creature):all(trigger[to]) creature(blocked) (blink)forsrc oneshot
text=Vigilance -- Whenever Grasping Giant becomes blocked by a creature, exile that creature until Grasping Giant leaves the battlefield.
mana={5}{W}
type=Creature
subtype=Giant
power=5
toughness=7
[/card]
[card]
name=Grasping Scoundrel
auto=_ATTACKING_1/0
text=Grasping Scoundrel gets +1/+0 as long as it's attacking.
mana={B}
type=Creature
subtype=Human Pirate
power=1
toughness=1
[/card]
[card]
name=Grasping Thrull
abilities=flying
auto=damage:2 opponent
auto=life:2
text=Flying -- When Grasping Thrull enters the battlefield, it deals 2 damage to each opponent and you gain 2 life.
mana={3}{W}{B}
type=Creature
subtype=Thrull
power=3
toughness=3
[/card]
[card]
name=Grateful Apparition
abilities=flying
auto=@combatdamaged(player,planeswalker) from(this):_PROLIFERATE_
text=Flying -- Whenever Grateful Apparition deals combat damage to a player or planeswalker, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={1}{W}
type=Creature
subtype=Spirit
power=1
toughness=1
[/card]
[card]
name=Gratuitous Violence
auto=@damaged(creature) from(creature|mybattlefield,myGraveyard):damage:thatmuch all(trigger[to])
auto=@damaged(player) from(creature|mybattlefield,myGraveyard):damage:thatmuch all(trigger[to])
text=If a creature you control would deal damage to a creature or player, it deals double that damage to that creature or player instead.
mana={2}{R}{R}{R}
type=Enchantment
[/card]
[card]
name=Grave Consequences
auto=draw:1 controller
auto=all(*|mygraveyard) transforms((,newability[choice name(Exile) moveto(exile)],newability[choice name(Loose 1 life) life:-1 controller])) ueot
auto=all(*|opponentgraveyard) transforms((,newability[choice name(Exile) moveto(exile)],newability[choice name(Loose 1 life) life:-1 controller])) ueot
text=Each player may exile any number of cards from his or her graveyard. Then each player loses 1 life for each card in his or her graveyard. -- Draw a card.
mana={1}{B}
type=Instant
[/card]
[card]
name=Grave Endeavor
auto=all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:name(Return a creature) target(creature|mygraveyard) moveto(mybattlefield) and!( counter(1/1.lastrollresult) )!],newability[name(Roll a d10) rolld10 10 winability donothing winabilityend rolld10end])) oneshot
auto=all(*[zpos=2]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:life:lastrollresult controller && life:-lastrollresult opponent],newability[name(Roll a d10) rolld10 10 winability donothing winabilityend rolld10end])) oneshot
text=Roll two d10 and choose one result. Return a creature card from your graveyard to the battlefield with a number of +1/+1 counters on it equal to that result. Then each opponent loses X life and you gain X life, where X is the other result.
mana={5}{B}{B}
type=Instant
[/card]
[card]
name=Gravebreaker Lamia
abilities=lifelink,hiddenface
auto=moveTo(mygraveyard) target(*|mylibrary)
auto=lord(*|myGraveyard) changecost(colorless:-1)
text=Lifelink -- When Gravebreaker Lamia enters the battlefield, search your library for a card, put it into your graveyard, then shuffle your library. -- Spells you cast from your graveyard cost {1} less to cast.
mana={4}{B}
type=Enchantment Creature
subtype=Snake Lamia
power=4
toughness=4
[/card]
[card]
name=Gravel-Hide Goblin
auto={3}{G}:+2/+2
text={3}{G}: Gravel-Hide Goblin gets +2/+2 until end of turn.
mana={1}{R}
type=Creature
subtype=Goblin Shaman
power=2
toughness=1
[/card]
[card]
name=Graven Abomination
auto=_ATTACKING_moveto(exile) target(*|opponentgraveyard)
text=Whenever Graven Abomination attacks, exile target card from defending player's graveyard.
mana={3}
type=Artifact Creature
subtype=Horror
power=3
toughness=1
[/card]
[card]
name=Graven Dominator
abilities=flying
auto=name(Creatures become 1/1) all(other creature|battlefield) becomes(,1/1) ueot
auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot
autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Creatures become 1/1) all(other creature|battlefield) becomes(^1/1) ueot]))
text=Flying -- Haunt (When this creature dies, exile it haunting target creature.) -- When Graven Dominator enters the battlefield or the creature it haunts dies, each other creature becomes 1/1 until end of turn.
mana={4}{W}{W}
type=Creature
subtype=Gargoyle
power=4
toughness=4
[/card]
[card]
name=Graven Lore
restriction=compare(mysnowpoolcount)~equalto~0
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
autohand={2}{i}{U}{U} restriction{compare(mysnowpoolcount)~equalto~1}:name(Cast with 1 snow mana) name(Cast with 1 snow mana) scry:1 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative)
autohand={1}{i}{i}{U}{U} restriction{compare(mysnowpoolcount)~equalto~2}:name(Cast with 2 snow mana) name(Cast with 2 snow mana) scry:2 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative)
autohand={i}{i}{i}{U}{U} restriction{compare(mysnowpoolcount)~morethan~2}:name(Cast with 3 snow mana) name(Cast with 3 snow mana) scry:3 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative)
autohand={i}{i}{i}{i}{U} restriction{compare(mysnowpoolcount)~morethan~3,compare(mysnowbluepoolcount)~morethan~0}:name(Cast with 4 snow mana) name(Cast with 4 snow mana) scry:4 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative)
autohand={i}{i}{i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~4,compare(mysnowbluepoolcount)~morethan~1}:name(Cast with 5 snow mana) name(Cast with 5 snow mana) scry:5 scrycore delayed dontshow donothing scrycoreend scryend && activate castcard(alternative)
auto=draw:3 controller
text=Scry X, where is the amount of {S}i} spent to cast this spell, then draw three cards. ({S}i} is mana from a snow source.)
mana={3}{U}{U}
type=Snow Instant
[/card]
[card]
name=Graveshifter
abilities=changeling
auto=may target(creature|mygraveyard) moveto(myHand)
text=Changeling (This card is every creature type.) -- When Graveshifter enters the battlefield, you may return target creature card from your graveyard to your hand.
mana={3}{B}
type=Creature
subtype=Shapeshifter
power=2
toughness=2
[/card]
[card]
name=Gravewaker
abilities=flying
auto={5}{B}{B}:target(creature|mygraveyard) moveTo(battlefield) && tap
text=Flying -- {5}{B}{B}: Return target creature card from your graveyard to the battlefield tapped.
mana={4}{B}{B}
type=Creature
subtype=Bird Spirit
power=5
toughness=5
[/card]
[card]
name=Graveyard Glutton
abilities=nightbound
backside=Graveyard Trespasser
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=@targeted(this) from(*|opponentzones):choice name(Discard a card to cast this spell) name(Discard a card to cast this spell) target(*|opponentzones) transforms((,newability[if type(*|myhand)~morethan~0 then choice name(Discard a card) name(Discard a card) donothing],newability[choice name(Don't discard card) fizzle])) oneshot
auto=may name(Exile 2 cards) target(<upto:2>*|graveyard) moveto(exile) and!( if cantargetcard(*[creature]|*) then life:-1 opponent && life:1 controller )!
auto=@combat(attacking) source(this):may name(Exile 2 cards) target(<upto:2>*|graveyard) moveto(exile) and!( if cantargetcard(*[creature]|*) then life:-1 opponent && life:1 controller )!
text=Ward-Discard a card. -- Whenever Graveyard Glutton enters the battlefield or attacks, exile up to two target cards from graveyards. For each creature card exiled this way, each opponent loses 1 life and you gain 1 life. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Graveyard Trespasser
type=Creature
subtype=Werewolf
color=black
power=4
toughness=4
[/card]
[card]
name=Graveyard Marshal
auto={2}{B}{E(creature|mygraveyard)}:create(black zombie:creature black zombie:2/2) and!(tap(noevent))!
text={2}{B}, Exile a creature card from your graveyard: Create a tapped 2/2 black Zombie creature token.
mana={B}{B}
type=Creature
subtype=Zombie Soldier
power=3
toughness=2
[/card]
[card]
name=Graveyard Trespasser
abilities=daybound
backside=Graveyard Glutton
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@targeted(this) from(*|opponentzones):choice name(Discard a card to cast this spell) name(Discard a card to cast this spell) target(*|opponentzones) transforms((,newability[if type(*|myhand)~morethan~0 then choice name(Discard a card) name(Discard a card) donothing],newability[choice name(Don't discard card) fizzle])) oneshot
auto=may name(Exile a card) target(*|graveyard) moveto(exile) and!( if cantargetcard(*[creature]|*) then life:-1 opponent && life:1 controller )!
auto=@combat(attacking) source(this):may name(Exile a card) target(*|graveyard) moveto(exile) and!( if cantargetcard(*[creature]|*) then life:-1 opponent && life:1 controller )!
text=Ward-Discard a card. -- Whenever Graveyard Trespasser enters the battlefield or attacks, exile up to one target card from a graveyard. If a creature card was exiled this way, each opponent loses 1 life and you gain 1 life. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Graveyard Glutton
mana={2}{B}
type=Creature
subtype=Human Werewolf
power=3
toughness=3
[/card]
[card]
name=Gravitic Punch
target=creature|myBattlefield
auto=target(player) dynamicability<!powerstrike!>
flashback={3}{R}{D(*|myhand)}
text=Target creature you control deals damage equal to its power to target player. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Graxiplon
auto=this(variable{oppsametypecreatures}<3) unblockable
text=Graxiplon is unblockable unless defending player controls three or more creatures that share a creature type.
mana={5}{U}
type=Creature
subtype=Beast
power=3
toughness=4
[/card]
[card]
name=Grazilaxx, Illithid Scholar
auto=@combat(blocked,turnlimited) source(creature|myBattlefield):may name(Return to hand) all(trigger[to]) moveto(ownerhand)
auto=@each combatdamage restriction{opponentdamagedbycombat}:name(Draw card) draw:1 controller
text=Whenever a creature you control becomes blocked, you may return it to its owner's hand. -- Whenever one or more creatures you control deal combat damage to a player, draw a card.
mana={1}{U}{U}
type=Legendary Creature
subtype=Horror
power=3
toughness=2
[/card]
[card]
name=Grazing Whiptail
abilities=reach
text=Reach
mana={2}{G}{G}
type=Creature
subtype=Dinosaur
power=3
toughness=4
[/card]
[card]
name=Great Hall of Starnheim
auto=tap(noevent)
auto={T}:add{B}
auto={W}{W}{B}{T}{S}{S(creature|mybattlefield)}:token(Warrior,Creature Angel Warrior,4/4,white,flying,vigilance) asSorcery
text=Great Hall of Starnheim enters the battlefield tapped. -- {T}: Add {B}. -- {W}{W}{B}, {T}, Sacrifice Great Hall of Starnheim and a creature you control: Create a 4/4 white Angel Warrior creature token with flying and vigilance. Activate this ability only any time you could cast a sorcery.
type=Land
[/card]
[card]
name=Greataxe
auto={5}:equip
auto=teach(creature) 4/0
text=Equipped creature gets +4/+0. -- Equip {5} ({5}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Greater Gargadon
suspend(10)={R}
autoexile={S(*[creature;artifact;land]|mybattlefield)}:counter(0/0,-1,Time)
text=Suspend 10-{R} -- Sacrifice an artifact, creature, or land: Remove a time counter from Greater Gargadon. Activate this ability only if Greater Gargadon is suspended.
mana={9}{R}
type=Creature
subtype=Beast
power=9
toughness=7
[/card]
[card]
name=Greater Sandwurm
abilities=cycling
auto=cantbeblockedby(creature[power<=2])
autohand=__CYCLING__({2})
text=Greater Sandwurm can't be blocked by creatures with power 2 or less. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={5}{G}{G}
type=Creature
subtype=Wurm
power=7
toughness=7
[/card]
[card]
name=Green Dragon
abilities=flying
auto=emblem transforms((,newability[@damaged(creature|opponentbattlefield):name(Poison Breath) all(trigger[to]) destroy])) ueot
text=Flying -- Poison Breath - When Green Dragon enters the battlefield, until end of turn, whenever a creature an opponent controls is dealt damage, destroy it.
mana={4}{G}{G}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Greenwood Sentinel
abilities=vigilance
text=Vigilance (Attacking doesn't cause this creature to tap.)
mana={1}{G}
type=Creature
subtype=Elf Scout
power=2
toughness=2
[/card]
[card]
name=Gremlin Mine
auto={1}{T}{S}:damage:4 target(creature[artifact])
auto={1}{T}{S}:counter(0/0,-4,charge) target(artifact[-creature])
text={1}, {T}, Sacrifice Gremlin Mine: Gremlin Mine deals 4 damage to target artifact creature. -- {1}, {T}, Sacrifice Gremlin Mine: Remove up to four charge counters from target noncreature artifact.
mana={1}
type=Artifact
[/card]
[card]
name=Grenzo's Rebuttal
auto=token(Ogre,Creature Ogre,4/4,red)
auto=ability$!name(Destroy artifact) name(destroy artifact) target(artifact|opponentBattlefield) destroy!$ controller
auto=ability$!name(Destroy creature) name(destroy creature) target(creature|opponentBattlefield) destroy!$ controller
auto=ability$!name(Destroy land) name(destroy land) target(land|opponentBattlefield) destroy!$ controller
auto=ability$!name(Destroy artifact) name(destroy artifact) target(artifact|opponentBattlefield) destroy!$ opponent
auto=ability$!name(Destroy creature) name(destroy creature) target(creature|opponentBattlefield) destroy!$ opponent
auto=ability$!name(Destroy land) name(destroy land) target(land|opponentBattlefield) destroy!$ opponent
text=Put a 4/4 red Ogre creature token onto the battlefield. Starting with you, each player chooses an artifact, a creature, and a land from among the permanents controlled by the player to his or her left. Destroy each permanent chosen this way.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Grenzo's Ruffians
auto=_ATTACKING_1/1 ueot
text=Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.) -- Whenever Grenzo's Ruffians deals combat damage to an opponent, it deals that much damage to each other opponent.
mana={2}{R}{R}
type=Creature
subtype=Goblin
power=2
toughness=2
[/card]
[card]
name=Grenzo, Dungeon Warden
auto=counter(1/1,X)
auto={2}:transforms((,newability[if type(creature[power<=power;zpos=type:*:mylibrary]|mylibrary)~equalto~0 then all(*[zpos=type:*:mylibrary]|mylibrary) moveto(mygraveyard) else all(*[zpos=type:*:mylibrary]|mylibrary) moveto(mygraveyard) and!( moveto(mybattlefield) )!])) oneshot
text=Grenzo, Dungeon Warden enters the battlefield with X +1/+1 counters on it. -- {2}: Put the bottom card of your library into your graveyard. If it's a creature card with power less than or equal to Grenzo's power, put it onto the battlefield.
mana={X}{B}{R}
type=Legendary Creature
subtype=Goblin Rogue
power=2
toughness=2
[/card]
[card]
name=Grenzo, Havoc Raiser
auto=@combatdamagefoeof(player) from(creature|mybattlefield) restriction{type(creature|opponentBattlefield)~morethan~0}:ability$!name(Choose one) choice name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once] moveTo(ownerexile)])) ueot )! _ choice name(Goad opponent creature) _GOAD_!$ controller
auto=@combatdamagefoeof(player) from(creature|mybattlefield) restriction{type(creature|opponentBattlefield)~equalto~0}:name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once] moveTo(ownerexile)])) ueot )!
auto=@combatdamageof(player) from(creature|mybattlefield) restriction{type(creature|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana])) ueot )! _ choice name(Goad your creature) target(creature|myBattlefield) _GOAD_!$ controller
auto=@combatdamageof(player) from(creature|mybattlefield) restriction{type(creature|mybattlefield)~equalto~0}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana])) ueot )!
text=Whenever a creature you control deals combat damage to a player, choose one -- Goad target creature that player controls. -- Exile the top card of that player's library. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it.
mana={R}{R}
type=Legendary Creature
subtype=Goblin Rogue
power=2
toughness=2
[/card]
[card]
name=Gretchen Titchwillow
auto={2}{G}{U}:name(Draw and put land) draw:1 && transforms((,newability[may name(Put land in play) target(land|myhand) moveto(myBattlefield)])) oneshot
text={2}{G}{U}: Draw a card. You may put a land card from your hand onto the battlefield.
mana={G}{U}
type=Legendary Creature
subtype=Halfling Druid
power=0
toughness=4
[/card]
[card]
name=Greven, Predator Captain
abilities=menace
auto=life:lifelost/0
auto=_ATTACKING_may {S(other creature|mybattlefield)} life:-storedtoughness && draw:storedpower
text=Menace -- Greven, Predator Captain gets +X/+0, where X is the amount of life you've lost this turn. -- Whenever Greven attacks, you may sacrifice another creature. If you do, you draw cards equal to that creature's power and you lose life equal to that creature's toughness.
mana={3}{B}{R}
type=Legendary Creature
subtype=Human Warrior
power=5
toughness=5
[/card]
[card]
name=Grief
abilities=menace
other={E(*[black]|myhand)} name(Evoke)
auto=if paid(alternative) then sacrifice
auto=if type(*[-land]|opponenthand)~morethan~0 then name(Discard non-land card) name(Discard a non-land card) reject target(*[-land]|opponenthand) 
auto=if type(*[-land]|opponenthand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) )!
text=Menace -- When Grief enters the battlefield, target opponent reveals their hand. You choose a nonland card from it. That player discards that card. -- Evoke-Exile a black card from your hand.
mana={2}{B}{B}
type=Creature
subtype=Elemental Incarnation
power=3
toughness=2
[/card]
[card]
name=Griffin Aerie
auto=@each my endofturn restriction{compare(lifegain)~morethan~2}:token(Griffin Gri) controller
text=At the beginning of your end step, if you gained 3 or more life this turn, create a 2/2 white Griffin creature token with flying.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Griffin Gri
abilities=flying
type=Creature
subtype=Griffin
power=2
toughness=2
color=white
[/card]
[card]
name=Grim Bounty
target=creature,planeswalker
auto=destroy
auto=name(Create treasure) token(Treasure Sur)
text=Destroy target creature or planeswalker. Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Grim Captain's Call
auto=moveto(myhand) target(pirate|mygraveyard)
auto=moveto(myhand) target(vampire|mygraveyard)
auto=moveto(myhand) target(dinosaur|mygraveyard)
auto=moveto(myhand) target(merfolk|mygraveyard)
text=Return a Pirate card from your graveyard to your hand, then do the same for Vampire, Dinosaur, and Merfolk.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Grim Discovery
auto=choice name(Return target creature from your graveyard) moveTo(myhand) target(creature|mygraveyard)
auto=choice name(Return target land from your graveyard) moveTo(myhand) target(land|mygraveyard)
auto=choice name(Return target land and creature from your graveyard) moveTo(myhand) target(land|mygraveyard) && moveTo(myhand) target(creature|mygraveyard)
text=Choose one or both -- Return target creature card from your graveyard to your hand. -- Return target land card from your graveyard to your hand.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Grim Draugr
auto={1}{i}:name(Gets 1/0 and menace) name(Gets 1/0 and menace) transforms((,newability[1/0],newability[menace])) ueot
text={1}{S}i}: Grim Draugr gets +1/+0 and gains menace until end of turn. (It can't be blocked except by two or more creatures.)
mana={2}{B}
type=Snow Creature
subtype=Zombie Berserker
power=3
toughness=2
[/card]
[card]
name=Grim Hireling
auto=@each combatdamage restriction{opponentdamagedbycombat}:name(Create Treasures) token(Treasure Sur)*2
auto=this(variable{type:treasure:mybattlefield}>=1) {B}{S(treasure|mybattlefield)}:name(Sacrifice 1 treasure) target(creature) -1/-1 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=2) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 2 treasures) target(creature) -2/-2 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=3) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 3 treasures) target(creature) -3/-3 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=4) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 4 treasures) target(creature) -4/-4 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=5) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 5 treasures) target(creature) -5/-5 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=6) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 6 treasures) target(creature) -6/-6 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=7) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 7 treasures) target(creature) -7/-7 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=8) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 8 treasures) target(creature) -8/-8 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=9) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 9 treasures) target(creature) -9/-9 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=10) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 10 treasures) target(creature) -10/-10 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=11) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 11 treasures) target(creature) -11/-11 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=12) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 12 treasures) target(creature) -12/-12 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=13) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 13 treasures) target(creature) -13/-13 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=14) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 14 treasures) target(creature) -14/-14 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=15) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 15 treasures) target(creature) -15/-15 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=16) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 16 treasures) target(creature) -16/-16 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=17) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 17 treasures) target(creature) -17/-17 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=18) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 18 treasures) target(creature) -18/-18 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=19) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 19 treasures) target(creature) -19/-19 ueot asSorcery
auto=this(variable{type:treasure:mybattlefield}>=20) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 20 treasures) target(creature) -20/-20 ueot asSorcery
text=Whenever one or more creatures you control deal combat damage to a player, create two Treasure tokens. -- {B}, Sacrifice X Treasures: Target creature gets -X/-X until end of turn. Activate only as a sorcery.
mana={3}{B}
type=Creature
subtype=Tiefling Rogue
power=3
toughness=2
[/card]
[card]
name=Grim Initiate
abilities=first strike
auto=_DIES_if type(army|mybattlefield)~morethan~0 then counter(1/1) notATarget(army|myBattlefield) else create(Zombie Army:creature Zombie Army:0/0:black) and!(counter(1/1) notATarget(army|myBattlefield))!
text=First strike -- When Grim Initiate dies, amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={R}
type=Creature
subtype=Zombie Warrior
power=1
toughness=1
[/card]
[card]
name=Grim Physician
auto=_DIES_target(creature|opponentBattlefield) -1/-1 ueot
text=When Grim Physician dies, target creature an opponent controls gets -1/-1 until end of turn.
mana={B}
type=Creature
subtype=Zombie
power=1
toughness=1
[/card]
[card]
name=Grim Strider
auto=foreach(*|myhand) -1/-1
text=Grim Strider gets -1/-1 for each card in your hand.
mana={3}{B}
type=Creature
subtype=Horror
power=6
toughness=6
[/card]
[card]
name=Grim Wanderer
abilities=flash
restriction=morbid
text=Flash -- Tragic Backstory - Cast this spell only if a creature died this turn.
mana={1}{B}
type=Creature
subtype=Goblin Warlock
power=5
toughness=3
[/card]
[card]
name=Grimclimb Pathway
auto={T}:add{B}
text={T}: Add {B}. // Brightclimb Pathway
type=Land
[/card]
[card]
name=Grimdancer
auto=this(counter{0/0.1.Deathtouch}>=1) deathtouch
auto=this(counter{0/0.1.Lifelink}>=1) lifelink
auto=this(counter{0/0.1.Menace}>=1) menace
auto=choice name(Menace and Deathtouch counters) counter(0/0,1,Menace) && counter(0/0,1,Deathtouch)
auto=choice name(Menace and Lifelink counters) counter(0/0,1,Deathtouch) && counter(0/0,1,Lifelink)
auto=choice name(Lifelink and Deathtouch counters) counter(0/0,1,Lifelink) && counter(0/0,1,Deathtouch)
text=Grimdancer enters the battlefield with your choice of two different counters on it from among menace, deathtouch, and lifelink.
mana={1}{B}{B}
type=Creature
subtype=Nightmare
power=3
toughness=3
[/card]
[card]
name=Grimlock, Dinobot Leader
auto=lord(creature[Vehicle,Dinosaur,other Autobot]|myBattlefield) 2/0
auto={2}:name(Transform) flip(Grimlock, Ferocious King)
text=Dinosaurs, Vehicles, and other Transformers® creatures you control get +2/+0. -- {2}, Convert a Transformers toy you own to its other mode: Grimlock, Dinobot Leader becomes Grimlock, Ferocious King.
type=Legendary Artifact Creature
subtype=Autobot
mana={1}{R}{G}{W}
power=4
toughness=4
[/card]
[card]
name=Grimlock, Ferocious King
doublefaced=kamiflip
abilities=trample
auto={2}:name (Transform) flip(Grimlock, Dinobot Leader)
text=Trample -- {2}, Convert a Transformers toy you own to its other mode: Grimlock, Ferocious King becomes Grimlock, Dinobot Leader.
color=green,white,red
type=Legendary Artifact Creature
subtype=Dinosaur
mana={1}{R}{G}{W}
power=8
toughness=8
[/card]
[card]
name=Grind // Dust
target=<upto:2>creature
auto=counter(-1/-1,1)
autograveyard={3}{W}{E}:target(<anyamount>creature[counter{-1/-1}]) moveto(exile) assorcery
text=Put a -1/-1 counter on each of up to two target creatures. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Exile any number of target creatures that have -1/-1 counters on them.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Grinning Totem
auto={2}{T}{S}:target(*|opponentlibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.TotemExiled)],newability[canplayfromexile],newability[@each my upkeep:all(*[counter{0/0.1.TotemExiled}]|myexile) moveTo(ownergraveyard)])) forever )!
text={2}, {T}, Sacrifice Grinning Totem: Search target opponent's library for a card and exile it. Then that player shuffles his or her library. Until the beginning of your next upkeep, you may play that card. At the beginning of your next upkeep, if you haven't played it, put it into its owner's graveyard.
mana={4}
type=Artifact
[/card]
[card]
name=Grip of Amnesia
target=*|stack
auto=transforms((,newability[choice name(Exile all cards) all(*|mygraveyard) moveto(exile)],newability[choice name(Counter spell) fizzle])) oneshot
auto=draw:1 controller
text=Counter target spell unless its controller exiles all cards from his or her graveyard. -- Draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Grisly Survivor
auto=@discarded(*|myhand):+2/+0 ueot
text=Whenever you cycle or discard a card, Grisly Survivor gets +2/+0 until end of turn.
mana={2}{B}
type=Creature
subtype=Minotaur Warrior
power=2
toughness=3
[/card]
[card]
name=Grismold, the Dreadsower
abilities=trample
auto=@each my endofturn:token(Plant,Creature Plant,1/1,green)
auto=@each my endofturn:token(Plant,Creature Plant,1/1,green) opponent
auto=@movedTo(graveyard) from(creature[token]|battlefield):counter(1/1,1)
text=Trample -- At the beginning of your end step, each player creates a 1/1 green Plant creature token. -- Whenever a creature token dies, put a +1/+1 counter on Grismold, the Dreadsower.
mana={1}{B}{G}
type=Legendary Creature
subtype=Troll Shaman
power=3
toughness=3
[/card]
[card]
name=Grizzled Outrider
mana={4}{G}
type=Creature
subtype=Elf Warrior
power=5
toughness=5
[/card]
[card]
name=Grizzly Ghoul
abilities=trample
auto=foreach(creature[fresh]|mygraveyard) counter(1/1)
text=Trample -- Grizzly Ghoul enters the battlefield with a +1/+1 counter on it for each creature that died this turn.
type=Creature
subtype=Zombie Bear
mana={2}{B}{G}
power=4
toughness=3
[/card]
[card]
name=Grotag Bug-Catcher
abilities=trample
auto=_ATTACKING_calculateparty/0 ueot
text=Trample -- Whenever Grotag Bug-Catcher attacks, it gets +1/+0 until end of turn for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={1}{R}
type=Creature
subtype=Goblin Warrior
power=1
toughness=2
[/card]
[card]
name=Grotag Night-Runner
auto=@combatdamaged(player) from(this):all(*[zpos=1]|myLibrary) moveTo(exile) and!( transforms((,canplayfromexile)) ueot )!
text=Whenever Grotag Night-Runner deals combat damage to a player, exile the top card of your library. You may play that card this turn.
mana={2}{R}
type=Creature
subtype=Goblin Rogue
power=2
toughness=3
[/card]
[card]
name=Grotesque Demise
target=creature[power<=3]
auto=moveto(exile)
text=Exile target creature with power 3 or less.
mana={2}{B}
type=Instant
[/card]
[card]
name=Ground Pounder
auto={3}{G}:all(this) rolld6 6 winability lastrollresult/lastrollresult ueot winabilityend loseability lastrollresult/lastrollresult ueot loseabilityend rolld6end
auto=@dierolled(*|battlefield) result(5) from(controller):name(Gains trample) name(Gains trample) all(this) transforms((,newability[trample])) ueot
auto=@dierolled(*|battlefield) result(6) from(controller):name(Gains trample) name(Gains trample) all(this) transforms((,newability[trample])) ueot
text={3}{G}: Roll a six-sided die. Ground Pounder gets +X/+X until end of turn, where X is the result. -- Whenever you roll a 5 or higher on a die, Ground Pounder gains trample until end of turn.
mana={1}{G}
type=Creature
subtype=Goblin Warrior
power=2
toughness=2
[/card]
[card]
name=Grow from the Ashes
kicker={2}
auto=Kicker {2} 
auto=Search your library forbasic land card put it onto the battlefield then shuffle your library If this spell was kicked instead search your library for two basic land cards put them onto the battlefield then shuffle your library
text=Kicker {2} (You may pay an additional {2} as you cast this spell.) -- Search your library for a basic land card, put it onto the battlefield, then shuffle your library. If this spell was kicked, instead search your library for two basic land cards, put them onto the battlefield, then shuffle your library.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Growing Rites of Itlimoc
auto=moverandom(creature) from(mylibrary) to(myhand)
auto=@each my endofturn restriction{type(creature|mybattlefield)~morethan~3}:flip(Itlimoc, Cradle of the Sun)
text=When Growing Rites of Itlimoc enters the battlefield, look at the top four cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in any order. -- At the beginning of your end step, if you control four or more creatures, transform Growing Rites of Itlimoc.
mana={2}{G}
type=Legendary Enchantment
[/card]
[card]
name=Growth Cycle
target=creature
auto=3/3
auto=foreach(Growth Cycle|graveyard) 2/2
text=Target creature gets +3/+3 until end of turn. It gets an additional +2/+2 until end of turn for each card named Growth Cycle in your graveyard.
mana={1}{G}
type=Instant
[/card]
[card]
name=Growth Spiral
auto=draw:1 
auto=may moveto(myBattlefield) target(land|myHand)
text=Draw a card. You may put a land card from your hand onto the battlefield.
mana={G}{U}
type=Instant
[/card]
[card]
name=Growth Spurt
auto=target(creature) rolld6 6 winability lastrollresult/lastrollresult ueot winabilityend loseability lastrollresult/lastrollresult ueot loseabilityend rolld6end
text=Roll a six-sided die. Target creature gets +X/+X until end of turn, where X is equal to the die roll.
mana={1}{G}
type=Instant
[/card]
[card]
name=Growth-Chamber Guardian
auto={2}{G}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.2)])) forever
auto=@counteradded(1/1) from(this):transforms((,newability[moveTo(myHand) target(Growth-Chamber Guardian|myLibrary)])) once
text={2}{G}: Adapt 2. (If this creature has no +1/+1 counters on it, put two +1/+1 counters on it.) -- Whenever one or more +1/+1 counters are put on Growth-Chamber Guardian, you may search your library for a card named Growth-Chamber Guardian, reveal it, put it into your hand, then shuffle your library.
mana={1}{G}
type=Creature
subtype=Elf Crab Warrior
power=2
toughness=2
[/card]
[card]
name=Gruesome Fate
auto=life:-type:creature:mybattlefield opponent
text=Each opponent loses 1 life for each creature you control.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Gruesome Menagerie
target=creature[manacost=1]|mygraveyard
auto=moveto(mybattlefield)
auto=ability$!name(Select creature with manacost 2) name(Select creature with manacost 2) moveto(mybattlefield) target(creature[manacost=2]|mygraveyard)!$ controller
auto=ability$!name(Select creature with manacost 3) name(Select creature with manacost 3) moveto(mybattlefield) target(creature[manacost=3]|mygraveyard)!$ controller
text=Choose a creature card with converted mana cost 1 in your graveyard, then do the same for creature cards with converted mana costs 2 and 3. Return those cards to the battlefield.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Gruesome Scourger
auto=damage:type:creature:mybattlefield target(planeswalker,opponent)
text=When Gruesome Scourger enters the battlefield, it deals damage to target opponent or planeswalker equal to the number of creatures you control.
mana={3}{B}{B}
type=Creature
subtype=Orc Warrior
power=3
toughness=3
[/card]
[card]
name=Grumgully, the Generous
auto=@movedto(other creature[-human]|myBattlefield):all(trigger[to]) counter(1/1,1)
text=Each other non-Human creature you control enters the battlefield with an additional +1/+1 counter on it.
mana={1}{R}{G}
type=Legendary Creature
subtype=Goblin Shaman
power=3
toughness=3
[/card]
[card]
name=Grunn, the Lonely King
kicker={3}
auto=if paid(kicker) then counter(1/1,5)
auto=@combat(attacking) source(this) restriction{type(creature[attacking]|myBattlefield)~lessthan~2}:dynamicability<!powerpumpboth!>
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- If Grunn, the Lonely King was kicked, it enters the battlefield with five +1/+1 counters on it. -- Whenever Grunn attacks alone, double its power and toughness until end of turn.
mana={4}{G}{G}
type=Legendary Creature
subtype=Ape Warrior
power=5
toughness=5
[/card]
[card]
name=Gruul Beastmaster
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
auto=_ATTACKING_target(other creature|myBattlefield) dynamicability<!powerpumppow!> ueot
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Whenever Gruul Beastmaster attacks, another target creature you control gets +X/+0 until end of turn, where X is Gruul Beastmaster's power.
mana={3}{G}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Gruul Locket
auto={RG}{RG}{RG}{RG}{T}{S}:draw:2
auto={T}:Add{R}
auto={T}:Add{G}
text={T}: Add {R} or {G}. -- {R/G}{R/G}{R/G}{R/G}, {T}, Sacrifice Gruul Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Gruul Spellbreaker
abilities=trample
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
auto=this(variable{controllerturn}) opponentshroud
auto=this(variable{controllerturn}) playershroud
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Trample -- As long as it's your turn, you and Gruul Spellbreaker have hexproof.
mana={1}{R}{G}
type=Creature
subtype=Ogre Warrior
power=3
toughness=3
[/card]
[card]
name=Guard Dogs
auto=aslongas(*[green]|myBattlefield) {2}{W}{T}:name(Prevent from green creature) name(Prevent from green creature) target(creature[green]) transforms((,newability[preventAllCombatDamage from(this)])) ueot
auto=aslongas(*[white]|myBattlefield) {2}{W}{T}:name(Prevent from white creature) name(Prevent from white creature) target(creature[white]) transforms((,newability[preventAllCombatDamage from(this)])) ueot
auto=aslongas(*[black]|myBattlefield) {2}{W}{T}:name(Prevent from black creature) name(Prevent from black creature) target(creature[black]) transforms((,newability[preventAllCombatDamage from(this)])) ueot
auto=aslongas(*[blue]|myBattlefield) {2}{W}{T}:name(Prevent from blue creature) name(Prevent from blue creature) target(creature[blue]) transforms((,newability[preventAllCombatDamage from(this)])) ueot
auto=aslongas(*[red]|myBattlefield) {2}{W}{T}:name(Prevent from red creature) name(Prevent from red creature) target(creature[red]) transforms((,newability[preventAllCombatDamage from(this)])) ueot
text={2}{W}, {T}: Choose a permanent you control. Prevent all combat damage target creature would deal this turn if it shares a color with that permanent.
mana={3}{W}
type=Creature
subtype=Dog
power=2
toughness=2
[/card]
[card]
name=Guardian Archon
abilities=flying
auto=name(Choose opponent) target(opponent) donothing
auto=this(cantargetcard(*[-effectactivated]) {0}:name(Gain protection) all(this) becomes(effectactivated) forever && target(*|mybattlefield) transforms((,newability[opponentshroud],newability[playershroud])) ueot
text=Flying -- As Guardian Archon enters the battlefield, secretly choose an opponent. -- Reveal the player you chose: You and target permanent you control each gain protection from the chosen player until end of turn. Activate only once.
mana={4}{W}{W}
type=Creature
subtype=Archon
power=5
toughness=5
[/card]
[card]
name=Guardian Augmenter
abilities=flash
auto=lord(creature[iscommander]|mybattlefield) 2/2
auto=lord(*[iscommander]) opponentshroud
text=Flash -- Commander creatures you control get +2/+2. -- Commanders you control have hexproof.
mana={2}{G}
type=Creature
subtype=Troll Wizard
power=2
toughness=2
[/card]
[card]
name=Guardian Gladewalker
abilities=changeling
auto=name(Put 1/1 counter) counter(1/1) target(creature)
text=Changeling (This card is every creature type.) -- When Guardian Gladewalker enters the battlefield, put a +1/+1 counter on target creature.
mana={1}{G}
type=Creature
subtype=Shapeshifter
power=1
toughness=1
[/card]
[card]
name=Guardian Kirin
abilities=flying
auto=@movedTo(other creature|graveyard) from(myBattlefield):name(Put 1/1 counter) counter(1/1)
text=Flying -- Whenever another creature you control dies, put a +1/+1 counter on Guardian Kirin.
mana={3}{W}
type=Creature
subtype=Kirin
power=2
toughness=3
[/card]
[card]
name=Guardian Project
auto=@movedto(creature[-token]|mybattlefield):all(trigger[to]) transforms((,newability[if type(creature[share!name!]|mybattlefield)~lessthan~2 then if type(creature[share!name!]|mygraveyard)~lessthan~1 then draw:1 controller])) ueot
text=Whenever a nontoken creature enters the battlefield under your control, if it doesn't have the same name as another creature you control or a creature card in your graveyard, draw a card.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Guardian Seraph
abilities=flying
auto=@targeted(controller):prevent:1 controller
text=Flying -- If a source an opponent controls would deal damage to you, prevent 1 of that damage.
mana={2}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=4
[/card]
[card]
name=Guardian of Faith
abilities=vigilance,flash
auto=may name(Phase out any creature) target(<anyamount>other creature|myBattlefield) phaseout
text=Flash -- Vigilance -- When Guardian of Faith enters the battlefield, any number of other target creatures you control phase out. (Treat them and anything attached to them as though they don't exist until their controller's next turn.)
mana={1}{W}{W}
type=Creature
subtype=Spirit Knight
power=3
toughness=2
[/card]
[card]
name=Guardian of the Gateless
abilities=flying
auto=@combat(blocking) source(this):1/1 ueot
text=Flying -- Guardian of the Gateless can block any number of creatures. -- Whenever Guardian of the Gateless blocks, it gets +1/+1 until end of turn for each creature it's blocking.
mana={4}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Guardians of Koilos
auto=may target(other *[artifact;legendary;saga]|myBattlefield) moveto(ownerHand)
text=When Guardians of Koilos enters the battlefield, you may return another target historic permanent you control to its owner's hand. (Artifacts, legendaries, and Sagas are historic.)
mana={5}
type=Artifact Creature
subtype=Construct
power=4
toughness=4
[/card]
[card]
name=Guiding Spirit
abilities=flying
aicode=activate target(creature[zpos<=1]|mygraveyard) moveto(mylibrary)
auto={T}:name(Controller) target(creature[zpos=1|mygraveyard) moveto(mylibrary)
auto={T}:name(Opponent) target(creature[zpos=1|opponentgraveyard) moveto(opponenthand)
text=Flying -- {T}: If the top card of target player's graveyard is a creature card, put that card on top of that player's library.
mana={1}{W}{U}
type=Creature
subtype=Angel Spirit
power=1
toughness=2
[/card]
[card]
name=Guiding Voice
target=creature
auto=counter(1/1)
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Put a +1/+1 counter on target creature. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={W}
type=Sorcery
[/card]
[card]
name=Guild Globe
auto=draw:1
auto={2}{T}{S}:Add{W}{U}
auto={2}{T}{S}:Add{W}{B}
auto={2}{T}{S}:Add{W}{R}
auto={2}{T}{S}:Add{W}{G}
auto={2}{T}{S}:Add{U}{B}
auto={2}{T}{S}:Add{U}{R}
auto={2}{T}{S}:Add{U}{G}
auto={2}{T}{S}:Add{B}{R}
auto={2}{T}{S}:Add{B}{G}
auto={2}{T}{S}:Add{R}{G}
text=When Guild Globe enters the battlefield, draw a card. -- {2}, {T}, Sacrifice Guild Globe: Add two mana of different colors.
mana={2}
type=Artifact
[/card]
[card]
name=Guild Summit
auto=(<anyamount>gate[-tapped]|myBattlefield) draw:1
auto=@movedTo(*[Gate]|myBattlefield):draw:1
text=When Guild Summit enters the battlefield, you may tap any number of untapped Gates you control. Draw a card for each Gate tapped this way. -- Whenever a Gate enters the battlefield under your control, draw a card.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Guild Thief
auto=@combatdamaged(player) from(this):name(Counter 1/1) counter(1/1)
auto={3}{U}:name(Cunning Action) transforms((,newability[unblockable])) ueot
text=Whenever Guild Thief deals combat damage to a player, put a +1/+1 counter on it. -- Cunning Action-{3}{U}: Guild Thief can't be blocked this turn.
mana={1}{U}
type=Creature
subtype=Orc Rogue
power=1
toughness=1
[/card]
[card]
name=Guildless Commons
auto=tap(noevent)
auto=moveto(ownerhand) target(land|mybattlefield)
auto={T}:add{C}{C}
text=Guildless Commons enters the battlefield tapped. -- When Guildless Commons enters the battlefield, return a land you control to its owner's hand. -- {T}: Add {C}{C}.
type=Land
[/card]
[card]
name=Guildmages' Forum
auto={T}:add{C}
auto={1}{T}:emblem transforms((,newability[add{W}],newability[@movedto(creature[multicolor]|mybattlefield) once:all(trigger) counter(1/1)])) ueot
auto={1}{T}:emblem transforms((,newability[add{U}],newability[@movedto(creature[multicolor]|mybattlefield) once:all(trigger) counter(1/1)])) ueot
auto={1}{T}:emblem transforms((,newability[add{R}],newability[@movedto(creature[multicolor]|mybattlefield) once:all(trigger) counter(1/1)])) ueot
auto={1}{T}:emblem transforms((,newability[add{G}],newability[@movedto(creature[multicolor]|mybattlefield) once:all(trigger) counter(1/1)])) ueot
auto={1}{T}:emblem transforms((,newability[add{B}],newability[@movedto(creature[multicolor]|mybattlefield) once:all(trigger) counter(1/1)])) ueot
text={T}: Add {C}. -- {1}, {T}: Add one mana of any color. If that mana is spent on a multicolored creature spell, that creature enters the battlefield with an additional +1/+1 counter on it.
type=Land
[/card]
[card]
name=Guildpact Informant
abilities=flying
auto=@combatdamaged(player,planeswalker) from(this):_PROLIFERATE_
text=Flying -- Whenever Guildpact Informant deals combat damage to a player or planeswalker, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={2}{U}
type=Creature
subtype=Faerie Rogue
power=1
toughness=1
[/card]
[card]
name=Guile
abilities=trheeblockers,shufflelibrarydeath
auto={D(instant|myhand)}:target(*|stack) fizzleto(exile) && may activate castcard(copied noevent)
text=Guile can't be blocked except by three or more creatures. -- If a spell or ability you control would counter a spell, instead exile that spell and you may play that card without paying its mana cost. -- When Guile is put into a graveyard from anywhere, shuffle it into its owner's library.
mana={3}{U}{U}{U}
type=Creature
subtype=Elemental Incarnation
power=6
toughness=6
[/card]
[card]
name=Gurmag Drowner
aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(myhand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!])) ueot
auto=may name(Exploit) sacrifice target(creature|mybattlefield) && name(look) reveal:4 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(graveyard) optiontwoend revealend
text=Exploit (When this creature enters the battlefield, you may sacrifice a creature.) -- When Gurmag Drowner exploits a creature, look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard.
mana={3}{U}
type=Creature
subtype=Naga Wizard
power=2
toughness=4
[/card]
[card]
name=Gust Walker
auto=@exerted(this):transforms((,newability[flying],newability[1/1])) ueot
auto=_ATTACKING_may exert
text=You may exert Gust Walker as it attacks. When you do, it gets +1/+1 and gains flying until end of turn. (An exerted creature won't untap during your next untap step.)
mana={1}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Gust of Wind
anyzone=if type(creature[flying]|myBattlefield)~morethan~0 then changecost(colorless:-2) forcedalive
target=*[-land]|opponentBattlefield
auto=moveTo(ownerHand)
auto=draw:1 controller
text=This spell costs {2} less to cast if you control a creature with flying. -- Return target nonland permanent you don't control to its owner's hand. -- Draw a card.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Gutterbones
auto=tap
autograveyard={1}{B}:moveTo(myhand) asSorcery restriction{compare(oplifelost)~morethan~0}
text=Gutterbones enters the battlefield tapped. -- {1}{B}: Return Gutterbones from your graveyard to your hand. Activate this ability only during your turn and only if an opponent lost life this turn.
mana={B}
type=Creature
subtype=Skeleton Warrior
power=2
toughness=1
[/card]
[card]
name=Guul Draz Mucklord
auto=_DIES_:counter(1/1,1) target(creature|myBattlefield)
text=When Guul Draz Mucklord dies, put a +1/+1 counter on target creature you control.
mana={2}{B}
type=Creature
subtype=Crocodile
power=2
toughness=3
[/card]
[card]
name=Gyome, Master Chef
abilities=trample
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~1}:token(Food)
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~2}:token(Food)*2
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~3}:token(Food)*3
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~4}:token(Food)*4
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~5}:token(Food)*5
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~6}:token(Food)*6
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~7}:token(Food)*7
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~8}:token(Food)*8
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~9}:token(Food)*9
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~10}:token(Food)*10
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~11}:token(Food)*11
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~12}:token(Food)*12
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~13}:token(Food)*13
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~14}:token(Food)*14
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~15}:token(Food)*15
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~16}:token(Food)*16
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~17}:token(Food)*17
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~18}:token(Food)*18
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~equalto~19}:token(Food)*19
auto=@each my end restriction{thisturn(creature[-token]|mybattlefield)~morethan~19}:token(Food)*20
auto={1}{S(food|mybattlefield)}:name(Creature gains indestructible) target(creature|battlefield) transforms((,newability[indestructible],newability[tap])) ueot
text=Trample -- At the beginning of your end step, create a number of Food tokens equal to the number of nontoken creatures you had enter the battlefield under your control this turn. -- {1}, Sacrifice a Food: Target creature gains indestructible until end of turn. Tap it.
mana={2}{B}{G}
type=Legendary Creature
subtype=Troll Warlock
power=5
toughness=3
[/card]
[card]
name=Gyre Engineer
auto={T}:Add{G}{U}
text={T}: Add {G}{U}.
mana={1}{G}{U}
type=Creature
subtype=Vedalken Wizard
power=1
toughness=1
[/card]
[card]
name=Gyrus, Waker of Corpses
auto=counter(1/1,X) && counter(1/1,3)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:may name(Exile and copy a creature) target(creature[power<=0]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:may name(Exile and copy a creature) target(creature[power<=1]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:may name(Exile and copy a creature) target(creature[power<=2]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:may name(Exile and copy a creature) target(creature[power<=3]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:may name(Exile and copy a creature) target(creature[power<=4]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:may name(Exile and copy a creature) target(creature[power<=5]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:may name(Exile and copy a creature) target(creature[power<=6]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:may name(Exile and copy a creature) target(creature[power=<7]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:may name(Exile and copy a creature) target(creature[power=<8]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:may name(Exile and copy a creature) target(creature[power<=9]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:may name(Exile and copy a creature) target(creature[power<=10]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:may name(Exile and copy a creature) target(creature[power<=11]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:may name(Exile and copy a creature) target(creature[power<=12]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:may name(Exile and copy a creature) target(creature[power<=13]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:may name(Exile and copy a creature) target(creature[power<=14]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:may name(Exile and copy a creature) target(creature[power<=15]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:may name(Exile and copy a creature) target(creature[power<=16]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:may name(Exile and copy a creature) target(creature[power=<17]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:may name(Exile and copy a creature) target(creature[power=<18]|mygraveyard) moveto(exile) && clone with(unearth,battleready)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~19}:may name(Exile and copy a creature) target(creature|mygraveyard) moveto(exile) && clone with(unearth,battleready)
text=Gyrus, Waker of Corpses enters the battlefield with a number of +1/+1 counters on it equal to the amount of mana spent to cast it. -- Whenever Gyrus attacks, you may exile target creature card with lesser power from your graveyard. If you do, create a token that's a copy of that card and that's tapped and attacking. Exile the token at end of combat.
mana={X}{B}{R}{G}
type=Legendary Creature
subtype=Hydra
power=0
toughness=0
[/card]
[card]
name=Haakon, Stromgald Scourge
autograveyard={1}{B}{B}:activate castcard(normal)
restriction=never
auto=lord(knight|mygraveyard) canPlayFromGraveyard
auto=_DIES_life:-2 controller
text=You may cast Haakon, Stromgald Scourge from your graveyard, but not from anywhere else. -- As long as Haakon is on the battlefield, you may play Knight cards from your graveyard. -- When Haakon dies, you lose 2 life.
mana={1}{B}{B}
type=Legendary Creature
subtype=Zombie Knight
power=3
toughness=3
[/card]
[card]
name=Haazda Marshal
auto=_BATTALION_create(soldier:creature soldier:1/1:white:lifelink)
text=Whenever Haazda Marshal and at least two other creatures attack, create a 1/1 white Soldier creature token with lifelink.
mana={W}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Haazda Officer
auto=target(creature|mybattlefield) 1/1 ueot
text=When Haazda Officer enters the battlefield, target creature you control gets +1/+1 until end of turn.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=2
[/card]
[card]
name=Hackrobat
auto={B}:deathtouch
auto={R}:+2/-2
text=Spectacle {B}{R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- {B}: Hackrobat gains deathtouch until end of turn. -- {R}: Hackrobat gets +2/-2 until end of turn.
other={B}{R} name(Spectacle) 
otherrestriction=compare(oplifelost)~morethan~0
mana={1}{B}{R}
type=Creature
subtype=Human Rogue
power=2
toughness=3
[/card]
[card]
name=Hadana's Climb
auto=@each my combatbegins:name(Give 1/1 counter to target creature) name(Give 1/1 counter to target creature) target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[this(counter{1/1}>=3) name(Transform Hadana's Club) name(Transform Hadana's Club) all(Hadana's Climb|mybattlefield) counter(0/0.1.TransformHadana)])) forever
auto=@counteradded(0/0.1.TransformHadana) from(this):flip(Winged Temple of Orazca) && removeallcounters(0/0,1,TransformHadana)
text=At the beginning of combat on your turn, put a +1/+1 counter on target creature you control. Then if that creature has three or more +1/+1 counters on it, transform Hadana's Climb.
mana={1}{G}{U}
type=Legendary Enchantment
[/card]
[card]
name=Hagi Mob
abilities=boast
auto={1}{R} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && target(player,creature,planeswalker) damage:1 limit:hasabilitytwoboastplus1plusend
auto={R} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && target(player,creature,planeswalker) damage:1 limit:hasabilitytwoboastplus1plusend
text=Boast-{1}{R}: Hagi Mob deals 1 damage to any target. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={4}{R}
type=Creature
subtype=Troll Berserker
power=5
toughness=4
[/card]
[card]
name=Hagra Broodpit
auto=tap(noevent)
auto={T}:add{B}
text=Hagra Broodpit enters the battlefield tapped. -- {T}: Add {B}. // {2}{B}{B} Hagra Mauling
type=Land
[/card]
[card]
name=Hagra Constrictor
auto=counter(1/1,2) all(this)
auto=lord(creature[counter{1/1.1}]|myBattlefield) menace
text=Hagra Constrictor enters the battlefield with two +1/+1 counters on it. -- Each creature you control with a +1/+1 counter on it has menace. (A creature with menace can't be blocked except by two or more creatures.)
mana={2}{B}
type=Creature
subtype=Snake
power=0
toughness=0
[/card]
[card]
name=Hagra Mauling
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Hagra Broodpit)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Hagra Broodpit) name(Hagra Broodpit) flip(Hagra Broodpit) forcetype(land)
anyzone=this(variable{type:land[basic]:opponenthand}<1) changecost(colorless:-1) forcedalive
auto=name(Destroy a creature) name(Destroy a creature) destroy target(creature)
text=This spell costs {1} less if an opponent controls no basic lands. -- Destroy target creature. // Hagra Broodpit
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Hail of Arrows
auto=thisforeach(X) ability$!name(Choose attacking creature) damage:1 target(creature[attacking])!$ controller
text=Hail of Arrows deals X damage divided as you choose among any number of target attacking creatures.
mana={X}{W}
type=Instant
[/card]
[card]
name=Hailstorm Valkyrie
abilities=flying,trample
auto={i}{i}:2/2 ueot
text=Flying, trample -- {S}i}{S}i}: Hailstorm Valkyrie gets +2/+2 until end of turn. ({S}i} can be paid with one mana from a snow source.)
mana={3}{B}
type=Snow Creature
subtype=Angel Wizard
power=2
toughness=2
[/card]
[card]
name=Hakka, Whispering Raven
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@combatdamagefoeof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( scry:2 scrycore delayed dontshow donothing scrycoreend scryend )!
auto=@combatdamageof(player) from(this):name(Return to hand and scry 2) name(Return to hand and scry 2) moveTo(ownerhand) and!( scry:2 scrycore delayed dontshow donothing scrycoreend scryend )!
text=Flying -- Whenever Hakka, Whispering Raven deals combat damage to a player, return it to its owner's hand, then scry 2. // {3}{U}{U} Alrund, God of the Cosmos
mana={1}{U}
type=Legendary Creature
subtype=Bird
power=2
toughness=3
[/card]
[card]
name=Halana, Kessig Ranger
abilities=reach,partner
auto=@movedTo(other creature|mybattlefield):may pay({2}) name(Pay 2) all(trigger[to]) transforms((,newability[name(Damage creature) dynamicability<!powerstrike!> target(creature)])) oneshot
text=Reach -- Whenever another creature enters the battlefield under your control, you may pay {2}. When you do, that creature deals damage equal to its power to target creature. -- Partner (You can have two commanders if both have partner.)
mana={3}{G}
type=Legendary Creature
subtype=Human Archer
power=3
toughness=4
[/card]
[card]
name=Haldan, Avid Arcanist
abilities=hiddenface,canplayfromexile,partner
auto=may name(Put partner in hand) moveTo(myhand) target(Pako^ Arcane Retriever|mylibrary)
auto=lord(*[-creature]|mycastingzone) transforms((,newability[anytypeofmana]))
text=Partner with Pako, Arcane Retriever (When this creature enters the battlefield, target player may put Pako into their hand from their library, then shuffle.) -- You may play noncreature cards from exile with fetch counters on them if you exiled them, and you may spend mana as though it were mana of any color to cast those spells.
mana={2}{U}
type=Legendary Creature
subtype=Human Wizard
power=1
toughness=4
[/card]
[card]
name=Half-Elf Monk
abilities=vigilance
auto={1}{W}{T}:name(Stunning Strike) target(creature|battlefield) tap
text=Vigilance -- Stunning Strike-{1}{W}, {T}: Tap target creature.
mana={3}{W}
type=Creature
subtype=Human Elf Monk
power=1
toughness=4
[/card]
[card]
name=Halimar Tidecaller
auto=lord(creature[land]|myBattlefield) flying
auto=may moveTo(myhand) target(*[awaken]|mygraveyard)
text=When Halimar Tidecaller enters the battlefield, you may return target card with awaken from your graveyard to your hand. -- Land creatures you control have flying.
mana={2}{U}
type=Creature
subtype=Human Wizard Ally
power=2
toughness=3
[/card]
[card]
name=Hall Monitor
abilities=haste
auto={1}{R}{T}:name(Creature can't block) target(creature) transforms((,newability[cantblock])) ueot
text=Haste -- {1}{R}, {T}: Target creature can't block this turn.
mana={R}
type=Creature
subtype=Lizard Shaman
power=1
toughness=1
[/card]
[card]
name=Hall of Heliod's Generosity
auto={T}:add{C}
auto={1}{W}{T}:moveTo(mylibrary) target(enchantment|mygraveyard)
text={T}: Add {1}. -- {1}{W}, {T}: Put target enchantment card from your graveyard on top of your library.
type=Legendary Land
[/card]
[card]
name=Hall of Oracles
auto={T}:add{C}
auto={1}{T}:add{W}
auto={1}{T}:add{U}
auto={1}{T}:add{G}
auto={1}{T}:add{R}
auto={1}{T}:add{B}
auto={T} restriction{thisturn(*[instant;sorcery]|mystack)~morethan~0}:name(Put 1/1 counter) target(creature) counter(1/1) asSorcery
text={T}: Add {C}. -- {1}, {T}: Add one mana of any color. -- {T}: Put a +1/+1 counter on target creature. Activate only as a sorcery and only if you've cast an instant or sorcery spell this turn.
type=Land
[/card]
[card]
name=Hall of Storm Giants
auto=if compare(type:land:myBattlefield)~morethan~2 then tap(noevent)
auto={T}:Add{U}
auto={5}{U}:name(Becomes giant) transforms((,newability[becomes(Creature Giant^7/7^blue) ueot],newability[@targeted(this) from(*|opponentzones):choice name(This spell costs 3 more) name(This spell costs 3 more) target(*|opponentzones) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot])) ueot
text=If you control two or more other lands, Hall of Storm Giants enters the battlefield tapped. -- {T}: Add {U}. -- {5}{U}: Until end of turn, Hall of Storm Giants becomes a 7/7 blue Giant creature with ward {3}. it's still a land. (Whenever it becomes the target of a spell or ability an opponent controls, counter it unless that player pays {3}.)
type=Land
[/card]
[card]
name=Hall of the Bandit Lord
auto={T}{L:3}:add{1} && target(creature[fresh]|mybattlefield) haste
text=Hall of the Bandit Lord enters the battlefield tapped. -- {T}, Pay 3 life: Add {1} to your mana pool. If that mana is spent on a creature spell, it gains haste.
type=Legendary Land
[/card]
[card]
name=Hallar, the Firefletcher
abilities=trample
auto=@movedto(*[kicked>=1]|mystack):transforms((,newability[counter(1/1.1)],newability[thisforeach(counter{1/1.1}) damage:1 opponent])) oneshot
text=Trample -- Whenever you cast a spell, if that spell was kicked, put a +1/+1 counter on Hallar, the Firefletcher, then Hallar deals damage equal to the number of +1/+1 counters on it to each opponent.
mana={1}{R}{G}
type=Legendary Creature
subtype=Elf Archer
power=3
toughness=3
[/card]
[card]
name=Hallowed Moonlight
auto=draw:1 controller
auto=emblem transforms((,newability[@movedto(creature|battlefield):name(Exile if not casted) all(trigger[to]) transforms((,newability[ifnot casted(this) then moveto(exile)])) oneshot])) ueot dontremove
text=Until end of turn, if a creature would enter the battlefield and it wasn't cast, exile it instead. -- Draw a card.
mana={1}{W}
type=Instant
[/card]
[card]
name=Hallowed Priest
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1,1)
text=Whenever you gain life, put a +1/+1 counter on Hallowed Priest
mana={1}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Hallowed Respite
target=creature[-legendary]
flashback={1}{W}{U}
auto=name(Exile and return) moveto(exile) and!( moveto(ownerbattlefield) and!( if cantargetcard(*|myBattlefield) then counter(1/1) else tap )! )!
text=Exile target nonlegendary creature, then return it to the battlefield under its owner's control. If it entered under your control, put a +1/+1 counter on it. Otherwise, tap it. -- Flashback {1}{W}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={W}{U}
type=Sorcery
[/card]
[card]
name=Halls of Mist
auto=cumulativeupcost[{1}] sacrifice
auto=@each my combatends:all(creature[attacking]|mybattlefield)) transforms((,newability[counter(0/0.1.MistEffect)],newability[@each my end restriction{didntattack}:counter(0/0.-1.MistEffect)])) forever
auto=@each opponent combatends:all(creature[attacking]|opponentbattlefield)) transforms((,newability[counter(0/0.1.MistEffect)],newability[@each my end restriction{didntattack}:counter(0/0.-1.MistEffect)])) forever
auto=lord(creature[counter{0/0.1.MistEffect}]) cantattack
text=Cumulative upkeep {1} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- Creatures that attacked during their controller's last turn can't attack.
type=Land
[/card]
[card]
name=Halvar, God of Battle
other={1}{W} name(Sword of the Realms)
otherrestriction=can play equipment,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Sword of the Realms)
autostack=if paid(alternative) then flip(Sword of the Realms) forcetype(Legendary Artifact)
auto=this(variable{isflipped}<1) lord(creature[geared;enchanted]|myBattlefield) double strike
auto=@each combatbegins restriction{compare(isflipped)~equalto~0,type(creature|mybattlefield)~morethan~1,type(creature[equipped]|mybattlefield)~morethan~0,type(creature[enchanted]|mybattlefield)~equalto~0}:may name(Re-attach target equipment) target(*[equipment]|mybattlefield) transforms((,newability[name(Attach to creature) name(Attach to creature) rehook target(creature|mybattlefield)])) oneshot
auto=@each combatbegins restriction{compare(isflipped)~equalto~0,type(creature|mybattlefield)~morethan~1,type(creature[equipped]|mybattlefield)~equalto~0,type(creature[enchanted]|mybattlefield)~morethan~0}:may name(Re-attach target aura) target(*[aura]|mybattlefield) transforms((,newability[name(Attach to creature) name(Attach to creature) rehook target(creature|mybattlefield)])) oneshot
auto=@each combatbegins restriction{compare(isflipped)~equalto~0,type(creature|mybattlefield)~morethan~1,type(creature[equipped]|mybattlefield)~morethan~0,type(creature[enchanted]|mybattlefield)~morethan~0}:may name(Re-attach target equipment or aura) target(*[aura;equipment]|mybattlefield) transforms((,newability[name(Attach to creature) name(Attach to creature) rehook target(creature|mybattlefield)])) oneshot
text=Creatures you control that are enchanted or equipped have double strike. -- At the beginning of each combat, you may attach target Aura or Equipment attached to a creature you control to target creature you control. // {1}{W} Sword of the Realms
mana={2}{W}{W}
type=Legendary Creature
subtype=God
power=4
toughness=4
[/card]
[card]
name=Hama Pashar, Ruin Seeker
abilities=twodngtrg
text=Room abilities of dungeons your own trigger an additional time.
mana={1}{W}{U}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Hammer Dropper
abilities=mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
text=Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.)
mana={2}{R}{W}
type=Creature
subtype=Giant Soldier
power=5
toughness=2
[/card]
[card]
name=Hammer Helper
target=creature
auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[all(this) rolld6 6 winability lastrollresult/0 ueot winabilityend loseability lastrollresult/0 ueot loseabilityend rolld6end],newability[untap],haste)) ueot)!
text=Gain control of target creature until end of turn. Untap that creature and roll a six-sided die. Until end of turn, it gains haste and gets +X/+0, where X is the result.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Hammer Jammer
auto={3}{G}:all(this) rolld6 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rolld6end
auto=@dierolled(*|battlefield) result(1) from(controller):name(Get counter) name(Get counter) removeallcounters(1/1) && transforms((,newability[counter(1/1.1)])) all(this) 
auto=@dierolled(*|battlefield) result(2) from(controller):name(Get counters) name(Get counters) removeallcounters(1/1) && transforms((,newability[counter(1/1.2)])) all(this) 
auto=@dierolled(*|battlefield) result(3) from(controller):name(Get counters) name(Get counters) removeallcounters(1/1) && transforms((,newability[counter(1/1.3)])) all(this) 
auto=@dierolled(*|battlefield) result(4) from(controller):name(Get counters) name(Get counters) removeallcounters(1/1) && transforms((,newability[counter(1/1.4)])) all(this) 
auto=@dierolled(*|battlefield) result(5) from(controller):name(Get counters) name(Get counters) removeallcounters(1/1) && transforms((,newability[counter(1/1.5)])) all(this) 
auto=@dierolled(*|battlefield) result(6) from(controller):name(Get counters) name(Get counters) removeallcounters(1/1) && transforms((,newability[counter(1/1.6)])) all(this) 
text=As Hammer Jammer enters the battlefield, roll a six-sided die. Hammer Jammer enters the battlefield with a number of +1/+1 counters on it equal to the result. -- Whenever you roll a die, remove all +1/+1 counters from Hammer Jammer, then put a number of +1/+1 counters on it equal to the result.
mana={3}{R}
type=Creature
subtype=Goblin Warrior
power=0
toughness=0
[/card]
[card]
name=Hammer of Nazahn
auto={4}:equip
auto=teach(creature) indestructible && 2/0
auto=@may rehook
auto=@movedto(artifact[Equipment]|mybattlefield):may all(trigger[to]) rehook
text=Whenever Hammer of Nazahn or another Equipment enters the battlefield under your control, you may attach that Equipment to target creature you control. -- Equipped creature gets +2/+0 and has indestructible. -- Equip {4}
mana={4}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Hampering Snare
abilities=cycling
auto=all(creature|opponentBattlefield) -2/-0 ueot
autohand=__CYCLING__({2})
text=Creatures your opponents control get -2/-0 until end of turn. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Hamza, Guardian of Arashin
anyzone=foreach(creature[counter{1/1}]|mybattlefield) changecost(colorless:-1) forcedalive
auto=lord(creature|mycastingzone) foreach(creature[counter{1/1}]|mybattlefield) changecost(colorless:-1) forcedalive
text=This spell costs {1} less to cast for each creature you control with a +1/+1 counter on it. -- Creature spells you cast cost {1} less to cast for each creature you control with a +1/+1 counter on it.
mana={4}{G}{W}
type=Legendary Creature
subtype=Elephant Warrior
power=5
toughness=5
[/card]
[card]
name=Hand of Vecna
auto={2}:equip
auto={0}:name(Pay life and equip) target(creature|myBattlefield) rehook && life:-phandcount controller asSorcery
auto=teach(creature) transforms((,newability[@each my combatbegins restriction{compare(phandcount)~morethan~0}:name(Choose one) transforms((,newability[choice name(Equipped creature gets X/X) phandcount/phandcount ueot],newability[if type(Vecna|myBattlefield)~morethan~0 then choice name(Vecna gets X/X) name(Vecna gets X/X) all(Vecna|mybattlefield) phandcount/phandcount ueot])) oneshot]))
text=At the beginning of combat on your turn, equipped creature or a creature you control named Vecna gets +X/+X until end of turn, where X is the number of cards in your hand. -- Equip-Pay 1 life for each card in your hand. -- Equip {2}
mana={3}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Hand to Hand
auto=while(restriction{combatbeginsonly}) maxCast(*[instant])0 opponent
auto=while(restriction{attackersonly}) maxCast(*[instant])0 opponent
auto=while(restriction{blockersonly}) maxCast(*[instant])0 opponent
auto=while(restriction{combatdamageonly}) maxCast(*[instant])0 opponent
auto=while(restriction{combatendsonly}) maxCast(*[instant])0 opponent
auto=while(restriction{combatbeginsonly}) maxCast(*[instant])0 controller
auto=while(restriction{attackersonly}) maxCast(*[instant])0 controller
auto=while(restriction{blockersonly}) maxCast(*[instant])0 controller
auto=while(restriction{combatdamageonly}) maxCast(*[instant])0 controller
auto=while(restriction{combatendsonly}) maxCast(*[instant])0 controller
auto=while(restriction{combatbeginsonly}) noactivatedability opponent
auto=while(restriction{attackersonly}) noactivatedability opponent
auto=while(restriction{blockersonly}) noactivatedability opponent
auto=while(restriction{combatdamageonly}) noactivatedability opponent
auto=while(restriction{combatendsonly}) noactivatedability opponent
auto=while(restriction{combatbeginsonly}) noactivatedability controller
auto=while(restriction{attackersonly}) noactivatedability controller
auto=while(restriction{blockersonly}) noactivatedability controller
auto=while(restriction{combatdamageonly}) noactivatedability controller
auto=while(restriction{combatendsonly}) noactivatedability controller
text=During combat, players can't cast instant spells or activate abilities that aren't mana abilities.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Hanged Executioner
abilities=flying
auto=create(Spirit:creature Spirit:1/1:white:flying)
auto={3}{W}:moveTo(exile) target(creature) && moveTo(exile) all(this)
text=Flying -- When Hanged Executioner enters the battlefield, create a 1/1 white Spirit creature token with flying. -- {3}{W}, Exile Hanged Executioner: Exile target creature.
mana={2}{W}
type=Creature
subtype=Spirit
power=1
toughness=1
[/card]
[card]
name=Hankyu
auto={4}:equip
auto=teach(creature) transforms((,newability[{T}:name(Add aim counter) counter(0/0.1.aim)]))
auto=teach(creature) transforms((,newability[{T}:name(Deal damage) damage:hascntaim target(player^creature) && all(this) removeallcounters(0/0.1.aim)]))
text=Equipped creature has "{T}: Put an aim counter on Hankyu" and "{T}, Remove all aim counters from Hankyu: This creature deals damage to target creature or player equal to the number of aim counters removed this way." -- Equip {4} ({4}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Hans Eriksson
auto=_ATTACKING_reveal:1 optionone name(Reveal) target(creature|reveal) moveto(mybattlefield) and!( transforms((,newability[ninjutsu],newability[target(Hans Eriksson|mybattlefield) dynamicability<!powerstrike eachother!>])) forever )! optiononeend optiontwo target(<1>*|reveal) moveto(myhand) optiontwoend revealend
text=Whenever Hans Eriksson attacks, reveal the top card of your library. If it's a creature card, put it onto the battlefield tapped and attacking defending player or a planeswalker they control. Otherwise, put that card into your hand. When you put a creature card onto the battlefield this way, it fights Hans Eriksson.
mana={2}{R}{G}
type=Legendary Creature
subtype=Human Scout
power=1
toughness=4
[/card]
[card]
name=Hapatra's Mark
target=creature
auto=opponentshroud
auto=counter(-1/-1,-20)
text=Target creature you control gains hexproof until end of turn. Remove all -1/-1 counters from it. (A creature with hexproof can't be the target of spells or abilities your opponents control.)
mana={G}
type=Instant
[/card]
[card]
name=Hapatra, Vizier of Poisons
auto=@combatdamaged(player) from(this):may counter(-1/-1,1) target(creature) && token(Snake,creature Snake,1/1,green,deathtouch)
text=Whenever Hapatra, Vizier of Poisons deals combat damage to a player, you may put a -1/-1 counter on target creature. -- Whenever you put one or more -1/-1 counters on a creature, create a 1/1 green Snake creature token with deathtouch.
mana={B}{G}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Haphazard Bombardment
auto=target(<4>*[-enchantment]|opponentbattlefield) counter(0/0,1,Aim)
auto=@each my endofturn:if type(*[counter{0/0.1.Aim}]|opponentbattlefield)~morethan~1 then ability$!name(Destroy creature) destroy notatarget(*[counter{0/0.1.Aim}]|mybattlefield)!$ opponent
text=When Haphazard Bombardment enters the battlefield, choose four nonenchantment permanents you don't control and put an aim counter on each of them. -- At the beginning of your end step, if two or more permanents you don't control have an aim counter on them, destroy one of those permanents at random.
mana={5}{R}
type=Enchantment
[/card]
[card]
name=Happily Ever After
auto=draw:1 controller
auto=draw:1 opponent
auto=life:5 controller
auto=life:5 opponent
auto=@each my upkeep restriction{type(*[white]|myBattlefield)~morethan~0,type(*[black]|myBattlefield)~morethan~0,type(*[green]|myBattlefield)~morethan~0,type(*[blue]|myBattlefield)~morethan~0,type(*[red]|myBattlefield)~morethan~0,type(*[planeswalker]|mybattlefield,myGraveyard)~morethan~0,type(*[land]|mybattlefield,myGraveyard)~morethan~0,type(*[artifact]|mybattlefield,myGraveyard)~morethan~0,type(*[enchantment]|mybattlefield,myGraveyard)~morethan~0,type(*[creature]|mybattlefield,myGraveyard)~morethan~0,type(*[instant;sorcery]|mybattlefield,myGraveyard)~morethan~0,compare(abundantlife)~morethan~0}:winGame controller
text=When Happily Ever After enters the battlefield, each player gains 5 life and draws a card. -- At the beginning of your upkeep, if there are five colors among permanents you control, there are six or more card types among permanents you control and/or cards in your graveyard, and your life total is greater than or equal to your starting life total, you win the game.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Harald Unites the Elves
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=transforms((,newability[deplete:3 controller],newability[target(*[elf;tyvar]|mygraveyard) moveto(mybattlefield)])) oneshot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) all(elf|mybattlefield) counter(1/1)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(elf|mybattlefield) transforms((,newability[_ATTACKING_name(Creature gets -1/-1) target(creature|opponentbattlefield) -1/-1 ueot])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Mill three cards. You may put an Elf or Tyvar card from your graveyard onto the battlefield. -- II - Put a +1/+1 counter on each Elf you control. -- III - Whenever an Elf you control attacks this turn, target creature an opponent controls gets -1/-1 until end of turn.
mana={2}{B}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Harald, King of Skemfar
abilities=menace
aicode=activate target(*[elf;warrior;tyvar;zpos<=5]|mylibrary) moveto(myhand)
auto=name(Look top 5 cards) reveal:5 optionone name(Get Elf, Warrior, or Tyvar) target(*[elf;warrior;tyvar;zpos<=5]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
text=Menace (This creature can't be blocked except by two or more creatures.) -- When Harald, King of Skemfar enters the battlefield, look at the top five cards of your library. You may reveal an Elf, Warrior, or Tyvar card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={1}{B}{G}
type=Legendary Creature
subtype=Elf Warrior
power=3
toughness=2
[/card]
[card]
name=Harbinger of the Tides
abilities=flash
other={2}{U}{U} name(Cast with flash)
restriction=can play creature
auto=may name(Return tapped creature) target(creature[tapped]|opponentbattlefield) moveto(ownerhand)
text=You may cast Harbinger of the Tides as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.) -- When Harbinger of the Tides enters the battlefield, you may return target tapped creature an opponent controls to its owner's hand.
mana={U}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Hard Cover
target=creature
auto=teach(creature) 0/2
auto=teach(creature) transforms((,newability[{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) oneshot]))
text=Enchant creature -- Enchanted creature gets +0/+2 and has "{T}: Draw a card, then discard a card."
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Hard Evidence
auto=name(Create crab) token(Crab)
auto=name(Create clues) token(Clue)*2
text=Create a 0/3 blue Crab creature token. -- Investigate. (Create a colorless Clue artifact token with "{2} , Sacrifice this artifact: Draw a card.")
mana={U}
type=Sorcery
[/card]
[card]
name=Hardened Berserker
auto=_ATTACKING_lord(*|mycastingzone):altercost(colorless,-1) oneshot
text=Whenever Hardened Berserker attacks, the next spell you cast this turn costs {1} less to cast.
mana={2}{R}
type=Creature
subtype=Human Berserker
power=3
toughness=2
[/card]
[card]
name=Hardened Scales
auto=@counteradded(1/1) from(creature|mybattlefield) except(Hardened Scales):may counter(1/1) target(creature[counter{1/1.1}]|myBattlefield)
text=If one or more +1/+1 counters would be placed on a creature you control, that many plus one +1/+1 counters are placed on it instead.
mana={G}
type=Enchantment
[/card]
[card]
name=Hardened-Scale Armor
target=creature
auto=3/3
text=Enchant creature. -- Enchanted creature gets +3/+3.
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Hardy Veteran
auto=this(variable{controllerturn}>0) 0/2
text=As long as it's your turn, Hardy Veteran gets +0/+2.
mana={1}{G}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Harmonic Prodigy
#MISSING: not possible to trigger twice any ability ATM
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- If an ability of a Shaman or another Wizard you control triggers, that ability triggers an additional time.
mana={1}{R}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Harmonious Archon
abilities=flying
auto=lord(creature[-archon]|battlefield) transforms((,setpower=3,settoughness=3)) forever
auto=create(Human:creature Human:1/1:white)*2
text=Flying -- Non-Archon creatures have base power and toughness 3/3. -- When Harmonious Archon enters the battlefield, create two 1/1 white Human creature tokens.
mana={4}{W}{W}
type=Creature
subtype=Archon
power=4
toughness=5
[/card]
[card]
name=Harness Infinity
abilities=exiledeath
auto=count(type:*:myhand) && countb(type:*:mygraveyard)
auto=if compare(countedamount)~morethan~0 then if compare(countedbamount)~morethan~0 then all(*|myhand) moveto(myreveal) and!( transforms((,newability[all(*|mygraveyard) moveto(myhand) and!( transforms((,newability[all(*|myreveal) moveto(mygraveyard)])) oneshot )!])) oneshot )!
auto=if compare(countedamount)~equalto~0 then if compare(countedbamount)~morethan~0 then then all(*|mygraveyard) moveto(myhand)
auto=if compare(countedamount)~morethan~0 then if compare(countedbamount)~equalto~0 then then all(*|myhand) moveto(mygraveyard)
text=Exchange your hand and graveyard. -- Exile Harness Infinity.
mana={1}{B}{B}{B}{G}{G}{G}
type=Instant
[/card]
[card]
name=Harness by Force
abilities=hasnokicker,hasstrive
kicker=multi{2}{R} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot
text=Strive - Harness by Force costs {2}{R} more to cast for each target beyond the first. -- Gain control of any number of target creatures until end of turn. Untap those creatures. They gain haste until end of turn.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Harness the Storm
auto=@movedto(*[instant;sorcery]|mystack) from(myhand):all(trigger[to]) transforms((,newability[if casted(this) then may name(Cast from graveyard) target(*[share!name!]|mygraveyard) canplayfromgraveyard ueot])) oneshot
text=Whenever you cast an instant or sorcery spell from your hand, you may cast target card with the same name as that spell from your graveyard. (You still pay its costs.)
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Harnfel, Horn of Bounty
auto={D(*|myhand)}:name(Exile top 2 cards) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
text=Discard a card: Exile the top two cards of your library. You may play those cards this turn. // {2}{R} Birgi, God of Storytelling
mana={4}{R}
type=Legendary Artifact
[/card]
[card]
name=Harrier Naga
mana={2}{G}
type=Creature
subtype=Naga Warrior
power=3
toughness=3
[/card]
[card]
name=Harvest Mage
auto={G}{T}{D(*|myhand)}:lord(land|mybattlefield) transforms((,newability[producecolor:land],newability[producecolor:green],newability[producecolor:blue],newability[producecolor:red],newability[producecolor:black],newability[producecolor:white])) ueot
text={G}, {T}, Discard a card: Until end of turn, if you tap a land for mana, it produces one mana of a color of your choice instead of any other type and amount.
mana={G}
type=Creature
subtype=Human Spellshaper
power=1
toughness=1
[/card]
[card]
name=Harvest Pyre
target=creature
auto=if type(*|mygraveyard)~morethan~0 then choice name(Exile 1 card) ability$!moveTo(exile) notatarget(*|mygraveyard)!$ controller && damage:1 target(creature)
auto=if type(*|mygraveyard)~morethan~1 then choice name(Exile 2 cards) ability$!moveTo(exile) notatarget(<2>*|mygraveyard)!$ controller && damage:2 target(creature)
auto=if type(*|mygraveyard)~morethan~2 then choice name(Exile 3 cards) ability$!moveTo(exile) notatarget(<3>*|mygraveyard)!$ controller && damage:3 target(creature)
auto=if type(*|mygraveyard)~morethan~3 then choice name(Exile 4 cards) ability$!moveTo(exile) notatarget(<4>*|mygraveyard)!$ controller && damage:4 target(creature)
auto=if type(*|mygraveyard)~morethan~4 then choice name(Exile 5 cards) ability$!moveTo(exile) notatarget(<5>*|mygraveyard)!$ controller && damage:5 target(creature)
auto=if type(*|mygraveyard)~morethan~5 then choice name(Exile 6 cards) ability$!moveTo(exile) notatarget(<6>*|mygraveyard)!$ controller && damage:6 target(creature)
auto=if type(*|mygraveyard)~morethan~6 then choice name(Exile 7 cards) ability$!moveTo(exile) notatarget(<7>*|mygraveyard)!$ controller && damage:7 target(creature)
auto=if type(*|mygraveyard)~morethan~7 then choice name(Exile 8 cards) ability$!moveTo(exile) notatarget(<8>*|mygraveyard)!$ controller && damage:8 target(creature)
auto=if type(*|mygraveyard)~morethan~8 then choice name(Exile 9 cards) ability$!moveTo(exile) notatarget(<9>*|mygraveyard)!$ controller && damage:9 target(creature)
auto=if type(*|mygraveyard)~morethan~9 then choice name(Exile 10 cards) ability$!moveTo(exile) notatarget(<10>*|mygraveyard)!$ controller && damage:10 target(creature)
auto=if type(*|mygraveyard)~morethan~10 then choice name(Exile 11 cards) ability$!moveTo(exile) notatarget(<11>*|mygraveyard)!$ controller && damage:11 target(creature)
auto=if type(*|mygraveyard)~morethan~11 then choice name(Exile 12 cards) ability$!moveTo(exile) notatarget(<12>*|mygraveyard)!$ controller && damage:12 target(creature)
auto=if type(*|mygraveyard)~morethan~12 then choice name(Exile 13 cards) ability$!moveTo(exile) notatarget(<13>*|mygraveyard)!$ controller && damage:13 target(creature)
auto=if type(*|mygraveyard)~morethan~13 then choice name(Exile 14 cards) ability$!moveTo(exile) notatarget(<14>*|mygraveyard)!$ controller && damage:14 target(creature)
auto=if type(*|mygraveyard)~morethan~14 then choice name(Exile 15 cards) ability$!moveTo(exile) notatarget(<15>*|mygraveyard)!$ controller && damage:15 target(creature)
auto=if type(*|mygraveyard)~morethan~15 then choice name(Exile 16 cards) ability$!moveTo(exile) notatarget(<16>*|mygraveyard)!$ controller && damage:16 target(creature)
auto=if type(*|mygraveyard)~morethan~16 then choice name(Exile 17 cards) ability$!moveTo(exile) notatarget(<17>*|mygraveyard)!$ controller && damage:17 target(creature)
auto=if type(*|mygraveyard)~morethan~17 then choice name(Exile 18 cards) ability$!moveTo(exile) notatarget(<18>*|mygraveyard)!$ controller && damage:18 target(creature)
auto=if type(*|mygraveyard)~morethan~18 then choice name(Exile 19 cards) ability$!moveTo(exile) notatarget(<19>*|mygraveyard)!$ controller && damage:19 target(creature)
auto=if type(*|mygraveyard)~morethan~19 then choice name(Exile 20 cards) ability$!moveTo(exile) notatarget(<20>*|mygraveyard)!$ controller && damage:20 target(creature)
text=As an additional cost to cast Harvest Pyre, exile X cards from your graveyard. -- Harvest Pyre deals X damage to target creature.
mana={1}{R}
type=Instant
[/card]
[card]
name=Harvest Season
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:type:creature[tapped]:mybattlefield>land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<upto:type:creature[tapped]:mybattlefield>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 up to X basic land cards, where X is the number of tapped creatures you control, and put those cards onto the battlefield tapped. Then shuffle your library.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Harvesttide Assailant
abilities=trample,nightbound
backside=Harvesttide Infiltrator
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
text=Trample -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Harvesttide Infiltrator
type=Creature
subtype=Werewolf
color=red
power=4
toughness=4
[/card]
[card]
name=Harvesttide Infiltrator
abilities=trample,daybound
backside=Harvesttide Assailant
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
text=Trample -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Harvesttide Assailant
mana={2}{R}
type=Creature
subtype=Human Werewolf
power=3
toughness=2
[/card]
[card]
name=Harvesttide Sentry
auto=@each my combatbegins restriction{coven}:name(Can't be blocked) transforms((,newability[cantbeblockedby(creature[power<=2)])) ueot
text=Coven - At the beginning of combat on your turn, if you control three or more creatures with different powers, Harvesttide Sentry can't be blocked by creatures with power 2 or less this turn.
type=Creature
subtype=Human
mana={1}{G}
power=3
toughness=1
[/card]
[card]
name=Hashep Oasis
auto={1}{G}{G}{T}{S(desert|mybattlefield)}:3/3 target(creature) asSorcery
auto={T}:Add{1}
auto={T}{L:1}:Add{G}
text={T}: Add {1} to your mana pool. -- {T}, Pay 1 life: Add {G} to your mana pool. -- {1}{G}{G}, {T}, Sacrifice a Desert: Target creature gets +3/+3 until end of turn. Activate this ability only any time you could cast a sorcery.
type=Land
subtype=Desert
[/card]
[card]
name=Hatchery Spider
abilities=reach
auto=name(Reveal) reveal:type:creature:mygraveyard revealzone(mylibrary) optionone name(Get green permanent) target(*[green;creature;enchantment;planeswalker;manacost<=type:creature:mygraveyard]|reveal) moveto(mybattlefield) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Reach -- Undergrowth - When you cast this spell, reveal the top X cards of your library, where X is the number of creature cards in your graveyard. You may put a green permanent card with converted mana cost X or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order.
mana={5}{G}{G}
type=Creature
subtype=Spider
power=5
toughness=7
[/card]
[card]
name=Hate Mirage
auto=clone with(unearth,haste) target(<upto:2>creature|opponentbattlefield)
text=Choose up to two target creatures you don't control. For each of those creatures, create a token that's a copy of that creature. Those tokens gain haste. Exile them at the beginning of the next end step.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Hateful Eidolon
abilities=lifelink
auto=@movedTo(creature[auras>=1]|myGraveyard) from(Battlefield):foreach(creature[auras>=1]) draw:1 controller
text=Lifelink -- Whenever an enchanted creature dies, draw a card for each Aura you controlled that was attached to it.
mana={B}
type=Enchantment Creature
subtype=Spirit
power=1
toughness=2
[/card]
[card]
name=Hatred
target=creature
auto=choice name(Pay 1 Life) life:-1 controller && 1/0 ueot
auto=choice name(Pay 2 Life) life:-2 controller && 2/0 ueot
auto=choice name(Pay 3 Life) life:-3 controller && 3/0 ueot
auto=choice name(Pay 4 Life) life:-4 controller && 4/0 ueot
auto=choice name(Pay 5 Life) life:-5 controller && 5/0 ueot
auto=choice name(Pay 6 Life) life:-6 controller && 6/0 ueot
auto=choice name(Pay 7 Life) life:-7 controller && 7/0 ueot
auto=choice name(Pay 8 Life) life:-8 controller && 8/0 ueot
auto=choice name(Pay 9 Life) life:-9 controller && 9/0 ueot
auto=choice name(Pay 10 Life) life:-10 controller && 10/0 ueot
auto=choice name(Pay 11 Life) life:-11 controller && 11/0 ueot
auto=choice name(Pay 12 Life) life:-12 controller && 12/0 ueot
auto=choice name(Pay 13 Life) life:-13 controller && 13/0 ueot
auto=choice name(Pay 14 Life) life:-14 controller && 14/0 ueot
auto=choice name(Pay 15 Life) life:-15 controller && 15/0 ueot
auto=choice name(Pay 16 Life) life:-16 controller && 16/0 ueot
auto=choice name(Pay 17 Life) life:-17 controller && 17/0 ueot
auto=choice name(Pay 18 Life) life:-18 controller && 18/0 ueot
auto=choice name(Pay 19 Life) life:-19 controller && 19/0 ueot
auto=choice name(Pay 20 Life) life:-20 controller && 20/0 ueot
text=As an additional cost to cast Hatred, pay X life. -- Target creature gets +X/+0 until end of turn.
mana={3}{B}{B}
type=Instant
[/card]
[card]
name=Haunted Ridge
auto=if type(other land|mybattlefield)~lessthan~2 then tap(noevent)
auto={T}:add{B}
auto={T}:add{R}
text=Haunted Ridge enters the battlefield tapped unless you control two or more other lands. -- {T}: Add {B} or {R}.
type=Land
[/card]
[card]
name=Haunting Misery
target=player
auto=if type(*[creature]|mygraveyard)~morethan~0 then choice name(Exile 1 card) ability$!moveTo(exile) notatarget(*[creature]|mygraveyard)!$ controller && damage:1
auto=if type(*[creature]|mygraveyard)~morethan~1 then choice name(Exile 2 cards) ability$!moveTo(exile) notatarget(<2>*[creature]|mygraveyard)!$ controller && damage:2
auto=if type(*[creature]|mygraveyard)~morethan~2 then choice name(Exile 3 cards) ability$!moveTo(exile) notatarget(<3>*[creature]|mygraveyard)!$ controller && damage:3
auto=if type(*[creature]|mygraveyard)~morethan~3 then choice name(Exile 4 cards) ability$!moveTo(exile) notatarget(<4>*[creature]|mygraveyard)!$ controller && damage:4
auto=if type(*[creature]|mygraveyard)~morethan~4 then choice name(Exile 5 cards) ability$!moveTo(exile) notatarget(<5>*[creature]|mygraveyard)!$ controller && damage:5
auto=if type(*[creature]|mygraveyard)~morethan~5 then choice name(Exile 6 cards) ability$!moveTo(exile) notatarget(<6>*[creature]|mygraveyard)!$ controller && damage:6
auto=if type(*[creature]|mygraveyard)~morethan~6 then choice name(Exile 7 cards) ability$!moveTo(exile) notatarget(<7>*[creature]|mygraveyard)!$ controller && damage:7
auto=if type(*[creature]|mygraveyard)~morethan~7 then choice name(Exile 8 cards) ability$!moveTo(exile) notatarget(<8>*[creature]|mygraveyard)!$ controller && damage:8
auto=if type(*[creature]|mygraveyard)~morethan~8 then choice name(Exile 9 cards) ability$!moveTo(exile) notatarget(<9>*[creature]|mygraveyard)!$ controller && damage:9
auto=if type(*[creature]|mygraveyard)~morethan~9 then choice name(Exile 10 cards) ability$!moveTo(exile) notatarget(<10>*[creature]|mygraveyard)!$ controller && damage:10
auto=if type(*[creature]|mygraveyard)~morethan~10 then choice name(Exile 11 cards) ability$!moveTo(exile) notatarget(<11>*[creature]|mygraveyard)!$ controller && damage:11
auto=if type(*[creature]|mygraveyard)~morethan~11 then choice name(Exile 12 cards) ability$!moveTo(exile) notatarget(<12>*[creature]|mygraveyard)!$ controller && damage:12
auto=if type(*[creature]|mygraveyard)~morethan~12 then choice name(Exile 13 cards) ability$!moveTo(exile) notatarget(<13>*[creature]|mygraveyard)!$ controller && damage:13
auto=if type(*[creature]|mygraveyard)~morethan~13 then choice name(Exile 14 cards) ability$!moveTo(exile) notatarget(<14>*[creature]|mygraveyard)!$ controller && damage:14
auto=if type(*[creature]|mygraveyard)~morethan~14 then choice name(Exile 15 cards) ability$!moveTo(exile) notatarget(<15>*[creature]|mygraveyard)!$ controller && damage:15
auto=if type(*[creature]|mygraveyard)~morethan~15 then choice name(Exile 16 cards) ability$!moveTo(exile) notatarget(<16>*[creature]|mygraveyard)!$ controller && damage:16
auto=if type(*[creature]|mygraveyard)~morethan~16 then choice name(Exile 17 cards) ability$!moveTo(exile) notatarget(<17>*[creature]|mygraveyard)!$ controller && damage:17
auto=if type(*[creature]|mygraveyard)~morethan~17 then choice name(Exile 18 cards) ability$!moveTo(exile) notatarget(<18>*[creature]|mygraveyard)!$ controller && damage:18
auto=if type(*[creature]|mygraveyard)~morethan~18 then choice name(Exile 19 cards) ability$!moveTo(exile) notatarget(<19>*[creature]|mygraveyard)!$ controller && damage:19
auto=if type(*[creature]|mygraveyard)~morethan~19 then choice name(Exile 20 cards) ability$!moveTo(exile) notatarget(<20>*[creature]|mygraveyard)!$ controller && damage:20
text=As an additional cost to cast Haunting Misery, exile X creature cards from your graveyard. -- Haunting Misery deals X damage to target player.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Haunting Voyage
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={5}{B}{B} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=ifnot paid(alternative) then chooseatype may name(Return up to 2 creatures) moveTo(mybattlefield) target(<upto:2>creature[chosentype]|mygraveyard) chooseend
auto=if paid(alternative) then chooseatype name(Return all creatures) moveTo(mybattlefield) all(creature[chosentype]|mygraveyard) chooseend
text=Choose a creature type. Return up to two creature cards of the chosen type from your graveyard to the battlefield. If this spell was foretold, return all creature cards of the chosen type from your graveyard to the battlefield instead. -- Foretell {5}{B}{B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Haven of the Spirit Dragon
auto={T}:add{1}
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{U}
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {T}:add{B}
auto={2}{T}{S}:name(Move dragon) moveto(myhand) target(creature[dragon]|mygraveyard)
auto={2}{T}{S}:name(Move Ugin, the Ineffable) moveto(myhand) target(Ugin^ the Ineffable|mygraveyard)
auto={2}{T}{S}:name(Move Ugin, the Spirit Dragon) moveto(myhand) target(Ugin^ the Spirit Dragon|mygraveyard)
text={T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast a Dragon creature spell. -- {2}, {T}, Sacrifice Haven of the Spirit Dragon: Return target Dragon creature card or Ugin planeswalker card from your graveyard to your hand.
type=Land
[/card]
[card]
name=Havoc Devils
abilities=trample
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.)
mana={2}{R}{R}
type=Creature
subtype=Devil
power=4
toughness=3
[/card]
[card]
name=Havoc Jester
auto=@sacrificed(*|myBattlefield):damage:1 target(player,creature,planeswalker)
text=Whenever you sacrifice a permanent, Havoc Jester deals 1 damage to any target.
mana={4}{R}
type=Creature
subtype=Devil
power=5
toughness=5
[/card]
[card]
name=Haze of Pollen
abilities=cycling
auto=preventalldamage
autohand=__CYCLING__({3})
text=Prevent all combat damage that would be dealt this turn. -- Cycling {3} ({3}, Discard this card: Draw a card.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Hazoret the Fervent
abilities=indestructible, haste
auto=aslongas(*|myhand) cantattack >1
auto=aslongas(*|myhand) cantpwattack >1
auto=aslongas(*|myhand) cantblock >1
auto={2}{R}{D(*|myhand)}:damage:2 opponent
text=Indestructible, haste -- Hazoret the Fervent can't attack or block unless you have one or fewer cards in hand. -- {2}{R}, Discard a card: Hazoret deals 2 damage to each opponent.
mana={3}{R}
type=Legendary Creature
subtype=God
power=5
toughness=4
[/card]
[card]
name=Hazoret's Favor
auto=@each my combatbegins:may name(Creature gains 2/0 and haste) target(creature|mybattlefield) transforms((,newability[2/0],newability[haste],newability[treason])) ueot
text=At the beginning of combat on your turn, you may have target creature you control get +2/+0 and gain haste until end of turn. If you do, sacrifice it at the beginning of the next end step.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Hazoret's Monument
auto=lord(creature[red]|mycastingzone) altercost(colorless,-1)
auto=@movedto(creature|mystack):may reject notatarget(*|myhand) && draw:1
text=Red creature spells you cast cost {1} less to cast. -- Whenever you cast a creature spell, you may discard a card. If you do, draw a card.
mana={3}
type=Legendary Artifact
[/card]
[card]
name=Hazoret's Undying Fury
auto=moverandom(*<upto:3>[manacost<=5;-land]) from(mylibrary) to(mybattlefield)
auto=all(land|mybattlefield) frozen
text=Shuffle your library, then exile the top four cards. You may cast any number of nonland cards with converted mana cost 5 or less from among them without paying their mana costs. Lands you control don't untap during your next untap step.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Headless Specter
abilities=flying
auto=@combatdamaged(player) from(this) restriction{type(*|myhand)~lessthan~1}:target(opponent) ability$!name(discard) reject notatarget(*|myhand)!$
text=Flying -- Hellbent - Whenever Headless Specter deals combat damage to a player, if you have no cards in hand, that player discards a card at random.
mana={1}{B}{B}
type=Creature
subtype=Specter
power=2
toughness=2
[/card]
[card]
name=Headstrong Brute
abilities=cantblock
auto=aslongas(other pirate|mybattlefield) menace
text=Headstrong Brute can't block. -- Headstrong Brute has menace as long as you control another Pirate.
mana={2}{R}
type=Creature
subtype=Orc Pirate
power=3
toughness=3
[/card]
[card]
name=Headwater Sentries
mana={3}{U}
type=Creature
subtype=Merfolk Warrior
power=2
toughness=5
[/card]
[card]
name=Healer of the Glade
auto=life:3
text=When Healer of the Glade enters the battlefield, you gain 3 life.
mana={G}
type=Creature
subtype=Elemental
power=1
toughness=2
[/card]
[card]
name=Healer's Flock
abilities=flying,lifelink
text=Flying, lifelink
mana={W}{W}{W}
type=Creature
subtype=Bird
power=3
toughness=3
[/card]
[card]
name=Healer's Hawk
abilities=flying, lifelink
text=Flying, lifelink
mana={W}
type=Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Healing Grace
target=player,creature
auto=prevent:3
auto=life:3
text=Prevent the next 3 damage that would be dealt to any target this turn by a source of your choice. You gain 3 life.
mana={W}
type=Instant
[/card]
[card]
name=Healing Technique
auto=exiledeath
other={3}{G} name(Demonstrate)
auto=name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(myhand)])) oneshot
auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(myhand)])) oneshot!$ controller
auto=if paid(alternative) then ability$!name(Return card) name(Return card) target(*|mygraveyard) transforms((,newability[life:manacost controller],newability[moveto(myhand)])) oneshot!$ opponent
text=Demonstrate (When you cast this spell, you may copy it. If you do, choose an opponent to also copy it. Players may choose new targets for their copies.) -- Return target card from your graveyard to your hand. You gain life equal to that card's mana value. Exile Healing Technique.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Heart Wolf
abilities=first strike
auto={T}:restriction{during battle} name(Choose dwarf) name(Choose dwarf) target(creature[dwarf]|mybattlefield) transforms((,newability[2/0],newability[first strike],newability[@movedto(this|nonbattlezone) from(mybattlefield):sacrifice target(Heart Wolf[tapped]|mybattlefield)])) ueot
text=First strike -- {T}: Target Dwarf creature gets +2/+0 and gains first strike until end of turn. When that creature leaves the battlefield this turn, sacrifice Heart Wolf. Activate this ability only during combat.
mana={3}{R}
type=Creature
subtype=Wolf
power=2
toughness=2
[/card]
[card]
name=Heart-Piercer Manticore
other={2}{R}{R}{S(other creature|mybattlefield)} name(Sacrifice a creature)
otherrestriction=type(creature|myBattlefield)~morethan~0
auto=if paid(alternative) then damage:storedpower target(creature,player)
autograveyard={5}{R}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=When Heart-Piercer Manticore enters the battlefield, you may sacrifice another creature. When you do, Heart-Piercer Manticore deals damage equal to that creature's power to target creature or player. -- Embalm {5}{R} ({5}{R}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Manticore with no mana cost. Embalm only as a sorcery.)
mana={2}{R}{R}
type=Creature
subtype=Manticore
power=4
toughness=3
[/card]
[card]
name=Heartfire
target=player,creature,planeswalker
auto=damage:4
text=As an additional cost to cast this spell, sacrifice a creature or planeswalker. -- Heartfire deals 4 damage to any target.
mana={1}{R}{S(creature,planeswalker|myBattlefield)}
type=Instant
[/card]
[card]
name=Heartfire Immolator
abilities=prowess
auto=@movedTo(*[-creature]|myStack) 1/1 ueot
auto={R}{S}:target(creature,planeswalker) dynamicability<!powerstrike!>
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- {R}, Sacrifice Heartfire Immolator: It deals damage equal to its power to target creature or planeswalker.
mana={1}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Heartless Act
auto=choice name(Destroy):destroy target(creature[counter{notany}])
auto=choice name(Remove three counters):target(creature) removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1)
text=Choose one -- Destroy target creature with no counters on it. -- Remove up to three counters from target creature.
mana={1}{B}
type=Instant
[/card]
[card]
name=Heartless Pillage
target=opponent
auto=ability$!discard(<2>*|myhand)!$ targetedplayer
auto=if raid then token(435451)
text=Target opponent discards two cards. -- Raid - If you attacked with a creature this turn, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Heartwarming Redemption
auto=all(*|myhand) transforms((,newability[draw:1],newability[reject])])) && draw:1
auto=life:type:*:myhand controller
text=Discard all the cards in your hand, then draw that many cards plus one. You gain life equal to the number of cards in your hand.
mana={2}{R}{W}
type=Instant
[/card]
[card]
name=Heat Wave
auto=cumulativeupcost[{R}] sacrifice
auto=this(variable{type:creature:opponentbattlefield}=1) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:1]))
auto=this(variable{type:creature:opponentbattlefield}=2) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:2]))
auto=this(variable{type:creature:opponentbattlefield}=3) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:3]))
auto=this(variable{type:creature:opponentbattlefield}=4) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:4]))
auto=this(variable{type:creature:opponentbattlefield}=5) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:5]))
auto=this(variable{type:creature:opponentbattlefield}=6) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:6]))
auto=this(variable{type:creature:opponentbattlefield}=7) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:7]))
auto=this(variable{type:creature:opponentbattlefield}=8) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:8]))
auto=this(variable{type:creature:opponentbattlefield}=9) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:9]))
auto=this(variable{type:creature:opponentbattlefield}=10) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:10]))
auto=this(variable{type:creature:opponentbattlefield}=11) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:11]))
auto=this(variable{type:creature:opponentbattlefield}=12) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:12]))
auto=this(variable{type:creature:opponentbattlefield}=13) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:13]))
auto=this(variable{type:creature:opponentbattlefield}=14) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:14]))
auto=this(variable{type:creature:opponentbattlefield}=15) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:15]))
auto=this(variable{type:creature:opponentbattlefield}=16) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:16]))
auto=this(variable{type:creature:opponentbattlefield}=17) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:17]))
auto=this(variable{type:creature:opponentbattlefield}=18) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:18]))
auto=this(variable{type:creature:opponentbattlefield}=19) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:19]))
auto=this(variable{type:creature:opponentbattlefield}=20) lord(creature[-blue]|opponentbattlefield) transforms((,newability[blockcost:20]))
auto=lord(creature[blue]|opponentbattlefield) transforms((,newability[cantblock]))
text=Cumulative upkeep {R} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- Blue creatures can't block creatures you control. -- Nonblue creatures can't block creatures you control unless their controller pays 1 life for each blocking creature he or she controls.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Heated Debate
abilities=nofizzle
target=creature,planeswalker
auto=damage:4
text=This spell can't be countered. (This includes by the ward ability.) -- Heated Debate deals 4 damage to target creature or planeswalker.
mana={2}{R}
type=Instant
[/card]
[card]
name=Heaven // Earth
auto=damage:X all(creature[flying])
autograveyard={X}{R}{R}{E}:damage:X all(creature[-flying]) asSorcery
text=Heaven deals X damage to each creature with flying. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Earth deals X damage to each creature without flying.
mana={X}{G}
type=Instant
[/card]
[card]
name=Heavenly Blademaster
abilities=flying, double strike
auto=may target(<anyamount>aura|battlefield) newhook
auto=may target(<anyamount>equipment|battlefield) newhook
auto=thisforeach(aura) lord(other creature|myBattlefield) 1/1
auto=thisforeach(gear) lord(other creature|myBattlefield) 1/1
auto=lord(other creature|myBattlefield) +1/+1 for each aura and equipment attached to heavenly blademaster
text=Flying, double strike -- When Heavenly Blademaster enters the battlefield, you may attach any number of Auras and Equipment you control to it. -- Other creatures you control get +1/+1 for each Aura and Equipment attached to Heavenly Blademaster.
mana={5}{W}
type=Creature
subtype=Angel
power=3
toughness=6
[/card]
[card]
name=Heavenly Qilin
abilities=flying
auto=_ATTACKING_flying target(other creature|myBattlefield) ueot
text=Flying. (This creature can't be blocked except by creatures with flying or reach.) -- Whenever Heavenly Qilin attacks, another target creature you control gains flying until end of turn.
mana={2}{W}
type=Creature
subtype=Kirin
power=2
toughness=2
[/card]
[card]
name=Hedgewitch's Mask
auto={2}:equip
auto=teach(creature) 1/1
auto=teach(creature) cantbeblockedby(creature[power>=4])
text=Equipped creature gets +1/+1. -- Equipped creature can't be blocked by creatures with power 4 or greater. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Heightened Reflexes
target=creature
auto=1/0 ueot
auto=transforms((,newability[counter(0/0.1.FirstStrike)],newability[this(counter{0/0.1.FirstStrike}>=1) first strike])) forever
text=Target creature gets +1/+0 until end of turn. Put a first strike counter on it.
mana={R}
type=Instant
[/card]
[card]
name=Heirloom Blade
auto=teach(creature) 3/1
auto=teach(creature) transforms((,newability[@movedto(mygraveyard) from(this|mybattlefield):Reveal:1 revealzone(mylibrary) revealuntil(creature[share!subtype!]|mylibrary) optionone name(Get Creature) target(creature|myreveal) moveto(myHand) optiononeend optiontwo choice name(Shuffle) all(*|myreveal) bottomoflibrary && shuffle controller  optiontwoend revealend]))
auto={1}:equip
text=Equipped creature gets +3/+1. -- Whenever equipped creature dies, you may reveal cards from the top of your library until you reveal a creature card that shares a creature type with it. Put that card into your hand and the rest on the bottom of your library in a random order. -- Equip {1}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Heirloom Mirror
backside=Inherited Fiend
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto={1}{T}{L:1}{D(*|myhand)}:name(Draw and mill card) draw:1 controller && deplete:1 controller && counter(0/0.1.Ritual) && if compare(hascntritual)~morethan~2 then flip(backside) asSorcery
text={1}, {T}, Pay 1 life, Discard a card: Draw a card, then mill a card. Put a ritual counter on Heirloom Mirror. Then if it has 3 or more ritual counters on it, transform it. Activate only as a sorcery. // Inherited Fiend
mana={1}{B}
type=Artifact
[/card]
[card]
name=Hekma Sentinels
auto=@movedto(*|mygraveyard) from(myhand):1/1 ueot
text=Whenever you cycle or discard a card, Hekma Sentinels gets +1/+1 until end of turn.
mana={2}{U}
type=Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Helica Glider
auto=this(counter{0/0.1.Flying}>=1) flying
auto=this(counter{0/0.1.FirstStrike}>=1) first strike
auto=choice name(Flying) counter(0/0,1,Flying)
auto=choice name(First Strike) counter(0/0,1,FirstStrike)
text=Helica Glider enters the battlefield with your choice of a flying counter or a first strike counter on it.
mana={2}{W}
type=Creature
subtype=Nightmare Squirrel
power=2
toughness=2
[/card]
[card]
name=Heliod's Intervention
auto=choice name(Destroy X artifacts and/or enchantments) destroy:X target artifact,enchantment 
auto=choice name(Target player gains twice X life) target(player) life:X && life:X
text=Choose one -- Destroy X target artifacts and/or enchantments. -- Target player gains twice X life.
mana={X}{W}{W}
type=Instant
[/card]
[card]
name=Heliod's Punishment
target=creature
auto=all(this) counter(0/0,4,Task)
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=teach(creature) loseabilities
auto=teach(creature) {T}{C(0/0,-1,Task)}: donothing
auto=teach(creature) transforms((,newability[this(counter{0/0,1,Task}<1) while destroy(this)]))
text=Enchant creature -- Heliod's Punishment enters the battlefield with four task counters on it. -- Enchanted creature can't attack or block. It loses all abilities and has "{T}: Remove a task counter from Heliod's Punishment. Then if it has no task counters on it, destroy Heliod's Punishment."
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Heliod, Sun-Crowned
abilities=indestructible
auto=this(variable{type:manaw}<5) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{type:manaw}>4) transforms((Legendary Enchantment Creature))
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1,1) target(creature,enchantment|myBattlefield)
auto={1}{W}:lifelink target(other creature) ueot
text=Indestructible -- As long as your devotion to white is less than five, Heliod isn't a creature. -- Whenever you gain life, put a +1/+1 counter on target creature or enchantment you control. -- {1}{W}: Another target creature gains lifelink until end of turn.
mana={2}{W}
type=Legendary Enchantment Creature
subtype=God
power=5
toughness=5
[/card]
[card]
name=Hell Mongrel
abilities=madness
autoexile=restriction{discarded} pay({2}{B}) name(pay 2 B to cast) activate name(pay 2 B to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
auto={D(*|myhand)}:1/1 ueot
text=Discard a card: Hell Mongrel gets +1/+1 until end of turn. -- Madness {2}{B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={3}{B}
type=Creature
subtype=Nightmare Dog
power=4
toughness=3
[/card]
[card]
name=Hellcarver Demon
#you can't order the stack
abilities=flying
auto=@combatdamaged(player) from(this):sacrifice all(other *|mybattlefield) && discard:type:*:myhand && reveal:6 optionone all(*|reveal) moveto(exile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[may activate castcard(normal)]])) oneshot )! optiononeend revealend
text=Flying -- Whenever Hellcarver Demon deals combat damage to a player, sacrifice all other permanents you control and discard your hand. Exile the top six cards of your library. You may cast any number of nonland cards exiled this way without paying their mana costs.
mana={3}{B}{B}{B}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Hellhole Rats
abilities=haste
auto=target(player) ability$!name(discard) target(*|myhand) dynamicability<!mytgt manacostlifeloss srccontroller!> reject!$ targetedplayer
text=Haste -- When Hellhole Rats enters the battlefield, target player discards a card. Hellhole Rats deals damage to that player equal to that card's converted mana cost.
mana={2}{B}{R}
type=Creature
subtype=Rat
power=2
toughness=2
[/card]
[card]
name=Hellish Rebuke
auto=all(*|opponentbattlefield) transforms((,newability[@damagefoeof(player) from(this):sacrifice and!( life:-2 controller )!])) ueot
text=Until end of turn, permanents your opponents control gain "When this permanent deals damage to the player who cast Hellish Rebuke, sacrifice this permanent. You lose 2 life."
mana={2}{B}
type=Instant
[/card]
[card]
name=Hellkite Courser
abilities=flying
auto=may target(*[iscommander]|mycommandzone) moveto(mybattlefield) and!( transforms((,newability[haste],newability[phaseactionmulti[endofturn once] moveto(ownercommandzone)])) ueot )!
text=Flying -- When Hellkite Courser enters the battlefield, you may put a commander you own from the command zone onto the battlefield. It gains haste. Return it to the command zone at the beginning of the next end step.
mana={4}{R}{R}
type=Creature
subtype=Dragon
power=6
toughness=5
[/card]
[card]
name=Hellkite Punisher
abilities=flying
auto={R}:1/0 ueot
text=Flying -- {R}: Hellkite Punisher gets +1/+0 until end of turn.
mana={5}{R}{R}
type=Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Hellkite Whelp
abilities=flying
auto=_ATTACKING_damage:1 target(creature|opponentBattlefield)
text=Flying -- Whenever Hellkite Whelp attacks, it deals 1 damage to target creature defending player controls.
mana={4}{R}
type=Creature
subtype=Dragon
power=3
toughness=3
[/card]
[card]
name=Helm of the Host
auto=teach(creature) transforms((,newability[@each my combatbegins:clone with(haste) options(nolegend)]))
auto={5}:equip
text=At the beginning of combat on your turn, create a token that's a copy of equipped creature, except the token isn't legendary if equipped creature is legendary. That token gains haste. -- Equip {5}
mana={4}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Helvault
auto={1}{T}:(blink)forsrc target(*|mybattlefield)
auto={7}{T}:(blink)forsrc target(*|opponentbattlefield)
text={1}, {T}: Exile target creature you control. -- {7}, {T}: Exile target creature you don't control. -- When Helvault is put into a graveyard from the battlefield, return all cards exiled with it to the battlefield under their owners' control.
mana={3}
type=Legendary Artifact
[/card]
[card]
name=Henge Walker
auto=if casted(this) then if spent({G}{G}{G}) then counter(1/1)
auto=if casted(this) then if spent({W}{W}{W}) then counter(1/1)
auto=if casted(this) then if spent({U}{U}{U}) then counter(1/1)
auto=if casted(this) then if spent({R}{R}{R}) then counter(1/1)
auto=if casted(this) then if spent({B}{B}{B}) then counter(1/1)
text=Adamant - If at least three mana of the same color was spent to cast this spell, Henge Walker enters the battlefield with a +1/+1 counter on it.
mana={3}
type=Artifact Creature
subtype=Golem
power=2
toughness=2
[/card]
[card]
name=Hengegate Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Mistgate Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Mistgate Pathway) name(Mistgate Pathway) flip(Mistgate Pathway) forcetype(land)
auto={T}:add{W}
text={T}: Add {W}. // Mistgate Pathway
type=Land
[/card]
[card]
name=Herald of Faith
abilities=flying
auto=_ATTACKING_life:2
text=Flying -- Whenever Herald of Faith attacks, you gain 2 life.
mana={3}{W}{W}
type=Creature
subtype=Angel
power=4
toughness=3
[/card]
[card]
name=Herald of Hadar
auto={5}{B}:name(Roll a d20) rolld20 20 winability token(Treasure Sur) winabilityend rolld20end
auto=@dierolled(this) from(controller):life:-2 opponent
auto=@dierolled(this) result(10) from(controller):life:2 controller
auto=@dierolled(this) result(11) from(controller):life:2 controller
auto=@dierolled(this) result(12) from(controller):life:2 controller
auto=@dierolled(this) result(13) from(controller):life:2 controller
auto=@dierolled(this) result(14) from(controller):life:2 controller
auto=@dierolled(this) result(15) from(controller):life:2 controller
auto=@dierolled(this) result(16) from(controller):life:2 controller
auto=@dierolled(this) result(17) from(controller):life:2 controller
auto=@dierolled(this) result(18) from(controller):life:2 controller
auto=@dierolled(this) result(19) from(controller):life:2 controller
auto=@dierolled(this) result(20) from(controller):life:2 controller
text=Circle of Death-{5}{B}: Roll a d20. -- 1-9 | Each opponent loses 2 life. -- 10-19 | Each opponent loses 2 life and you gain 2 life. -- 20 | Each opponent loses 2 life and you gain 2 life. Create two Treasure tokens. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={4}{B}
type=Creature
subtype=Human Warlock
power=4
toughness=4
[/card]
[card]
name=Herald of Secret Streams
auto=lord(creature[counter{1/1}]|mybattlefield) unblockable
text=Creatures you control with +1/+1 counters on them can't be blocked.
mana={3}{U}
type=Creature
subtype=Merfolk Warrior
power=2
toughness=3
[/card]
[card]
name=Herald of the Dreadhorde
auto=_DIES_if type(army|mybattlefield)~morethan~0 then counter(1/1,2) notATarget(army|myBattlefield) else create(Zombie Army:creature Zombie Army:0/0:black) and!(counter(1/1,2) notATarget(army|myBattlefield))!
text=When Herald of the Dreadhorde dies, amass 2. (Put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={3}{B}
type=Creature
subtype=Zombie Warrior
power=3
toughness=2
[/card]
[card]
name=Herald of the Forgotten
abilities=flying
auto=if casted(this) then moveTo(myBattlefield) target(<anyamount>artifact,enchantment,land,creature[__cycling__]|myGraveyard)
text=Flying -- When Herald of the Forgotten enters the battlefield, if you cast it, return any number of target permanent cards with cycling abilities from your graveyard to the battlefield.
mana={6}{W}{W}
type=Creature
subtype=Cat Beast
power=6
toughness=6
[/card]
[card]
name=Herald of the Host
abilities=flying,vigilance
text=Flying, vigilance -- Myriad (Whenever this creature attacks, for each opponent other than defending player, you may put a token that's a copy of this creature onto the battlefield tapped and attacking that player or a planeswalker he or she controls. Exile the tokens at end of combat.)
mana={3}{W}{W}
type=Creature
subtype=Angel
power=4
toughness=4
[/card]
[card]
name=Herald of the Sun
abilities=flying
auto={3}{W}:counter(1/1,1) target(other creature[flying]|mybattlefield)
text=Flying -- {3}{W}: Put a +1/+1 counter on another target creature with flying.
mana={4}{W}{W}
type=Creature
subtype=Angel
power=4
toughness=4
[/card]
[card]
name=Herald's Horn
auto=chooseatype transforms(([@each my upkeep:name(Reveal) reveal:1 optionone target(*[chosentype]|reveal) transforms(([may moveTo(myhand)])) oneshot optiononeend optiontwo target(*|reveal) moveto(mylibrary) optiontwoend revealend)])) chooseend
auto=lord(creature[chosentype]|mycastingzone) altercost( colorless,-1)
text=As Herald's Horn enters the battlefield, choose a creature type. -- Creature spells you cast of the chosen type cost {1} less to cast. -- At the beginning of your upkeep, look at the top card of your library. If it's a creature card of the chosen type, you may reveal it and put it into your hand.
mana={3}
type=Artifact
[/card]
[card]
name=Heraldic Banner
auto=chooseacolor target(creature[chosencolor]|myBattlefield) 1/0 chooseend
auto={T}:add{chosencolor}
text=As Heraldic Banner enters the battlefield, choose a color. -- Creatures you control of the chosen color get +1/+0. -- {T}: Add one mana of the chosen color.
mana={3}
type=Artifact
[/card]
[card]
name=Herd Baloth
auto=@counteradded(1/1) from(this):may name(Create beast) token(Beast,Creature Beast,4/4,green)
text=Whenever one or more +1/+1 counters are put on Herd Baloth, you may create a 4/4 green Beast creature token.
mana={3}{G}{G}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Hero of Bretagard
auto=@movedto(*|exile) from(myhand):counter(1/1)
auto=@movedto(*[-instant;-sorcery]|exile) from(mybattlefield):counter(1/1)
auto=this(counter{1/1}>=5) transforms((Angel,newability[flying]))
auto=this(counter{1/1}>=10) transforms((God,newability[indestructible]))
text=Whenever you exile one or more cards from your hand and/or permanents from the battlefield, put that many +1/+1 counters on Hero of Bretagard. -- As long as Hero of Bretagard has five or more counters on it, it has flying and is an Angel in addition to its other types. -- As long as Hero of Bretagard has ten or more counters on it, it has indestructible and is a God in addition to its other types.
mana={2}{W}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Hero of Leina Tower
auto=@targeted(this) from(*|mycastingzone):may pay({x}) counter(1/1,x)
text=Heroic - Whenever you cast a spell that targets Hero of Leina Tower, you may pay {X}. If you do, put X +1/+1 counters on Hero of Leina Tower.
mana={G}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Hero of Precinct One
auto=@movedTo(*[multicolor]|mystack):create(Human:creature Human:1/1:white:)
text=Whenever you cast a multicolored spell, create a 1/1 white Human creature token.
mana={1}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Hero of the Games
auto=_HEROIC_1/0 all(creature|mybattlefield) ueot oneshot
text=Whenever you cast a spell that targets Hero of the Games, creatures you control get +1/+0 until end of turn.
mana={2}{R}
type=Creature
subtype=Human Soldier
power=3
toughness=2
[/card]
[card]
name=Hero of the Nyxborn
auto=token(Soldier,Creature Human Soldier,1/1,white)
auto=_HEROIC_1/0 all(creature|mybattlefield) ueot oneshot
text=When Hero of the Nyxborn enters the battlefield, create a 1/1 white Human Soldier creature token. -- Whenever you cast a spell that targets Hero of the Nyxborn, creatures you control get +1/+0 until end of turn.
mana={1}{R}{W}
type=Enchantment Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Hero of the Pride
auto=_HEROIC_1/0 all(creature|mybattlefield) ueot oneshot
text=Whenever you cast a spell that targets Hero of the Pride, creatures you control get +1/+0 until end of turn.
mana={1}{W}
type=Creature
subtype=Cat Soldier
power=2
toughness=2
[/card]
[card]
name=Hero of the Revel
auto=token(Satyr,Creature Satyr,1/1,red,cantblock)
auto=_HEROIC_1/0 all(creature|mybattlefield) ueot oneshot
text=When Heroes of the Revel enters the battlefield, create a 1/1 red Satyr creature token with "This creature can't block." -- Whenever you cast a spell that targets Heroes of the Revel, creatures you control get +1/+0 until end of turn.
mana={4}{R}
type=Creature
subtype=Satyr Soldier
power=4
toughness=4
[/card]
[card]
name=Hero of the Winds
abilities=flying
auto=_HEROIC_1/0 all(creature|mybattlefield) ueot oneshot
text=Flying -- Whenever you cast a spell that targets Hero of the Pride, creatures you control get +1/+0 until end of turn.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=4
[/card]
[card]
name=Heroes of the Revel
auto=token(Satyr,Creature Satyr,1/1,red,cantblock)
auto=@targeted(this) from(*|mycastingzone):all(creature|myBattlefield) 1/0 ueot
text=When Heroes of the Revel enters the battlefield, create a 1/1 red Satyr creature token with "This creature can't block." -- Whenever you cast a spell that targets Heroes of the Revel, creatures you control get +1/+0 until end of turn.
mana={4}{R}
type=Creature
subtype=Satyr Soldier
power=4
toughness=4
[/card]
[card]
name=Heroes' Podium
auto=lord(creature[legendary]|mybattlefield) transforms((,newability[foreach(other *[creature;legendary]|mybattlefield) 1/1]))
auto={X}{T}:reveal:x optionone target(<upto:1>creature[legendary]|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Each legendary creature you control gets +1/+1 for each other legendary creature you control. -- {X}, {T}: Look at the top X cards of your library. You may reveal a legendary creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={5}
type=Legendary Artifact
[/card]
[card]
name=Heroic Reinforcements
auto=lord(other creature|myBattlefield) +1/+1 
auto=lord(other creature|myBattlefield) haste
auto=create(Soldier:creature Soldier:1/1:white:)*2
text=Create two 1/1 white Soldier creature tokens. Until end of turn, creatures you control get +1/+1 and gain haste. (They can attack and {T} this turn.)
mana={2}{R}{W}
type=Sorcery
[/card]
[card]
name=Heronblade Elite
abilities=vigilance
auto=@movedTo(other human|myBattlefield):name(Put 1/1 counter) counter(1/1)
auto={T}:name(Add red mana) thisforeach(variable{power}>0) add{R}
auto={T}:name(Add black mana) thisforeach(variable{power}>0) add{B}
auto={T}:name(Add green mana) thisforeach(variable{power}>0) add{G}
auto={T}:name(Add white mana) thisforeach(variable{power}>0) add{W}
auto={T}:name(Add blue mana) thisforeach(variable{power}>0) add{U}
text=Vigilance -- Whenever another Human enters the battlefield under your control, put a +1/+1 counter on Heronblade Elite. -- {T}: Add X mana of any one color, where X is Heronblade Elite's power.
mana={2}{G}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Hex Parasite
auto={X}{B}:name(Pay B) name(Pay B) thisforeach(X>0) target(*[counter{any}]|battlefield) removesinglecountertype(1) && all(this) 1/0 ueot 
auto={X}{L:2}:name(Pay 2 life) name(Pay 2 life) thisforeach(X>0) target(*[counter{any}]|battlefield) removesinglecountertype(1) && all(this) 1/0 ueot 
text={X}{PB}: Remove up to X counters from target permanent. For each counter removed this way, Hex Parasite gets +1/+0 until end of turn. ({PB} can be paid with either {B} or 2 life.)
mana={1}
type=Artifact Creature
subtype=Insect
power=1
toughness=1
[/card]
[card]
name=Hexdrinker
auto={1}:counter(0/0,1,Level) asSorcery
auto=this(counter{0/0.3.Level}) 2/3
auto=this(counter{0/0.3.Level}) protection from(instant)
auto=this(counter{0/0.8.Level}) 2/2
auto=this(counter{0/0.8.Level}) protection from(*)
text=Level up {1} ({1}: Put a level counter on this. Level up only as a sorcery.) -- LEVEL 3-7 -- 4/4 -- Protection from instants -- LEVEL 8+ -- 6/6 -- Protection from everything
mana={G}
auto=maxlevel:8
type=Creature
subtype=Snake
power=2
toughness=1
[/card]
[card]
name=Hidden Stag
auto=@movedTo(land|opponentbattlefield) from(opponenthand):transforms((removetypes)) forever && transforms((Elk Beast Creature,setpower=3,settoughness=2)) forever
auto=@movedTo(land|mybattlefield) from(myhand):transforms((removetypes,newability[becomes(Enchantment)])) forever
text=Whenever an opponent plays a land, if Hidden Stag is an enchantment, Hidden Stag becomes a 3/2 Elk Beast creature. -- Whenever you play a land, if Hidden Stag is a creature, Hidden Stag becomes an enchantment.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Hide // Seek
other={W}{B} name(Seek)
auto=ifnot paid(alternative) then target(*[artifact;enchantment]) bottomoflibrary
auto=if paid(alternative) then name(search card) reveal:type:*:opponentlibrary revealzone(opponentlibrary) optionone name(choose card) target(*|reveal) transforms((,newability[life:manacost opponent])) ueot and!( moveto(ownerexile) )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend revealend
text=Put target artifact or enchantment on the bottom of its owner's library. -- //  -- Search target opponent's library for a card and exile it. You gain life equal to its converted mana cost. Then that player shuffles his or her library.
mana={R}{W}
type=Instant
[/card]
[card]
name=Hieroglyphic Illumination
abilities=cycling
auto=draw:2 controller
autohand=__CYCLING__({U})
text=Draw two cards. -- Cycling {U} ({U}, Discard this card: Draw a card.)
mana={3}{U}
type=Instant
[/card]
[card]
name=Hieromancer's Cage
auto=(blink)forsrc target(*[-land]|opponentbattlefield)
text=When Hieromancer's Cage enters the battlefield, exile target nonland permanent an opponent controls until Hieromancer's Cage leaves the battlefield.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Hierophant's Chalice
auto=life:1 controller
auto=life:-1 opponent
auto={T}:Add{1}
text=When Hierophant's Chalice enters the battlefield, target opponent loses 1 life and you gain 1 life. -- {T}: Add {1} to your mana pool.
mana={3}
type=Artifact
[/card]
[card]
name=High Alert
auto=lord(creature|mybattlefield) combattoughness
auto=lord(creature[defender]|mybattlefield) canattack
auto={2}{W}{U}:Untap target(creature)
text=Each creature you control assigns combat damage equal to its toughness rather than its power. -- Creatures you control can attack as though they didn't have defender. -- {2}{W}{U}: Untap target creature.
mana={1}{W}{U}
type=Enchantment
[/card]
[card]
name=Highborn Vampire
mana={3}{B}
type=Creature
subtype=Vampire Warrior
power=4
toughness=3
[/card]
[card]
name=Highcliff Felidar
abilities=vigilance
auto=destroy notatarget(creature[power=power:highest:creature:opponentBattlefield])
text=Vigilance -- When Highcliff Felidar enters the battlefield, for each opponent, choose a creature with the greatest power among creatures that player controls. Destroy those creatures.
mana={4}{W}{W}
type=Creature
subtype=Cat Beast
power=5
toughness=5
[/card]
[card]
name=Highland Forest
auto=tap(noevent)
text=({T}: Add {R} or {G}.) -- Highland Forest enters the battlefield tapped.
type=Snow Land
subtype=Mountain Forest
[/card]
[card]
name=Hill Giant Herdgorger
auto=life:3 controller
text=When Hill Giant Herdgorger enters the battlefield, you gain 3 life.
mana={4}{G}{G}
type=Creature
subtype=Giant
power=7
toughness=6
[/card]
[card]
name=Hinder
target=*|stack
auto=choice name(Put on top) fizzleto(librarytop)
auto=choice name(Put on bottom) fizzleto(librarybottom)
text=Counter target spell. If that spell is countered this way, put that card on the top or bottom of its owner's library instead of into that player's graveyard.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Hindering Light
target=*[-creature;-artifact;-enchantment;-planeswalker]|opponentstack
auto=fizzle
auto=draw:1 controller
text=Counter target spell that targets you or a permanent you control. -- Draw a card.
mana={W}{U}
type=Instant
[/card]
[card]
name=Hinterland Hermit
backside=Hinterland Scourge
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@each upkeep restriction{lastturn(*|stack)~lessthan~1}:name(Transform Human Werewolf) flip(backside)
text=At the beginning of each upkeep, if no spells were cast last turn, transform Hinterland Hermit. // Hinterland Scourge
mana={1}{R}
type=Creature
subtype=Human Werewolf
power=2
toughness=1
[/card]
[card]
name=Hinterland Scourge
auto=@each upkeep restriction{lastturn(*|mystack)~morethan~1,lastturn(*|opponentstack)~lessthan~2}:name(Transform Werewolf) flip(Hinterland Hermit)
auto=@each upkeep restriction{lastturn(*|opponentstack)~morethan~1}:name(Transform Werewolf) flip(Hinterland Hermit)
auto=_ATTACKING_all(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot
text=Hinterland Scourge must be blocked if able. -- At the beginning of each upkeep, if a player cast two or more spells last turn, transform Hinterland Scourge. // Hinterland Hermit
type=Creature
subtype=Werewolf
color=red
power=3
toughness=2
[/card]
[card]
name=Hipparion
auto=@combat(blocking) source(this):pay({1}) donothing?cantbeblockerof(creature[power>=3])
text=Hipparion can't block creatures with power 3 or greater unless you pay {1}.
mana={1}{W}
type=Creature
subtype=Horse
power=1
toughness=3
[/card]
[card]
name=Hired Blade
abilities=flash
text=Flash (You may cast this spell any time you could cast an instant.)
mana={2}{B}
type=Creature
subtype=Human Assassin
power=3
toughness=2
[/card]
[card]
name=Hired Heist
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@combatdamaged(player) from(creature[chosenname]|mybattlefield):name(Pay and draw) pay({U}) name(Pay and draw) name(Pay and draw) draw:1 controller])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Whenever a creature you control with the chosen name deals combat damage to a player, you may pay {U}. If you do, draw a card.
type=Conspiracy
[/card]
[card]
name=Hired Hexblade
other={1}{S(treasure[-tapped]|mybattlefield)} name(Pay with treasure)
otherrestriction=type(treasure[-tapped]|mybattlefield)~morethan~0
auto=if paid(alternative) then draw:1 controller
auto=if paid(alternative) then life:-1 controller
text=When Hired Hexblade enters the battlefield, if mana from a Treasure was spent to cast it, you draw a card and you lose 1 life.
mana={1}{B}
type=Creature
subtype=Elf Warlock
power=2
toughness=2
[/card]
[card]
name=Hired Poisoner
abilities=deathtouch
text=Deathtouch
mana={B}
type=Creature
subtype=Human Assassin
power=1
toughness=1
[/card]
[card]
name=Hired Torturer
abilities=defender
auto={3}{B}{T}:life:-2 opponent
text=Defender -- {3}{B}, {T}: Target opponent loses 2 life, then reveals a card at random from his or her hand.
mana={2}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=3
[/card]
[card]
name=Historian of Zhalfir
auto=@combat(attacking) source(this) restriction{type(planeswalker[Teferi]|myBattlefield)~morethan~0}:draw:1 controller
text=Whenever Historian of Zhalfir attacks, if you control a Teferi planeswalker, draw a card.
mana={2}{U}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=History of Benalia
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=create(knight:creature knight:2/2:white:vigilance)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) create(knight:creature knight:2/2:white:vigilance)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature[Knight]|myBattlefield) +2/+1
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Create a 2/2 white Knight creature token with vigilance. -- III - Knights you control get +2/+1 until end of turn.
mana={1}{W}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Hit // Run
other={3}{R}{G} name(Run)
auto=ifnot paid(alternative) then target(player) ability$!name(sacrifice) notatarget(*[creature;artifact]|mybattlefield) dynamicability<!mytgt manacostlifeloss srccontroller!> sacrifice!$ targetedplayer
auto=if paid(alternative) then lord(creature[attacking]|mybattlefield) transforms((,newability[foreach(other *[creature;attacking]|mybattlefield) 1/0 ueot]))
text=Target player sacrifices an artifact or creature. Hit deals damage to that player equal to that permanent's converted mana cost. -- //  -- Attacking creatures you control get +1/+0 until end of turn for each other attacking creature.
mana={1}{B}{R}
type=Instant
[/card]
[card]
name=Hive Mind
auto=@movedto(*[instant;sorcery]|mystack):ability$!name(Copy spell) name(Copy spell) all(*[instant;sorcery]|opponentstack) activate castcard(copied noevent)!$ opponent
auto=@movedto(*[instant;sorcery]|opponentstack):ability$!name(Copy spell) name(Copy spell) all(*[instant;sorcery]|opponentstack) activate castcard(copied noevent)!$ controller
text=Whenever a player casts an instant or sorcery spell, each other player copies that spell. Each of those players may choose new targets for his or her copy.
mana={5}{U}
type=Enchantment
[/card]
[card]
name=Hive of the Eye Tyrant
auto=if compare(type:land:myBattlefield)~morethan~2 then tap(noevent)
auto={T}:Add{B}
auto={3}{B}:name(Becomes beholder) transforms((,newability[becomes(Creature Beholder^3/3^black^menace) ueot],newability[_ATTACKING_name(Exile card) target(creature|opponentgraveyard) moveto(exile)])) ueot
text=If you control two or more other lands, Hive of the Eye Tyrant enters the battlefield tapped. -- {T}: Add {B}. -- {3}{B}: Until end of turn, Hive of the Eye Tyrant becomes a 3/3 black Beholder creature with menace and "Whenever this creature attacks, exile target card from defending player's graveyard." it's still a land.
type=Land
[/card]
[card]
name=Hixus, Prison Warden
abilities=flash
auto=@combatdamageof(player) from(creature|battlefield):this(cantargetcard(*[fresh]|*)) name(Exile creature) all(trigger[from]) (blink)forsrc
text=Flash (You may cast this spell any time you could cast an instant.) -- Whenever a creature deals combat damage to you, if Hixus, Prison Warden entered the battlefield this turn, exile that creature until Hixus leaves the battlefield. (That creature returns under its owner's control.)
mana={3}{W}{W}
type=Legendary Creature
subtype=Human Soldier
power=4
toughness=4
[/card]
[card]
name=Hoard Robber
auto=@combatdamaged(player) from(this):name(Create treasure) token(Treasure Sur)
text=Whenever Hoard Robber deals combat damage to a player, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={1}{B}
type=Creature
subtype=Tiefling Rogue
power=1
toughness=3
[/card]
[card]
name=Hoarding Ogre
auto=_ATTACKING_name(Roll a d20) rolld20 20 winability token(Treasure Sur)*3 winabilityend loseability if compare(lastrollresult)~lessthan~10 then token(Treasure Sur) else token(Treasure Sur)*2 loseabilityend rolld20end
text=Whenever Hoarding Ogre attacks, roll a d20. -- 1-9 | Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- 10-19 | Create two Treasure tokens. -- 20 | Create three Treasure tokens.
mana={3}{R}
type=Creature
subtype=Ogre
power=3
toughness=3
[/card]
[card]
name=Hobblefiend
abilities=trample
auto={1}{S(other creature|myBattlefield}:counter(1/1,1) all(this)
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- {1}, Sacrifice another creature: Put a +1/+1 counter on Hobblefiend.
mana={1}{R}
type=Creature
subtype=Devil
power=2
toughness=1
[/card]
[card]
name=Hobbling Zombie
abilities=deathtouch
auto=_DIES_name(Create a zombie) token(Zombie Dec)
text=Deathtouch -- When Hobbling Zombie dies, create a 2/2 black Zombie creature with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
mana={2}{B}
type=Creature
subtype=Zombie
power=2
toughness=2
[/card]
[card]
name=Hobgoblin Bandit Lord
auto=lord(other *[goblin]|myBattlefield) 1/1
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~1}:name(Deals 1 damage) damage:1 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~2}:name(Deals 2 damage) damage:2 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~3}:name(Deals 3 damage) damage:3 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~4}:name(Deals 4 damage) damage:4 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~5}:name(Deals 5 damage) damage:5 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~6}:name(Deals 6 damage) damage:6 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~7}:name(Deals 7 damage) damage:7 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~8}:name(Deals 8 damage) damage:8 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~9}:name(Deals 9 damage) damage:9 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~10}:name(Deals 10 damage) damage:10 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~11}:name(Deals 11 damage) damage:11 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~12}:name(Deals 12 damage) damage:12 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~13}:name(Deals 13 damage) damage:13 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~14}:name(Deals 14 damage) damage:14 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~15}:name(Deals 15 damage) damage:15 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~16}:name(Deals 16 damage) damage:16 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~17}:name(Deals 17 damage) damage:17 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~18}:name(Deals 18 damage) damage:18 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~equalto~19}:name(Deals 19 damage) damage:19 target(player,creature,planeswalker)
auto={R}{T} restriction{thisturn(goblin|mybattlefield)~morethan~19}:name(Deals 20 damage) damage:20 target(player,creature,planeswalker)
text=Other Goblins you control get +1/+1. -- {R}, {T}: Hobgoblin Bandit Lord deals damage equal to the number of Goblins that entered the battlefield under your control this turn to any target.
mana={1}{R}{R}
type=Creature
subtype=Goblin Rogue
power=2
toughness=3
[/card]
[card]
name=Hobgoblin Captain
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:name(Gains first strike) transforms((,newability[first strike])) ueot
text=Pack tactics - Whenever Hobgoblin Captain attacks, if you attacked with creatures with total power 6 or greater this combat, Hobgoblin Captain gains first strike until end of turn.
mana={1}{R}
type=Creature
subtype=Goblin Barbarian
power=3
toughness=1
[/card]
[card]
name=Hofri Ghostforge
auto=lord(spirit) transforms((,newability[1/1],newability[trample],newability[haste]))
auto=@movedto(creature[-token]|graveyard) from(mybattlefield):name(Exile and copy) transforms((,newability[all(creature[-token;fresh:zpos=type:*:mygraveyard]|mygraveyard) moveto(exile) and!( clone and!( transforms((Spirit,newability[_DIES_name(Return exiled creature) target(creature[!share!name!]|myexile) moveto(mygraveyard)])) forever )! )!])) forever
text=Spirits you control get +1/+1 and have trample and haste. -- Whenever another nontoken creature you control dies, exile it. If you do, create a token that's a copy of that creature, except it's a Spirit in addition to its other types and it has "When this creature leaves the battlefield, return the exiled card to your graveyard."
mana={3}{R}{W}
type=Legendary Creature
subtype=Dwarf Cleric
power=4
toughness=5
[/card]
[card]
name=Hold the Perimeter
abilities=isconspiracy
restriction=never
autocommandzone=phaseaction[my upkeep once] token(Soldier,Creature Soldier,1/2,white,defender)
autocommandzone=phaseaction[opponent upkeep once] token(Goblin,Creature Goblin,1/1,red,cantblock) opponent
text=(Start the game with this conspiracy face up in the command zone.) -- At the beginning of your first upkeep, put a 1/2 white Soldier creature token with defender onto the battlefield. -- At the beginning of each other player's first upkeep, that player puts a 1/1 red Goblin creature token onto the battlefield with "This creature can't block."
type=Conspiracy
[/card]
[card]
name=Holistic Wisdom
auto=aslongas(artifact|myhand) {2}{E(artifact|myhand)}:name(Exile an artifact) name(Exile an artifact) ability$!name(Return an artifact) name(Return an artifact) target(artifact|mygraveyard) moveto(myhand)!$ controller
auto=aslongas(creature|myhand) {2}{E(creature|myhand)}:name(Exile a creature) name(Exile a creature) ability$!name(Return a creature) name(Return a creature) target(creature|mygraveyard) moveto(myhand)!$ controller
auto=aslongas(enchantment|myhand) {2}{E(enchantment|myhand)}:name(Exile an enchantment) name(Exile an enchantment) ability$!name(Return an enchantment) name(Return an enchantment) target(enchantment|mygraveyard) moveto(myhand)!$ controller
auto=aslongas(planeswalker|myhand) {2}{E(planeswalker|myhand)}:name(Exile a planeswalker) name(Exile a planeswalker) ability$!name(Return a planeswalker) name(Return a planeswalker) target(planeswalker|mygraveyard) moveto(myhand)!$ controller
auto=aslongas(land|myhand) {2}{E(land|myhand)}:name(Exile a land) name(Exile a land) ability$!name(Return a land) name(Return a land) target(land|mygraveyard) moveto(myhand)!$ controller
auto=aslongas(instant|myhand) {2}{E(instant|myhand)}:name(Exile an instant) name(Exile an instant) ability$!name(Return an instant) name(Return an instant) target(instant|mygraveyard) moveto(myhand)!$ controller
auto=aslongas(sorcery|myhand) {2}{E(sorcery|myhand)}:name(Exile a sorcery) name(Exile a sorcery) ability$!name(Return a sorcery) name(Return a sorcery) target(sorcery|mygraveyard) moveto(myhand)!$ controller
auto=aslongas(tribal|myhand) {2}{E(tribal|myhand)}:name(Exile a tribal) name(Exile a tribal) ability$!name(Return a tribal) name(Return a tribal) target(tribal|mygraveyard) moveto(myhand)!$ controller
text={2}, Exile a card from your hand: Return target card from your graveyard to your hand if it shares a card type with the card exiled this way. (Artifact, creature, enchantment, instant, land, planeswalker, sorcery, and tribal are card types.)
mana={1}{G}{G}
type=Enchantment
[/card]
[card]
name=Hollow One
abilities=cycling
anyzone=@discarded(*|myhand):changecost(colorless:-2) ueot forcedalive
autohand=__CYCLING__({2})
text=Hollow One costs {2} less to cast for each card you've cycled or discarded this turn. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={5}
type=Artifact Creature
subtype=Golem
power=4
toughness=4
[/card]
[card]
name=Hollow Warrior
abilities=cantattack,cantblock,cantpwattack
auto={T(*[-attacking]|mybattlefield)}:transforms((,newability[-cantattack],newability[-cantpwattack],newability[-cantblock])) ueot
text=Hollow Warrior can't attack or block unless you tap an untapped creature you control not declared as an attacking or blocking creature this combat.
mana={4}
type=Artifact Creature
subtype=Golem Warrior
power=4
toughness=4
[/card]
[card]
name=Hollowhead Sliver
auto=lord(sliver|mybattlefield) {T}{D(*|myhand)}:draw:1
text=Sliver creatures you control have " {T}, Discard a card: Draw a card."
mana={2}{R}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Holy Avenger
auto={2}{W}:equip
auto=teach(creature) double strike
auto=@combat(attacking) source(mytgt):may name(Attach an aura) target(aura|myhand) moveTo(mybattlefield)
text=Equipped creature has double strike. -- Whenever equipped creature deals combat damage, you may put an Aura card from your hand onto the battlefield attached to it. -- Equip {2}{W}
mana={2}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Homarid Explorer
auto=target(player) deplete:4
text=When Homarid Explorer enters the battlefield, target player puts the top four cards of their library into their graveyard.
mana={3}{U}
type=Creature
subtype=Homarid Scout
power=3
toughness=3
[/card]
[card]
name=Homestead Courage
target=creature|mybattlefield
flashback={W}
auto=transforms((,newability[counter(1/1)],newability[vigilance])) ueot
text=Put a +1/+1 counter on target creature you control. It gains vigilance until end of turn. -- Flashback {W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={W}
type=Sorcery
[/card]
[card]
name=Homing Sliver
auto=lord(sliver|hand) transforms((,newability[{3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(myhand) and!( shuffle )!]))
autohand={3}{D}:name(Search sliver) target(sliver|mylibrary) moveto(myhand) and!( shuffle )!
text=Each Sliver card in each player's hand has slivercycling {3}. -- Slivercycling {3} ({3}, Discard this card: Search your library for a Sliver card, reveal it, and put it into your hand. Then shuffle your library.)
mana={2}{R}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Honed Khopesh
auto={1}:equip
auto=teach(creature) 1/1
text=Equipped creature gets +1/+1. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Honey Mammoth
auto=life:4 controller
text=When Honey Mammoth enters the battlefield, you gain 4 life.
mana={4}{G}{G}
type=Creature
subtype=Elephant
power=6
toughness=6
[/card]
[card]
name=Honor Troll
abilities=vigilance,lifefaker
auto=this(controllerlife > 24) 2/1
auto=@lifeof(player) from(*[-lifefaker]|*):life:1 controller
text=Vigilance -- If you would gain life, you gain that much life plus 1 instead. -- Honor Troll gets +2/+1 as long as you have 25 or more life.
mana={2}{G}
type=Creature
subtype=Troll Druid
power=2
toughness=3
[/card]
[card]
name=Honor the God-Pharaoh
auto=draw:2
auto=_AMASS_(1)
text=As an additional cost to cast this spell, discard a card. -- Draw two cards. Amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={2}{R}{D(other *|myhand)}
type=Sorcery
[/card]
[card]
name=Honored Crop-Captain
auto=_ATTACKING_all(other creature[attacking]) 1/0 ueot
text=Whenever Honored Crop-Captain attacks, other attacking creatures get +1/+0 until end of turn.
mana={R}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Honored Hydra
abilities=trample
autograveyard={3}{G}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Trample -- Embalm {3}{G} ({3}{G}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Snake Hydra with no mana cost. Embalm only as a sorcery.)
mana={5}{G}
type=Creature
subtype=Snake Hydra
power=6
toughness=6
[/card]
[card]
name=Hooded Blightfang
abilities=deathtouch
auto=@combat(attacking) source(creature[deathtouch]|myBattlefield):life:-1 opponent && life:1 controller
auto=@damaged(planeswalker) from(creature[deathtouch]|myBattlefield):all(trigger[to]) destroy
text=Deathtouch -- Whenever a creature you control with deathtouch attacks, each opponent loses 1 life and you gain 1 life. -- Whenever a creature you control with deathtouch deals damage to a planeswalker, destroy that planeswalker.
mana={2}{B}
type=Creature
subtype=Snake
power=1
toughness=4
[/card]
[card]
name=Hooded Brawler
auto=@exerted(this):2/2 ueot
auto=_ATTACKING_may exert
text=You may exert Hooded Brawler as it attacks. When you do, it gets +2/+2 until end of turn. (An exerted creature won't untap during your next untap step.)
mana={2}{G}
type=Creature
subtype=Naga Warrior
power=3
toughness=2
[/card]
[card]
name=Hooded Horror
auto=@each my combatbegins restriction{compare(type:creature:opponentbattlefieldplus1plusend)~morethan~compare(type:creature:mybattlefield)}:transforms((,newability[unblockable])) ueot
text=Hooded Horror can't be blocked as long as defending player controls the most creatures or is tied for the most.
mana={4}{B}
type=Creature
subtype=Horror
power=4
toughness=4
[/card]
[card]
name=Hook-Haunt Drifter
backside=Baithook Angler
abilities=flying,exiledeath
text=Flying -- If Hook-Haunt Drifter would be put into a graveyard from anywhere, exile it instead. // Baithook Angler
type=Creature
subtype=Spirit
color=blue
power=1
toughness=2
[/card]
[card]
name=Hope Tender
auto={1}{T}:untap target(land)
auto=@exerted(this):untap target(<upto:2>land)
auto={1}{T}:exert
text={1}, {T}: Untap target land. -- {1}, {T}, Exert Hope Tender: Untap two target lands. (An exerted creature won't untap during your next untap step.)
mana={1}{G}
type=Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Horde Ambusher
facedown={3}
autofacedown=aslongas(*[red]|myhand) {0}:name(Reveal red card and turn) morph
autofaceup=name(Creature can't block) target(creature) transforms((,newability[cantblock])) ueot
text=Whenever Horde Ambusher blocks, it deals 1 damage to you. -- Morph-Reveal a red card in your hand. (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Horde Ambusher is turned face up, target creature can't block this turn.
mana={1}{R}
type=Creature
subtype=Human Berserker
power=2
toughness=2
[/card]
[card]
name=Hordewing Skaab
abilities=flying
auto=lord(other zombie|myBattlefield) flying
auto=@combatdamagefoeof(player) from(zombie|mybattlefield) turnlimited:may name(Draw and discard) draw:1 && transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot
text=Flying -- Other Zombies you control have flying. -- Whenever one or more Zombies you control deal combat damage to one or more of your opponents, you may draw cards equal to the number of opponents dealt damage this way. If you do, discard that many cards.
mana={4}{U}
type=Creature
subtype=Zombie Horror
power=3
toughness=3
[/card]
[card]
name=Horizon Seeker
abilities=boast
auto={1}{G} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend
auto={G} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )! limit:hasabilitytwoboastplus1plusend
text=Boast-{1}{G}: Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={2}{G}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Horizon Stone
auto=mypoolsave(red)
auto=mypoolsave(white)
auto=mypoolsave(black)
auto=mypoolsave(green)
auto=mypoolsave(blue)
auto=mypoolsave(artifact)
auto=mypoolsave(land)
auto=@movedto(this|nonbattlezone) from(battlefield):name(Terminate effect) name(Terminate effect) transforms((,newability[mypoolsave(red) terminate],newability[mypoolsave(green) terminate],newability[mypoolsave(blue) terminate],newability[mypoolsave(black) terminate],newability[mypoolsave(white) terminate],newability[mypoolsave(artifact) terminate],newability[mypoolsave(land) terminate])) oneshot
auto=@each untap restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each untap restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each untap restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each untap restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each untap restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each upkeep restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each upkeep restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each upkeep restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each upkeep restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each upkeep restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each draw restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each draw restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each draw restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each draw restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each draw restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each firstmain restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each firstmain restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each firstmain restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each firstmain restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each firstmain restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each combatbegins restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each combatbegins restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each combatbegins restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each combatbegins restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each combatbegins restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each combatends restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each combatends restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each combatends restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each combatends restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each combatends restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each secondmain restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each secondmain restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each secondmain restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each secondmain restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each secondmain restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each endofturn restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each endofturn restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each endofturn restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each endofturn restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each endofturn restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each cleanup restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each cleanup restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each cleanup restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each cleanup restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each cleanup restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
text=If you would lose unspent mana, that mana becomes colorless instead.
mana={5}
type=Artifact
[/card]
[card]
name=Horn of Plenty
auto=@movedTo(*|mystack):name(pay to draw) pay({1}) phaseaction[endofturn once] draw:1
auto=@movedTo(*|opponentstack):ability$!name(pay to draw) pay[[{1}]] name(pay 1 mana) phaseaction[endofturn once] draw:1!$ opponent
text=Whenever a player casts a spell, he or she may pay {1}. If that player does, he or she draws a card at the beginning of the next end step.
mana={6}
type=Artifact
[/card]
[card]
name=Hornbash Mentor
auto=name(Put trample counter) target(creature[-human]|myBattlefield) transforms((,newability[counter(0/0.1.Trample)],newability[this(counter{0/0.1.Trample}>=1) trample])) forever
auto={2}{G}{T}:counter(1/1) all(creature[trample]|myBattlefield)
text=When Hornbash Mentor enters the battlefield, put a trample counter on target non-Human creature you control. -- {2}{G}, {T}: Put a +1/+1 counter on each creature you control with trample.
mana={2}{G}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Hornswoggle
target=creature|stack
auto=fizzle
auto=token(Treasure Sur)
text=Counter target creature spell. You create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color."
mana={2}{U}
type=Instant
[/card]
[card]
name=Horror of the Broken Lands
abilities=cycling
auto=@movedto(*|mygraveyard) from(myhand):2/1 ueot
autohand=__CYCLING__({B})
text=Whenever you cycle or discard another card, Horror of the Broken Lands gets +2/+1 until end of turn. -- Cycling {B} ({B}, Discard this card: Draw a card.)
mana={4}{B}
type=Creature
subtype=Horror
power=4
toughness=4
[/card]
[card]
name=Hostage Taker
auto=(blink)forsrc target(creature,artifact)
text=When Hostage Taker enters the battlefield, exile another target creature or artifact until Hostage Taker leaves the battlefield. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any type to cast that spell.
mana={2}{U}{B}
type=Creature
subtype=Human Pirate
power=2
toughness=3
[/card]
[card]
name=Hostile Desert
auto={2}{E(land|mygraveyard)}:transforms((Elemental Creature,setpower=3,settoughness=4)) ueot
auto={T}:Add{1}
text={T}: Add {1} to your mana pool. -- {2}, Exile a land card from your graveyard: Hostile Desert becomes a 3/4 Elemental creature until end of turn. It's still a land.
type=Land
subtype=Desert
[/card]
[card]
name=Hostile Hostel
backside=Creeping Inn
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto={T}:add{C}
auto={1}{T}{S(creature|mybattlefield)}:name(Put soul counter) counter(0/0,1,Soul) && if compare(hascntsoul)~morethan~2 then transforms((,newability[flip(backside)],newability[untap],newability[removeallcounters(0/0.1.Soul)])) forever asSorcery
text={T}: Add {C}. -- {1}, {T}, Sacrifice a creature: Put a soul counter on Hostile Hostel. Then if there are three or more soul counters on it, remove those counters, transform it, then untap it. Activate only as a sorcery. // Creeping Inn
type=Land
[/card]
[card]
name=Hostile Minotaur
abilities=haste
text=Haste (This creature can attack and {T} as soon as it comes under your control.)
mana={3}{R}
type=Creature
subtype=Minotaur
power=3
toughness=3
[/card]
[card]
name=Hound Tamer
abilities=trample,daybound
backside=Untamed Pup
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto={3}{G}:name(Put 1/1 counter) target(creature) counter(1/1)
text=Trample -- {3}{G}: Put a +1/+1 counter on target creature. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Untamed Pup
mana={2}{G}
type=Creature
subtype=Human Werewolf
power=3
toughness=3
[/card]
[card]
name=Hour of Devastation
auto=all(creature) -indestructible
auto=damage:5 all(creature)
auto=damage:5 all(planeswalker[-bolas])
text=All creatures lose indestructible until end of turn. Hour of Devastation deals 5 damage to each creature and each non-Bolas planeswalker.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Hour of Eternity
target=<prexx>creature|myGraveyard
auto=clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! 
auto=moveto(exile)
text=Exile X target creature cards from your graveyard. For each card exiled this way, create a token that's a copy of that card, except it's a 4/4 black Zombie.
mana={X}{X}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Hour of Glory
target=creature
auto=moveto(exile)
auto=teach(god) moveto(exile) all(*[share!name!]|opponenthand)
text=Exile target creature. If that creature was a God, its controller reveals his or her hand and exiles all cards from it with the same name as that creature.
mana={3}{B}
type=Instant
[/card]
[card]
name=Hour of Need
abilities=hasnokicker,hasstrive
kicker=multi{1}{U} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) moveto(ownerexile) and!( token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller )!
text=Strive - Hour of Need costs {1}{U} more to cast for each target beyond the first. -- Exile any number of target creatures. For each creature exiled this way, its controller puts a 4/4 blue Sphinx creature token with flying onto the battlefield.
mana={2}{U}
type=Instant
[/card]
[card]
name=Hour of Promise
auto=aslongas(Desert|mybattlefield) token(Zombie,creature Zombie,2/2,black)*2 >2 
auto=moveto(mybattlefield) target(<upto:2>land|mylibrary) and!(tap(noevent))!
#auto=transforms((,newability[if type(desert|mybattlefield)~morethan~2 then token(Zombie,creature Zombie,2/2,black)])) ueot
text=Search your library for up to two land cards, put them onto the battlefield tapped, then shuffle your library. Then if you control three or more Deserts, create two 2/2 black Zombie creature tokens.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Hour of Revelation
auto=destroy all(*[-land])
other={W}{W}{W} name(Cast for {W}{W}{W})
otherrestriction=type(*[-land]|battlefield)~morethan~9
text=Hour of Revelation costs {3} less to cast if there are ten or more nonland permanents on the battlefield. -- Destroy all nonland permanents.
mana={3}{W}{W}{W}
type=Sorcery
[/card]
[card]
name=House Guildmage
auto={1}{U}{T}:target(creature) frozen
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto={2}{B}{T}:name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text={1}{U}, {T}: Target creature doesn't untap during its controller's next untap step. -- {2}{B}, {T}: Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.)
mana={U}{B}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Howl of the Hunt
abilities=flash
target=creature
auto=teach(creature) vigilance
auto=teach(creature) 2/2
auto=teach(creature[wolf;werewolf]) untap
auto={2}{W}{S} restriction{coven}:name(Exile enchanted creature) imprint
text=Flash -- Enchant creature -- When Howl of the Hunt enters the battlefield, if enchanted creature is a Wolf or Werewolf, untap that creature. -- Enchanted creature gets +2/+2 and has vigilance.
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Howling Giant
abilities=reach
auto=create(Wolf:creature Wolf:2/2:green)*2
text=Reach (This creature can block creatures with flying.) -- When Howling Giant enters the battlefield, create two 2/2 green Wolf creature tokens.
mana={5}{G}{G}
type=Creature
subtype=Giant Druid
power=5
toughness=5
[/card]
[card]
name=Howling Golem
auto=_ATTACKING_draw:1
auto=@combat(blocking) source(this):draw:1
auto=_ATTACKING_draw:1 opponent
auto=@combat(blocking) source(this):draw:1 opponent
text=Whenever Howling Golem attacks or blocks, each player draws a card.
mana={3}
type=Artifact Creature
subtype=Golem
power=2
toughness=3
[/card]
[card]
name=Huatli's Raptor
abilities=vigilance
auto=_PROLIFERATE_
text=Vigilance -- When Huatli's Raptor enters the battlefield, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={G}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=3
[/card]
[card]
name=Huatli's Snubhorn
abilities=vigilance
text=Vigilance (Attacking doesn't cause this creature to tap.)
mana={1}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=2
[/card]
[card]
name=Huatli's Spurring
target=creature
auto=2/0
auto=if type(huatli|mybattlefield)~morethan~0 then 2/0
text=Target creature gets +2/+0 until end of turn. If you control a Huatli planeswalker, that creature gets +4/+0 until end of turn instead.
mana={R}
type=Instant
[/card]
[card]
name=Huddle Up
auto=draw:1
auto=draw:1 target(opponent)
text=Assist (Another player can pay up to {2} of this spell's cost.) -- Two target players each draw a card.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Hulking Bugbear
abilities=haste
text=Haste
mana={1}{R}{R}
type=Creature
subtype=Goblin
power=3
toughness=3
[/card]
[card]
name=Hull Breach
auto=choice destroy target(artifact)
auto=choice destroy target(enchantment)
auto=choice destroy target(artifact) && destroy target(enchantment)
text=Choose one -- Destroy target artifact. -- Destroy target enchantment. -- Destroy target artifact and target enchantment.
mana={R}{G}
type=Sorcery
[/card]
[card]
name=Hum of the Radix
auto=foreach(*[artifact]|myBattlefield) lord(*[artifact]|mycastingzone) altercost(colorless,1)
auto=foreach(*[artifact]|opponentbattlefield) lord(*[artifact]|opponentcastingzone) altercost(colorless,1)
text=Each artifact spell costs {1} more to cast for each artifact its controller controls.
mana={2}{G}{G}
type=Enchantment
[/card]
[card]
name=Human Inc
type=Creature
subtype=Human
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier Bas
type=Creature
subttype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier Day
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier For
type=Creature
subttype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier Gar
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier Gen
type=Creature
subttype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier Jir
type=Creature
subtype=Human
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier Nig
type=Creature
subttype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human Soldier Val
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human Thr
type=Creature
subtype=Human
power=1
toughness=1
color=white
[/card]
[card]
name=Humble Naturalist
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{U}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{B}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{R}
text={T}: Add one mana of any color. Spend this mana only to cast a creature spell.
mana={1}{G}
type=Creature
subtype=Human Druid
power=1
toughness=3
[/card]
[card]
name=Humiliate
auto=if type(*[-land]|opponenthand)~morethan~0 then name(Choose non-land card) name(Choose non-land card) target(*[-land]|opponenthand) reject
auto=if type(*[-land]|opponenthand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|opponenthand) moveto(opponentreveal) and!( moveto(opponenthand) )!
auto=ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)!$ controller
text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. Put a +1/+1 counter on a creature you control.
mana={W}{B}
type=Sorcery
[/card]
[card]
name=Humility
auto=lord(creature|battlefield) loseabilities forever
auto=lord(creature|battlefield) transforms((,setpower=0,settoughness=1)) forever
text=All creatures loses all abilities and have base power and toughness 1/1.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Humongulus
abilities=opponentshroud
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.)
mana={4}{U}
type=Creature
subtype=Homunculus
power=2
toughness=5
[/card]
[card]
name=Hundred-Handed One
abilities=vigilance
auto=this(cantargetcard(*[-monstrous]) {3}{W}{W}{W}:becomes(monstrous) forever && counter(1/1,3) && transforms((,newability[reach])) forever
text=Vigilance -- {3}{W}{W}{W}: Monstrosity 3. (If this creature isn't monstrous, put three +1/+1 counters on it and it becomes monstrous.) -- As long as Hundred-Handed One is monstrous, it has reach and can block an additional ninety-nine creatures each combat.
mana={2}{W}{W}
type=Creature
subtype=Giant
power=3
toughness=5
[/card]
[card]
name=Hungering Hydra
abilities=oneblocker
auto=counter(1/1,X)
auto=_ENRAGE_counter(1/1)*thatmuch
text=Hungering Hydra enters the battlefield with X +1/+1 counters on it. -- Hungering Hydra can't be blocked by more than one creature. -- Whenever Hungering Hydra is dealt damage, put that many +1/+1 counters on it. (It must survive the damage to get the counters.)
mana={X}{G}
type=Creature
subtype=Hydra
power=0
toughness=0
[/card]
[card]
name=Hungering Yeti
abilities=flash
other={4}{R} name(cast as it has flah)
restriction=myturnonly
otherrestriction=type(*[blue;green]|mybattlefield)~morethan~0
text=As long as you control a green or blue permanent, you may cast Hungering Yeti as though it had flash. (You may cast it any time you could cast an instant.)
mana={4}{R}
type=Creature
subtype=Yeti
power=4
toughness=4
[/card]
[card]
name=Hungry Flames
target=player
auto=damage:2
auto=damage:3 target(creature)
text=Hungry Flames deals 3 damage to target creature and 2 damage to target player.
mana={2}{R}
type=Instant
[/card]
[card]
name=Hungry Hungry Heifer
auto=@each my upkeep:if type(*[counter{any}]|mybattlefield)~equalto~0 then sacrifice all(this) else ability$! name(Choose one) choice name(Remove a counter) removesinglecountertype(1) target(*[counter{any}]|mybattlefield) _ choice name(Sacrifice) sacrifice all(mysource) !$ controller
text=During your upkeep, remove a counter from any card you control or sacrifice Hungry Hungry Heifer.
mana={2}{G}
type=Summon
subtype=Cow
[/card]
[card]
name=Hungry Lynx
abilities=deathtouch
auto=lord(cat|myBattlefield) protection from(rat)
auto=@each my endofturn:create(rat:rat creature:1/1:black:deathtouch) opponent
auto=@movedTo(rat|graveyard) from(battlefield):counter(1/1) all(cat|myBattlefield)
text=Cats you control have protection from Rats. (They can't be blocked, targeted, or dealt damage by Rats.) -- At the beginning of your end step, target opponent creates a 1/1 black Rat creature token with deathtouch. -- Whenever a Rat dies, put a +1/+1 counter on each Cat you control.
mana={1}{G}
type=Creature
subtype=Cat
power=2
toughness=2
[/card]
[card]
name=Hungry for More
flashback={1}{B}{R} 
auto=token(Vampire,Creature Vampire,3/1,red,black,trample,lifelink,haste,treason)
text=Create a 3/1 black and red Vampire creature token with trample, lifelink, and haste. Sacrifice it at the beginning of the next end step. -- Flashback {1}{B}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={B}{R}
type=Sorcery
[/card]
[card]
name=Hunt Down
target=creature
auto=mustblock ueot
text=Target creature blocks target creature this turn if able.
mana={G}
type=Sorcery
[/card]
[card]
name=Hunt for Specimens
auto=token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life." -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Hunted Nightmare
abilities=menace
auto=ability$!name(Put Deathtouch counter) name(Put Deathtouch counter) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Deathtouch)],newability[this(counter{0/0.1.Deathtouch}>=1) deathtouch])) forever!$ opponent
text=Menace -- When Hunted Nightmare enters the battlefield, target opponent puts a deathtouch counter on a creature they control.
mana={1}{B}{B}
type=Creature
subtype=Nightmare
power=4
toughness=5
[/card]
[card]
name=Hunted Witness
auto=_DIES_create(soldier:creature soldier:1/1:white:lifelink)
text=When Hunted Witness dies, create a 1/1 white Soldier creature token with lifelink.
mana={W}
type=Creature
subtype=Human
power=1
toughness=1
[/card]
[card]
name=Hunter's Edge
target=creature|myBattlefield
restriction=type(creature|opponentbattlefield)~morethan~0
auto=counter(1/1,1)
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike!>])) ueot
text=Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature you don't control.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Hunter's Mark
abilities=nofizzle
target=creature|myBattlefield
other={G} name(Target blue permanent)
otherrestriction=type(*[creature;planeswalker;blue]|opponentbattlefield)~morethan~0
auto=if paid(alternative) then transforms((,newability[1/1],newability[name(Damage blue creature or planeswalker) damage:power target(*[creature;planeswalker;blue]|opponentbattlefield)])) ueot
auto=ifnot paid(alternative) then transforms((,newability[1/1],newability[name(Damage creature or planeswalker) damage:power target(*[creature;planeswalker]|opponentbattlefield)])) ueot
text=This spell costs {3} less to cast if it targets a blue permanent you don't control. -- This spell can't be countered. -- Target creature you control gets +1/+1 until end of turn. Then it deals damage equal to its power to target creature or planeswalker you don't control.
mana={3}{G}
type=Instant
[/card]
[card]
name=Huntmaster Liger
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{W} name(Mutate)
auto=transforms((,newability[@mutated(this):name(All creatures X/X ueot) thisforeach(mutations) all(other creature|myBattlefield) 1/1 ueot]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{W} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, other creatures you control get +X/+X until end of turn, where X is the number of times this creature has mutated.
mana={3}{W}
type=Creature
subtype=Cat
power=3
toughness=4
[/card]
[card]
name=Hurl Through Hell
target=creature
auto=moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[my endofturn next once checkex] moveTo(ownerexile)])) forever )!
text=Exile target creature. Until the end of your next turn, you may cast that card and you may spend mana as though it were mana of any color to cast that spell.
mana={2}{B}{R}
type=Instant
[/card]
[card]
name=Hushbringer
abilities=flying,lifelink
auto=@movedto(creature|battlefield):all(trigger) onlymanaability
auto=@movedto(creature|graveyard):all(trigger) onlymanaability
text=Flying, lifelink -- Creatures entering the battlefield or dying don't cause abilities to trigger.
mana={1}{W}
type=Creature
subtype=Faerie
power=1
toughness=2
[/card]
[card]
name=Hydra's Growth
target=creature
auto=counter(1/1,1)
auto=@each my upkeep:thisforeach(counter{1/1.1}) counter(1/1,1)
text=Enchant creature -- When Hydra's Growth enters the battlefield, put a +1/+1 counter on enchanted creature. -- At the beginning of your upkeep, double the number of +1/+1 counters on enchanted creature.
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Hydradoodle
abilities=reach,trample
auto=thisforeach(variable{halfpaid}) all(this) rolld6 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rolld6end
text=As Hydradoodle enters the battlefield, roll X six-sided dice. Hydradoodle enters the battlefield with a number of +1/+1 counters on it equal to the total of those results. -- Reach, trample
mana={X}{X}{G}{G}
type=Creature
subtype=Hydra Dog
power=0
toughness=0
[/card]
[card]
name=Hydroid Krasis
abilities=flying, trample
autostack=if casted(this) then draw:3
autostack=if casted(this) then life:3
auto=counter(1/1,X)
text=When you cast this spell, you gain half X life and draw half X cards. Round down each time. -- Flying, trample -- Hydroid Krasis enters the battlefield with X +1/+1 counters on it.
mana={X}{G}{U}
type=Creature
subtype=Jellyfish Hydra Beast
power=0
toughness=0
[/card]
[card]
name=Hydromorph Guardian
auto={U}{S} restriction{type(creature|myBattlefield)~morethan~0}:fizzle target(*[-creature;-artifact;-enchantment;-planeswalker]|stack)
text={U}, Sacrifice Hydromorph Guardian: Counter target spell that targets one or more creatures you control.
mana={2}{U}
type=Creature
subtype=Elemental
power=2
toughness=2
[/card]
[card]
name=Hydromorph Gull
abilities=flying
auto={U}{S} restriction{type(creature|myBattlefield)~morethan~0}:fizzle target(*[-creature;-artifact;-enchantment;-planeswalker]|stack)
text=Flying -- {U}, Sacrifice Hydromorph Gull: Counter target spell that targets one or more creatures you control.
mana={3}{U}{U}
type=Creature
subtype=Elemental Bird
power=3
toughness=3
[/card]
[card]
name=Hyena Pack
mana={2}{R}{R}
type=Creature
subtype=Hyena
power=3
toughness=4
[/card]
[card]
name=Hymn of the Wilds
abilities=isconspiracy
restriction=never
autocommandzone=maxcast(*[instant;sorcery])0
autocommandzone=this(counter{0/0.1.HymnEffect}=0) lord(creature|mycastingzone) altercost(colorless, -1)
autocommandzone=@movedto(creature|mystack):counter(0/0,1,HymnEffect)
autocommandzone=@each endofturn restriction{compare(hascnthymneffect)~morethan~0}:removeallcounters(0/0.1.HymnEffect)
text=(Start the game with this conspiracy face up in the command zone.) -- The first creature spell you cast each turn costs {1} less to cast. -- You can't cast instant or sorcery spells.
type=Conspiracy
[/card]
[card]
name=Hypergenesis
color=green
restriction=never
mana={0}
suspend(3)={1}{g}{g}
auto=ability$! moveto(ownerbattlefield) notatarget(<anyamount>artifact,creature,enchantment,land|myhand) !$ controller
auto=ability$! moveto(ownerbattlefield) notatarget(<anyamount>artifact,creature,enchantment,land|myhand) !$ opponent
text=Suspend 3-{1}{G}{G} (Rather than cast this card from your hand, pay {1}{G}{G} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- Starting with you, each player may put an artifact, creature, enchantment, or land card from his or her hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield.
type=Sorcery
[/card]
[card]
name=Hypnotic Sprite // Mesmeric Glare
abilities=flying,adventure,asflash
restriction=can play creature
other={2}{U} name(Adventure)
auto=if paid(alternative) then name(Counter spell) name(Counter spell) target(*[manacost<=3]|stack) fizzle
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Flying // Counter target spell with converted mana cost 3 or less. (Then exile this card. You may cast the creature later from exile.)
mana={U}{U}
type=Creature
subtype=Faerie
power=2
toughness=1
[/card]
[card]
name=Hypothesizzle
auto=draw:2 controller 
auto=choice name(Discard and deal damage) ability$!name(Discard non-land card) notatarget(*[-land]|myhand) reject!$ controller && damage:4 target(creature)
auto=choice name(Don't discard) donothing
text=Draw two cards. Then you may discard a nonland card. When you do, Hypothesizzle deals 4 damage to target creature.
mana={3}{U}{R}
type=Instant
[/card]
[card]
name=Hyrax Tower Scout
auto=untap target(creature)
text=When Hyrax Tower Scout enters the battlefield, untap target creature.
mana={2}{G}
type=Creature
subtype=Human Scout
power=3
toughness=3
[/card]
[card]
name=Ice Tunnel
auto=tap(noevent)
text=({T}: Add {U} or {B}.) -- Ice Tunnel enters the battlefield tapped.
type=Snow Land
subtype=Island Swamp
[/card]
[card]
name=Ice-Fang Coatl
abilities=flash,flying
auto=draw:1
auto=aslongas(*[snow]|myBattlefield) deathtouch >2
text=Flash -- Flying -- When Ice-Fang Coatl enters the battlefield, draw a card. -- Ice-Fang Coatl has deathtouch as long as you control at least three other snow permanents.
mana={G}{U}
type=Snow Creature
subtype=Snake
power=1
toughness=1
[/card]
[card]
name=Iceberg Cancrix
auto=@movedTo(*[snow]|myBattlefield):may target(player) deplete:2
text=Whenever another snow permanent enters the battlefield under your control, you may have target player put the top two cards of their library into their graveyard.
mana={1}{U}
type=Snow Creature
subtype=Crab
power=0
toughness=4
[/card]
[card]
name=Icebind Pillar
auto={i}{T}:target(*[creature;artifact]|battlefield) tap(noevent)
text={S}i}, {T}: Tap target artifact or creature. ({S}i} can be paid with one mana from a snow source.)
mana={2}{U}
type=Snow Artifact
[/card]
[card]
name=Icebreaker Kraken
autograveyard=foreach(land[snow]|mybattlefield) changecost(colorless:-1) forcedalive
autoexile=foreach(land[snow]|mybattlefield) changecost(colorless:-1) forcedalive
autohand=foreach(land[snow]|mybattlefield) changecost(colorless:-1) forcedalive
auto=all(*[artifact;creature]|opponentbattlefield) frozen
auto={H(land[snow]|mybattlefield)}{H(land[snow]|mybattlefield)}{H(land[snow]|mybattlefield)}:moveTo(ownerhand)
text=This spell costs {1} less to cast for each snow land you control. -- When Icebreaker Kraken enters the battlefield, artifacts and creatures target opponent controls don't untap during that player's next untap step. -- Return three snow lands you control to their owner's hand: Return Icebreaker Kraken to its owner's hand.
mana={10}{U}{U}
type=Snow Creature
subtype=Kraken
power=8
toughness=8
[/card]
[card]
name=Icehide Golem
other={i}
restriction=never
text=({S}i} can be paid with one mana from a snow permanent.)
mana={1}
type=Snow Artifact Creature
subtype=Golem
power=2
toughness=2
[/card]
[card]
name=Icehide Troll
auto={i}{i}:name(Gets 2/0 and indestructible) transforms((,newability[2/0],newability[indestructible],newability[tap(noevent)])) ueot
text={S}i}{S}i}: Icehide Troll gets +2/+0 and gains indestructible until end of turn. Tap it. (Damage and effects that say "destroy" don't destroy it. {S}i} can be paid with one mana from a snow source.)
mana={2}{G}
type=Snow Creature
subtype=Troll Warrior
power=2
toughness=3
[/card]
[card]
name=Ich-Tekik, Salvage Splicer
abilities=partner
auto=token(Golem,Artifact Creature Golem,3/3)
auto=@movedTo(graveyard) from(artifact|battlefield):counter(1/1)
auto=@movedTo(graveyard) from(artifact|battlefield):counter(1/1) all(*[golem]|mybattlefield)
text=When Ich-Tekik, Salvage Splicer enters the battlefield, create a 3/3 colorless Golem artifact creature token. -- Whenever an artifact is put into a graveyard from the battlefield, put a +1/+1 counter on Ich-Tekik and a +1/+1 counter on each Golem you control. -- Partner (You can have two commanders if both have partner.)
mana={4}{G}
type=Legendary Creature
subtype=Human Artificer
power=1
toughness=1
[/card]
[card]
name=Ichthyomorphosis
target=creature
auto=teach(creature) loseabilities
auto=teach(creature) transforms((,setpower=0,settoughness=1))
auto=teach(creature) transforms((removetypes,newability[becomes(Fish,blue)]))
text=Enchant creature -- Enchanted creature loses all abilities and is a blue Fish with base power and toughness 0/1.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Icingdeath, Frost Tongue
auto={2}:equip
auto=teach(creature) 2/0
auto=@combat(attacking) source(mytgt):name(Tap opponent's creature) target(creature|opponentbattlefield) tap 
text=Equipped creature gets +2/+0 -- Whenever equipped creature attacks, tap target creature defending player controls -- Equip {2}
type=Legendary Artifact
subtype=Equipment
color=white
[/card]
[card]
name=Icingdeath, Frost Tyrant
abilities=vigilance,flying
auto=_DIES_name(Icingdeath, Frost Tongue) activate castcard(copied named!:icingdeath, frost tongue:!)
text=Flying, vigilance -- When Icingdeath, Frost Tyrant dies, create Icingdeath, Frost Tongue, a legendary white Equipment artifact token with "Equipped creature gets +2/+0", "Whenever equipped creature attacks, tap target creature defending player controls" and equip {2}.
mana={2}{W}{W}
type=Legendary Creature
subtype=Dragon
power=4
toughness=3
[/card]
[card]
name=Icon of Ancestry
aicode=activate target(creature[zpos<=3]|mylibrary) moveto(myhand)
auto={3}{T}:name(look) reveal:3 optionone name(Get Creature) target(<upto:1>creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=chooseatype lord(creature[chosentype]) 1/1 chooseend
text=As Icon of Ancestry enters the battlefield, choose a creature type. -- Creatures you control of the chosen type get +1/+1. -- {3}, {T}: Look at the top three cards of your library. You may reveal a creature card of the chosen type from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={3}
type=Artifact
[/card]
[card]
name=Icy Manalith
auto={T}:add{W}
auto={T}:add{B}
auto={T}:add{G}
auto={T}:add{U}
auto={T}:add{R}
text={T}: Add one mana of any color.
type=Snow Artifact
[/card]
[card]
name=Idol of Endurance
auto=(blink)forsrc all(creature[manacost<=3]|myGraveyard)
auto={1}{W}{T}:may activate castcard(normal) target(creature[manacost<=3]|myexile)
text=When Idol of Endurance enters the battlefield, exile all creature cards with converted mana cost 3 or less from your graveyard until Idol of Endurance leaves the battlefield. -- {1}{W}, {T}: Until end of turn, you may cast a creature spell from among the cards exiled with Idol of Endurance without paying its mana cost.
mana={2}{W}
type=Artifact
[/card]
[card]
name=Idol of Oblivion
auto={T}:draw:1 restriction{thisturn(creature[token]|mybattlefield)~morethan~0}
auto={8}{T}{S}:token(Eldrazi,Creature Eldrazi,10/10,colorless)
text={T}: Draw a card. Activate this ability only if you created a token this turn. -- {8}, {T}, Sacrifice Idol of Oblivion: Create a 10/10 colorless Eldrazi creature token.
mana={2}
type=Artifact
[/card]
[card]
name=Idyllic Grange
auto=aslongas(other land[plains]|myBattlefield) tap(noevent) <3 oneshot
auto=aslongas(other land[plains]|myBattlefield) >2 target(creature|myBattlefield) counter(1/1) once 
text={T}: Add {W}. -- Idyllic Grange enters the battlefield tapped unless you control three or more other Plains. -- When Idyllic Grange enters the battlefield untapped, put a +1/+1 counter on target creature you control.
type=Land
subtype=Plains
[/card]
[card]
name=Ifh-Biff Efreet
abilities=flying
auto={G}:damage:1 all(creature[flying]) && damage:1 controller && damage:1 opponent
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 1) pay[[{G}]] name(Pay 1) damage:1 all(creature[flying]) && damage:1 controller && damage:1 opponent?donothing!$ opponent])) forever
text=Flying -- {G}: Ifh-Biff Efreet deals 1 damage to each creature with flying and each player. Any player may activate this ability.
mana={2}{G}{G}
type=Creature
subtype=Efreet
power=3
toughness=3
[/card]
[card]
name=Ifnir Deadlands
auto={2}{B}{B}{T}{S(desert|mybattlefield)}:counter(-1/-1,2) target(creature|opponentbattlefield) asSorcery
auto={T}:Add{1}
auto={T}{L:1}:Add{B}
text={T}: Add {1} to your mana pool. -- {T}, Pay 1 life: Add {B} to your mana pool. -- {2}{B}{B}, {T}, Sacrifice a Desert: Put two -1/-1 counters on target creature an opponent controls. Activate this ability only any time you could cast a sorcery.
type=Land
subtype=Desert
[/card]
[card]
name=Igneous Cur
auto={1}{R}:2/0 ueot
text={1}{R}: Igneous Cur gets +2/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Elemental Dog
power=1
toughness=2
[/card]
[card]
name=Igneous Elemental
target=creature
autohand=if type(land|mygraveyard)~morethan~0 then reduce({1})
auto=may damage:2
text=This spell costs {2} less to cast if there is a land card in your graveyard. -- When Igneous Elemental enters the battlefield, you may have it deal 2 damage to target creature.
mana={4}{R}{R}
type=Creature
subtype=Elemental
power=4
toughness=3
[/card]
[card]
name=Igneous Inspiration
target=player,creature,planeswalker
auto=damage:3
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Igneous Inspiration deals 3 damage to any target. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Ignite Disorder
auto=thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature[white;blue]) damage:1!$ controller
text=Ignite Disorder deals 3 damage divided as you choose among one, two, or three target white and/or blue creatures.
mana={1}{R}
type=Instant
[/card]
[card]
name=Ignite the Beacon
auto=target(<upto:2>planeswalker|mylibrary) moveto(myhand)
text=Search your library for up to two planeswalker cards, reveal them, put them into your hand, then shuffle your library.
mana={4}{W}
type=Instant
[/card]
[card]
name=Ignite the Future
flashback={7}{R}
auto=moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos<=3]|mylibrary)
auto=if gravecast then changecost(colorless:-3) && changecost(R:-1)
text=Exile the top three cards of your library. Until the end of your next turn, you may play those cards. If this spell was cast from a graveyard, you may play cards this way without paying their mana costs. -- Flashback {7}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Ignoble Hierarch
abilities=exalted
auto={T}:add{B}
auto={T}:add{G}
auto={T}:add{R}
text=Exalted (Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn.) -- {T}: Add {B}, {R}, or {G}.
mana={G}
type=Creature
subtype=Goblin Shaman
power=0
toughness=1
[/card]
[card]
name=Ikra Shidiqi, the Usurper
abilities=menace,partner
auto=@combatdamaged(player) from(creature|myBattlefield):dynamicability<!mytgt toughnesslifegain srccontroller!>
text=Menace -- Whenever a creature you control deals combat damage to a player, you gain life equal to that creature's toughness. -- Partner (You can have two commanders if both have partner.)
mana={3}{B}{G}
type=Legendary Creature
subtype=Naga Wizard
power=3
toughness=7
[/card]
[card]
name=Ilharg, the Raze-Boar
abilities=trample
auto=_ATTACKING_target(creature|myhand) transforms((,newability[phaseaction[endofturn once] moveTo(hand)],newability[ninjutsu])) forever
auto=_DIES_may name(Move back to hand) target(Ilharg^ the Raze-Boar[fresh]|graveyard) placefromthetop(3)
auto=@movedto(this|exile) from(myBattlefield):may name(Move back to hand) target(Ilharg^ the Raze-Boar[fresh]|exile) placefromthetop(3)
text=Trample -- Whenever Ilharg, the Raze-Boar attacks, you may put a creature card from your hand onto the battlefield tapped and attacking. Return that creature to your hand at the beginning of the next end step. -- When Ilharg, the Raze-Boar dies or is put into exile from the battlefield, you may put it into its owner's library third from the top.
mana={3}{R}{R}
type=Legendary Creature
subtype=Boar God
power=6
toughness=6
[/card]
[card]
name=Ill-Gotten Inheritance
auto={5}{B}{S}:life:4 && damage:4 target(opponent)
auto=@each my upkeep:life:1 && damage:1 opponent
text=At the beginning of your upkeep, Ill-Gotten Inheritance deals 1 damage to each opponent and you gain 1 life. -- {5}{B}, Sacrifice Ill-Gotten Inheritance: It deals 4 damage to target opponent and you gain 4 life.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Illuminate
abilities=hasotherkicker
target=creature
other={X}{2}{R}{R} name(Kicker Red)
kicker={3}{U} name(Kicker Blue or both)
auto=damage:X
auto=if paid(alternative) then damage:X targetcontroller
auto=if paid(kicker) then draw:X controller
auto=if paid(kicker) then pay({2}{R}) name(Pay also kicker red) damage:castx targetcontroller
text=Kicker {2}{R} and/or {3}{U} (You may pay an additional {2}{R} and/or {3}{U} as you cast this spell.) -- Illuminate deals X damage to target creature. If Illuminate was kicked with its {2}{R} kicker, it deals X damage to that creature's controller. If Illuminate was kicked with its {3}{U} kicker, you draw X cards.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Illuminate History
auto=if type(*|mygraveyard)~morethan~5 then choice name(Discard 0 cards) name(Discard 0 cards) token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|mygraveyard)~lessthan~6 then choice name(Discard 0 cards) name(Discard 0 cards) donothing
auto=if type(*|myhand)~morethan~0 then if type(*|mygraveyard)~morethan~4 then choice name(Discard 1 card) name(Discard 1 card) name(Discard 1 card) target(*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~0 then if type(*|mygraveyard)~lessthan~5 then choice name(Discard 1 card) name(Discard 1 card) name(Discard 1 card) target(*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot
auto=if type(*|myhand)~morethan~1 then if type(*|mygraveyard)~morethan~3 then choice name(Discard 2 cards) name(Discard 2 cards) name(Discard 2 cards) target(<2>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~1 then if type(*|mygraveyard)~lessthan~4 then choice name(Discard 2 cards) name(Discard 2 cards) name(Discard 2 cards) target(<2>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot
auto=if type(*|myhand)~morethan~2 then if type(*|mygraveyard)~morethan~2 then choice name(Discard 3 cards) name(Discard 3 cards) name(Discard 3 cards) target(<3>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~2 then if type(*|mygraveyard)~lessthan~3 then choice name(Discard 3 cards) name(Discard 3 cards) name(Discard 3 cards) target(<3>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot
auto=if type(*|myhand)~morethan~3 then if type(*|mygraveyard)~morethan~1 then choice name(Discard 4 cards) name(Discard 4 cards) name(Discard 4 cards) target(<4>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~3 then if type(*|mygraveyard)~lessthan~2 then choice name(Discard 4 cards) name(Discard 4 cards) name(Discard 4 cards) target(<4>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot
auto=if type(*|myhand)~morethan~4 then if type(*|mygraveyard)~morethan~0 then choice name(Discard 5 cards) name(Discard 5 cards) name(Discard 5 cards) target(<5>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~4 then if type(*|mygraveyard)~lessthan~1 then choice name(Discard 5 cards) name(Discard 5 cards) name(Discard 5 cards) target(<5>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot
auto=if type(*|myhand)~morethan~5 then choice name(Discard 6 cards) name(Discard 6 cards) target(<6>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~6 then choice name(Discard 7 cards) name(Discard 7 cards) target(<7>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~7 then choice name(Discard 8 cards) name(Discard 8 cards) target(<8>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~8 then choice name(Discard 9 cards) name(Discard 9 cards) target(<9>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
auto=if type(*|myhand)~morethan~9 then choice name(Discard 10 cards) name(Discard 10 cards) target(<10>*|myhand) transforms((,newability[reject],newability[draw:1])) oneshot && token(Spirit^Creature Spirit^3/2^red^white)
text=Discard any number of cards, then draw that many cards. Then if there are seven or more cards in your graveyard, create a 3/2 red and white Spirit creature token.
mana={2}{R}{R}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Illuminated Folio
auto=this(variable{type:*[blue]:myhand}>1) {1}{T}:draw:1 controller
auto=this(variable{type:*[red]:myhand}>1) {1}{T}:draw:1 controller
auto=this(variable{type:*[black]:myhand}>1) {1}{T}:draw:1 controller
auto=this(variable{type:*[green]:myhand}>1) {1}{T}:draw:1 controller
auto=this(variable{type:*[white]:myhand}>1) {1}{T}:draw:1 controller
text={1}, {T}, Reveal two cards from your hand that share a color: Draw a card.
mana={5}
type=Artifact
[/card]
[card]
name=Illuna, Apex of Wishes
abilities=flying,trample,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{RG}{U}{U} name(Mutate)
auto=transforms((,newability[@mutated(this):ability$!name(Reveal) reveal:1 revealzone(mylibrary) revealuntil(*[-land;-instant;-sorcery]|mylibrary) optionone name(May move non land permanent on battlefield) target(<upto:1>*[-land;-instant;-sorcery]|myreveal) moveto(mybattlefield) optiononeend optiontwo name(Move revealed cards to exile) all(*|myreveal) moveto(myexile) optiontwoend afterrevealed name(Move last exiled non land permanent to hand) moveto(myhand) target(*[fresh;-land;-instant;-sorcery]|myexile) afterrevealedend revealend!$ controller]))
auto=ifnot paid(alternative) then transforms((,newability[becomes(,,green,blue,red)])) forever all(this)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield) && transforms((,newability[becomes(,,green,blue,red)])) forever
auto=if paid(alternative) then name(Mutate Under) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{RG}{U}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying, trample -- Whenever this creature mutates, exile cards from the top of your library until you exile a nonland permanent card. Put that card onto the battlefield or into your hand.
mana={2}{G}{U}{R}
type=Legendary Creature
subtype=Beast Elemental Dinosaur
power=6
toughness=6
[/card]
[card]
name=Illusion // Reality
other={2}{G} name(Reality)
auto=ifnot paid(alternative) then activatechooseacolor target(*) becomes(,chosencolor) ueot activatechooseend
auto=if paid(alternative) then destroy target(*[artifact])
text=Target spell or permanent becomes the color of your choice until end of turn. -- //  -- Destroy target artifact.
mana={U}
type=Instant
[/card]
[card]
name=Illusion of Choice
#The vote is not supported ATM
auto=draw:1 controller
text=You choose how each player votes this turn. -- Draw a card.
mana={U}
type=Instant
[/card]
[card]
name=Illusionary Presence
auto=cumulativeupcost[{U}] sacrifice
auto=@each my upkeep:ability$!name(Choose a land type) choice name(plains) plainswalk ueot _ choice name(island) islandwalk ueot _ choice name(swamp) swampwalk ueot _ choice name(mountain) mountainwalk ueot _ choice name(forest) forestwalk ueot!$ controller
text=Cumulative upkeep {U} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- At the beginning of your upkeep, choose a land type. Illusionary Presence gains landwalk of the chosen type until end of turn.
mana={1}{U}{U}
type=Creature
subtype=Illusion
power=2
toughness=2
[/card]
[card]
name=Illusory Wrappings
target=creature
auto=transforms((,setpower=0,settoughness=2)) forsrc
text=Enchant creature -- Enchanted creature has base power and toughness 0/2.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Illustrious Historian
autograveyard={5}{E}:token(Spirit,Creature Spirit,3/2,red,white) and!( tap(noevent) )!
text={5}, Exile Illustrious Historian from your graveyard: Create a tapped 3/2 red and white Spirit creature token.
mana={1}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=1
[/card]
[card]
name=Ilysian Caryatid
auto={T} restriction{type(creature[power>=4]|myhand)~morethan~0}:add{G}{G}
auto={T} restriction{type(creature[power>=4]|myhand)~morethan~0}:add{W}{W}
auto={T} restriction{type(creature[power>=4]|myhand)~morethan~0}:add{U}{U}
auto={T} restriction{type(creature[power>=4]|myhand)~morethan~0}:add{B}{B}
auto={T} restriction{type(creature[power>=4]|myhand)~morethan~0}:add{R}{R}
auto={T} restriction{type(creature[power>=4]|myhand)~lessthan~1}:add{G}
auto={T} restriction{type(creature[power>=4]|myhand)~lessthan~1}:add{W}
auto={T} restriction{type(creature[power>=4]|myhand)~lessthan~1}:add{U}
auto={T} restriction{type(creature[power>=4]|myhand)~lessthan~1}:add{B}
auto={T} restriction{type(creature[power>=4]|myhand)~lessthan~1}:add{R}
text={T}: Add one mana of any color. If you control a creature with power 4 or greater, add two mana of any one color instead.
mana={1}{G}
type=Creature
subtype=Plant
power=1
toughness=1
[/card]
[card]
name=Imaginary Threats
abilities=cycling
target=opponent
auto=all(creature|targetedpersonsbattlefield) mustattack
auto=all(creature|targetedpersonsbattlefield) frozen
autohand=__CYCLING__({2})
text=Creatures target opponent controls attack this turn if able. During that player's next untap step, creatures he or she controls don't untap. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Imbraham, Dean of Theory
abilities=flying
auto={1}{U}{U}{T}:name(X=1) all(*[zpos<=1]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={2}{U}{U}{T}:name(X=2) all(*[zpos<=2]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={3}{U}{U}{T}:name(X=3) all(*[zpos<=3]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={4}{U}{U}{T}:name(X=4) all(*[zpos<=4]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={5}{U}{U}{T}:name(X=5) all(*[zpos<=5]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={6}{U}{U}{T}:name(X=6) all(*[zpos<=6]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={7}{U}{U}{T}:name(X=7) all(*[zpos<=7]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={8}{U}{U}{T}:name(X=8) all(*[zpos<=8]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={9}{U}{U}{T}:name(X=9) all(*[zpos<=9]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={10}{U}{U}{T}:name(X=10) all(*[zpos<=10]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={11}{U}{U}{T}:name(X=1) all(*[zpos<=11]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={12}{U}{U}{T}:name(X=2) all(*[zpos<=12]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={13}{U}{U}{T}:name(X=3) all(*[zpos<=13]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={14}{U}{U}{T}:name(X=4) all(*[zpos<=14]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={15}{U}{U}{T}:name(X=5) all(*[zpos<=15]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={16}{U}{U}{T}:name(X=6) all(*[zpos<=16]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={17}{U}{U}{T}:name(X=7) all(*[zpos<=17]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={18}{U}{U}{T}:name(X=8) all(*[zpos<=18]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={19}{U}{U}{T}:name(X=9) all(*[zpos<=19]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={20}{U}{U}{T}:name(X=10) all(*[zpos<=20]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.study)],newability[phaseaction[endofturn once checkex] counter(0/0.-1.study)])) oneshot )!
auto={0}:name(Put exiled card in hand) target(*[counter{0/0.1.study}|myexile) moveto(myhand) limit:1
text=Flying -- {X}{U}{U}, {T}: Exile the top X cards of your library and put a study counter on each of them. Then you may put a card you own in exile with a study counter on it into your hand. // {2}{G} Kianne, Dean of Substance
mana={2}{U}{U}
type=Legendary Creature
subtype=Bird Wizard
power=3
toughness=3
[/card]
[card]
name=Imi Statue
auto=lord(artifact|mybattlefield) doesnotuntap
auto=lord(artifact|opponentbattlefield) doesnotuntap
auto=@each my untap:ability$!name(Untap an artifact) name(Untap an artifact) untap target(artifact[tapped]|mybattlefield)!$ controller
auto=@each opponent untap:ability$!name(Untap an artifact) name(Untap an artifact) untap target(artifact[tapped]|mybattlefield)!$ opponent
text=Players can't untap more than one artifact during their untap steps.
mana={3}
type=Artifact
[/card]
[card]
name=Immediate Action
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[lord(creature[chosenname]|myBattlefield) haste])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Creatures you control with the chosen name have haste.
type=Conspiracy
[/card]
[card]
name=Immersturm Predator
abilities=flying
auto=@tapped(this):may name(Exile card) target(*|graveyard) moveto(ownerexile) && all(this) counter(1/1)
auto={S(other creature|mybattlefield)}:name(Indestructible and tap) transforms((,newability[indestructible],newability[tap])) ueot
text=Flying -- Whenever Immersturm Predator becomes tapped, exile up to one target card from a graveyard and put a +1/+1 counter on Immersturm Predator. -- Sacrifice another creature: Immersturm Predator gains indestructible until end of turn. Tap it.
mana={2}{B}{R}
type=Creature
subtype=Vampire Dragon
power=3
toughness=3
[/card]
[card]
name=Immersturm Raider
auto=if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(draw:1)! !$ controller
text=When Immersturm Raider enters the battlefield, you may discard a card. If you do, draw a card.
mana={1}{R}
type=Creature
subtype=Demon Berserker
power=2
toughness=1
[/card]
[card]
name=Immersturm Skullcairn
auto=tap(noevent)
auto={T}:add{B}
auto={1}{B}{R}{R}{T}{S}:name(Target opponent) damage:3 opponent && ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ opponent asSorcery
auto={1}{B}{R}{R}{T}{S}:name(Target yourself) damage:3 controller && ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ controller asSorcery
text=Immersturm Skullcairn enters the battlefield tapped. -- {T}: Add {B}. -- {1}{B}{R}{R}, {T}, Sacrifice Immersturm Skullcairn: It deals 3 damage to target player. That player discards a card. Activate this ability only any time you could cast a sorcery.
type=Land
[/card]
[card]
name=Imminent Doom
auto=counter(0/0,1,doom)
auto=this(counter{0/0.1.doom}) transforms((,newability[@movedTo(*[manacost=1]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.1.doom}) transforms((,newability[@movedTo(*[manacost=1]|mystack):damage:1 target(creature;player)])) ueot
auto=this(counter{0/0.2.doom}) transforms((,newability[@movedTo(*[manacost=2]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.2.doom}) transforms((,newability[@movedTo(*[manacost=2]|mystack):damage:2 target(creature;player)])) ueot
auto=this(counter{0/0.3.doom}) transforms((,newability[@movedTo(*[manacost=3]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.3.doom}) transforms((,newability[@movedTo(*[manacost=3]|mystack):damage:3 target(creature;player)])) ueot
auto=this(counter{0/0.4.doom}) transforms((,newability[@movedTo(*[manacost=4]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.4.doom}) transforms((,newability[@movedTo(*[manacost=4]|mystack):damage:4 target(creature;player)])) ueot
auto=this(counter{0/0.5.doom}) transforms((,newability[@movedTo(*[manacost=5]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.5.doom}) transforms((,newability[@movedTo(*[manacost=5]|mystack):damage:5 target(creature;player)])) ueot
auto=this(counter{0/0.6.doom}) transforms((,newability[@movedTo(*[manacost=6]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.6.doom}) transforms((,newability[@movedTo(*[manacost=6]|mystack):damage:6 target(creature;player)])) ueot
auto=this(counter{0/0.7.doom}) transforms((,newability[@movedTo(*[manacost=7]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.7.doom}) transforms((,newability[@movedTo(*[manacost=7]|mystack):damage:7 target(creature;player)])) ueot
auto=this(counter{0/0.8.doom}) transforms((,newability[@movedTo(*[manacost=8]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.8.doom}) transforms((,newability[@movedTo(*[manacost=8]|mystack):damage:8 target(creature;player)])) ueot
auto=this(counter{0/0.9.doom}) transforms((,newability[@movedTo(*[manacost=9]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.9.doom}) transforms((,newability[@movedTo(*[manacost=9]|mystack):damage:9 target(creature;player)])) ueot
auto=this(counter{0/0.10.doom}) transforms((,newability[@movedTo(*[manacost=10]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.10.doom}) transforms((,newability[@movedTo(*[manacost=10]|mystack):damage:10 target(creature;player)])) ueot
auto=this(counter{0/0.11.doom}) transforms((,newability[@movedTo(*[manacost=11]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.11.doom}) transforms((,newability[@movedTo(*[manacost=11]|mystack):damage:11 target(creature;player)])) ueot
auto=this(counter{0/0.12.doom}) transforms((,newability[@movedTo(*[manacost=12]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.12.doom}) transforms((,newability[@movedTo(*[manacost=12]|mystack):damage:12 target(creature;player)])) ueot
auto=this(counter{0/0.13.doom}) transforms((,newability[@movedTo(*[manacost=13]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.13.doom}) transforms((,newability[@movedTo(*[manacost=13]|mystack):damage:13 target(creature;player)])) ueot
auto=this(counter{0/0.14.doom}) transforms((,newability[@movedTo(*[manacost=14]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.14.doom}) transforms((,newability[@movedTo(*[manacost=14]|mystack):damage:14 target(creature;player)])) ueot
auto=this(counter{0/0.15.doom}) transforms((,newability[@movedTo(*[manacost=15]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.15.doom}) transforms((,newability[@movedTo(*[manacost=15]|mystack):damage:15 target(creature;player)])) ueot
auto=this(counter{0/0.16.doom}) transforms((,newability[@movedTo(*[manacost=16]|mystack):counter(0/0.1.doom)]))
auto=this(counter{0/0.16.doom}) transforms((,newability[@movedTo(*[manacost=16]|mystack):damage:16 target(creature;player)])) ueot
text=Imminent Doom enters the battlefield with a doom counter on it. -- Whenever you cast a spell with converted mana cost equal to the number of doom counters on Imminent Doom, Imminent Doom deals that much damage to target creature or player. Then put a doom counter on Imminent Doom.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Immobilizer Eldrazi
abilities=devoid
auto={2}{C}:all(creature|battlefield) transforms((,newability[if compare(toughness)~morethan~compare(power) then cantblock ueot])) ueot
text=Devoid (This card has no color.) -- {2}{C}: Each creature with toughness greater than its power can't block this turn. ({C} represents colorless mana.)
mana={1}{R}
type=Creature
subtype=Eldrazi Drone
power=2
toughness=1
[/card]
[card]
name=Immolating Gyre
auto=damage:type:*[instant;sorcery]:mygraveyard all(creature|opponentBattlefield)
auto=damage:type:*[instant;sorcery]:mygraveyard all(planeswalker|opponentBattlefield)
text=Immolating Gyre deals X damage to each creature and planeswalker you don't control, where X is the number of instant and sorcery cards in your graveyard.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Immolation Shaman
auto={3}{R}{R}:transforms((,newability[3/3],newability[menace])) ueot
auto=@targeted(*|opponentzones) from(*[creature;artifact;land]|opponentzones):damage:1 opponent
auto=@targeted(*|myzones) from(*[creature;artifact;land]|opponentzones):damage:1 opponent
auto=@damagefoeof(player) from(*[creature;artifact;land]|opponentzones):damage:1 opponent
auto=@damageof(player) from(*[creature;artifact;land]|opponentzones):damage:1 opponent
auto=@lifefoeof(player) from(*[creature;artifact;land]|opponentzones):damage:1 opponent
auto=@lifeof(player) from(*[creature;artifact;land]|opponentzones):damage:1 opponent
text=Whenever an opponent activates an ability of an artifact, creature, or land that isn't a mana ability, Immolation Shaman deals 1 damage to that player. -- {3}{R}{R}: Immolation Shaman gets +3/+3 and gains menace until end of turn.
mana={1}{R}
type=Creature
subtype=Viashino Shaman
power=1
toughness=3
[/card]
[card]
name=Immortal Phoenix
abilities=flying
auto=_DIES_all(trigger[to]) moveto(ownerhand)
text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- When Immortal Phoenix dies, return it to its owner's hand.
mana={4}{R}{R}
type=Creature
subtype=Phoenix
power=5
toughness=3
[/card]
[card]
name=Immovable Rod
abilities=doesnotuntap
auto=@each my untap:if cantargetcard(*[tapped]|*) then may name(Untap Immovable Rod) name(Untap Immovable Rod) untap
auto=@untapped(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto={3}{W}{T}:name(Permanent loses abilities) target(other *|battlefield) grant transforms((,newability[loseabilities],newability[cantattack],newability[cantpwattack],newability[cantblock])) grantend
text=You may choose not to untap Immovable Rod during your untap step. -- Whenever Immovable Rod becomes untapped, venture into the dungeon. -- {3}{W}, {T}: For as long as Immovable Rod remains tapped, another target permanent loses all abilities and can't attack or block.
mana={W}
type=Artifact
[/card]
[card]
name=Imoti, Celebrant of Bounty
autostack=if casted(this) then cascade:plibrarycount
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- Spells you cast with converted mana cost 6 or greater have cascade.
mana={3}{G}{U}
type=Legendary Creature
subtype=Naga Druid
power=3
toughness=1
[/card]
[card]
name=Impale
target=creature
auto=destroy
text=Destroy target creature.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Impassioned Orator
auto=@movedto(other creature|mybattlefield):life:1
text=Whenever another creature enters the battlefield under your control, you gain 1 life.
mana={1}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Impending Doom
target=creature
auto=mustattack
auto=3/3
auto=@movedTo(mytgt|graveyard):damage:3 targetController
text=Enchant creature -- Enchanted creature gets +3/+3 and attacks each combat if able. -- When enchanted creature dies, Impending Doom deals 3 damage to that creature's controller.
mana={2}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Imperial Aerosaur
abilities=flying
auto=target(other creature|mybattlefield) flying ueot && 1/1 ueot
text=Flying -- When Imperial Aerosaur enters the battlefield, another target creature you control gets +1/+1 and gains flying until end of turn.
mana={3}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Imperial Ceratops
auto=_ENRAGE_life:2 controller
text=Enrage - Whenever Imperial Ceratops is dealt damage, you gain 2 life.
mana={4}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=5
[/card]
[card]
name=Imperial Lancer
auto=aslongas(dinosaur|mybattlefield) double strike
text=Imperial Lancer has double strike as long as you control a Dinosaur.
mana={W}
type=Creature
subtype=Human Knight
power=1
toughness=1
[/card]
[card]
name=Imperial Outrider
text=
mana={3}{W}
type=Creature
subtype=Human Knight
power=1
toughness=5
[/card]
[card]
name=Imperiosaur
text=Spend only mana produced by basic lands to cast Imperiosaur.
mana={2}{G}{G}
type=Creature
subtype=Lizard
power=5
toughness=5
[/card]
[card]
name=Imperious Oligarch
abilities=vigilance
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)
text=Vigilance -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.)
mana={W}{B}
type=Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Impervious Greatwurm
abilities=indestructible
other={convoke} name(Convoke)
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Indestructible
mana={7}{G}{G}{G}
type=Creature
subtype=Wurm
power=16
toughness=16
[/card]
[card]
name=Impetuous Devils
abilities=trample,haste
auto=_ATTACKING_target(creature|opponentbattlefield) mustblock ueot
text=Trample, haste -- When Impetuous Devils attacks, up to one target creature defending player controls blocks it this combat if able. -- At the beginning of the end step, sacrifice Impetuous Devils.
mana={2}{R}{R}
type=Creature
subtype=Devil
power=6
toughness=1
[/card]
[card]
name=Impetuous Protege
auto=may name(Put partner on your hand) moveto(myhand) target(Proud Mentor|mylibrary)
auto=_ATTACKING_all(this) power:highest:creature[tapped]:opponentbattlefield/0 ueot
text=Partner with Proud Mentor (When this creature enters the battlefield, target player may put Proud Mentor into their hand from their library, then shuffle.) -- Whenever Impetuous Protege attacks, it gets +X/+0 until end of turn, where X is the greatest power among tapped creatures your opponents control.
mana={2}{R}
type=Creature
subtype=Human Warrior
power=0
toughness=4
[/card]
[card]
name=Imposing Vantasaur
abilities=vigilance,cycling
autohand=__CYCLING__({1})
text=Vigilance -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={5}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=6
[/card]
[card]
name=Impostor of the Sixth Pride
abilities=changeling
text=Changeling (This card is every creature type.)
mana={1}{W}
type=Creature
subtype=Shapeshifter
power=3
toughness=1
[/card]
[card]
name=Imprisoned in the Moon
target=*|battlefield
auto=teach(creature) loseabilities
auto=teach(creature) transforms((removetypes,newability[becomes(Land)],newability[{T}:add{1}])) forever
text=Enchant creature, land, or planeswalker -- Enchanted permanent is a colorless land with "{T}: Add {C} to your mana pool" and loses all other card types and abilities.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Improbable Alliance
auto=_SECOND_DRAW_create(Faerie:creature Faerie:1/1:blue:flying)
auto={4}{U}{R}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Whenever you draw your second card each turn, create a 1/1 blue Faerie creature token with flying. -- {4}{U}{R}: Draw a card, then discard a card.
mana={U}{R}
type=Enchantment
[/card]
[card]
name=Improvised Weaponry
target=player,creature,planeswalker
auto=damage:2
auto=name(Create treasure) token(Treasure Sur)
text=Improvised Weaponry deals 2 damage to any target. Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Impulsive Pilferer
auto=_DIES_token(Treasure Sur)
autograveyard={3}{R}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=When Impulsive Pilferer dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Encore {3}{R} ({3}{R}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={R}
type=Creature
subtype=Goblin Pirate
power=1
toughness=1
[/card]
[card]
name=In Bolas's Clutches
target=artifact,creature,enchantment,land,planeswalker
alias=1194
auto=transforms((legendary))
text=Enchant permanent -- You control enchanted permanent. -- Enchanted permanent is legendary.
mana={4}{U}{U}
type=Legendary Enchantment
subtype=Aura
[/card]
[card]
name=In Oketra's Name
auto=all(zombie|mybattlefield) 2/1
auto=all(creature[-zombie]|mybattlefield) 1/1
text=Zombies you control get +2/+1 until end of turn. Other creatures you control get +1/+1 until end of turn.
mana={1}{W}
type=Instant
[/card]
[card]
name=In Search of Greatness
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@each my upkeep restriction{type(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand)~morethan~0}:ability$!name(Choose one) choice name(Cast permanent) target(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand) activate castcard(normal) _ choice name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ controller
auto=@each my upkeep restriction{type(*[-instant;-sorcery;manacost=convertedcost:highest:*:mybattlefieldplus1plusend]|myhand)~equalto~0}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=At the beginning of your upkeep, you may cast a permanent spell from your hand with converted mana cost equal to 1 plus the highest converted mana cost among other permanents you control without paying its mana cost. If you don't, scry 1.
mana={G}{G}
type=Enchantment
[/card]
[card]
name=Inalla, Archmage Ritualist
auto=@movedto(other wizard[-token]|mybattlefield):all(trigger[to]) pay[[{1}]] clone with(unearth,haste)
auto={T(wizard|myBattlefield)}{T(wizard|myBattlefield)}{T(wizard|myBattlefield)}{T(wizard|myBattlefield)}{T(wizard|myBattlefield)}:target(player) life:-7
text=Eminence - Whenever another nontoken Wizard enters the battlefield under your control, if Inalla, Archmage Ritualist is in the command zone or on the battlefield, you may pay {1}. If you do, create a token that's a copy of that Wizard. The token gains haste. Exile it at the beginning of the next end step. -- Tap five untapped Wizards you control: Target player loses 7 life.
mana={2}{U}{B}{R}
type=Legendary Creature
subtype=Human Wizard
power=4
toughness=5
[/card]
[card]
name=Incarnation Technique
other={4}{B} name(Demonstrate)
auto=name(Mill cards and return creature) transforms((,newability[deplete:5 controller],newability[target(creature|mygraveyard) moveto(mybattlefield)])) oneshot
auto=if paid(alternative) then ability$!name(Mill cards and return creature) name(Mill cards and return creature) transforms((,newability[deplete:5 controller],newability[target(creature|mygraveyard) moveto(mybattlefield)])) oneshot!$ controller
auto=if paid(alternative) then ability$!name(Mill cards and return creature) name(Mill cards and return creature) transforms((,newability[deplete:5 controller],newability[target(creature|mygraveyard) moveto(mybattlefield)])) oneshot!$ opponent
text=Demonstrate (When you cast this spell, you may copy it. If you do, choose an opponent to also copy it.) -- Mill five cards, then return a creature card from your graveyard to the battlefield.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Incendiary Command
target=player
auto=choice name(Choose 1 and 2) damage:4 && damage:2 all(creature|battlefield)
auto=choice name(Choose 1 and 3) damage:4 && destroy target(land[-basic])
auto=choice name(Choose 1 and 4) damage:4 && count(type:*:myhand) && all(*|myhand) reject && draw:countedamount controller && count(type:*:opponenthand) && all(*|opponenthand) reject && draw:countedamount opponent
auto=choice name(Choose 2 and 3) damage:2 all(creature|battlefield) && destroy target(land[-basic])
auto=choice name(Choose 2 and 4) damage:2 all(creature|battlefield) && count(type:*:myhand) && all(*|myhand) reject && draw:countedamount controller && count(type:*:opponenthand) && all(*|opponenthand) reject && draw:countedamount opponent
auto=choice name(Choose 3 and 4) destroy target(land[-basic]) && count(type:*:myhand) && all(*|myhand) reject && draw:countedamount controller && count(type:*:opponenthand) && all(*|opponenthand) reject && draw:countedamount opponent
text=Choose two -- Incendiary Command deals 4 damage to target player. -- Incendiary Command deals 2 damage to each creature. -- Destroy target nonbasic land. -- Each player discards all the cards in his or her hand, then draws that many cards.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Incendiary Dissent
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[lord(creature[chosenname]|myBattlefield) {R}:name(Gets 1/0) 1/0 ueot])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Creatures you control with the chosen name have "{R}: This creature gets +1/+0 until end of turn."
type=Conspiracy
[/card]
[card]
name=Incendiary Oracle
auto={1}{R}:1/0 ueot
auto=@damaged(creature) from(this):all(trigger[to]) exiledeath oneshot
text={1}{R}: Incendiary Oracle gets +1/+0 until end of turn. -- If a creature dealt damage by Incendiary Oracle this turn would die, exile it instead.
mana={1}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Incite Rebellion
auto=damage:type:creature:mybattlefield controller && damage:type:creature:mybattlefield all(creature|mybattlefield)
auto=damage:type:creature:opponentbattlefield opponent && damage:type:creature:opponentbattlefield all(creature|opponentbattlefield)
text=For each player, Incite Rebellion deals damage to that player and each creature that player controls equal to the number of creatures he or she controls.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Incoming!
aicode=activate target(<anyamount>*[artifact;creature;enchantment]|mylibrary) moveto(battlefield)
auto=name(reveal cards) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose cards) target(<anyamount>*[artifact;creature;enchantment]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=ability$!moveto(mybattlefield) target(<anyamount>*[artifact;creature;enchantment]|mylibrary)!$ opponent && shuffle opponent
text=Each player searches his or her library for any number of artifacts, creatures, enchantments, and lands and puts those cards into play. Each player shuffles his or her library afterwards.
mana={4}{G}{G}{G}{G}
type=Sorcery
[/card]
[card]
name=Increasing Vengeance
auto=ifnot gravecast then name(copy spell) target(*[instant;sorcery]|mystack) castcard(copied noevent)
auto=if gravecast then name(copy spell twice) target(*[instant;sorcery]|mystack) castcard(copied noevent) && castcard(copied noevent)
flashback={3}{R}{R}
text=Copy target instant or sorcery spell you control. If Increasing Vengeance was cast from a graveyard, copy that spell twice instead. You may choose new targets for the copies. -- Flashback {3}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}{R}
type=Instant
[/card]
[card]
name=Incremental Blight
restriction=type(creature|battlefield)~morethan~2
auto=ability$!name(Add 1 counter) name(Add 1 counter) counter(-1/-1) target(creature|battlefield)!$ controller
auto=ability$!name(Add 2 counters) name(Add 2 counters) counter(-1/-1,2) target(creature|battlefield)!$ controller
auto=ability$!name(Add 3 counters) name(Add 3 counters) counter(-1/-1,3) target(creature|battlefield)!$ controller
text=Put a -1/-1 counter on target creature, two -1/-1 counters on another target creature, and three -1/-1 counters on a third target creature.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Incremental Growth
restriction=type(creature|battlefield)~morethan~2
auto=ability$!name(Add 1 counter) name(Add 1 counter) counter(1/1) target(creature|battlefield)!$ controller
auto=ability$!name(Add 2 counters) name(Add 2 counters) counter(1/1,2) target(creature|battlefield)!$ controller
auto=ability$!name(Add 3 counters) name(Add 3 counters) counter(1/1,3) target(creature|battlefield)!$ controller
text=Put a +1/+1 counter on target creature, two +1/+1 counters on another target creature, and three +1/+1 counters on a third target creature.
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Incubation // Incongruity
abilities=flash
other={1}{G}{U} name(Incongruity)
restriction=myturnonly
aicode=activate moveto(myhand) target(creature[zpos<=5]|mylibrary)
auto=ifnot paid(alternative) then name(Look 5 cards) reveal:5 optionone name(Get a creature) target(<1>creature|reveal) moveto(myhand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=if paid(alternative) then choice name(Exile opponent's creature) name(Exile opponent's creature) target(creature|opponentBattlefield) moveTo(exile) && token(Frog Lizard,Creature Frog Lizard,3/3,green) opponent
auto=if paid(alternative) then choice name(Exile your creature) name(Exile your creature) target(creature|mybattlefield) moveTo(exile) && token(Frog Lizard,Creature Frog Lizard,3/3,green)
text=Look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Exile target creature. That creature's controller creates a 3/3 green Frog Lizard creature token.
mana={GU}
type=Sorcery
[/card]
[card]
name=Incubation Druid
auto=this(variable{plandg}>0) {t}:out{g}
auto=this(variable{plandu}>0) {t}:out{u}
auto=this(variable{plandr}>0) {t}:out{r}
auto=this(variable{plandb}>0) {t}:out{b}
auto=this(variable{plandw}>0) {t}:out{w}
auto=this(variable{plandc}>0) {t}:out{1}
auto=this(counter{1/1}) this(variable{plandG}>0) {t}:out{G}{G}{G}
auto=this(counter{1/1}) this(variable{plandU}>0) {t}:out{U}{U}{U}
auto=this(counter{1/1}) this(variable{plandR}>0) {t}:out{R}{R}{R}
auto=this(counter{1/1}) this(variable{plandB}>0) {t}:out{B}{B}{B}
auto=this(counter{1/1}) this(variable{plandW}>0) {t}:out{W}{W}{W}
auto=this(counter{1/1}) this(variable{plandC}>0) {t}:out{1}{1}{1}
auto={3}{G}{G}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.3)])) forever
text={T}: Add one mana of any type that a land you control could produce. If Incubation Druid has a +1/+1 counter on it, add three mana of that type instead. -- {3}{G}{G}: Adapt 3. (If this creature has no +1/+1 counters on it, put three +1/+1 counters on it.)
mana={1}{G}
type=Creature
subtype=Elf Druid
power=0
toughness=2
[/card]
[card]
name=Indatha Crystal
abilities=cycling
auto={T}:Add{W}
auto={T}:Add{B}
auto={T}:Add{G}
autohand=__CYCLING__({2})
text={T}: Add {W}, {B}, or {G}. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}
type=Artifact
[/card]
[card]
name=Indatha Triome
abilities=cycling
auto=tap(noevent)
autohand=__CYCLING__({3})
text=({T}: Add {W}, {B}, or {G}.) -- Indatha Triome enters the battlefield tapped. -- Cycling {3} ({3}, Discard this card: Draw a card.)
type=Land
subtype=Plains Swamp Forest
[/card]
[card]
name=Indomitable Creativity
target=<prex>*[creature;artifact]|battlefield
auto=transforms((,newability[destroy],newability[reveal:1 revealzone(mylibrary) revealuntil(*[creature;artifact]|mylibrary) optionone choice name(Exile Card) all(*[creature;artifact]|reveal) moveto(myexile) and!( moveto(mybattlefield) )! optiononeend optiontwo choice name(Put back) all(*|reveal) moveto(mylibrary) and!(shuffle)! optiontwoend revealend])) oneshot
text=Destroy X target artifacts and/or creatures. For each permanent destroyed this way, its controller reveals cards from the top of his or her library until an artifact or creature card is revealed and exiles that card. Those players put the exiled cards onto the battlefield, then shuffle their libraries.
mana={X}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Indomitable Might
abilities=flash
target=creature
auto=teach(creature) 3/3
auto=teach(creature) transforms((,newability[@combat(blocked) source(this) turnlimited:may name(assign combat damage to defending player) damage:power opponent && fog from(this)]))
text=Flash -- Enchant creature -- Enchanted creature gets +3/+3. -- Enchanted creature's controller may have it assign combat damage as though it weren't blocked.
mana={3}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Induce Despair
auto=if type(creature[manacost=1]|myHand)~morethan~0 then choice name(Reveal creature with 1 mana cost) target(creature) -1/-1 ueot
auto=if type(creature[manacost=2]|myHand)~morethan~0 then choice name(Reveal creature with 2 mana cost) target(creature) -2/-2 ueot
auto=if type(creature[manacost=3]|myHand)~morethan~0 then choice name(Reveal creature with 3 mana cost) target(creature) -3/-3 ueot
auto=if type(creature[manacost=4]|myHand)~morethan~0 then choice name(Reveal creature with 4 mana cost) target(creature) -4/-4 ueot
auto=if type(creature[manacost=5]|myHand)~morethan~0 then choice name(Reveal creature with 5 mana cost) target(creature) -5/-5 ueot
auto=if type(creature[manacost=6]|myHand)~morethan~0 then choice name(Reveal creature with 6 mana cost) target(creature) -6/-6 ueot
auto=if type(creature[manacost=7]|myHand)~morethan~0 then choice name(Reveal creature with 7 mana cost) target(creature) -7/-7 ueot
auto=if type(creature[manacost=8]|myHand)~morethan~0 then choice name(Reveal creature with 8 mana cost) target(creature) -8/-8 ueot
auto=if type(creature[manacost=9]|myHand)~morethan~0 then choice name(Reveal creature with 9 mana cost) target(creature) -9/-9 ueot
auto=if type(creature[manacost=10]|myHand)~morethan~0 then choice name(Reveal creature with 10 mana cost) target(creature) -10/-10 ueot
auto=if type(creature[manacost=11]|myHand)~morethan~0 then choice name(Reveal creature with 11 mana cost) target(creature) -11/-11 ueot
auto=if type(creature[manacost=12]|myHand)~morethan~0 then choice name(Reveal creature with 12 mana cost) target(creature) -12/-12 ueot
auto=if type(creature[manacost=13]|myHand)~morethan~0 then choice name(Reveal creature with 13 mana cost) target(creature) -13/-13 ueot
auto=if type(creature[manacost=14]|myHand)~morethan~0 then choice name(Reveal creature with 14 mana cost) target(creature) -14/-14 ueot
auto=if type(creature[manacost=15]|myHand)~morethan~0 then choice name(Reveal creature with 15 mana cost) target(creature) -15/-15 ueot
auto=if type(creature[manacost=16]|myHand)~morethan~0 then choice name(Reveal creature with 16 mana cost) target(creature) -16/-16 ueot
auto=if type(creature[manacost=17]|myHand)~morethan~0 then choice name(Reveal creature with 17 mana cost) target(creature) -17/-17 ueot
auto=if type(creature[manacost=18]|myHand)~morethan~0 then choice name(Reveal creature with 18 mana cost) target(creature) -18/-18 ueot
auto=if type(creature[manacost=19]|myHand)~morethan~0 then choice name(Reveal creature with 19 mana cost) target(creature) -19/-19 ueot
auto=if type(creature[manacost=20]|myHand)~morethan~0 then choice name(Reveal creature with 20 mana cost) target(creature) -20/-20 ueot
text=As an additional cost to cast Induce Despair, reveal a creature card from your hand. -- Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost.
mana={2}{B}
type=Instant
[/card]
[card]
name=Induced Amnesia
auto=target(player) exiles all cards from their hand face down, then draws that many cards
text=When Induced Amnesia enters the battlefield, target player exiles all cards from their hand face down, then draws that many cards. -- When Induced Amnesia is put into a graveyard from the battlefield, return the exiled cards to their owner's hand.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Indulgent Tormentor
abilities=flying
auto=@each my upkeep:ability$!choice name(draw 1 opponent) draw:1 opponent _ choice name(pay 2 life) life:-2!$ opponent
text=Flying -- At the beginning of your upkeep, draw a card unless target opponent sacrifices a creature or pays 3 life.
mana={3}{B}{B}
type=Creature
subtype=Demon
power=5
toughness=3
[/card]
[card]
name=Indulging Patrician
abilities=flying,lifelink
auto=@each endofturn restriction{compare(lifegain)~morethan~2}:life:-3 opponent
text=Flying -- Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- At the beginning of your end step, if you gained 3 or more life this turn, each opponent loses 3 life.
mana={1}{W}{B}
type=Creature
subtype=Vampire Noble
power=1
toughness=4
[/card]
[card]
name=Inescapable Blaze
abilities=nofizzle
target=player,creature,planeswalker
auto=damage:6
text=This spell can't be countered. -- Inescapable Blaze deals 6 damage to any target.
mana={4}{R}{R}
type=Instant
[/card]
[card]
name=Inescapable Brute
abilities=wither
auto=_ATTACKING_all(creature|opponentBattlefield) mustblock ueot
text=Wither (This deals damage to creatures in the form of -1/-1 counters.) -- Inescapable Brute must be blocked if able.
mana={5}{R}
type=Creature
subtype=Giant Warrior
power=3
toughness=3
[/card]
[card]
name=Inevitable Betrayal
suspend(3)={1}{U}{U}
auto=name(Search creature) target(creature|opponentlibrary) moveto(myBattlefield) and!( shuffle opponent )!
text=Suspend 3-{1}{U}{U} (Rather than cast this card from your hand, pay {1}{U}{U} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- Search target opponent's library for a creature card and put that card onto the battlefield under your control. Then that player shuffles.
mana={0}
color=blue
restriction=never
type=Sorcery
[/card]
[card]
name=Inevitable End
target=creature
auto=teach(creature) upcost sacrifice
text=Enchant creature -- Enchanted creature has "At the beginning of your upkeep, sacrifice a creature."
mana={2}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Infectious Curse
auto=lord(*[instant;sorcery]|mycastingzone) altercost(colorless, -1)
auto=@each opponent upkeep:life:-1 opponent && life:1 controller
text=Enchant player -- Spells you cast that target enchanted player cost {1} less to cast. -- At the beginning of enchanted player's upkeep, that player loses 1 life and you gain 1 life.
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Infectious Rage
target=creature
auto=@movedto(mytgt|graveyard) from(Battlefield):rehook target(creature)
auto=teach(creature) 2/1
text=Enchant creature -- Enchanted creature gets +2/-1. -- When enchanted creature dies, choose a creature at random Infectious Rage can enchant. Return Infectious Rage to the battlefield attached to that creature.
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Infernal Darkness
auto=cumulativeupcost[{B}{L:1}] sacrifice
auto=all(land|battlefield) loseabilities && all(land|battlefield) losesubtypesof(land) && all(land|battlefield) transforms((swamp)) ueot
auto=@each untap:all(land|battlefield) loseabilities && all(land|battlefield) losesubtypesof(land) && all(land|battlefield) transforms((swamp)) ueot
auto=@movedTo(land|battlefield):all(trigger[to]) loseabilities && all(trigger[to]) losesubtypesof(land) && all(trigger[to]) transforms((swamp)) ueot
text=Cumulative upkeep-Pay {B} and 1 life. (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- If a land is tapped for mana, it produces {B} instead of any other type.
mana={2}{B}{B}
type=Enchantment
[/card]
[card]
name=Infernal Grasp
target=creature
auto=destroy
auto=life:-2 controller
text=Destroy target creature. You lose 2 life.
mana={1}{B}
type=Instant
[/card]
[card]
name=Infernal Harvest
auto=if type(swamp|myBattlefield)~morethan~0 then choice name(Move 1 Swamp) name(Move 1 Swamp) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~1 then choice name(Move 2 Swamps) name(Move 2 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<2>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~2 then choice name(Move 3 Swamps) name(Move 3 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<3>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~3 then choice name(Move 4 Swamps) name(Move 4 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<4>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~4 then choice name(Move 5 Swamps) name(Move 5 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<5>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~5 then choice name(Move 6 Swamps) name(Move 6 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<6>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~6 then choice name(Move 7 Swamps) name(Move 7 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<7>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~7 then choice name(Move 8 Swamps) name(Move 8 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<8>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~8 then choice name(Move 9 Swamps) name(Move 9 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<9>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~9 then choice name(Move 10 Swamps) name(Move 10 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<10>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~10 then choice name(Move 11 Swamps) name(Move 11 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<11>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~11 then choice name(Move 12 Swamps) name(Move 12 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<12>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~12 then choice name(Move 13 Swamps) name(Move 13 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<13>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~13 then choice name(Move 14 Swamps) name(Move 14 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<14>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~14 then choice name(Move 15 Swamps) name(Move 15 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<15>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~15 then choice name(Move 16 Swamps) name(Move 16 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<16>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~16 then choice name(Move 17 Swamps) name(Move 17 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<17>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~17 then choice name(Move 18 Swamps) name(Move 18 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<18>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 19 Swamps) name(Move 19 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller &&& moveto(ownerhand) target(<19>swamp|myBattlefield)
auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 20 Swamps) name(Move 20 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<20>swamp|myBattlefield)
text=As an additional cost to cast Infernal Harvest, return X Swamps you control to their owner's hand. -- Infernal Harvest deals X damage divided as you choose among any number of target creatures.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Infernal Offering
auto=ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && draw:2 controller
auto=ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent && draw:2 opponent
auto=ability$!moveto(mybattlefield) notatarget(creature|mygraveyard)!$ controller
auto=ability$!moveto(mybattlefield) notatarget(creature|mygraveyard)!$ opponent
text=Choose an opponent. You and that player each sacrifice a creature. Each player who sacrificed a creature this way draws two cards. -- Choose an opponent. Return a creature card from your graveyard to the battlefield, then that player returns a creature card from his or her graveyard to the battlefield.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Infernal Pet
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:transforms((,newability[counter(1/1)],newability[flying])) ueot
text=Whenever you cast your second spell each turn, put a +1/+1 counter on Infernal Pet and it gains flying until end of turn.
mana={2}{B}
type=Creature
subtype=Imp
power=2
toughness=2
[/card]
[card]
name=Infernal Reckoning
target=creature(colorless)
auto=moveto(exile) && life:storedpower
text=Exile target colorless creature. You gain life equal to its power.
mana={B}
type=Instant
[/card]
[card]
name=Inferno Hellion
abilities=trample
auto=_ATTACKING_phaseaction[endofturn once] moveTo(ownerlibrary) and!(shuffle)!
auto=@combat(blocking) source(this):phaseaction[endofturn once] moveTo(ownerlibrary) and!(shuffle)!
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- At the beginning of each end step, if Inferno Hellion attacked or blocked this turn, its owner shuffles it into their library.
mana={3}{R}
type=Creature
subtype=Hellion
power=7
toughness=3
[/card]
[card]
name=Inferno Jet
abilities=cycling
target=opponent
auto=damage:6
autohand=__CYCLING__({2})
text=Inferno Jet deals 6 damage to target opponent. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={5}{R}
type=Sorcery
[/card]
[card]
name=Inferno Project
abilities=trample
auto=counter(1/1,pgmanainstantsorcery)
text=Trample -- Inferno Project enters the battlefield with X +1/+1 counters on it, where X is the total mana value of instant and sorcery cards in your graveyard.
mana={6}{R}
type=Creature
subtype=Elemental
power=0
toughness=0
[/card]
[card]
name=Inferno Titan
auto={R}:1/0 ueot
auto=thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
auto=_ATTACKING_thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
text={R}: Inferno Titan gets +1/+0 until end of turn. -- Whenever Inferno Titan enters the battlefield or attacks, it deals 3 damage divided as you choose among one, two, or three targets.
mana={4}{R}{R}
type=Creature
subtype=Giant
power=6
toughness=6
[/card]
[card]
name=Inferno Trap
target=creature
other={R} name(Pay R)
otherrestriction=type(creature[attacking]|opponentBattlefield)~morethan~1,compare(lifelost)~morethan~1
auto=damage:4
text=If you've been dealt damage by two or more creatures this turn, you may pay {R} rather than pay Inferno Trap's mana cost. -- Inferno Trap deals 4 damage to target creature.
mana={3}{R}
type=Instant
subtype=Trap
[/card]
[card]
name=Inferno of the Star Mounts
abilities=flying,haste,nofizzle
auto=this(power<=18) {R}:1/0 ueot
auto=this(power=19) {R}:transforms((,newability[damage:20 target(player^creature^planeswalker)],newability[1/0])) ueot
auto=this(power>=20) {R}:1/0 ueot
text=This spell can't be countered. -- Flying, haste -- {R}: Inferno of the Star Mounts gets +1/+0 until end of turn. When its power becomes 20 this way, it deals 20 damage to any target.
mana={4}{R}{R}
type=Legendary Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Infinite Hourglass
auto=@each my upkeep:counter(0/0,1,Time) all(this)
auto={3}:counter(0/0,-1,Time) myupkeeponly
auto={3}:counter(0/0,-1,Time) opponentupkeeponly
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 3) pay[[{3}]] name(Pay 3) counter(0/0.-1.Time) notatarget(Infinite Hourglass|opponentBattlefield)ueot?donothing!$ opponent])) forever myupkeeponly
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 3) pay[[{3}]] name(Pay 3) counter(0/0.-1.Time) notatarget(Infinite Hourglass|opponentBattlefield)ueot?donothing!$ opponent])) forever opponentupkeeponly
auto=thisforeach(counter{0/0.1.Time}>0) lord(creature|battlefield) 1/0
text=At the beginning of your upkeep, put a time counter on Infinite Hourglass. -- All creatures get +1/+0 for each time counter on Infinite Hourglass. -- {3}: Remove a time counter from Infinite Hourglass. Any player may activate this ability but only during any upkeep step.
mana={4}
type=Artifact
[/card]
[card]
name=Infinite Obliteration
auto=chooseanameopp name(Search that cards) target(<anyamount>creature[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( shuffle opponent )! chooseend nonland
text=Name a creature card. Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles his or her library.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Infinity Elemental
text=(This creature has INFINITE POWER.)
mana={4}{R}{R}{R}
type=Creature
subtype=Elemental
power=999999
toughness=5
[/card]
[card]
name=Infuriate
auto=3/2 target(creature) ueot
text=Target creature gets +3/+2 until end of turn.
mana={R}
type=Instant
[/card]
[card]
name=Infuse with Vitality
target=creature
auto=transforms((,newability[deathtouch],newability[inplaytapdeath])) ueot
auto=life:2 controller
text=Until end of turn, target creature gains deathtouch and "When this creature dies, return it to the battlefield tapped under its owner's control." -- You gain 2 life.
mana={B}{G}
type=Instant
[/card]
[card]
name=Inga Rune-Eyes
aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend
auto=@movedto(creature|graveyard) from(battlefield):counter(0/0,1,IngaEffect)
auto=_DIES_this(counter{0/0.1.IngaEffect}>=3) draw:3 controller
auto=@each endofturn:this(counter{0/0.1.IngaEffect}>=1) removeallcounters(0/0,1,IngaEffect)
text=When Inga Rune-Eyes enters the battlefield, scry 3. -- When Inga Rune-Eyes dies, draw three cards if three or more creatures died this turn.
mana={3}{U}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Ingenious Infiltrator
autohand={U}{B}{N}:ninjutsu
auto=@combatdamaged(player) from(creature[ninja]|myBattlefield):draw:1
text=Ninjutsu {U}{B} -- ({U}{B}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever a Ninja you control deals combat damage to a player, draw a card.
mana={2}{U}{B}
type=Creature
subtype=Vedalken Ninja
power=2
toughness=3
[/card]
[card]
name=Ingenious Mastery
other={2}{U} name(Cast without X)
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=if paid(alternative) then draw:3 controller
auto=if paid(alternative) then token(Treasure Sur)*2 opponent
auto=if paid(alternative) then ability$!name(Scry 2) name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend!$ opponent
auto=ifnot paid(alternative) then draw:x controller 
text=You may pay {2}{U} rather than pay this spell's mana cost. -- If the {2}{U} cost was paid, you draw three cards, then an opponent creates two Treasure tokens and they scry 2. If that cost wasn't paid, you draw X cards.
mana={X}{2}{U}
type=Sorcery
[/card]
[card]
name=Ingenious Smith
aicode=activate target(artifact[zpos<=4]|mylibrary) moveto(myhand) and!( transforms((,newability[all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )!
auto=name(look) reveal:4 optionone name(Get an artifact) target(<upto:1>artifact|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary)! optiontwoend revealend
auto=@movedto(artifact|myBattlefield) turnlimited:name(Put 1/1 counter) counter(1/1)
text=When Ingenious Smith enters the battlefield, look at the top four cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Whenever one or more artifacts enter the battlefield under your control, put a +1/+1 counter on Ingenious Smith. This ability triggers only once each turn.
mana={1}{W}
type=Creature
subtype=Human Artificer
power=1
toughness=1
[/card]
[card]
name=Ingenuity Engine
autostack=if casted(this) then cascade:plibrarycount
auto={1}{T}{S(artifact|mybattlefield)}:moveto(ownerhand) target(artifact|mybattlefield)
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- {1} , {T}, Sacrifice an artifact: Return target artifact you control to its owner's hand.
mana={7}
type=Artifact
[/card]
[card]
name=Inherited Fiend
abilities=flying
backside=Heirloom Mirror
auto={2}{B}:name(Exile a creature) target(creature|graveyard) moveto(exile) && all(this) counter(1/1)
text=Flying -- {2}{B}: Exile target creature card from a graveyard. Put a +1/+1 counter on Inherited Fiend. // Heirloom Mirror
type=Creature
subtype=Demon
color=black
power=4
toughness=4
[/card]
[card]
name=Inhumaniac
auto=@each my upkeep:rolld6 6 winability donothing winabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):all(this) removeallcounters(1/1) myupkeeponly
auto=@dierolled(this) result(3) from(controller):all(this) counter(1/1,1) myupkeeponly
auto=@dierolled(this) result(4) from(controller):all(this) counter(1/1,1) myupkeeponly
auto=@dierolled(this) result(5) from(controller):all(this) counter(1/1,2) myupkeeponly
auto=@dierolled(this) result(6) from(controller):all(this) counter(1/1,2) myupkeeponly
text=At the beginning of your upkeep, roll a six-sided die. On a 3 or 4, put a +1/+1 counter on Inhumaniac. On a 5 or higher, put two +1/+1 counters on it. On a 1, remove all +1/+1 counters from Inhumaniac.
mana={1}{B}
type=Creature
subtype=Brainiac
power=1
toughness=1
[/card]
[card]
name=Initiate of Blood
auto={T}:name(damage my creature) target(creature[damaged]|mybattlefield) transforms((,newability[damage:1 all(this)],newability[_DIES_notatarget(Initiate of Blood|mybattlefield) flip(Goka the Unjust)])) ueot
auto={T}:name(damage opponent's creature) target(creature[damaged]|opponentbattlefield) transforms((,newability[damage:1 all(this)],newability[_DIES_notatarget(Initiate of Blood|opponentbattlefield) flip(Goka the Unjust)])) ueot
text={T}: Initiate of Blood deals 1 damage to target creature that was dealt damage this turn. When that creature dies this turn, flip Initiate of Blood.
mana={3}{R}
type=Creature
subtype=Ogre Shaman
power=2
toughness=2
[/card]
[card]
name=Initiate's Companion
auto=@combatdamaged(player) from(this):untap target(creature,land)
text=Whenever Initiate's Companion deals combat damage to a player, untap target creature or land.
mana={1}{G}
type=Creature
subtype=Cat
power=3
toughness=1
[/card]
[card]
name=Inkling Summoning
auto=token(Inkling,Creature Inkling,2/1,white,black,flying)
text=Create a 2/1 white and black Inkling creature token with flying.
mana={1}{WB}{WB}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Inner Demon
target=creature
auto=teach(creature) +2/+2
auto=teach(creature) flying 
auto=transforms((Demon))
auto=all(creature[-Demon]) -2/-2 
text=Enchant creature -- Enchanted creature gets +2/+2, has flying, and is a Demon in addition to its other types. -- When Inner Demon enters the battlefield, all non-Demon creatures get -2/-2 until end of turn.
mana={2}{B}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Inniaz, the Gale Force
abilities=flying
auto={2}{WU}:all(creature[attacking]) flying ueot && 1/1 ueot
auto=@each my blockers restriction{type(creature[attacking;flying]|myBattlefield)~morethan~2}:moveto(myBattlefield) target(*[-land]|opponentbattlefield)
auto=@each my blockers restriction{type(creature[attacking;flying]|myBattlefield)~morethan~2}:ability$!moveto(myBattlefield) notatarget(*[-land]|opponentbattlefield)!$ opponent
text=Flying -- {2}{W} or {U}: Attacking creatures with flying get +1/+1 until end of turn. ( {W} or {U} can be paid with either {W} or {U}.) -- Whenever three or more creatures you control with flying attack, each player gains control of a nonland permanent of your choice controlled by the player to their right.
mana={3}{U}{U}
type=Legendary Creature
subtype=Djinn
power=4
toughness=4
[/card]
[card]
name=Inordinate Rage
target=creature
auto=3/2 ueot
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Target creature gets +3/+2 until end of turn. Scry 1.
mana={1}{R}
type=Instant
[/card]
[card]
name=Inquisitive Puppet
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={E}:create(Human:creature Human:1/1:white)
text=When Inquisitive Puppet enters the battlefield, scry 1. -- Exile Inquisitive Puppet: Create a 1/1 white Human creature token.
mana={1}
type=Artifact Creature
subtype=Construct
power=0
toughness=2
[/card]
[card]
name=Inquisitor's Flail
auto={2}:equip
auto=@combatdamageof(player) from(mytgt):damage:thatmuch controller
auto=@combatdamagefoeof(player) from(mytgt):damage:thatmuch opponent
auto=@combatdamaged(creature) from(mytgt):all(trigger[to]) damage:thatmuch
auto=teach(creature) transforms((,newability[@combatdamaged(this):damage:thatmuch all(this)]))
text=If equipped creature would deal combat damage, it deals double that damage instead. -- If another creature would deal combat damage to equipped creature, it deals double that damage to equipped creature instead. -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Insatiable Appetite
target=creature
other={1}{G}{S(food|myBattlefield)} name(Sacrifice Food)
auto=if paid(alternative) then 5/5 ueot
auto=ifnot paid(alternative) then 3/3 ueot
text=You may sacrifice a Food. If you do, target creature gets +5/+5 until end of turn. Otherwise, that creature gets +3/+3 until end of turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Insatiable Hemophage
abilities=deathtouch,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{B} name(Mutate)
auto=transforms((,newability[@mutated(this):name(Life and damage) thisforeach(mutations) life:1 controller && life:-1 opponent]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Deathtouch -- Whenever this creature mutates, each opponent loses X life and you gain X life, where X is the number of times this creature has mutated.
mana={3}{B}
type=Creature
subtype=Nightmare
power=3
toughness=3
[/card]
[card]
name=Inscription of Abundance
kicker={2}{G}
auto=if paid(kicker) then ability$!name(Target creature fights) may name(Target creature fights) target(creature|myBattlefield) transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) ueot!$ controller
auto=if paid(kicker) then ability$!name(Gain life equal to power) may name(Gain life equal to power) target(player) life:power:highest:*:targetedpersonsbattlefield!$ controller
auto=if paid(kicker) then ability$!name(Put two +1/+1 counters) may name(Put two +1/+1 counters) counter(1/1,2) target(creature)!$ controller
auto=ifnot paid(kicker) then choice name(Put two +1/+1 counters) name(Put two +1/+1 counters) counter(1/1,2) target(creature)
auto=ifnot paid(kicker) then choice name(Gain life equal to power) name(Gain life equal to power) target(player) life:power:highest:*:targetedpersonsbattlefield
auto=ifnot paid(kicker) then choice name(Target creature fights) name(Target creature fights) target(creature|myBattlefield) transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Kicker {2}{G} -- Choose one. If Inscription of Abundance is kicked, choose any number instead. -- Put two +1/+1 counters on target creature. -- Target player gain X life, where X is the greatest power among creatures they control. -- Target creature you control fights target creature you don't control.
mana={1}{G}
type=Instant
[/card]
[card]
name=Inscription of Insight
kicker={2}{U}{U}
aicode=activate transforms((,newability[draw:2 controller])) oneshot
auto=if paid(kicker) then ability$!name(Scry 2 and draw) may name(Scry 2 and draw) scry:2 scrycore delayed draw:2 controller scrycoreend scryend!$ controller
auto=if paid(kicker) then ability$!name(Choose one) choice name(Return 1 creature) target(creature|battlefield) moveto(ownerhand) _ choice name(Return 2 creatures) target(<upto:2>creature|battlefield) moveto(ownerhand) _ choice name(Don't return any creature) donothing!$ controller
auto=if paid(kicker) then ability$!name(Choose one) choice name(You create an X/X illusion) token(Illusion,Creature Illusion,phandcount/phandcount,blue) _ choice name(Opponent creates an X/X illusion) token(Illusion,Creature Illusion,ohandcount/ohandcount,blue) opponent _ choice name(Don't creates illusion) donothing!$ controller
auto=ifnot paid(kicker) then choice name(Return 1 creature to owner hand) name(Return 1 creature to owner hand) moveTo(ownerHand) target(creature|battlefield)
auto=ifnot paid(kicker) then choice name(Return 2 creatures to owner hand) name(Return 2 creatures to owner hand) moveTo(ownerHand) target(<2>creature|battlefield)
auto=ifnot paid(kicker) then choice name(Scry 2 and draw) name(Scry 2 and draw) scry:2 scrycore delayed draw:2 controller scrycoreend scryend
auto=ifnot paid(kicker) then choice name(You create an X/X illusion) name(You create an X/X illusion) token(Illusion,Creature Illusion,phandcount/phandcount,blue)
auto=ifnot paid(kicker) then choice name(Opponent creates an X/X illusion) name(Opponent creates an X/X illusion) token(Illusion,Creature Illusion,ohandcount/ohandcount,blue) opponent
text=Kicker {2}{U}{U} -- Choose one. If this spell was kicked, choose any number instead. -- Return up to two target creatures to their owners' hands. -- Scry 2, then draw two cards. -- Target player creates an X/X blue Illusion creature token, where X is the number of cards in their hand.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Inscription of Ruin
kicker={2}{B}{B}
auto=if paid(kicker) then ability$!name(Opponent discards 2 cards) may name(Opponent discards 2 cards) notatarget(<2>*|myhand) reject!$ opponent
auto=if paid(kicker) then ability$!name(Return a creature with mana cost 2 or less) may name(Return a creature with mana cost 2 or less) moveTo(mybattlefield) target(creature[manacost<=2]|myGraveyard)!$ controller
auto=if paid(kicker) then ability$!name(Destroy target creature with mana cost 3 or less) may name(Destroy target creature with mana cost 3 or less) destroy target(creature[manacost<=3])!$ controller
auto=ifnot paid(kicker) then choice name(Opponent discards 2 cards) name(Opponent discards 2 cards) ability$!name(Opponent discards 2 cards) notatarget(<2>*|myhand) reject!$ opponent
auto=ifnot paid(kicker) then choice name(Return a creature with mana cost 2 or less) name(Return a creature with mana cost 2 or less) moveTo(mybattlefield) target(creature[manacost<=2]|myGraveyard)
auto=ifnot paid(kicker) then choice name(Destroy target creature with mana cost 3 or less) name(Destroy target creature with mana cost 3 or less) destroy target(creature[manacost<=3])
text=Kicker {2}{B}{B} -- Choose one. If this spell was kicked, choose any number instead. -- Target opponent discards two cards. -- Return target creature card with converted mana cost 2 or less from your graveyard to the battlefield. -- Destroy target creature with converted mana cost 3 or less.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Insect Hor
abilities=flying,deathtouch
type=Creature
subtype=Insect
power=1
toughness=1
color=green
[/card]
[card]
name=Insidious Dreams
aicode=activate moveTo(myLibrary) target(<anyamount>*|myLibrary)
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && name(search 1 card) reveal:plibrarycount optionone name(choose 1 card) target(<1>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && name(search 2 card) reveal:plibrarycount optionone name(choose 2 card) target(<2>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && name(search 3 card) reveal:plibrarycount optionone name(choose 3 card) target(<3>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && name(search 4 card) reveal:plibrarycount optionone name(choose 4 card) target(<4>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && name(search 5 card) reveal:plibrarycount optionone name(choose 5 card) target(<5>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && name(search 6 card) reveal:plibrarycount optionone name(choose 6 card) target(<6>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && name(search 7 card) reveal:plibrarycount optionone name(choose 7 card) target(<7>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && name(search 8 card) reveal:plibrarycount optionone name(choose 8 card) target(<8>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && name(search 9 card) reveal:plibrarycount optionone name(choose 9 card) target(<9>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && name(search 10 card) reveal:plibrarycount optionone name(choose 10 card) target(<10>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && name(search 11 card) reveal:plibrarycount optionone name(choose 11 card) target(<11>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && name(search 12 card) reveal:plibrarycount optionone name(choose 12 card) target(<12>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && name(search 13 card) reveal:plibrarycount optionone name(choose 13 card) target(<13>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && name(search 14 card) reveal:plibrarycount optionone name(choose 14 card) target(<14>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && name(search 15 card) reveal:plibrarycount optionone name(choose 15 card) target(<15>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && name(search 16 card) reveal:plibrarycount optionone name(choose 16 card) target(<16>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && name(search 17 card) reveal:plibrarycount optionone name(choose 17 card) target(<17>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && name(search 18 card) reveal:plibrarycount optionone name(choose 18 card) target(<18>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && name(search 19 card) reveal:plibrarycount optionone name(choose 19 card) target(<19>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && name(search 20 card) reveal:plibrarycount optionone name(choose 20 card) target(<20>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend
text=As an additional cost to cast Insidious Dreams, discard X cards. -- Search your library for X cards. Then shuffle your library and put those cards on top of it in any order.
mana={3}{B}
type=Instant
[/card]
[card]
name=Insidious Will
auto=choice name(Counter) target(*[-creature;-artifact;-enchantment;-planeswalker]|stack) fizzle
auto=choice name(Change target) target(*|stack) fizzle && castcard(copied noevent)
auto=choice name(Copy spell) target(*[instant;sorcery]|stack) castcard(copied noevent)
text=Choose one -- Counter target spell. -- You may choose new targets for target spell. -- Copy target instant or sorcery spell. You may choose new targets for the copy.
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Insist
auto=draw:1 controller
auto=emblem transforms((,newability[@movedto(creature|mystack) turnlimited:all(trigger[to]) transforms((,newability[nofizzle])) oneshot])) ueot
text=The next creature spell you cast this turn can't be countered by spells or abilities. -- Draw a card.
mana={G}
type=Sorcery
[/card]
[card]
name=Inspire Awe
auto=preventallcombatdamage from(creature[-enchantment;-enchanted]|battlefield) ueot
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Prevent all combat damage that would be dealt this turn except by enchanted creatures and enchantment creatures. Scry 2.
mana={3}{G}
type=Instant
[/card]
[card]
name=Inspired Sphinx
abilities=flying
auto=if (this[attacking]|mybattlefield)~morethan~0 then draw:1
auto={3}{U}:token(Thopter,artifact creature Thopter,1/1,artifact,flying)
text=Flying -- When Inspired Sphinx enters the battlefield, draw cards equal to the number of opponents you have. -- {3}{U}: Create a 1/1 colorless Thopter artifact creature token with flying.
mana={5}{U}{U}
type=Creature
subtype=Sphinx
power=5
toughness=5
[/card]
[card]
name=Inspired Ultimatum
target=player,creature,planeswalker
auto=damage: 5
auto=life: 5 target(player)
auto=draw: 5 controller
text=Target player gains 5 life, Inspired Ultimatum deals 5 damage to any target, then you draw five cards.
mana={U}{U}{R}{R}{R}{W}{W}
type=Sorcery
[/card]
[card]
name=Inspiring Bard
auto=choice name(Creature gets 2/2) target(creature) transforms((,newability[2/2])) ueot
auto=choice name(Gain 3 life) life:3 controller
text=When Inspiring Bard enters the battlefield, Choose one -- Bardic Inspiration - Target creature gets +2/+2 until end of turn. -- Song of Rest - You gain 3 life.
mana={3}{G}
type=Creature
subtype=Elf Bard
power=3
toughness=3
[/card]
[card]
name=Inspiring Cleric
auto=life:4 controller
text=When Inspiring Cleric enters the battlefield, you gain 4 life.
mana={2}{W}
type=Creature
subtype=Vampire Cleric
power=3
toughness=2
[/card]
[card]
name=Inspiring Commander
auto=@movedto(other creature[power<2]|mybattlefield):all(trigger[to]) life:1 controller && draw:1 controller
text=Whenever another creature with power 2 or less enters the battlefield under your control, you gain 1 life and draw a card.
mana={4}{W}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=4
[/card]
[card]
name=Inspiring Refrain
abilities=exiledeath
other={2}{U} name(Suspend 3)
auto=ifnot paid(alternative) then draw:2 controller
auto=moveto(myexile) and!( counter(0/0,3,Time) )!
autoexile=@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0,-1,Time)
autoexile=@each my upkeep restriction{compare(hascnttime)~equalto~1}:activate castcard(normal)
text=Draw two cards. Exile Inspiring Refrain with three time counters on it. -- Suspend 3-{2}{U} (Rather than cast this card from your hand, you may pay {2}{U} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Inspiring Unicorn
auto=_ATTACKING_all(creature|myBattlefield) 1/1 ueot
text=Whenever Inspiring Unicorn attacks, creatures you control get +1/+1 until end of turn.
mana={2}{W}{W}
type=Creature
subtype=Unicorn
power=2
toughness=2
[/card]
[card]
name=Inspiring Veteran
auto=lord(other creature[knight]|mybattlefield) 1/1
text=Other Knights you control get +1/+1.
mana={R}{W}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Instill Furor
auto=teach(creature) transforms((,newability[@each my endofturn:while(restriction{didntattack}) sacrifice])) forever
text=Enchant creature -- Enchanted creature has "At the beginning of your end step, sacrifice this creature unless it attacked this turn."
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Instrument of the Bards
auto=@each my upkeep:may name(Put harmony counter) counter(0/0,1,Harmony)
auto={3}{G}{T}:name(Search creature) transforms((,newability[target(creature[manacost<=hascntharmony]|mylibrary) moveTo(myhand) and!( if cantargetcard(*[legendary]|*) then token(Treasure Sur) )!])) oneshot
text=At the beginning of your upkeep, you may put a harmony counter on Instrument of the Bards. -- {3}{G}, {T}: Search your library for a creature card with mana value equal to the number of harmony counters on Instrument of the Bards, reveal it, and put it into your hand. If that card is legendary, create a Treasure token. Then shuffle.
mana={G}
type=Legendary Artifact
[/card]
[card]
name=Insubordination
auto=teach(creature) transforms((,newability[@each my endofturn:while(restriction{didntattack}) damage:2 controller])) forever
text=Enchant creature -- At the beginning of the end step of enchanted creature's controller, Insubordination deals 2 damage to that player unless that creature attacked this turn.
mana={B}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Insult // Injury
auto=emblem transforms((,newability[@damaged(creature) from(*[creature;artifact;enchantment;land;planeswalker]|mybattlefield):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@damaged(creature) from(*[creature;artifact;enchantment;land;planeswalker]|mygraveyard):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@damaged(creature) from(*[instant;sorcery]|myStack):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@damaged(creature) from(*[instant;sorcery]|mygraveyard):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@damaged(player) from(*[instant;sorcery]|myStack):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@damaged(player) from(*[instant;sorcery]|mygraveyard):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@damaged(player) from(*[creature;artifact;enchantment;land;planeswalker]|mybattlefield):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@damaged(player) from(*[creature;artifact;enchantment;land;planeswalker]|mygraveyard):damage:thatmuch all(trigger[to])])) ueot
auto=emblem transforms((,newability[@counterremoved(duplicateAll) from(planeswalker|opponentBattlefield) restriction{myTurnOnly}:donothing])) ueot
autograveyard={2}{R}{E}:name(Damage yourself and target creature) damage:2 controller && damage:2 target(creature) restriction{type(creature|battlefield)~morethan~0,myTurnOnly} asSorcery
autograveyard={2}{R}{E}:name(Damage opponent and target creature) damage:2 opponent && damage:2 target(creature) restriction{type(creature|battlefield)~morethan~0,myTurnOnly} asSorcery
text=Damage can't be prevented this turn. If a source you control would deal damage this turn, it deals double that damage instead. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Injury deals 2 damage to target creature and 2 damage to target player.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Integrity // Intervention
other={2}{R}{W} name(Intervention)
auto=ifnot paid(alternative) then target(creature) 2/2 ueot 
auto=if paid(alternative) then life:3 controller
auto=if paid(alternative) then damage:3 target(player,creature,planeswalker)
text=Target creature gets +2/+2 until end of turn. -- Intervention deals 3 damage to any target and you gain 3 life.
mana={RW}
type=Instant
[/card]
[card]
name=Intellectual Offering
auto=draw:3 all(player)
auto=untap all(*[-land])
text=Choose an opponent. You and that player each draw three cards. -- Choose an opponent. Untap all nonland permanents you control and all nonland permanents that player controls.
mana={4}{U}
type=Instant
[/card]
[card]
name=Interplanar Beacon
auto=@movedTo(planeswalker|mystack):life:1
auto={T}:Add{C}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{W}{U}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{W}{B}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{W}{R}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{W}{G}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{U}{B}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{U}{R}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{U}{G}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{B}{R}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{B}{G}
auto=this(variable{type:planeswalker:myrestrictedcastingzone}>0) {1}{T}:add{R}{G}
text=Whenever you cast a planeswalker spell, you gain 1 life. -- {T}: Add {C}. -- {1}, {T}: Add two mana of different colors. Spend this mana only to cast planeswalker spells.
type=Land
[/card]
[card]
name=Intervene
target=*[-creature;-artifact;-enchantment;-planeswalker]|stack
restriction=type(creature|Battlefield)~morethan~0
auto=fizzle
text=Counter target spell that targets a creature.
mana={U}
type=Instant
[/card]
[card]
name=Intet, the Dreamer
abilities=flying
auto=@combatdamageof(player) from(this):pay({2}{U}) all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0,1,IntetExiled) )!
auto=@combatdamagefoeof(player) from(this):pay({2}{U}) all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0,1,IntetExiled) )!
auto={0}:name(Cast card from exile) name(Cast card from exile) target(*[counter{0/0.1.IntetExiled}]|myexile) activate castcard(normal)
auto=@movedto(this|nonbattlezone) from(mybattlefield):all(*[counter{0/0.1.IntetExiled}]|myexile) counter(0/0,-1,IntetExiled)
text=Flying -- Whenever Intet, the Dreamer deals combat damage to a player, you may pay {2}{U}. If you do, exile the top card of your library face down. You may look at that card for as long as it remains exiled. You may play that card without paying its mana cost for as long as Intet remains on the battlefield.
mana={3}{U}{R}{G}
type=Legendary Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Into the Story
auto=aslongas(*|opponentgraveyard) altercost(colorless,-3) >6
auto=draw:4 controller
text=This spell costs {3} less to cast if an opponent has seven or more cards in their graveyard. -- Draw four cards.
mana={5}{U}{U}
type=Instant
[/card]
[card]
name=Into the Wilds
auto=@each my upkeep:reveal:1 optionone if type(land|reveal)~morethan~0 then target(<1>*|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend
text=At the beginning of your upkeep, look at the top card of your library. If it's a land card, you may put it onto the battlefield.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Intrepid Adversary
abilities=lifelink
auto=choice name(Don't add any counter) donothing
auto=choice name(Add 1 counter) thisforeach(variable{1}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 2 counters) thisforeach(variable{2}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 3 counters) thisforeach(variable{3}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 4 counters) thisforeach(variable{4}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 5 counters) thisforeach(variable{5}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 6 counters) thisforeach(variable{6}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 7 counters) thisforeach(variable{7}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 8 counters) thisforeach(variable{8}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 9 counters) thisforeach(variable{9}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 10 counters) thisforeach(variable{10}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 11 counters) thisforeach(variable{11}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 12 counters) thisforeach(variable{12}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 13 counters) thisforeach(variable{13}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 14 counters) thisforeach(variable{14}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 15 counters) thisforeach(variable{15}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 16 counters) thisforeach(variable{16}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 17 counters) thisforeach(variable{17}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 18 counters) thisforeach(variable{18}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 19 counters) thisforeach(variable{19}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=choice name(Add 20 counters) thisforeach(variable{20}) ability$!may name(Pay to add counter) pay({1}{W}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(0/0.1.Valor)])) oneshot!$ controller
auto=thisforeach(counter{0/0.1.Valor}>0) lord(creature|myBattlefield) 1/1
text=Lifelink -- When Intrepid Adversary enters the battlefield, you may pay {1}{W} any number of times. When you pay this cost once or more times, put that many valor counters on Intrepid Adversary. -- Creatures you control get +1/+1 for each valor counter on Intrepid Adversary.
mana={1}{W}
type=Creature
subtype=Human Scout
power=3
toughness=1
[/card]
[card]
name=Intrepid Outlander
abilities=reach
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5,compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Reach -- Pack tactics - Whenever Intrepid Outlander attacks, if you attacked with creatures with total power 6 or greater this combat, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={1}{G}
type=Creature
subtype=Orc Ranger
power=2
toughness=3
[/card]
[card]
name=Introduction to Annihilation
target=*[-land]|battlefield
auto=moveto(exile) and!( transforms((,newability[draw:1 controller])) oneshot )!
text=Exile target nonland permanent. Its controller draws a card.
mana={5}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Introduction to Prophecy
aicode=activate transforms((,newability[draw:1 controller])) oneshot
auto=scry:2 scrycore delayed draw:1 controller scrycoreend scryend
text=Scry 2, then draw a card.
mana={3}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Intrusive Packbeast
abilities=vigilance
auto=tap <upto:2>target(creature|opponentBattlefield)
text=Vigilance -- When Intrusive Packbeast enters the battlefield, tap up to two target creatures your opponents control.
mana={4}{W}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Intuition
auto=target(*|mylibrary) moveto(myhand)
auto=ability$!name(Put in graveyard) name(Put in graveyard) target(<2>*|opponentlibrary) moveto(opponentgraveyard)!$ opponent
text=Search your library for any three cards and reveal them. Target opponent chooses one. Put that card into your hand and the rest into your graveyard. Then shuffle your library.
mana={2}{U}
type=Instant
[/card]
[card]
name=Invade the City
auto=_AMASS_(type:*[instant;sorcery]:mygraveyard)
text=Amass X, where X is the number of instant and sorcery cards in your graveyard. (Put X +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={1}{U}{R}
type=Sorcery
[/card]
[card]
name=Invader Parasite
auto=if type(land|myBattlefield)~morethan~0 then choice name(Imprint your land) name(Imprint your land) target(land|mybattlefield) moveto(exile) and!( transforms((,newability[@movedto(land[share!name!]|opponentbattlefield):damage:2 opponent])) forever )!
auto=if type(land|opponentBattlefield)~morethan~0 then choice name(Imprint opponent's land) name(Imprint opponent's land) target(land|opponentbattlefield) moveto(exile) and!( transforms((,newability[@movedto(land[share!name!]|mybattlefield):damage:2 controller])) forever )!
text=Imprint - When Invader Parasite enters the battlefield, exile target land. -- Whenever a land with the same name as the exiled card enters the battlefield under an opponent's control, Invader Parasite deals 2 damage to that player.
mana={3}{R}{R}
type=Creature
subtype=Insect
power=3
toughness=2
[/card]
[card]
name=Invading Manticore
auto=_AMASS_(2)
text=When Invading Manticore enters the battlefield, amass 2. (Put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={5}{R}
type=Creature
subtype=Zombie Manticore
power=4
toughness=5
[/card]
[card]
name=Invasion of the Giants
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) transforms((,newability[draw:1 controller],newability[if type(giant|myhand)~morethan~0 then damage:2 target(player^planeswalker)])) oneshot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Next giant costs 2 less) target(giant|mycastingzone) transforms((,newability[changecost(colorless:-2)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Scry 2. -- II - Draw a card. Then you may reveal a Giant card from your hand. When you do, Invasion of the Giants deals 2 damage to target opponent or planeswalker. -- III - The next Giant spell you cast this turn costs 2 less to cast.
mana={U}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Invert // Invent
other={4}{U}{R} name(Invent)
auto=ifnot paid(alternative) then target(<upto:2>creature) transforms((,setpower=toughness,settoughness=power)) ueot
auto=if paid(alternative) then target(<upto:2>*[instant;sorcery]|myLibrary) moveTo(myHand) and!(shuffle)!
text=Switch the power and toughness of each of up to two target creatures until end of turn. -- Search your library for an instant card and/or a sorcery card, reveal them, put them into your hand, then shuffle your library.
mana={UR}
type=Instant
[/card]
[card]
name=Invigorated Rampage
auto=choice name(One creature gets +4/0 and trample) target(creature) 4/0 ueot && trample ueot
auto=choice name(Two creature gets +2/0 and trample) target(<2>creature) 2/0 ueot && trample ueot
text=Choose one -- Target creature gets +4/+0 and gains trample until end of turn. -- Two target creatures each get +2/+0 and gain trample until end of turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Invigorating Surge
target=creature|myBattlefield
auto=counter(1/1,1)
auto=transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
text=Put a +1/+1 counter on target creature you control, then double the number of +1/+1 counters on that creature.
mana={2}{G}
type=Instant
[/card]
[card]
name=Invoke the Divine
target=artifact,enchantment
auto=destroy
auto=life:4 controller
text=Destroy target artifact or enchantment. You gain 4 life.
mana={2}{W}
type=Instant
[/card]
[card]
name=Iona's Blessing
target=creature
auto=teach(creature) 2/2
auto=teach(creature) vigilance
text=Enchant creature -- Enchanted creature gets +2/+2, has vigilance, and can block an additional creature.
mana={3}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Ionize
target=*|stack
auto=fizzle
auto=damage:2 opponent
text=Counter target spell. Ionize deals 2 damage to that spell's controller.
mana={1}{U}{R}
type=Instant
[/card]
[card]
name=Ipnu Rivulet
auto={1}{U}{T}{S(desert|mybattlefield)}:deplete:4 target(player)
auto={T}:Add{1}
auto={T}{L:1}:Add{U}
text={T}: Add {1} to your mana pool. -- {T}, Pay 1 life: Add {U} to your mana pool. -- {1}{U}, {T}, Sacrifice a Desert: Target player puts the top four cards of his or her library into his or her graveyard.
type=Land
subtype=Desert
[/card]
[card]
name=Irencrag Feat
auto=Add{R}{R}{R}{R}{R}{R}{R} && maxCast(*)1 ueot
text=Add seven {R}. You can cast only one more spell this turn.
mana={1}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Irencrag Pyromancer
auto=_SECOND_DRAW_damage:3 target(player;creature;planeswalker)
text=Whenever you draw your second card each turn, Irencrag Pyromancer deals 3 damage to any target.
mana={2}{R}
type=Creature
subtype=Human Wizard
power=0
toughness=4
[/card]
[card]
name=Iridescent Hornbeetle
auto=@counteradded(1/1) from(creature|myBattlefield) restriction{myTurnOnly}:all(this) transforms((,newability[phaseaction[endofturn sourceinplay once] create(Insect:Creature Insect:1/1:green)])) ueot
text=At the beginning of your end step, create a 1/1 green Insect creature token for each +1/+1 counter you've put on creatures under your control this turn.
mana={4}{G}
type=Creature
subtype=Insect
power=3
toughness=4
[/card]
[card]
name=Iroas's Blessing
target=creature|myBattlefield
auto=damage:4 target(*[creature;planeswalker]|opponentBattlefield)
auto=1/1
text=Enchant creature you control -- When Iroas's Blessing enters the battlefield, it deals 4 damage to target creature or planeswalker an opponent controls. -- Enchanted creature gets +1/+1.
mana={3}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Iron Bully
abilities=menace
auto=counter(1/1) target(creature)
text=Menace (This creature can't be blocked except by two or more creatures.) -- When Iron Bully enters the battlefield, put a +1/+1 counter on target creature.
mana={3}
type=Artifact Creature
subtype=Golem
power=1
toughness=1
[/card]
[card]
name=Iron Golem
abilities=vigilance,mustattack,mustblock
text=Vigilance -- Iron Golem attacks or blocks each combat if able.
mana={4}
type=Artifact Creature
subtype=Golem
power=5
toughness=3
[/card]
[card]
name=Iron Verdict
target=creature[tapped]|battlefield
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={W} restriction{compare(canforetellcast)~morethan~0,type(creature[tapped]|battlefield)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=damage:5
text=Iron Verdict deals 5 damage to target tapped creature. -- Foretell {W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Ironclad Krovod
mana={3}{W}
type=Creature
subtype=Beast
power=2
toughness=5
[/card]
[card]
name=Ironfist Crusher
facedown={3}
autofacedown={3}{W}:morph
text=Ironfist Crusher can block any number of creatures. -- Morph {3}{W} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)
mana={4}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=4
[/card]
[card]
name=Ironroot Warlord
anyzone=type:creature:myBattlefield/type:creature:myBattlefield cdaactive
auto={3}{G}{W}:token(Soldier,Creature Soldier,1/1,white)
text=Ironroot Warlord's power is equal to the number of creatures you control. -- {3}{G}{W}: Create a 1/1 white Soldier creature token.
mana={1}{G}{W}
type=Creature
subtype=Treefolk Soldier
power=*
toughness=5
[/card]
[card]
name=Ironscale Hydra
auto=@combatdamagefoeof(this) from(creature):phantom && counter(1/1,1)
text=If a creature would deal combat damage to Ironscale Hydra, prevent that damage and put a +1/+1 counter on Ironscale Hydra.
mana={3}{G}{G}
type=Creature
subtype=Hydra
power=5
toughness=5
[/card]
[card]
name=Irregular Cohort
abilities=changeling
auto=create(Shapeshifter:creature shapeshifter:2/2:colorless:changeling)
text=Changeling (This card is every creature type.) -- When Irregular Cohort enters the battlefield, create a 2/2 colorless Shapeshifter creature token with changeling.
mana={2}{W}{W}
type=Creature
subtype=Shapeshifter
power=2
toughness=2
[/card]
[card]
name=Irresistible Prey
target=creature
auto=transforms((,newability[_ATTACKING_all(creature|opponentbattlefield) mustblock ueot])) ueot
auto=draw:1 controller
text=Target creature must be blocked this turn if able. -- Draw a card.
mana={G}
type=Sorcery
[/card]
[card]
name=Irreverent Revelers
auto=choice destroy target(artifact)
auto=choice haste ueot
text=When Irreverent Revelers enters the battlefield, Choose one -- Destroy target artifact. -- Irreverent Revelers gains haste until end of turn.
mana={2}{R}
type=Creature
subtype=Satyr
power=2
toughness=2
[/card]
[card]
name=Irrigated Farmland
abilities=cycling
auto=tap
autohand=__CYCLING__({2})
text=({T}: Add {W} or {U} to your mana pool.) -- Irrigated Farmland enters the battlefield tapped. -- Cycling {2} ({2}, Discard this card: Draw a card.)
type=Land
subtype=Plains Island
[/card]
[card]
name=Isareth the Awakener
abilities=deathtouch
auto=_ATTACKING_may {x} :target(creature[manacost<=x] mygraveyard) moveto(mybattlefield)
text=Deathtouch -- Whenever Isareth the Awakener attacks, you may pay {X}. When you do, return target creature card with converted mana cost X from your graveyard to the battlefield with a corpse counter on it. If that creature would leave the battlefield, exile it instead of putting it anywhere else.
mana={1}{B}{B}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Ishai, Ojutai Dragonspeaker
abilities=flying,partner
auto=@movedTo(*|stack): counter(1/1,1)
text=Flying -- Whenever an opponent casts a spell, put a +1/+1 counter on Ishai, Ojutai Dragonspeaker. -- Partner (You can have two commanders if both have partner.)
mana={2}{W}{U}
type=Legendary Creature
subtype=Bird Monk
power=1
toughness=1
[/card]
[card]
name=Island Sanctuary
auto=replacedraw ability$!name(Choose one) choice name(Skip draw and become unattackable) lord(creature[-flying;-islandwalk]|opponentBattlefield) cantattack uynt _ choice name(Draw card) draw:1 controller!$ controller
text=If you would draw a card during your draw step, instead you may skip that draw. If you do, until your next turn, you can't be attacked except by creatures with flying and/or islandwalk.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Isolate
target=*[manacost=1]|battlefield
auto=moveto(exile)
text=Exile target permanent with converted mana cost 1.
mana={W}
type=Instant
[/card]
[card]
name=Isolated Watchtower
auto={T}:add{C}
aicode=activate target(land[zpos<=1]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!
auto={2}{T} restriction{compare(type:land:opponentbattlefield)~morethan~compare(type:land:mybattlefieldplus1plusend)}:name(Scry 1) scry:1 scrycore delayed target(land[zpos<=1]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! scrycoreend scryend
text={T}: Add {C}. -- {2}, {T}: Scry 1, then you may reveal the top card of your library. If a basic land card is revealed this way, put it onto the battlefield tapped. Activate this ability only if an opponent controls at least two more lands than you.
type=Land
[/card]
[card]
name=Iterative Analysis
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@movedto(sorcery[chosenname]|mystack):may name(Draw a card) draw:1 controller],newability[@movedto(instant[chosenname]|mystack):may name(Draw a card) draw:1 controller])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Whenever you cast an instant or sorcery spell with the chosen name, you may draw a card.
type=Conspiracy
[/card]
[card]
name=Itlimoc, Cradle of the Sun
auto={T}:Add{G}
auto={T}:foreach(creature|mybattlefield) add{G}
text=(Transforms from Growing Rites of Itlimoc.) -- {T}: Add {G} to your mana pool. -- {T}: Add {G} to your mana pool for each creature you control.
type=Legendary Land
[/card]
[card]
name=Ivy Seer
auto={2}{G}{T}:foreach(*[green]|myhand) 1/1 target(creature)
text={2}{G}, {T}: Reveal any number of green cards in your hand. Target creature gets +X/+X until end of turn, where X is the number of cards revealed this way.
mana={3}{G}
type=Creature
subtype=Elf Wizard
power=1
toughness=1
[/card]
[card]
name=Ixalan's Binding
auto=target(*[-land]|opponentbattlefield) (blink)forsrc
text=When Ixalan's Binding enters the battlefield, exile target nonland permanent an opponent controls until Ixalan's Binding leaves the battlefield. -- Your opponents can't cast spells with the same name as the exiled card.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Ixalli's Diviner
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=When Ixalli's Diviner enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={1}{G}
type=Creature
subtype=Human Druid
power=0
toughness=3
[/card]
[card]
name=Ixalli's Keeper
abilities=trample
auto={7}{G}{T}{S}:target(creature) 5/5 ueot && trample ueot
text={7}{G}, {T}, Sacrifice Ixalli's Keeper: Target creature gets +5/+5 and gains trample until end of turn.
mana={1}{G}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Ixidor's Will
target=*|stack
auto=if type(wizard|battlefield)~equalto~0 then transforms((,newability[pay[[{0}]] name(pay 0 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~1 then transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~2 then transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~3 then transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~4 then transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~5 then transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~6 then transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~7 then transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~8 then transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~9 then transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~10 then transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~11 then transforms((,newability[pay[[{22}]] name(pay 22 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~12 then transforms((,newability[pay[[{24}]] name(pay 24 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~13 then transforms((,newability[pay[[{26}]] name(pay 26 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~14 then transforms((,newability[pay[[{28}]] name(pay 28 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~15 then transforms((,newability[pay[[{30}]] name(pay 30 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~16 then transforms((,newability[pay[[{32}]] name(pay 32 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~17 then transforms((,newability[pay[[{34}]] name(pay 34 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~18 then transforms((,newability[pay[[{36}]] name(pay 36 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~equalto~19 then transforms((,newability[pay[[{38}]] name(pay 38 mana) donothing?fizzle])) forever
auto=if type(wizard|battlefield)~morethan~19 then transforms((,newability[pay[[{40}]] name(pay 40 mana) donothing?fizzle])) forever
text=Counter target spell unless its controller pays {2} for each Wizard on the battlefield.
mana={2}{U}
type=Instant
[/card]
[card]
name=Iymrith, Desert Doom
abilities=flying
auto=this(variable{tapped}<1) transforms((,newability[@targeted(this) from(*|opponentzones):choice name(This spell costs 4 more) name(This spell costs 4 more) target(*|opponentzones) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) oneshot]))
auto=@combatdamaged(player) from(this) restriction{type(*|myhand)~equalto~0}:name(Draw 3 cards) draw:3 controller
auto=@combatdamaged(player) from(this) restriction{type(*|myhand)~equalto~1}:name(Draw 2 cards) draw:2 controller
auto=@combatdamaged(player) from(this) restriction{type(*|myhand)~morethan~1}:name(Draw 1 card) draw:1 controller
text=Flying -- Iymrith, Desert Doom has ward {4} as long as it's untapped. -- Whenever Iymrith deals combat damage to a player, draw a card. Then if you have fewer than three cards in hand, draw cards equal to the difference.
mana={3}{U}{U}
type=Legendary Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Izoni, Thousand-Eyed
auto=foreach(creature|mygraveyard) create(insect:creature insect:1/1:black,green:)
auto={B}{G}{S(other creature|mybattlefield)}:life:1 && draw:1
text=Undergrowth - When Izoni, Thousand-Eyed enters the battlefield, create a 1/1 black and green Insect creature token for each creature card in your graveyard. -- {B}{G}, Sacrifice another creature: You gain 1 life and draw a card.
mana={2}{B}{B}{G}{G}
type=Legendary Creature
subtype=Elf Shaman
power=2
toughness=3
[/card]
[card]
name=Izzet Charm
auto=choice target(*[-creature]|stack) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=choice target(creature) damage:2
auto=choice draw:2 controller && transforms((,newability[target(<2>*|myhand) reject])) oneshot
text=Choose one -- Counter target noncreature spell unless its controller pays {2}. -- Izzet Charm deals 2 damage to target creature. -- Draw two cards, then discard two cards.
mana={U}{R}
type=Instant
[/card]
[card]
name=Izzet Chemister
abilities=haste
auto={R}{T}:name(Exile instant or sorcery) name(Exile instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(exile) and!( transforms((,newability[counter(0/0.1.IzzetExiled)])) forever )!
auto={1}{R}{T}{S}:name(Cast cards exiled with Izzet) name(Cast cards exiled with Izzet) target(<anyamount>*[counter{0/0.1.IzzetExiled}]|myexile) activate castcard(normal)
text=Haste -- {R}, {T}: Exile target instant or sorcery card from your graveyard. -- {1}{R}, {T}, Sacrifice Izzet Chemister: Cast any number of cards exiled with Izzet Chemister without paying their mana costs.
mana={2}{R}
type=Creature
subtype=Goblin Wizard
power=1
toughness=3
[/card]
[card]
name=Izzet Locket
auto={T}:Add{U}
auto={T}:Add{R}
auto={UR}{UR}{UR}{UR}{T}{S}:draw:2
text={T}: Add {U} or {R}. -- {U/R}{U/R}{U/R}{U/R}, {T}, Sacrifice Izzet Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Jabari's Influence
target=creature[attacking;-artifact;-black]|opponentBattlefield
auto=moveto(mybattlefield) and!( counter(-1/0) )!
text=Cast Jabari's Influence only after combat. -- Gain control of target nonartifact, nonblack creature that attacked you this turn and put a -1/-0 counter on it.
mana={3}{W}{W}
type=Instant
[/card]
[card]
name=Jace's Defeat
target=*[blue]|stack
auto=fizzle
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=if casted(this) then if type(jace|opponentstack)~morethan~0 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Counter target blue spell. If it was a Jace planeswalker spell, scry 2.
mana={1}{U}
type=Instant
[/card]
[card]
name=Jace's Mindseeker
abilities=flying
aicode=if type(*[instant;sorcery;zpos<=5]|opponentlibrary)~morethan~0 then activate castcard(normal) target(*[instant;sorcery;zpos<=5]|opponentlibrary) && deplete:4 opponent else deplete:5 opponent
auto=name(Put 5 cards in graveyard) reveal:5 revealzone(opponentlibrary) optionone name(cast an istant or sorcery) target(<1>*[instant;sorcery]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put in graveyard) target(<5>*|reveal) moveto(opponentgraveyard) optiontwoend afterrevealed all(tobecast|mylibrary) moveto(opponentGraveyard) and!( activate castcard(normal) )! afterrevealedend revealend
text=Flying -- When Jace's Mindseeker enters the battlefield, target opponent puts the top five cards of his or her library into his or her graveyard. You may cast an instant or sorcery card from among them without paying its mana cost.
mana={4}{U}{U}
type=Creature
subtype=Fish Illusion
power=4
toughness=4
[/card]
[card]
name=Jace's Projection
auto=@drawof(player):counter(1/1)
auto={3}{U}:counter(0/0,1,Loyalty) target(planeswalker[jace])
text=Whenever you draw a card, put a +1/+1 counter on Jace's Projection. -- {3}{U}: Put a loyalty counter on target Jace planeswalker.
mana={2}{U}{U}
type=Creature
subtype=Wizard Illusion
power=2
toughness=2
[/card]
[card]
name=Jace's Ruse
target=<upto:2>creature
auto=moveTo(ownerHand) and!(moveTo(myhand) target(planeswalker[jace;manacost=6]|mylibrary,myGraveyard))!
text=Return up to two target creatures to their owner's hand. You may search your library and/or graveyard for a card named Jace, Arcane Strategist, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Jace's Sentinel
auto=aslongas(jace|mybattlefield) 1/0
auto=aslongas(jace|mybattlefield) unblockable
text=As long as you control a Jace planeswalker, Jace's Sentinel gets +1/+0 and can't be blocked.
mana={1}{U}
type=Creature
subtype=Merfolk Warrior
power=1
toughness=3
[/card]
[card]
name=Jace's Triumph
auto=draw:2
auto=aslongas(planeswalker[jace]|mybattlefield) draw:1
text=Draw two cards. If you control a Jace planeswalker, draw three cards instead.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Jace, Vryn's Prodigy
backside=Jace, Telepath Unbound
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto={T}:name(Draw and discard) draw:1 controller && transforms((,newability[name(Discard a card) target(*|myhand) reject and!( if type(*|mygraveyard)~morethan~4 then all(this) moveto(exile) and!( moveto(ownerbattlefield) and!( flip(backside) )! )! )!])) forever
text={T}: Draw a card, then discard a card. If there are five or more cards in your graveyard, exile Jace, Vryn's Prodigy, then return him to the battlefield transformed under his owner's control. // Jace, Telepath Unbound
mana={1}{U}
type=Legendary Creature
subtype=Human Wizard
power=0
toughness=2
[/card]
[card]
name=Jack-in-the-Mox
auto={T}:all(this) rolld6 6 winability counter(0/0,1,JackEffect) winabilityend loseability counter(0/0,1,JackEffect) loseabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):this(counter{0/0.1.JackEffect}=1) name(Sacrifice Jack-in-the-Mox) name(Sacrifice Jack-in-the-Mox) sacrifice && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(2) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add white mana) name(Add white mana) add{W} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(3) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add blue mana) name(Add blue mana) add{U} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(4) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add black mana) name(Add black mana) add{B} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(5) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add red mana) name(Add red mana) add{R} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(6) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add green mana) name(Add green mana) add{G} && counter(0/0,-1,JackEffect) all(this)
text={T}: Roll a six-sided die for Jack-in-the-Mox. On a 1, sacrifice Jack-in-the-Mox and lose 5 life. Otherwise, Jack-in-the-Mox has one of the following effects. Treat this ability as a mana source. -- 2 Add {W} to your mana pool. -- 3 Add {U} to your mana pool. -- 4 Add {B} to your mana pool. -- 5 Add {R} to your mana pool. -- 6 Add {G} to your mana pool.
mana={0}
type=Artifact
[/card]
[card]
name=Jack-o'-Lantern
auto={1}{T}{S}:name(Exile and draw) target(*|graveyard) moveTo(exile) && draw:1 controller
auto={1}{T}{S}:name(Don't exile and draw) draw:1 controller
autograveyard={1}{E}:name(Add 1 mana) ability$!name(Choose one) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add black mana) add{B} _ choice name(Add white mana) add{W} _ choice name(Add blue mana) add{U}!$ controller
text={1}, {T}, Sacrifice Jack-o'-Lantern: Exile up to one target card from a graveyard. Draw a card. -- {1}, Exile Jack-o'-Lantern from your graveyard: Add one mana of any color.
type=Artifact
mana={1}
[/card]
[card]
name=Jackknight
auto=@movedto(artifact|mybattlefield):counter(1/1) all(this)
auto=@movedto(artifact[contraption]|mybattlefield):transforms((,newability[lifelink])) ueot
text=Whenever another artifact enters the battlefield under your control, put a +1/+1 counter on Jackknight. If that artifact is a Contraption, Jackknight gains lifelink until end of turn.
mana={1}{W}
type=Artifact Creature
subtype=Cyborg Knight
power=1
toughness=1
[/card]
[card]
name=Jadar, Ghoulcaller of Nephalia
auto=@each my endofturn restriction{type(creature[decayed]|mybattlefield)~equalto~0}:name(Create a zombie) token(Zombie Dec)
text=At the beginning of your end step, if you control no creatures with decayed, create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
mana={1}{B}
type=Legendary Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Jade Avenger
auto=bushido(2/2)
text=Bushido 2 (Whenever this creature blocks or becomes blocked, it gets +2/+2 until end of turn.)
mana={1}{G}
type=Creature
subtype=Frog Samurai
power=2
toughness=2
[/card]
[card]
name=Jade Bearer
auto=counter(1/1) target(other merfolk|myBattlefield)
text=When Jade Bearer enters the battlefield, put a +1/+1 counter on another target Merfolk you control.
mana={G}
type=Creature
subtype=Merfolk Shaman
power=1
toughness=1
[/card]
[card]
name=Jade Guardian
abilities=opponentshroud
auto=counter(1/1,1) target(merfolk|mybattlefield)
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.) -- When Jade Guardian enters the battlefield, put a +1/+1 counter on target Merfolk you control.
mana={3}{G}
type=Creature
subtype=Merfolk Shaman
power=2
toughness=2
[/card]
[card]
name=Jadecraft Artisan
auto=target(creature) 2/2 ueot
text=When Jadecraft Artisan enters the battlefield, target creature gets +2/+2 until end of turn.
mana={3}{G}
type=Creature
subtype=Merfolk Shaman
power=3
toughness=3
[/card]
[card]
name=Jaded Response
restriction=type(creature[-colorless]|mybattlefield)~morethan~0,type(*|stack)~morethan~0
auto=if type(creature[blue]|mybattlefield)~morethan~0 then if type(*[blue]|stack)~morethan~0 then choice name(Counter blue spell) name(Counter blue spell) name(Counter blue spell) target(*[blue]|stack) fizzle
auto=if type(creature[black]|mybattlefield)~morethan~0 then if type(*[black]|stack)~morethan~0 then choice name(Counter black spell) name(Counter black spell) name(Counter black spell) target(*[black]|stack) fizzle
auto=if type(creature[red]|mybattlefield)~morethan~0 then if type(*[red]|stack)~morethan~0 then choice name(Counter red spell) name(Counter red spell) name(Counter red spell) target(*[red]|stack) fizzle
auto=if type(creature[green]|mybattlefield)~morethan~0 then if type(*[green]|stack)~morethan~0 then choice name(Counter green spell) name(Counter green spell) name(Counter green spell) target(*[green]|stack) fizzle
auto=if type(creature[white]|mybattlefield)~morethan~0 then if type(*[white]|stack)~morethan~0 then choice name(Counter white spell) name(Counter white spell) name(Counter white spell) target(*[white]|stack) fizzle
text=Counter target spell if it shares a color with a creature you control.
mana={1}{U}
type=Instant
[/card]
[card]
name=Jaded Sell-Sword
other={3}{S(treasure[-tapped]|mybattlefield)} name(Pay with treasure)
otherrestriction=type(treasure[-tapped]|mybattlefield)~morethan~0
auto=if paid(alternative) then transforms((,newability[first strike],newability[haste])) ueot
text=When Jaded Sell-Sword enters the battlefield, if mana from a Treasure was spent to cast it, it gains first strike and haste until end of turn.
mana={3}{R}
type=Creature
subtype=Dragon Warrior
power=4
toughness=3
[/card]
[card]
name=Jadelight Ranger
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=When Jadelight Ranger enters the battlefield, it explores, then it explores again. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard. Then repeat this process.)
mana={1}{G}{G}
type=Creature
subtype=Merfolk Scout
power=2
toughness=1
[/card]
[card]
name=Jadzi, Oracle of Arcavios
other={2}{G}{G} name(Journey to the Oracle)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Journey to the Oracle)
autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:journey to the oracle:!)])) forever
auto={D(*|myhand)}:moveto(ownerhand)
auto=@movedto(*[instant;sorcery]|mystack):name(Look top card) reveal:1 optionone target(land|reveal) moveto(mybattlefield) oneshot optiononeend optiontwo name(Cast for 1 or put back) target(*|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[pay({1}) name(Cast for 1) activate castcard(normal)])) oneshot afterrevealedend revealend
text=Discard a card: Return Jadzi, Oracle of Arcavios to its owner's hand. -- Magecraft - Whenever you cast or copy an instant or sorcery spell, reveal the top card of your library. If it's a nonland card, you may cast it by paying 1 rather than paying its mana cost. If it's a land card, put it onto the battlefield. // {2}{G}{G} Journey to the Oracle
mana={6}{U}{U}
type=Legendary Creature
subtype=Human Wizard
power=5
toughness=5
[/card]
[card]
name=Jar of Eyeballs
auto=@movedTo(creature|mygraveyard) from(battlefield):counter(0/0,2,Eyeball)
auto=this(counter{0/0.2.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:2 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.4.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:4 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.6.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:6 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.8.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:8 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.10.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:10 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.12.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:12 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.14.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:14 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.16.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:16 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.18.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:18 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.20.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:20 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.22.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:22 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.24.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:24 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.26.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:26 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.28.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:28 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.30.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:30 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.32.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:32 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.34.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:34 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.36.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:36 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.38.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:38 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.40.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:40 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.42.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:42 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.44.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:44 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.46.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:46 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.48.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:48 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.50.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:50 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.52.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:52 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.54.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:54 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.56.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:56 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.58.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:58 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.60.Eyeball}) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:60 optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=this(counter{0/0.1.Eyeball}>=62) {3}{T}:removeallcounters(0/0,1,Eyeball) && reveal:plibrarycount optionone target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Whenever a creature you control dies, put two eyeball counters on Jar of Eyeballs. -- {3}, {T}, Remove all eyeball counters from Jar of Eyeballs: Look at the top X cards of your library, where X is the number of eyeball counters removed this way. Put one of them into your hand and the rest on the bottom of your library in any order.
mana={3}
type=Artifact
[/card]
[card]
name=Jared Carthalion, True Heir
auto=_MONARCH_OPPONENT_
auto=emblem transforms((,newability[@becomesmonarchof(player):name(You can't become the monarch) _MONARCH_OPPONENT_])) ueot
auto=this(variable{pmonarch}>0) vigor
text=When Jared Carthalion, True Heir enters the battlefield, target opponent becomes the monarch. You can't become the monarch this turn. -- If damage would be dealt to Jared Carthalion while you're the monarch, prevent that damage and put that many +1/+1 counters on it.
mana={R}{G}{W}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Jarl of the Forsaken
abilities=foretell,flash
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{B} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=target(creature[damaged]|opponentbattlefield) destroy
text=Flash -- When Jarl of the Forsaken enters the battlefield, destroy target creature or planeswalker an opponent controls that was dealt damage this turn. -- Foretell {1}{B} (During your turn, you may pay and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{B}
type=Creature
subtype=Zombie Cleric
power=3
toughness=2
[/card]
[card]
name=Jasmine Seer
auto={2}{W}{T}:life:twicetype:*[white]:myhand controller
text={2}{W}, {T}: Reveal any number of white cards in your hand. You gain 2 life for each card revealed this way.
mana={3}{W}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Jaspera Sentinel
abilities=reach
auto={T}{T(creature[-tapped]|mybattlefield)}:ability$!name(Add 1 mana of any color) choice add{W} _ choice add{B} _ choice add{R} _ choice add{G} _ choice add{U}!$ controller
text=Reach -- {T}, Tap an untapped creature you control: Add one mana of any color.
mana={G}
type=Creature
subtype=Elf Rogue
power=1
toughness=2
[/card]
[card]
name=Jaws of Stone
auto=foreach(mountain|myBattlefield) ability$!name(Choose target) choice name(Damage to a creature) damage:1 target(creature) _ choice name(Damage to a player) damage:1 target(player)!$ controller
text=Jaws of Stone deals X damage divided as you choose among any number of target creatures and/or players, where X is the number of Mountains you control as you cast Jaws of Stone.
mana={5}{R}
type=Sorcery
[/card]
[card]
name=Jaya's Greeting
target=creature
auto=damage:3
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_SCRY_(1)
text=Jaya's Greeting deals 3 damage to target creature. Scry 1.
mana={1}{R}
type=Instant
[/card]
[card]
name=Jaya's Immolating Inferno
target=<upto:3>*
auto=damage:x
text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Jaya's Immolating Inferno deals X damage to each of up to three targets.
restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0
mana={X}{R}{R}
type=Legendary Sorcery
[/card]
[card]
name=Jeering Homunculus
auto=may name(Goad creature) target(creature|battlefield) _GOAD_
text=When Jeering Homunculus enters the battlefield, you may goad target creature. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)
mana={1}{U}
type=Creature
subtype=Homunculus
power=0
toughness=4
[/card]
[card]
name=Jerren, Corrupted Bishop
backside=Ormendahl, the Corrupter
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=life:-1 controller && token(Human,Creature Human,1/1,white)
auto=movedto(creature[human]|graveyard) from(mybattlefield):name(Lose 1 life and create human) life:-1 controller && token(Human,Creature Human,1/1,white)
auto=@each my endofturn restriction{compare(lifetotal)~equalto~13}:may name(Transform Jerren) pay({4}{B}{B}) name(Transform Jerren) flip(backside)
auto={2}:name(Human gains lifelink) target(creature[human]|mybattlefield) transforms((,newability[lifelink])) ueot
text=Whenever Jerren, Corrupted Bishop enters the battlefield or another nontoken Human you control dies, you lose 1 life and create a 1/1 white Human creature token -- {2}: Target Human you control gains lifelink until end of turn. -- At the beginning of your end step, if you have exactly 13 life, you may pay {4}{B}{B}. If you do, transform Jerren. // Ormendahl, the Corrupter
mana={2}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Jeska's Will
auto=choice name(Add Red mana) foreach(*|opponenthand) add{R}
auto=choice name(Exile 3 cards) all(*[zpos<=3]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )! 
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then choice name(Choose both) name(Choose both) all(*[zpos<=3]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot )! && foreach(*|opponenthand) add{R}
text=Choose one. If you control a commander as you cast this spell, you may choose both. -- Add {R} for each card in target opponent's hand. -- Exile the top three cards of your library. You may play them this turn.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Jester's Mask
auto=tap(noevent)
auto={1}{T}{S}:count(type:*:opponenthand) && moveto(opponentlibrary) all(*|opponenthand) && reveal:type:*:opponentlibrary revealzone(opponentlibrary) optionone name(Put in hand) target(<countedamount>*|reveal) moveto(opponenthand) optiononeend optiontwo name(Put back) all(*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed shuffle opponent afterrevealedend revealend
text=Jester's Mask enters the battlefield tapped. -- {1}, {T}, Sacrifice Jester's Mask: Target opponent puts the cards from his or her hand on top of his or her library. Search that player's library for that many cards. That player puts those cards into his or her hand, then shuffles his or her library.
mana={5}
type=Artifact
[/card]
[card]
name=Jewel-Eyed Cobra
abilities=deathtouch
auto=_DIES_name(Create Treasure) token(Treasure Sur)
text=Deathtouch -- When Jewel-Eyed Cobra dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{G}
type=Creature
subtype=Snake
power=3
toughness=1
[/card]
[card]
name=Jeweled Lotus
auto=this(variable{type:*[iscommander]:myrestrictedcastingzone}>0) {T}{S}:ability$!name(Choose one) choice name(Add 3 white mana) add{W}{W}{W} _ choice name(Add 3 black mana) add{B}{B}{B} _ choice name(Add 3 green mana) add{G}{G}{G} _ choice name(Add 3 red mana) add{R}{R}{R} _ choice name(Add 3 blue mana) add{U}{U}{U}!$ controller
text={T}, Sacrifice Jeweled Lotus: Add three mana of any one color. Spend this mana only to cast your commander.
mana={0}
type=Artifact
[/card]
[card]
name=Jhoira of the Ghitu
auto=this(variable{type:*[instant;sorcery]:myhand}>0) {2}:name(Exile instant or sorcery) name(Exile instant or sorcery) target(*[instant;sorcery]|myhand) moveto(myexile) and!( transforms((,newability[counter(0/0.4.Time)],newability[@each my upkeep restriction{compare(hascnttime)~equalto~1}:name(Cast card from exile) activate castcard(normal)],newability[@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0.-1.Time)])) forever )!
auto=this(variable{type:*[-instant;-sorcery;-land]:myhand}>0) {2}:name(Exile non-land permanent) name(Exile non-land permanent) target(*[-instant;-sorcery;-land]|myhand) moveto(myexile) and!( transforms((,newability[counter(0/0.4.Time)],newability[@each my upkeep restriction{compare(hascnttime)~equalto~1}:name(Cast card from exile) moveto(myReveal) and!( moveto(myBattlefield) and!( transforms((,newability[moveTo(myBattlefield) and!( if cantargetcard(creature|*) then transforms((,newability[haste])) forever )!])) forever )! )!],newability[@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0.-1.Time)])) forever )!
text={2}, Exile a nonland card from your hand: Put four time counters on the exiled card. If it doesn't have suspend, it gains suspend. (At the beginning of your upkeep, remove a time counter from that card. When the last is removed, cast it without paying its mana cost. If it's a creature, it has haste.)
mana={1}{U}{R}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Jhoira's Familiar
abilities=flying
auto=lord(*[artifact;legendary;saga]|mycastingzone) altercost(colorless,-1)
text=Flying -- Historic spells you cast cost {1} less to cast. (Artifacts, legendaries, and Sagas are historic.)
mana={4}
type=Artifact Creature
subtype=Bird
power=2
toughness=2
[/card]
[card]
name=Jhoira's Timebug
auto={T}:name(Remove time counter) target(*[counter{0/0.1.Time}]|mybattlefield,myexile) counter(0/0,-1,Time)
auto={T}:name(Add time counter) target(*[counter{0/0.1.Time}]|mybattlefield,myexile) counter(0/0,1,Time)
text={T}: Choose target permanent you control or suspended card you own. If that permanent or card has a time counter on it, you may remove a time counter from it or put another time counter on it.
mana={2}
type=Artifact Creature
subtype=Insect
power=1
toughness=2
[/card]
[card]
name=Jhoira, Weatherlight Captain
auto=@movedTo(*[artifact;legendary;saga]|mystack):draw:1
text=Whenever you cast a historic spell, draw a card. (Artifacts, legendaries, and Sagas are historic.)
mana={2}{U}{R}
type=Legendary Creature
subtype=Human Artificer
power=3
toughness=3
[/card]
[card]
name=Jirina Kudro
auto=token(Human Soldier Jir)*pnumofcommandcast
auto=lord(other creature[Human]|myBattlefield) 2/0
text=When Jirina Kudro enters the battlefield, create a 1/1 white Human Soldier creature token for each time you've cast a commander from the command zone this game. -- Other Humans you control get +2/+0.
mana={1}{R}{W}{B}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Jodah, Archmage Eternal
abilities=flying
auto=lord(*|myrestrictedcastingzone) transforms((,newability[{W}{U}{B}{R}{G}:name(Pay 5 colors and zerocast) name(Pay 5 colors and zerocast) zerocast]))
auto=lord(*[canplayfromgraveyard]|mygraveyard) transforms((,newability[{W}{U}{B}{R}{G}:name(Pay 5 colors and zerocast) name(Pay 5 colors and zerocast) zerocast]))
auto=lord(*[canplayfromexile]|myexile) transforms((,newability[{W}{U}{B}{R}{G}:name(Pay 5 colors and zerocast) name(Pay 5 colors and zerocast) zerocast]))
text=Flying -- You may pay {W}{U}{B}{R}{G} rather than pay the mana cost for spells that you cast.
mana={1}{U}{R}{W}
type=Legendary Creature
subtype=Human Wizard
power=4
toughness=3
[/card]
[card]
name=Johnny, Combo Player
auto={4}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text={4}: Search your library for a card and put that card into your hand. Then shuffle your library.
mana={2}{U}{U}
type=Legendary Creature
subtype=Human Gamer
power=1
toughness=1
[/card]
[card]
name=Join Shields
auto=all(creature|myBattlefield) untap
auto=all(creature|myBattlefield) opponentshroud
auto=all(creature|myBattlefield) indestructible
text=Untap all creatures you control. They gain hexproof and indestructible until end of turn. (They can't be the targets of spells or abilities your opponents control. Damage and effects that say "destroy" don't destroy them.)
mana={3}{G}{W}
type=Instant
[/card]
[card]
name=Join the Dance
auto=token(Human,Creature Human,1/1,white)*2
flashback={3}{G}{W}
text=Create two 1/1 white Human creature tokens. -- Flashback {3}{G}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={G}{W}
type=Sorcery
[/card]
[card]
name=Joint Assault
target=creature
auto=2/2 ueot
text=Target creature gets +2/+2 until end of turn. If it's paired with a creature, that creature also gets +2/+2 until end of turn.
mana={G}
type=Instant
[/card]
[card]
name=Jolrael, Mwonvuli Recluse
auto=_SECOND_DRAW_name(Create cat) token(Cat Jol)
auto={4}{G}{G}:name(All creatures becomes X/X) all(creature|mybattlefield) transforms((,setpower=type:*:myHand,settoughness=type:*:myHand)) ueot
text=Whenever you draw your second card each turn, create a 2/2 green Cat creature token. -- {4}{G}{G}: Until end of turn, creatures you control have base power and toughness X/X, where X is the number of cards in your hand.
mana={1}{G}
type=Legendary Creature
subtype=Human Druid
power=1
toughness=2
[/card]
[card]
name=Joraga Invocation
auto=all(creature|mybattlefield) 3/3 ueot
auto=all(creature|opponentbattlefield) mustblock ueot
text=Each creature you control gets +3/+3 until end of turn and must be blocked this turn if able.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Joraga Visionary
auto=draw:1 controller
text=When Joraga Visionary enters the battlefield, draw a card.
mana={3}{G}
type=Creature
subtype=Elf Wizard
power=3
toughness=2
[/card]
[card]
name=Jorn, God of Winter
other={1}{U}{B} name(Kaldring, the Rimestaff)
otherrestriction=can play artifact,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Kaldring, the Rimestaff)
autostack=if paid(alternative) then flip(Kaldring, the Rimestaff) forcetype(Legendary Snow Artifact)
auto=@combat(attacking) source(this) restriction{compare(isflipped)~equalto~0}:all(*[snow]|mybattlefield) untap
text=Whenever Jorn attacks, untap each snow permanent you control. // {1}{U}{B} Kaldring, the Rimestaff
mana={2}{G}
type=Legendary Snow Creature
subtype=God
power=3
toughness=3
[/card]
[card]
name=Josu Vess, Lich Knight
abilities=menace
kicker={5}{B}
auto=if paid(kicker) then create(zombie knight:creature zombie knight:2/2:black:menace)*8
text=Kicker {5}{B} (You may pay an additional {5}{B} as you cast this spell.) -- Menace -- When Josu Vess, Lich Knight enters the battlefield, if it was kicked, create eight 2/2 black Zombie Knight creature tokens with menace.
mana={2}{B}{B}
type=Legendary Creature
subtype=Zombie Knight
power=4
toughness=5
[/card]
[card]
name=Journey for the Elixir
aicode=activate target(land[basic]|mylibrary,mygraveyard) moveto(myhand)
auto=name(search a basic land card) Reveal:type:*:mylibrary,mygraveyard revealzone(mylibrary,mygraveyard) optionone name(choose a basic land card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary,mygraveyard) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=may moveto(myhand) target(Jiang Yanggu|mylibrary,mygraveyard) && shuffle
text=Search your library and graveyard for a basic land card and a card named Jiang Yanggu, reveal them, put them into your hand, then shuffle your library.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Journey to Eternity
target=creature
auto=@movedto(graveyard) from(mytgt|Battlefield):all(this) moveTo(mygraveyard) and!( transforms((,newability[counter(0/0.1.FlipJourney)])) forever
auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(mybattlefield)
autograveyard=this(counter{0/0.1.FlipJourney}>=1) flip(Atzal, Cave of Eternity) forcetype(land)
text=Enchant creature you control -- When enchanted creature dies, return it to the battlefield under your control, then return Journey to Eternity to the battlefield transformed under your control.
mana={1}{B}{G}
type=Legendary Enchantment
subtype=Aura
[/card]
[card]
name=Journey to Oblivion
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto=target(*[-land]|opponentBattlefield) (blink)forsrc
text=This spell cost {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) When Journey to Oblivion enters the battlefield, exile target nonland permanent an opponent controls until Journey to Oblivion leaves the battlefield.
mana={4}{W}
type=Enchantment
[/card]
[card]
name=Journey to the Oracle
abilities=doublefacedeath
auto=target(<anyamount>land|myhand) moveto(myBattlefield) and!( if type(land|mybattlefield)~morethan~7 then may name(Discard and return jadzi) ability$!name(Discard and return jadzi) name(Discard and return jadzi) target(*|myhand) transforms((,newability[reject],newability[name(Discard and return jadzi) target(*[Jadzi^ Oracle of Arcavios;fresh]|mygraveyard) moveto(ownerhand)])) oneshot!$ controller )!
text=You may put any number of land cards from your hand onto the battlefield. Then if you control eight or more lands, you may discard a card. If you do, return Journey to the Oracle to its owner's hand. // {6}{U}{U} Jadzi, Oracle of Arcavios
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=Joust
target=creature|mybattlefield
auto=transforms((,newability[target(creature) dynamicability<!powerstrike eachother!>])) ueot
auto=teach(Knight) 2/1
text=Choose target creature you control and target creature you don't control. The creature you control gets +2/+1 until end of turn if it's a Knight. Then those creatures fight each other. (Each deals damage equal to its power to the other.)
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Jousting Dummy
auto={3}:1/0 ueot
text={3}: Jousting Dummy gets +1/+0 until end of turn.
mana={2}
type=Artifact Creature
subtype=Scarecrow Knight
power=2
toughness=1
[/card]
[card]
name=Jousting Lance
auto=teach(creature) 2/0
auto=teach(creature) this(variable{controllerturn}>0) first strike
auto={3}:equip
text=Equipped creature gets +2/+0. -- As long as it's your turn, equipped creature has first strike. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Jubilant Mascot
auto=@each my combatbegins:may pay({3}{w}):target(<upto:2>other creature|battlefield) counter(1/1)
text=At the beginning of combat on your turn, you may pay {3}{W}. If you do, support 2. (Put a +1/+1 counter on each of up to two other target creatures.)
mana={2}{W}
type=Creature
subtype=Homunculus
power=1
toughness=1
[/card]
[card]
name=Jubilant Skybonder
abilities=flying
auto=@targeted(creature|myBattlefield) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Flying -- Creatures you control with flying have "Spells your opponents cast that target this creature cost 2 more to cast."
mana={1}{WU}{WU}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Judith, the Scourge Diva
auto=lord(other creature|myBattlefield) +1/+0
auto=@movedto(graveyard) from(creature[-token]|myBattlefield):damage:1 target(player,creature,planeswalker)
text=Other creatures you control get +1/+0. -- Whenever a nontoken creature you control dies, Judith, the Scourge Diva deals 1 damage to any target.
mana={1}{B}{R}
type=Legendary Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Jumbo Imp
abilities=flying
auto=transforms((Creature Summon Imp,setpower=0,settoughness=0)) forever
auto=all(this) rolld6 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rolld6end
auto=@each my upkeep:all(this) rolld6 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rolld6end
auto=@each my endofturn:all(this) rolld6 6 winability counter(1/1,-lastrollresult) winabilityend loseability counter(1/1,-lastrollresult) loseabilityend rolld6end
text=Flying -- When you play Jumbo Imp, roll a six-sided die. Jumbo Imp comes into play with a number of +1/+1 counters on it equal to the die roll. -- During your upkeep, roll a six-sided die and put on Jumbo Imp a number of +1/+1 counters equal to the die roll. -- At the end of your turn, roll a six-sided die and remove from Jumbo Imp a number of +1/+1 counters equal to the die roll.
mana={2}{B}
type=Summon
subtype=Imp
[/card]
[card]
name=Jungle Creeper
auto={3}{B}{G}:moveto(myhand) all(this)
text={3}{B}{G}: Return Jungle Creeper from your graveyard to your hand.
mana={1}{B}{G}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Jungle Delver
auto={3}{G}:counter(1/1,1)
text={3}{G}: Put a +1/+1 counter on Jungle Delver.
mana={G}
type=Creature
subtype=Merfolk Warrior
power=1
toughness=1
[/card]
[card]
name=Jungle Wayfinder
auto=ability$!moveto(ownerhand) notatarget(land[basic]|mylibrary)!$ opponent
auto=ability$!moveto(ownerhand) notatarget(land[basic]|mylibrary)!$ controller
text=When Jungle Wayfinder enters the battlefield, each player may search their library for a basic land card, reveal it, put it into their hand, then shuffle their library.
mana={2}{G}
type=Creature
subtype=Elf Warrior
power=3
toughness=3
[/card]
[card]
name=Jungleborn Pioneer
abilities=opponentshroud
auto=create(merfolk:creature merfolk:1/1:blue:opponentshroud)
text=When Jungleborn Pioneer enters the battlefield, create a 1/1 blue Merfolk creature token with hexproof. (It can't be the target of spells or abilities your opponents control.)
mana={2}{G}
type=Creature
subtype=Merfolk Scout
power=2
toughness=2
[/card]
[card]
name=Junk Winder
autoexile=thisforeach(variable{type:*[token]:mybattlefield}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{type:*[token]:mybattlefield}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{type:*[token]:mybattlefield}>0) changecost(colorless:-1) forcedalive
auto=@movedto(*[token]|myBattlefield):name(Freeze non-land permanent) target(*[-land]|opponentBattlefield) freeze
text=Affinity for tokens (This spell costs 1 less to cast for each token you control.) -- Whenever a token enters the battlefield under your control, tap target nonland permanent an opponent controls. It doesn't untap during its controller's next untap step.
mana={5}{U}{U}
type=Creature
subtype=Serpent
power=5
toughness=6
[/card]
[card]
name=Juri, Master of the Revue
auto=@sacrificed(*|mybattlefield):counter(1/1) all(this)
auto=_DIES_damage:power target(player,creature,planeswalker)
text=Whenever you sacrifice a permanent, put a +1/+1 counter on Juri, Master of the Revue. -- When Juri dies, it deals damage equal to its power to any target.
mana={B}{R}
type=Legendary Creature
subtype=Human Shaman
power=1
toughness=1
[/card]
[card]
name=Justice Strike
target=creature
auto=transforms((,newability[all(this) dynamicability<!powerstrike!>])) ueot
text=Target creature deals damage to itself equal to its power.
mana={R}{W}
type=Instant
[/card]
[card]
name=Justiciar's Portal
target=creature|myBattlefield
auto=(blink)return(first strike)
text=Exile target creature you control, then return that card to the battlefield under its owner's control. It gains first strike until end of turn.
mana={1}{W}
type=Instant
[/card]
[card]
name=Jwari Disruption
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Jwari Ruins)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Jwari Ruins) name(Jwari Ruins) flip(Jwari Ruins) forcetype(land)
auto=name(Counter target spell) name(Counter target spell) target(*|stack) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
text=Counter target spell unless its controller pays {1}. // Jwari Ruins
mana={1}{U}
type=Instant
[/card]
[card]
name=Jwari Ruins
auto=tap(noevent)
auto={T}:add{U}
text=Jwari Ruins enters the battlefield tapped. -- {T}: Add {U}. // {1}{U} Jwari Disruption
type=Land
[/card]
[card]
name=K'rrik, Son of Yawgmoth
abilities=lifelink
other={4} name(Pay with life)
auto=if paid(alternative) then thisforeach(variable{3}) ability$!name(Pay Life or B) pay[[{B}]] name(Pay B) donothing?life:-2!$ controller
auto=@movedTo(*[black]|mystack):counter(1/1)
text=(Phyrexian {B} can be paid with either {B} or 2 life.) -- Lifelink -- For each {B} in a cost, you may pay 2 life rather than pay that mana. -- Whenever you cast a black spell, put a +1/+1 counter on K'rrik, Son of Yawgmoth.
mana={4}{B}{B}{B}
type=Legendary Creature
subtype=Horror Minion
power=2
toughness=2
[/card]
[card]
name=Kaalia, Zenith Seeker
abilities=flying,vigilance
auto=reveal:6 optionone name(Get card) target(<upto:3>*[Angel;Demon;Dragon]|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
text=Flying, vigilance -- When Kaalia, Zenith Seeker enters the battlefield, look at the top six cards of your library. You may reveal an Angel card, a Demon card, and/or a Dragon card from among them and put them into your hand. Put the rest on the bottom of your library in a random order.
mana={R}{W}{B}
type=Legendary Creature
subtype=Human Cleric
power=3
toughness=3
[/card]
[card]
name=Kabira Outrider
auto=target(creature) calculateparty/calculateparty ueot
text=When Kabria Outrider enters the battlefield, target creature gets +1/+1 until end of turn for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={3}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Kabira Plateau
auto=tap(noevent)
auto={T}:add{W}
text=Kabira Plateau enters the battlefield tapped. -- {T}: Add {W}. // {1}{W} Kabira Takedown
type=Land
[/card]
[card]
name=Kabira Takedown
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Kabira Plateau)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Kabira Plateau) name(Kabira Plateau) flip(Kabira Plateau) forcetype(land)
auto=name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(creature,planeswalker) damage:type:creature:myBattlefield
text=Kabira Takedown deals damage equal to the number of creatures you control to target creature or planeswalker. // Kabira Plateau
mana={1}{W}
type=Instant
[/card]
[card]
name=Kadena's Silencer
facedown={3}
autofacedown={1}{U}:morph
autofaceup=counter(1/1,1)
text=When Kadena's Silencer is turned face up, counter all abilities your opponents control. -- Megamorph {1}{U} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)
mana={1}{U}
type=Creature
subtype=Naga Wizard
power=2
toughness=1
[/card]
[card]
name=Kaervek's Spite
target=player
auto=life:-5
auto=sacrifice all(*|battlefield)
auto=reject all(*|myhand)
text=As an additional cost to cast Kaervek's Spite, sacrifice all permanents you control and discard your hand. -- Target player loses 5 life.
mana={B}{B}{B}
type=Instant
[/card]
[card]
name=Kaervek's Torch
autostack=@targeted(this) from(*[instant;sorcery]|opponentcastingzone):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
auto=name(Damage any target) name(Damage any target) damage:X target(player,creature,planeswalker)
text=As long as Kaervek's Torch is on the stack, spells that target it cost {2} more to cast. -- Kaervek's Torch deals X damage to any target.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Kaervek, the Spiteful
auto=all(other creature|battlefield) -1/-1
text=Other creatures get -1/-1.
mana={2}{B}{B}
type=Legendary Creature
subtype=Human Warlock
power=3
toughness=2
[/card]
[card]
name=Kaho, Minamo Historian
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:3>*[instant]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myexile)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto={X}{T}:target(instant[manacost=X]|myexile) activate castcard(normal)
text=When Kaho, Minamo Historian enters the battlefield, search your library for up to three instant cards and exile them. Then shuffle your library. -- {X}, {T}: You may cast a card with converted mana cost X exiled with Kaho without paying its mana cost.
mana={2}{U}{U}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Kalain, Reclusive Painter
auto=token(Treasure Sur)
auto=@sacrificed(*[treasure]|mybattlefield) restriction{type(creature|myrestrictedcastingzone)~morethan~0}:may name(Treasure sacrificed for next creature) counter(0/0.1.TreasToken)
auto=@movedto(other creature|mybattlefield) restriction{compare(hascnttreastoken)~morethan~0}:name(Put 1/1 counter) all(trigger[to]) counter(1/1.hascnttreastoken) && all(this) removeallcounters(0/0.1.TreasToken)
auto=@each end restriction{compare(hascnttreastoken)~morethan~0}:removeallcounters(0/0.1.TreasToken)
text=When Kalain, Reclusive Painter enters the battlefield, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Other creatures you control enter the battlefield with an additional +1/+1 counter on them for each mana from a Treasure spent to cast them.
mana={B}{R}
type=Legendary Creature
subtype=Human Elf Bard
power=1
toughness=2
[/card]
[card]
name=Kalamax, the Stormsire
auto=@movedto(instant|mystack) sourcetap restriction{thisturn(instant|mystack)~lessthan~2}:castcard(copied noevent)
auto=@copied target(instant|Stak):all(trigger[this]) counter(1/1)
text=Whenever you cast your first instant spell each turn, if Kalamax, the Stormsire is tapped, copy that spell. You may choose new targets for the copy. -- Whenever you copy an instant spell, put a +1/+1 counter on Kalamax.
mana={1}{G}{U}{R}
type=Legendary Creature
subtype=Elemental Dinosaur
power=4
toughness=4
[/card]
[card]
name=Kaldra Compleat
abilities=indestructible
auto={7}:equip
auto=teach(creature) 5/5
auto=teach(creature) trample
auto=teach(creature) first strike
auto=teach(creature) haste
auto=teach(creature) indestructible
auto=teach(creature) transforms((,newability[@combatdamaged(creature) from(this):all(trigger[to]) moveto(exile)]))
auto=livingweapontoken(Germ,Creature Germ,0/0,black)
text=Living weapon -- Indestructible -- Equipped creature gets +5/+5 and has first strike, trample, indestructible, haste, and "Whenever this creature deals combat damage to a creature, exile that creature." -- Equip {7}
mana={7}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Kaldring, the Rimestaff
auto={T}:name(Choose snow permanent) name(Choose snow permanent) target(*[snow]|mygraveyard) transforms((,newability[canplayfromgraveyard])) ueot && counter(0/0,1,KaldEffect) all(this)
auto=@movedto(*[snow]|mybattlefield) from(mygraveyard):this(counter{0/0.1.KaldEffect}>0) all(trigger[to]) tap(noevent) && ability$!counter(0/0,-1,KaldEffect) all(mysource)!$ controller
auto=@movedto(*[snow]|mystack) from(mygraveyard):this(counter{0/0.1.KaldEffect}>0) counter(0/0,1,KaldEffect2) && ability$!counter(0/0,-1,KaldEffect) all(mysource)!$ controller
auto=@movedto(*[snow]|mybattlefield):this(counter{0/0.1.KaldEffect2}>0) all(trigger[to]) tap(noevent) && ability$!counter(0/0,-1,KaldEffect2) all(mysource)!$ controller
auto=@each endofturn:this(counter{0/0.1.KaldEffect}>0) counter(0/0,-1,KaldEffect)
auto=@each endofturn:this(counter{0/0.1.KaldEffect2}>0) counter(0/0,-1,KaldEffect2)
text={T}: You may play target snow permanent card from your graveyard this turn. If you do, it enters the battlefield tapped. // {2}{G} Jorn, God of Winter
mana={1}{U}{B}
type=Legendary Snow Artifact
[/card]
[card]
name=Kaleidoscorch
target=player,creature,planeswalker
auto=damage:converge
flashback={4}{R}
text=Converge - Kaleidoscorch deals X damage to any target, where X is the number of colors of mana spent to cast this spell. -- Flashback {4}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Kalemne, Disciple of Iroas
abilities=double strike,vigilance
auto=@movedto(creature[manacost>=5]|mystack):alterexperience:1 controller
auto=lord(this) pexperience/pexperience nonstatic
text=Double strike, vigilance -- Whenever you cast a creature spell with converted mana cost 5 or greater, you get an experience counter. -- Kalemne, Disciple of Iroas gets +1/+1 for each experience counter you have.
mana={2}{R}{W}
type=Legendary Creature
subtype=Giant Soldier
power=3
toughness=3
[/card]
[card]
name=Kalitas, Bloodchief of Ghet
auto=this(variable{type:creature[-indestructible]:opponentbattlefield}>0) {B}{B}{B}{T}:name(Destroy opponent creature) name(Destroy opponent creature) target(creature[-indestructible]|opponentbattlefield) transforms((,newability[destroy],newability[token(Vampire^Creature Vampire^p/t^black) opponent])) oneshot
auto=this(variable{type:creature[-indestructible]:mybattlefield}>0) {B}{B}{B}{T}:name(Destroy your creature) name(Destroy your creature) target(creature[-indestructible]|mybattlefield) transforms((,newability[destroy],newability[token(Vampire^Creature Vampire^p/t^black)])) oneshot
text={B}{B}{B}, {T}: Destroy target creature. If that creature dies this way, put a black Vampire creature token onto the battlefield. Its power is equal to that creature's power and its toughness is equal to that creature's toughness.
mana={5}{B}{B}
type=Legendary Creature
subtype=Vampire Warrior
power=5
toughness=5
[/card]
[card]
name=Kalitas, Traitor of Ghet
abilities=lifelink
auto=@movedto(creature[-token]|opponentgraveyard):all(trigger[to]) moveTo(exile) && token(Zombie,Creature Zombie,2/2,black)
auto={2}{B}{S(other vampire|myBattlefield)}:name(Sacrifice vampire) counter(1/1,2)
auto={2}{B}{S(other zombie|myBattlefield)}:name(Sacrifice zombie) counter(1/1,2)
text=Lifelink -- If a nontoken creature an opponent controls would die, instead exile that card and put a 2/2 black Zombie creature token onto the battlefield. -- {2}{B}, Sacrifice another Vampire or Zombie: Put two +1/+1 counters on Kalitas, Traitor of Ghet.
mana={2}{B}{B}
type=Legendary Creature
subtype=Vampire Warrior
power=3
toughness=4
[/card]
[card]
name=Kamahl's Druidic Vow
auto=name(Look) reveal:x optionone name(Get a Card) target(<anyamount>*[legendary;manacost<=x;-instant;-sorcery]|reveal) moveto(myBattlefield) optiononeend optiontwo all(*|reveal) moveto(graveyard) optiontwoend revealend
text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Look at the top X cards of your library. You may put any number of land and/or legendary permanent cards with converted mana cost X or less from among them onto the battlefield. Put the rest into your graveyard.
restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0
mana={X}{G}{G}
type=Legendary Sorcery
[/card]
[card]
name=Kamahl's Will
auto=if type(*[iscommander]|mybattlefield)~lessthan~1 then choice name(Choose first) target(<anyamount>land|mybattlefield) transforms((Elemental Creature,setpower=1,settoughness=1,newability[vigilance],newability[haste],newability[indestructible])) ueot
auto=if type(*[iscommander]|mybattlefield)~lessthan~1 then choice name(Choose second) damage:powertotalinplay target(creature|opponentbattlefield)
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then may name(Transform Lands) name(Transform Lands)  target(<anyamount>land|mybattlefield) transforms((Elemental Creature,setpower=1,settoughness=1,newability[vigilance],newability[haste],newability[indestructible])) ueot
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then name(Damage Creature) ability$!name(Damage Creature) name(Damage Creature) damage:powertotalinplay target(<upto:1>creature|battlefield)!$ controller
text=Choose one. If you control a commander as you cast this spell, you may choose both. -- Until end of turn, any number of target lands you control become 1/1 Elemental creatures with vigilance, indestructible, and haste. They're still lands. -- Choose target creature you don't control. Each creature you control deals damage equal to its power to that creature.
mana={3}{G}
type=Instant
[/card]
[card]
name=Kamahl, Heart of Krosa
abilities=partner
auto={1}{G}:target(land|mybattlefield) transforms((Elemental Creature,setpower=1,settoughness=1,newability[vigilance],newability[haste],newability[indestructible])) ueot
auto=@each my combatbegins:all(creature|mybattlefield) transforms((,newability[3/3],newability[trample])) ueot
text=At the beginning of combat on your turn, creatures you control get +3/+3 and gain trample until end of turn. -- {1}{G}: Until end of turn, target land you control becomes a 1/1 Elemental creature with vigilance, indestructible, and haste. It's still a land. -- Partner (You can have two commanders if both have partner.)
mana={6}{G}{G}
type=Legendary Creature
subtype=Human Druid
power=5
toughness=5
[/card]
[card]
name=Kangee's Lieutenant
abilities=flying
auto=_ATTACKING_all(creature[attacking;flying]) 1/1 ueot
autograveyard={5}{W}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Flying -- Whenever Kangee's Lieutenant attacks, attacking creatures with flying get +1/+1 until end of turn. -- Encore {5}{W} ({5}{W}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={2}{W}
type=Creature
subtype=Bird Soldier
power=1
toughness=1
[/card]
[card]
name=Kangee, Sky Warden
abilities=flying,vigilance
auto=_ATTACKING_all(creature[flying;attacking]) 2/0 ueot
auto=@combat(blocking) source(this):all(creature[flying;blocking]) 0/2 ueot
text=Flying, vigilance -- Whenever Kangee, Sky Warden attacks, attacking creatures with flying get +2/+0 until end of turn. -- Whenever Kangee blocks, blocking creatures with flying get +0/+2 until end of turn.
mana={3}{W}{U}
type=Legendary Creature
subtype=Bird Wizard
power=3
toughness=3
[/card]
[card]
name=Karador, Ghost Chieftain
anyzone=foreach(creature|mygraveyard) changecost(colorless:-1) forcedalive
auto=lord(creature[maxCast(creature)1]|mygraveyard) canPlayFromGraveyard
text=This spell costs {1} less to cast for each creature card in your graveyard. -- During each of your turns, you may cast one creature card from your graveyard.
mana={5}{B}{G}{W}
type=Legendary Creature
subtype=Centaur Spirit
power=3
toughness=4
[/card]
[card]
name=Karametra's Blessing
target=creature
auto=2/2
auto=teach(Enchantment Creature) opponentshroud && indestructible ueot
auto=teach(creature {auras>=1}) opponentshroud && indestructible ueot
text=Target creature gets +2/+2 until end of turn. If it's an enchanted creature or enchantment creature, it also gains hexproof and indestructible until end of turn. (It can't be the target of spells or abilities your opponents control. Damage and effects that say "destroy" don't destroy it.)
mana={W}
type=Instant
[/card]
[card]
name=Karazikar, the Eye Tyrant
auto=@each my blockers:name(Tap opponent creature) target(creature|opponentbattlefield) transforms((,newability[tap(noevent)],newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[phaseaction[endofturn next once sourceinplay] removeallcounters(0/0.-1.Goaded)])) forever
text=Whenever you attack a player, tap target creature that player controls and goad it. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.) -- Whenever an opponent attacks another one of your opponents, you and the attacking player each draw a card and lose 1 life.
mana={3}{B}{R}
type=Legendary Creature
subtype=Beholder
power=5
toughness=5
[/card]
[card]
name=Kardur's Vicious Return
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=may name(Sacrifice a creature) target(creature|mybattlefield) sacrifice && damage:3 target(player,creature,planeswalker)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ opponent
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Return creature from graveyard) target(creature|mygraveyard) moveto(mybattlefield) and!( transforms((,newability[haste],newability[counter(1/1)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - You may sacrifice a creature. When you do, Kardur's Vicious Return deals 3 damage to any target. -- II - Each player discards a card. -- III - Return target creature card from your graveyard to the battlefield. Put a +1/+1 counter on it. It gains haste until your next turn.
mana={2}{B}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Kardur, Doomscourge
auto=all(creature|opponentbattlefield) transforms((,newability[mustattack])) uynt
auto=@movedto(creature[attacking]|graveyard) from(battlefield):life:-1 opponent && life:1 controller
text=When Kardur, Doomscourge enters the battlefield, until your next turn, creatures your opponents control attack each combat if able and attack a player other than you if able. -- Whenever an attacking creature dies, each opponent loses 1 life and you gain 1 life.
mana={2}{B}{R}
type=Legendary Creature
subtype=Demon Berserker
power=4
toughness=3
[/card]
[card]
name=Karfell Harbinger
auto=this(variable{type:foretell:myhand}>0) {T}:add{U}
auto=this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{U}
text={T}: Add {U}. Spend this mana only to foretell a card from your hand or cast an instant or sorcery spell.
mana={1}{U}
type=Creature
subtype=Zombie Wizard
power=1
toughness=3
[/card]
[card]
name=Karfell Kennel-Master
auto=may name(Creatures gains 1/0 and indestructible) target(<upto:2>creature|battlefield) transforms((,newability[1/0],newability[indestructible])) ueot
text=When Karfell Kennel-Master enters the battlefield, up to two target creatures each get +1/+0 and gain indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={4}{B}
type=Creature
subtype=Zombie Berserker
power=4
toughness=4
[/card]
[card]
name=Kargan Dragonrider
auto=aslongas(dragon|myBattlefield) flying
text=As long as you control a Dragon, Kargan Dragonrider has flying. (It can't be blocked except by creatures with flying or reach.)
mana={1}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Kargan Intimidator
auto=lord(creature[warrior]|Battlefield) cantbeblockedby(creature[coward]|Battlefield)
auto={1}:1/1 ueot limit:1
auto={1}:target(creature) becomes(coward) ueot limit:1
auto={1}:target(creature[warrior]) trample ueot limit:1
text=Cowards can't block Warriors. -- {1}: Choose one that hasn't been chosen this turn -- Kargan Intimidator gets +1/+1 until end of turn. -- Target creature becomes a Coward until end of turn. -- Target Warrior gains trample until end of turn.
mana={1}{R}
type=Creature
subtype=Human Warrior
power=3
toughness=1
[/card]
[card]
name=Kargan Warleader
auto=lord(other creature[warrior]|myBattlefield) 1/1
text=Other Warriors you control get +1/+1.
mana={1}{R}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Karn's Bastion
auto={T}:Add{C}
auto={4}{T}:_PROLIFERATE_
text={T}: Add {C}. -- {4}, {T}: Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
type=Land
[/card]
[card]
name=Karn's Temporal Sundering
target=player
auto=turns:+1
auto=may moveto(ownerHand) target(*[-land])
auto=moveto(exile)
text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Target player takes an extra turn after this one. Return up to one target nonland permanent to its owner's hand. Exile Karn's Temporal Sundering.
restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0
mana={4}{U}{U}
type=Legendary Sorcery
[/card]
[card]
name=Karok Wrangler
auto=@movedto(*[instant;sorcery]|mystack):name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, put a +1/+1 counter on target creature you control.
mana={4}{G}
type=Creature
subtype=Elf Druid
power=3
toughness=3
[/card]
[card]
name=Karplusan Hound
auto=@combat(attacking) source(this) aslongas(planeswalker[chandra]|myBattlefield):damage:2 target(player,creature,planeswalker)
text=Whenever Karplusan Hound attacks, if you control a Chandra planeswalker, this creature deals 2 damage to any target.
mana={3}{R}
type=Creature
subtype=Dog
power=3
toughness=3
[/card]
[card]
name=Kasmina's Transmutation
target=creature
auto=loseabilities
auto=teach(creature) transforms((,setpower=1,settoughness=1))
text=Enchant creature -- Enchanted creature loses all abilities and has base power and toughness 1/1.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Katilda, Dawnhart Prime
auto=protection from(*[werewolf])
auto=lord(creature[human&red]|myBattlefield) {T}:add{R}
auto=lord(creature[human&green]|myBattlefield) {T}:add{G}
auto=lord(creature[human&white]|myBattlefield) {T}:add{W}
auto=lord(creature[human&blue]|myBattlefield) {T}:add{U}
auto=lord(creature[human&black]|myBattlefield) {T}:add{B}
auto={4}{G}{W}{T}:name(Put 1/1 counters) all(creature|mybattlefield) counter(1/1)
text=Protection from Werewolves -- Human creatures you control have "{T}: Add one mana of any of this creature's colors." -- {4}{G}{W}, {T}: Put a +1/+1 counter on each creature you control.
type=Legendary Creature
subtype=Human Warlock
mana={G}{W}
power=1
toughness=1
[/card]
[card]
name=Kavu Primarch
other={convoke} name(Convoke)
kicker={4}
auto=if paid(kicker) then counter(1/1,4)
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- 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.) -- If Kavu Primarch was kicked, it enters the battlefield with four +1/+1 counters on it.
mana={3}{G}
type=Creature
subtype=Kavu
power=3
toughness=3
[/card]
[card]
name=Kaya's Ghostform
target=creature,planeswalker|mybattlefield
auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(mybattlefield)
auto=@movedTo(mytgt|exile) from(battlefield):all(trigger[to]) moveTo(mybattlefield)
text=Enchant creature or planeswalker you control -- When enchanted permanent dies or is put into exile, return that card to the battlefield under your control.
mana={B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Kaya's Guile
other={4}{W}{B} name(Entwine)
auto=ifnot paid(alternative) then choice name(Choose 1 and 2):ability$!name(sacrifice) notatarget(*[creature]|myBattlefield) sacrifice!$ opponent && moveto(exile) all(creature|opponentbattlefield)
auto=ifnot paid(alternative) then choice name(Choose 1 and 3):ability$!name(sacrifice) notatarget(*[creature]|myBattlefield) sacrifice!$ opponent && create(Spirit:creature Spirit:1/1:white,black:flying)
auto=ifnot paid(alternative) then choice name(Choose 1 and 4):ability$!name(sacrifice) notatarget(*[creature]|myBattlefield) sacrifice!$ opponent && life:4 controller
auto=ifnot paid(alternative) then choice name(Choose 2 and 3):moveto(exile) all(creature|opponentbattlefield) && create(Spirit:creature Spirit:1/1:white,black:flying)
auto=ifnot paid(alternative) then choice name(Choose 2 and 4):moveto(exile) all(creature|opponentbattlefield) && life:4 controller
auto=ifnot paid(alternative) then choice name(Choose 3 and 4):create(Spirit:creature Spirit:1/1:white,black:flying) && life:4 controller
auto=if paid(alternative) then ability$!name(sacrifice) notatarget(*[creature]|myBattlefield) sacrifice!$ opponent
auto=if paid(alternative) then moveto(exile) all(creature|opponentbattlefield)
auto=if paid(alternative) then create(Spirit:creature Spirit:1/1:white,black:flying)
auto=if paid(alternative) then life:4 controller
text=Choose two -- Each opponent sacrifices a creature. -- Exile all cards from each opponent's graveyard. -- Create a 1/1 white and black Spirit creature token with flying. -- You gain 4 life. -- Entwine 3 (Choose all if you pay the entwine cost.)
mana={1}{W}{B}
type=Instant
[/card]
[card]
name=Kaya's Onslaught
target=creature
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={W} restriction{compare(canforetellcast)~morethan~0,type(creature|battlefield)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=transforms((,newability[1/1],newability[double strike])) ueot
text=Target creature gets +1/+1 and gains double strike until end of turn. -- Foretell {W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Kaya's Wrath
auto=destroy all(creature)
auto=@movedto(graveyard) from(creature|myBattlefield):life:1
text=Destroy all creatures. You gain life equal to the number of creatures you controlled that were destroyed this way.
mana={W}{W}{B}{B}
type=Sorcery
[/card]
[card]
name=Kaza, Roil Chaser
abilities=flying,haste
auto={T}:transforms((,newability[foreach(creature[wizard]|myBattlefield) lord(*[instant;sorcery]|mycastingzone) altercost(colorless,-1)])) oneshot ueot
text=Flying, haste -- {T}: The next instant or sorcery spell you cast this turn costs {X} less to cast, where X is the number of Wizards you control as this ability resolves.
mana={U}{R}
type=Legendary Creature
subtype=Human wizard
power=1
toughness=2
[/card]
[card]
name=Kazandu Mammoth
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Kazandu Valley)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Kazandu Valley) name(Kazandu Valley) flip(Kazandu Valley) forcetype(land)
auto=_LANDFALL_2/2 ueot
text=Landfall - Whenever a land enters the battlefield under your control, Kazandu Mammoth gains +2/+2 until end of turn. // Kazandu Valley
mana={2}{G}
type=Creature
subtype=Elephant
power=3
toughness=3
[/card]
[card]
name=Kazandu Nectarpot
auto=_LANDFALL_life:1 controller
text=Landfall - Whenever a land enters the battlefield under your control, you gain 1 life.
mana={1}{G}
type=Creature
subtype=Insect
power=1
toughness=3
[/card]
[card]
name=Kazandu Stomper
abilities=trample
auto=moveTo(ownerHand) target(<upto:2>land|myBattlefield)
text=Trample -- When Kazandu Stomper enters the battlefield, return up to two lands you control to their owner's hand.
mana={5}{G}
type=Creature
subtype=Beast
power=6
toughness=5
[/card]
[card]
name=Kazandu Valley
auto=tap(noevent)
auto={T}:add{G}
text=Kazandu Valley enters the battlefield tapped. -- {T}: Add {G}. // {2}{G} Kazandu Mammoth
type=Land
[/card]
[card]
name=Kazarov, Sengir Pureblood
abilities=flying
auto=@damaged(creature|opponentBattlefield):counter(1/1)
auto={3}{R}:damage:2 target(creature)
text=Flying -- Whenever a creature an opponent controls is dealt damage, put a +1/+1 counter on Kazarov, Sengir Pureblood. -- {3}{R}: Kazarov deals 2 damage to target creature.
mana={5}{B}{B}
type=Legendary Creature
subtype=Vampire
power=4
toughness=4
[/card]
[card]
name=Kazuul's Cliffs
auto=tap(noevent)
auto={T}:add{R}
text=Kazuul's Cliffs enters the battlefield tapped. -- {T}: Add {R}. // {2}{R}{Sacrifice Creature} Kazuul's Fury
type=Land
[/card]
[card]
name=Kazuul's Fury
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Kazuul's Cliffs)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Kazuul's Cliffs) name(Kazuul's Cliffs) flip(Kazuul's Cliffs) forcetype(land)
auto=choice name(damage:storedpower target(player,creature,planeswalker)
text=As an additional cost to cast this spell, sacrifice a creature. -- Kazuul's Fury deals damage equal to the sacrificed creatures power to any target. // Kazuul's Cliffs
mana={2}{R}{S(creature|myBattlefield)}
type=Instant
[/card]
[card]
name=Kediss, Emberclaw Familiar
abilities=partner
text=Whenever a commander you control deals combat damage to an opponent, it deals that much damage to each other opponent. -- Partner (You can have two commanders if both have partner.)
mana={1}{R}
type=Legendary Creature
subtype=Elemental Lizard
power=1
toughness=1
[/card]
[card]
name=Keen Duelist
auto=@each my upkeep:all(*[zpos=1]|mylibrary) moveto(myhand) and!( transforms((,newability[life:-manacost opponent])) oneshot )!
auto=@each my upkeep:all(*[zpos=1]|opponentlibrary) moveto(opponenthand) and!( transforms((,newability[life:-manacost opponent])) oneshot )!
text=At the beginning of your upkeep, you and target opponent each reveal the top card of your library. You each lose life equal to the mana value of the card revealed by the other player. You each put the card you revealed into your hand.
mana={1}{B}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Keen Glidemaster
auto={2}{U}:target(creature) flying ueot
text={2}{U}: Target creature gains flying until end of turn.
mana={1}{U}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Keen-Eared Sentry
abilities=playershroud
auto=@counteradded(0/0,1,Explore) from(*[dungeon]|opponentcommandzone):transforms((,newability[nodngopp])) ueot
text=You have hexproof. (You can't be the target of spells or abilities your opponents control.) -- Your opponents can't venture into the dungeon more than once each turn.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Keensight Mentor
auto=name(Put vigilance counter) target(creature[-human]|myBattlefield) transforms((,newability[counter(0/0.1.Vigilance)],newability[this(counter{0/0.1.Vigilance}>=1) vigilance])) forever
auto={1}{W}{T}:name(Put 1/1 counters) all(creature[vigilance]|myBattlefield) counter(1/1)
text=When Keensight Mentor enters the battlefield, put a vigilance counter on target non-Human creature you control. -- {1}{W}, {T}: Put a +1/+1 counter on each creature you control with vigilance.
mana={2}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=4
[/card]
[card]
name=Keep Safe
restriction=type(*|myBattlefield)~morethan~0
target=*|stack
auto=fizzle
auto=draw:1 controller
text=Counter target spell that targets a permanent you control. -- Draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Keeper of Fables
auto=@each combatdamage restriction{opponentdamagedbycombat}:draw:1
text=Whenever one or more non-Human creatures you control deal combat damage to a player, draw a card.
mana={3}{G}{G}
type=Creature
subtype=Cat
power=4
toughness=5
[/card]
[card]
name=Keeper of Keys
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(pmonarch)~morethan~0}:lord(creature|mybattlefield) unblockable
text=When Keeper of Keys enters the battlefield, you become the monarch. -- At the beginning of your upkeep, if you're the monarch, creatures you control can't be blocked this turn.
mana={3}{U}{U}
type=Creature
subtype=Human Rogue Mutant
power=4
toughness=4
[/card]
[card]
name=Keeper of the Accord
auto=@each opponent endofturn restriction{type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield)}:token(Soldier,Creature Soldier,1/1,white)
auto=@each opponent endofturn restriction{type(land|opponentbattlefield)~morethan~type(land|mybattlefield)}:may name(search basic plains) reveal:plibrarycount optionone name(choose basic plains) target(plains[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=At the beginning of each opponent's end step, if that player controls more creatures than you, create a 1/1 white Soldier creature token. -- At the beginning of each opponent's end step, if that player controls more lands than you, you may search your library for a basic Plains card, put it onto the battlefield tapped, then shuffle your library.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=4
[/card]
[card]
name=Keeper of the Secret Lair
abilities=flash
auto=lord(*[-land]|mycastingzone) asflash
auto=lord(*|mycastingzone) altercost(colorless, -1)
text=Flash -- You may cast Secret Lair spells as though they had flash. -- Secret Lair spells you cast cost {1} less to cast.
mana={1}{U}
type=Legendary Creature
subtype=Merfolk Rogue
power=2
toughness=1
[/card]
[card]
name=Kefnet the Mindful
abilities=flying,indestructible
auto=aslongas(*|myhand) cantattack <7
auto=aslongas(*|myhand) cantpwattack <7
auto=aslongas(*|myhand) cantblock <7
auto={3}{U}:draw:1 && transforms((,newability[may moveto(myhand) target(land|mybattlefield)])) ueot
text=Flying, indestructible -- Kefnet the Mindful can't attack or block unless you have seven or more cards in hand. -- {3}{U}: Draw a card, then you may return a land you control to its owner's hand.
mana={2}{U}
type=Legendary Creature
subtype=God
power=5
toughness=5
[/card]
[card]
name=Kefnet's Last Word
target=artifact,creature,enchantment
auto=1194
auto=all(land|mybattlefield) frozen
text=Gain control of target artifact, creature, or enchantment. Lands you control don't untap during your next untap step.
mana={2}{U}{U}
type=Sorcery
[/card]
[card]
name=Kefnet's Monument
auto=lord(creature[blue]|myhand) altercost(colorless,-1)
auto=@movedto(creature|mystack):target(creature|opponentbattlefield) freeze
text=Blue creature spells you cast cost {1} less to cast. -- Whenever you cast a creature spell, target creature an opponent controls doesn't untap during its controller's next untap step.
mana={3}
type=Legendary Artifact
[/card]
[card]
name=Keldon Overseer
abilities=haste
kicker={3}{R}
auto=if paid(kicker) then target(creature) moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
text=Kicker {3}{R} (You may pay an additional {3}{R} as you cast this spell.) -- Haste -- When Keldon Overseer enters the battlefield, if it was kicked, gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn.
mana={2}{R}
type=Creature
subtype=Human Warrior
power=3
toughness=1
[/card]
[card]
name=Keldon Raider
auto=may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1) controller!$
text=When Keldon Raider enters the battlefield, you may discard a card. If you do, draw a card.
mana={2}{R}{R}
type=Creature
subtype=Human Warrior
power=4
toughness=3
[/card]
[card]
name=Keldon Warcaller
auto=_ATTACKING_counter(0/0,Lore) target(saga|myBattlefield)
text=Whenever Keldon Warcaller attacks, put a lore counter on target Saga you control.
mana={1}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Keleth, Sunmane Familiar
abilities=partner
auto=@combat(attacking) source(creature[iscommander]|myBattlefield):all(trigger[to]) counter(1/1,1)
text=Whenever a commander you control attacks, put a +1/+1 counter on it. -- Partner (You can have two commanders if both have partner.)
mana={1}{W}
type=Legendary Creature
subtype=Horse
power=1
toughness=1
[/card]
[card]
name=Kelpie Guide
auto={T}:name(Untap another permanent) target(other *|mybattlefield) untap
auto=this(variable{type:land:mybattlefield}>7) {T}:name(Tap permanent) target(*|battlefield) tap
text={T}: Untap another target permanent you control. -- {T}: Tap target permanent. Activate only if you control eight or more lands.
mana={2}{U}
type=Creature
subtype=Beast
power=2
toughness=2
[/card]
[card]
name=Kels, Fight Fixer
auto=menace
auto=@sacrificed(creature|mybattlefield):pay({RU}) draw:1 controller
auto={1}{S(creature|mybattlefield)}:indestructible ueot
text=Menace -- Whenever you sacrifice a creature, you may pay -- {U} or {B} -- . If you do, draw a card. ( {U} or {B} can be paid with either {U} or {B}.) -- {1}, Sacrifice a creature: Kels, Fight Fixer gains indestructible until end of turn.
mana={2}{B}{B}
type=Legendary Creature
subtype=Azra Warlock
power=4
toughness=3
[/card]
[card]
name=Kelsien, the Plague
abilities=vigilance,haste
auto=lord(this) pexperience/pexperience nonstatic
auto={T}:name(Damage creature) target(creature|opponentbattlefield) transforms((,newability[_DIES_alterexperience:1 opponent],newability[damage:1])) ueot
text=Vigilance, haste -- Kelsien, the Plague gets +1/+1 for each experience counter you have. -- {T}: Kelsien deals 1 damage to target creature you don't control. When that creature dies this turn, you get an experience counter.
mana={R}{W}{B}
type=Legendary Creature
subtype=Human Assassin
power=2
toughness=2
[/card]
[card]
name=Kemba's Legion
abilities=vigilance
text=Vigilance -- Kemba's Legion can block an additional creature for each Equipment attached to Kemba's Legion.
mana={5}{W}{W}
type=Creature
subtype=Cat Soldier
power=4
toughness=6
[/card]
[card]
name=Kenrith's Transformation
target=creature
auto=teach(creature) loseabilities
auto=teach(creature) transforms((,setpower=3,settoughness=3))
auto=teach(creature) transforms((,green,elk))
auto=draw:1 controller
text=Enchant creature -- When Kenrith's Transformation enters the battlefield, draw a card. -- Enchanted creature loses all abilities and is a green Elk creature with base power and toughness 3/3. (It loses all other card types and creature types.)
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Kenrith, the Returned King
auto={R}:lord(creature) trample ueot && haste ueot
auto={1}{G}:counter(1/1,1) target(creature|battlefield)
auto={2}{W}:life:5 target(player)
auto={3}{U}:draw:1 target(player)
auto={4}{B}:moveto(mybattlefield) target(creature|mygraveyard)
text={R}: All creatures gain trample and haste until end of turn. -- {1}{G}: Put a +1/+1 counter on target creature. -- {2}{W}: Target player gains 5 life. -- {3}{U}: Target player draws a card. -- {4}{B}: Put target creature card from a graveyard onto the battlefield under its owner's control.
mana={4}{W}
type=Legendary Creature
subtype=Human Noble
power=5
toughness=5
[/card]
[card]
name=Keral Keep Disciples
auto=@counterremoved(0/0,1,Loyalty) from(planeswalker[chandra]|myBattlefield):damage:1 opponent
auto=@counteradded(0/0,1,Loyalty) from(planeswalker[chandra]|myBattlefield):damage:1 opponent
text=Whenever you activate a loyalty ability of a Chandra planeswalker, Keral Keep Disciples deals 1 damage to each opponent.
mana={2}{R}{R}
type=Creature
subtype=Human Monk
power=4
toughness=3
[/card]
[card]
name=Keranos, God of Storms
abilities=indestructible
auto=this(variable{izzet}<7) transforms((removetypes,newability[becomes(Legendary Enchantment)]))
auto=this(variable{izzet}>6) transforms((Legendary Enchantment Creature))
auto=@each my draw:if type(land[fresh]|myhand)~morethan~0 then draw:1 controller else name(Deals 3 damage) name(Deals 3 damage) damage:3 target(creature,player)
text=Indestructible -- As long as your devotion to blue and red is less than seven, Keranos isn't a creature. -- Reveal the first card you draw on each of your turns. Whenever you reveal a land card this way, draw a card. Whenever you reveal a nonland card this way, Keranos deals 3 damage to target creature or player.
mana={3}{U}{R}
type=Legendary Enchantment Creature
subtype=God
power=6
toughness=5
[/card]
[card]
name=Keskit, the Flesh Sculptor
abilities=partner
auto={T}{S(other *[creature;artifact]|mybattlefield)}{S(other *[creature;artifact]|mybattlefield)}{S(other *[creature;artifact]|mybattlefield)}:name(Look) reveal:3 optionone name(Get 2 cards) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend
text={T}, Sacrifice three other artifacts and/or creatures: Look at the top three cards of your library. Put two of them into your hand and the other into your graveyard. -- Partner (You can have two commanders if both have partner.)
mana={2}{B}
type=Legendary Creature
subtype=Human Artificer
power=1
toughness=3
[/card]
[card]
name=Kess, Dissident Mage
abilities=flying
auto={0}:ability$!name(Give flashback) name(Give flashback) target(*[instant;sorcery]|mygraveyard) tempflashback ueot!$ controller limit:1 myturnonly
text=Flying -- During each of your turns, you may cast an instant or sorcery card from your graveyard. If a card cast this way would be put into your graveyard, exile it instead.
mana={1}{U}{B}{R}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=4
[/card]
[card]
name=Kessig Naturalist
abilities=daybound
backside=Lord of the Ulvenwald
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@combat(attacking) source(this):name(Add 1 mana) ability$!name(Choose one) choice name(Add red) add{R} doesntempty _ choice name(Add green) add{G} doesntempty!$ controller
text=Whenever Kessig Naturalist attacks, add {R} or {G}. Until end of turn, you don't lose this mana as steps and phases end. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Lord of the Ulvenwald
mana={R}{G}
type=Creature
subtype=Human Werewolf
power=2
toughness=2
[/card]
[card]
name=Kestia, the Cultivator
bestow={3}{G}{W}{U}
auto=bestow bstw
auto=bestow teach(creature) 4/4
auto=@combat(attacking) source(creature[enchanted]|myBattlefield):draw:1
auto=@combat(attacking) source(creature[enchantment]|myBattlefield):draw:1
text=Bestow {3}{G}{W}{U} (If you cast this card for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature.) -- Enchanted creature gets +4/+4. -- Whenever an enchanted creature or enchantment creature you control attacks, draw a card.
mana={1}{G}{W}{U}
type=Legendary Enchantment Creature
subtype=Nymph
power=4
toughness=4
[/card]
[card]
name=Kethis, the Hidden Hand
auto=lord(*[legendary]|mycastingzone) altercost(colorless,-1)
auto={E(*[legendary]|mygraveyard)}{E(*[legendary]|mygraveyard)}:all(*[legendary]|mygraveyard) transforms((,newability[canPlayFromGraveyard])) ueot
text=Legendary spells you cast cost {1} less to cast. -- Exile two legendary cards from your graveyard: Until end of turn, each legendary card in your graveyard gains "You may play this card from your graveyard."
mana={W}{B}{G}
type=Legendary Creature
subtype=Elf Advisor
power=3
toughness=4
[/card]
[card]
name=Ketria Crystal
abilities=cycling
auto={T}:Add{G}
auto={T}:Add{U}
auto={T}:Add{R}
autohand=__CYCLING__({2})
text={T}: Add {G}, {U}, or {R}. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}
type=Artifact
[/card]
[card]
name=Ketria Triome
abilities=cycling
auto=tap(noevent)
autohand=__CYCLING__({3})
text=({T}: Add {G}, {U}, or {R}.) -- Ketria Triome enters the battlefield tapped. -- Cycling {3} ({3}, Discard this card: Draw a card.)
type=Land
subtype=Forest Island Mountain
[/card]
[card]
name=Khalni Ambush
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Khalni Territory)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Khalni Territory) name(Khalni Territory) flip(Khalni Territory) forcetype(land)
restriction=type(creature|opponentbattlefield)~morethan~0,type(creature|myBattlefield)~morethan~0
auto=name(fights target creature you don't control) name(fights target creature you don't control) target(creature|mybattlefield) transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) // Khalni Territory
mana={2}{G}
type=Instant
[/card]
[card]
name=Khalni Territory
auto=tap(noevent)
auto={T}:add{G}
text=Khalni Territory enters the battlefield tapped. -- {T}: Add {G}. // {2}{G} Khalni Ambush
type=Land
[/card]
[card]
name=Kharis & the Beholder
abilities=flying
auto=token(Human,Creature Human,1/1,white)
auto=@each my upkeep:name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end
auto=@each my upkeep:token(Human,Creature Human,1/1,white)
auto=@dierolled(this) result(1) from(controller) restriction{type(creature|myBattlefield)~morethan~9}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(2) from(controller) restriction{type(creature|myBattlefield)~morethan~8}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(3) from(controller) restriction{type(creature|myBattlefield)~morethan~7}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(4) from(controller) restriction{type(creature|myBattlefield)~morethan~6}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(5) from(controller) restriction{type(creature|myBattlefield)~morethan~5}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(6) from(controller) restriction{type(creature|myBattlefield)~morethan~4}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(7) from(controller) restriction{type(creature|myBattlefield)~morethan~3}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(8) from(controller) restriction{type(creature|myBattlefield)~morethan~2}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(9) from(controller) restriction{type(creature|myBattlefield)~morethan~1}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(10) from(controller) restriction{type(creature|myBattlefield)~morethan~0}:name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(11) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(12) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(13) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(14) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(15) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(16) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(17) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(18) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(19) from(controller):name(Creatures gain 1/1 counter) all(creature|myBattlefield) counter(1/1)
auto=@dierolled(this) result(20) from(controller):name(Clone all creatures) all(creature[-legendary]|mybattlefield) clone
text=Flying -- When Kharis & The Beholder enters the battlefield and at the beginning of your upkeep, create a 1/1 white Human creature token and make a charisma check. (Roll a d20.) -- If the result plus the number of creatures you control is greater than 11, put a +1/+1 counter on each creature you control. -- If the result is a natural 20, for each nonlegendary creature you control, create a token that's a copy of that creature.
mana={1}{G}{G}{W}{W}
type=Legendary Creature
subtype=Dragon Eye Wizard
power=1
toughness=20
[/card]
[card]
name=Khenra Charioteer
abilities=trample
auto=lord(other creature|mybattlefield) trample
text=Trample -- Other creatures you control have trample.
mana={1}{R}{G}
type=Creature
subtype=Jackal Warrior
power=3
toughness=3
[/card]
[card]
name=Khenra Eternal
auto=_BLOCKED_life:-1 opponent
text=Afflict 1 (Whenever this creature becomes blocked, defending player loses 1 life.)
mana={1}{B}
type=Creature
subtype=Zombie Jackal Warrior
power=2
toughness=2
[/card]
[card]
name=Khenra Scrapper
abilities=menace
auto=@exerted(this):2/0 ueot
auto=_ATTACKING_may exert
text=Menace -- You may exert Khenra Scrapper as it attacks. When you do, it gets +2/+0 until end of turn. (An exerted creature won't untap during your next untap step.)
mana={2}{R}
type=Creature
subtype=Jackal Warrior
power=2
toughness=3
[/card]
[card]
name=Kheru Lich Lord
auto={2}{B}:moverandom(creature) from(mygraveyard) to(mybattlefield) && target(creature[fresh]|myBattlefield) transforms((,unearth,haste,trample,flying)) ueot myUpkeepOnly
text=At the beginning of your upkeep, you may pay {2}{B}. If you do, return a creature card at random from your graveyard to the battlefield. It gains flying, trample, and haste. Exile that card at the beginning of your next end step. If it would leave the battlefield, exile it instead of putting it anywhere else.
mana={3}{B}{G}{U}
type=Creature
subtype=Zombie Wizard
power=4
toughness=4
[/card]
[card]
name=Kheru Mind-Eater
abilities=menace
auto=@combatdamagefoeof(player) from(this):ability$!name(Discard a card) notatarget(*|myhand) moveto(opponentexile) and!( counter(0/0,1,KheruExiled) )! !$ opponent
auto=@combatdamageof(player) from(this):name(Discard a card) name(Discard a card) notatarget(*|myhand) moveto(myexile) and!( counter(0/0,1,KheruExiled) )!
auto=lord(*[counter{0/0.1.KheruExiled}]|myexile) transforms((,newability[canplayfromexile]))
text=Menace -- Whenever Kheru Mind-Eater deals combat damage to a player, that player exiles a card from their hand face down. -- You may look at cards exiled with Kheru Mind-Eater, and you may play lands and cast spells from among those cards.
mana={2}{B}
type=Creature
subtype=Vampire
power=1
toughness=3
[/card]
[card]
name=Khorvath Brightflame
abilities=flying,haste,partner
auto=may name(Put partner in hand) moveto(myhand) target(sylvia brightspear|mylibrary)
auto=lord(knight|myBattlefield) flying
auto=lord(knight|myBattlefield) haste
text=Partner with Sylvia Brightspear (When this creature enters the battlefield, target player may put Sylvia into their hand from their library, then shuffle.) -- Flying, haste -- Knights your team controls have flying and haste.
mana={5}{R}
type=Legendary Creature
subtype=Dragon
power=3
toughness=4
[/card]
[card]
name=Khorvath's Fury
auto=count(type:*:myhand) && all(*|myhand) reject && draw:countedamountplus1plusend controller
auto=damage:ohandcount opponent
text=For each player, choose friend or foe. Each friend discards all cards from their hand, then draws that many cards plus one. Khorvath's Fury deals damage to each foe equal to the number of cards in their hand.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Kianne, Dean of Substance
other={2}{U}{U} name(Imbraham, Dean of Theory)
otherrestriction=can play creature,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Imbraham, Dean of Theory)
autostack=if paid(alternative) then name(Imbraham, Dean of Theory) name(Imbraham, Dean of Theory) flip(Imbraham, Dean of Theory) forcetype(Legendary Creature)
auto=this(variable{isflipped}<1) {T}:all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[this(cantargetcard(*[land]|*) moveto(myhand)],newability[this(cantargetcard(*[-land]|*) counter(0/0.1.study)])) oneshot )!
auto=this(variable{isflipped}<1) {4}{G}:token(Fractal,Creature Fractal,0/0,green,blue) and!( transforms((,newability[if type(*[-land;red;counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land;black;counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land;green;counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land;white;counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)],newability[if type(*[-land;blue;counter{0/0.1.study}]|myexile)~morethan~0 then counter(1/1)])) oneshot )!
text={T}: Exile the top card of your library. If it's a land card, put it into your hand. Otherwise, put a study counter on it. -- {4}{G}: Create a 0/0 green and blue Fractal creature token. Put a +1/+1 counter on it for each different mana value among nonland cards you own in exile with study counters on them. // {2}{U}{U} name(Imbraham, Dean of Theory)
mana={2}{G}
type=Legendary Creature
subtype=Elf Druid
power=2
toughness=2
[/card]
[card]
name=Kick in the Door
target=creature
auto=counter(1/1)
auto=transforms((,newability[haste],newability[cantbeblockedby(creature[wall])])) ueot
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Put a +1/+1 counter on target creature. That creature gains haste until end of turn and can't be blocked by Walls this turn. Venture into the dungeon. (Enter the first room or advance to the next room.)
mana={R}
type=Sorcery
[/card]
[card]
name=Kill Switch
auto={2}{T}:all(other artifact|battlefield) transforms((,newability[tap(noevent)],newability[@each my untap:if type(Kill Switch[tapped]|battlefield)~morethan~0 then tap(noevent)])) forever
text={2}, {T}: Tap all other artifacts. They don't untap during their controllers' untap steps for as long as Kill Switch remains tapped.
mana={3}
type=Artifact
[/card]
[card]
name=Killian, Ink Duelist
abilities=lifelink,menace
auto=@targeted(creature|mybattlefield) from(*[instant;sorcery]|myzones):name(Spells cost 2 less) add{C}{C}
text=Lifelink -- Menace (This creature can't be blocked except by two or more creatures.) -- Spells you cast that target a creature cost 2 less to cast.
mana={W}{B}
type=Legendary Creature
subtype=Human Warlock
power=2
toughness=2
[/card]
[card]
name=Killing Wave
auto=all (creature) transforms((,newability[upcost[{L:X}] sacrifice]))
text=For each creature, its controller sacrifices it unless they pay X life.
mana={X}{B}
type=Sorcery
[/card]
[card]
name=Kindred Boon
auto=chooseatype transforms((,newability[{1}{W}:target(creature[chosentype]|myBattlefield) counter(0/0.1.divinity)])) forever chooseend
auto=lord(creature[counter{0/0.1.divinity}]) indestructible
text=As Kindred Boon enters the battlefield, choose a creature type. -- {1}{W}: Put a divinity counter on target creature you control of the chosen type. -- Each creature you control with a divinity counter on it has indestructible.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Kindred Charge
auto=chooseatype clone with(unearth,haste) all(creature[chosentype]|mybattlefield) chooseend
text=Choose a creature type. For each creature you control of the chosen type, create a token that's a copy of that creature. Those tokens gain haste. Exile them at the beginning of the next end step.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Kindred Discovery
auto=chooseatype transforms((,newability[@movedTo(creature[chosentype]|mybattlefield)}:draw:1], newability[@combat(attacking) source(creature[chosentype]|mybattlefield)}:draw:1])) forever chooseend
text=As Kindred Discovery enters the battlefield, choose a creature type. -- Whenever a creature you control of the chosen type enters the battlefield or attacks, draw a card.
mana={3}{U}{U}
type=Enchantment
[/card]
[card]
name=Kindred Dominance
auto=chooseatype destroy all(creature[-chosentype]) chooseend
text=Choose a creature type. Destroy all creatures that aren't of the chosen type.
mana={5}{B}{B}
type=Sorcery
[/card]
[card]
name=Kindred Summons
auto=chooseatype if type(creature[chosentype]|myBattlefield)~equalto~1 then name(Search 1 creature) name(Search 1 creature) target(<1>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~2 then name(Search 2 creatures) name(Search 2 creatures) target(<2>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~3 then name(Search 3 creatures) name(Search 3 creatures) target(<3>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~4 then name(Search 4 creatures) name(Search 4 creatures) target(<4>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~5 then name(Search 5 creatures) name(Search 5 creatures) target(<5>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~6 then name(Search 6 creatures) name(Search 6 creatures) target(<6>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~7 then name(Search 7 creatures) name(Search 7 creatures) target(<7>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~8 then name(Search 8 creatures) name(Search 8 creatures) target(<8>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~9 then name(Search 9 creatures) name(Search 9 creatures) target(<9>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~10 then name(Search 10 creatures) name(Search 10 creatures) target(<10>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~11 then name(Search 11 creatures) name(Search 11 creatures) target(<11>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~12 then name(Search 12 creatures) name(Search 12 creatures) target(<12>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~13 then name(Search 13 creatures) name(Search 13 creatures) target(<13>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~14 then name(Search 14 creatures) name(Search 14 creatures) target(<14>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~15 then name(Search 15 creatures) name(Search 15 creatures) target(<15>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~16 then name(Search 16 creatures) name(Search 16 creatures) target(<16>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~17 then name(Search 17 creatures) name(Search 17 creatures) target(<17>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~18 then name(Search 18 creatures) name(Search 18 creatures) target(<18>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~equalto~19 then name(Search 19 creatures) name(Search 19 creatures) target(<19>creature[chosentype]|mylibrary) moveto(myBattlefield) else if type(creature[chosentype]|myBattlefield)~morethan~19 then name(Search 20 creatures) name(Search 20 creatures) target(<20>creature[chosentype]|mylibrary) moveto(myBattlefield) chooseend
text=Choose a creature type. Reveal cards from the top of your library until you reveal X creature cards of the chosen type, where X is the number of creatures you control of that type. Put those cards onto the battlefield, then shuffle the rest of the revealed cards into your library.
mana={5}{G}{G}
type=Instant
[/card]
[card]
name=Kinetic Augur
abilities=trample
anyzone=pginstantsorcery/4 cdaactive
auto=ability$!name(discard 2 cards) notatarget(<2>*|myhand) reject!$ controller && draw:2 controller
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- Kinetic Augur's power is equal to the number of instant and sorcery cards in your graveyard. -- When Kinetic Augur enters the battlefield, discard up to two cards, then draw that many cards.
mana={3}{R}
type=Creature
subtype=Human Shaman
power=*
toughness=4
[/card]
[card]
name=King Harald's Revenge
target=creature
auto=foreach(creature|myBattlefield) 1/1
auto=transforms((,newability[trample],newability[_ATTACKING_all(creature|opponentbattlefield) mustblock ueot])) ueot
text=Until end of tun, target creature gets +1/+1 for each creature you control and gains trample. It must be blocked this turn if able.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=King Narfi's Betrayal
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=transforms((,newability[deplete:4 opponent],newability[deplete:4 controller],newability[may name(Exile creature or planeswalker) target(*[creature;planeswalker]|opponentgraveyard) moveto(myexile) and!( counter(KingOppExiled) )!],newability[ability$!name(Exile creature or planeswalker) may name(Exile creature or planeswalker) target(*[creature;planeswalker]|mygraveyard) moveto(exile) and!( counter(0/0.1.KingExiled) )! !$ controller])) oneshot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) all(*[counter{KingOppExiled}]!myexile) transforms((,newability[canplayfromexile],newability[anytypeofmana])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) all(*[counter{KingExiled}]!myexile) transforms((,newability[canplayfromexile],newability[anytypeofmana])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(*[counter{KingOppExiled}]!myexile) transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once checkex] moveto(ownerexile)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(*[counter{KingExiled}]!myexile) transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once checkex] counter(0/0.-1.KingExiled)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Each player mills four cards. Then you may exile a creature or planeswalker card from each graveyard. -- II, III - Until end of turn, you may cast spells from among cards exiled with King Narfi's Betrayal, and you may spend mana as though it were mana of any color to cast those spells.
mana={1}{U}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=King of the Pride
auto=all(creature[cat]|myBattlefield) 2/1
text=Other Cats you control get +2/+1.
mana={2}{W}
type=Creature
subtype=Cat
power=2
toughness=1
[/card]
[card]
name=Kinjalli's Caller
auto=lord(dinosaur|myhand) altercost(colorless, -1)
text=Dinosaur spells you cast cost {1} less to cast.
mana={W}
type=Creature
subtype=Human Cleric
power=0
toughness=3
[/card]
[card]
name=Kinjalli's Sunwing
abilities=flying
auto=@movedto(creature|opponentbattlefield):tap all(trigger)
text=Flying -- Creatures your opponents control enter the battlefield tapped.
mana={2}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=3
[/card]
[card]
name=Kinnan, Bonder Prodigy
aicode=activate transforms((,newability[if type(creature[-human;zpos<=5]|myLibrary)~morethan~0 then target(creature[-human;zpos<=5]|myLibrary) moveTo(myBattlefield) and!( all(other *[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot
auto={5}{G}{U}:name(look) reveal:5 optionone name(Get a non-Human)target(<upto:1>creature[-human]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!( moveto(myBattlefield) )! afterrevealedend revealend
auto=lord(*[-land]|myBattlefield) transforms((,newability[@tappedformana(this|*):ability$!name(Add one mana) choice add{1} _ choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W} !$ controller]))
text=Whenever you tap a nonland permanent for mana, add one mana of any type that permanent produced. -- {5}{G}{U}: Look at the top five cards of your library. You may put a non-Human creature card from among them onto the battlefield. Put the rest on the bottom of your library in a random order.
mana={G}{U}
type=Legendary Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Kinsbaile Courier
auto=counter(1/1) target(creature)
autograveyard={2}{W}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=When Kinsbaile Courier enters the battlefield, put a +1/+1 counter on target creature. -- Encore {2}{W} ({2}{W}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={2}{W}
type=Creature
subtype=Kithkin Soldier
power=2
toughness=1
[/card]
[card]
name=Kiora Bests the Sea God
auto=token(Kraken Omi)
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) untap all(*[-land]|opponentbattlefield) && frozen
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) MoveTo(myBattlefield) target(*|opponentbattlefield) && untap && sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Create an 8/8 blue Kraken creature token with hexproof. -- II - Tap all nonland permanents target opponent controls. They don't untap during their controller's next untap step. -- III - Gain control of target permanent an opponent controls. Untap it.
mana={5}{U}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Kiora's Dambreaker
auto=_PROLIFERATE_
text=When Kiora's Dambreaker enters the battlefield, proliferate. (Choose any number of permanents and/or players, then give each a counter of each kind already there.)
mana={5}{U}
type=Creature
subtype=Leviathan
power=5
toughness=6
[/card]
[card]
name=Kiora's Dismissal
abilities=hasnokicker,hasstrive
kicker=multi{U} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>enchantment) moveto(ownerhand)
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>enchantment) moveto(ownerhand)
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>enchantment) moveto(ownerhand)
text=Strive - Kiora's Dismissal costs {U} more to cast for each target beyond the first. -- Return any number of target enchantments to their owners' hands.
mana={U}
type=Instant
[/card]
[card]
name=Kira, Great Glass-Spinner
abilities=flying
auto=lord(other creature|mybattlefield) transforms((,newability[@targeted(this) turnlimited:name(Counter spell) all(trigger[from]) fizzle]))
auto=@targeted(this) turnlimited:name(Counter spell) target(*|stack) fizzle
text=Flying -- Creatures you control have "Whenever this creature becomes the target of a spell or ability for the first time in a turn, counter that spell or ability."
mana={1}{U}{U}
type=Legendary Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Kitchen Imp
abilities=madness,flying,haste
autoexile=restriction{discarded} pay({B}) name(pay B to cast) activate name(pay B to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
text=Flying, haste -- Madness {B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={3}{B}
type=Creature
subtype=Imp
power=2
toughness=2
[/card]
[card]
name=Kitesail Cleric
abilities=flying
kicker={2}{W}
auto=if paid(kicker) then tap target(<upto:2>creature)
text=Kicker {2}{W} (You may pay an additional {2}{W} as you cast this spell.) -- Flying -- When Kitesail Cleric enters the battlefield, if it was kicked, tap up to two target creatures.
mana={W}
type=Creature
subtype=Kor Cleric
power=1
toughness=1
[/card]
[card]
name=Kitesail Corsair
auto=_ATTACKING_flying
text=Kitesail Corsair has flying as long as it's attacking.
mana={1}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=1
[/card]
[card]
name=Kitesail Freebooter
abilities=flying
auto=hand(blink)forsrc target(*[-land;-creature]|opponenthand)
text=Flying -- When Kitesail Freebooter enters the battlefield, target opponent reveals his or her hand. You choose a noncreature, nonland card from it. Exile that card until Kitesail Freebooter leaves the battlefield.
mana={1}{B}
type=Creature
subtype=Human Pirate
power=1
toughness=2
[/card]
[card]
name=Kitesail Skirmisher
abilities=flying
auto=_ATTACKING_name(Other creature gains flying) target(other creature|myBattlefield) transforms((,newability[flying])) ueot
autograveyard={4}{U}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Flying -- Whenever Kitesail Skirmisher attacks, another target creature attacking the same player or planeswalker gains flying until end of turn. -- Encore {4}{U} ({4}{U}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={3}{U}
type=Creature
subtype=Human Pirate
power=3
toughness=1
[/card]
[card]
name=Kitsune Mystic
auto=this(auras >= 2) phaseaction[endofturn once] flip(Autumn-Tail, Kitsune Sage) limit:1
text=At the beginning of the end step, if Kitsune Mystic is enchanted by two or more Auras, flip it.
mana={3}{W}
type=Creature
subtype=Fox Wizard
power=2
toughness=3
color=white
[/card]
[card]
name=Kjeldoran Elite Guard
auto={T}:target(creature) transforms((,newability[2/2 ueot],newability[@movedTo(this|mygraveyard):target(Kjeldoran Elite Guard|mybattlefield) sacrifice])) ueot restriction{during battle}
text={T}: Target creature gets +2/+2 until end of turn. When that creature leaves the battlefield this turn, sacrifice Kjeldoran Elite Guard. Activate this ability only during combat.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Kjeldoran Guard
auto=if type(land[snow]|opponentBattlefield)~lessthan~1 then {T}:target(creature) transforms((,newability[1/1 ueot],newability[@movedTo(this|mygraveyard):target(Kjeldoran Guard|mybattlefield) sacrifice])) ueot restriction{during battle}
text={T}: Target creature gets +1/+1 until end of turn. When that creature leaves the battlefield this turn, sacrifice Kjeldoran Guard. Activate this ability only during combat and only if defending player controls no snow lands.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Klauth's Will
other={X}{R}{R}{G} name(Cast with commander)
otherrestriction=type(*[iscommander]|mybattlefield)~morethan~0
restriction=type(*[iscommander]|mybattlefield)~equalto~0
auto=if type(creature[flying]|battlefield)~morethan~0 then choice name(Damage all flying creature) name(Damage all flying creature) all(creature[flying]|battlefield) damage:fullpaid
auto=if type(*[artifact;enchantment]|battlefield)~morethan~0 then choice name(Destroy artifacts or enchantments) name(Destroy artifacts or enchantments) target(<upto:fullpaid>*[artifact;enchantment]|battlefield) destroy
auto=if paid(alternative) then if type(creature[flying]|battlefield)~morethan~0 then if type(*[artifact;enchantment]|battlefield)~morethan~0 then choice name(Choose both) name(Choose both) name(Choose both) name(Choose both) all(creature[flying]|battlefield) damage:fullpaid && target(<upto:fullpaid>*[artifact;enchantment]|battlefield) destroy
text=Choose one. If you control a commander as you cast this spell, you may choose both. -- Breathe Flame - Klauth's Will deals X damage to each creature without flying. -- Smash Relics - Destroy up to X target artifacts and/or enchantments.
mana={X}{R}{R}{G}
type=Instant
[/card]
[card]
name=Klauth, Unrivaled Ancient
abilities=flying,haste
auto=@combat(attacking) source(this) restriction{type(*[-land]|myrestrictedcastingzone)~morethan~0}:name(Add mana) thisforeach(variable{pwrtotatt}>0) ability$!name(Choose one) choice name(Add white) add{W} doesntempty _ choice name(Add blue) add{U} doesntempty _ choice name(Add red) add{R} doesntempty _ choice name(Add green) add{G} doesntempty _ choice name(Add black) add{B} doesntempty!$ controller
text=Flying, haste -- Whenever Klauth, Unrivaled Ancient attacks, add X mana in any combination of colors, where X is the total power of attacking creatures. Spend this mana only to cast spells. Until end of turn, you don't lose this mana as steps and phases end.
mana={5}{R}{G}
type=Legendary Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Klothys's Design
auto=all(creature|myBattlefield) type:manaG:mybattlefield/type:manaG:mybattlefield ueot
text=Creatures you control get +X/+X until end of turn, where X is your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.)
mana={5}{G}
type=Sorcery
[/card]
[card]
name=Klothys, God of Destiny
abilities=indestructible
auto=this(variable{gruul}<7) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{gruul}>6) transforms((Legendary Enchantment Creature))
#auto=@each my combatbegins:moveTo(exile) target(*|myGraveyard):life:2 controller && damage:2 target(opponent)
auto=@each my combatbegins:choice moveTo(exile) target(*[Land]|myGraveyard) and!(Add{R})!
auto=@each my combatbegins:choice moveTo(exile) target(*[Land]|myGraveyard) and!(Add{G})!
text=Indestructible -- As long as your devotion to red and green is less than seven, Klothys isn't a creature. -- At the beginning of your precombat main phase, exile target card from a graveyard. If it was a land card, add {R} or {G}. Otherwise, you gain 2 life and Klothys deals 2 damage to each opponent.
mana={1}{R}{G}
type=Legendary Enchantment Creature
subtype=God
power=4
toughness=5
[/card]
[card]
name=Knight Bas
abilities=vigilance
type=Creature
subtype=Knight
power=2
toughness=2
color=white
[/card]
[card]
name=Knight Val
abilities=vigilance
type=Creature
subtype=Knight
power=2
toughness=2
color=white
[/card]
[card]
name=Knight of Autumn
auto=choice counter(1/1,2)
auto=choice destroy target(artifact,enchantment)
auto=choice life:4
text=When Knight of Autumn enters the battlefield, Choose one -- Put two +1/+1 counters on Knight of Autumn. -- Destroy target artifact or enchantment. -- You gain 4 life.
mana={1}{G}{W}
type=Creature
subtype=Dryad Knight
power=2
toughness=1
[/card]
[card]
name=Knight of Dusk
auto={B}{B}:destroy target(creature[blocking]) limit:1
text={B}{B}: Destroy target creature blocking Knight of Dusk.
mana={1}{B}{B}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Knight of Grace
abilities=first strike
auto=cantbetargetof(*[black])
auto=aslongas(*[black]|Battlefield) 1/0
text=First strike -- Hexproof from black (This creature can't be the target of black spells or abilities your opponents control.) -- Knight of Grace gets +1/+0 as long as any player controls a black permanent.
mana={1}{W}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Knight of Malice
abilities=first strike
auto=cantbetargetof(*[white])
auto=aslongas(*[white]|Battlefield) 1/0
text=First strike -- Hexproof from white (This creature can't be the target of white spells or abilities your opponents control.) -- Knight of Malice gets +1/+0 as long as any player controls a white permanent.
mana={1}{B}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Knight of New Benalia
mana={1}{W}
type=Creature
subtype=Human Knight
power=3
toughness=1
[/card]
[card]
name=Knight of Old Benalia
suspend(5)={W}
auto=lord(creature|myBattlefield) 1/1 ueot
text=Suspend 5-{W} (Rather than cast this card from your hand, you may pay {W} and exile it with five time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.) -- When Knight of Old Benalia enters the battlefield, other creatures you control get +1/+1 until end of turn.
mana={3}{W}{W}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Knight of Sorrows
auto=_DIES_token(Spirit,Creature Spirit,1/1,white,black,flying)
text=Knight of Sorrows can block an additional creature each combat. -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.)
mana={4}{W}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Knight of the Ebon Legion
auto={2}{B}:deathtouch && 3/3
auto=@each my endofturn foelost(4):1/1
text={2}{B}: Knight of the Ebon Legion gets +3/+3 and gains deathtouch until end of turn. -- At the beginning of your end step, if a player lost 4 or more life this turn, put a +1/+1 counter on Knight of the Ebon Legion. (Damage causes loss of life.)
mana={B}
type=Creature
subtype=Vampire Knight
power=1
toughness=2
[/card]
[card]
name=Knight of the Holy Nimbus
abilities=flanking
auto={0}:regenerate
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) cantregen notatarget(Knight of the Holy Nimbus|opponentBattlefield) ueot?donothing!$ opponent])) forever
text=Flanking (Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn.) -- If Knight of the Holy Nimbus would be destroyed, regenerate it. -- {2}: Knight of the Holy Nimbus can't be regenerated this turn. Only any opponent may activate this ability.
mana={W}{W}
type=Creature
subtype=Human Rebel Knight
power=2
toughness=2
[/card]
[card]
name=Knight of the Keep
mana={2}{W}
type=Creature
subtype=Human Knight
power=3
toughness=2
[/card]
[card]
name=Knight of the Last Breath
abilities=flying
auto={3}{S(other creature[-token]|mybattlefield)}:create(Spirit:creature Spirit:1/1:white,black:flying)
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)
text={3}, Sacrifice another nontoken creature: Create a 1/1 white and black Spirit creature token with flying. -- Afterlife 3 (When this creature dies, create three 1/1 white and black Spirit creature tokens with flying.)
mana={5}{W}{B}
type=Creature
subtype=Giant Knight
power=4
toughness=4
[/card]
[card]
name=Knight of the Stampede
auto=lord(*[dinosaur]|mycastingzone) altercost(colorless,-2)
text=Dinosaur spells you cast cost {2} less to cast.
mana={3}{G}
type=Creature
subtype=Human Knight
power=2
toughness=4
[/card]
[card]
name=Knight of the Tusk
abilities=vigilance
text=Vigilance (Attacking doesn't cause this creature to tap.)
mana={4}{W}{W}
type=Creature
subtype=Human Knight
power=3
toughness=7
[/card]
[card]
name=Knight's Pledge
target=creature
auto=teach(creature) +2/+2
text=Enchant creature -- Enchanted creature gets +2/+2.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Knighted Myr
auto={2}{W}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.1)])) forever
auto=@counteradded(1/1) from(this):name(Gains double strike) transforms((,newability[double strike])) ueot
text={2}{W}: Adapt 1. (If this creature has no +1/+1 counters on it, put a +1/+1 counter on it.) -- Whenever one or more +1/+1 counters are put on Knighted Myr, it gains double strike until end of turn.
mana={2}{W}
type=Artifact Creature
subtype=Myr Knight
power=2
toughness=2
[/card]
[card]
name=Knights of the Black Rose
auto=_MONARCH_CONTROLLER_
auto=@becomesmonarchfoeof(player):life:-2 opponent && life:2 controller
text=When Knights of the Black Rose enters the battlefield, you become the monarch. -- Whenever an opponent becomes the monarch, if you were the monarch as the turn began, that player loses 2 life and you gain 2 life.
mana={3}{W}{B}
type=Creature
subtype=Human Knight
power=4
toughness=4
[/card]
[card]
name=Knights' Charge
auto=@combat(attacking) source(creature[Knight]|mybattlefield):life:1 controller
auto=@combat(attacking) source(creature[Knight]|mybattlefield):life:-1 opponent
auto={6}{W}{B}{S}:moveTo(mybattlefield) all(creature[Knight]|mygraveyard)
text=Whenever a Knight you control attacks, each opponent loses 1 life and you gain 1 life. -- {6}{W}{B}, Sacrifice Knights' Charge: Return all Knight creature cards from your graveyard to the battlefield.
mana={1}{W}{B}
type=Enchantment
[/card]
[card]
name=Knowledge and Power
auto=@scryed(*|mybattlefield,mystack):name(Pay 2) pay({2}) name(Deal 2 damages) target(creature,player) damage:2
text=Whenever you scry, you may pay {2}. If you do, Knowledge and Power deals 2 damage to target creature or player.
mana={4}{R}
type=Enchantment
[/card]
[card]
name=Kodama of the Center Tree
anyzone=type:spirit:myBattlefield/type:spirit:myBattlefield cdaactive
auto=@movedto(this|mygraveyard):moveto(mybattlefield) target(spirit[manacost<=type:spirit:myBattlefield]|mygraveyard)
text=Kodama of the Center Tree's power and toughness are each equal to the number of Spirits you control. -- Kodama of the Center Tree has soulshift X, where X is the number of Spirits you control. (When this creature dies, you may return target Spirit card with converted mana cost X or less from your graveyard to your hand.)
mana={4}{G}
type=Legendary Creature
subtype=Spirit
power=*
toughness=*
[/card]
[card]
name=Kodama of the East Tree
abilities=reach,partner
auto=@movedTo(*[manacost=0]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=0]|myHand)
auto=@movedTo(*[manacost=1]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=1]|myHand)
auto=@movedTo(*[manacost=2]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=2]|myHand)
auto=@movedTo(*[manacost=3]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=3]|myHand)
auto=@movedTo(*[manacost=4]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=4]|myHand)
auto=@movedTo(*[manacost=5]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=5]|myHand)
auto=@movedTo(*[manacost=6]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=6]|myHand)
auto=@movedTo(*[manacost=7]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=7]|myHand)
auto=@movedTo(*[manacost=8]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=8]|myHand)
auto=@movedTo(*[manacost=9]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=9]|myHand)
auto=@movedTo(*[manacost=10]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=10]|myHand)
auto=@movedTo(*[manacost=11]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=11]|myHand)
auto=@movedTo(*[manacost=12]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=12]|myHand)
auto=@movedTo(*[manacost=13]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=13]|myHand)
auto=@movedTo(*[manacost=14]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=14]|myHand)
auto=@movedTo(*[manacost=15]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=15]|myHand)
auto=@movedTo(*[manacost=16]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=16]|myHand)
auto=@movedTo(*[manacost=17]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=17]|myHand)
auto=@movedTo(*[manacost=18]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=18]|myHand)
auto=@movedTo(*[manacost=19]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=19]|myHand)
auto=@movedTo(*[manacost=20]|myBattlefield) from(mystack,mylibrary,mysideboard,mygraveyard,myexile):moveTo(myBattlefield) target(*[manacost<=20]|myHand)
text=Reach -- Whenever another permanent enters the battlefield under your control, if it wasn't put onto the battlefield with this ability, you may put a permanent card with equal or lesser converted mana cost from your hand onto the battlefield. -- Partner (You can have two commanders if both have partner.)
mana={4}{G}{G}
type=Legendary Creature
subtype=Spirit
power=6
toughness=6
[/card]
[card]
name=Kogla, the Titan Ape
auto=target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>
auto=@combat(attaking) source(this):destroy target(artifact,enchantment|opponentBattlefield)
auto={1}{G}{H(human|mybattlefield)}:indestructible ueot
text=When Kogla, the Titan Ape enters the battlefield, it fights up to one target creature you don't control. -- Whenever Kogla attacks, destroy target artifact or enchantment defending player controls. -- {1}{G}: Return target Human you control to its owner's hand. Kogla gains indestructible until end of turn.
mana={3}{G}{G}{G}
type=Legendary Creature
subtype=Ape
power=7
toughness=6
[/card]
[card]
name=Kolaghan's Command
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and opponent discards) name(Return creature and opponent discards) target(creature|mygraveyard) moveto(myhand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and you discard) name(Return creature and you discard) target(creature|mygraveyard) moveto(myhand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller
auto=if type(creature|mygraveyard)~morethan~0 then if type(artifact|battlefield)~morethan~0 then choice name(Return creature and destroy artifact) name(Return creature and destroy artifact) name(Return creature and destroy artifact) target(creature|mygraveyard) moveto(myhand) && ability$!name(Destroy artifact) name(Destroy artifact) destroy target(artifact)!$ controller
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and deals damage) name(Return creature and deals damage) target(creature|mygraveyard) moveto(myhand) && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(player,creature)!$ controller
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and opponent discards) name(Destroy artifact and opponent discards) target(artifact) destroy && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and you discard) name(Destroy artifact and you discard) target(artifact) destroy && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller
auto=choice name(Deals damage and opponent discards) damage:2 target(player,creature) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=choice name(Deals damage and you discard) damage:2 target(player,creature) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and deals damage) name(Destroy artifact and deals damage) target(artifact) destroy && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(player,creature)!$ controller
text=Choose two -- Return target creature card from your graveyard to your hand. -- Target player discards a card. -- Destroy target artifact. -- Kolaghan's Command deals 2 damage to target creature or player.
mana={1}{B}{R}
type=Instant
[/card]
[card]
name=Koll, the Forgemaster
auto=lord(other creature[-token;geared]|mybattlefield) transforms((,newability[handdeath]))
auto=lord(other creature[-token;enchanted]|mybattlefield) transforms((,newability[handdeath]))
auto=lord(creature[token;enchanted]|mybattlefield) 1/1
auto=lord(creature[token;geared]|mybattlefield) 1/1
text=Whenever another nontoken creature you control dies, if it was enchanted or equipped, return it to its owner's hand. -- Creature tokens you control that are enchanted or equipped get +1/+1.
mana={R}{W}
type=Legendary Creature
subtype=Dwarf Warrior
power=2
toughness=2
[/card]
[card]
name=Kolvori, God of Kinship
other={1}{G} name(The Ringhart Crest)
otherrestriction=can play artifact,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(The Ringhart Crest)
autostack=if paid(alternative) then flip(The Ringhart Crest) forcetype(Legendary Artifact)
auto=this(variable{isflipped}<1) aslongas(creature[legendary]|mybattlefield) 4/2 >2
auto=this(variable{isflipped}<1) aslongas(creature[legendary]|mybattlefield) vigilance >2
auto=this(variable{isflipped}<1) {1}{G}{T}:name(Reveal 6 cards) reveal:6 optionone name(Get legendary creature) target(creature[legendary]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
aicode=activate target(creature[legendary;zpos<=6]|mylibrary) moveto(myhand)
text=As long as you control three or more legendary creatures, Kolvori, God of Kinship gets +4/+2 and has vigilance. -- {1}{G}, {T}: Look at the top six cards of your library. You may reveal a legendary creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. // {1}{G} The Ringhart Crest
mana={2}{G}{G}
type=Legendary Creature
subtype=God
power=2
toughness=4
[/card]
[card]
name=Koma's Faithful
abilities=lifelink
auto=_DIES_deplete:3 opponent && deplete:3 controller
text=Lifelink -- When Koma's Faithful dies, each player mills three cards. (To mill a card, a player puts the top card of their library into their graveyard.)
mana={2}{B}
type=Creature
subtype=Elf Cleric
power=3
toughness=1
[/card]
[card]
name=Koma, Cosmos Serpent
abilities=nofizzle
auto=@each upkeep:token(Koma's Coil,Creature Serpent,3/3,blue)
auto={S(other serpent|mybattlefield)}:name(Tap permanent) target(*|battlefield) transforms((,newability[tap(noevent)],newability[noactivatedability])) ueot
auto={S(other serpent|mybattlefield)}:name(Gain indestructible) transforms((,newability[indestructible])) ueot
text=This spell can't be countered. -- At the beginning of each upkeep, create a 3/3 blue Serpent creature token named Koma's Coil. -- Sacrifice another Serpent: Choose one -- Tap target permanent. Its activated abilities can't be activated this turn. -- Koma, Cosmos Serpent gains indestructible until end of turn.
mana={3}{G}{G}{U}{U}
type=Legendary Creature
subtype=Serpent
power=6
toughness=6
[/card]
[card]
name=Kopala, Warden of Waves
auto=@targeted(merfolk|myBattlefield) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Spells your opponents cast that target a Merfolk you control cost {2} more to cast. -- Abilities your opponents activate that target a Merfolk you control cost {2} more to activate.
mana={1}{U}{U}
type=Legendary Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Kor Blademaster
abilities=double strike
auto=lord(warrior[geared]|mybattlefield) double strike
text=Double strike -- Equipped Warriors you control have double strike.
mana={1}{W}
type=Creature
subtype=Kor Warrior
power=1
toughness=1
[/card]
[card]
name=Kor Celebrant
auto=life:1 controller
auto=@movedTo(other creature|myBattlefield):life:1 controller
text=Whenever Kor Celebrant or another creature enters the battlefield under your control, you gain 1 life.
mana={2}{W}
type=Creature
subtype=Kor Cleric
power=1
toughness=4
[/card]
[card]
name=Korvold, Fae-Cursed King
abilities=flying
auto=sacrifice target(*|mybattlefield)
auto=_ATTACKING_sacrifice target(*|mybattlefield)
auto=@sacrificed(other *|mybattlefield):counter(1/1,1) all(this) && draw:1
text=Flying -- Whenever Korvold, Fae-Cursed King enters the battlefield or attacks, sacrifice another permanent. -- Whenever you sacrifice a permanent, put a +1/+1 counter on Korvold and draw a card.
mana={2}{B}{R}{G}
type=Legendary Creature
subtype=Dragon Noble
power=4
toughness=4
[/card]
[card]
name=Kraken Omi
type=Creature
subttype=Kraken
power=8
toughness=8
color=blue
[/card]
[card]
name=Kraken Reef
type=Creature
subtype=Kraken
color=blue
power=9
toughness=9
[/card]
[card]
name=Kraken of the Straits
auto=_ATTACKING_lord(creature[power<=type:island:mybattlefield]|opponentbattlefield) cantblock ueot
text=Creatures with power less than the number of Islands you control can't block Kraken of the Straits.
mana={5}{U}{U}
type=Creature
subtype=Kraken
power=6
toughness=6
[/card]
[card]
name=Krark, the Thumbless
abilities=partner
auto=@movedTo(instant,sorcery|mystack):name(flip a coin) all(trigger[to]) flipacoin winability activate castcard(copied noevent) winabilityend loseability fizzleto(hand) loseabilityend flipend
text=Whenever you cast an instant or sorcery spell, flip a coin. If you lose the flip, return that spell to its owner's hand. If you win the flip, copy that spell, and you may choose new targets for the copy. -- Partner (You can have two commanders if both have partner.)
mana={1}{R}
type=Legendary Creature
subtype=Goblin Wizard
power=2
toughness=2
[/card]
[card]
name=Krasis Incubation
target=creature
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=noactivatedability
auto={1}{G}{U}:counter(1/1,2) && moveto(myhand) all(this)
text=Enchant creature -- Enchanted creature can't attack or block, and its activated abilities can't be activated. -- {1}{G}{U}, Return Krasis Incubation to its owner's hand: Put two +1/+1 counters on enchanted creature.
mana={2}{G}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Kraul Foragers
auto=life:1 type:creature:card:mygraveyard
text=Undergrowth - When Kraul Foragers enters the battlefield, you gain 1 life for each creature card in your graveyard.
mana={4}{G}
type=Creature
subtype=Insect Scout
power=4
toughness=4
[/card]
[card]
name=Kraul Harpooner
abilities=reach
auto=may name(Fight with flying creature) type:creature:mygraveyard/0 ueot && transforms((,newability[target(creature[flying]|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Reach -- Undergrowth - When Kraul Harpooner enters the battlefield, choose up to one target creature with flying you don't control. Kraul Harpooner gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard, then you may have Kraul Harpooner fight that creature.
mana={1}{G}
type=Creature
subtype=Insect Warrior
power=3
toughness=2
[/card]
[card]
name=Kraul Raider
abilities=menace
text=Menace (This creature can't be blocked except by two or more creatures.)
mana={2}{B}
type=Creature
subtype=Insect Warrior
power=2
toughness=3
[/card]
[card]
name=Kraul Stinger
abilities=deathtouch
text=Deathtouch
mana={2}{G}
type=Creature
subtype=Insect Assassin
power=2
toughness=2
[/card]
[card]
name=Kraul Swarm
abilities=flying
auto={2}{B}{D(creature|myhand)}:moveto(myhand) all(this)
text=Flying -- {2}{B}, Discard a creature card: Return Kraul Swarm from your graveyard to your hand.
mana={4}{B}
type=Creature
subtype=Insect Warrior
power=4
toughness=1
[/card]
[card]
name=Kraum, Ludevic's Opus
abilities=flying,haste,partner
auto=@movedto(*|opponentStack) restriction{thisturn(*|opponentStack)~equalto~1}:draw:1 controller
text=Flying, haste -- Whenever an opponent casts their second spell each turn, draw a card. -- Partner (You can have two commanders if both have partner.)
mana={3}{U}{R}
type=Legendary Creature
subtype=Zombie Horror
power=4
toughness=4
[/card]
[card]
name=Krav, the Unredeemed
auto=may name(Put partner on your hand) moveto(myhand) target(Regna^ the Redeemer|mylibrary)
auto={B}{S(creature|myBattlefield)}:name(Sacrifice 1 creature and target yourself) name(Sacrifice 1 creature and target yourself) all(this) counter(1/1,1) && life:1 controller && draw:1 controller
auto={B}{S(creature|myBattlefield)}:name(Sacrifice 1 creature and target opponent) name(Sacrifice 1 creature and target opponent) all(this) counter(1/1,1) && life:1 opponent && draw:1 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 2 creatures and target yourself) name(Sacrifice 2 creatures and target yourself) all(this) counter(1/1,2) && life:2 controller && draw:2 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 2 creatures and target opponent) name(Sacrifice 2 creatures and target opponent) all(this) counter(1/1,2) && life:2 opponent && draw:2 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 3 creatures and target yourself) name(Sacrifice 3 creatures and target yourself) all(this) counter(1/1,3) && life:3 controller && draw:3 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 3 creatures and target opponent) name(Sacrifice 3 creatures and target opponent) all(this) counter(1/1,3) && life:3 opponent && draw:3 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 4 creatures and target yourself) name(Sacrifice 4 creatures and target yourself) all(this) counter(1/1,4) && life:4 controller && draw:4 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 4 creatures and target opponent) name(Sacrifice 4 creatures and target opponent) all(this) counter(1/1,4) && life:4 opponent && draw:4 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 5 creatures and target yourself) name(Sacrifice 5 creatures and target yourself) all(this) counter(1/1,5) && life:5 controller && draw:5 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 5 creatures and target opponent) name(Sacrifice 5 creatures and target opponent) all(this) counter(1/1,5) && life:5 opponent && draw:5 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 6 creatures and target yourself) name(Sacrifice 6 creatures and target yourself) all(this) counter(1/1,6) && life:6 controller && draw:6 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 6 creatures and target opponent) name(Sacrifice 6 creatures and target opponent) all(this) counter(1/1,6) && life:6 opponent && draw:6 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 7 creatures and target yourself) name(Sacrifice 7 creatures and target yourself) all(this) counter(1/1,7) && life:7 controller && draw:7 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 7 creatures and target opponent) name(Sacrifice 7 creatures and target opponent) all(this) counter(1/1,7) && life:7 opponent && draw:7 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 8 creatures and target yourself) name(Sacrifice 8 creatures and target yourself) all(this) counter(1/1,8) && life:8 controller && draw:8 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 8 creatures and target opponent) name(Sacrifice 8 creatures and target opponent) all(this) counter(1/1,8) && life:8 opponent && draw:8 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 9 creatures and target yourself) name(Sacrifice 9 creatures and target yourself) all(this) counter(1/1,9) && life:9 controller && draw:9 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 9 creatures and target opponent) name(Sacrifice 9 creatures and target opponent) all(this) counter(1/1,9) && life:9 opponent && draw:9 opponent
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 10 creatures and target yourself) name(Sacrifice 10 creatures and target yourself) all(this) counter(1/1,10) && life:10 controller && draw:10 controller
auto={B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:name(Sacrifice 10 creatures and target opponent) name(Sacrifice 10 creatures and target opponent) all(this) counter(1/1,10) && life:10 opponent && draw:10 opponent
text=Partner with Regna, the Redeemer (When this creature enters the battlefield, target player may put Regna into their hand from their library, then shuffle.) -- {B}, Sacrifice X creatures: Target player draws X cards and gains X life. Put X +1/+1 counters on Krav, the Unredeemed.
mana={4}{B}
type=Legendary Creature
subtype=Demon Krav
power=3
toughness=3
[/card]
[card]
name=Krazy Kow
auto=@each my upkeep:all(this) rolld6 6 winability donothing winabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):name(Sacrifice and damage) name(Sacrifice and damage) sacrifice all(this) && damage:3 opponent && damage:3 controller && damage:3 all(creature|battlefield)
text=During your upkeep, roll a six-sided die. On a 1, sacrifice Krazy Kow and it deals 3 damage to each creature and player.
mana={3}{R}
type=Summon
subtype=Cow
[/card]
[card]
name=Krenko, Tin Street Kingpin
auto=_ATTACKING_create(goblin:goblin creature:1/1:red)*power
auto=_ATTACKING_counter(1/1)
text=Whenever Krenko, Tin Street Kingpin attacks, put a +1/+1 counter on it, then create a number of 1/1 red Goblin creature tokens equal to Krenko's power.
mana={2}{R}
type=Legendary Creature
subtype=Goblin
power=1
toughness=2
[/card]
[card]
name=Kresh the Bloodbraided
auto=@movedTo(other creature[power=1]|graveyard) from(battlefield):may counter(1/1) all(this)
auto=@movedTo(other creature[power=2]|graveyard) from(battlefield):may counter(1/1,2) all(this)
auto=@movedTo(other creature[power=3]|graveyard) from(battlefield):may counter(1/1,3) all(this)
auto=@movedTo(other creature[power=4]|graveyard) from(battlefield):may counter(1/1,4) all(this)
auto=@movedTo(other creature[power=5]|graveyard) from(battlefield):may counter(1/1,5) all(this)
auto=@movedTo(other creature[power=6]|graveyard) from(battlefield):may counter(1/1,6) all(this)
auto=@movedTo(other creature[power=7]|graveyard) from(battlefield):may counter(1/1,7) all(this)
auto=@movedTo(other creature[power=8]|graveyard) from(battlefield):may counter(1/1,8) all(this)
auto=@movedTo(other creature[power=9]|graveyard) from(battlefield):may counter(1/1,9) all(this)
auto=@movedTo(other creature[power=10]|graveyard) from(battlefield):may counter(1/1,10) all(this)
auto=@movedTo(other creature[power=11]|graveyard) from(battlefield):may counter(1/1,11) all(this)
auto=@movedTo(other creature[power=12]|graveyard) from(battlefield):may counter(1/1,12) all(this)
auto=@movedTo(other creature[power=13]|graveyard) from(battlefield):may counter(1/1,13) all(this)
auto=@movedTo(other creature[power=14]|graveyard) from(battlefield):may counter(1/1,14) all(this)
auto=@movedTo(other creature[power=15]|graveyard) from(battlefield):may counter(1/1,15) all(this)
auto=@movedTo(other creature[power=16]|graveyard) from(battlefield):may counter(1/1,16) all(this)
auto=@movedTo(other creature[power=17]|graveyard) from(battlefield):may counter(1/1,17) all(this)
auto=@movedTo(other creature[power=18]|graveyard) from(battlefield):may counter(1/1,18) all(this)
auto=@movedTo(other creature[power=19]|graveyard) from(battlefield):may counter(1/1,19) all(this)
auto=@movedTo(other creature[power>=20]|graveyard) from(battlefield):may counter(1/1,20) all(this)
text=Whenever another creature dies, you may put X +1/+1 counters on Kresh the Bloodbraided, where X is that creature's power.
mana={2}{B}{R}{G}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Kronch Wrangler
abilities=trample
auto=@movedTo(creature[power>=4]|myBattlefield):counter(1/1)
text=Trample -- Whenever a creature with power 4 or greater enters the battlefield under your control, put a +1/+1 counter on Kronch Wrangler.
mana={1}{G}
type=Creature
subtype=Human Warrior
power=2
toughness=1
[/card]
[card]
name=Krosan Druid
kicker={4}{G}
auto=if paid(kicker) then life:10
text=Kicker {4}{G} (You may pay an additional {4}{G} as you cast this spell.) -- When Krosan Druid enters the battlefield, if it was kicked, you gain 10 life.
mana={2}{G}
type=Creature
subtype=Centaur Druid
power=2
toughness=3
[/card]
[card]
name=Kroxa, Titan of Death's Hunger
auto=ifnot paid(retrace) then sacrifice
auto=if type(*|opponenthand)~equalto~0 then life:-3 opponent
auto=if type(*[-land]|opponenthand)~morethan~0 then if type(land|opponenthand)~equalto~0 then ability$!name(Discard non-land card) name(Discard non-land card) reject notatarget(*[-land]|myhand)!$ opponent
auto=if type(*[-land]|opponenthand)~equalto~0 then if type(land|opponenthand)~morethan~0 then ability$!name(Discard land card) name(Discard land card) reject notatarget(land|myhand) and!(life:-3)! !$ opponent
auto=if type(*[-land]|opponenthand)~morethan~0 then if type(land|opponenthand)~morethan~0 then ability$!name(Choose one) choice name(Discard non-land card) reject notatarget(*[-land]|myhand) _ choice name(Discard land card) reject notatarget(land|myhand) and!(life:-3)! !$ opponent
auto=@combat(attacking) source(this) restriction{type(*|opponenthand)~equalto~0}:life:-3 opponent
auto=@combat(attacking) source(this) restriction{type(*[-land]|opponenthand)~morethan~0,type(land|opponenthand)~equalto~0}:ability$!name(Discard non-land) card name(Discard non-land card) reject notatarget(*[-land]|myhand)!$ opponent
auto=@combat(attacking) source(this) restriction{type(*[-land]|opponenthand)~equalto~0,type(land|opponenthand)~morethan~0}:ability$!name(Discard land card) name(Discard land card) reject notatarget(land|myhand) and!(life:-3)! $ opponent
auto=@combat(attacking) source(this) restriction{type(*[-land]|opponenthand)~morethan~0,type(land|opponenthand)~morethan~0}:ability$!name(Choose one) choice name(Discard non-land card) reject notatarget(*[-land]|myhand) _ choice name(Discard land card) reject notatarget(land|myhand) and!(life:-3)! !$ opponent
retrace={B}{B}{R}{R}{E(other *|mygraveyard)}{E(other *|mygraveyard)}{E(other *|mygraveyard)}{E(other *|mygraveyard)}{E(other *|mygraveyard)} name(Escape)
text=When Kroxa enters the battlefield, sacrifice it unless it escaped. -- Whenever Kroxa enters the battlefield or attacks, each opponent discards a card, then each opponent who didn't discard a nonland card this way loses 3 life. -- Escape-{B}{B}{R}{R}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={B}{R}
type=Legendary Creature
subtype=Elder Giant
power=6
toughness=6
[/card]
[card]
name=Kruphix, God of Horizons
abilities=indestructible,nomaxhand
auto=mypoolsave(red)
auto=mypoolsave(white)
auto=mypoolsave(black)
auto=mypoolsave(green)
auto=mypoolsave(blue)
auto=mypoolsave(artifact)
auto=mypoolsave(land)
auto=@movedto(this|nonbattlezone) from(battlefield):name(Terminate effect) name(Terminate effect) transforms((,newability[mypoolsave(red) terminate],newability[mypoolsave(green) terminate],newability[mypoolsave(blue) terminate],newability[mypoolsave(black) terminate],newability[mypoolsave(white) terminate],newability[mypoolsave(artifact) terminate],newability[mypoolsave(land) terminate])) oneshot
auto=@each untap restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each untap restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each untap restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each untap restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each untap restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each upkeep restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each upkeep restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each upkeep restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each upkeep restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each upkeep restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each draw restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each draw restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each draw restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each draw restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each draw restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each firstmain restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each firstmain restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each firstmain restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each firstmain restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each firstmain restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each combatbegins restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each combatbegins restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each combatbegins restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each combatbegins restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each combatbegins restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each combatends restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each combatends restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each combatends restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each combatends restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each combatends restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each secondmain restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each secondmain restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each secondmain restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each secondmain restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each secondmain restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each endofturn restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each endofturn restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each endofturn restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each endofturn restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each endofturn restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=@each cleanup restriction{compare(mybluepoolcount)~morethan~0}:thisforeach(variable{mybluepoolcount}) add{C} && removemana({U})
auto=@each cleanup restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach(variable{mygreenpoolcount}) add{C} && removemana({G})
auto=@each cleanup restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each cleanup restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each cleanup restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=this(variable{simic}<7) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{simic}>6) transforms((Legendary Enchantment Creature))
text=Indestructible -- As long as your devotion to green and blue is less than seven, Kruphix isn't a creature. -- You have no maximum hand size. -- If unused mana would empty from your mana pool, that mana becomes colorless instead.
mana={3}{G}{U}
type=Legendary Enchantment Creature
subtype=God
power=4
toughness=7
[/card]
[card]
name=Krydle of Baldur's Gate
auto=@combatdamaged(player) from(this):name(Gain life and scry) life:-1 opponent && deplete:1 opponent && life:1 controller && scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@each my blockers:name(Pay 2 for unblockable) pay({2}) name(Pay 2 for unblockable) target(creature|myBattlefield) transforms((,newability[unblockable])) ueot
text=Whenever Krydle of Baldur's Gate deals combat damage to a player, that player loses 1 life and mills a card, then you gain 1 life and scry 1. -- Whenever you attack, you may pay {2}. If you do, target creature can't be blocked this turn.
mana={U}{B}
type=Legendary Creature
subtype=Human Elf Rogue
power=1
toughness=3
[/card]
[card]
name=Kuldotha Flamefiend
other={4}{R}{R}{S(*[artifact]|mybattlefield)} name(Sacrifice artifact)
auto=if paid(alternative) then thisforeach(variable{4}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
text=When Kuldotha Flamefiend enters the battlefield, you may sacrifice an artifact. If you do, Kuldotha Flamefiend deals 4 damage divided as you choose among any number of target creatures and/or players.
mana={4}{R}{R}
type=Creature
subtype=Elemental
power=4
toughness=4
[/card]
[card]
name=Kumano's Blessing
target=creature
abilities=flash
auto=@damaged(creature[toughness=1]) from(mytgt):if compare(thatmuch)~morethan~0 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=1]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=2]) from(mytgt):if compare(thatmuch)~morethan~1 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=2]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=3]) from(mytgt):if compare(thatmuch)~morethan~2 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=3]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=4]) from(mytgt):if compare(thatmuch)~morethan~3 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=4]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=5]) from(mytgt):if compare(thatmuch)~morethan~4 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=5]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=6]) from(mytgt):if compare(thatmuch)~morethan~5 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=6]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=7]) from(mytgt):if compare(thatmuch)~morethan~6 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=7]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=8]) from(mytgt):if compare(thatmuch)~morethan~7 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=8]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=9]) from(mytgt):if compare(thatmuch)~morethan~8 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=9]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=10]) from(mytgt):if compare(thatmuch)~morethan~9 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=10]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=11]) from(mytgt):if compare(thatmuch)~morethan~10 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=11]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=12]) from(mytgt):if compare(thatmuch)~morethan~11 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=12]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=13]) from(mytgt):if compare(thatmuch)~morethan~12 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=13]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=14]) from(mytgt):if compare(thatmuch)~morethan~13 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=14]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=15]) from(mytgt):if compare(thatmuch)~morethan~14 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=15]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=16]) from(mytgt):if compare(thatmuch)~morethan~15 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=16]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=17]) from(mytgt):if compare(thatmuch)~morethan~16 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=17]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=18]) from(mytgt):if compare(thatmuch)~morethan~17 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=18]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=19]) from(mytgt):if compare(thatmuch)~morethan~18 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=19]|graveyard) moveto(exile)
auto=@damaged(creature[toughness=20]) from(mytgt):if compare(thatmuch)~morethan~19 then name(Damaged creature goes to exile) name(Damaged creature goes to exile) target(creature[fresh;toughness=20]|graveyard) moveto(exile)
auto=@damaged(creature) from(mytgt):all(trigger[to]) transforms((,newability[exiledeath])) ueot
text=Flash -- Enchant creature -- If a creature dealt damage by enchanted creature this turn would die, exile it instead.
mana={2}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Kumena's Awakening
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=@each my upkeep:name(Draw a card) draw:1 controller
auto=@each my upkeep restriction{type(City's Blessing|mybattlefield)~equalto~0}:name(Opponent draws a card) draw:1 opponent
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- At the beginning of your upkeep, each player draws a card. If you have the city's blessing, instead only you draw a card.
mana={2}{U}{U}
type=Enchantment
[/card]
[card]
name=Kumena's Speaker
auto=aslongas(other *[merfolk;island]|mybattlefield) 1/1
text=Kumena's Speaker gets +1/+1 as long as you control another Merfolk or an Island.
mana={G}
type=Creature
subtype=Merfolk Shaman
power=1
toughness=1
[/card]
[card]
name=Kumena, Tyrant of Orazca
auto={T(other Merfolk|myBattlefield)}:unblockable
auto={T(Merfolk|myBattlefield)}{T(Merfolk|myBattlefield)}{T(Merfolk|myBattlefield)}:draw:1
auto={T(Merfolk|myBattlefield)}{T(Merfolk|myBattlefield)}{T(Merfolk|myBattlefield)}{T(Merfolk|myBattlefield)}{T(Merfolk|myBattlefield)}:counter(1/1) all(merfolk|myBattlefield)
text=Tap another untapped Merfolk you control: Kumena, Tyrant of Orazca can't be blocked this turn. -- Tap three untapped Merfolk you control: Draw a card. -- Tap five untapped Merfolk you control: Put a +1/+1 counter on each Merfolk you control.
mana={1}{G}{U}
type=Legendary Creature
subtype=Merfolk Shaman
power=2
toughness=4
[/card]
[card]
name=Kunoros, Hound of Athreos
abilities=vigilance,menace,lifelink
auto=@movedto(creature|battlefield) from(graveyard):all(trigger[to]) moveto(ownergraveyard)
auto=maxCast(*|graveyard)0
auto=maxCast(*|graveyard)0 opponent
text=Vigilance, menace, lifelink -- Creature cards in graveyards can't enter the battlefield. -- Players can't cast spells from graveyards.
mana={1}{W}{B}
type=Legendary Creature
subtype=Dog
power=3
toughness=3
[/card]
[card]
name=Kurbis, Harvest Celebrant
auto=if compare(ishuman)~equalto~1 then counter(1/1,totmanaspent)
auto=if compare(ishuman)~equalto~0 then counter(1/1,fullpaidplus2plusend)
auto={C(1/1,-1)}:name(Prevent damage to creature) target(other creature[counter{1/1}]|battlefield) transforms((,newability[preventalldamage to(this)])) ueot
text=Kurbis, Harvest Celebrant enters the battlefield with a number of +1/+1 counters on it equal to the amount of mana spent to cast it. -- Remove a +1/+1 counter from Kurbis: Prevent all damage that would be dealt this turn to another target creature with a +1/+1 counter on it.
mana={X}{G}{G}
type=Legendary Creature
subtype=Treefolk
power=0
toughness=0
[/card]
[card]
name=Kwain, Itinerant Meddler
auto={T}:ability$!name(draw and gain life) may draw:1 && life:1!$ controller && ability$!name(draw and gain life) may draw:1 && life:1!$ opponent
text={T}: Each player may draw a card, then each player who drew a card this way gains 1 life.
mana={W}{U}
type=Legendary Creature
subtype=Rabbit Wizard
power=1
toughness=3
[/card]
[card]
name=Kwende, Pride of Femeref
abilities=double strike
auto=lord(other creature[first strike]|myBattlefield) double strike
text=Double strike -- Creatures you control with first strike have double strike.
mana={3}{W}
type=Legendary Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Kydele, Chosen of Kruphix
abilities=partner
auto={T}:thisforeach(variable{pdrewcount}>0) add{C}
text={T}: Add {C} to your mana pool for each card you've drawn this turn. -- Partner (You can have two commanders if both have partner.)
mana={2}{G}{U}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Kykar, Wind's Fury
abilities=flying
auto=@movedTo(*[-creature]|mystack):create(Spirit:creature Spirit:1/1:white:flying)
auto={S(Spirit|myBattlefield)}:add{R}
text=Flying -- Whenever you cast a noncreature spell, create a 1/1 white Spirit creature token with flying. -- Sacrifice a Spirit: Add {R}.
mana={1}{U}{R}{W}
type=Legendary Creature
subtype=Bird Wizard
power=3
toughness=3
[/card]
[card]
name=Kyler, Sigardian Emissary
auto=@movedTo(other human|myBattlefield):name(Put 1/1 counter) counter(1/1)
auto=thisforeach(variable{hascntanycnt}>0) lord(other human|myBattlefield) 1/1
text=Whenever another Human enters the battlefield under your control, put a +1/+1 counter on Kyler, Sigardian Emissary. -- Other Humans you control get +1/+1 for each counter on Kyler, Sigardian Emissary.
mana={3}{G}{W}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Kyren Archive
auto=@each my upkeep:may name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0,1,KyrenExiled) )!
auto={5}{S}:all(*|myhand) reject && ability$!name(Move back exiled cards) name(Move back exiled cards) all(*[counter{0/0.1.KyrenExiled}]|myexile) moveto(ownerhand)!$ controller
text=At the beginning of your upkeep, you may exile the top card of your library face down. -- {5}, Discard your hand, Sacrifice Kyren Archive: Put all cards exiled with Kyren Archive into their owner's hand.
mana={3}
type=Artifact
[/card]
[card]
name=Kytheon, Hero of Akros
backside=Gideon, Battle-Forged
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=_BATTALION_moveto(exile) and!( moveto(ownerbattlefield) and!( flip(backside) )! )!
auto={2}{W}:name(Gains indestructible) transforms((,newability[indestructible])) ueot
text=At end of combat, if Kytheon, Hero of Akros and at least two other creatures attacked this combat, exile Kytheon, then return him to the battlefield transformed under his owner's control. -- {2}{W}: Kytheon gains indestructible until end of turn. // Gideon, Battle-Forged
mana={W}
type=Legendary Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Laboratory Drudge
auto=@movedto(*|mystack) from(mygraveyard) turnlimited:phaseaction[endofturn once] draw:1 controller
text=At the beginning of each end step, draw a card if you've cast a spell from a graveyard or activated an ability of a card in a graveyard this turn.
mana={3}{U}
type=Creature
subtype=Zombie Horror
power=3
toughness=4
[/card]
[card]
name=Labyrinth Guardian
auto=@targeted(this) from(*[instant;sorcery;aura]|mycastingzone):sacrifice
auto=@targeted(this) from(*[instant;sorcery;aura]|opponentcastingzone):sacrifice
autograveyard={3}{U}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=When Labyrinth Guardian becomes the target of a spell, sacrifice it. -- Embalm {3}{U} ({3}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Illusion Warrior with no mana cost. Embalm only as a sorcery.)
mana={1}{U}
type=Creature
subtype=Illusion Warrior
power=2
toughness=3
[/card]
[card]
name=Labyrinth Raptor
abilities=menace
auto=@combat(blocked) source(creature[menace]|mybattlefield):ability$!name(sacrifice a creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto={B}{R}:all(creature[menace]|myBattlefield) 1/0 ueot
text=Menace -- Whenever a creature you control with menace becomes blocked, defending player sacrifices a creature blocking it. -- {B}{R}: Creatures you control with menace get +1/+0 until end of turn.
mana={B}{R}
type=Creature
subtype=Nightmare Dinosaur
power=2
toughness=2
[/card]
[card]
name=Labyrinth of Skophos
auto={T}:Add{C}
auto={4}{T}:removefromcombat target(creature[attacking;blocking]|battlefield)
text={T}:Add {C}. -- {4},{T}: Remove target attacking or blocking creature from combat.
type=Land
[/card]
[card]
name=Laelia, the Blade Reforged
abilities=haste
auto=_ATTACKING_name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )!
auto=@movedto(*|myexile) from(mylibrary,mygraveyard):name(Put 1/1 counter) counter(1/1)
text=Haste -- Whenever Laelia, the Blade Reforged attacks, exile the top card of your library. You may play that card this turn. -- Whenever a spell or ability you control exiles one or more cards from your library and/or your graveyard, put a +1/+1 counter on Laelia.
mana={2}{R}
type=Legendary Creature
subtype=Spirit Warrior
power=2
toughness=2
[/card]
[card]
name=Lagonna-Band Storyteller
auto=may MoveTo(myLibrary) target(enchantment|myGraveyard) then life:storedmanacost
text=When Lagonna-Band Storyteller enters the battlefield, you may put target enchantment card from your graveyard on top of your library. If you do, you gain life equal to its converted mana cost.
mana={3}{W}
type=Creature
subtype=Centaur Advisor
power=3
toughness=4
[/card]
[card]
name=Lair of the Hydra
auto=if compare(type:land:myBattlefield)~morethan~2 then tap(noevent)
auto={T}:Add{G}
auto={1}{G}:name(Becomes a 1/1 hydra) becomes(Creature Hydra,1/1,green) ueot
auto={2}{G}:name(Becomes a 2/2 hydra) becomes(Creature Hydra,2/2,green) ueot
auto={3}{G}:name(Becomes a 3/3 hydra) becomes(Creature Hydra,3/3,green) ueot
auto={4}{G}:name(Becomes a 4/4 hydra) becomes(Creature Hydra,4/4,green) ueot
auto={5}{G}:name(Becomes a 5/5 hydra) becomes(Creature Hydra,5/5,green) ueot
auto={6}{G}:name(Becomes a 6/6 hydra) becomes(Creature Hydra,6/6,green) ueot
auto={7}{G}:name(Becomes a 7/7 hydra) becomes(Creature Hydra,7/7,green) ueot
auto={8}{G}:name(Becomes a 8/8 hydra) becomes(Creature Hydra,8/8,green) ueot
auto={9}{G}:name(Becomes a 9/9 hydra) becomes(Creature Hydra,9/9,green) ueot
auto={10}{G}:name(Becomes a 10/10 hydra) becomes(Creature Hydra,10/10,green) ueot
auto={11}{G}:name(Becomes a 11/11 hydra) becomes(Creature Hydra,11/11,green) ueot
auto={12}{G}:name(Becomes a 12/12 hydra) becomes(Creature Hydra,12/12,green) ueot
auto={13}{G}:name(Becomes a 13/13 hydra) becomes(Creature Hydra,13/13,green) ueot
auto={14}{G}:name(Becomes a 14/14 hydra) becomes(Creature Hydra,14/14,green) ueot
auto={15}{G}:name(Becomes a 15/15 hydra) becomes(Creature Hydra,15/15,green) ueot
auto={16}{G}:name(Becomes a 16/16 hydra) becomes(Creature Hydra,16/16,green) ueot
auto={17}{G}:name(Becomes a 17/17 hydra) becomes(Creature Hydra,17/17,green) ueot
auto={18}{G}:name(Becomes a 18/18 hydra) becomes(Creature Hydra,18/18,green) ueot
auto={19}{G}:name(Becomes a 19/19 hydra) becomes(Creature Hydra,19/19,green) ueot
auto={20}{G}:name(Becomes a 20/20 hydra) becomes(Creature Hydra,10/10,green) ueot
text=If you control two or more other lands, Lair of the Hydra enters the battlefield tapped. -- {T}: Add {G}. -- {X}{G}: Until end of turn, Lair of the Hydra becomes an X/X green Hydra creature. it's still a land. X can't be 0.
type=Land
[/card]
[card]
name=Lambholt Harrier
auto={3}{R}:name(Creature can't block) target(creature) transforms((,newability[cantblock])) ueot
text={3}{R}: Target creature can't block this turn.
type=Creature
subtype=Wolf
mana={1}{R}
power=2
toughness=2
[/card]
[card]
name=Lampad of Death's Vigil
auto={1}{S(creature|mybattlefield)}:life:-1 opponent && life:1 controller
text={1}, Sacrifice a creature: Each opponent loses 1 life and you gain 1 life.
mana={1}{B}
type=Enchantment Creature
subtype=Nymph
power=1
toughness=3
[/card]
[card]
name=Lancer Sliver
auto=lord(creature[sliver]|myBattlefield) first strike
text=Sliver creatures you control have first strike.
mana={2}{W}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Landscaper Colos
aicode=activate target(land[basic]|mylibrary) moveto(myhand)
autohand={1}{W}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(Move to bottom) target(*|opponentgraveyard) transforms((,newability[bottomoflibrary])) ueot
text=When Landscaper Colos enters the battlefield, put target card from an opponent's graveyard on the bottom of their library. -- Basic landcycling {1}{W} ({1}{W}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.)
mana={5}{W}
type=Creature
subtype=Goat Beast
power=4
toughness=6
[/card]
[card]
name=Laquatus's Disdain
target=*|stack
auto=transforms((,newability[if gravecast then fizzle])) forever
auto=draw:1 controller
text=Counter target spell cast from a graveyard. -- Draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Larder Zombie
abilities=defender
aicode=activate may name(Put in graveyard) target(*[zpos=1]|mylibrary) moveto(mygraveyard)
auto={T(creature[-tapped]|mybattlefield)}{T(creature[-tapped]|mybattlefield)}{T(creature[-tapped]|mybattlefield)}:name(Tap 3 creatures and look) reveal:1 optionone name(Put back) target(<upto:1>*|reveal) moveto(mylibrary) optiononeend optiontwo name(put in graveyard) target(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Defender -- Tap three untapped creatures you control: Look at the top card of your library. You may put that card into your graveyard.
mana={U}
type=Creature
subtype=Zombie
power=1
toughness=3
[/card]
[card]
name=Lash of Malice
target=creature
auto=2/-2 ueot
text=Target creature gets +2/-2 until end of turn.
mana={B}
type=Instant
[/card]
[card]
name=Lash of Thorns
target=creature
auto=2/1 ueot
auto=deathtouch ueot
text=Target creature gets +2/+1 and gains deathtouch until end of turn.
mana={B}
type=Instant
[/card]
[card]
name=Last One Standing
restriction=type(creature|battlefield)~morethan~0
auto=count(type:creature:mybattlefield) && countb(type:creature:opponentbattlefield)
auto=if compare(countedbamount)~equalto~0 then thisforeach(variable{countedamountminus1minusend}) moverandom(creature) from(battlefield) to(graveyard)
auto=if compare(countedamount)~equalto~0 then thisforeach(variable{countedbamountminus1minusend}) moverandom(creature) from(opponentbattlefield) to(opponentgraveyard)
auto=if compare(countedamount)~equalto~compare(countedbamount) then thisforeach(variable{countedamountminus1minusend}) moverandom(creature) from(battlefield) to(graveyard)
auto=if compare(countedamount)~equalto~compare(countedbamount) then all(creature|opponentbattlefield) destroy
auto=if compare(countedamount)~morethan~compare(countedbamount) then thisforeach(variable{countedamountminus1minusend}) moverandom(creature) from(battlefield) to(graveyard)
auto=if compare(countedamount)~morethan~compare(countedbamount) then all(creature|opponentbattlefield) destroy
auto=if compare(countedamount)~lessthan~compare(countedbamount) then thisforeach(variable{countedbamountminus1minusend}) moverandom(creature) from(opponentbattlefield) to(opponentgraveyard)
auto=if compare(countedamount)~lessthan~compare(countedbamount) then all(creature|myBattlefield) destroy
text=Choose a creature at random, then destroy the rest.
mana={1}{B}{R}
type=Sorcery
[/card]
[card]
name=Last Rites
auto=name(Discard cards) name(Discard cards) target(<anyamount>*|myhand) transforms((,newability[reject],newability[target(*[-land]|opponenthand) reject])) forever
text=Discard any number of cards. Target player reveals his or her hand, then you choose a nonland card from it for each card discarded this way. That player discards those cards.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Last-Ditch Effort
target=creature,player
auto=if type(*[creature]|mybattlefield)~morethan~0 then choice name(Sacrifice 1 creature) ability$!sacrifice notatarget(*[creature]|mybattlefield)!$ controller && damage:1
auto=if type(*[creature]|mybattlefield)~morethan~1 then choice name(Sacrifice 2 creatures) ability$!sacrifice notatarget(<2>*[creature]|mybattlefield)!$ controller && damage:2
auto=if type(*[creature]|mybattlefield)~morethan~2 then choice name(Sacrifice 3 creatures) ability$!sacrifice notatarget(<3>*[creature]|mybattlefield)!$ controller && damage:3
auto=if type(*[creature]|mybattlefield)~morethan~3 then choice name(Sacrifice 4 creatures) ability$!sacrifice notatarget(<4>*[creature]|mybattlefield)!$ controller && damage:4
auto=if type(*[creature]|mybattlefield)~morethan~4 then choice name(Sacrifice 5 creatures) ability$!sacrifice notatarget(<5>*[creature]|mybattlefield)!$ controller && damage:5
auto=if type(*[creature]|mybattlefield)~morethan~5 then choice name(Sacrifice 6 creatures) ability$!sacrifice notatarget(<6>*[creature]|mybattlefield)!$ controller && damage:6
auto=if type(*[creature]|mybattlefield)~morethan~6 then choice name(Sacrifice 7 creatures) ability$!sacrifice notatarget(<7>*[creature]|mybattlefield)!$ controller && damage:7
auto=if type(*[creature]|mybattlefield)~morethan~7 then choice name(Sacrifice 8 creatures) ability$!sacrifice notatarget(<8>*[creature]|mybattlefield)!$ controller && damage:8
auto=if type(*[creature]|mybattlefield)~morethan~8 then choice name(Sacrifice 9 creatures) ability$!sacrifice notatarget(<9>*[creature]|mybattlefield)!$ controller && damage:9
auto=if type(*[creature]|mybattlefield)~morethan~9 then choice name(Sacrifice 10 creatures) ability$!sacrifice notatarget(<10>*[creature]|mybattlefield)!$ controller && damage:10
auto=if type(*[creature]|mybattlefield)~morethan~10 then choice name(Sacrifice 11 creatures) ability$!sacrifice notatarget(<11>*[creature]|mybattlefield)!$ controller && damage:11
auto=if type(*[creature]|mybattlefield)~morethan~11 then choice name(Sacrifice 12 creatures) ability$!sacrifice notatarget(<12>*[creature]|mybattlefield)!$ controller && damage:12
auto=if type(*[creature]|mybattlefield)~morethan~12 then choice name(Sacrifice 13 creatures) ability$!sacrifice notatarget(<13>*[creature]|mygraveyard)!$ controller && damage:13
auto=if type(*[creature]|mybattlefield)~morethan~13 then choice name(Sacrifice 14 creatures) ability$!sacrifice notatarget(<14>*[creature]|mybattlefield)!$ controller && damage:14
auto=if type(*[creature]|mybattlefield)~morethan~14 then choice name(Sacrifice 15 creatures) ability$!sacrifice notatarget(<15>*[creature]|mybattlefield)!$ controller && damage:15
auto=if type(*[creature]|mybattlefield)~morethan~15 then choice name(Sacrifice 16 creatures) ability$!sacrifice notatarget(<16>*[creature]|mybattlefield)!$ controller && damage:16
auto=if type(*[creature]|mybattlefield)~morethan~16 then choice name(Sacrifice 17 creatures) ability$!sacrifice notatarget(<17>*[creature]|mybattlefield)!$ controller && damage:17
auto=if type(*[creature]|mybattlefield)~morethan~17 then choice name(Sacrifice 18 creatures) ability$!sacrifice notatarget(<18>*[creature]|mybattlefield)!$ controller && damage:18
auto=if type(*[creature]|mybattlefield)~morethan~18 then choice name(Sacrifice 19 creatures) ability$!sacrifice notatarget(<19>*[creature]|mybattlefield)!$ controller && damage:19
auto=if type(*[creature]|mybattlefield)~morethan~19 then choice name(Sacrifice 20 creatures) ability$!sacrifice notatarget(<20>*[creature]|mybattlefield)!$ controller && damage:20
text=Sacrifice any number of creatures. Last-Ditch Effort deals that much damage to target creature or player.
mana={R}
type=Instant
[/card]
[card]
name=Late to Dinner
target=creature|mygraveyard
auto=moveto(myBattlefield)
auto=name(Create food) token(Food)
text=Return target creature card from your graveyard to the battlefield. Create a Food token. (It's an artifact with "{2} , {T}, Sacrifice this artifact: You gain 3 life.")
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Lathiel, the Bounteous Dawn
abilities=lifelink
auto=@each endofturn restriction{compare(lifegain)~morethan~0}:thisforeach(variable{lifegain}) ability$!name(Choose a creature) counter(1/1) target(other creature[-Lathiel])!$ controller
text=Lifelink -- At the beginning of each end step, if you gained life this turn, distribute up to that many +1/+1 counters among any number of other target creatures.
mana={2}{G}{W}
type=Legendary Creature
subtype=Unicorn Lathiel
power=2
toughness=2
[/card]
[card]
name=Lathliss, Dragon Queen
abilities=flying
auto=@movedTo(Dragon[-token]|myBattlefield):create(dragon:creature dragon:5/5:red:flying)
auto={1}{R}:all(dragons|myBattlefield)) 1/0 ueot
text=Flying -- Whenever another nontoken Dragon enters the battlefield under your control, create a 5/5 red Dragon creature token with flying. -- {1}{R}: Dragons you control get +1/+0 until end of turn.
mana={4}{R}{R}
type=Legendary Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Lathril, Blade of the Elves
abilities=menace
auto=@combatdamaged(player) from(this):token(Warrior,Creature Elf Warrior,1/1,green)*thatmuch
auto={T}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}{T(elf[-tapped]|mybattlefield)}:life:10 controller && life:-10 opponent
text=Menace -- Whenever Lathril, Blade of the Elves deals combat damage to a player, create that many 1/1 green Elf Warrior creature tokens. -- {T}, Tap ten untapped Elves you control: Each opponent loses 10 life and you gain 10 life.
mana={2}{B}{G}
type=Legendary Creature
subtype=Elf Noble
power=2
toughness=3
[/card]
[card]
name=Launch the Fleet
abilities=hasnokicker,hasstrive
kicker=multi{1} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[_ATTACKING_token(Soldier^Creature Soldier^1/1^white^battleready)])) ueot
text=Strive - Launch the Fleet costs {1} more to cast for each target beyond the first. -- Until end of turn, any number of target creatures each gain "Whenever this creature attacks, put a 1/1 white Soldier creature token onto the battlefield tapped and attacking."
mana={W}
type=Sorcery
[/card]
[card]
name=Lava Blister
target=land[-basic]
auto=destroy
auto=transforms((,newability[pay[[{L:6}]] name(pay 6 life) donothing?destroy])) forever
text=Destroy target nonbasic land unless its controller has Lava Blister deal 6 damage to him or her.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Lava Burst
#MISSING: damage can't be prevented
target=creature,player
auto=damage:X
text=Lava Burst deals X damage to target creature or player. If Lava Burst would deal damage to a creature, that damage can't be prevented or dealt instead to another creature or player.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Lava Coil
target=creature
auto=damage:4
auto=exiledeath
text=Lava Coil deals 4 damage to target creature. If that creature would die this turn, exile it instead.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Lava Serpent
abilities=haste,cycling
autohand=__CYCLING__({2})
text=Haste -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={5}{R}
type=Creature
subtype=Elemental Serpent
power=5
toughness=5
[/card]
[card]
name=Lava-Field Overlord
abilities=flying
auto=damage:4 target(creature|opponentBattlefield)
text=Assist (Another player can pay up to {7} of this spell's cost.) -- Flying -- When Lava-Field Overlord enters the battlefield, it deals 4 damage to target creature an opponent controls.
mana={7}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=4
[/card]
[card]
name=Lavabelly Sliver
auto=lord(sliver|mybattlefield) transforms((,newability[@movedTo(mybattlefield) from(this):damage:1 target(*[planeswalker;player])]))
text=Sliver creatures you control have "When this creature enters the battlefield, it deals 1 damage to target player or planeswalker and you gain 1 life."
mana={1}{R}{W}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Lavabrink Floodgates
auto={T}:Add{R}{R}
auto=@each my upkeep:may counter(0/0,1,Doom) all(this) && aslongas(Lavabrink Floodgates[counter{0/0.3.Doom}]|myBattlefield) damage:6 all(creature) && aslongas(Lavabrink Floodgates[counter{0/0.3.Doom}]|myBattlefield) sacrifice
auto=@each my upkeep:may counter(0/0,-1,Doom) all(this) 
auto=@each opponent upkeep:may counter(0/0,1,Doom) all(this) && aslongas(Lavabrink Floodgates[counter{0/0.3.Doom}]|myBattlefield) damage:6 all(creature) && aslongas(Lavabrink Floodgates[counter{0/0.3.Doom}]|myBattlefield) sacrifice
auto=@each opponent upkeep:may counter(0/0,-1,Doom) all(this)
text=: Add {R}{R}. -- At the beginning of each player's upkeep, that player may put a doom counter on Lavabrink Floodgates or remove a doom counter from it. Then if it has three or more doom counters on it, sacrifice it. When you do, it deals 6 damage to each creature.
mana={3}{R}
type=Artifact
[/card]
[card]
name=Lavaglide Pathway
auto={T}:add{R}
text={T}: Add {R}. // Riverglide Pathway
type=Land
[/card]
[card]
name=Lavakin Brawler
auto=_ATTACKING_all(this) foreach(elemental|myBattlefield) 1/0 ueot
text=Whenever Lavakin Brawler attacks, it gets +1/+0 until end of turn for each Elemental you control.
mana={3}{R}
type=Creature
subtype=Elemental Warrior
power=2
toughness=4
[/card]
[card]
name=Lavinia, Azorius Renegade
auto=maxCast(*[-creature;manacost>=type:land:opponentbattlefieldplus1plusend])0 opponent ueot
auto=@each opponent untap:transforms((,white,blue,newability[maxCast(*[-creature;manacost>=type:land:opponentbattlefieldplus1plusend])0 opponent ueot])) ueot
auto=@each my untap:transforms((,white,blue,newability[maxCast(*[-creature;manacost>=type:land:opponentbattlefieldplus1plusend])0 opponent ueot])) ueot
auto=@movedto(land|opponentBattlefield):transforms((,white,blue,newability[maxCast(*[-creature;manacost<=type:land:opponentbattlefield])9999 opponent ueot],newability[maxCast(*[-creature;manacost>=type:land:opponentbattlefieldplus1plusend])0 opponent ueot])) ueot
auto=@movedto(land|nonbattlezone) from(opponentBattlefield):transforms((,white,blue,newability[maxCast(*[-creature;manacost>=type:land:opponentbattlefieldplus1plusend])0 opponent ueot])) ueot
text=Each opponent can't cast noncreature spells with converted mana cost greater than the number of lands that player controls. -- Whenever an opponent casts a spell, if no mana was spent to cast it, counter that spell.
mana={W}{U}
type=Legendary Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Law-Rune Enforcer
auto={1}{T}:tap target(creature[manacost>=2])
text={1}, {T}: Tap target creature with converted mana cost 2 or greater.
mana={W}
type=Creature
subtype=Human Soldier
power=1
toughness=2
[/card]
[card]
name=Lawmage's Binding
abilities=flash
target=creature
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=noactivatedability
text=Flash -- Enchant creature -- Enchanted creature can't attack or block, and its activated abilities can't be activated.
mana={1}{W}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Lay Bare the Heart
target=opponent
auto=if type(*[-land;-legendary]|targetedpersonshand)~lessthan~1 then name(look) donothing notatarget(*|targetedpersonshand) else reject notatarget(*[-land;-legendary]|targetedpersonshand)
text=Target opponent reveals his or her hand. You choose a nonlegendary, nonland card from it. That player discards that card.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Lay Claim
abilities=cycling
target=artifact,creature,enchantment,land,planeswalker
alias=1194
autohand=__CYCLING__({2})
text=Enchant permanent -- You control enchanted permanent. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={5}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Lazav, the Multifarious
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
auto=counter(0/0,1,LazavEffect)
auto=emblem transforms((,newability[lord(creature[counter{0/0.1.LazavEffect}]|mybattlefield) transforms((,newability[{X}:name(Copy creature) transforms((,newability[name(Copy creature) target(creature[manacost=x]|mygraveyard) copy and!( transforms((Legendary Lazav)) forever )!])) forever])) forever])) forever dontremove
text=When Lazav, the Multifarious enters the battlefield, surveil 1. (Look at the top card of your library. You may put it into your graveyard.) -- {X}: Lazav, the Multifarious becomes a copy of target creature card in your graveyard with converted mana cost X, except its name is Lazav, the Multifarious, it's legendary in addition to its other types, and it has this ability.
mana={U}{B}
type=Legendary Creature
subtype=Shapeshifter
power=1
toughness=3
[/card]
[card]
name=Lazotep Behemoth
mana={4}{B}
type=Creature
subtype=Zombie Hippo
power=5
toughness=4
[/card]
[card]
name=Lazotep Chancellor
auto=@discarded(*|myHand):name(Amass 2) pay[[{1}]] if type(army|mybattlefield)~equalto~0 then token(Zombie Army,Creature Zombie Army,0/0,black) and!( counter(1/1,2) )! else counter(1/1,2) target(army|myBattlefield)
text=Whenever you discard a card, you may pay {1}. If you do, amass 2. (Put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={U}{B}
type=Creature
subtype=Zombie Wizard
power=1
toughness=3
[/card]
[card]
name=Lazotep Plating
auto=_AMASS_(1)
auto=playershroud ueot
auto=all(creature|myBattlefield) opponentshroud
text=Amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) -- You and permanents you control gain hexproof until end of turn. (You and they can't be the targets of spells or abilities your opponents control.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Lazotep Reaver
auto=_AMASS_(1)
text=When Lazotep Reaver enters the battlefield, amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={1}{B}
type=Creature
subtype=Zombie Beast
power=1
toughness=2
[/card]
[card]
name=Leadership Vacuum
target=player
auto=ability$!name(Put back each commander) name(Put back each commander) all(*[iscommander]|mybattlefield) moveto(mycommandzone)!$ targetedplayer
auto=draw:1 controller
text=Target player returns each commander they control from the battlefield to the command zone. -- Draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Leafkin Avenger
auto={T}:foreach(creature[power>=4]|myBattlefield) add{G}
auto={7}{R}:target(creature,planeswalker) dynamicability<!powerstrike!>
text={T}: Add {G} for each creature with power 4 or greater you control. -- {7}{R}: Leafkin Avenger deals damage equal to its power to target player or planeswalker.
mana={2}{R}{G}
type=Creature
subtype=Elemental Druid
power=4
toughness=3
[/card]
[card]
name=Leafkin Druid
auto={T}:restriction {type(creature|mybattlefield)~lessthan~4} Add{G}
auto={T}:restriction {type(creature|mybattlefield)~morethan~3} Add{G}{G}
text={T}: Add {G}. If you control four or more creatures, add {G}{G} instead.
mana={1}{G}
type=Creature
subtype=Elemental Druid
power=0
toughness=3
[/card]
[card]
name=League Guildmage
auto={3}{U}{T}:draw:1 controller
auto={X}{R}{T}:name(copy target instant or sorcery) name(copy target instant or sorcery) target(*[instant;sorcery;manacost<=X]|mystack) castcard(copied noevent)
text={3}{U},{T}: Draw a card. -- {X}{R}, {T}: Copy target instant or sorcery spell you control with converted mana cost X. You may choose new targets for the copy.
mana={U}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Leap of Flame
abilities=hasnokicker,hasreplicate
target=creature
kicker=multi{U}{R} name(Replicate)
auto=name(Creature gets 1/0) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Leap of Flame) name(Copy Leap of Flame) activate castcard(copied noevent named!:Leap of Flame:!)!$ controller
text=Replicate {U}{R} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Target creature gets +1/+0 and gains flying and first strike until end of turn.
mana={U}{R}
type=Instant
[/card]
[card]
name=Leapfrog
auto=@movedTo(instant,sorcery|mystack) flying ueot
text=Leapfrog has flying as long as you've cast an instant or sorcery spell this turn.
mana={2}{U}
type=Creature
subtype=Frog
power=3
toughness=1
[/card]
[card]
name=Leather Armor
auto={9999}:equip
auto={0}:name(equip) rehook target(creature|mybattlefield) limit:1
auto=teach(creature) 0/1
auto=@targeted(mytgt) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Equipped creature gets +0/+1 and has ward {1}. (Whenever equipped creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.) -- Equip {0}. Activate only once each turn.
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Leave // Chance
target=<anyamount>*|mybattlefield
auto=moveto(myhand)
autograveyard={3}{R}{E}:target(<anyamount>*|myhand) reject && teach(*) draw:1 controller assorcery
text=Return any number of target permanents you own to your hand. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Discard any number of cards, then draw that many cards.
mana={1}{W}
type=Instant
[/card]
[card]
name=Ledev Champion
auto=_ATTACKING_(<anyamount>creature[-tapped]|mybattlefield)  1/1
auto={3}{G}{W}:create(soldier:creature soldier:1/1:white:lifelink)
text=Whenever Ledev Champion attacks, you may tap any number of untapped creatures you control. Ledev Champion gets +1/+1 until end of turn for each creature tapped this way. -- {3}{G}{W}: Create a 1/1 white Soldier creature token with lifelink.
mana={1}{G}{W}
type=Creature
subtype=Elf Knight
power=2
toughness=2
[/card]
[card]
name=Ledev Guardian
other={convoke} name(Convoke)
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of the creature's color.)
mana={3}{W}
type=Creature
subtype=Human Knight
power=2
toughness=4
[/card]
[card]
name=Leech Fanatic
auto=this(variable{controllerturn}>0) lifelink
text=As long as it's your turn, Leech Fanatic has lifelink.
mana={1}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=2
[/card]
[card]
name=Leeches
auto=choice name(Target opponent) thisforeach(variable{opponentpoisoncount}) damage:1 opponent && alterpoison:-1 opponent
auto=choice name(Target controller) thisforeach(variable{mypoisoncount}) damage:1 controller && alterpoison:-1 controller
text=Target player loses all poison counters. Leeches deals that much damage to that player.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Leeching Bite
target=creature
auto=1/1 ueot
auto=target(creature) -1/-1 ueot
text=Target creature gets +1/+1 until end of turn. Another target creature gets -1/-1 until end of turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Leeching Lurker
abilities=lifelink,nightbound
backside=Curse of Leeches
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
text=Lifelink -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Curse of Leeches
type=Creature
subtype=Leech Horror
color=black
power=4
toughness=4
[/card]
[card]
name=Legion Angel
abilities=flying
aicode=activate target(Legion Angel|mySideboard) moveTo(myHand)
auto=may name(Search Sideaboard) reveal:type:*:mySideboard revealzone(mySideboard) optionone name(choose card) target(<1>Legion Angel|reveal) moveTo(myHand) and!(all(other *|reveal) moveto(ownerSideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveTo(ownerSideboard) and!(all(other *|reveal) moveto(ownerSideboard))! optiontwoend revealend
text=Flying -- When Legion Angel enters the battlefield, you may reveal a card you own named Legion Angel from outside the game and put it into your hand.
mana={2}{W}{W}
type=Creature
subtype=Angel Warrior
power=4
toughness=3
[/card]
[card]
name=Legion Conquistador
auto=may moveto(myhand) target(<anyamount>Legion Conquistador|mylibrary)
text=When Legion Conquistador enters the battlefield, you may search your library for any number of cards named Legion Conquistador, reveal them, put them into your hand, then shuffle your library.
mana={2}{W}
type=Creature
subtype=Vampire Soldier
power=2
toughness=2
[/card]
[card]
name=Legion Guildmage
auto={5}{R}{T}:damage:3 each opponent
auto={2}{W}{T}:tap target(other creature)
text={5}{R}, {T}: Legion Guildmage deals 3 damage to each opponent. -- {2}{W}, {T}: Tap another target creature.
mana={R}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Legion Lieutenant
auto=lord(other vampire|myBattlefield) +1/+1
text=Other Vampires you control get +1/+1.
mana={W}{B}
type=Creature
subtype=Vampire Knight
power=2
toughness=2
[/card]
[card]
name=Legion Vanguard
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto={1}{S(other creature|mybattlefield)}:name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text={1}, Sacrifice another creature: Legion Vanguard explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={1}{B}
type=Creature
subtype=Vampire Soldier
power=2
toughness=2
[/card]
[card]
name=Legion Warboss
abilities=mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto=@each my combatbegins:create(goblin:creature goblin:1/1:red:haste ueot:mustattack ueot)
text=Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- At the beginning of combat on your turn, create a 1/1 red Goblin creature token. That token gains haste until end of turn and attacks this combat if able.
mana={2}{R}
type=Creature
subtype=Goblin Soldier
power=2
toughness=2
[/card]
[card]
name=Legion's End
target=creature[manacost<=2]|opponentbattlefield
auto=moveto(exile)
auto=all(*[share!name!]|targetcontrollerbattlefield) moveto(exile)
auto=donothing notatarget(*|targetcontrollerhand)
auto=all(*[share!name!]|targetcontrollerhand) moveto(exile)
auto=all(*[share!name!]|targetcontrollergraveyard) moveto(exile)
text=Exile target creature an opponent controls with converted mana cost 2 or less and all other creatures that player controls with the same name as that creature. Then that player reveals their hand and exiles all cards with that name from their hand and graveyard.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Legion's Judgment
target=creature[power>=4]
auto=destroy
text=Destroy target creature with power 4 or greater.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Legion's Landing
auto=token(Vampire,creature Vampire,1/1,white,lifelink)
auto=@combat(attacking) source(creature) restriction{type(other creature[attacking]|myBattlefield)~morethan~2}:flip(Adanto, the First Fort)
text=When Legion's Landing enters the battlefield, create a 1/1 white Vampire creature token with lifelink. -- When you attack with three or more creatures, transform Legion's Landing.
mana={W}
type=Legendary Enchantment
[/card]
[card]
name=Leinore, Autumn Sovereign
auto=@each my combatbegins:name(Put 1/1 counter) transforms((,newability[choice name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1) && if coven then name(Draw a card) draw:1 controller],newability[if coven then choice name(Don't put counter) name(Don't put counter) draw:1 controller],newability[ifnot coven then choice name(Don't put counter) name(Don't put counter) donothing])) oneshot
text=Coven - At the beginning of combat on your turn, put a +1/+1 counter on up to one target creature you control. Then if you control three or more creatures with different powers, draw a card.
mana={2}{G}{W}
type=Legendary Creature
subtype=Human Noble
power=0
toughness=4
[/card]
[card]
name=Lena, Selfless Champion
auto=foreach(creature[-token]|mybattlefield) create(soldier:creature soldier:1/1:white:)
auto={S}:auto=all(other creature[power<=2]|myBattlefield) indestructible ueot
text=When Lena, Selfless Champion enters the battlefield, create a 1/1 white Soldier creature token for each nontoken creature you control. -- Sacrifice Lena: Creatures you control with power less than Lena's power gain indestructible until end of turn.
mana={4}{W}{W}
type=Legendary Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Lens Flare
abilities=affinityartifacts
target=creature[attacking;blocking]
auto=damage:5
text=Affinity for artifacts (This spell costs 1 less to cast for each artifact you control.) -- Lens Flare deals 5 damage to target attacking or blocking creature.
mana={4}{W}
type=Instant
[/card]
[card]
name=Leonin Lightscribe
auto=@movedto(*[instant;sorcery]|mystack):all(creature|mybattlefield) transforms((,newability[1/1])) ueot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, creatures you control get +1/+1 until end of turn.
mana={1}{W}
type=Creature
subtype=Cat Cleric
power=2
toughness=2
[/card]
[card]
name=Leonin Sanctifier
abilities=lifelink
auto=name(Creature perpetually gains lifelink) target(creature|myhand) transforms((,newability[perpetuallifelink])) forever 
text=Lifelink -- When Leonin Sanctifier enters the battlefield, choose a creature card in your hand. It perpetually gains lifelink.
mana={1}{W}
type=Creature
subtype=Cat Cleric
power=2
toughness=1
[/card]
[card]
name=Leonin Vanguard
auto=@each my combatbegins:aslongas(creature|myBattlefield) 1/1 ueot && life:1 >2
text=At the beginning of combat on your turn, if you control three or more creatures, Leonin Vanguard gets +1/+1 until end of turn and you gain 1 life.
mana={W}
type=Creature
subtype=Cat Soldier
power=1
toughness=1
[/card]
[card]
name=Leonin Warleader
auto=_ATTACKING_create(cat:creature cat:1/1:white:lifelink:battleready)*2
text=Whenever Leonin Warleader attacks, create two 1/1 white Cat creature tokens with lifelink that are tapped and attacking.
mana={2}{W}{W}
type=Creature
subtype=Cat Soldier
power=4
toughness=4
[/card]
[card]
name=Leonin of the Lost Pride
auto=_DIES_MoveTo(exile) target(*|opponentGraveyard)
text=When Leonin of the Lost Pride dies, exile target card from an opponent's graveyard.
mana={1}{W}
type=Creature
subtype=Cat Warrior
power=3
toughness=1
[/card]
[card]
name=Leopard-Spotted Jiao
mana={1}{R}
type=Creature
subtype=Beast
power=3
toughness=1
[/card]
[card]
name=Leovold, Emissary of Trest
auto=@drawfoeof(player) restriction{compare(odrewcount)~morethan~1}:name(Opponent can't draw more than 1) transforms((,newability[all(*[zpos=type:*:opponenthand]|opponenthand) moveto(ownerlibrary)])) oneshot
auto=@movedto(*[instant;sorcery]|opponentstack):may name(Draw a card) draw:1 controller
auto=@targeted(*|mybattlefield) from(*[-instant;-sorcery]|opponentzones):may name(Draw a card) draw:1 controller
text=Each opponent can't draw more than one card each turn. -- Whenever you or a permanent you control becomes the target of a spell or ability an opponent controls, you may draw a card.
mana={B}{G}{U}
type=Legendary Creature
subtype=Elf Advisor
power=3
toughness=3
[/card]
[card]
name=Lesser Masticore
abilities=persist
auto={4}:damage:1 target(creature)
text=As an additional cost to cast this spell, discard a card. {4}: Lesser Masticore deals 1 damage to target creature. -- Persist (When this creature dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.)
mana={2}{D(*|myhand)}
type=Artifact Creature
subtype=Masticore
power=2
toughness=2
[/card]
[card]
name=Lethal Sting
target=creature|myBattlefield
auto=counter(-1/-1)
auto=destroy target(creature)
text=As an additional cost to cast Lethal Sting, put a -1/-1 counter on a creature you control. -- Destroy target creature.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Lethal Vapors
auto=@movedto(creature|battlefield):all(trigger[to]) destroy
auto={0}:destroy && turns:-1 controller
auto=@each opponent upkeep:ability$!name(Pay 0) pay[[{0}]] name(Pay 0) destroy notatarget(Lethal Vapors|opponentBattlefield) && turns:-1 controller?donothing!$ opponent
auto=@each opponent untap:ability$!name(Pay 0) pay[[{0}]] name(Pay 0) destroy notatarget(Lethal Vapors|opponentBattlefield) && turns:-1 controller?donothing!$ opponent
auto=@each opponent draw:ability$!name(Pay 0) pay[[{0}]] name(Pay 0) destroy notatarget(Lethal Vapors|opponentBattlefield) && turns:-1 controller?donothing!$ opponent
auto=@each opponent combatbegins:ability$!name(Pay 0) pay[[{0}]] name(Pay 0) destroy notatarget(Lethal Vapors|opponentBattlefield) && turns:-1 controller?donothing!$ opponent
auto=@each opponent blockers:ability$!name(Pay 0) pay[[{0}]] name(Pay 0) destroy notatarget(Lethal Vapors|opponentBattlefield) && turns:-1 controller?donothing!$ opponent
auto=@each opponent firstmain:ability$!name(Pay 0) pay[[{0}]] name(Pay 0) destroy notatarget(Lethal Vapors|opponentBattlefield) && turns:-1 controller?donothing!$ opponent
auto=@each opponent endofturn:ability$!name(Pay 0) pay[[{0}]] name(Pay 0) destroy notatarget(Lethal Vapors|opponentBattlefield) && turns:-1 controller?donothing!$ opponent
text=Whenever a creature enters the battlefield, destroy it. -- {0}: Destroy Lethal Vapors. You skip your next turn. Any player may activate this ability.
mana={2}{B}{B}
type=Enchantment
[/card]
[card]
name=Letter of Acceptance
auto={T}:add{W}
auto={T}:add{G}
auto={T}:add{U}
auto={T}:add{B}
auto={T}:add{R}
auto={2}{T}{S}:draw:1 controller
text={T}: Add one mana of any color. -- {2}, {T}, Sacrifice Letter of Acceptance: Draw a card.
mana={3}
type=Artifact
[/card]
[card]
name=Ley Weaver
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(lore weaver|mylibrary)
auto={T}:name(Untap 2 lands) untap target(<2>land)
text=Partner with Lore Weaver (When this creature enters the battlefield, target player may put Lore Weaver into their hand from their library, then shuffle.) -- {T}: Untap two target lands.
mana={3}{G}
type=Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Leyline Invocation
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1,type:land:mybattlefield) )!
text=Create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is the number of lands you control.
mana={5}{G}
type=Sorcery
[/card]
[card]
name=Leyline Prowler
abilities=deathtouch,lifelink
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=Deathtouch, lifelink -- {T}: Add one mana of any color.
mana={1}{B}{G}
type=Creature
subtype=Nightmare Beast
power=2
toughness=3
[/card]
[card]
name=Leyline Tyrant
abilities=flying
auto=mypoolsave(red)
auto=@movedto(this|nonbattlezone) from(battlefield):name(Terminate effect) name(Terminate effect) transforms((,newability[mypoolsave(red) terminate])) oneshot
auto=_DIES_:choice name(Pay X red mana) name(Pay X red mana) ability$!name(Damage X) pay[[{X:red}]] name(Damage any target) target(player,creature,planeswalker) damage:X!$ controller
text=Flying -- You don't lose unspent red mana as steps and phases end. -- When Leyline Tyrant dies, you may pay any amount of {R}. When you do, it deals that much damage to any target.
mana={2}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Leyline of Abundance
abilities=leyline
auto=@tappedformana(creature|myBattlefield):add{G}
auto={6}{G}{G}:all(creature|mybattlefield) counter(1/1,1)
text=If Leyline of Abundance is in your opening hand, you may begin the game with it on the battlefield. -- Whenever you tap a creature for mana, add an additional {G}. -- {6}{G}{G}: Put a +1/+1 counter on each creature you control.
mana={2}{G}{G}
type=Enchantment
[/card]
[card]
name=Leyline of Combustion
abilities=leyline
auto=@targeted(*|mybattlefield) from(*|opponentbattlefield):damage:2 opponent
auto=@targeted(*|mybattlefield) from(*|opponenthand):damage:2 opponent
auto=@targeted(player) from(*|opponentbattlefield):damage:2 opponent
auto=@targeted(player) from(*|opponenthand):damage:2 opponent
text=If Leyline of Combustion is in your opening hand, you may begin the game with it on the battlefield. -- Whenever you and/or at least one permanent you control becomes the target of a spell or ability an opponent controls, Leyline of Combustion deals 2 damage to that player.
mana={2}{R}{R}
type=Enchantment
[/card]
[card]
name=Leyline of Lifeforce
abilities=leyline
auto=lord(creature|mystack) nofizzle
text=If Leyline of Lifeforce is in your opening hand, you may begin the game with it on the battlefield. -- Creature spells can't be countered.
mana={2}{G}{G}
type=Enchantment
[/card]
[card]
name=Leyline of Punishment
#MISSING: Damage can't be prevented
abilities=leyline,nolifegain,nolifegainopponent
text=If Leyline of Punishment is in your opening hand, you may begin the game with it on the battlefield. -- Players can't gain life. -- Damage can't be prevented.
mana={2}{R}{R}
type=Enchantment
[/card]
[card]
name=Liberating Combustion
target=creature
auto=damage:6
auto=moveto(myhand) target(Chandra^ Pyrogenius|mylibrary) && shuffle controller
auto=moveto(myhand) target(Chandra^ Pyrogenius|mygraveyard)
text=Liberating Combustion deals 6 damage to target creature. You may search your library and/or graveyard for a card named Chandra, Pyrogenius, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Library Larcenist
auto=_ATTACKING_draw:1 controller
text=Whenever Library Larcenist attacks, draw a card.
mana={2}{U}
type=Creature
subtype=Merfolk Rogue
power=1
toughness=2
[/card]
[card]
name=Library of Leng
abilities=nomaxhand
auto=@discarded(*|myhand):all(trigger[to]) moveTo(mylibrary)
text=You have no maximum hand size. -- If an effect causes you to discard a card, discard it, but you may put it on top of your library instead of into your graveyard.
mana={1}
type=Artifact
[/card]
[card]
name=Lich
abilities=cantlifelose
auto=lifeset:0 controller
auto=@lifeof(player):draw:thatmuch controller && life:-thatmuch controller
auto=@damageof(player):if type(creature[-token]|mybattlefield)~lessthan~thatmuch then winGame opponent else sacrifice target(<thatmuch>creature[-token]|mybattlefield)
auto=_DIES_winGame opponent
text=As Lich enters the battlefield, you lose life equal to your life total. -- You don't lose the game for having 0 or less life. -- If you would gain life, draw that many cards instead. -- Whenever you're dealt damage, sacrifice that many nontoken permanents. If you can't, you lose the game. -- When Lich is put into a graveyard from the battlefield, you lose the game.
mana={B}{B}{B}{B}
type=Enchantment
[/card]
[card]
name=Lich's Caress
target=creature
auto=destroy
auto=life:3 controller
text=Destroy target creature. You gain 3 life.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Lich's Mastery
abilities=opponentshroud,cantlose
auto=@lifeof(player):draw:thatmuch controller
auto=@lifelostof(player):ability$!name(Choose one) choice name(Exile permanent from battlefield) moveto(exile) notatarget(*|mybattlefield) _ choice name(Exile card from hand) moveto(exile) notatarget(*|myhand) _ choice name(Exile card from graveyard) moveto(exile) notatarget(*|mygraveyard)!$ controller
auto=@movedto(this|nonbattlezone) from(battlefield):wingame opponent
text=Hexproof -- You can't lose the game. -- Whenever you gain life, draw that many cards. -- Whenever you lose life, for each 1 life you lost, exile a permanent you control or a card from your hand or graveyard. -- When Lich's Mastery leaves the battlefield, you lose the game.
mana={3}{B}{B}{B}
type=Legendary Enchantment
[/card]
[card]
name=Licia, Sanguine Tribune
abilities=first strike,lifelink
anyzone=this(variable{lifegain}=1) changecost(colorless:-1) forcedalive
anyzone=this(variable{lifegain}=2) changecost(colorless:-2) forcedalive
anyzone=this(variable{lifegain}=3) changecost(colorless:-3) forcedalive
anyzone=this(variable{lifegain}=4) changecost(colorless:-4) forcedalive
anyzone=this(variable{lifegain}=5) changecost(colorless:-5) forcedalive
anyzone=this(variable{lifegain}=6) changecost(colorless:-6) forcedalive
anyzone=this(variable{lifegain}=7) changecost(colorless:-7) forcedalive
anyzone=this(variable{lifegain}=8) changecost(colorless:-8) forcedalive
anyzone=this(variable{lifegain}=9) changecost(colorless:-9) forcedalive
auto={L:5}:counter(1/1,3) myTurnOnly limit:1
text=This spell costs {1} less to cast for each 1 life you gained this turn. -- First strike, lifelink -- Pay 5 life: Put three +1/+1 counters on Licia, Sanguine Tribune. Activate this ability only during your turn and only once each turn.
mana={5}{R}{W}{B}
type=Legendary Creature
subtype=Vampire Soldier
power=4
toughness=4
[/card]
[card]
name=Lier, Disciple of the Drowned
auto=lord(*|stack) nofizzle
auto=lord(*[instant;sorcery]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath]))
text=Spells can't be countered. -- Each instant and sorcery card in your graveyard has flashback. The flashback cost is equal to that card's mana cost.
type=Legendary Creature
subtype=Human Wizard
mana={3}{U}{U}
power=3
toughness=4
[/card]
[card]
name=Liesa, Forgotten Archangel
abilities=flying,lifelink
auto=@movedTo(other creature[-token]|graveyard) from(mybattlefield):name(Return to owner hand later) all(trigger[to]) name(Return to owner hand later) transforms((,newability[phaseaction[endofturn once] moveTo(ownerhand)])) ueot
auto=lord(creature|opponentbattlefield) exiledeath
text=Flying, lifelink -- Whenever another nontoken creature you control dies, return that card to its owner's hand at the beginning of the next end step. -- If a creature an opponent controls would die, exile it instead.
type=Legendary Creature
subtype=Angel
mana={2}{W}{W}{B}
power=4
toughness=5
[/card]
[card]
name=Liesa, Shroud of Dusk
abilities=flying,lifelink
auto=@movedTo(*|mystack):life:-2 controller
auto=@movedTo(*|opponentstack):life:-2 opponent
text=Rather than pay {2} for each previous time you've cast this spell from the command zone this game, pay 2 life that many times. -- Flying, lifelink -- Whenever a player casts a spell, they lose 2 life.
mana={2}{W}{W}{B}
type=Legendary Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Life // Death
auto=choice {G}:lord(land|myBattlefield) becomes(Creature,1/1) ueot
auto=choice {1}{B}:target(creature|myGraveyard) moveTo(myBattlefield) then life:-manacost controller
text=All lands you control become 1/1 creatures until end of turn. They're still lands. -- Return target creature card from your graveyard to the battlefield. You lose life equal to its converted mana cost.
mana={0}
type=Sorcery
[/card]
[card]
name=Life Goes On
auto=life:4 controller
auto=if morbid then life:4 controller
text=You gain 4 life. If a creature died this turn, you gain 8 life instead.
mana={G}
type=Instant
[/card]
[card]
name=Light Up the Night
flashback={3}{R}
otherrestriction=type(planeswalker|mybattlefield)~morethan~0
auto=ifnot paid(flashback) then choice name(Damage player) name(Damage player) target(player) damage:fullpaid
auto=ifnot paid(flashback) then if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(creature,planeswalker) damage:fullpaidplus1plusend
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~0 then choice name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) transforms((,newability[choice name(Damage player) target(player) damage:1],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:2],newability[thisforeach(variable{1}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~1 then choice name(Remove 2 loyalty counters) name(Remove 2 loyalty counters) name(Remove 2 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:2],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:3],newability[thisforeach(variable{2}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~2 then choice name(Remove 3 loyalty counters) name(Remove 3 loyalty counters) name(Remove 3 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:3],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:4],newability[thisforeach(variable{3}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~3 then choice name(Remove 4 loyalty counters) name(Remove 4 loyalty counters) name(Remove 4 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:4],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:5],newability[thisforeach(variable{4}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~4 then choice name(Remove 5 loyalty counters) name(Remove 5 loyalty counters) name(Remove 5 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:5],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:6],newability[thisforeach(variable{5}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~5 then choice name(Remove 6 loyalty counters) name(Remove 6 loyalty counters) name(Remove 6 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:6],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:7],newability[thisforeach(variable{6}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~6 then choice name(Remove 7 loyalty counters) name(Remove 7 loyalty counters) name(Remove 7 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:7],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:8],newability[thisforeach(variable{7}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~7 then choice name(Remove 8 loyalty counters) name(Remove 8 loyalty counters) name(Remove 8 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:8],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:9],newability[thisforeach(variable{8}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~8 then choice name(Remove 9 loyalty counters) name(Remove 9 loyalty counters) name(Remove 9 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:9],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:10],newability[thisforeach(variable{9}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~9 then choice name(Remove 10 loyalty counters) name(Remove 10 loyalty counters) name(Remove 10 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:10],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:11],newability[thisforeach(variable{10}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~10 then choice name(Remove 11 loyalty counters) name(Remove 11 loyalty counters) name(Remove 11 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:11],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:12],newability[thisforeach(variable{11}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~11 then choice name(Remove 12 loyalty counters) name(Remove 12 loyalty counters) name(Remove 12 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:12],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:13],newability[thisforeach(variable{12}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~12 then choice name(Remove 13 loyalty counters) name(Remove 13 loyalty counters) name(Remove 13 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:13],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:14],newability[thisforeach(variable{13}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~13 then choice name(Remove 14 loyalty counters) name(Remove 14 loyalty counters) name(Remove 14 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:14],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:15],newability[thisforeach(variable{14}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~14 then choice name(Remove 15 loyalty counters) name(Remove 15 loyalty counters) name(Remove 15 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:15],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:16],newability[thisforeach(variable{15}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~15 then choice name(Remove 16 loyalty counters) name(Remove 16 loyalty counters) name(Remove 16 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:16],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:17],newability[thisforeach(variable{16}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~16 then choice name(Remove 17 loyalty counters) name(Remove 17 loyalty counters) name(Remove 17 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:17],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:18],newability[thisforeach(variable{17}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~17 then choice name(Remove 18 loyalty counters) name(Remove 18 loyalty counters) name(Remove 18 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:18],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:19],newability[thisforeach(variable{18}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~18 then choice name(Remove 19 loyalty counters) name(Remove 19 loyalty counters) name(Remove 19 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:19],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:20],newability[thisforeach(variable{19}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
auto=if paid(flashback) then if compare(totcntplaloyalty)~morethan~19 then choice name(Remove 20 loyalty counters) name(Remove 20 loyalty counters) name(Remove 20 loyalty counters) transforms((,newability[choice name(Damage player) target(player) damage:20],newability[if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:21],newability[thisforeach(variable{20}) ability$!name(Remove 1 loyalty counter) name(Remove 1 loyalty counter) target(planeswalker|mybattlefield) counter(0/0.-1.Loyalty)!$ controller])) oneshot
text=Light Up the Night deals X damage to any target. It deals X plus 1 damage instead if that target is a creature or planeswalker. -- Flashback-{3}{R}, Remove X loyalty counters from among planeswalkers you control. If you cast this spell this way, X can't be 0. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Light Up the Stage
auto=moveto(exile) and!(transforms((,canplayfromexile))ueot)! all(*[zpos<=2]|mylibrary)
text=Spectacle {R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- Exile the top two cards of your library. Until the end of your next turn, you may play those cards.
other={R} name(Spectacle)
otherrestriction=compare(oplifelost)~morethan~0
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Light of Hope
auto=choice life:4 controller
auto=choice destroy target(enchantment)
auto=choice counter(1/1,1) target(creature)
text=Choose one -- You gain 4 life. -- Destroy target enchantment. -- Put a +1/+1 counter on target creature.
mana={W}
type=Instant
[/card]
[card]
name=Light of Promise
target=creature
auto=teach(creature) transforms((,newability[@lifeof(player):dynamicability<!myself thatmuchcountersoneone tosrc!>]))
text=Enchant creature -- Enchanted creature has "Whenever you gain life, put that many +1/+1 counters on this creature."
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Light of the Legion
abilities=flying,mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto=_DIES_counter(1/1)(creature[white]|myBattlefield)
text=Flying -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- When Light of the Legion dies, put a +1/+1 counter on each white creature you control.
mana={4}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Lightfoot Rogue
auto=_ATTACKING_name(Roll a d20) rolld20 20 winability transforms((,newability[3/0],newability[first strike])) ueot winabilityend rolld20end
auto=@dierolled(this) from(controller):name(Gains deathtouch) transforms((,newability[deathtouch])) ueot
auto=@dierolled(this) result(10) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(11) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(12) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(13) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(14) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(15) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(16) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(17) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(18) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
auto=@dierolled(this) result(19) from(controller):name(Gains 1/0) transforms((,newability[1/0])) ueot
text=Sneak Attack - Whenever Lightfoot Rogue attacks, roll a d20. -- 1-9 | Lightfoot Rogue gains deathtouch until end of turn. -- 10-19 | It gets +1/+0 and gains deathtouch until end of turn. -- 20 | It gets +3/+0 and gains first strike and deathtouch until end of turn.
mana={1}{B}
type=Creature
subtype=Halfling Rogue
power=2
toughness=1
[/card]
[card]
name=Lightning Mare
abilities=nofizzle
auto=cantbeblockedby(creature[blue])
auto={1}{R}:1/0 ueot
text=This spell can't be countered. -- Lightning Mare can't be blocked by blue creatures. -- {1}{R}: Lightning Mare gets +1/+0 until end of turn.
mana={R}{R}
type=Creature
subtype=Elemental Horse
power=3
toughness=1
[/card]
[card]
name=Lightning Phoenix
abilities=flying,haste,cantblock
autograveyard=@each my endofturn restriction{compare(oplifelost)~morethan~2}:pay({R}) moveto(mybattlefield)
text=Flying, haste -- Lightning Phoenix can't block. -- At the beginning of your end step, if an opponent was dealt 3 or more damage this turn, you may pay {R}. If you do, return Lightning Phoenix from your graveyard to the battlefield.
mana={2}{R}
type=Creature
subtype=Phoenix
power=2
toughness=2
[/card]
[card]
name=Lightning Skelemental
abilities=trample,haste
auto=@combatdamaged(player) from(this):ability$!target(<2>*|myhand) reject!$ targetedplayer
text=Trample, haste -- Whenever Lightning Skelemental deals combat damage to a player, that player discards two cards. -- At the beginning of the end step, sacrifice Lightning Skelemental.
mana={B}{R}{R}
type=Creature
subtype=Elemental Skeleton
power=6
toughness=1
[/card]
[card]
name=Lightning Spear
auto={1}:equip
auto=teach(creature) 1/0
auto={2}{R}{S}:name(Deal 3 damage) damage:3 target(player,creature,planeswalker)
text=Equipped creature gets +1/+0 and has trample. -- {2}{R}, Sacrifice Lightning Spear: It deals 3 damage to any target. -- Equip {1}
mana={1}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Lightning Stormkin
abilities=flying,haste
text=Flying -- Haste (This creature can attack and {T} as soon as it comes under your control.)
mana={U}{R}
type=Creature
subtype=Elemental Wizard
power=2
toughness=2
[/card]
[card]
name=Lightning Surge
target=creature,player
flashback={5}{R}{R}
auto=if type(*|mygraveyard)~lessthan~7 then damage:4
auto=if type(*|mygraveyard)~morethan~6 then damage:6
text=Lightning Surge deals 4 damage to target creature or player. -- Threshold - If seven or more cards are in your graveyard, instead Lightning Surge deals 6 damage to that creature or player and the damage can't be prevented. -- Flashback {5}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Lightning Visionary
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)
mana={1}{R}
type=Creature
subtype=Minotaur Shaman
power=2
toughness=1
[/card]
[card]
name=Lightning-Core Excavator
auto={5}{T}{S}:damage:3 target(player,creature,planeswalker)
text={5}, {T}, Sacrifice Lightning-Core Excavator: It deals 3 damage to any target.
mana={1}
type=Artifact Creature
subtype=Golem
power=0
toughness=3
[/card]
[card]
name=Lightning-Rig Crew
auto=@movedTo(Pirate|mystack):untap
auto={T}:damage:1 opponent
text={T}: Lightning-Rig Crew deals 1 damage to each opponent. -- Whenever you cast a Pirate spell, untap Lightning-Rig Crew.
mana={2}{R}
type=Creature
subtype=Goblin Pirate
power=0
toughness=5
[/card]
[card]
name=Lignify
target=creature
auto=loseabilities
auto=teach(creature) becomes(Creature Treefolk,0/4)
text=Enchant creature -- Enchanted creature is a Treefolk with base power and toughness 0/4 and loses all abilities.
mana={1}{G}
type=Tribal Enchantment
subtype=Treefolk Aura
[/card]
[card]
name=Liliana's Contract
auto=life:-4 controller
auto=draw:4 controller
auto=@each my upkeep restriction{compare(diffcardcounttypedemon)~morethan~3}:wingame controller
text=When Liliana's Contract enters the battlefield, you draw four cards and you lose 4 life. -- At the beginning of your upkeep, if you control four or more Demons with different names, you win the game.
mana={3}{B}{B}
type=Enchantment
[/card]
[card]
name=Liliana's Defeat
auto=choice name(target black creature) destroy target(creature[black])
auto=choice name(target black planeswalker) destroy target(planeswalker[black])
auto=choice name(destroy liliana) destroy target(planeswalker[liliana]) && life:-3 targetcontroller
auto=if type(liliana|opponentbattlefield)~morethan~0 life:-3 opponent
text=Destroy target black creature or black planeswalker. If that permanent was a Liliana planeswalker, her controller loses 3 life.
mana={B}
type=Sorcery
[/card]
[card]
name=Liliana's Devotee
auto=lord(zombie|myBattlefield) 1/0
auto=@each my endofturn restriction{morbid}:may pay({1}{B}) token(Zombie Lil) 
text=Zombies you control get +1/+0. -- At the beginning of your end step, if a creature died this turn, you may pay {1}{B}. If you do, create a 2/2 black Zombie creature token.
mana={2}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=3
[/card]
[card]
name=Liliana's Influence
auto=counter(-1/-1,1) all(creature|opponentbattlefield)
auto=may moveto(myhand) target(Liliana^ Death Wielder|mylibrary,mygraveyard)
text=Put a -1/-1 counter on each creature you don't control. You may search your library and/or graveyard for a card named Liliana, Death Wielder, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Liliana's Mastery
auto=lord(zombie|mybattlefield) 1/1
auto=token(Zombie,creature Zombie,2/2,black)*2
text=Zombies you control get +1/+1. -- When Liliana's Mastery enters the battlefield, create two 2/2 black Zombie creature tokens.
mana={3}{B}{B}
type=Enchantment
[/card]
[card]
name=Liliana's Scorn
target=creature
auto=destroy
auto=choice name(Search Library) may moveto(myhand) target(Liliana^ Death Mage|myLibrary) && shuffle
auto=choice name(Search Graveyard) may moveto(myhand) target(Liliana^ Death Mage|myGraveyard)
text=Destroy target creature. You may search your library and/or graveyard for a card named Liliana, Death Mage, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Liliana's Scrounger
auto=@each endofturn restriction{morbid}:may counter(0/0,1,loyalty) target(planeswalker[liliana]|myBattlefield)
text=At the beginning of each end step, if a creature died this turn, you may put a loyalty counter on a Liliana planeswalker you control.
mana={2}{B}
type=Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Liliana's Spoils
aicode=activate target(*[black;zpos<=5]|mylibrary) moveto(myhand)
auto=name(look) reveal:5 optionone name(Get black card) target(<upto:1>*[black]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
auto=ability$!name(Discard a card) reject notatarget(*|myhand)!$ opponent
text=Target opponent discards a card. -- Look at the top five cards of your library. You may reveal a black card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Liliana's Standard Bearer
abilities=flash
auto=draw:type:creature[fresh]:mygraveyard controller
text=Flash -- When Liliana's Standard Bearer enters the battlefield, draw X cards, where X is the number of creatures that died under your control this turn.
mana={2}{B}
type=Creature
subtype=Zombie Knight
power=3
toughness=1
[/card]
[card]
name=Liliana's Steward
auto={T}{S}:ability$!name(Discard a card) target(*|myhand) reject!$ opponent asSorcery
text={T}, Sacrifice Liliana's Steward: Target opponent discards a card. Activate this ability only any time you could cast a sorcery.
mana={B}
type=Creature
subtype=Zombie
power=1
toughness=2
[/card]
[card]
name=Liliana's Triumph
auto=ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent
auto=aslongas(planeswalker[Liliana]|mybattlefield) ability$!name(discard) reject notatarget(*|myhand)!$ opponent
text=Each opponent sacrifices a creature. If you control a Liliana planeswalker, each opponent also discards a card.
mana={1}{B}
type=Instant
[/card]
[card]
name=Liliana, Heretical Healer
abilities=lifelink
backside=Liliana, Defiant Necromancer
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@movedTo(other creature[-token]|graveyard) from(myBattlefield):name(Liliana, Defiant Necromancer) moveto(exile) and!( moveto(ownerbattlefield) and!( transforms((,newability[flip(backside)],newability[name(Create Zombie) token(Zombie Lil)])) oneshot )! )!
text=Lifelink -- Whenever another nontoken creature you control dies, exile Liliana, Heretical Healer, then return her to the battlefield transformed under her owner's control. If you do, put a 2/2 black Zombie creature token onto the battlefield. // Liliana, Defiant Necromancer
mana={1}{B}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Lilting Refrain
auto=@each my upkeep:may counter(0/0.1.Verse)
auto=this(counter{0/0.1.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
auto=this(counter{0/0.2.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=this(counter{0/0.3.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=this(counter{0/0.4.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=this(counter{0/0.5.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing?fizzle])) forever
auto=this(counter{0/0.6.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?fizzle])) forever
auto=this(counter{0/0.7.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{7}]] name(pay 7 mana) donothing?fizzle])) forever
auto=this(counter{0/0.8.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?fizzle])) forever
auto=this(counter{0/0.9.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing?fizzle])) forever
auto=this(counter{0/0.10.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?fizzle])) forever
auto=this(counter{0/0.11.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{11}]] name(pay 11 mana) donothing?fizzle])) forever
auto=this(counter{0/0.12.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing?fizzle])) forever
auto=this(counter{0/0.13.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{13}]] name(pay 13 mana) donothing?fizzle])) forever
auto=this(counter{0/0.14.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing?fizzle])) forever
auto=this(counter{0/0.15.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{15}]] name(pay 15 mana) donothing?fizzle])) forever
auto=this(counter{0/0.16.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing?fizzle])) forever
auto=this(counter{0/0.17.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{17}]] name(pay 17 mana) donothing?fizzle])) forever
auto=this(counter{0/0.18.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing?fizzle])) forever
auto=this(counter{0/0.19.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{19}]] name(pay 19 mana) donothing?fizzle])) forever
auto=this(counter{0/0.20.Verse}) {S}:target(*|stack) transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing?fizzle])) forever
text=At the beginning of your upkeep, you may put a verse counter on Lilting Refrain. -- Sacrifice Lilting Refrain: Counter target spell unless its controller pays {X}, where X is the number of verse counters on Lilting Refrain.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Lim-Dul the Necromancer
auto={1}{B}:name(Regenerate zombie) target(zombie|battlefield) regenerate
auto=@movedTo(creature|graveyard) from(opponentbattlefield):name(Pay and take creature) pay({1}{B}) name(Pay and take creature) transforms((,newability[all(*[zpos=type:*:opponentGraveyard]|opponentGraveyard) moveto(mybattlefield) and!( if cantargetcard(*[creature]|*) then becomes(Zombie) forever )!])) forever
text=Whenever a creature an opponent controls dies, you may pay {1}{B}. If you do, return that card to the battlefield under your control. If it's a creature, it's a Zombie in addition to its other creature types. -- {1}{B}: Regenerate target Zombie.
mana={5}{B}{B}
type=Legendary Creature
subtype=Human Wizard
power=4
toughness=4
[/card]
[card]
name=Lim-Dul's Hex
auto=@each my upkeep:name(pay or damage) ability$!name(pay or damage) pay[[{3B}]] name(pay 3 or black mana) donothing?damage:1!$ opponent
auto=@each my upkeep:name(pay or damage) ability$!name(pay or damage) pay[[{3B}]] name(pay 3 or black mana) donothing?damage:1!$ controller
text=At the beginning of your upkeep, for each player, Lim-Dul's Hex deals 1 damage to that player unless he or she pays {B} or {3}.
mana={1}{B}
type=Enchantment
[/card]
[card]
name=Limits of Solidarity
abilities=cycling
target=creature
auto=haste
auto=untap
alias=129767
autohand=__CYCLING__({2})
text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Linden, the Steadfast Queen
abilities=vigilance
auto=@combat(attacking) source(creature[white]|myBattlefield):life:1
text=Vigilance -- Whenever a white creature you control attacks, you gain 1 life.
mana={W}{W}{W}
type=Legendary Creature
subtype=Human Noble
power=3
toughness=3
[/card]
[card]
name=Lingering Phantom
autograveyard=@movedTo(*[artifact;legendary;saga]|mystack):may pay({b}):moveto(myhand) all(this)
text=Whenever you cast a historic spell, you may pay {B}. If you do, return Lingering Phantom from your graveyard to your hand. (Artifacts, legendaries, and Sagas are historic.)
mana={5}{B}
type=Creature
subtype=Spirit
power=5
toughness=4
[/card]
[card]
name=Linvala, Shield of Sea Gate
abilities=flying
auto=@each my upkeep:if compare(calculateparty)~equalto~4 then target(*[-land]|opponentBattlefield) transforms((,newability[cantattack],newability[cantpwattack],newability[cantblock],newability[noactivatedability])) uynt
auto={S}:name(All your creatures gain Hexproof) all(creature|myBattlefield) transforms((,newability[opponentshroud])) ueot 
auto={S}:name(All your creatures gain Indestructible) all(creature|myBattlefield) transforms((,newability[indestructible])) ueot
text=Flying -- At the beginning of combat on your turn, if you have a full party, choose target nonland permanent an opponent controls. Until your next turn, it can't attack or block, and its activated abilities can't be activated. -- Sacrifice Linvala: Choose hexproof or indestructible. Creatures you control gain that ability until end of turn.
mana={1}{W}{U}
type=Legendary Creature
subtype=Angel wizard
power=3
toughness=3
[/card]
[card]
name=Liquid Fire
target=creature
auto=choice name(Choose 0) damage:5 targetcontroller
auto=choice name(Choose 1) damage:1 && damage:4 targetcontroller
auto=choice name(Choose 2) damage:2 && damage:3 targetcontroller
auto=choice name(Choose 3) damage:3 && damage:2 targetcontroller
auto=choice name(Choose 4) damage:4 && damage:1 targetcontroller
auto=choice name(Choose 5) damage:5
text=As an additional cost to cast Liquid Fire, choose a number between 0 and 5. -- Liquid Fire deals X damage to target creature and 5 minus X damage to that creature's controller, where X is the chosen number.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Liquimetal Torque
auto={T}:add{C}
auto={T}:name(Becomes artifact) target(*[-land]|battlefield) transforms((artifact)) ueot
text={T}: Add {C}. -- {T}: Target nonland permanent becomes an artifact in addition to its other types until end of turn.
mana={2}
type=Artifact
[/card]
[card]
name=Lisette, Dean of the Root
auto=@lifeof(player) from(*[-lifefaker]|*):pay({1}) name(Put 1/1 counter) all(creature|mybattlefield) tansforms((,newability[counter(1/1)],newability[trample])) ueot
text=Whenever you gain life, you may pay 1 . If you do, put a +1/+1 counter on each creature you control and those creatures gain trample until end of turn. // {B} Valentin, Dean of the Vein
mana={2}{G}{G}
type=Legendary Creature
subtype=Human Druid
power=4
toughness=4
[/card]
[card]
name=Lithoform Blight
target=land
auto=draw:1 controller
auto=teach(land) loseabilities
auto=teach(land) losesubtypesof(land)
auto=teach(land) transforms((,newability[{T}:add{C}],newability[{L:1}{T}:ability$! name(choose a color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller]))
text=Enchant land -- When Lithoform Blight enters the battlefield, draw a card. -- Enchanted land loses all land types and abilities and has "{T}: Add {C}" and "{T}, Pay 1 life: Add one mana of any color."
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Lithoform Engine
#auto={2}{T}:No copy for triggered abilities ATM...
auto={3}{T}:name(Copy target instant or sorcery) target(*[instant;sorcery]|myStack) castcard(copied noevent)
auto={4}{T}:name(Copy target permanent spell) clone target(*|myBattlefield)
text={2},{T}: Copy target activated or triggered ability you control. You may choose new targets for the copy. -- {3},{T}: Copy target instant or sorcery spell you control. You may choose new targets for the copy. -- {4},{T}: Copy target permanent spell you control. (the copy becomes a token.)
type=Legendary Artifact
[/card]
[card]
name=Littjara Glade-Warden
abilities=changeling
auto={2}{G}{T}{E(creature|mygraveyard)}:name(Put two 1/1 counters) target(creature) counter(1/1,2) asSorcery
text=Changeling (This card is every creature type.) -- {2}{G}, {T}, Exile a creature card from your graveyard: Put two +1/+1 counters on target creature. Activate this ability only any time you could cast a sorcery.
mana={3}{G}
type=Creature
subtype=Shapeshifter
power=3
toughness=3
[/card]
[card]
name=Littjara Kinseekers
abilities=changeling
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=if compare(sametypecreatures)~morethan~2 then counter(1/1) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Changeling (This card is every creature type.) -- When Littjara Kinseekers enters the battlefield, if you control three or more creatures that share a creature type, put a +1/+1 counter on Littjara Kinseekers, then scry 1.
mana={3}{U}
type=Creature
subtype=Shapeshifter
power=2
toughness=4
[/card]
[card]
name=Littjara Mirrorlake
auto=tap(noevent)
auto={T}:add{U}
auto={2}{G}{G}{U}{T}{S}:target(creature|mybattlefield) clone and!( transforms((,newability[counter(1/1)])) oneshot )! asSorcery
text=Littjara Mirrorlake enters the battlefield tapped. -- {T}: Add {U}. -- {2}{G}{G}{U}, {T}, Sacrifice Littjara Mirrorlake: Create a token that's a copy of target creature you control, except it enters the battlefield with an additional +1/+1 counter on it. Activate this ability only any time you could cast a sorcery.
type=Land
[/card]
[card]
name=Livewire Lash
auto={2}:equip
auto=teach(creature) 2/0
auto=teach(creature) transforms((,newability[@targeted(this):damage:2 target(creature,player)])) forever
text=Equipped creature gets +2/+0 and has "Whenever this creature becomes the target of a spell, this creature deals 2 damage to target creature or player." -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Living Destiny
target=*|myhand
auto=life:manacost controller
text=As an additional cost to cast Living Destiny, reveal a creature card from your hand. -- You gain life equal to the revealed card's converted mana cost.
mana={3}{G}
type=Instant
[/card]
[card]
name=Living Inferno
auto={T}:thisforeach(power>=1) counter(0/0,1,LivingEffect) all(this) 
auto={C(0/0,-1,LivingEffect)}:name(Deal 1 damage to opponent's creature) name(Deal 1 damage to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:1],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-2,LivingEffect)}:name(Deal 2 damages to opponent's creature) name(Deal 2 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:2],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-3,LivingEffect)}:name(Deal 3 damages to opponent's creature) name(Deal 3 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:3],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-4,LivingEffect)}:name(Deal 4 damages to opponent's creature) name(Deal 4 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:4],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-5,LivingEffect)}:name(Deal 5 damages to opponent's creature) name(Deal 5 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:5],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-6,LivingEffect)}:name(Deal 6 damages to opponent's creature) name(Deal 6 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:6],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-7,LivingEffect)}:name(Deal 7 damages to opponent's creature) name(Deal 7 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:7],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-8,LivingEffect)}:name(Deal 8 damages to opponent's creature) name(Deal 8 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:8],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-9,LivingEffect)}:name(Deal 9 damages to opponent's creature) name(Deal 9 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:9],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-10,LivingEffect)}:name(Deal 10 damages to opponent's creature) name(Deal 10 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:10],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-1,LivingEffect)}:name(Deal 1 damage to your creature) name(Deal 1 damage to your creature) target(creature|myBattlefield) transforms((,newability[damage:1],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-2,LivingEffect)}:name(Deal 2 damages to your creature) name(Deal 2 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:2],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-3,LivingEffect)}:name(Deal 3 damages to your creature) name(Deal 3 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:3],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-4,LivingEffect)}:name(Deal 4 damages to your creature) name(Deal 4 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:4],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-5,LivingEffect)}:name(Deal 5 damages to your creature) name(Deal 5 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:5],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-6,LivingEffect)}:name(Deal 6 damages to your creature) name(Deal 6 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:6],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-7,LivingEffect)}:name(Deal 7 damages to your creature) name(Deal 7 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:7],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-8,LivingEffect)}:name(Deal 8 damages to your creature) name(Deal 8 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:8],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-9,LivingEffect)}:name(Deal 9 damages to your creature) name(Deal 9 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:9],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-10,LivingEffect)}:name(Deal 10 damages to your creature) name(Deal 10 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:10],newability[dynamicability<!powerstrike!> target(Living Inferno[counter{0/0.1.LivingEffect}]|myBattlefield)])) oneshot
auto=@each endofturn:removeallcounters(0/0,1,LivingEffect)
text={T}: Living Inferno deals damage equal to its power divided as you choose among any number of target creatures. Each of those creatures deals damage equal to its power to Living Inferno.
mana={6}{R}{R}
type=Creature
subtype=Elemental
power=8
toughness=5
[/card]
[card]
name=Living Lightning
auto=_DIES_moveto(myhand) target(*[instant;sorcery]|mygraveyard)
text=When Living Lightning dies, return target instant or sorcery card from your graveyard to your hand.
mana={3}{R}
type=Creature
subtype=Elemental Shaman
power=3
toughness=2
[/card]
[card]
name=Living Tempest
abilities=flying,flash
text=Flash -- Flying
mana={4}{U}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Living Twister
auto={1}{R}{D(land|myhand)}:damage:2 target(player,creature,planeswalker)
auto={G}:target(land[tapped]|myBattlefield) moveto(ownerhand)
text={1}{R}, Discard a land card: Living Twister deals 2 damage to any target. -- {G}: Return a tapped land you control to its owner's hand.
mana={R}{R}{G}
type=Creature
subtype=Elemental
power=2
toughness=5
[/card]
[card]
name=Livio, Oathsworn Sentinel
abilities=partner
auto={1}{W}:target(other creature) moveto(exile)
auto={2}{W}{T}:moveto(ownerbattlefield) all(creature|exile)
text={1}{W}: Choose another target creature. Its controller may exile it with an aegis counter on it. -- {2}{W}, {T}: Return all exiled cards with aegis counters on them to the battlefield under their owners' control. -- Partner (You can have two commanders if both have partner.)
mana={1}{W}
type=Legendary Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Llanowar Envoy
auto={1}{G}:Add{W}
auto={1}{G}:Add{U}
auto={1}{G}:Add{B}
auto={1}{G}:Add{R}
auto={1}{G}:Add{G}
text={1}{G}: Add one mana of any color.
mana={2}{G}
type=Creature
subtype=Elf Scout
power=3
toughness=2
[/card]
[card]
name=Llanowar Scout
auto={T}:moveto(myBattlefield) target(land|myHand)
text={T}: You may put a land card from your hand onto the battlefield.
mana={1}{G}
type=Creature
subtype=Elf Scout
power=1
toughness=3
[/card]
[card]
name=Llanowar Tribe
auto={T}:add{G}{G}{G}
text={T}: Add {G}{G}{G}.
mana={G}{G}{G}
type=Creature
subtype=Elf Druid
power=3
toughness=3
[/card]
[card]
name=Llanowar Visionary
auto=draw:1 controller
auto={T}:add{G}
text=When Llanowar Visionary enters the battlefield, draw a card. -- {T}: Add {G}.
mana={2}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=2
[/card]
[card]
name=Loafing Giant
auto=_ATTACKING_reveal:1 optionone if type(land|reveal)~lessthan~1 then target(<1>*|reveal) moveto(mygraveyard) else fog from(this) optiononeend optiontwo if type(land|reveal)~morethan~0 then target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend
text=Whenever Loafing Giant attacks or blocks, put the top card of your library into your graveyard. If that card is a land card, prevent all combat damage Loafing Giant would deal this turn.
mana={4}{R}
type=Creature
subtype=Giant
power=4
toughness=6
[/card]
[card]
name=Loathsome Catoblepas
auto={2}{G}:transforms((,newability[_ATTACKING_all(creature|opponentbattlefield) mustblock ueot])) ueot
auto=_DIES_target(creature|opponentbattlefield) -3/-3 ueot
text={2}{G}: Loathsome Catoblepas must be blocked this turn if able. -- When Loathsome Catoblepas dies, target creature an opponent controls gets -3/-3 until end of turn.
mana={5}{B}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Loathsome Chimera
auto=if paid(retrace) then counter(1/1,1)
retrace={4}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Escape-{4}{G}, exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Loathsome Chimera escapes with a +1/+1 counter on it.
mana={2}{G}
type=Creature
subtype=Chimera
power=4
toughness=1
[/card]
[card]
name=Loathsome Curator
abilities=menace
auto=may name(Exploit) target(creature|mybattlefield) transforms((,newability[sacrifice],newability[name(Destroy creature) target(creature[manacost<=3]|opponentbattlefield) destroy])) oneshot
text=Exploit (When this creature enters the battlefield, you may sacrifice a creature.) -- Menace -- When Loathsome Curator exploits a creature, destroy target creature you don't control with mana value 3 or less.
mana={4}{B}
type=Creature
subtype=Gorgon Wizard
power=5
toughness=4
[/card]
[card]
name=Loathsome Troll
autograveyard={3}{G}:name(Roll a d20) rolld20 20 winability donothing winabilityend loseability if compare(lastrollresult)~lessthan~10 then moveto(mylibrary) else moveto(myhand) loseabilityend rolld20end
autograveyard=@dierolled(this|mygraveyard) result(20) from(controller):name(Return to battlefield) moveto(myBattlefield) and!( tap(noevent) )!
text={3}{G}: Roll a d20. Activate only if Loathsome Troll is in your graveyard. -- 1-9 | Put Loathsome Troll on top of your library. -- 10-19 | Return Loathsome Troll to your hand. -- 20 | Return Loathsome Troll to the battlefield tapped.
mana={3}{G}{G}
type=Creature
subtype=Troll
power=6
toughness=2
[/card]
[card]
name=Lobe Lobber
auto={2}:equip
auto=teach(creature) transforms((,newability[{T} restriction{type(planeswalker|battlefield)~morethan~0}:name(Damage planeswalker) name(Damage planeswalker) target(planeswalker) damage:1 && all(this) rolld6 5 winability untap winabilityend loseability if compare(lastrollresult)~equalto~6 then untap loseabilityend rolld6end],newability[{T}:name(Damage opponent) name(Damage opponent) damage:1 opponent && all(this) rolld6 5 winability untap winabilityend loseability if compare(lastrollresult)~equalto~6 then untap loseabilityend rolld6end],newability[{T}:name(Damage controller) name(Damage controller) damage:1 controller && all(this) rolld6 5 winability untap winabilityend loseability if compare(lastrollresult)~equalto~6 then untap loseabilityend rolld6end]))
text=Equipped creature has " {T}: This creature deals 1 damage to target player or planeswalker. Roll a six-sided die. On a 5 or higher, untap it." -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Loch Dragon
abilities=flying
auto=may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1)! !$ controller
auto=_ATTACKING_may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1) controller!$
text=Flying -- Whenever Loch Dragon enters the battlefield or attacks, you may discard a card. If you do, draw a card.
mana={UR}{UR}{UR}{UR}
type=Creature
subtype=Dragon
power=3
toughness=2
[/card]
[card]
name=Lochmere Serpent
abilities=flash
auto={U}{S(island|myBattlefield)}:unblockable ueot
auto={B}{S(swamp|myBattlefield)}:draw:1 && life:1
auto={U}{B}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}{E(*|opponentgraveyard)}:moveto(myhand) asSorcery
text=Flash -- {U}, Sacrifice an Island: Lochmere Serpent can't be blocked this turn. -- {B}, Sacrifice a Swamp: You gain 1 life and draw a card. -- {U}{B}: Exile five target cards from an opponent's graveyard. Return Lochmere Serpent from your graveyard to your hand. Activate this ability only any time you could cast a sorcery.
mana={4}{U}{B}
type=Creature
subtype=Serpent
power=7
toughness=7
[/card]
[card]
name=Locked in the Cemetery
target=creature
auto=if type(*|mygraveyard)~morethan~4 then tap
auto=teach(creature) doesnotuntap
text=Enchant creature -- When Locked in the Cemetery enters the battlefield, if there are five or more cards in your graveyard, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Locthwain Gargoyle
auto={4}:transforms((,newability[2/0],newability[flying])) ueot
text={4}: Locthwain Gargoyle gets +2/+0 and gains flying until end of turn.
mana={1}
type=Artifact Creature
subtype=Gargoyle
power=0
toughness=3
[/card]
[card]
name=Locthwain Paladin
abilities=menace
auto=if casted(this) then if spent({B}{B}{B}) then counter(1/1)
text=Menace (This creature can't be blocked except by two or more creatures.) -- Adamant - If at least three black mana was spent to cast this spell, Locthwain Paladin enters the battlefield with a +1/+1 counter on it.
mana={3}{B}
type=Creature
subtype=Human Knight
power=3
toughness=2
[/card]
[card]
name=Lofty Denial
target=*|stack
auto=if type(creature[flying]|myBattlefield)~morethan~0 then transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) oneshot
auto=if type(creature[flying]|myBattlefield)~lessthan~1 then transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Counter target spell unless its controller pays 1. If you control a creature with flying, counter that spell unless its controller pays 4 instead.
mana={1}{U}
type=Instant
[/card]
[card]
name=Logic Knot
target=*|stack
other={delve} name(Delve)
auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?fizzle])) forever
text=Delve (You may exile any number of cards from your graveyard as you cast this spell. It costs {1} less to cast for each card exiled this way.) -- Counter target spell unless its controller pays {X}.
mana={X}{U}{U}
type=Instant
[/card]
[card]
name=Lonesome Unicorn // Rider in Need
abilities=vigilance,adventure
other={2}{W} name(Adventure)
auto=if paid(alternative) then name(Create knight) name(Create knight) token(Knight,creature Knight,2/2,white,vigilance)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Vigilance // Create a 2/2 white Knight creature token with vigilance. (Then exile this card. You may cast the creature later from exile.)
mana={4}{W}
type=Creature
subtype=Unicorn
power=3
toughness=3
[/card]
[card]
name=Long Rest
abilities=exiledeath
target=<prex>*|mygraveyard
other={X}{G}{G}{G} name(Cast Long Rest)
otherrestriction=type(*|mygraveyard)~morethan~7
restriction=type(*|mygraveyard)~lessthan~8
auto=moveto(myhand)
auto=if paid(alternative) then if compare(fullpaid)~morethan~7 then name(Return cards) lifeset:startinglife controller
text=Return X target cards with different mana values from your graveyard to your hand. If eight or more cards were returned to your hand this way, your life total becomes equal to your starting life total. Exile Long Rest.
mana={X}{G}{G}{G}
type=Sorcery
[/card]
[card]
name=Long-Term Plans
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) placefromthetop(3) afterrevealedend revealend
text=Search your library for a card, shuffle your library, then put that card third from the top.
mana={2}{U}
type=Instant
[/card]
[card]
name=Longhorn Firebeast
auto=ability$!choice name(Do nothing) donothing _ choice name(Damage and sacrifice) damage:5 controller && sacrifice notatarget(Longhorn Firebeast|opponentbattlefield)!$ opponent
text=When Longhorn Firebeast enters the battlefield, any opponent may have it deal 5 damage to him or her. If a player does, sacrifice Longhorn Firebeast.
mana={2}{R}
type=Creature
subtype=Elemental Ox Beast
power=3
toughness=2
[/card]
[card]
name=Longtusk Stalker
auto=alterenergy:1 controller
auto=_ATTACKING_alterenergy:1 controller
auto={e:2}:name(Perpetually gets 1/0) transforms((,newability[counter(1/0.1.PerpetualPT)],newability[may name(Choose creature in hand) target(creature|myhand) counter(1/0.1.PerpetualPT)])) oneshot
text=Whenever Longtusk Staker enters the battlefield or attacks, you get {E}. -- Pay {E}{E}: Longtusk Staker perpetually gets +1/+0. You may choose a creature card in your hand. If you do, that card perpetually gets +1/+0.
mana={G}
type=Creature
subtype=Cat
power=1
toughness=1
[/card]
[card]
name=Lonis, Cryptozoologist
aicode=activate target(*[-land;zpos<=1]|opponentlibrary) moveto(myBattlefield)
auto=@movedTo(other creature[-token]|mybattlefield):name(Create clue) token(Clue)
auto={T}{S(clue[token]|myBattlefield)}:name(Sacrifice 1 clue) reveal:1 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 2 clues) reveal:2 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 3 clues) reveal:3 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 4 clues) reveal:4 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 5 clues) reveal:5 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 6 clues) reveal:6 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 7 clues) reveal:7 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 8 clues) reveal:8 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 9 clues) reveal:9 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 10 clues) reveal:10 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 11 clues) reveal:11 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 12 clues) reveal:12 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 13 clues) reveal:13 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 14 clues) reveal:14 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 15 clues) reveal:15 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 16 clues) reveal:16 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 17 clues) reveal:17 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 18 clues) reveal:18 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 19 clues) reveal:19 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto={T}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}{S(clue[token]|myBattlefield)}:name(Sacrifice 20 clues) reveal:20 revealzone(opponentlibrary) optionone target(<upto:1>*|reveal) moveto(myBattlefield) optiononeend optiontwo target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Whenever another nontoken creature enters the battlefield under your control, investigate. -- {T}, Sacrifice X Clues: Target opponent reveals the top X cards of their library. You may put a nonland permanent card with mana value X or less from among them onto the battlefield under your control. That player puts the rest on the bottom of their library in a random order.
mana={G}{U}
type=Legendary Creature
subtype=Snake Elf Scout
power=1
toughness=2
[/card]
[card]
name=Lookout's Dispersal
target=*|stack
other={1}{U} name(You control a pirate)
otherrestriction=type(pirate|myBattlefield)~morethan~0
restriction=type(pirate|myBattlefield)~equalto~0
auto=name(counter spell) target(*|stack) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
text=Lookout's Dispersal costs {1} less to cast if you control a Pirate. -- Counter target spell unless its controller pays {4}.
mana={2}{U}
type=Instant
[/card]
[card]
name=Looming Altisaur
mana={3}{W}
type=Creature
subtype=Dinosaur
power=1
toughness=7
[/card]
[card]
name=Lorcan, Warlock Collector
abilities=flying
auto=lord(warlock|mybattlefield) exiledeath
auto=@movedto(creature[manacost=0]|opponentgraveyard):transforms((,newability[may name(Pay 0 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=1]|opponentgraveyard):transforms((,newability[name(Pay 1 and put on your battlefield) pay({L:1}) name(Pay 1 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=2]|opponentgraveyard):transforms((,newability[name(Pay 2 and put on your battlefield) pay({L:2}) name(Pay 2 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=3]|opponentgraveyard):transforms((,newability[name(Pay 3 and put on your battlefield) pay({L:3}) name(Pay 3 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=4]|opponentgraveyard):transforms((,newability[name(Pay 4 and put on your battlefield) pay({L:4}) name(Pay 4 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=5]|opponentgraveyard):transforms((,newability[name(Pay 5 and put on your battlefield) pay({L:5}) name(Pay 5 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=6]|opponentgraveyard):transforms((,newability[name(Pay 6 and put on your battlefield) pay({L:6}) name(Pay 6 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=7]|opponentgraveyard):transforms((,newability[name(Pay 7 and put on your battlefield) pay({L:7}) name(Pay 7 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=8]|opponentgraveyard):transforms((,newability[name(Pay 8 and put on your battlefield) pay({L:8}) name(Pay 8 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=9]|opponentgraveyard):transforms((,newability[name(Pay 9 and put on your battlefield) pay({L:9}) name(Pay 9 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=10]|opponentgraveyard):transforms((,newability[name(Pay 10 and put on your battlefield) pay({L:10}) name(Pay 10 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=11]|opponentgraveyard):transforms((,newability[name(Pay 11 and put on your battlefield) pay({L:11}) name(Pay 11 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=12]|opponentgraveyard):transforms((,newability[name(Pay 12 and put on your battlefield) pay({L:12}) name(Pay 12 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=13]|opponentgraveyard):transforms((,newability[name(Pay 13 and put on your battlefield) pay({L:13}) name(Pay 13 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=14]|opponentgraveyard):transforms((,newability[name(Pay 14 and put on your battlefield) pay({L:14}) name(Pay 14 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=15]|opponentgraveyard):transforms((,newability[name(Pay 15 and put on your battlefield) pay({L:15}) name(Pay 15 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=16]|opponentgraveyard):transforms((,newability[name(Pay 16 and put on your battlefield) pay({L:16}) name(Pay 16 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=17]|opponentgraveyard):transforms((,newability[name(Pay 17 and put on your battlefield) pay({L:17}) name(Pay 17 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=18]|opponentgraveyard):transforms((,newability[name(Pay 18 and put on your battlefield) pay({L:18}) name(Pay 18 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost=19]|opponentgraveyard):transforms((,newability[name(Pay 19 and put on your battlefield) pay({L:19}) name(Pay 19 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
auto=@movedto(creature[manacost>=20]|opponentgraveyard):transforms((,newability[name(Pay 20 and put on your battlefield) pay({L:20}) name(Pay 20 and put on your battlefield) all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(mybattlefield)])) oneshot
text=Flying -- Whenever a creature card is put into an opponent's graveyard from anywhere, you may pay life equal to its mana value. If you do, put it onto the battlefield under your control. it's a Warlock in addition to its other types. -- If a Warlock you control would die, exile it instead.
mana={5}{B}{B}
type=Legendary Creature
subtype=Devil
power=6
toughness=6
[/card]
[card]
name=Lord of the Accursed
auto=lord(other zombie|mybattlefield) 1/1
auto={1}{B}{T}:all(zombie|mybattlefield) menace ueot
text=Other Zombies you control get +1/+1. -- {1}{B}, {T}: All Zombies gain menace until end of turn.
mana={2}{B}
type=Creature
subtype=Zombie
power=2
toughness=3
[/card]
[card]
name=Lord of the Forsaken
abilities=flying,trample
auto={B}{S(other creature|mybattlefield)}:name(Opponent mills 3 cards) deplete:3 opponent
auto=aslongas(*[hasflashback]|mygraveyard) {L:1}:name(Add 1 mana) add{C}
auto=aslongas(*[-hasflashback;canplayfromgraveyard]|mygraveyard) {L:1}:name(Add 1 mana) add{C}
text=Flying, trample -- {B}, Sacrifice another creature: Target player mills three cards. -- Pay 1 life: Add {C}. Spend this mana only to cast a spell from your graveyard.
mana={4}{B}{B}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Lord of the Ulvenwald
abilities=nightbound
backside=Kessig Naturalist
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=@combat(attacking) source(this):name(Add 1 mana) ability$!name(Choose one) choice name(Add red) add{R} doesntempty _ choice name(Add green) add{G} doesntempty!$ controller
auto=lord(other *[werewolf]|myBattlefield) 1/1
text=Other Wolves and Werewolves you control get +1/+1. -- Whenever Lord of the Ulvenwald attacks, add {R} or {G}. Until end of turn, you don't lose this mana as steps and phases end. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Kessig Naturalist
type=Creature
subtype=Werewolf
color=red,green
power=3
toughness=3
[/card]
[card]
name=Lore Drakkis
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={UR}{UR} name(Mutate)
auto=transforms((,newability[@mutated(this):moveto(myhand) target(*[instant;sorcery]|mygraveyard)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {UR}{UR} -- (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, return target instant or sorcery card from your graveyard to your hand.
mana={1}{U}{R}
type=Creature
subtype=Lizard Beast
power=2
toughness=3
[/card]
[card]
name=Lore Weaver
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(ley weaver|mylibrary)
auto={5}{U}{U}:draw:2 target(player)
text=Partner with Ley Weaver (When this creature enters the battlefield, target player may put Ley Weaver into their hand from their library, then shuffle.) -- {5}{U}{U}: Target player draws two cards.
mana={3}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Lorehold Apprentice
auto=@movedto(*[instant;sorcery]|mystack):all(spirit|mybattlefield) transforms((,newability[{T}:name(Damage opponent) damage:1 opponent])) ueot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, until end of turn, Spirit creatures you control gain " {T}: This creature deals 1 damage to each opponent."
mana={R}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Lorehold Campus
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=tap(noevent)
auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={T}:add{R}
auto={T}:add{W}
text=Lorehold Campus enters the battlefield tapped. -- {T}: Add {R} or {W}. -- {4}, {T}: Scry 1.
type=Land
[/card]
[card]
name=Lorehold Command
auto=choice name(Create Spirit and give 1/0 to creatures) token(Spirit,Creature Spirit,3/2,white,red) && all(creature|mybattlefield) transforms((,newability[1/0],newability[haste],newability[indestructible])) ueot
auto=choice name(Create Spirit and deal 3 damage) token(Spirit,Creature Spirit,3/2,white,red) && target(player,creature,planeswalker) damage:3 && ability$!name(Target player gains 3 life) name(Target player gains 3 life) life:3 target(player)!$ controller
auto=choice name(Create Spirit and sacrifice permanent) token(Spirit,Creature Spirit,3/2,white,red) && ability$!name(Sacrifice a permanent) name(Sacrifice a permanent) target(*|mybattlefield) sacrifice and!( draw:2 controller )! !$ controller
auto=choice name(Give 1/0 to creatures and deal 3 damage) all(creature|mybattlefield) transforms((,newability[1/0],newability[haste],newability[indestructible])) ueot && target(player,creature,planeswalker) damage:3 && ability$!name(Target player gains 3 life) name(Target player gains 3 life) life:3 target(player)!$ controller
auto=choice name(Give 1/0 to creatures and sacrifice permanent) all(creature|mybattlefield) transforms((,newability[1/0],newability[haste],newability[indestructible])) ueot && ability$!name(Sacrifice a permanent) name(Sacrifice a permanent) target(*|mybattlefield) sacrifice and!( draw:2 controller )! !$ controller
auto=choice name(Deal 3 damage and sacrifice permanent) target(player,creature,planeswalker) damage:3 && ability$!name(Target player gains 3 life) name(Target player gains 3 life) life:3 target(player)!$ controller && ability$!name(Sacrifice a permanent) name(Sacrifice a permanent) name(Sacrifice a permanent) target(*|mybattlefield) transforms((,newability[sacrifice],newability[draw:2 controller])) oneshot !$ controller
text=Choose two -- Create a 3/2 red and white Spirit creature token. -- Creatures you control get +1/+0 and gain indestructible and haste until end of turn. -- Lorehold Command deals 3 damage to any target. Target player gains 3 life. -- Sacrifice a permanent, then draw two cards.
mana={3}{R}{W}
type=Instant
[/card]
[card]
name=Lorehold Excavation
auto=@each my end restriction{type(land[zpos=1]|mylibrary)~morethan~0}:deplete:1 controller && life:1 controller
auto=@each my end restriction{type(land[zpos=1]|mylibrary)~equalto~0}:deplete:1 controller && damage:1 opponent
auto={5}{E(creature|mygraveyard)}:token(Spirit,Creature Spirit,3/2,red,white) and!( tap(noevent) )!
text=At the beginning of your end step, mill a card. If a land card was milled this way, you gain 1 life. Otherwise, Lorehold Excavation deals 1 damage to each opponent. (To mill a card, put the top card of your library into your graveyard.) -- {5}, Exile a creature card from your graveyard: Create a tapped 3/2 red and white Spirit creature token.
mana={R}{W}
type=Enchantment
[/card]
[card]
name=Lorehold Pledgemage
abilities=first strike
auto=@movedto(*[instant;sorcery]|mystack):1/0 ueot
text=First strike -- Magecraft - Whenever you cast or copy an instant or sorcery spell, Lorehold Pledgemage gets +1/+0 until end of turn.
mana={1}{RW}{RW}
type=Creature
subtype=Kor Shaman
power=2
toughness=2
[/card]
[card]
name=Lose Focus
target=*|stack
kicker=multi{U}
auto=transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=thisforeach(variable{kicked}>0) all(this) activate castcard(copied)
text=Replicate -- {U} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Counter target spell unless its controller pays {2}.
mana={1}{U}
type=Instant
[/card]
[card]
name=Losheel, Clockwork Scholar
auto=preventAllCombatDamage to(artifact[attacking]|myBattlefield)
auto=@movedto(artifact[creature]|myBattlefield) restriction{type(artifact[fresh;creature]|mybattlefield)~equalto~1}:draw:1 controller
text=Prevent all combat damage that would be dealt to attacking artifact creatures you control. -- Whenever one or more artifact creatures enter the battlefield under your control, draw a card. This ability triggers only once each turn.
mana={2}{W}
type=Legendary Creature
subtype=Elephant Artificer
power=2
toughness=4
[/card]
[card]
name=Lost Hours
target=player
aicode=activate placefromthetop(3) notatarget(*[-land]|targetedpersonshand)
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone target(*[-land]|reveal) placefromthetop(3) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
text=Target player reveals his or her hand. You choose a nonland card from it. That player puts that card into his or her library third from the top.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Lost Legion
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=When Lost Legion enters the battlefield, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={1}{B}{B}
type=Creature
subtype=Spirit Knight
power=2
toughness=3
[/card]
[card]
name=Lost Mine of Phandelver
restriction=never
autocommandzone=transforms((,newability[shroud],newability[indestructible])) forever
autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Cave Entrance) name(Cave Entrance) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:ability$!name(Goblin Lair or Mine Tunnels) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Goblin Lair)*type:*[twodngtrg]:mybattlefieldplus1plusend token(Goblin Los) and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.GoblinLiar) notrg )!],newability[choice name(Mine Tunnels) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.MineTunnels) notrg )!])) oneshot!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntgoblinliar)~morethan~0}:ability$!name(Storeroom or Dark Pool) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[if type(creature|battlefield)~morethan~0 then choice name(Storeroom) name(Storeroom) target(<type:*[twodngtrg]:myBattlefieldplus1plusend>creature|battlefield) counter(1/1)],newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend opponent])) oneshot!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntminetunnels)~morethan~0}:ability$!name(Dark Pool or Fungi Cavern) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend controller opponent],newability[if type(creature|battlefield)~morethan~0 then choice name(Fungi Cavern) name(Fungi Cavern) target(<type:*[twodngtrg]:myBattlefieldplus1plusend>creature|battlefield) transforms((,newability[-4/0])) uynt])) oneshot!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:choice name(Dungeon completed) all(Lost Mine of Phandelver|mycommandzone) completedungeon:1 controller
autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Temple of Dumathoin) name(Temple of Dumathoin) draw:1 controller!$ controller
text=Cave Entrance - Scry 1. -- Goblin Lair - Create a 1/1 red Goblin creature token. -- Mine Tunnels - Create a Treasure token. -- Storeroom - Put a +1/+1 counter on target creature. -- Dark Pool - Each opponent loses 1 life and you gain 1 life. -- Fungi Cavern - Target creature gets -4/-0 until your next turn. -- Temple of Dumathoin - Draw a card.
type=Dungeon
[/card]
[card]
name=Lost Vale
auto={T}:add{G}{G}{G}
auto={T}:add{B}{B}{B}
auto={T}:add{W}{W}{W}
auto={T}:add{R}{R}{R}
auto={T}:add{U}{U}{U}
text=(Transforms from Dowsing Dagger.) -- {T}: Add three mana of any one color to your mana pool.
type=Land
[/card]
[card]
name=Lotleth Giant
auto=damage:1 target(opponent) type:creature:card:mygraveyard
text=Undergrowth - When Lotleth Giant enters the battlefield, it deals 1 damage to target opponent for each creature card in your graveyard.
mana={6}{B}
type=Creature
subtype=Zombie Giant
power=6
toughness=5
[/card]
[card]
name=Lotus Field
abilities=opponentshroud
auto=tap(noevent)
auto=aslongas(land|mybattlefield) choice target(<2>land|mybattlefield) sacrifice oneshot >1
auto={T}:Add{W}{W}{W}
auto={T}:Add{U}{U}{U}
auto={T}:Add{B}{B}{B}
auto={T}:Add{R}{R}{R}
auto={T}:Add{G}{G}{G}
text=Hexproof -- Lotus Field enters the battlefield tapped. -- When Lotus Field enters the battlefield, sacrifice two lands. -- {T}: Add three mana of any one color.
type=Land
[/card]
[card]
name=Lovestruck Beast // Heart's Desire
abilities=adventure
other={G} name(Adventure)
auto=if paid(alternative) then name(Create human) name(Create human) token(Human,Creature Human,1/1,white)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=@each my combatbegins:if type(creature[power=1]|mybattlefield)~lessthan~1 then cantattack ueot
auto=@each my combatbegins:if type(creature[toughness=1]|mybattlefield)~lessthan~1 then cantattack ueot
text=Lovestruck Beast can't attack unless you control a 1/1 creature. // Create a 1/1 white Human creature token. (Then exile this card. You may cast the creature later from exile.)
mana={2}{G}
type=Creature
subtype=Beast Noble
power=5
toughness=5
[/card]
[card]
name=Loxodon Lifechanter
auto=may lifeset:toughnesstotalinplay controller
auto={5}{W}:lifetotal/lifetotal ueot
text=When Loxodon Lifechanter enters the battlefield, you may have your life total become the total toughness of creatures you control. -- {5}{W}: Loxodon Lifechanter gets +X/+X until end of turn, where X is your life total.
mana={5}{W}
type=Creature
subtype=Elephant Cleric
power=4
toughness=6
[/card]
[card]
name=Loxodon Line Breaker
mana={2}{W}
type=Creature
subtype=Elephant Soldier
power=3
toughness=2
[/card]
[card]
name=Loxodon Restorer
other={convoke} name(Convoke)
auto=life:4
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.) -- When Loxodon Restorer enters the battlefield, you gain 4 life.
mana={4}{W}{W}
type=Creature
subtype=Elephant Cleric
power=3
toughness=4
[/card]
[card]
name=Loxodon Sergeant
abilities=vigilance
auto=all(other creature|myBattlefield) vigilance
text=Vigilance -- When Loxodon Sergeant enters the battlefield, other creatures you control gain vigilance until end of turn.
mana={3}{W}
type=Creature
subtype=Elephant Soldier
power=3
toughness=3
[/card]
[card]
name=Loyal Apprentice
abilities=haste
auto=@each my combatbegins restriction{type(*[iscommander]|mybattlefield)~morethan~0}:token(Thopter,Artifact Creature Thopter,1/1,flying) and!( transforms((,newability[haste])) ueot )!
text=Haste -- Lieutenant - At the beginning of combat on your turn, if you control your commander, create a 1/1 colorless Thopter artifact creature token with flying. That token gains haste until end of turn.
mana={1}{R}
type=Creature
subtype=Human Artificer
power=2
toughness=1
[/card]
[card]
name=Loyal Drake
abilities=flying
auto=@each my combatbegins restriction{type(*[iscommander]|mybattlefield)~morethan~0}:draw:1 controller
text=Flying -- Lieutenant - At the beginning of combat on your turn, if you control your commander, draw a card.
mana={2}{U}
type=Creature
subtype=Drake
power=2
toughness=2
[/card]
[card]
name=Loyal Gryff
abilities=flash,flying
auto=may name(Return a creature) target(other creature|myBattlefield) moveo(ownerhand)
text=Flash -- Flying -- When Loyal Gryff enters the battlefield, you may return another creature you control to its owner's hand.
type=Creature
subtype=Hippogriff
mana={2}{W}
power=2
toughness=2
[/card]
[card]
name=Loyal Guardian
abilities=trample
auto=@each my combatbegins restriction{type(*[iscommander]|mybattlefield)~morethan~0}:all(creature|mybattlefield) counter(1/1)
text=Trample -- Lieutenant - At the beginning of combat on your turn, if you control your commander, put a +1/+1 counter on each creature you control.
mana={4}{G}
type=Creature
subtype=Rhino
power=4
toughness=4
[/card]
[card]
name=Loyal Subordinate
abilities=menace
auto=@each my combatbegins restriction{type(*[iscommander]|mybattlefield)~morethan~0}:life:-3 opponent
text=Menace -- Lieutenant - At the beginning of combat on your turn, if you control your commander, each opponent loses 3 life.
mana={2}{B}
type=Creature
subtype=Zombie
power=3
toughness=1
[/card]
[card]
name=Loyal Unicorn
abilities=vigilance
auto=@each my combatbegins restriction{type(*[iscommander]|mybattlefield)~morethan~0}:all(other creature|mybattlefield) transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(*[iscommander]|mybattlefield)~morethan~0}:preventAllCombatDamage to(creature|myBattlefield) ueot
text=Vigilance -- Lieutenant - At the beginning of combat on your turn, if you control your commander, prevent all combat damage that would be dealt to creatures you control this turn. Other creatures you control gain vigilance until end of turn.
mana={3}{W}
type=Creature
subtype=Unicorn
power=3
toughness=4
[/card]
[card]
name=Loyal Warhound
abilities=vigilance
auto=if compare(type:land:opponentbattlefield)~morethan~compare(type:land:mybattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!
text=Vigilance -- When Loyal Warhound enters the battlefield, if an opponent controls more lands than you, search your library for a basic Plains card, put it onto the battlefield tapped, then shuffle.
mana={1}{W}
type=Creature
subtype=Dog
power=3
toughness=1
[/card]
[card]
name=Lucid Dreams
auto=draw:mygravecardtypes controller
text=Draw X cards, where X is the number of card types among cards in your graveyard.
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Lucky Clover
auto=@movedTo(instant[adventure]|myStack):all(trigger[to]) activate castcard(alternative copied)
auto=@movedTo(sorcery[adventure]|myStack):all(trigger[to]) activate castcard(alternative copied)
text=Whenever you cast an Adventure instant or sorcery spell, copy it. You may choose new targets for the copy.
mana={2}
type=Artifact
[/card]
[card]
name=Ludevic, Necro-Alchemist
abilities=partner
auto=@each my end restriction{compare(oplifelost)~morethan~0}:may draw:1 controller
auto=@each opponent end restriction{compare(oplifelost)~morethan~0}:may draw:1 controller
text=At the beginning of each player's end step, that player may draw a card if a player other than you lost life this turn. -- Partner (You can have two commanders if both have partner.)
mana={1}{U}{R}
type=Legendary Creature
subtype=Human Wizard
power=1
toughness=4
[/card]
[card]
name=Ludevic, Necrogenius
backside=Olag, Ludevic's Hubris
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=name(Mill a card) deplete:1 controller
auto=@combat(attacking) source(this):name(Mill a card) deplete:1 controller
auto={1}{U}{U}{B}{B}{E(creature|mygraveyard)}:name(X=1) transforms((,newability[flip(backside)],newability[counter(1/1)])) forever asSorcery
auto={2}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=2) transforms((,newability[flip(backside)],newability[counter(1/1.2)])) forever asSorcery
auto={3}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=3) transforms((,newability[flip(backside)],newability[counter(1/1.3)])) forever asSorcery
auto={4}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=4) transforms((,newability[flip(backside)],newability[counter(1/1.4)])) forever asSorcery
auto={5}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=5) transforms((,newability[flip(backside)],newability[counter(1/1.5)])) forever asSorcery
auto={6}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=6) transforms((,newability[flip(backside)],newability[counter(1/1.6)])) forever asSorcery
auto={7}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=7) transforms((,newability[flip(backside)],newability[counter(1/1.7)])) forever asSorcery
auto={8}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=8) transforms((,newability[flip(backside)],newability[counter(1/1.8)])) forever asSorcery
auto={9}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=9) transforms((,newability[flip(backside)],newability[counter(1/1.9)])) forever asSorcery
auto={10}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=10) transforms((,newability[flip(backside)],newability[counter(1/1.10)])) forever asSorcery
auto={11}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=11) transforms((,newability[flip(backside)],newability[counter(1/1.11)])) forever asSorcery
auto={12}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=12) transforms((,newability[flip(backside)],newability[counter(1/1.12)])) forever asSorcery
auto={13}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=13) transforms((,newability[flip(backside)],newability[counter(1/1.13)])) forever asSorcery
auto={14}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=14) transforms((,newability[flip(backside)],newability[counter(1/1.14)])) forever asSorcery
auto={15}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=15) transforms((,newability[flip(backside)],newability[counter(1/1.15)])) forever asSorcery
auto={16}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=16) transforms((,newability[flip(backside)],newability[counter(1/1.16)])) forever asSorcery
auto={17}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=17) transforms((,newability[flip(backside)],newability[counter(1/1.17)])) forever asSorcery
auto={18}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=18) transforms((,newability[flip(backside)],newability[counter(1/1.18)])) forever asSorcery
auto={19}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=19) transforms((,newability[flip(backside)],newability[counter(1/1.19)])) forever asSorcery
auto={20}{U}{U}{B}{B}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}{E(creature|mygraveyard)}:name(X=20) transforms((,newability[flip(backside)],newability[counter(1/1.20)])) forever asSorcery
text=Whenever Ludevic, Necrogenius enters the battlefield or attacks, mill a card. -- {X}{U}{U}{B}{B}, Exile X creature cards from your graveyard: Transform Ludevic, Necrogenius. X can't be zero. Activate only as a sorcery. // Olag, Ludevic's Hubris
mana={U}{B}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Lullmage Mentor
auto=@targeted(*|stack) from(*|myzones):may name(Create merfolk) token(Merfolk,Creature Merfolk,1/1,blue)
auto={T(merfolk[-tapped]|mybattlefield)}{T(merfolk[-tapped]|mybattlefield)}{T(merfolk[-tapped]|mybattlefield)}{T(merfolk[-tapped]|mybattlefield)}{T(merfolk[-tapped]|mybattlefield)}{T(merfolk[-tapped]|mybattlefield)}{T(merfolk[-tapped]|mybattlefield)}:name(Counter spell) target(*|stack) fizzle
text=Whenever a spell or ability you control counters a spell, you may put a 1/1 blue Merfolk creature token onto the battlefield. -- Tap seven untapped Merfolk you control: Counter target spell.
mana={1}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Lullmage's Domination
anyzone=if type(*|opponentGraveyard)~morethan~7 then changecost(colorless:-3) forcedalive
target=creature[manacost=X]
auto=moveTo(myBattlefield)
text=This spell costs {3} less to cast if it targets a creature whose controller has eight or more cards in their graveyard. -- Gain control of target creature with converted mana cost X.
mana={X}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Lullmage's Familiar
auto={T}:add{G}
auto={T}:add{U}
auto=@movedTo(*[kicked>=1]|myStack):name(Gain 2 life) life:2 controller
text={T}: Add {G} or {U}. -- Whenever you cast a kicked spell, you gain 2 life.
mana={1}{G}{U}
type=Creature
subtype=Beast
power=2
toughness=4
[/card]
[card]
name=Lumbering Battlement
abilities=vigilance
auto=choice name(Exile 0 creatures) name(Exile 0 creatures) donothing
auto=if type(creature[-token]|mybattlefield)~morethan~0 then choice name(Exile 1 creature) name(Exile 1 creature) transforms((,newability[target(creature[-token|mybattlefield) (blink)forsrc],newability[2/2])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~1 then choice name(Exile 2 creatures) name(Exile 2 creatures) transforms((,newability[target(<2>creature[-token|mybattlefield) (blink)forsrc],newability[4/4])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~2 then choice name(Exile 3 creatures) name(Exile 3 creatures) transforms((,newability[target(<3>creature[-token|mybattlefield) (blink)forsrc],newability[6/6])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~3 then choice name(Exile 4 creatures) name(Exile 4 creatures) transforms((,newability[target(<4>creature[-token|mybattlefield) (blink)forsrc],newability[8/8])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~4 then choice name(Exile 5 creatures) name(Exile 5 creatures) transforms((,newability[target(<5>creature[-token|mybattlefield) (blink)forsrc],newability[10/10])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~5 then choice name(Exile 6 creatures) name(Exile 6 creatures) transforms((,newability[target(<6>creature[-token|mybattlefield) (blink)forsrc],newability[12/12])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~6 then choice name(Exile 7 creatures) name(Exile 7 creatures) transforms((,newability[target(<7>creature[-token|mybattlefield) (blink)forsrc],newability[14/14])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~7 then choice name(Exile 8 creatures) name(Exile 8 creatures) transforms((,newability[target(<8>creature[-token|mybattlefield) (blink)forsrc],newability[16/16])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~8 then choice name(Exile 9 creatures) name(Exile 9 creatures) transforms((,newability[target(<9>creature[-token|mybattlefield) (blink)forsrc],newability[18/18])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~9 then choice name(Exile 10 creatures) name(Exile 10 creatures) transforms((,newability[target(<10>creature[-token|mybattlefield) (blink)forsrc],newability[20/20])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~10 then choice name(Exile 11 creatures) name(Exile 11 creatures) transforms((,newability[target(<11>creature[-token|mybattlefield) (blink)forsrc],newability[22/22])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~11 then choice name(Exile 12 creatures) name(Exile 12 creatures) transforms((,newability[target(<12>creature[-token|mybattlefield) (blink)forsrc],newability[24/24])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~12 then choice name(Exile 13 creatures) name(Exile 13 creatures) transforms((,newability[target(<13>creature[-token|mybattlefield) (blink)forsrc],newability[26/26])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~13 then choice name(Exile 14 creatures) name(Exile 14 creatures) transforms((,newability[target(<14>creature[-token|mybattlefield) (blink)forsrc],newability[28/28])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~14 then choice name(Exile 15 creatures) name(Exile 15 creatures) transforms((,newability[target(<15>creature[-token|mybattlefield) (blink)forsrc],newability[30/30])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~15 then choice name(Exile 16 creatures) name(Exile 16 creatures) transforms((,newability[target(<16>creature[-token|mybattlefield) (blink)forsrc],newability[32/32])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~16 then choice name(Exile 17 creatures) name(Exile 17 creatures) transforms((,newability[target(<17>creature[-token|mybattlefield) (blink)forsrc],newability[34/34])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~17 then choice name(Exile 18 creatures) name(Exile 18 creatures) transforms((,newability[target(<18>creature[-token|mybattlefield) (blink)forsrc],newability[36/36])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~18 then choice name(Exile 19 creatures) name(Exile 19 creatures) transforms((,newability[target(<19>creature[-token|mybattlefield) (blink)forsrc],newability[38/38])) forever
auto=if type(creature[-token]|mybattlefield)~morethan~19 then choice name(Exile 20 creatures) name(Exile 20 creatures) transforms((,newability[target(<20>creature[-token|mybattlefield) (blink)forsrc],newability[40/40])) forever
text=Vigilance -- When Lumbering Battlement enters the battlefield, exile any number of other nontoken creatures you control until it leaves the battlefield. -- Lumbering Battlement gets +2/+2 for each card exiled with it.
mana={4}{W}
type=Creature
subtype=Beast
power=4
toughness=5
[/card]
[card]
name=Lumbering Lightshield
auto=name(Opponent reveal a random card) moverandom(*[-land]) from(opponenthand) to(myhand) and!( transforms((,newability[counter(0/0.1.PutBack)],newability[name(Put back) target(*[counter{0/0.1.PutBack}]|myhand) moveto(opponenthand) and!( transforms((,newability[changecost(colorless:+1) forcedalive])) forever )!])) forever )!
text=When Lumbering Lightshield enters the battlefield, target opponent reveals a nonland card at random from their hand. It perpetually gains "This spell costs {1} more to cast."
mana={1}{W}
type=Creature
subtype=Illusion
power=1
toughness=4
[/card]
[card]
name=Luminarch Aspirant
auto=@each my combatbegins:counter(1/1,1) target(creature|myBattlefield)
text=At the beginning of combat on your turn, put a +1/+1 counter on target creature you control.
mana={1}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Luminous Bonds
target=creature
auto=cantattack
auto=cantblock
text=Enchant creature -- Enchanted creature can't attack or block.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Luminous Broodmoth
abilities=flying
auto=@movedto(creature[-flying;-counter{0/0.1.Flying}]|myGraveyard) from(myBattlefield):all(trigger[to]) moveTo(myBattlefield) and!( transforms((,newability[counter(0/0.1.Flying)],newability[this(counter{0/0.1.Flying}>=1) flying])) forever )!
text=Flying -- Whenever a creature you control without flying dies, return it to the battlefield under its owner's control with a flying counter on it.
mana={2}{W}{W}
type=Creature
subtype=Insect
power=3
toughness=4
[/card]
[card]
name=Luminous Guardian
auto={W}:0/1 ueot
text={W}: Luminous Guardian gets +0/+1 until end of turn. -- {2}: Luminous Guardian can block an additional creature this turn.
mana={3}{W}
type=Creature
subtype=Human Nomad
power=1
toughness=4
[/card]
[card]
name=Luminous Phantom
backside=Lunarch Veteran
abilities=flying,exiledeath
auto=@movedto(other creature|nonbattlezone) from(mybattlefield):name(Gain 1 life) life:1 controller
text=Flying -- Whenever another creature you control leaves the battlefield, you gain 1 life. -- If Luminous Phantom would be put into a graveyard from anywhere, exile it instead. // Lunarch Veteran
type=Creature
subtype=Spirit Cleric
color=white
power=1
toughness=1
[/card]
[card]
name=Lunar Frenzy
target=creature|mybattlefield
auto=X/0 ueot
auto=transforms((,newability[first strike],newability[trample])) ueot
text=Target creature you control gets +X/+0 and gains first strike and trample until end of turn.
mana={X}{R}
type=Instant
[/card]
[card]
name=Lunarch Veteran
backside=Luminous Phantom
abilities=hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={1}{W} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto=@movedto(other creature|mybattlefield):name(Gain 1 life) life:1 controller
text=Whenever another creature enters the battlefield under your control, you gain 1 life. -- Disturb {1}{W} (You may cast this card from your graveyard transformed for its disturb cost.) // Luminous Phantom
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Lurching Rotbeast
abilities=cycling
autohand=__CYCLING__({B})
text=Cycling {B} ({B}, Discard this card: Draw a card.)
mana={3}{B}
type=Creature
subtype=Zombie Beast
power=4
toughness=2
[/card]
[card]
name=Lurking Arynx
auto={2}{G}:target(creature|opponentbattlefield) mustblock ueot restriction{compare(powertotalinplay)~morethan~7}
text=Formidable-{2}{G}: Target creature blocks Lurking Arynx this turn if able. Activate this ability only if creatures you control have total power 8 or greater.
mana={4}{G}
type=Creature
subtype=Cat Beast
power=3
toughness=5
[/card]
[card]
name=Lurking Chupacabra
auto=@explored(creature|mybattlefield):name(Target opponent's creature grets -2/-2) name(Target opponent's creature grets -2/-2) target(creature|opponentBattlefield) -2/-2 ueot
text=Whenever a creature you control explores, target creature an opponent controls gets -2/-2 until end of turn.
mana={3}{B}
type=Creature
subtype=Beast Horror
power=2
toughness=3
[/card]
[card]
name=Lurking Deadeye
abilities=flash
auto=aslongas(creature[damaged]|battlefield) destroy target(creature[damaged]) oneshot
text=Flash -- When Lurking Deadeye enters the battlefield, destroy target creature that was dealt damage this turn.
mana={3}{B}
type=Creature
subtype=Human Assassin
power=4
toughness=2
[/card]
[card]
name=Lurking Roper
abilities=doesnotuntap
auto=@lifeof(player):name(Untap) untap
text=Lurking Roper doesn't untap during your untap step. -- Whenever you gain life, untap Lurking Roper.
mana={2}{G}
type=Creature
subtype=Horror
power=4
toughness=5
[/card]
[card]
name=Lurrus of the Dream-Den
auto=@each my upkeep:may name(Choose a permanent in graveyard) target(*[-instant;-sorcery]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[{2}:name(Cast from graveyard for 2) activate castcard(alternative)])) ueot
text=Companion - Each permanent card in your starting deck has converted mana cost 2 or less. (If this card is your chosen companion, you may cast it once from outside the game.) -- Lifelink -- During each of your turns, you may cast one permanent spell with converted mana cost 2 or less from your graveyard.
mana={1}{WB}{WB}
type=Legendary Creature
subtype=Cat Nightmare
power=3
toughness=2
[/card]
[card]
name=Luxa River Shrine
auto={1}{T}{counter(0/0,1,brick)}:life:1 controller
auto={T}{restriction type(this[counter(brick)>=3])~morethan~0}:life:2 controller
text={1}, {T}: You gain 1 life. Put a brick counter on Luxa River Shrine. -- {T}: You gain 2 life. Activate this ability only if there are three or more brick counters on Luxa River Shrine.
mana={3}
type=Artifact
[/card]
[card]
name=Luxury Suite
auto=tap(noevent)
auto={T}:Add{B}
auto={T}:Add{R}
text=Luxury Suite enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {B} or {R}.
type=Land
[/card]
[card]
name=Lynde, Cheerful Tormentor
abilities=deathtouch
auto=@movedto(curse|mygraveyard) from(battlefield):name(Return in play later) all(trigger[to]) name(Return in play later) transforms((,newability[phaseaction[endofturn once] moveto(mybattlefield)])) ueot
auto=@each my upkeep:may name(Attach curse to opponent) target(curse|battlefield) moveto(myreveal) and!( moveto(mybattlefield) )!
text=Deathtouch -- Whenever a Curse is put into your graveyard from the battlefield, return it to the battlefield at the beginning of the next end step. -- At the beginning of your upkeep, you may attach a Curse attached to you to one of your opponents. If you do, draw two cards.
mana={1}{U}{B}{R}
type=Legendary Creature
subtype=Human Warlock
power=2
toughness=4
[/card]
[card]
name=Lyra Dawnbringer
abilities=flying, first strike, lifelink
auto=lord(other angel|myBattlefield) +1/+1
auto=lord(other angel|myBattlefield) lifelink
text=Flying, first strike, lifelink -- Other Angels you control get +1/+1 and have lifelink.
mana={3}{W}{W}
type=Legendary Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Lyzolda, the Blood Witch
auto={2}{S(creature[red]|mybattlefield)}:damage:2 target(creature,player)
auto={2}{S(creature[black]|mybattlefield)}:draw:1 controller
text={2}, Sacrifice a creature: Lyzolda, the Blood Witch deals 2 damage to target creature or player if the sacrificed creature was red. Draw a card if the sacrificed creature was black.
mana={1}{B}{R}
type=Legendary Creature
subtype=Human Cleric
power=3
toughness=1
[/card]
[card]
name=M'Odo, the Gnarled Oracle
aicode=activate moveTo(myBattlefield) target(creature[manacost<=X]|myLibrary)
auto={D(*|myhand)}{X}:name(Reveal my library for a creature) reveal:1 revealzone(mylibrary) revealuntil(creature[manacost<=x]|mylibrary) optionone target(creature[manacost<=x]|reveal) moveto(myBattlefield) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
auto={D(*|myhand)}{X}:name(Reveal opponent library for a creature) reveal:1 revealzone(opponentLibrary) revealuntil(creature[manacost<=X]|opponentLibrary) optionone target(creature[manacost<=X]|reveal) moveto(myBattlefield) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
autocommandzone={D(*|myhand)}{X}:name(Reveal from my library) reveal:1 revealzone(mylibrary) revealuntil(creature[manacost<=x]|mylibrary) optionone target(creature[manacost<=x]|reveal) moveto(myBattlefield) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
autocommandzone={D(*|myhand)}{X}:name(Reveal from opponent library) reveal:1 revealzone(opponentLibrary) revealuntil(creature[manacost<=X]|opponentLibrary) optionone target(creature[manacost<=X]|reveal) moveto(mybattlefield) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
text=Eminence-{X}, Discard a card: Target player reveals cards from the top of their library until they reveal a creature card with converted mana cost X or less. Put that card onto the battlefield under your control, then that player shuffles the rest into their library. Activate this ability only if M'Odo, the Gnarled Oracle is on the battlefield or in the command zone.
mana={B}{U}{G}
type=Legendary Creature
subtype=Zombie Elf Wizard
power=0
toughness=3
[/card]
[card]
name=Macabre Mockery
target=creature|opponentGraveyard
auto=moveto(myBattlefield) and!( transforms((,newability[treason],newability[+2/+0],newability[haste])) ueot )!
text=Put target creature card from an opponent's graveyard onto the battlefield under your control. It gets +2/+0 and gains haste until end of turn. Sacrifice it at the beginning of the next end step.
mana={2}{B}{R}
type=Instant
[/card]
[card]
name=Mace of the Valiant
auto={3}:equip
auto=teach(creature) vigilance
auto=thisforeach(counter{0/0.1.charge}) 1/1
auto=@movedTo(creature|myBattlefield):counter(0/0,1,charge)
text=Equipped creature gets +1/+1 for each charge counter on Mace of the Valiant and has vigilance. -- Whenever a creature enters the battlefield under your control, put a charge counter on Mace of the Valiant. -- Equip {3}
mana={2}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Mad Dog
auto=@each my endofturn restriction{didntattack}:sacrifice
auto=@each my endofturn restriction{type(Mad Dog[fresh]|mybattlefield)~morethan~0}:sacrifice
text=At the beginning of your end step, if Mad Dog didn't attack or come under your control this turn, sacrifice it.
mana={1}{R}
type=Creature
subtype=Dog
power=2
toughness=2
[/card]
[card]
name=Mad Ratter
auto=_SECOND_DRAW_create(Rat:creature Rat:1/1:black)*2
text=Whenever you draw your second card each turn, create two 1/1 black Rat creature tokens.
mana={3}{R}
type=Creature
subtype=Goblin
power=1
toughness=2
[/card]
[card]
name=Mad Science Fair Project
auto={T}:all(this) rolld6 6 winability counter(0/0,1,MadEffect) winabilityend loseability counter(0/0,1,MadEffect) loseabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):this(counter{0/0.1.MadEffect}=1) ability$!name(Add colorless) name(Add colorless) add{C}!$ controller && counter(0/0,-1,MadEffect) all(this)
auto=@dierolled(this) result(2) from(controller):this(counter{0/0.1.MadEffect}=1) ability$!name(Add colorless) name(Add colorless) add{C}!$ controller && counter(0/0,-1,MadEffect) all(this)
auto=@dierolled(this) result(3) from(controller):this(counter{0/0.1.MadEffect}=1) ability$!name(Add colorless) name(Add colorless) add{C}!$ controller && counter(0/0,-1,MadEffect) all(this)
auto=@dierolled(this) result(4) from(controller):this(counter{0/0.1.MadEffect}=1) ability$!name(Add any color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller && counter(0/0,-1,MadEffect) all(this)
auto=@dierolled(this) result(5) from(controller):this(counter{0/0.1.MadEffect}=1) ability$!name(Add any color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller && counter(0/0,-1,MadEffect) all(this)
auto=@dierolled(this) result(6) from(controller):this(counter{0/0.1.MadEffect}=1) ability$!name(Add any color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller && counter(0/0,-1,MadEffect) all(this)
text={T}: Roll a six-sided die. On a 3 or lower, target player adds {1} . Otherwise, that player adds one mana of any color they choose.
mana={3}
type=Artifact
[/card]
[card]
name=Maddening Cacophony
kicker={3}{U}
auto=if paid(kicker) then deplete:halfuptype:*:opponentLibrary opponent
auto=ifnot paid(kicker) then deplete:8 opponent
text=Kicker {3}{U} -- Each opponent mills eight cards. If this spell was kicked, instead each opponent mills half their library, rounded up.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Maddening Hex
target=player
auto=@movedTo(*[-creature]|targetedpersonsstack):name(Roll a d6) rolld6 6 winability damage:lastrollresult targetedplayer winabilityend loseability damage:targetedplayer opponent loseabilityend rolld6end
text=Enchant player -- Whenever enchanted player casts a noncreature spell, roll a d6. Maddening Hex deals damage to that player equal to the result. Then attach Maddening Hex to another one of your opponents chosen at random.
mana={1}{R}{R}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Maelstrom Colossus
autostack=if casted(this) then cascade:plibrarycount
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={8}
type=Artifact Creature
subtype=Golem
power=7
toughness=7
[/card]
[card]
name=Maelstrom Muse
abilities=flying
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~1}:name(Reduce cost of 1) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-1)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~2}:name(Reduce cost of 2) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-2)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~3}:name(Reduce cost of 3) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-3)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~4}:name(Reduce cost of 4) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-4)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~5}:name(Reduce cost of 5) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-5)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~6}:name(Reduce cost of 6) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-6)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~7}:name(Reduce cost of 7) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-7)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~8}:name(Reduce cost of 8) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-8)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~9}:name(Reduce cost of 9) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-9)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~10}:name(Reduce cost of 10) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-10)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~11}:name(Reduce cost of 11) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-11)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~12}:name(Reduce cost of 12) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-12)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~13}:name(Reduce cost of 13) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-13)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~14}:name(Reduce cost of 14) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-14)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~15}:name(Reduce cost of 15) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-15)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~16}:name(Reduce cost of 16) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-16)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~17}:name(Reduce cost of 17) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-17)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~18}:name(Reduce cost of 18) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-18)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~equalto~19}:name(Reduce cost of 19) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-19)])) ueot
auto=@combat(attacking) source(this) restriction{compare(power)~morethan~19}:name(Reduce cost of 20) transforms((,newability[lord(*[instant;sorcery]|mycastingzone) changecost(colorless:-20)])) ueot
text=Flying -- Whenever Maelstrom Muse attacks, the next instant or sorcery spell you cast this turn costs {X} less to cast, where X is Maelstrom Muse's power as this ability resolves.
mana={1}{U}{UR}{R}
type=Creature
subtype=Djinn Wizard
power=2
toughness=4
[/card]
[card]
name=Magda, Brazen Outlaw
auto=lord(other dwarf|mybattlefield) 1/0
auto=@tapped(dwarf|mybattlefield):token(Treasure Sur)
auto={S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}:name(Search dragon or artifact) target(*[dragon;artifact]|mylibrary) moveto(myBattlefield) and!( shuffle )!
text=Other Dwarves you control get +1/+0. -- Whenever a Dwarf you control becomes tapped, create a Treasure token. -- Sacrifice five Treasures: Search your library for an artifact or Dragon card, put that card onto the battlefield, then shuffle your library.
mana={1}{R}
type=Legendary Creature
subtype=Dwarf Berserker
power=2
toughness=1
[/card]
[card]
name=Mage Duel
target=creature|myBattlefield
other={G} name(Cast 2 less)
otherrestriction=thisturn(*[instant;sorcery]|mystack)~morethan~0
restriction=thisturn(*[instant;sorcery]|mystack)~equalto~0
auto=1/2 ueot
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=This spell costs {2} less to cast if you've cast another instant or sorcery spell this turn. -- Target creature you control gets +1/+2 until end of turn. Then it fights target creature you don't control. (Each deals damage equal to its power to the other.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Mage Hunter
auto=@movedto(*[instant;sorcery]|opponentstack):life:-1 opponent
text=Whenever an opponent casts or copies an instant or sorcery spell, they lose 1 life.
mana={3}{B}
type=Creature
subtype=Horror
power=3
toughness=4
[/card]
[card]
name=Mage Hunters' Onslaught
target=creature,planeswalker
auto=destroy
auto=emblem transforms((,newability[lord(creature|battlefield) transforms((,newability[@combat(blocking) source(this):life:-1 controller])) ueot])) ueot
text=Destroy target creature or planeswalker. -- Whenever a creature blocks this turn, its controller loses 1 life.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Magic Missile
abilities=nofizzle
auto=thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) damage:1 target(player,creature,planeswalker)!$ controller
text=This spell can't be countered. -- Magic Missile deals 3 damage divided as you choose among one, two, or three targets.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Magma Hellion
abilities=trample, haste
text=Assist (Another player can pay up to {6} of this spell's cost.) -- Trample, haste
mana={6}{R}
type=Creature
subtype=Hellion
power=5
toughness=4
[/card]
[card]
name=Magma Opus
auto=name(Tap 2 permanents) target(<2>*|battlefield) tap
auto=thisforeach(variable{4}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
auto=token(Elemental,Creature Elemental,4/4,blue,red) && draw:2 controller
text=Magma Opus deals 4 damage divided as you choose among any number of targets. Tap two target permanents. Create a 4/4 blue and red Elemental creature token. Draw two cards. -- {UR}{UR}, Discard Magma Opus: Create a Treasure token.
mana={6}{U}{R}
type=Instant
[/card]
[card]
name=Magmaroth
auto=@movedTo(*[-creature]|mystack):counter(-1/-1,-1)
auto=@each my upkeep:counter(-1/-1,1)
text=At the beginning of your upkeep, put a -1/-1 counter on Magmaroth. -- Whenever you cast a noncreature spell, remove a -1/-1 counter from Magmaroth.
mana={3}{R}
type=Creature
subtype=Elemental
power=5
toughness=5
[/card]
[card]
name=Magmatic Channeler
auto=aslongas(*[instant;sorcery]|myGraveyard) 3/1 >3
auto={T}{D(*|myHand)}:all(*[zpos<=2]|myLibrary) moveTo(exile) && ability$!name(Choose one exiled card) name(Choose one exiled card) target(*[fresh]|myExile) canplayfromexile ueot!$ controller
text=As long as there are four or more instant and/or sorcery cards in your graveyard, Magmatic Channeler gets +3/+1. -- {T}, Discard a card: Exile the top two cards of your library, then choose one of them. You may play that card this turn.
mana={1}{R}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Magmatic Core
auto=cumulativeupcost[{1}] sacrifice
auto=@each my endofturn:thisforeach(counter{0/0.1.Age}) ability$!name(Choose creature) choice name(Damage to a creature) damage:1 target(creature)!$ controller
text=Cumulative upkeep {1} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- At the beginning of your end step, Magmatic Core deals X damage divided as you choose among any number of target creatures, where X is the number of age counters on it.
mana={2}{R}{R}
type=Enchantment
[/card]
[card]
name=Magmatic Sinkhole
other={delve} name(Delve)
auto=damage:2 target(planeswalker,creature)
text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Magmatic Sinkhole deals 5 damage to target creature or planeswalker.
mana={5}{R}
type=Instant
[/card]
[card]
name=Magnetic Web
auto={1}{T}:counter(0/0,1,Magnet) target(creature)
auto=@combat(attacking) source(creature[counter{0/0.1.Magnet}]|mybattlefield):all(creature[counter{0/0.1.Magnet}]|mybattlefield) mustattack ueot
auto=@combat(attacking) source(creature[counter{0/0.1.Magnet}]|mybattlefield):all(creature[counter{0/0.1.Magnet}]|opponentbattlefield) mustblock ueot
auto=@combat(attacking) source(creature[counter{0/0.1.Magnet}]|opponentbattlefield):all(creature[counter{0/0.1.Magnet}]|opponentbattlefield) mustattack ueot
auto=@combat(attacking) source(creature[counter{0/0.1.Magnet}]|opponentbattlefield):all(creature[counter{0/0.1.Magnet}]|mybattlefield) mustblock ueot
text=If a creature with a magnet counter on it attacks, all creatures with magnet counters on them attack if able. -- Whenever a creature with a magnet counter on it attacks, all creatures with magnet counters on them block that creature this turn if able. -- {1}, {T}: Put a magnet counter on target creature.
mana={2}
type=Artifact
[/card]
[card]
name=Magus of the Balance
auto={4}{W}{T}{S}:auto=if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ controller && if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ opponent && if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ controller && if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ opponent && if type(*|myhand)~morethan~type(*|opponenthand) then ability$! reject notatarget(<type:*:myhandminustype:*:opponenthandminusend>*|myhand) !$ controller && if type(*|opponenthand)~morethan~type(*|myhand) then ability$! reject notatarget(<type:*:myhandminustype:*:opponenthandminusend>*|myhand) !$ opponent
text={4}{W}, {T}, Sacrifice Magus of the Balance: Each player chooses a number of lands they control equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players discard cards and sacrifice creatures the same way.
mana={1}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Magus of the Bridge
auto=@movedTo(creature[-token]|mygraveyard) from(battlefield):token(Zombie,Creature Zombie,2/2,black)
auto=@movedTo(creature[-token]|opponentgraveyard) from(battlefield):all(this) moveto(exile)
text=Whenever a nontoken creature is put into your graveyard from the battlefield, create a 2/2 black Zombie creature token. -- When a creature is put into an opponent's graveyard from the battlefield, exile Magus of the Bridge.
mana={B}{B}{B}
type=Creature
subtype=Human Wizard
power=4
toughness=4
[/card]
[card]
name=Magus of the Mind
auto={U}{T}{S}:name(Exile X cards) ability$!name(Exile X cards) name(Exile X cards) all(*[zpos<=countallspell]|mylibrary) moveto(myexile) and!( canplayfromexile ueot )! !$ controller
text={U}, {T}, Sacrifice Magus of the Mind: Shuffle your library, then exile the top X cards, where X is one plus the number of spells cast this turn. Until end of turn, you may play lands and cast spells from among cards exiled this way without paying their mana costs.
mana={4}{U}{U}
type=Creature
subtype=Human Wizard
power=4
toughness=5
[/card]
[card]
name=Magus of the Order
aicode=activate moveTo(myBattlefield) target(creature[green]|myLibrary)
auto={G}{T}{S}{S(creature|mybattlefield)}: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!(activate castcard(putinplay))! afterrevealedend revealend
text={G}, {T}, Sacrifice Magus of the Order and another green creature: Search your library for a green creature card, put it onto the battlefield, then shuffle your library.
mana={2}{G}{G}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Magus of the Scroll
auto={3}{T}:name(Name a card) ability$!name(Name a card from your hand) name(Name a card from your hand) target(*|myhand) transforms((,newability[if compare(magusofscrollresult)~equalto~1 then name(Deals 2 damage) name(Deals 2 damage) damage:2 target(player^creature^planeswalker) else ability$!choice name(Revealed card was different) name(Revealed card was different) all(mysource) donothing!$ controller])) oneshot!$ controller
text={3}, {T}: Name a card. Reveal a card at random from your hand. If it's the named card, Magus of the Scroll deals 2 damage to target creature or player.
mana={R}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Maja, Bretagard Protector
auto=lord(other creature|mybattlefield) 1/1
auto=_LANDFALL_token(Warrior,Creature Human Warrior,1/1,white)
text=Other creatures you control get +1/+1. -- Whenever a land enters the battlefield under your control, create a 1/1 white Human Warrior creature token.
mana={2}{G}{W}{W}
type=Legendary Creature
subtype=Human Warrior
power=2
toughness=3
[/card]
[card]
name=Majestic Auricorn
abilities=vigilance,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
other={3}{W} name(Mutate)
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
auto=transforms((,newability[@mutated(this):life:4 controller]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{W} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Vigilance -- Whenever this creature mutates, you gain 4 life.
mana={4}{W}
type=Creature
subtype=Unicorn
power=4
toughness=4
[/card]
[card]
name=Majestic Heliopterus
abilities=flying
auto=_ATTACKING_target(creature[dinosaur]|mybattlefield):flying ueot
text=Flying -- Whenever Majestic Heliopterus attacks, another target Dinosaur you control gains flying until end of turn.
mana={3}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=2
[/card]
[card]
name=Majestic Myriarch
auto=foreach(creature|mybattlefield) 2/2
auto=@each my combatbegins restriction{if type(creature[flying]|mybattlefield)~morethan~0}: flying ueot
auto=@each my combatbegins restriction{if type(creature[first strike]|mybattlefield)~morethan~0}: first strike ueot
auto=@each my combatbegins restriction{if type(creature[double strike]|mybattlefield)~morethan~0}: double strike ueot
auto=@each my combatbegins restriction{if type(creature[deathtouch]|mybattlefield)~morethan~0}: deathtouch ueot
auto=@each my combatbegins restriction{if type(creature[haste]|mybattlefield)~morethan~0}: haste ueot
auto=@each my combatbegins restriction{if type(creature[opponentshroud]|mybattlefield)~morethan~0}: opponentshroud ueot
auto=@each my combatbegins restriction{if type(creature[indestructible]|mybattlefield)~morethan~0}: indestructible ueot
auto=@each my combatbegins restriction{if type(creature[lifelink]|mybattlefield)~morethan~0}: lifelink ueot
auto=@each my combatbegins restriction{if type(creature[menace]|mybattlefield)~morethan~0}: menace ueot
auto=@each my combatbegins restriction{if type(creature[reach]|mybattlefield)~morethan~0}: reach ueot
auto=@each my combatbegins restriction{if type(creature[trample]|mybattlefield)~morethan~0}: trample ueot
auto=@each my combatbegins restriction{if type(creature[vigilance]|mybattlefield)~morethan~0}: vigilance ueot
text=Majestic Myriarch's power and toughness are each equal to twice the number of creatures you control. -- At the beginning of each combat, Majestic Myriarch gains flying until end of turn if you control a creature with flying. The same is true for first strike, double strike, deathtouch, haste, hexproof, indestructible, lifelink, menace, reach, trample, and vigilance.
mana={4}{G}
type=Creature
subtype=Chimera
power=*
toughness=*
[/card]
[card]
name=Make Your Mark
target=creature
auto=transforms((,newability[1/0],newability[_DIES_name(Create spirit) token(Spirit^Creature Spirit^3/2^red^white)])) ueot
text=Target creature gets +1/+0 until end of turn. When that creature dies this turn, create a 3/2 red and white Spirit creature token.
mana={RW}
type=Instant
[/card]
[card]
name=Makeshift Battalion
auto=_BATTALION_counter(1/1)
text=Whenever Makeshift Battalion and at least two other creatures attack, put a +1/+1 counter on Makeshift Battalion.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=2
[/card]
[card]
name=Makeshift Munitions
auto={1}{S(artifact,creature|myBattlefield)}:damage:1 target(creature,player)
text={1}, Sacrifice an artifact or creature: Makeshift Munitions deals 1 damage to target creature or player.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Makindi Mesas
auto=tap(noevent)
auto={T}:add{W}
text=Makindi Mesas enters the battlefield tapped. -- {T}: Add {W}. // {3}{W}{W} Makindi Stampede
type=Land
[/card]
[card]
name=Makindi Ox
auto=_LANDFALL_tap(noevent) target(creature|opponentBattlefield)
text=Landfall - Whenever a land enters the battlefield under your control, tap target creature an opponent controls.
mana={4}{W}
type=Creature
subtype=Ox
power=4
toughness=4
[/card]
[card]
name=Makindi Stampede
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Makindi Mesas)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Makindi Mesas) name(Makindi Mesas) flip(Makindi Mesas) forcetype(land)
auto=all(creature|myBattlefield) 2/2 ueot
text=Creatures you control get +2/+2 until end of turn. // Makindi Mesas
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Malakir Blood-Priest
auto=life:-calculateparty opponent
auto=life:calculateparty controller
text=When Malakir Blood-Priest enters the battlefield, each opponent loses X life and you gain X life, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={1}{B}
type=Creature
subtype=Vampire Cleric
power=2
toughness=1
[/card]
[card]
name=Malakir Mire
auto=tap(noevent)
auto={T}:add{B}
text=Malakir Mire enters the battlefield tapped. -- {T}: Add {B}. // {B} Malakir Rebirth
type=Land
[/card]
[card]
name=Malakir Rebirth
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Malakir Mire)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Malakir Mire) name(Malakir Mire) flip(Malakir Mire) forcetype(land)
auto=life:-2 controller
auto=name(Choose a creature) name(Choose a creature) target(creature) transforms((,newability[inplaytapdeath])) ueot
text=Choose target creature. You lose 2 life. Until end of turn, that creature gains "When this creature dies, return it to the battlefield tapped under its owner's control." // Malakir Mire
mana={B}
type=Instant
[/card]
[card]
name=Malcolm, Keen-Eyed Navigator
abilities=flying,partner
auto=@combatdamagefoeof(player) from(*[pirate]|myBattlefield):token(Treasure Sur)
text=Flying -- Whenever one or more Pirates you control deal damage to your opponents, you create a Treasure token for each opponent dealt damage. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Partner (You can have two commanders if both have partner.)
mana={2}{U}
type=Legendary Creature
subtype=Siren Pirate
power=2
toughness=2
[/card]
[card]
name=Malefic Scythe
auto={1}:equip
auto=counter(0/0.1.Soul)
auto=thisforeach(counter{0/0.1.Soul}) 1/1
auto=@movedto(graveyard) from(mytgt|battlefield):counter(0/0.1.Soul) all(this)
text=Malefic Scythe enters the battlefield with a soul counter on it. -- Equipped creature gets +1/+1 for each soul counter on Malefic Scythe. -- Whenever equipped creature dies, put a soul counter on Malefic Scythe. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Malevolent Hermit
backside=Benevolent Geist
abilities=lifelink,hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={2}{U} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto={U}{S}:name(Counter non-creature spell) target(*[-creature]|opponentstack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
text={U}, Sacrifice Malevolent Hermit: Counter target noncreature spell unless its controller pays {3}. -- Disturb {2}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Benevolent Geist
mana={W}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Malevolent Noble
auto={2}{S(artifact|myBattlefield)}: counter(1/1,1)
auto={2}{S(creature|myBattlefield)}: counter(1/1,1)
text={2}, Sacrifice an artifact or another creature: Put a +1/+1 counter on Malevolent Noble.
mana={1}{B}
type=Creature
subtype=Human Noble
power=2
toughness=2
[/card]
[card]
name=Malicious Affliction
target=creature[-black]
auto=destroy
auto=if morbid then destroy target(creature[-black])
text=Morbid - When you cast Malicious Affliction, if a creature died this turn, you may copy Malicious Affliction and may choose a new target for the copy. -- Destroy target nonblack creature.
mana={B}{B}
type=Instant
[/card]
[card]
name=Malignus
#MISSING: Damage can't be prevented
anyzone=halfupopponentlifetotal/halfupopponentlifetotal cdaactive
text=Malignus's power and toughness are each equal to half the highest life total among your opponents, rounded up. -- Damage that would be dealt by Malignus can't be prevented.
mana={3}{R}{R}
type=Creature
subtype=Elemental Spirit
power=*
toughness=*
[/card]
[card]
name=Mammoth Growth
abilities=foretell
target=creature
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={G} restriction{compare(canforetellcast)~morethan~0,type(creature|battlefield)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=4/4 ueot
text=Target creature gets +4/+4 until end of turn. -- Foretell {G} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{G}
type=Instant
[/card]
[card]
name=Mammoth Spider
abilities=reach
text=Reach
mana={4}{G}
type=Creature
subtype=Spider
power=3
toughness=5
[/card]
[card]
name=Mana Drain
target=*|stack
auto=fizzle
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{opponentturnonly}~morethan~0) then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my firstmain once]:add{1}])) oneshot
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{myturnonly}~morethan~0) then if compare(currentphase)~lessthan~4 then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my firstmain once]:add{1}])) oneshot
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{myturnonly}~morethan~0) then if compare(currentphase)~morethan~3 then if compare(currentphase)~lessthan~10 then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my secondmain once]:add{1}])) oneshot
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then if compare(restriction{myturnonly}~morethan~0) then if compare(currentphase)~morethan~9 then transforms((,newability[becomes(,,blue),newability[thisforeach(variable{storedmanacost}>0) phaseaction[my firstmain once]:add{1}])) oneshot
text=Counter target spell. At the beginning of your next main phase, add {X} to your mana pool, where X is that spell's converted mana cost.
mana={U}{U}
type=Instant
[/card]
[card]
name=Mana Geode
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_SCRY_(1)
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=When Mana Geode enters the battlefield, scry 1. -- {T}: Add one mana of any color.
mana={3}
type=Artifact
[/card]
[card]
name=Mana Reflection
auto=lord(*|myBattlefield) transforms((,newability[producecolor:land],newability[producecolor:green],newability[producecolor:blue],newability[producecolor:red],newability[producecolor:black],newability[producecolor:white]))
text=If you tap a permanent for mana, it produces twice as much of that mana instead.
mana={4}{G}{G}
type=Enchantment
[/card]
[card]
name=Mana Screw
auto={1}:flipacoin winability add{2} winabilityend flipend
text={1}: Flip a coin. If you win the flip, add {2} to your mana pool. Play this ability only any time you could play an instant.
mana={1}
type=Artifact
[/card]
[card]
name=Mana Vortex
auto=name(Choose one) ability$!name(Sacrifice land) choice name(Sacrifice land) sacrifice target(land|myBattlefield) _ choice name(Sacrifice mana vortex) sacrifice!$ controller
auto=@each opponent upkeep:ability$!name(sacrifice) notatarget(*[land]|mybattlefield) sacrifice !$ opponent
auto=@each my upkeep:notatarget(*[land]|mybattlefield) sacrifice
auto=aslongas(land|battlefield) sacrifice <1
text=When you cast Mana Vortex, counter it unless you sacrifice a land. -- At the beginning of each player's upkeep, that player sacrifices a land. -- When there are no lands on the battlefield, sacrifice Mana Vortex.
mana={1}{U}{U}
type=Enchantment
[/card]
[card]
name=Managorger Phoenix
abilities=cantblock,flying
autograveyard=@movedto(*[manacost>=1]|mystack):all(trigger[to]) transforms((,newability[if spent({R}{R}{R}{R}{R}) then all(managorger phoenix|mygraveyard) counter(0/0.5.flame) else if spent({R}{R}{R}{R}) then all(managorger phoenix|mygraveyard) counter(0/0.4.flame) else if spent({R}{R}{R}) then all(managorger phoenix|mygraveyard) counter(0/0.3.flame) else if spent({R}{R}) then all(managorger phoenix|mygraveyard) counter(0/0.2.flame) else if spent({R}) then all(managorger phoenix|mygraveyard) counter(0/0.1.flame)])) oneshot
autograveyard=@counteradded(0/0.1.flame) from(this|mygraveyard) restriction{compare(hascntflame)~morethan~4}:moveto(mybattlefield) and!( counter(1/1.1.PerpetualPT) )!
text=Flying -- Managorger Phoenix can't block. -- Whenever you cast a spell, if Managorger Phoenix is in your graveyard, put a flame counter on Managorger Phoenix for each {R} in that spell's mana cost. If Managorger Phoenix has five or more flame counters on it, return it to the battlefield and it perpetually gets +1/+1.
mana={R}{R}
type=Creature
subtype=Phoenix
power=2
toughness=2
[/card]
[card]
name=Maned Serval
abilities=vigilance
text=Vigilance
mana={1}{W}
type=Creature
subtype=Cat
power=1
toughness=4
[/card]
[card]
name=Mangara, the Diplomat
abilities=lifelink
auto=@combat(attacking) source(creature|opponentBattlefield):if type(creature[attacking]|opponentBattlefield)~morethan~1}:draw:1 controller limit:1
auto=@movedto(*|opponentStack) restriction{thisturn(*|opponentStack)~equalto~1}:draw:1 controller
text=Lifelink -- Whenever an opponent attacks with creatures, if two or more of those creatures are attacking you and/or planeswalkers you control, draw a card. -- Whenever an opponent casts their second spell each turn, draw a card.
mana={3}{W}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=4
[/card]
[card]
name=Manglehorn
auto=may destroy target(artifact)
auto=@movedto(artifact|opponentbattlefield):tap all(trigger[to])
text=When Manglehorn enters the battlefield, you may destroy target artifact. -- Artifacts your opponents control enter the battlefield tapped.
mana={2}{G}
type=Creature
subtype=Beast
power=2
toughness=2
[/card]
[card]
name=Manifestation Sage
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.phandcount) )!
text=When Manifestation Sage enters the battlefield, create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is the number of cards in your hand.
mana={GU}{GU}{GU}{GU}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Manifold Key
auto={1}{T}:untap target(other artifact)
auto={3}{T}:unblockable target(creature) ueot
text={1}, {T}: Untap another target artifact. -- {3}, {T}: Target creature can't be blocked this turn.
mana={1}
type=Artifact
[/card]
[card]
name=Manor Guardian
auto=_DIES_name(You seek a non-land card) name(You seek a non-land card) moverandom(*[-land;manacost<=2]) from(mylibrary) to(myhand)
auto=_DIES_name(Opponent seeks a non-land card) name(Opponent seeks a non-land card) moverandom(*[-land;manacost<=2]) from(opponentlibrary) to(opponenthand)
text=When Manor Guardian dies, each player seeks a nonland card with mana value 2 or less.
mana={2}{B}
type=Creature
subtype=Demon
power=4
toughness=3
[/card]
[card]
name=Manticore
abilities=flash,flying
auto=name(Destroy creature) target(creature[damaged]|opponentbattlefield) destroy
text=Flash -- Flying -- Tail Spikes - When Manticore enters the battlefield, destroy target creature an opponent controls that was dealt damage this turn.
mana={3}{B}
type=Creature
subtype=Manticore
power=2
toughness=1
[/card]
[card]
name=Manticore Eternal
abilities=mustattack
auto=_BLOCKED_life:-3 opponent
text=Afflict 3 (Whenever this creature becomes blocked, defending player loses 3 life.) -- Manticore Eternal attacks each combat if able.
mana={3}{R}{R}
type=Creature
subtype=Zombie Manticore
power=5
toughness=4
[/card]
[card]
name=Manticore of the Gauntlet
auto=counter(-1/-1,1) target(creature|mybattlefield)
auto=damage:3 opponent
text=When Manticore of the Gauntlet enters the battlefield, put a -1/-1 counter on target creature you control. Manticore of the Gauntlet deals 3 damage to target opponent.
mana={4}{R}
type=Creature
subtype=Manticore
power=5
toughness=4
[/card]
[card]
name=Mantle of Tides
auto={3}:equip
auto=teach(creature) 1/2
auto=_SECOND_DRAW_rehook target(creature|mybattlefield)
text=Equipped creature gets +1/+2. -- Whenever you draw your second card each turn, attach Mantle of Tides to target creature you control. -- Equip {3} ({3} : Attach to target creature you control. Equip only as a sorcery.)
mana={U}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Mantle of the Ancients
target=creature|mybattlefield
auto=name(Return auras and equipments) target(<anyamount>*[aura;equipment]|mygraveyard) moveto(mybattlefield) and!( transforms((,newability[name(Attach to enchanted creature) rehook target(creature|mybattlefield)])) oneshot )!
auto=teach(creature) transforms((,newability[thisforeach(auras) 1/1],newability[thisforeach(gear) 1/1]))
text=Enchant creature you control -- When Mantle of the Ancients enters the battlefield, return any number of target Aura and/or Equipment cards from your graveyard to the battlefield attached to enchanted creature. -- Enchanted creature gets +1/+1 for each Aura and Equipment attached to it.
mana={3}{W}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Mantle of the Wolf
target=creature
auto=4/4
auto=@movedto(this|graveyard):token(Wolf,Creature Wolf,2/2,green)*2
text=Enchant creature -- Enchanted creature gets +4/+4. -- When Mantle of the Wolf is put into a graveyard from the battlefield, create two 2/2 green Wolf creature tokens.
mana={3}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Maraleaf Pixie
abilities=flying
auto={T}:add{G}
auto={T}:add{U}
text=Flying -- {T}: Add {G} or {U}.
mana={G}{U}
type=Creature
subtype=Faerie
power=2
toughness=2
[/card]
[card]
name=Maraleaf Rider
auto={S(food|myBattlefield)}:setblocker target(creature|opponentbattlefield)
text=Sacrifice a Food: Target creature blocks Maraleaf Rider this turn if able.
mana={1}{G}
type=Creature
subtype=Elf Knight
power=3
toughness=1
[/card]
[card]
name=Maralen of the Mornsong
auto=replacedraw ability$!name(skip draw) donothing!$ controller
auto=opponentreplacedraw ability$!name(skip draw) donothing!$ opponent
auto=@each my draw:life:-3 && ability$!choice name(search a card) notatarget(*|mylibrary) moveto(ownerhand) && shuffle!$ controller
auto=@each opponent draw:life:-3 opponent && ability$!choice name(search a card) notatarget(*|mylibrary) moveto(ownerhand) && shuffle!$ opponent
text=Players can't draw cards. -- At the beginning of each player's draw step, that player loses 3 life, searches his or her library for a card, puts it into his or her hand, then shuffles his or her library.
mana={1}{B}{B}
type=Legendary Creature
subtype=Elf Wizard
power=2
toughness=3
[/card]
[card]
name=Marauder's Axe
auto=teach(creature) 2/0
auto={2}:equip
text=Equipped creature gets +2/+0. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Marauding Blight-Priest
auto=@lifeof(player) from(*[-lifefaker]|*):life:-1 opponent
text=Whenever you gain life, each opponent loses 1 life.
mana={2}{B}
type=Creature
subtype=Vampire Cleric
power=3
toughness=2
[/card]
[card]
name=Marauding Boneslasher
auto=aslongas(other Zombie|myBattlefield) cantblock <1
text=Marauding Boneslasher can't block unless you control another Zombie.
mana={2}{B}
type=Creature
subtype=Zombie Minotaur
power=3
toughness=3
[/card]
[card]
name=Marauding Looter
auto=@each my endofturn:if raid then draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Raid - At the beginning of your end step, if you attacked with a creature this turn, you may draw a card. If you do, discard a card.
mana={2}{U}{R}
type=Creature
subtype=Human Pirate
power=4
toughness=3
[/card]
[card]
name=Marauding Raptor
auto=lord(creature|mycastingzone) altercost(colorless, -1)
auto=@movedto(creature|myBattlefield):all(trigger) damage:2 && if cantargetcard(creature[dinosaur]) then 2/0 ueot]))
text=Creature spells you cast cost {1} less to cast. -- Whenever another creature enters the battlefield under your control, Marauding Raptor deals 2 damage to it. If a Dinosaur is dealt damage this way, Marauding Raptor gets +2/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Dinosaur
power=2
toughness=3
[/card]
[card]
name=Marble Gargoyle
abilities=flying
auto={W}:0/1 ueot
text=Flying -- {W}: Marble Gargoyle gets +0/+1 until end of turn.
mana={2}{W}
type=Artifact Creature
subtype=Gargoyle
power=2
toughness=2
[/card]
[card]
name=March from the Tomb
auto=all(ally[manacost<=8]|mygraveyard) moveTo(mybattlefield)
text=Return any number of target Ally creature cards with total converted mana cost 8 or less from your graveyard to the battlefield.
mana={3}{W}{B}
type=Sorcery
[/card]
[card]
name=March of the Drowned
auto=choice name(return creature) moveto(myhand) target(creature|mygraveyard)
auto=choice name(return pirates) moveto(myhand) target(<2>pirate|mygraveyard)
text=Choose one -- Return target creature card from your graveyard to your hand. -- Return two target Pirate cards from your graveyard to your hand.
mana={B}
type=Sorcery
[/card]
[card]
name=March of the Multitudes
other={convoke} name(Convoke)
auto=this(X=0) donothing
auto=this(X=1) create(Soldier:creature Soldier:1/1:white:lifelink)
auto=this(X=2) create(Soldier:creature Soldier:1/1:white:lifelink)*2
auto=this(X=3) create(Soldier:creature Soldier:1/1:white:lifelink)*3
auto=this(X=4) create(Soldier:creature Soldier:1/1:white:lifelink)*4
auto=this(X=5) create(Soldier:creature Soldier:1/1:white:lifelink)*5
auto=this(X=6) create(Soldier:creature Soldier:1/1:white:lifelink)*6
auto=this(X=7) create(Soldier:creature Soldier:1/1:white:lifelink)*7
auto=this(X=8) create(Soldier:creature Soldier:1/1:white:lifelink)*8
auto=this(X=9) create(Soldier:creature Soldier:1/1:white:lifelink)*9
auto=this(X=10) create(Soldier:creature Soldier:1/1:white:lifelink)*10
auto=this(X=11) create(Soldier:creature Soldier:1/1:white:lifelink)*11
auto=this(X=12) create(Soldier:creature Soldier:1/1:white:lifelink)*12
auto=this(X=13) create(Soldier:creature Soldier:1/1:white:lifelink)*13
auto=this(X=14) create(Soldier:creature Soldier:1/1:white:lifelink)*14
auto=this(X=15) create(Soldier:creature Soldier:1/1:white:lifelink)*15
auto=this(X=16) create(Soldier:creature Soldier:1/1:white:lifelink)*16
auto=this(X=17) create(Soldier:creature Soldier:1/1:white:lifelink)*17
auto=this(X=18) create(Soldier:creature Soldier:1/1:white:lifelink)*18
auto=this(X=19) create(Soldier:creature Soldier:1/1:white:lifelink)*19
auto=this(X=20) create(Soldier:creature Soldier:1/1:white:lifelink)*20
auto=this(X>20) create(Soldier:creature Soldier:1/1:white:lifelink)*X
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of the creature's color.) -- Create X 1/1 white Soldier creature tokens with lifelink.
mana={X}{G}{W}{W}
type=Instant
[/card]
[card]
name=Marchesa's Decree
auto=_MONARCH_CONTROLLER_
auto=@each blockers:foreach(creature[attacking]|opponentBattlefield) life:-1 opponent
text=When Marchesa's Decree enters the battlefield, you become the monarch. -- Whenever a creature attacks you or a planeswalker you control, that creature's controller loses 1 life.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Mardu Outrider
text=As an additional cost to cast this spell, discard a card.
mana={1}{B}{B}{D(*|myhand)}
type=Creature
subtype=Orc Warrior
power=5
toughness=5
[/card]
[card]
name=Marit Lage's Slumber
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@movedTo(*[snow]|mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@each my upkeep restriction{type(*[snow]|myBattlefield)~morethan~9}:may sacrifice all(this) && token(Avatar,creature Avatar,20/20,black,flying,indestructible) controller
text=Whenever Marit Lage's Slumber or another snow permanent enters the battlefield under your control, scry 1. -- At the beginning of your upkeep, if you control ten or more snow permanents, sacrifice Marit Lage's Slumber. If you do, create Marit Lage, a legendary 20/20 black Avatar creature token with flying and indestructible.
mana={1}{U}
type=Legendary Snow Enchantment
[/card]
[card]
name=Mark for Death
target=creature|opponentbattlefield
auto=mustblock ueot
auto=untap
auto=lord(other creature|opponentbattlefield) cantblock ueot
text=Target creature an opponent controls blocks this turn if able. Untap that creature. Other creatures that player controls can't block this turn.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Marshland Bloodcaster
abilities=flying
auto={1}{B}{T}:name(Choose next spell) target(*|mycastingzone) transforms((,newability[{L:manacost}:name(Pay life and gain zerocast) zerocast])) ueot
text=Flying -- {1}{B}, {T}: Rather than pay the mana cost of the next spell you cast this turn, you may pay life equal to that spell's mana value.
mana={4}{B}
type=Creature
subtype=Vampire Warlock
power=3
toughness=5
[/card]
[card]
name=Martial Impetus
target=creature
auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack]))
auto=1/1
auto=_ATTACKING_all(creature[attacking]|myBattlefield) 1/1 ueot
text=Enchant creature -- Enchanted creature gets +1/+1 and is goaded. (It attacks each combat if able and attacks a player other than you if able.) -- Whenever enchanted creature attacks, each other creature that's attacking one of your opponents gets +1/+1 until end of turn.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Martyr for the Cause
auto=_DIES__PROLIFERATE_
text=When Martyr for the Cause dies, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Martyr of Ashes
auto={2}:all(creature[-flying]) damage:type:*:myhand
text={2}, Reveal X red cards from your hand, Sacrifice Martyr of Ashes: Martyr of Ashes deals X damage to each creature without flying.
mana={R}
type=Creature
subtype=Human Shaman
power=1
toughness=1
[/card]
[card]
name=Martyr of Bones
auto={1}{S}:name(exile from my graveyard) moveto(myexile) target(<type:*[black]:myhand>|mygraveyard)
auto={1}{S}:name(exile from opponent graveyard) moveto(opponentexile) target(<type:*[black]:myhand>|opponentgraveyard)
text={1}, Reveal X black cards from your hand, Sacrifice Martyr of Bones: Exile up to X target cards from a single graveyard.
mana={B}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Martyr of Dusk
abilities=lifelink
auto=_DIES_token(Vampire,creature Vampire,1/1,white,lifelink)
text=When Martyr of Dusk dies, create a 1/1 white Vampire creature token with lifelink.
mana={1}{W}
type=Creature
subtype=Vampire Soldier
power=2
toughness=1
[/card]
[card]
name=Martyr of Frost
auto=if type(*[blue]|myhand)~equalto~1 then {2}{S}:target(*|stack) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~2 then {2}{S}:target(*|stack) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~3 then {2}{S}:target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~4 then {2}{S}:target(*|stack) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~5 then {2}{S}:target(*|stack) transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~6 then {2}{S}:target(*|stack) transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~7 then {2}{S}:target(*|stack) transforms((,newability[pay[[{7}]] name(pay 7 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~8 then {2}{S}:target(*|stack) transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~9 then {2}{S}:target(*|stack) transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~10 then {2}{S}:target(*|stack) transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~11 then {2}{S}:target(*|stack) transforms((,newability[pay[[{11}]] name(pay 11 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~12 then {2}{S}:target(*|stack) transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~13 then {2}{S}:target(*|stack) transforms((,newability[pay[[{13}]] name(pay 13 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~14 then {2}{S}:target(*|stack) transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~15 then {2}{S}:target(*|stack) transforms((,newability[pay[[{15}]] name(pay 15 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~16 then {2}{S}:target(*|stack) transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~17 then {2}{S}:target(*|stack) transforms((,newability[pay[[{17}]] name(pay 17 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~18 then {2}{S}:target(*|stack) transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~19 then {2}{S}:target(*|stack) transforms((,newability[pay[[{19}]] name(pay 19 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~morethan~19 then {2}{S}:target(*|stack) transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing?fizzle])) forever
text={2}, Reveal X blue cards from your hand, Sacrifice Martyr of Frost: Counter target spell unless its controller pays {X}.
mana={U}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Martyr of Sands
auto={1}{S}:life:thricetype:*[white]:myhand controller
text={1}, Reveal X white cards from your hand, Sacrifice Martyr of Sands: You gain three times X life.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Martyr of Spores
auto=if type(*[green]|myhand)~equalto~1 then {1}{S}:target(creature) 1/1 ueot
auto=if type(*[green]|myhand)~equalto~2 then {1}{S}:target(creature) 2/2 ueot
auto=if type(*[green]|myhand)~equalto~3 then {1}{S}:target(creature) 3/3 ueot
auto=if type(*[green]|myhand)~equalto~4 then {1}{S}:target(creature) 4/4 ueot
auto=if type(*[green]|myhand)~equalto~5 then {1}{S}:target(creature) 5/5 ueot
auto=if type(*[green]|myhand)~equalto~6 then {1}{S}:target(creature) 6/6 ueot
auto=if type(*[green]|myhand)~equalto~7 then {1}{S}:target(creature) 7/7 ueot
auto=if type(*[green]|myhand)~equalto~8 then {1}{S}:target(creature) 8/8 ueot
auto=if type(*[green]|myhand)~equalto~9 then {1}{S}:target(creature) 9/9 ueot
auto=if type(*[green]|myhand)~equalto~10 then {1}{S}:target(creature) 10/10 ueot
text={1}, Reveal X green cards from your hand, Sacrifice Martyr of Spores: Target creature gets +X/+X until end of turn.
mana={G}
type=Creature
subtype=Human Shaman
power=1
toughness=1
[/card]
[card]
name=Martyr's Bond
auto=_DIES_ability$!sacrifice notatarget(enchantment|mybattlefield)!$ opponent
auto=@movedto(*[-land]|graveyard) from(battlefield):ability$!sacrifice notatarget(*[-land,share!types!]|mybattlefield)!$ opponent
text=Whenever Martyr's Bond or another nonland permanent you control is put into a graveyard from the battlefield, each opponent sacrifices a permanent that shares a card type with it.
mana={4}{W}{W}
type=Enchantment
[/card]
[card]
name=Martyr's Soul
other={convoke} name(Convoke)
auto=aslongas(land[tapped]|mybattlefield) counter(1/1,2) <1
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.) -- When Martyr's Soul enters the battlefield, if you control no tapped lands, put two +1/+1 counters on it.
mana={2}{W}
type=Creature
subtype=Spirit Soldier
power=3
toughness=2
[/card]
[card]
name=Marwyn, the Nurturer
auto=@movedTo(Elf|myBattlefield):counter(1/1)
auto={T}:thisforeach(power>=1) Add{G}
text=Whenever another Elf enters the battlefield under your control, put a +1/+1 counter on Marwyn, the Nurturer. -- {T}: Add an amount of {G} equal to Marwyn's power.
mana={2}{G}
type=Legendary Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Mascot Exhibition
auto=token(Inkling,Creature Inkling,2/1,white,black,flying)
auto=token(Spirit,Creature Spirit,3/2,red,white)
auto=token(Elemental,Creature Elemental,4/4,blue,red)
text=Create a 2/1 white and black Inkling creature token with flying, a 3/2 red and white Spirit creature token, and a 4/4 blue and red Elemental creature token.
mana={7}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Mascot Interception
other={R} name(Target token creature)
otherrestriction=type(creature[token]|battlefield)~morethan~0
restriction=type(creature[-token]|battlefield)~morethan~0
auto=if paid(alternative) then name(Gain control of creature) name(Gain control of creature) target(creature[token]|battlefield) moveto(mybattlefield) and!( transforms((,newability[untap],newability[2/0],newability[haste],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)])) ueot )!
auto=ifnot paid(alternative) then name(Gain control of creature) name(Gain control of creature) target(creature[-token]|battlefield) moveto(mybattlefield) and!( transforms((,newability[untap],newability[2/0],newability[haste],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)])) ueot )!
text=This spell costs {3} less to cast if it targets a creature token. -- Gain control of target creature until end of turn. Untap that creature. It gets +2/+0 and gains haste until end of turn.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Mask Est
abilities=totemarmor
target=*
type=Enchantment
subtype=Aura
color=white
[/card]
[card]
name=Mask of Griselbrand
auto={3}:equip
auto=teach(creature) lifelink
auto=teach(creature) flying
auto=teach(creature) transforms((,newability[_DIES_may name(Pay life and draw cards) life:-power controller && draw:power controller]))
text=Equipped creature has flying and lifelink. -- Whenever equipped creature dies, you may pay X life, where X is its power. If you do, draw X cards. -- Equip {3}
mana={1}{B}{B}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Mask of Immolation
auto=livingweapontoken(Elemental,Creature Elemental,1/1,red)
auto={2}:equip
auto=teach(creature) {S}:damage:1 target(player,creature,planeswalker)
text=When Mask of Immolation enters the battlefield, create a 1/1 red Elemental creature token, then attach Mask of Immolation to it. -- Equipped creature has "Sacrifice this creature: It deals 1 damage to any target." -- Equip {2} ({2} : Attach to target creature you control. Equip only as a sorcery.)
mana={1}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Masked Blackguard
abilities=flash
auto={2}{B}:1/1 ueot
text=Flash (You may cast this spell any time you could cast an instant.) -- {2}{B}: Masked Blackguard gets +1/+1 until end of turn.
mana={1}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Masked Vandal
abilities=changeling
auto=may name(Exile creature from your graveyard) target(creature|mygraveyard) moveto(exile) and!( transforms((,newability[name(Exile opponent's artifact or enchantment) target(*[artifact;enchantment]|opponentbattlefield) moveto(ownerexile)])) oneshot )!
text=Changeling (This card is every creature type.) -- When Masked Vandal enters the battlefield, you may exile a creature card from your graveyard. If you do, exile target artifact or enchantment an opponent controls.
mana={1}{G}
type=Creature
subtype=Shapeshifter
power=1
toughness=3
[/card]
[card]
name=Maskwood Nexus
auto=lord(*[creature]|myzones) transforms((,newability[changeling]))
auto={3}{T}:token(Shapeshifter,Creature Shapeshifter,2/2,blue,changeling)
text=Creatures you control are every creature type. The same is true for creature spells you control and creature cards you own that aren't on the battlefield. -- {3}, {T}: Create a 2/2 blue Shapeshifter creature token with changeling. (It is every creature type.)
mana={4}
type=Artifact
[/card]
[card]
name=Mass Diminish
target=player
auto=lord(creature|targetedpersonsbattlefield) transforms((,setpower=1,settoughness=1)) ueot
flashback={3}{U}
text=Until your next turn, creatures target player controls have base power and toughness 1/1. -- Flashback {3}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Mass Manipulation
target=<prexx>*[creature;planeswalker]
auto=moveTo(mybattlefield)
text=Gain control of X target creatures and/or planeswalkers.
mana={X}{X}{U}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Massacre Girl
abilities=menace
auto=transforms((,newability[@movedto(creature|graveyard) from(battlefield):all(other creature) -1/-1 ueot])) ueot
auto=all(other creature) -1/-1 ueot
text=Menace -- When Massacre Girl enters the battlefield, each other creature gets -1/-1 until end of turn. Whenever a creature dies this turn, each creature other than Massacre Girl gets -1/-1 until end of turn.
mana={3}{B}{B}
type=Legendary Creature
subtype=Human Assassin
power=4
toughness=4
[/card]
[card]
name=Master Skald
auto=may name(Exile creature) moveTo(Exile) target(creature|mygraveyard) && ability$!name(Put in hand) name(Put in hand) moveto(myhand) target(*[enchantment;artifact]|mygraveyard)!$ controller
text=When Master Skald enters the battlefield, you may exile a creature card from your graveyard. If you do, return target artifact or enchantment card from your graveyard to your hand.
mana={4}{W}
type=Creature
subtype=Dwarf Warrior
power=4
toughness=4
[/card]
[card]
name=Master Symmetrist
abilities=reach
auto=@combat(attacking) source(creature[power=toughness]|mybattlefield):name(Gain trample) all(trigger[to]) transforms((,newability[trample])) ueot 
text=Reach -- Whenever a creature you control with power equal to its toughness attacks, it gains trample until end of turn.
mana={2}{G}{G}
type=Creature
subtype=Rhino Druid
power=4
toughness=4
[/card]
[card]
name=Master Warcraft
restriction=before attackers
auto=may target(<anyamount>creature|battlefield) mustattack && all(other creature) cantattack ueot
auto=may target(<anyamount>creature|battlefield) mustblock ueot all(other creature) cantblock ueot
text=Cast this spell only before attackers are declared. -- You choose which creatures attack this turn. -- You choose which creatures block this turn and how those creatures block.
mana={2}{RW}{RW}
type=Instant
[/card]
[card]
name=Master of Arms
abilities=first strike
auto=_ATTACKING_pay({1}{W}) tap target(creature[blocking]|opponentbattlefield)
text=First strike -- {1}{W}: Tap target creature blocking Master of Arms.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Master of Death
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
autograveyard=@each my upkeep:pay({L:1}) moveto(myhand)
text=When Master of Death enters the battlefield, surveil 2. -- At the beginning of your upkeep, if Master of Death is in your graveyard, you may pay 1 life. If you do, return it to your hand.
mana={1}{U}{B}
type=Creature
subtype=Zombie Wizard
power=3
toughness=1
[/card]
[card]
name=Master of Winds
abilities=flying
auto=draw:2 && transforms((,newability[target(*|myhand) reject])) forever
auto=movedTo(*[instant;sorcery;wizard]|myStack):name(Choose one) ability$!name(Choose one) choice name(Do nothing) donothing _ choice name(Becomes 4/1) target(Master of Winds|myBattlefield) transforms((,setpower=4,settoughness=1)) ueot _ choice name(Becomes 1/4) target(Master of Winds|myBattlefield) transforms((,setpower=1,settoughness=4)) ueot!$ controller
text=Flying -- When Master of Winds enters the battlefield, draw two cards, then discard a card. -- Whenever you cast an instant, sorcery or Wizard spell, you may have Master of Winds's base power and toughness becomes 4/1 or 1/4 until end of turn.
mana={2}{U}{U}
type=Creature
subtype=Sphinx Wizard
power=1
toughness=4
[/card]
[card]
name=Masterful Replication
auto=token(Golem,Artifact Creature Golem,3/3)*2
text=Choose one -- Create two 3/3 colorless Golem artifact creature tokens. -- Choose target artifact you control. Each other artifact you control becomes a copy of that artifact until end of turn.
mana={5}{U}
type=Instant
[/card]
[card]
name=Mastermind's Acquisition
auto=choice name(Search your library) target(*|mylibrary) moveto(myhand) && shuffle
auto=choice name(Search from outside game) target(*|myexile,mysideboard) moveto(myhand)
text=Choose one -- Search your library for a card, put it into your hand, then shuffle your library. -- Put a card you own from outside the game into your hand.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Masterwork of Ingenuity
auto=may copy target(*[equipment]|battlefield)
text=You may have Masterwork of Ingenuity enter the battlefield as a copy of any Equipment on the battlefield.
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Mathas, Fiend Seeker
abilities=menace
auto=@each my endofturn:target(creature|opponentBattlefield) (transforms((,newability[counter(0/0.1.Bounty)], newability[@movedto(this|mygraveyard):draw:1 opponent && life:2 opponent)]))
text=Menace -- At the beginning of your end step, put a bounty counter on target creature an opponent controls. For as long as that creature has a bounty counter on it, it has "When this creature dies, each opponent draws a card and gains 2 life."
mana={R}{W}{B}
type=Legendary Creature
subtype=Vampire
power=3
toughness=3
[/card]
[card]
name=Maul of the Skyclaves
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature) 2/2
auto=teach(creature) flying
auto=teach(creature) first strike
auto={2}{W}{W}:equip
text=When Maul of the Skyclaves enters the battlefield, attach it to target creature you control. -- Equipped creature gets +2/+2 and has flying and first strike. -- Equip {2}{W}{W}
mana={2}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Mausoleum Harpy
abilities=flying
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=@movedto(other creature|graveyard) from(mybattlefield) restriction{type(City's Blessing|mybattlefield)~morethan~0}:name(Put 1/1 counter) counter(1/1)
text=Flying -- Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Whenever another creature you control dies, if you have the city's blessing, put a +1/+1 counter on Mausoleum Harpy.
mana={4}{B}
type=Creature
subtype=Harpy
power=3
toughness=3
[/card]
[card]
name=Mausoleum Secrets
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[black;manacost<=type:creature:mygraveyard]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Undergrowth - Search your library for a black card with converted mana cost less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then shuffle your library.
mana={1}{B}
type=Instant
[/card]
[card]
name=Mavinda, Students' Advocate
abilities=flying
auto={0} restriction{compare(variable{hascntadvocateeffect)~equalto~0}:name(Cast spell that doesn't target your creatures) target(*[instant;sorcery]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath],newability[changecost(colorless:8) forcedalive])) ueot && all(this) counter(0/0,1,AdvocateEffect)
auto={0} restriction{compare(variable{hascntadvocateeffect)~equalto~0}:name(Cast spell that target your creatures) target(*[instant;sorcery]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath])) ueot && all(this) counter(0/0,1,AdvocateEffect)
auto=@each end:removeallcounters(0/0,1,AdvocateEffect)
text=Flying -- {0}: You may cast target instant or sorcery card from your graveyard this turn. If that spell doesn't target a creature you control, it costs 8 more to cast this way. If that spell would be put into your graveyard, exile it instead. Activate only once each turn. (You still pay the spell's costs. Timing rules for the spell still apply.)
mana={2}{W}
type=Legendary Creature
subtype=Bird Advisor
power=2
toughness=3
[/card]
[card]
name=Mavren Fein, Dusk Apostle
auto=@combat(attacking) source(vampire[-token]|mybattlefield):token(Vampire,creature Vampire,1/1,white,lifelink)
text=Whenever one or more nontoken Vampires you control attack, create a 1/1 white Vampire creature token with lifelink.
mana={2}{W}
type=Legendary Creature
subtype=Vampire Cleric
power=2
toughness=2
[/card]
[card]
name=Maximize Altitude
target=creature
auto=+1/+1
auto=flying 
flashback={U}{D(*|myhand)}
text=Target creature gets +1/+1 and gains flying until end of turn. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={U}
type=Sorcery
[/card]
[card]
name=Maximize Velocity
target=creature
auto=+1/+1
auto=haste 
flashback={R}{D(*|myhand)}
text=Target creature gets +1/+1 and gains haste until end of turn. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={R}
type=Sorcery
[/card]
[card]
name=Mayhem Devil
auto=@sacrificed(*|battlefield):damage:1 target(player,creature,planeswalker)
text=Whenever a player sacrifices a permanent, Mayhem Devil deals 1 damage to any target.
mana={1}{B}{R}
type=Creature
subtype=Devil
power=3
toughness=3
[/card]
[card]
name=Maze's End
auto=tap(noevent)
auto={T}:add{C}
aicode=activate 
auto={3}{T}{H(this|mybattlefield)}{3}{T}:name(search a gate) target(land[Gate]|myLibrary) moveTo(myBattlefield) and!( if compare(diffcardcounttypegate)~morethan~9 then wingame controller )!
text=Maze's End enters the battlefield tapped. -- {T}:Add {C}. -- {3},{T},Return Maze's End to its owner's hand: Search your library for a Gate card, put it onto the battlefield, then shuffle your library. If you control ten or more Gates with different names, you win the game.
type=Land
[/card]
[card]
name=Mazemind Tome
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={T}{C(0/0,1,Page)}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend 
auto={2}{T}{C(0/0,1,Page)}:name(Draw 1) draw:1 controller
auto=@counteradded(0/0,1,Page) from(this):this(counter{0/0.1.Page}>=4) moveTo(myExile) all(this) && life:4 controller
text={T}, Put a page counter on Mazemind Tome: Scry 1. -- {2], {T}, Put a page counter on Mazemind Tome: Draw a card. -- When there are four or more page counters on Mazemind Tome, exile it. If you do, you gain 4 life.
mana={2}
type=Artifact
[/card]
[card]
name=Meddling Mage
auto=chooseanameopp transforms((,newability[maxCast(*[chosenname])0 controller],newability[maxCast(*[chosenname])0 opponent])) forever chooseend nonland
text=As Meddling Mage enters the battlefield, name a nonland card. -- The named card can't be cast.
mana={W}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Medicine Runner
auto=if type(*[counter{any}]|battlefield)~morethan~0 then may name(Remove a counter) removesinglecountertype(1) target(*[counter{any}]|battlefield)
text=When Medicine Runner enters the battlefield, you may remove a counter from target permanent.
mana={1}{GW}
type=Creature
subtype=Elf Cleric
power=2
toughness=1
[/card]
[card]
name=Medomai the Ageless
abilities=flying
auto=this(counter{0/0.1.ExtraTurn}>0) transforms((,newability[cantattack],newability[cantpwattack]))
auto=@combatdamaged(player) from(this):name(Take an extra turn) transforms((,newability[phaseaction[endofturn next once sourceinplay] counter(0/0.-1.ExtraTurn)],newability[counter(0/0.1.ExtraTurn)],newability[turns:+1 controller])) oneshot
text=Flying -- Whenever Medomai the Ageless deals combat damage to a player, take an extra turn after this one. -- Medomai the Ageless can't attack during extra turns.
mana={4}{W}{U}
type=Legendary Creature
subtype=Sphinx
power=4
toughness=4
[/card]
[card]
name=Medomai's Prophecy
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
aicode=activate donothing
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) chooseaname donothing chooseend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) transforms((,newability[@movedto(*[lastnamechosen]|mystack) once:draw:1 controller])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.4.Lore}) name(Look your top card) reveal:1 optionone name(Look your top card) target(*|reveal) doNothing optiononeend optiontwo all(*|reveal) moveto(mylibrary) optiontwoend revealend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.4.Lore}) name(Look opponent's top card) reveal:1 revealzone(opponentlibrary) optionone name(Look opponent's top card) target(*|reveal) doNothing optiononeend optiontwo all(*|reveal) moveto(opponentlibrary) optiontwoend revealend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.4.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after IV.) -- I - Scry 2. -- II - Choose a card name. -- III - When you cast a spell with the chosen name for the first time this turn, draw two cards. -- IV - Look at the top card of each player's library.
mana={1}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Meletis Charlatan
auto={2}{U}{T}:name(Controller copies instant or sorcery) target(*[instant;sorcery]|stack) transforms((,newability[activate castcard(copied)])) oneshot
text={2}{U}, {T}: The controller of target instant or sorcery spell copies it. That player may choose new targets for the copy.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Melting
auto=all(land[snow]|battlefield) transforms((removetypes,newability[becomes(Land)])) forever
text=All lands are no longer snow.
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Memorial to Folly
auto=tap(noevent)
auto={2}{B}{T}{S}:target(creature|mygraveyard) moveto(ownerhand)
auto={T}:Add{B}
text=Memorial to Folly enters the battlefield tapped. -- {T}: Add {B}. -- {2}{B}, {T}, Sacrifice Memorial to Folly: Return target creature card from your graveyard to your hand.
type=Land
[/card]
[card]
name=Memorial to Genius
auto=tap(noevent)
auto={4}{U}{T}{S}:draw:2
auto={T}:Add{U}
text=Memorial to Genius enters the battlefield tapped. -- {T}: Add {U}. -- {4}{U}, {T}, Sacrifice Memorial to Genius: Draw two cards.
type=Land
[/card]
[card]
name=Memorial to Glory
auto=tap(noevent)
auto={3}{W}{T}{S}:create(soldier:creature soldier:1/1:white:)*2
auto={T}:Add{W}
text=Memorial to Glory enters the battlefield tapped. -- {T}: Add {W}. -- {3}{W}, {T}, Sacrifice Memorial to Glory: Create two 1/1 white Soldier creature tokens.
type=Land
[/card]
[card]
name=Memorial to Unity
auto=tap(noevent)
auto={2}{G}{T}{S}:auto=@combatdamaged(player) from(this):reveal:3 optionone name(Get creature) target(creature|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
auto={T}:Add{G}
text=Memorial to Unity enters the battlefield tapped. -- {T}: Add {G}. -- {2}{G}, {T}, Sacrifice Memorial to Unity: Look at the top five cards of your library. You may reveal a creature card from among them and put it into your hand. Then put the rest on the bottom of your library in a random order.
type=Land
[/card]
[card]
name=Memorial to War
auto=tap(noevent)
auto={4}{R}{T}{S}:destroy target(land)
auto={T}:Add{R}
text=Memorial to War enters the battlefield tapped. -- {T}: Add {R}. -- {4}{R}, {T}, Sacrifice Memorial to War: Destroy target land.
type=Land
[/card]
[card]
name=Memoricide
auto=choice name(Target opponent) ability$!chooseanameopp name(Search that cards) target(<anyamount>creature[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( shuffle opponent )! chooseend nonland!$ controller
auto=choice name(Target yourself) ability$!chooseaname name(Search that cards) target(<anyamount>creature[chosenname]|mygraveyard,mylibrary,myhand) moveto(exile) and!( shuffle controller )! chooseend nonland!$ controller
text=Name a nonland card. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles his or her library.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Memory Deluge
flashback={5}{U}{U}
aicode=activate transforms((,newability[target(<2>*[zpos<=totmanaspent]|mylibrary) moveto(myhand) and!( all(*|zpos<=totmanaspent]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=name(Reveal top cards) reveal:totmanaspent optionone name(Get 2 cards) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top X cards of your library, where X is the amount of mana spent to cast this spell. Put two of them into your hand and the rest on the bottom of your library in a random order. -- Flashback {5}{U}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Memory Drain
target=*|stack
auto=fizzle
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Counter target spell. Scry 2.
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Memory Leak
abilities=cycling
target=opponent
aicode=activate moveTo(exile) notatarget(*[-land]|targetedpersonshand)
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose Exile) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(exile)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! and!( moveTo(exile) target(*[-land]|opponentgraveyard) )! optiontwoend revealend
autohand=__CYCLING__({1})
text=Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Memory Theft
aicode=activate transforms((,newability[reject target(*[-land]|opponenthand)],newability[ability$!name(Put adventure in graveyard) moveTo(opponentgraveyard) target(*[adventure]|opponentexile)!$ controller])) oneshot
auto=if type(*[adventure]|opponentexile)~morethan~0 then choice name(Put adventure in graveyard) name(Put adventure in graveyard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose non-land card) target(*[-land]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed name(Choose adventure from exile) moveTo(opponentgraveyard) target(*[adventure]|opponentexile) afterrevealedend revealend
auto=choice name(Don't put adventure in graveyard) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose non-land card) target(*[-land]|reveal) reject optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend
text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. You may put a card that has an Adventure that player owns from exile into that player's graveyard.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Menagerie Liberator
abilities=trample
auto=_ATTACKING_1/1 ueot
text=Trample -- Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.)
mana={3}{G}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Mental Journey
aicode=activate target(land[basic]|mylibrary) moveto(myhand)
autohand={1}{U}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=draw:3 controller
text=Draw three cards. -- Basic landcycling {1}{U} ({1}{U}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.)
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Mentor of Evos Isle
abilities=flying
auto=name(Creature perpetually gains flying) target(creature|myhand) counter(0/0.1.PerpetualFlying)
auto=emblem transforms((,newability[lord(creature[counter{0/0.1.PerpetualFlying}]) transforms((,newability[flying])) forever dontremove
text=Flying -- When Mentor of Evos Isle enters the battlefield, choose a creature card in your hand. It perpetually gains flying.
mana={2}{U}
type=Creature
subtype=Bird Wizard
power=2
toughness=1
[/card]
[card]
name=Mentor's Guidance
aicode=activate transforms((,newability[draw:1 controller])) oneshot
auto=name(Scry 1) scry:1 scrycore delayed draw:1 controller scrycoreend scryend
auto=if type(*[planeswalker;cleric;druid;shaman;warlock;wizard]|mybattlefield)~morethan~0 then name(Scry 1) name(Scry 1) scry:1 scrycore delayed draw:1 controller scrycoreend scryend
text=When you cast this spell, copy it if you control a planeswalker, Cleric, Druid, Shaman, Warlock, or Wizard. -- Scry 1, then draw a card.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Mephitic Vapors
auto=all(creature) -1/-1
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=All creatures get -1/-1 until end of turn. -- Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on the top of your library in any order.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Mer Man
auto=may draw:1 controller
text=When this creature enters the battlefield, you may draw a card.
mana={4}{U}
type=Host Creature
subtype=Human Fish
power=3
toughness=3
[/card]
[card]
name=Merchant Raiders
auto=@movedto(pirate|mybattlefield):target(creature) transforms((,doesnotuntap,newability[tap]))
auto=target(creature) transforms((,doesnotuntap,newability[tap]))
text=Whenever Merchant Raiders or another Pirate enters the battlefield under your control, tap up to one target creature. That creature doesn't untap during its controller's untap step for as long as you control Merchant Raiders.
mana={3}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=4
[/card]
[card]
name=Merchant of the Vale // Haggle
abilities=adventure,asflash
restriction=can play creature
other={R} name(Adventure)
auto=if paid(alternative) then may name(Discard and draw) reject notatarget(*|myhand) and!( draw:1 controller )
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto={2}{R}{D(*|myhand)}:name(Draw a card) draw:1
text={2}{R}, Discard a card: Draw a card. // You may discard a card. If you do, draw a card. (Then exile this card. You may cast the creature later from exile.)
mana={2}{R}
type=Creature
subtype=Human Peasant
power=2
toughness=3
[/card]
[card]
name=Merchant's Dockhand
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}:name(Tap 1 artifact) name(Tap 1 artifact) reveal:1 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 2 artifact) name(Tap 2 artifact) reveal:2 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 3 artifact) name(Tap 3 artifact) reveal:3 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 4 artifact) name(Tap 4 artifact) reveal:4 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 5 artifact) name(Tap 5 artifact) reveal:5 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 6 artifact) name(Tap 6 artifact) reveal:6 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 7 artifact) name(Tap 7 artifact) reveal:7 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 8 artifact) name(Tap 8 artifact)  reveal:8 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 9 artifact) name(Tap 9 artifact) reveal:9 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 10 artifact) name(Tap 10 artifact) reveal:10 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 11 artifact) name(Tap 11 artifact) reveal:11 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 12 artifact) name(Tap 12 artifact) reveal:12 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 13 artifact) name(Tap 13 artifact) reveal:13 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 14 artifact) name(Tap 14 artifact) reveal:14 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 15 artifact) name(Tap 15 artifact) reveal:15 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 16 artifact) name(Tap 16 artifact) reveal:16 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 17 artifact) name(Tap 17 artifact) reveal:17 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 18 artifact) name(Tap 18 artifact) reveal:18 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 19 artifact) name(Tap 19 artifact) reveal:19 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={3}{U}{T}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}{T(artifact[-tapped]|myBattlefield)}:name(Tap 20 artifact) name(Tap 20 artifact) reveal:20 optionone name(Get Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
text={3}{U}, {T}, Tap X untapped artifacts you control: Look at the top X cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
mana={1}
type=Artifact Creature
subtype=Construct
power=1
toughness=2
[/card]
[card]
name=Merciless Eternal
auto={2}{B}{D}:+2/+2 ueot
auto=_BLOCKED_life:-2 opponent
text=Afflict 2 (Whenever this creature becomes blocked, defending player loses 2 life.) -- {2}{B}, Discard a card: Merciless Eternal gets +2/+2 until end of turn.
mana={2}{B}
type=Creature
subtype=Zombie Cleric
power=2
toughness=2
[/card]
[card]
name=Merciless Javelineer
auto={2}{D(*|myhand)}:counter(-1/-1,1) target(creature) && cantblock ueot
text={2}, Discard a card: Put a -1/-1 counter on target creature. That creature can't block this turn.
mana={2}{B}{R}
type=Creature
subtype=Minotaur Warrior
power=4
toughness=2
[/card]
[card]
name=Mercurial Transformation
target=*[-land]|battlefield
other={1}{U} name(Choose octopus)
auto=ifnot paid(alternative) then ueot loseabilities
auto=ifnot paid(alternative) then ueot transforms((Creature Frog,blue,setpower=1,settoughness=1))
auto=if paid(alternative) then ueot loseabilities
auto=if paid(alternative) then ueot transforms((Creature Octopus,blue,setpower=4,settoughness=4))
text=Until end of turn, target nonland permanent loses all abilities and becomes your choice of a blue Frog creature with base power and toughness 1/1 or a blue Octopus creature with base power and toughness 4/4.
mana={1}{U}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Meren of Clan Nel Toth
auto=@movedTo(other creature|graveyard) from(myBattlefield):alterexperience:1 controller
auto=@each my endofturn restriction{type(creature|mygraveyard)~morethan~0}:name(Choose a creature) target(creature|mygraveyard) transforms((,newability[if compare(manacost)~morethan~compare(pexperience) then moveto(myhand) else moveto(mybattlefield)])) oneshot
text=Whenever another creature you control dies, you get an experience counter. -- At the beginning of your end step, choose target creature card in your graveyard. If that card's converted mana cost is less than or equal to the number of experience counters you have, return it to the battlefield. Otherwise, put it into your hand.
mana={2}{B}{G}
type=Legendary Creature
subtype=Human Shaman
power=3
toughness=4
[/card]
[card]
name=Merfolk Branchwalker
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=When Merfolk Branchwalker enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={1}{G}
type=Creature
subtype=Merfolk Scout
power=2
toughness=1
[/card]
[card]
name=Merfolk Falconer
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedTo(*[kicked>=1]|myStack):scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- Whenever you cast a kicked spell, scry 2.
mana={3}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=4
toughness=4
[/card]
[card]
name=Merfolk Mistbinder
auto=lord(other Merfolk|myBattlefield) +1/+1
text=Other Merfolk you control get +1/+1.
mana={G}{U}
type=Creature
subtype=Merfolk Shaman
power=2
toughness=2
[/card]
[card]
name=Merfolk Secretkeeper // Venture Deeper
abilities=adventure
other={U} name(Adventure)
auto=if paid(alternative) then choice name(Opponent mills 4 cards) name(Opponent mills 4 cards) deplete:4 opponent
auto=if paid(alternative) then choice name(You mill 4 cards) name(You mill 4 cards) deplete:4 controller
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Target player puts the top four cards of their library into their graveyard. (Then exile this card. You may cast the creature later from exile.)
mana={U}
type=Creature
subtype=Merfolk Wizard
power=0
toughness=4
[/card]
[card]
name=Merfolk Skydiver
abilities=flying
auto=counter(1/1) target(creature|myBattlefield)
auto={3}{G}{U}:_PROLIFERATE_
text=Flying -- When Merfolk Skydiver enters the battlefield, put a +1/+1 counter on target creature you control. -- {3}{G}{U}: Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={G}{U}
type=Creature
subtype=Merfolk Mutant
power=1
toughness=1
[/card]
[card]
name=Merfolk Spy
abilities=islandwalk
auto=@combatdamaged(player) from(this):Reveal:1 revealzone(opponenthand) optionone target(*|reveal) moveTo(opponenthand) optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
text=Islandwalk (This creature is unblockable as long as defending player controls an Island.) -- Whenever Merfolk Spy deals combat damage to a player, that player reveals a card at random from his or her hand.
mana={U}
type=Creature
subtype=Merfolk Rogue
power=1
toughness=1
[/card]
[card]
name=Merfolk Trickster
abilities=flash
auto=target(creature|opponentBattlefield) transforms((,newability[tap(noevent)],newability[loseabilities])) ueot
text=Flash -- When Merfolk Trickster enters the battlefield, tap target creature an opponent controls. It loses all abilities until end of turn.
mana={U}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Merfolk Windrobber
abilities=flying
auto=@combatdamaged(player) from(this):deplete:1 opponent
auto={S}:draw:1 controller restriction{type(*|opponentGraveyard)~morethan~7}
text=Flying -- Whenever Merfolk Windrobber deals combat damage to a player, that player mills a card. (They put the top card of their library into their graveyard.) -- Sacrifice Merfolk Windrobber: Draw a card. Activate this ability only if an opponent has eight or more cards in their graveyard.
mana={U}
type=Creature
subtype=Merfolk Rogue
power=1
toughness=1
[/card]
[card]
name=Merieke Ri Berit
abilities=doesnotuntap
auto={T}:name(Gain control of creature) all(this) counter(0/0.1.MeriekeStolen) && target(creature) moveto(myBattlefield) and!( counter(0/0.1.MeriekeStolen) )!
auto=@untapped(this) restriction{compare(hascntmeriekestolen)~morethan~0}:name(Destroy stolen creature) transforms((,newability[name(Destroy stolen creature) target(creature[counter{0/0.1.MeriekeStolen}]|myBattlefield) bury],newability[removeallcounters(0/0.1.MeriekeStolen)])) oneshot
auto=@movedto(this|nonbattlezone) from(myBattlefield) restriction{compare(hascntmeriekestolen)~morethan~0}:name(Destroy stolen creature) target(creature[counter{0/0.1.MeriekeStolen}]|myBattlefield) bury
text=Merieke Ri Berit doesn't untap during your untap step. -- {T}: Gain control of target creature for as long as you control Merieke Ri Berit. When Merieke Ri Berit leaves the battlefield or becomes untapped, destroy that creature. It can't be regenerated.
mana={W}{U}{B}
type=Legendary Creature
subtype=Human
power=1
toughness=1
[/card]
[card]
name=Mesa Lynx
auto=this(variable{opponentturn}>0) 0/2
text=As long as it's not your turn, Mesa Lynx gets +0/+2.
mana={1}{W}
type=Creature
subtype=Cat
power=2
toughness=1
[/card]
[card]
name=Mesa Unicorn
abilities=lifelink
text=Lifelink
mana={1}{W}
type=Creature
subtype=Unicorn
power=2
toughness=2
[/card]
[card]
name=Mesmeric Sliver
aicode=activate target(*[zpos<=1]|opponentlibrary) moveto(myreveal) and!( bottomoflibrary )!
auto=@movedto(sliver|battlefield):name(Fatseal 1) all(trigger[to]) transforms((,newability[may name(Look opponent top card) reveal:1 revealzone(opponentlibrary) optionone name(Put on bottom) target(<upto:1>*|reveal) bottomoflibrary optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) optiontwoend revealend])) oneshot
text=All Slivers have "When this permanent enters the battlefield, you may fateseal 1." (To fateseal 1, its controller looks at the top card of an opponent's library, then he or she may put that card on the bottom of that library.)
mana={3}{U}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Mesmerizing Benthid
auto=aslongas(Illusion|myBattlefield) opponentshroud
auto=create(Illusion:creature Illusion:0/2:blue:creature[blocked]:freeze)*2
text=When Mesmerizing Benthid enters the battlefield, create two 0/2 blue Illusion creature tokens with "Whenever this creature blocks a creature, that creature doesn't untap during its controller's next untap step." -- Mesmerizing Benthid has hexproof as long as you control an Illusion.
mana={3}{U}{U}
type=Creature
subtype=Octopus
power=4
toughness=5
[/card]
[card]
name=Metalworker
auto={T}:target(<anyamount>[artifact]|myhand) transforms((,newability[foreach(artifact|reveal) add: {2}]))
text={T}: Reveal any number of artifact cards in your hand. Add {C}{C} for each card revealed this way.
mana={3}
type=Artifact Creature
subtype=Construct
power=1
toughness=2
[/card]
[card]
name=Metamorphic Alteration
target=creature
auto=teach(mytgt) copy NotATarget(creature)
text=Enchant creature -- As Metamorphic Alteration enters the battlefield, choose a creature. -- Enchanted creature is a copy of the chosen creature.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Metamorphosis
restriction=type(creature|myrestrictedcastingzone)~morethan~0
auto=choice name(White Mana) thisforeach(variable{storedmanacostplus1plusend}) add{W}
auto=choice name(Blue Mana) thisforeach(variable{storedmanacostplus1plusend}) add{U}
auto=choice name(Black Mana) thisforeach(variable{storedmanacostplus1plusend}) add{B}
auto=choice name(Red Mana) thisforeach(variable{storedmanacostplus1plusend}) add{R}
auto=choice name(Green Mana) thisforeach(variable{storedmanacostplus1plusend}) add{G}
text=As an additional cost to cast Metamorphosis, sacrifice a creature. -- Add X mana of any one color to your mana pool, where X is one plus the sacrificed creature's converted mana cost. Spend this mana only to cast creature spells.
mana={G}{S(creature|myBattlefield)}
type=Sorcery
[/card]
[card]
name=Meteor Blast
auto=thisforeach(X) ability$!name(Choose one) choice name(4 damages to player) damage:4 target(player) _ choice name(4 damages to planeswalker) damage:4 target(planeswalker) _ choice name(4 damages to creature) damage:4 target(creature)!$ controller
mana={X}{R}{R}{R}
type=Sorcery
text=Meteor Blast deals 4 damage to each of X targets.
[/card]
[card]
name=Meteor Golem
auto=destroy target(*[-land]|opponentbattlefield)
text=When Meteor Golem enters the battlefield, destroy target nonland permanent an opponent controls.
mana={7}
type=Artifact Creature
subtype=Golem
power=3
toughness=3
[/card]
[card]
name=Meteor Shower
auto=thisforeach(variable{halfpaidplus1plusend}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
text=Meteor Shower deals X plus 1 damage divided as you choose among any number of targets.
mana={X}{X}{R}
type=Sorcery
[/card]
[card]
name=Meteor Swarm
abilities=nofizzle
auto=this(X=1) damage:8 target(*[creature;planeswalker]|battlefield)
auto=this(X=2) thisforeach(variable{8}) ability$!name(Deal 1 damage) name(Deal 1 damage) damage:1 target(creature,planeswalker)!$ controller
auto=this(X=3) thisforeach(variable{8}) ability$!name(Deal 1 damage) name(Deal 1 damage) damage:1 target(creature,planeswalker)!$ controller
auto=this(X=4) thisforeach(variable{8}) ability$!name(Deal 1 damage) name(Deal 1 damage) damage:1 target(creature,planeswalker)!$ controller
auto=this(X=5) thisforeach(variable{8}) ability$!name(Deal 1 damage) name(Deal 1 damage) damage:1 target(creature,planeswalker)!$ controller
auto=this(X=6) thisforeach(variable{8}) ability$!name(Deal 1 damage) name(Deal 1 damage) damage:1 target(creature,planeswalker)!$ controller
auto=this(X=7) thisforeach(variable{8}) ability$!name(Deal 1 damage) name(Deal 1 damage) damage:1 target(creature,planeswalker)!$ controller
auto=this(X>=8) damage:1 target(<8>*[creature;planeswalker]|battlefield)
text=Meteor Swarm deals 8 damage divided as you choose among X target creatures and/or planeswalkers
mana={X}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Meteoric Mace
autostack=if casted(this) then cascade:plibrarycount
auto=teach(creature) trample
auto=teach(creature) 4/0
auto={4}:equip
text=Equipped creature gets +4/+0 and has trample. -- Equip {4} -- Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={4}{R}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Metzali, Tower of Triumph
auto={T}:add{G}
auto={T}:add{W}
auto={T}:add{U}
auto={T}:add{R}
auto={T}:add{B}
auto={1}{R}{T}:damage:2 opponent
auto={2}{W}{T}:ability$!name(Destroy attacking creature) name(Destroy attacking creature) notatarget(creature[attacking]|battlefield) destroy!$ opponent
text=(Transforms from Path of Mettle.) -- {T}: Add one mana of any color. -- {1}{R}, {T}: Metzali, Tower of Triumph deals 2 damage to each opponent. -- {2}{W}, {T}: Choose a creature at random that attacked this turn. Destroy that creature.
type=Legendary Land
[/card]
[card]
name=Miara, Thorn of the Glade
abilities=partner
auto=@movedTo(*[elf]|mygraveyard) from(mybattlefield):may pay({1}{L:1}) name(draw card) draw:1 controller
text=Whenever Miara, Thorn of the Glade or another Elf you control dies, you may pay {1} and 1 life. If you do, draw a card. -- Partner (You can have two commanders if both have partner.)
mana={1}{B}
type=Legendary Creature
subtype=Elf Scout
power=1
toughness=2
[/card]
[card]
name=Miasmic Mummy
auto=reject notatarget(*|myhand)
auto=ability$!notatarget(*|myhand) reject!$ opponent
text=When Miasmic Mummy enters the battlefield, each player discards a card.
mana={1}{B}
type=Creature
subtype=Zombie Jackal
power=2
toughness=2
[/card]
[card]
name=Midnight Clock
auto={T}:add{1}
auto={2}{U}:counter(0/0,1,hour)
auto=@each upkeep:counter(0/0,1,hour)
auto={C(0/0,12,hour)}{E}:moveto(myLibrary) all(*|myGraveyard) && moveto(myLibrary) all(*|myHand) && shuffle && draw:7 controller
text={T}: Add {U}. -- {2}{U}: Put an hour counter on Midnight Clock. -- At the beginning of each upkeep, put an hour counter on Midnight Clock. -- When the twelfth hour counter is put on Midnight Clock, shuffle your hand and graveyard into your library, then draw seven cards. Exile Midnight Clock.
mana={2}{U}
type=Artifact
[/card]
[card]
name=Midnight Pathlighter
auto=lord(creature|mybattlefield) cantbeblockedby(creature[-legendary])
auto=@combatdamaged(player) from(creature|mybattlefield) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0} turnlimited:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Creatures you control can't be blocked except by legendary creatures. -- Whenever one or more creatures you control deal combat damage to a player, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={2}{W}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Midnight Reaper
auto=@movedto(other creature[-token]|myGraveyard) from(myBattlefield):damage:1 controller
auto=@movedto(other creature[-token]|myGraveyard) from(myBattlefield):draw:1 controller
text=Whenever a nontoken creature you control dies, Midnight Reaper deals 1 damage to you and you draw a card.
mana={2}{B}
type=Creature
subtype=Zombie Knight
power=3
toughness=2
[/card]
[card]
name=Might of Murasa
target=creature
kicker={2}{G}
auto=if paid(kicker) then 2/2 ueot
auto=3/3 ueot
text=Kicker {2}{G} (You may pay an additional {2}{G} as you cast this spell.) -- Target creature gets +3/+3 until end of turn. If this spell was kicked, that creature gets +5/+5 until end of turn instead.
mana={1}{G}
type=Instant
[/card]
[card]
name=Might of the Old Ways
target=creature|myBattlefield
auto=2/2 ueot && if coven then draw:1 controller
text=Target creature gets +2/+2 until end of turn. -- Coven - Then if you control three or more creatures with different powers, draw a card.
mana={1}{G}
type=Instant
[/card]
[card]
name=Migration Path
abilities=cycling
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>land[basic]|myLibrary)
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
autohand=__CYCLING__({2})
text=Search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Migratory Greathorn
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{G} name(Mutate)
auto=transforms((,newability[@mutated(this):name(Search basic land) target(land[basic]|mylibrary) moveto(myBattlefield) and!( tap(noevent) )!]))
auto=ifnot paid(alternative) then transforms((,newability[becomes(,,green)])) forever all(this)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield) && transforms((,newability[becomes(,,green)])) forever
auto=if paid(alternative) then name(Mutate Under) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield) 
text=Mutate {2}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={3}{G}
type=Creature
subtype=Beast
power=3
toughness=4
[/card]
[card]
name=Mila, Crafty Companion
backside=Lukka, Wayward Bonder
other={4}{R}{R} name(Lukka, Wayward Bonder)
otherrestriction=can play planeswalker,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
autostack=if paid(alternative) then name(Lukka, Wayward Bonder) name(Lukka, Wayward Bonder) flip(backside) forcetype(Legendary Planeswalker)
auto=@each blockers restriction{compare(isflipped)~equalto~0,type(creature[attacking]|opponentbattlefield)~morethan~0}:may name(Opponent attacked planeswalker) all(*[planeswalker]|mybattlefield) counter(0/0,1,Loyalty)
auto=@targeted(*|mybattlefield) from(*|opponentzones) restriction{compare(isflipped)~equalto~0}:may name(Draw a card) draw:1 controller
text=Whenever an opponent attacks one or more planeswalkers you control, put a loyalty counter on each planeswalker you control. -- Whenever a permanent you control becomes the target of a spell or ability an opponent controls, you may draw a card. // {4}{R}{R} Lukka, Wayward Bonder
mana={1}{W}{W}
type=Legendary Creature
subtype=Fox
power=2
toughness=3
[/card]
[card]
name=Militant Angel
abilities=flying, lifelink
auto=if raid then token(Knight,creature Knight,2/2,white,vigilance)
text=Flying, Lifelink -- When Militant Angel enters the battlefield, create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you attacked this turn.
mana={3}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=4
[/card]
[card]
name=Militia Bugler
abilities=vigilance
auto=reveal:4 optionone name(Look at the top four cards...) target(<4>creature[power<2]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
text=Vigilance (Attacking doesn't cause this creature to tap.) -- When Militia Bugler enters the battlefield, look at the top four cards of your library. You may reveal a creature card with power 2 or less from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Mimeofacture
abilities=hasnokicker,hasreplicate
target=*|opponentbattlefield
kicker=multi{3}{U} name(Replicate)
auto=name(Search same permanent) transforms((,newability[name(Search same card) target(*[share!name!]|mylibrary) moveto(opponentbattlefield) and!( shuffle )!])) forever
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Mimeofacture) name(Copy Mimeofacture) activate castcard(copied noevent named!:Mimeofacture:!)!$ controller
text=Replicate {3}{U} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Choose target permanent an opponent controls. Search that player's library for a card with the same name and put it onto the battlefield under your control. Then that player shuffles his or her library.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Mimic
auto={T}{S}:add{W}
auto={T}{S}:add{B}
auto={T}{S}:add{R}
auto={T}{S}:add{U}
auto={T}{S}:add{G}
auto={2}:name(Becomes shapeshifter) transforms((Creature Shapeshifter,setpower=3,settoughness=3)) ueot
text={T}, Sacrifice Mimic: Add one mana of any color. -- {2}: Mimic becomes a Shapeshifter artifact creature with base power and toughness 3/3 until end of turn.
mana={2}
type=Artifact
subtype=Treasure
[/card]
[card]
name=Mimic Vat
auto=@movedto(creature[-token]|nonbattlezone) from(battlefield):may name(Imprint card) name(Imprint card) all(trigger[to]) transforms((,newability[moveTo(ownerGraveyard) all(other creature[counter{0/0.1.MimicImprinted}]|exile)],newability[moveto(exile) and!( counter(0/0.1.MimicImprinted) )!])) forever
auto={3}{T}:target(creature[counter{0/0.1.MimicImprinted}]|exile) clone with(haste,unearth)
text=Imprint - Whenever a nontoken creature dies, you may exile that card. If you do, return each other card exiled with Mimic Vat to its owner's graveyard. -- {3}, {T}: Create a token that's a copy of a card exiled with Mimic Vat. It gains haste. Exile it at the beginning of the next end step.
mana={3}
type=Artifact
[/card]
[card]
name=Mind Carver
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature) transforms((,newability[aslongas(*|opponentGraveyard) 1/0 <8]))
auto=teach(creature) transforms((,newability[aslongas(*|opponentGraveyard) 3/1 >7]))
auto={2}{B}:equip
text=When Mind Carver enters the battlefield, attach it to target creature you control. -- Equipped creature gets +1/+0. It gets +3/+1 instead as long as an opponent has eight or more cards in their graveyard. -- Equip {2}{B}
mana={B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Mind Drain
auto=ability$!name(Discard 2 cards) reject notatarget(<2>*|myHand)!$ opponent
auto=deplete:1 opponent
auto=life:-1 opponent
auto=life:1 controller
text=Target opponent discards two cards, mills a card, and loses 1 life. You gain 1 life. (To a mill a card, a player puts the top card of their library into their graveyard.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Mind Flayer
auto=name(Dominate Monster) steal target(creature)
text=Dominate Monster - When Mind Flayer enters the battlefield, gain control of target creature for as long as you control Mind Flayer.
mana={3}{U}{U}
type=Creature
subtype=Horror
power=3
toughness=3
[/card]
[card]
name=Mind Rake
abilities=overload
other={1}{B} name(Overload)
auto=target(player) ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ targetedplayer
auto=overload all(player) ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ targetedplayer
text=Target player discards two cards. -- Overload {1}{B} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Mindblade Render
auto=@combatdamagefoeof(player) from(*[warrior]|battlefield):draw:1 controller && life:-1 controller
text=Whenever your opponents are dealt combat damage, if any of that damage was dealt by a Warrior, you draw a card and you lose 1 life.
mana={1}{B}
type=Creature
subtype=Azra Warrior
power=1
toughness=3
[/card]
[card]
name=Mindbreak Trap
target=*|stack
other={0} name(Opponent casted 3 or more spells)
otherrestriction=thisturn(*|opponentstack)~morethan~2
auto=fizzleto(exile)
auto=all(*|opponentstack) fizzleto(exile)
text=If an opponent cast three or more spells this turn, you may pay {0} rather than pay Mindbreak Trap's mana cost. -- Exile any number of target spells.
mana={2}{U}{U}
type=Instant
subtype=Trap
[/card]
[card]
name=Mindleecher
abilities=flying,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={4}{B} name(Mutate)
auto=transforms((,newability[@mutated(this):ability$!name(Reveal) reveal:1 revealzone(opponentlibrary) optionone name(Exile opponent top card?) target(<upto:1>*|myreveal) moveto(opponentexile) optiononeend optiontwo name(Play exiled card) target(<1>*|myreveal) activate castcard(normal) optiontwoend revealend!$ controller]))
auto=ifnot paid(alternative) then transforms((,newability[becomes(,,black)])) forever all(this)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield) && transforms((,newability[becomes(,,black)])) forever
auto=if paid(alternative) then name(Mutate Under) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {4}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying -- Whenever this creature mutates, exile the top card of each opponent's library face down. You may look at and play those cards for as long as they remain exiled.
mana={4}{B}{B}
type=Creature
subtype=Nightmare
power=5
toughness=5
[/card]
[card]
name=Mindwrack Harpy
abilities=Flying
auto=@each my combatbegins:deplete:3 controller
auto=@each my combatbegins:deplete:3 opponent
text=Flying -- At the beginning of combat on your turn, each player puts the top three cards of their library into their graveyard.
mana={3}{B}
type=Enchantment Creature
subtype=Harpy
power=3
toughness=2
[/card]
[card]
name=Mine Collapse
target=creature,planeswalker
other={S(mountain|myBattlefield)} name(Sacrifice mountain)
otherrestriction=myturnonly
auto=damage:5
text=If it's your turn, you may sacrifice a Mountain rather than pay this spell's mana cost. -- Mine Collapse deals 5 damage to target creature or planeswalker.
mana={3}{R}
type=Instant
[/card]
[card]
name=Minimus Containment
target=artifact,creature,enchantment,planeswalker
auto=teach(*) transforms((,newability[flip(Treasure Sur)],newability[counter(0/0.1.MinimusEffect)]))
auto=@movedto(this|nonbattlezone) from(battlefield):choice name(Minimus effect ends) target(*[counter{0/0.1.MinimusEffect}]) transforms((,newability[flip(myorigname) undocpy],newability[removeallcounters(0/0.1.MinimusEffect)])) forever
text=Enchant nonland permanent -- Enchanted permanent is a Treasure artifact with "{T}, Sacrifice this artifact: Add one mana of any color" and it loses all other abilities. (If it was a creature, it's no longer a creature.)
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Minion of the Mighty
abilities=menace
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:may name(Put dragon on battlefield) target(creature[dragon]|myhand) ninjutsu
text=Menace -- Pack tactics - Whenever Minion of the Mighty attacks, if you attacked with creatures with total power 6 or greater this combat, you may put a Dragon creature card from your hand onto the battlefield tapped and attacking.
mana={R}
type=Creature
subtype=Kobold
power=0
toughness=1
[/card]
[card]
name=Minion of the Wastes
abilities=trample
auto=if compare(lifetotal)~morethan~0 then choice name(Pay 1 life) life:-1 controller && transforms((,setpower=1,settoughness=1)) forever
auto=if compare(lifetotal)~morethan~1 then choice name(Pay 2 life) life:-2 controller && transforms((,setpower=2,settoughness=2)) forever
auto=if compare(lifetotal)~morethan~2 then choice name(Pay 3 life) life:-3 controller && transforms((,setpower=3,settoughness=3)) forever
auto=if compare(lifetotal)~morethan~3 then choice name(Pay 4 life) life:-4 controller && transforms((,setpower=4,settoughness=4)) forever
auto=if compare(lifetotal)~morethan~4 then choice name(Pay 5 life) life:-5 controller && transforms((,setpower=5,settoughness=5)) forever
auto=if compare(lifetotal)~morethan~5 then choice name(Pay 6 life) life:-6 controller && transforms((,setpower=6,settoughness=6)) forever
auto=if compare(lifetotal)~morethan~6 then choice name(Pay 7 life) life:-7 controller && transforms((,setpower=7,settoughness=7)) forever
auto=if compare(lifetotal)~morethan~7 then choice name(Pay 8 life) life:-8 controller && transforms((,setpower=8,settoughness=8)) forever
auto=if compare(lifetotal)~morethan~8 then choice name(Pay 9 life) life:-9 controller && transforms((,setpower=9,settoughness=9)) forever
auto=if compare(lifetotal)~morethan~9 then choice name(Pay 10 life) life:-10 controller && transforms((,setpower=10,settoughness=10)) forever
auto=if compare(lifetotal)~morethan~10 then choice name(Pay 11 life) life:-11 controller && transforms((,setpower=11,settoughness=11)) forever
auto=if compare(lifetotal)~morethan~11 then choice name(Pay 12 life) life:-12 controller && transforms((,setpower=12,settoughness=12)) forever
auto=if compare(lifetotal)~morethan~12 then choice name(Pay 13 life) life:-13 controller && transforms((,setpower=13,settoughness=13)) forever
auto=if compare(lifetotal)~morethan~13 then choice name(Pay 14 life) life:-14 controller && transforms((,setpower=14,settoughness=14)) forever
auto=if compare(lifetotal)~morethan~14 then choice name(Pay 15 life) life:-15 controller && transforms((,setpower=15,settoughness=15)) forever
auto=if compare(lifetotal)~morethan~15 then choice name(Pay 16 life) life:-16 controller && transforms((,setpower=16,settoughness=16)) forever
auto=if compare(lifetotal)~morethan~16 then choice name(Pay 17 life) life:-17 controller && transforms((,setpower=17,settoughness=17)) forever
auto=if compare(lifetotal)~morethan~17 then choice name(Pay 18 life) life:-18 controller && transforms((,setpower=18,settoughness=18)) forever
auto=if compare(lifetotal)~morethan~18 then choice name(Pay 19 life) life:-19 controller && transforms((,setpower=19,settoughness=19)) forever
auto=if compare(lifetotal)~morethan~19 then choice name(Pay 20 life) life:-20 controller && transforms((,setpower=20,settoughness=20)) forever
text=Trample -- As Minion of the Wastes enters the battlefield, pay any amount of life. -- Minion of the Wastes's power and toughness are each equal to the life paid as it entered the battlefield.
mana={3}{B}{B}{B}
type=Creature
subtype=Minion
power=*
toughness=*
[/card]
[card]
name=Minion's Return
abilities=flash
target=creature
auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(mybattlefield)
text=Flash -- Enchant creature -- When enchanted creature dies, return that card to the battlefield under your control.
mana={2}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Ministrant of Obligation
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2
text=Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.)
mana={2}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Minn, Wily Illusionist
auto=_SECOND_DRAW_token(Illusion,Creature Illusion,1/1,blue) and!( transforms((,newability[foreach(other *[illusion]|mybattlefield) 1/0])) forever )!
auto=@movedTo(illusion[power=0]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=0]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=1]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=1]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=2]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=2]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=3]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=3]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=4]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=4]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=5]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=5]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=6]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=6]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=7]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=7]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=8]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=8]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=9]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=9]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=10]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=10]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=11]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=11]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=12]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=12]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=13]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=13]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=14]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=14]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=15]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=15]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=16]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=16]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=17]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=17]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=18]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=18]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=19]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=19]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power>=19]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery]|myhand) moveto(mybattlefield)
text=Whenever you draw your second card each turn, create a 1/1 blue Illusion creature token with "This creature gets +1/+0 for each other Illusion you control." -- Whenever an Illusion you control dies, you may put a permanent card with mana value less than or equal to that creature's power from your hand onto the battlefield.
mana={1}{U}{U}
type=Legendary Creature
subtype=Gnome Wizard
power=1
toughness=3
[/card]
[card]
name=Minotaur Sureshot
abilities=reach
auto={1}{R}:1/0
text=Reach (This creature can block creatures with flying.) -- {1}{R}: Minotaur Sureshot gets +1/+0 until end of turn.
mana={2}{R}
type=Creature
subtype=Minotaur Archer
power=2
toughness=3
[/card]
[card]
name=Minsc, Beloved Ranger
auto=name(Create Boo) token(Boo,Legendary Creature Hamster,1/1,red,trample,haste)
auto={X}:name(Creature becomes giant) target(creature|myBattlefield) becomes(Giant,x/x) ueot asSorcery
text=When Minsc, Beloved Ranger enters the battlefield, create Boo, a legendary 1/1 red Hamster creature token with trample and haste. -- {X}: Until end of turn, target creature you control has base power and toughness X/X and becomes a Giant in addition to its other types. Activate only a sorcery.
mana={R}{G}{W}
type=Legendary Creature
subtype=Human Ranger
power=3
toughness=3
[/card]
[card]
name=Miracle Worker
auto={T}:destroy target(aura)
text={T}: Destroy target Aura attached to a creature you control.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Mirage Mirror
auto={2}:target(*[artifact;creature;enchantment;land]|battlefield) copy and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(Mirage Mirror) undocpy])) forever )!
text={2}: Mirage Mirror becomes a copy of target artifact, creature, enchantment, or land until end of turn.
mana={3}
type=Artifact
[/card]
[card]
name=Mire Triton
abilities=deathtouch
auto=deplete:2 controller && life:2 controller
text=Deathtouch -- When Mire Triton enters the battlefield, put the top two cards of your library into your graveyard and you gain 2 life.
mana={1}{B}
type=Creature
subtype=Zombie Merfolk
power=2
toughness=1
[/card]
[card]
name=Mire in Misery
target=opponent
auto=ability$!name(sacrifice) notatarget(*[creature,enchantment]|myBattlefield) sacrifice!$ opponent
text=Each opponent sacrifices a creature or enchantment.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Mire's Grasp
target=creature
auto=-3/-3
text=Enchant creature -- Enchanted creature gets -2/-2.
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Mirri, Weatherlight Duelist
abilities=first strike
auto=this(tapped) lord(creature[-attacking]|opponentbattlefield) cantattack
auto=this(tapped) lord(creature[-attacking]|opponentbattlefield) cantpwattack
auto=_ATTACKING_aslongas(creature[blocking]|opponentBattlefield) lord(creature[-blocking]|opponentbattlefield) cantblock
text=First strike -- Whenever Mirri, Weatherlight Duelist attacks, each opponent can't block with more than one creature this combat. -- As long as Mirri, Weatherlight Duelist is tapped, no more than one creature can attack you each combat.
mana={1}{G}{W}
type=Legendary Creature
subtype=Cat Warrior
power=3
toughness=2
[/card]
[card]
name=Mirror Image
auto=may copy NotATarget(creature|myBattlefield)
text=You may have Mirror Image enter the battlefield as a copy of any creature you control.
mana={2}{U}
type=Creature
subtype=Shapeshifter
power=0
toughness=0
[/card]
[card]
name=Mirror Match
auto=foreach(notAtarget(creature[attacking])):clone(notatarget(creature[attacking])) with (unearth)
restriction=blockersonly
text=Cast this spell only during the declare blockers step. -- For each creature attacking you or a planeswalker you control, create a token that's a copy of that creature and that's blocking that creature. Exile those tokens at end of combat.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Mirror Sheen
auto={1}{UR}{UR}:castcard(copied noevent) target(*[instant;sorcery]|stack)
text={1}{UR}{UR}: Copy target instant or sorcery spell that targets you. You may choose new targets for the copy.
mana={1}{UR}{UR}
type=Enchantment
[/card]
[card]
name=Mirror Shield
auto=teach(creature) 0/2
auto=teach(creature) opponentshroud
auto=@combat(blocking,blocked) source(mytgt) from(creature[deathtouch]):all(trigger[from]) destroy
auto={2}:equip
text=Equipped creature gets +0/+2 and has hexproof and "Whenever a creature with deathtouch blocks or becomes blocked by this creature, destroy that creature." -- Equip 2 ( 2 : Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Mirror of the Forebears
auto=chooseatype transforms((,newability[{1}:name(Becomes copy) target(creature[chosentype]|myBattlefield) copy and!( all(this) transforms((Artifact,newability[phaseaction[endofturn once] flip(Mirror of the Forebears) undocpy])) forever )!])) forever chooseend
text=As Mirror of the Forebears enters the battlefield, choose a creature type. -- {1}: Until end of turn, Mirror of the Forebears becomes a copy of target creature you control of the chosen type, except it's an artifact in addition to its other types.
mana={2}
type=Artifact
[/card]
[card]
name=Mirrormade
auto=may copy target(*[artifact,enchantment])
text=You may have Mirrormade enter the battlefield as a copy of any artifact or enchantment on the battlefield.
mana={1}{U}{U}
type=Enchantment
[/card]
[card]
name=Mirrorwood Treefolk
auto={2}{R}{W}:transforms((,newability[undamageable],newability[_ENRAGE_damage:thatmuch target(player^creature)])) ueot
text={2}{R}{W}: The next time damage would be dealt to Mirrorwood Treefolk this turn, that damage is dealt to target creature or player instead.
mana={3}{G}
type=Creature
subtype=Treefolk
power=2
toughness=4
[/card]
[card]
name=Miscast
target=*[-creature;-artifact;-enchantment;-planeswalker]|stack
auto=transforms((,newability[pay [[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
text=Counter target instant or sorcery spell unless its controller pays 3 .
mana={U}
type=Instant
[/card]
[card]
name=Mischievous Chimera
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:damage:1 opponent && scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- Whenever you cast your first spell during each opponent's turn, Mischievous Chimera deals 1 damage to each opponent. Scry 1.
mana={U}{R}
type=Enchantment Creature
subtype=Chimera
power=2
toughness=2
[/card]
[card]
name=Misdirection
other={E(*[blue]|myhand)} name(Exile blue card)
target=*|stack
auto=fizzle
auto=activate castcard(copied noevent)
text=You may exile a blue card from your hand rather than pay Misdirection's mana cost. -- Change the target of target spell with a single target.
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Mise
auto=chooseaname if type(*[zpos=1;chosenname]|mylibrary)~morethan~0 then draw:3 controller else reveal:1 revealzone(mylibrary) optionone name(Put back) target(*|reveal) moveto(mylibrary) optiononeend revealend chooseend nonland
text=Name a nonland card, then reveal the top card of your library. If that card is the named card, draw three cards.
mana={U}
type=Instant
[/card]
[card]
name=Mishra's Self-Replicator
auto=@movedTo(*[artifact;legendary;saga]|mystack):may pay({1}) name(Pay 1 and clone) clone all(this)
text=Whenever you cast a historic spell, you may pay {1}. If you do, create a token that's a copy of Mishra's Self-Replicator. (Artifacts, legendaries, and Sagas are historic.)
mana={5}
type=Artifact Creature
subtype=Assembly-Worker
power=2
toughness=2
[/card]
[card]
name=Mishra's Workshop
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{C}{C}{C}
text={T}: Add {3}. Spend this mana only to cast artifact spells.
type=Land
[/card]
[card]
name=Mission Briefing
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed target(*[instant;sorcery;fresh]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath])) ueot && surveil afterrevealedend revealend
text=Surveil 2, then choose an instant or sorcery card in your graveyard. You may cast it this turn. If that spell would be put into your graveyard this turn, exile it instead. (To surveil 2, look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.)
mana={U}{U}
type=Instant
[/card]
[card]
name=Mist-Cloaked Herald
abilities=unblockable
text=Mist-Cloaked Herald can't be blocked.
mana={U}
type=Creature
subtype=Merfolk Warrior
power=1
toughness=1
[/card]
[card]
name=Mist-Syndicate Naga
autohand={2}{U}{N}:ninjutsu
auto=@combatdamaged(player) from(this):clone all(this)
text=Ninjutsu {2}{U} ({2}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever Mist-Syndicate Naga deals combat damage to a player, create a token that's a copy of Mist-Syndicate Naga.
mana={2}{U}
type=Creature
subtype=Naga Ninja
power=3
toughness=1
[/card]
[card]
name=Mistcaller
auto={S}:lord(creature[-token;fresh]|battlefield) transforms((,newability[ifnot casted(this) then moveto(exile)])) ueot
text=Sacrifice Mistcaller: Until end of turn, if a nontoken creature would enter the battlefield and it wasn't cast, exile it instead.
mana={U}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=1
[/card]
[card]
name=Mistford River Turtle
auto=_ATTACKING_target(other creature[-human;attacking]) unblockable ueot
text=Whenever Mistford River Turtle attacks, another target attacking non-Human creature can't be blocked this turn.
mana={3}{U}
type=Creature
subtype=Turtle
power=1
toughness=5
[/card]
[card]
name=Mistgate Pathway
auto={T}:add{U}
text={T}: Add {U}. // Hengegate Pathway
type=Land
[/card]
[card]
name=Mistmoon Griffin
abilities=flying
auto=_DIES_moveto(myexile) all(this)
auto=_DIES_moveto(mybattlefield) target(creature|mybattlefield)
text=Flying -- When Mistmoon Griffin dies, exile Mistmoon Griffin, then return the top creature card of your graveyard to the battlefield.
mana={3}{W}
type=Creature
subtype=Griffin
power=2
toughness=2
[/card]
[card]
name=Mistral Singer
abilities=flying,prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
text=Flying -- Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)
mana={2}{U}
type=Creature
subtype=Siren
power=2
toughness=2
[/card]
[card]
name=Mists of Littjara
target=creature,vehicle
abilities=flash
auto=-3/0
text=Flash -- Enchant creature or Vehicle -- Enchanted creature gets -3/-0.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Mistvault Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{B}
auto={T}:add{U}
text=Mistvault Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {U} or {B}.
type=Artifact Land
[/card]
[card]
name=Mistwalker
abilities=changeling,flying
auto={1}{U}:1/-1 ueot
text=Changeling (This card is every creature type.) -- Flying -- {1}{U}: Mistwalker gets +1/-1 until end of turn.
mana={2}{U}
type=Creature
subtype=Shapeshifter
power=1
toughness=4
[/card]
[card]
name=Mizzium Tank
auto=@movedTo(*[-creature]|mystack):becomes(Artifact Creature) ueot
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto={crew(other creature[power>=1]|myBattlefield)}:name(crew 1 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~0}
text=Trample -- Whenever you cast a noncreature spell, Mizzium Tank becomes an artifact creature and gets +1/+1 until end of turn. -- Crew 1 (Tap any number of creatures you control with total power 1 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={1}{R}{R}
type=Artifact
subtype=Vehicle
power=3
toughness=2
[/card]
[card]
name=Mizzix's Mastery
target=*[instant;sorcery]|mygraveyard
abilities=overload
other={5}{R}{R}{R} name(Overload)
auto=paidmana moveto(exile) and!( may castcard(copied noevent) )!
auto=overload all(*[instant;sorcery]|mygraveyard) moveto(exile) and!( may castcard(copied noevent) )!
text=Exile target card that's an instant or sorcery from your graveyard. For each card exiled this way, copy it, and you may cast the copy without paying its mana cost. Exile Mizzix's Mastery. -- Overload {5}{R}{R}{R} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Mnemonic Deluge
abilities=exiledeath
target=*[instant;sorcery]|graveyard
auto=moveto(exile)
auto=activate castcard(copied noevent) && activate castcard(copied noevent) && activate castcard(copied noevent)
text=Exile target instant or sorcery card from a graveyard. Copy that card three times. You may cast the copies without paying their mana costs. Exile Mnemonic Deluge.
mana={6}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Moaning Wall
abilities=defender,cycling
autohand=__CYCLING__({2})
text=Defender -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{B}
type=Creature
subtype=Zombie Wall
power=0
toughness=5
[/card]
[card]
name=Moat Piranhas
abilities=defender
text=Defender (This creature can't attack.)
mana={1}{U}
type=Creature
subtype=Fish
power=3
toughness=3
[/card]
[card]
name=Mob
other={convoke} name(Convoke)
target=creature
auto=destroy
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.) -- Destroy target creature.
mana={4}{B}
type=Instant
[/card]
[card]
name=Mobilized District
auto={T}:Add{C}
auto={4}:transforms((Citizen Creature,setpower=3,settoughness=3,vigilance)) ueot
auto={3} restriction{type(*[creature&legendary;planeswalker]|myBattlefield)~morethan~0}:transforms((Citizen Creature,setpower=3,settoughness=3,vigilance)) ueot
auto={2} restriction{type(*[creature&legendary;planeswalker]|myBattlefield)~morethan~1}:transforms((Citizen Creature,setpower=3,settoughness=3,vigilance)) ueot
auto={1} restriction{type(*[creature&legendary;planeswalker]|myBattlefield)~morethan~2}:transforms((Citizen Creature,setpower=3,settoughness=3,vigilance)) ueot
auto={0} restriction{type(*[creature&legendary;planeswalker]|myBattlefield)~morethan~3}:transforms((Citizen Creature,setpower=3,settoughness=3,vigilance)) ueot
text={T}: Add {C}. -- {4}: Mobilized District becomes a 3/3 Citizen creature with vigilance until end of turn. It's still a land. This ability costs {1} less to activate for each legendary creature and planeswalker you control.
type=Land
[/card]
[card]
name=Moderation
auto=maxCast(*)1
auto=@movedTo(*|mystack):name(Draw a card) draw:1 controller
text=You can't cast more than one spell each turn. -- Whenever you cast a spell, draw a card.
mana={1}{W}{U}
type=Enchantment
[/card]
[card]
name=Mogg Infestation
target=player
auto=all(creature|targetedpersonsbattlefield) destroy and!( if cantargetcard(creature|graveyard) then create(Goblin:Creature Goblin:1/1:red)*2 targetedpersonsbattlefield)!
mana={3}{R}{R}
type=Sorcery
text=Destroy all creatures target player controls. For each creature that died this way, put two 1/1 red Goblin creature tokens onto the battlefield under that player's control.
[/card]
[card]
name=Mogis's Favor
target=creature
auto=2/-1
retrace={2}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Enchant creature -- Enchanted creature gets +2/-1. -- Escape-{2}{B}, Exile two other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Molderhulk
anyzone=foreach(creature|mygraveyard) changecost(colorless:-1) forcedalive
auto=target(land|mygraveyard) moveTo(mybattlefield)
text=Undergrowth - This spell costs {1} less to cast for each creature card in your graveyard. -- When Molderhulk enters the battlefield, return target land card from your graveyard to the battlefield.
mana={7}{B}{G}
type=Creature
subtype=Fungus Zombie
power=6
toughness=6
[/card]
[card]
name=Moldering Karok
abilities=trample,lifelink
text=Trample, lifelink
mana={2}{B}{G}
type=Creature
subtype=Zombie Crocodile
power=3
toughness=3
[/card]
[card]
name=Moldervine Reclamation
auto=@movedTo(creature|mygraveyard) from(battlefield):life:1 && draw:1
text=Whenever a creature you control dies, you gain 1 life and draw a card.
mana={3}{B}{G}
type=Enchantment
[/card]
[card]
name=Molten Birth
auto=token(Elemental,Creature Elemental,1/1,red)*2
auto=flipacoin winability moveto(myhand) all(this) winabilityend flipend
text=Put two 1/1 red Elemental creature tokens onto the battlefield. Then flip a coin. If you win the flip, return Molten Birth to its owner's hand.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Molten Blast
auto=choice name(Deals 2 damage) damage:2 target(creature,planeswalker)
auto=choice name(Destroy artifact) destroy target(artifact)
text=Choose one -- Molten Blast deals 2 damage to target creature or planeswalker -- Destroy target artifact.
mana={2}{R}
type=Instant
[/card]
[card]
name=Molten Disaster
kicker={R}
autostack=if paid(kicker) then transforms((,newability[split second])) forever
auto=damage:x opponent
auto=damage:x controller
auto=damage:x all(creature[-flying]|battlefield)
text=Kicker {R} (You may pay an additional {R} as you cast this spell.) -- If Molten Disaster was kicked, it has split second. (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- Molten Disaster deals X damage to each creature without flying and each player.
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Molten Echoes
auto=chooseatype transforms((,newability[@movedTo(creature[chosentype,-token]|myBattlefield)}:all(trigger[to]) clone with(unearth,haste)])) chooseend
text=As Molten Echoes enters the battlefield, choose a creature type. -- Whenever a nontoken creature of the chosen type enters the battlefield under your control, create a token that's a copy of that creature. That token gains haste. Exile it at the beginning of the next end step.
mana={2}{R}{R}
type=Enchantment
[/card]
[card]
name=Molten Influence
target=*[-creature;-artifact;-enchantment;-planeswalker]|stack
auto=transforms((,newability[pay[[{L:4}]] name(pay 4 life) donothing?fizzle])) forever
text=Counter target instant or sorcery spell unless its controller has Molten Influence deal 4 damage to him or her.
mana={1}{R}
type=Instant
[/card]
[card]
name=Molten Slagheap
auto={T}:add{C}
auto={1}{T}:counter(0/0,1,Storage)
auto={1}{C(0/0,-1,Storage)}: ability$! _ choice add{B} _ choice add{R} !$ controller
text={T}: Add {C}. -- {1}, {T}: Put a storage counter on Molten Slagheap. -- {1}, Remove X storage counters from Molten Slagheap: Add X mana in any combination of {B} and/or {R}.
type=Land
[/card]
[card]
name=Moment of Craving
target=creature
auto=-2/-2 
auto=life:2 controller
text=Target creature gets -2/-2 until end of turn. You gain 2 life.
mana={1}{B}
type=Instant
[/card]
[card]
name=Moment of Triumph
auto=target(creature) 2/2 ueot
auto=life:2 controller
text=Target creature gets +2/+2 until end of turn. You gain 2 life.
mana={W}
type=Instant
[/card]
[card]
name=Momentum Rumbler
auto=this(counter{0/0.1.FirstStrike}>=1) first strike
auto=@combat(attacking) source(this) restriction{compare(hascntfirststrike)~equalto~0)}:name(Put first strike counter) counter(0/0,1,FirstStrike)
auto=_ATTACKING_this(cantargetcard(*[first strike]|*) transforms((,newability[double strike])) ueot
text=Whenever Momentum Rumbler attacks, if it doesn't have first strike, put a first strike counter on it. -- Whenever Momentum Rumbler attacks, if it has first strike, it gains double strike until end of turn.
mana={3}{R}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Monk Class
auto=counter(0/0,1,Level)
auto=if thisturn(*|mystack)~equalto~1 then counter(0/0,1,MonkEffect)
auto=@movedto(*|mystack):counter(0/0,1,MonkEffect)
auto=this(variable{hascntmonkeffect}=1) lord(*|mycastingzone) altercost(colorless, -1)
auto=@each endofturn restriction{compare(hascntmonkeffect)~morethan~0}:removeallcounters(0/0,1,MonkEffect)
auto=this(variable{hascntlevel}=1) {W}{U}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=@counteradded(0/0.1.Level) restriction{compare(hascntlevel)~equalto~2}:may name(Return non-land permanent) target(*[-land]|battlefield) moveto(ownerhand)
auto=this(variable{hascntlevel}=2) {1}{W}{U}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@each my upkeep restriction{compare(hascntlevel)~morethan~2}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[@movedto(*|mystack):canplayfromexile ueot])) forever )!
text=(Gain the next level as a sorcery to add its ability.) -- The second spell you cast each turn costs {1} less to cast. -- {W}{U}: Level 2 -- When this Class becomes level 2, return up to one target nonland permanent to its owner's hand. -- {1}{W}{U}: Level 3 -- At the beginning of your upkeep, exile the top card of your library. For as long as it remains exiled, it has "You may cast this card from exile as long as you've cast another spell this turn."
mana={W}{U}
type=Enchantment
subtype=Class
[/card]
[card]
name=Monk of the Open Hand
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:name(Flurry of Blows) counter(1/1)
text=Flurry of Blows - Whenever you cast your second spell each turn, put a +1/+1 counter on Monk of the Open Hand.
mana={W}
type=Creature
subtype=Elf Monk
power=1
toughness=1
[/card]
[card]
name=Monologue Tax
auto=@movedto(*|opponentStack) restriction{thisturn(*|opponentStack)~equalto~1}:name(Create Treasure) token(Treasure Sur)
text=Whenever an opponent casts their second spell each turn, you create a Treasure token.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Monomania
target=player
auto=ability$!name(discard cards) target(<type:*:myhandminus1minusend>*|myhand) reject!$ targetedplayer
text=Target player chooses a card in his or her hand and discards the rest.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Monoskelion
auto=counter(1/1)
auto={1}{C(1/1,-1)}:name(Deal 1 damage) damage:1 target(player,creature,planeswalker)
text=Monoskelion enters the battlefield with a +1/+1 counter on it. -- {1}, Remove a +1/+1 counter from Monoskelion: It deals 1 damage to any target.
mana={2}
type=Artifact Creature
subtype=Construct
power=1
toughness=1
[/card]
[card]
name=Monstrous Onslaught
auto=if compare(power:highest:*:mybattlefield)~equalto~1 then ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~2 then thisforeach(variable{2}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~3 then thisforeach(variable{3}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~4 then thisforeach(variable{4}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~5 then thisforeach(variable{5}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~6 then thisforeach(variable{6}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~7 then thisforeach(variable{7}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~8 then thisforeach(variable{8}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~9 then thisforeach(variable{9}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~10 then thisforeach(variable{10}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~11 then thisforeach(variable{11}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~12 then thisforeach(variable{12}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~13 then thisforeach(variable{13}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~14 then thisforeach(variable{14}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~15 then thisforeach(variable{15}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~16 then thisforeach(variable{16}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~17 then thisforeach(variable{17}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~18 then thisforeach(variable{18}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~equalto~19 then thisforeach(variable{19}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
auto=if compare(power:highest:*:mybattlefield)~morethan~19 then thisforeach(variable{20}) ability$!name(Choose a creature) damage:1 target(creature)!$ controller
text=Monstrous Onslaught deals X damage divided as you choose among any number of target creatures, where X is the greatest power among creatures you control as you cast Monstrous Onslaught.
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Monstrous Step
target=creature
auto=7/7 ueot
auto=target(creature) mustblock ueot
text=Target creature gets +7/+7 until end of turn. Up to one other target creature blocks it this turn if able. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Moodmark Painter
auto=target(creature) transforms((,newability[menace],newability[type:creature:mygraveyard/0])) ueot
text=Undergrowth - When Moodmark Painter enters the battlefield, target creature gains menace and gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. (It can't be blocked except by two or more creatures.)
mana={2}{B}{B}
type=Creature
subtype=Human Shaman
power=2
toughness=3
[/card]
[card]
name=Moon-Blessed Cleric
auto=may name(Search enchantment) target(enchantment|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
text=Divine Intervention - When Moon-Blessed Cleric enters the battlefield, you may search your library for an enchantment card, reveal it, then shuffle and put that card on top.
mana={2}{W}
type=Creature
subtype=Human Elf Cleric
power=3
toughness=2
[/card]
[card]
name=Moon-Eating Dog
auto=aslongas(planeswalker[Yanling]|mybattlefield) flying
text=As long as you control a Yanling planeswalker, Moon-Eating Dog has flying. (It can't be blocked except by creatures with flying or reach.)
mana={3}{U}
type=Creature
subtype=Dog
power=3
toughness=3
[/card]
[card]
name=Moonblade Shinobi
autohand={2}{U}{N}:ninjutsu
auto=@combatdamaged(player) from(this):create(Illusion:Creature Illusion:1/1:blue;flying)
text=Ninjutsu {2}{U} ({2}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever Moonblade Shinobi deals combat damage to a player, create a 1/1 blue Illusion creature token with flying.
mana={3}{U}
type=Creature
subtype=Human Ninja
power=3
toughness=2
[/card]
[card]
name=Moonlit Scavengers
auto=restriction type(*[artifact,enchantment]|mybattlefield)~morethan~0 moveto(ownerhand) target(creature)
text=When Moonlit Scavengers enters the battlefield, if you control an artifact or enchantment, return target creature an opponent controls to its owner's hand.
mana={5}{U}
type=Creature
subtype=Merfolk Rogue
power=4
toughness=5
[/card]
[card]
name=Moonmist
auto=all(human[hasbackside;-daybound;-nightbound]|battlefield) transforms((,newability[flip(backside)])) forever
auto=preventAllCombatDamage from(creature[-wolf;-werewolf]|battlefield) ueot
text=Transform all Humans. Prevent all combat damage that would be dealt this turn by creatures other than Werewolves and Wolves. (Only double-faced cards can be transformed.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Moonrage Brute
abilities=first strike,nightbound
backside=Brutal Cathar
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=name(Exile a creature) target(creature|opponentbattlefield) (blink)forsrc
auto=@targeted(this|myBattlefield) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 3 life more) name(This spell costs 3 life more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{L:3}]] name(pay 3 life) donothing?fizzle])) oneshot
text=First strike -- Ward-Pay 3 life. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn) // Brutal Cathar
type=Creature
subtype=Werewolf
color=red
power=3
toughness=3
[/card]
[card]
name=Moonrager's Slash
target=player,creature,planeswalker
other={R}
otherrestriction=type(Night|battlefield)~morethan~0
restriction=type(Night|battlefield)~equalto~0
auto=damage:3
text=This spell costs {2} less to cast if it's night. -- Moonrager's Slash deals 3 damage to any target.
mana={2}{R}
type=Instant
[/card]
[card]
name=Moonsilver Key
auto={1}{T}{S}:name(Search land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )!
auto={1}{T}{S}:name(Search artifact) target(artifact|mylibrary) moveto(myhand) and!( shuffle )!
text={1}, {T}, Sacrifice Moonsilver Key: Search your library for an artifact card with a mana ability or a basic land card, reveal it, put it into your hand, then shuffle.
type=Artifact
mana={2}
[/card]
[card]
name=Moonveil Regent
abilities=flying
auto=@movedto(*[colorless]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject])) oneshot
auto=@movedto(*[-multicolor;-colorless]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:1 controller])) oneshot
auto=@movedto(*[red&blue;-green;-black;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[red&green;-blue;-black;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[red&black;-blue;-green;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[red&white;-blue;-green;-black]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[white&blue;-green;-black;-red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[white&green;-blue;-black;-red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[white&black;-blue;-green;-red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[black&blue;-green;-black;-red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[black&green;-blue;-black;-red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[green&blue;-red;-black;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:2 controller])) oneshot
auto=@movedto(*[green&blue&red;-black;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:3 controller])) oneshot
auto=@movedto(*[green&blue&black;-red;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:3 controller])) oneshot
auto=@movedto(*[green&blue&white;-red;-black]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:3 controller])) oneshot
auto=@movedto(*[red&blue&black;-green;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:3 controller])) oneshot
auto=@movedto(*[red&blue&white;-green;-black]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:3 controller])) oneshot
auto=@movedto(*[black&blue&white;-green;-red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:3 controller])) oneshot
auto=@movedto(*[black&blue&white&green;-red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:4 controller])) oneshot
auto=@movedto(*[black&blue&white&red;-green]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:4 controller])) oneshot
auto=@movedto(*[black&blue&red&green;-white]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:4 controller])) oneshot
auto=@movedto(*[black&red&white&green;-blue]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:4 controller])) oneshot
auto=@movedto(*[blue&red&white&green;-black]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:4 controller])) oneshot
auto=@movedto(*[black&blue&white&green&red]|mystack):may name(Discard your hand) transforms((,newability[all(*|myhand) reject],newability[draw:5 controller])) oneshot
auto=_DIES_name(Deal damage) damage:totalcololorsinplay target(player,creature,planeswalker)
text=Flying -- Whenever you cast a spell, you may discard your hand. If you do, draw a card for each of that spell's colors. -- When Moonveil Regent dies, it deals X damage to any target, where X is the number of colors among permanents you control.
mana={3}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Moorland Rescuer
auto=_DIES_name(Exile and return creatures) all(trigger[to]) name(Exile and return creatures) transforms((,newability[moveto(exile)],newability[name(Return creatures) target(<anyamount>creature[power<=p]|mygraveyard) moveto(mybattlefield)])) oneshot
text=When Moorland Rescuer dies, return any number of other creature cards with total power X or less from your graveyard to the battlefield, where X is Moorland Rescuer's power. Exile Moorland Rescuer.
mana={5}{W}
type=Creature
subtype=Human Knight
power=4
toughness=4
[/card]
[card]
name=Moraug, Fury of Akoum
auto=@combat(attacking) source(creature|myBattlefield):all(trigger[to]) 1/0 ueot
auto=_LANDFALL_if compare(currentphase)~equalto~4 then nextphasealter(add,combatphases,controller,after<this>) else if compare(currentphase)~equalto~10 then nextphasealter(add,combatphases,controller,after<this>) else 
auto=_LANDFALL_if compare(currentphase)~equalto~4 then all(creature|mybattlefield) transforms((,newability[phaseaction[combatbegins next once sourceinplay] untap])) ueot else if compare(currentphase)~equalto~10 then all(creature|mybattlefield) transforms((,newability[phaseaction[combatbegins once sourceinplay] untap])) ueot
text=Each creature you control gets +1/+0 for each time it has attacked this turn. -- Landfall - Whenever a land enters the battlefield under your control, if it's your main phase, there's an additional combat phase after this phase. At the beginning of that combat, untap all creatures you control.
mana={4}{R}{R}
type=Legendary Creature
subtype=Minotaur Warrior
power=6
toughness=6
[/card]
[card]
name=Morbid Opportunist
auto=@movedto(creature|graveyard) from(battlefield) turnlimited:name(Draw a card) draw:1 controller
text=Whenever one or more other creatures die, draw a card. This ability triggers only once each turn.
mana={2}{B}
type=Creature
subtype=Human Rogue
power=1
toughness=3
[/card]
[card]
name=Mordenkainen's Polymorph
target=creature
auto=transforms((removecreaturesubtypes,newability[becomes(Dragon^4/4^flying)])) ueot
text=Until end of turn, target creature becomes a Dragon with base power and toughness 4/4 and gains flying. (It loses all other creature types.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Moritte of the Frost
abilities=changeling
auto=if type(creature|mybattlefield)~morethan~0 then choice name(Becomes a copy of creature) name(Becomes a copy of creature) target(creature|mybattlefield) copy and!( transforms((Legendary Snow,newability[counter(1/1.2)],newability[changeling])) forever )!
auto=if type(*[-creature]|mybattlefield)~morethan~0 then choice name(Becomes a copy of non-creature) name(Becomes a copy of non-creature) target(*[-creature]|mybattlefield) copy and!( transforms((Legendary Snow,newability[-changeling])) forever )!
auto=choice name(Does not become a copy) donothing
text=Changeling (This card is every creature type.) -- You may have Moritte of the Frost enter the battlefield as a copy of a permanent you control, except it's legendary and snow in addition to its other types and, if it's a creature, it enters with two additional +1/+1 counters on it and has changeling.
mana={2}{G}{U}{U}
type=Legendary Snow Creature
subtype=Shapeshifter
power=0
toughness=0
[/card]
[card]
name=Morkrut Behemoth
abilities=menace
other={5}{B}{B} name(Pay 1B more)
text=As an additional cost to cast this spell, sacrifice a creature or pay {1}{B}. -- Menace (This creature can't be blocked except by two or more creatures.)
mana={4}{B}{S(creature|mybattlefield)}
type=Creature
subtype=Zombie Giant
power=7
toughness=6
[/card]
[card]
name=Morning Apparition
backside=Mourning Patrol
abilities=flying,vigilance,exiledeath
text=Flying, vigilance -- If Morning Apparition would be put into a graveyard from anywhere, exile it instead. // Mourning Patrol
type=Creature
subtype=Spirit Soldier
color=white
power=2
toughness=1
[/card]
[card]
name=Morophon, the Boundless
abilities=changeling
auto=chooseatype transforms((,newability[lord(other creature[chosentype]|mybattlefield) 1/1],newability[lord(*[chosentype]|mycastingzone) changecost(white:-1)],newability[lord(*[chosentype]|mycastingzone) changecost(green:-1)],newability[lord(*[chosentype]|mycastingzone) changecost(red:-1)],newability[lord(*[chosentype]|mycastingzone) changecost(blue:-1)],newability[lord(*[chosentype]|mycastingzone) changecost(black:-1)])) forever chooseend
text=Changeling (This card is every creature type.) -- As Morophon, the Boundless enters the battlefield, choose a creature type. -- Spells of the chosen type you cast cost {W}{U}{B}{R}{G} less to cast. This effect reduces only the amount of colored mana you pay. -- Other creatures you control of the chosen type get +1/+1.
mana={7}
type=Legendary Creature
subtype=Shapeshifter
power=6
toughness=6
[/card]
[card]
name=Morphic Pool
auto=tap(noevent)
auto={T}:Add{U}
auto={T}:Add{B}
text=Morphic Pool enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {U} or {B}.
type=Land
[/card]
[card]
name=Mortality Spear
target=*[-land]|battlefield
other={B}{G} name(Life gained)
otherrestriction=compare(lifegain)~morethan~0
restriction=compare(lifegain)~equalto~0
auto=destroy
text=This spell costs {2} less to cast if you gained life this turn. -- Destroy target nonland permanent.
mana={2}{B}{G}
type=Instant
[/card]
[card]
name=Moss Viper
abilities=deathtouch
text=Deathtouch
mana={G}
type=Creature
subtype=Snake
power=1
toughness=1
[/card]
[card]
name=Moss-Pit Skeleton
kicker={3}
auto=if paid(kicker) then counter(1/1,3)
autograveyard=@counteradded(1/1) source(creature|myBattlefield):may moveTo(myLibrary)
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- If Moss-Pit Skeleton was kicked, it enters the battlfield with three +1/+1 counters on it. -- Whenever one or more +1/+1 counters are put on a creature you control, if Moss-Pit Skeleton is in your graveyard, you may put Moss-Pit Skeleton on top of your library.
mana={B}{G}
type=Creature
subtype=Plant Skeleton
power=2
toughness=2
[/card]
[card]
name=Mosscoat Goriak
abilities=vigilance
text=Vigilance
mana={2}{G}
type=Creature
subtype=Beast
power=2
toughness=4
[/card]
[card]
name=Mosswort Bridge
auto=tap(noevent)
aicode=activate target(*[zpos<=4]|mylibrary) imprint and!( all(*[zpos<=4]|opponentlibrary) moveto(myreveal) and!( bottomoflibrary )! )!
auto=name(look) reveal:4 optionone name(Exile a card) target(*|reveal) imprint optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={T}:add{G}
auto=this(variable{hasevict}>0) {G}{T} restriction{compare(powertotalinplay)~morethan~9}:name(Cast exiled card) name(Cast exiled card) transforms((,newability[may name(Cast exiled card) target(*[evictname]|myexile) activate castcard(normal)])) forever
text=Hideaway (This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library.) -- {T}: Add {G}. -- {G}, {T}: You may play the exiled card without paying its mana cost if creatures you control have total power 10 or greater.
type=Land
[/card]
[card]
name=Mother Bear
auto={3}{G}{E(this|mygraveyard)}:create(Bear:creature Bear:2/2:green)*2 asSorcery
text={3}{G}{G}, Exile Mother Bear from your graveyard: Create two 2/2 green Bear creature tokens. Activate this ability only any time you could cast a sorcery.
mana={1}{G}
type=Creature
subtype=Bear
power=2
toughness=2
[/card]
[card]
name=Mother Kangaroo
auto=all(this) rolld6 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rolld6end
text=When this creature enters the battlefield, roll a six-sided die. Put a number of +1/+1 counters on this creature equal to the result.
mana={4}{G}
type=Host Creature
subtype=Kangaroo
power=1
toughness=1
[/card]
[card]
name=Mount Velus Manticore
auto=@each my combatbegins restriction{type(*|myhand)~morethan~0}:may name(Discard a card) target(*|myhand) reject and!( transforms((,newability[name(Deals damage) damage:numoftypes target(player^creature^planeswalker)])) oneshot )!
text=At the beginning of combat on your turn, you may discard a card. When you do, Mount Velus Manticore deals X damage to any target, where X is the number of card types the discarded card has.
mana={2}{R}{R}
type=Enchantment Creature
subtype=Manticore
power=3
toughness=4
[/card]
[card]
name=Mounted Archers
abilities=reach
text=Reach (This creature can block creatures with flying.) -- {W}: Mounted Archers can block an additional creature this turn.
mana={3}{W}
type=Creature
subtype=Human Soldier Archer
power=2
toughness=3
[/card]
[card]
name=Mounted Dreadknight
abilities=trample
auto=if compare(oplifelost)~morethan~0 then counter(1/1)
text=Trample -- Mounted Dreadknight enters the battlefield with a +1/+1 counter on it if an opponent lost life this turn.
type=Creature
subtype=Vampire Knight
mana={4}{R}
power=5
toughness=4
[/card]
[card]
name=Mourning Patrol
backside=Morning Apparition
abilities=vigilance,hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={3}{W} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
text=Vigilance -- Disturb {3}{W} (You may cast this card from your graveyard transformed for its disturb cost.) // Morning Apparition
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Mouth // Feed
auto=token(Hippo,creature Hippo,3/3,green)
autograveyard={3}{G}{E}:foreach(creature[power>=3]|mybattlefield) draw:1 controller asSorcery
text=Create a 3/3 green Hippo creature token. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Draw a card for each creature you control with power 3 or greater.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Mowu, Loyal Companion
abilities=vigilance,trample
auto=@counteradded(1/1) from(this) except(Mowu, Loyal Companion):may counter(1/1)
text=Trample, vigilance -- If one or more +1/+1 counters would be put on Mowu, Loyal Companion, that many plus one +1/+1 counters are put on it instead.
mana={3}{G}
type=Legendary Creature
subtype=Dog
power=3
toughness=3
[/card]
[card]
name=Mox Amber
auto=aslongas(creature[-planeswalker;white;legendary]|myBattlefield) {T}:Add{W}
auto=aslongas(planeswalker[white]|myBattlefield) {T}:Add{W}
auto=aslongas(creature[-planeswalker;blue;legendary]|myBattlefield) {T}:Add{U}
auto=aslongas(planeswalker[blue]|myBattlefield) {T}:Add{U}
auto=aslongas(creature[-planeswalker;black;legendary]|myBattlefield) {T}:Add{B}
auto=aslongas(planeswalker[black]|myBattlefield) {T}:Add{B}
auto=aslongas(creature[-planeswalker;red;legendary]|myBattlefield) {T}:Add{R}
auto=aslongas(planeswalker[red]|myBattlefield) {T}:Add{R}
auto=aslongas(creature[-planeswalker;green;legendary]|myBattlefield) {T}:Add{G}
auto=aslongas(planeswalker[green]|myBattlefield) {T}:Add{G}
text={T}: Add one mana of any color among legendary creatures and planeswalkers you control.
mana={0}
type=Legendary Artifact
[/card]
[card]
name=Mox Lotus
auto={T}:add{1000000000000000}
auto={100}:add{G}
auto={100}:add{B}
auto={100}:add{R}
auto={100}:add{W}
auto={100}:add{U}
text={T}: Add {+oo} to your mana pool. -- {100}: Add one mana of any color to your mana pool. -- You don't lose life due to mana burn.
mana={15}
type=Artifact
[/card]
[card]
name=Mox Tantalite
suspend(3)={0}
restriction=never
mana={0}
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=Suspend 3-{0} (Rather than cast this card from your hand, pay 0 and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- {T}: Add one mana of any color.
type=Artifact
[/card]
[card]
name=Muldrotha, the Gravetide
auto=@each my firstmain restriction{type(land|myGraveyard)~morethan~0}:may name(Play land from graveyard) ability$!name(Play land from graveyard) name(Play land from graveyard) target(land|myGraveyard) activate castcard(normal)!$ controller
auto=@each my firstmain restriction{type(creature|myGraveyard)~morethan~0}:may name(Cast creature from graveyard) ability$!name(Cast creature from graveyard) name(Cast creature from graveyard) target(creature|myGraveyard) activate castcard(normal)!$ controller
auto=@each my firstmain restriction{type(planeswalker|myGraveyard)~morethan~0}:may name(Cast planeswalker from graveyard) ability$!name(Cast planeswalker from graveyard) name(Cast planeswalker from graveyard) target(planeswalker|myGraveyard) activate castcard(normal)!$ controller
auto=@each my firstmain restriction{type(enchantment|myGraveyard)~morethan~0}:may name(Cast enchantment from graveyard) ability$!name(Cast enchantment from graveyard) name(Cast enchantment from graveyard) target(enchantment|myGraveyard) activate castcard(normal)!$ controller
auto=@each my firstmain restriction{type(artifact|myGraveyard)~morethan~0}:may name(Cast artifact from graveyard) ability$!name(Cast artifact from graveyard) name(Cast artifact from graveyard) target(artifact|myGraveyard) activate castcard(normal)!$ controller
text=During each of your turns, you may play a land and cast a permanent spell of each permanent type from your graveyard. (If a card has multiple permanent types, choose one as you play it.)
mana={3}{B}{G}{U}
type=Legendary Creature
subtype=Elemental Avatar
power=6
toughness=6
[/card]
[card]
name=Multani, Yavimaya's Avatar
abilities=reach, trample
auto=foreach(land|myBattlefield) 1/1
auto=foreach(land|myGraveyard) 1/1
autograveyard={1}{G}{H(land|mybattlefield)}{H(land|mybattlefield)}:moveto(ownerhand)
text=Reach, trample -- Multani, Yavimaya's Avatar gets +1/+1 for each land you control and each land card in your graveyard. -- {1}{G}, Return two lands you control to their owner's hand: Return Multani from your graveyard to your hand.
mana={4}{G}{G}
type=Legendary Creature
subtype=Elemental Avatar
power=0
toughness=0
[/card]
[card]
name=Multiple Choice
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=this(X=1) name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=this(X=2) target(player) ability$!name(Return creature to hand) name(Return creature to hand) target(creature|mybattlefield) moveto(ownerhand)!$ targetedplayer
auto=this(X=3) token(Elemental,Creature Elemental,4/4,blue,red)
auto=this(X>=4) name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=this(X>=4) target(player) ability$!name(Return creature to hand) name(Return creature to hand) target(creature|mybattlefield) moveto(ownerhand)!$ targetedplayer
auto=this(X>=4) token(Elemental,Creature Elemental,4/4,blue,red)
text=If X is 1, scry 1, then draw a card. -- If X is 2, you may choose a player. They return a creature they control to its owner's hand. -- If X is 3, create a 4/4 blue and red Elemental creature token. -- If X is 4 or more, do all of the above.
mana={X}{U}
type=Sorcery
[/card]
[card]
name=Mummy Paramount
auto=@movedto(other Zombie|battlefield):1/1
text=Whenever another Zombie enters the battlefield under your control, Mummy Paramount gets +1/+1 until end of turn.
mana={1}{W}
type=Creature
subtype=Zombie
power=2
toughness=2
[/card]
[card]
name=Munitions Expert
abilities=flash
auto=may damage:type:creature[goblin]:mybattlefield target(creature,planeswalker)
text=Flash -- When Munitions Expert enters the battlefield, you may have it deal damage to target creature or planeswalker equal to the number of Goblins you control.
mana={B}{R}
type=Creature
subtype=Goblin
power=1
toughness=1
[/card]
[card]
name=Murasa Behemoth
abilities=trample
auto=if type(land|mygraveyard)~morethan~0 then 3/3
text=Trample -- Murasa Behemoth gets +3/+3 as long as there is a land card in your graveyard.
mana={4}{G}{G}
type=Creature
subtype=Beast
power=5
toughness=5
[/card]
[card]
name=Murasa Brute
mana={2}{G}
type=Creature
subtype=Troll Warrior
power=3
toughness=3
[/card]
[card]
name=Murasa Rootgrazer
abilities=vigilance
auto={T}:name(Put a basic land card) moveTo(myBattlefield) target(land[basic]|myHand)
auto={T}:name(Return a basic land card) moveTo(ownerHand) target(land[basic]|myBattlefield)
text=Vigilance -- {T}: You may put a basic land card from your hand onto the battlefield. -- {T}: Return target basic land you control to its owner's hand.
mana={G}{W}
type=Creature
subtype=Beast
power=2
toughness=3
[/card]
[card]
name=Murasa Sproutling
kicker={1}{G}
auto=if paid(kicker) then moveTo(myHand) target(*[haskicker]|myGraveyard)
text=Kicker {1}{G} -- When Murasa Sproutling enters the battlefield, if it was kicked, return target card with a kicker ability from your graveyard to your hand.
mana={2}{G}
type=Creature
subtype=Plant Elemental
power=3
toughness=3
[/card]
[card]
name=Murderous Betrayal
auto={B}{B}:life:-halfdownlifetotal controller && bury target(creature[-black])
text={B}{B}, Pay half your life, rounded up: Destroy target nonblack creature. It can't be regenerated.
mana={B}{B}{B}
type=Enchantment
[/card]
[card]
name=Murderous Rider // Swift End
abilities=lifelink,adventure,asflash
restriction=can play creature
other={1}{B}{B} name(Adventure)
auto=if paid(alternative) then name(Destroy creature or planeswalker) name(Destroy creature or planeswalker) target(creature,planeswalker) destroy
auto=if paid(alternative) then name(You loose 2 life) name(You loose 2 life) life:-2 controller
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=_DIES_name(Put on the bottom of library) all(trigger[to]) bottomoflibrary
text=Lifelink -- When Murderous Rider dies, put it on the bottom of its owner's library. // Destroy target creature or planeswalker. You lose 2 life. (Then exile this card. You may cast the creature later from exile.)
mana={1}{B}{B}
type=Creature
subtype=Zombie Knight
power=2
toughness=3
[/card]
[card]
name=Murktide Regent
abilities=flying
other={delve} name(Delve)
auto=foreach(instant[fresh]|myexile) counter(1/1)
auto=foreach(sorcery[fresh]|myexile) counter(1/1)
auto=@movedto(*[instant;sorcery]|mystack,myhand,mylibrary,mysideboard,myexile) from(mygraveyard):counter(1/1)
text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Flying -- Murktide Regent enters the battlefield with a +1/+1 counter on it for each instant and sorcery card exiled with it. -- Whenever an instant or sorcery card leaves your graveyard, put a +1/+1 counter on Murktide Regent.
mana={5}{U}{U}
type=Creature
subtype=Dragon
power=3
toughness=3
[/card]
[card]
name=Murkwater Pathway
auto={T}:add{B}
text={T}: Add {B}. // Clearwater Pathway
type=Land
[/card]
[card]
name=Murmuring Mystic
auto=@movedTo(instant,sorcery|mystack):create(bird illusion:creature bird illusion:1/1:blue:flying)
text=Whenever you cast an instant or sorcery spell, create a 1/1 blue Bird Illusion creature token with flying.
mana={3}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=5
[/card]
[card]
name=Muse Drake
abilities=flying
auto=draw:1
text=Flying -- When Muse Drake enters the battlefield, draw a card.
mana={3}{U}
type=Creature
subtype=Drake
power=1
toughness=3
[/card]
[card]
name=Muse Vortex
aicode=activate transforms((,newability[target(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary) moveto(exile) and!( transforms((,newability[zerocast],newability[canplayfromexile],newability[phaseaction[endofturn once checkex] moveto(myhand)],newability[all(*[zpos<=fullpaid]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) )!])) oneshot
auto=if type(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary)~morethan~0 then name(Reveal cards) name(Reveal cards) reveal:x revealzone(mylibrary) optionone name(Choose instant or sorcery) target(*[instant;sorcery;manacost<=fullpaid]|reveal) moveto(myexile) and!( transforms((,newability[phaseaction[endofturn once checkex] moveto(myhand)],newability[canplayfromexile],newability[zerocast])) ueot )! optiononeend optiontwo name(Put back) target(*|reveal) bottomoflibrary and!(all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=if type(*[instant;sorcery;zpos<=fullpaid;manacost<=fullpaid]|mylibrary)~equalto~0 then name(Reveal cards) name(Reveal cards) all(*[zpos<=fullpaid]|mylibrary) bottomoflibrary
text=Exile the top X cards of your library. You may cast an instant or sorcery spell with mana value X or less from among them without paying its mana cost. Then put the exiled instant and sorcery cards that weren't cast this way into your hand and the rest on the bottom of your library in a random order.
mana={X}{U}{U}
type=Sorcery
[/card]
[card]
name=Mutiny
target=creature|opponentbattlefield
auto=transforms((,newability[dynamicability<!powerstrike!> target(other creature|myBattlefield)])) ueot
text=Target creature an opponent controls deals damage equal to its power to another target creature that player controls.
mana={R}
type=Sorcery
[/card]
[card]
name=Mutual Destruction
abilities=flash
target=creature
other={B}{S(creature|myBattlefield)} name(Play as Instant)
auto=ifnot paid(alternative) then destroy myturnonly
auto=if paid(alternative) then destroy
otherrestriction=type(*[flash]|mybattlefield)~morethan~0
text=This spell has flash as long as you control a permanent with flash. -- As an additional cost to cast this spell, sacrifice a creature. -- Destroy target creature.
mana={B}{S(creature|myBattlefield)}
type=Sorcery
[/card]
[card]
name=Muxus, Goblin Grandee
aicode=activate all(creature[goblin;manacost<=5;zpos<=6]|mylibrary) moveto(mybattlefield) and!( all(*[zpos<=6]|mylibrary) bottomoflibrary )!
auto=name(Look top 6) reveal:6 optionone name(Get goblins) target(<6>creature[goblin;manacost<=5]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(ownerbattlefield))! afterrevealedend revealend
text=When Muxus, Goblin Grandee enters the battlefield, reveal the top six cards of your library. Put all Goblin creature cards with converted mana cost 5 or less from among them onto the battlefield and the rest on the bottom of your library in a random order. -- Whenever Muxus attacks, it gets +1/+1 until end of turn for each other Goblin you control.
auto=_ATTACKING_name(Get 1/1 for each other goblin) type:goblin:mybattlefieldminus1minusend/type:goblin:mybattlefieldminus1minusend ueot
mana={4}{R}{R}
type=Legendary Creature
subtype=Goblin Noble
power=4
toughness=4
[/card]
[card]
name=Muzzio's Preparations
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@movedto(creature[chosenname]|mybattlefield):name(Put 1/1 counter) all(trigger[to]) name(Put 1/1 counter) counter(1/1)])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Each creature you control with the chosen name enters the battlefield with an additional +1/+1 counter on it.
type=Conspiracy
[/card]
[card]
name=Mycosynth Lattice
auto=lord(*|battlefield) transforms((artifact))
auto=lord(*|battlefield) devoid
auto=lord(*|stack) devoid
auto=lord(*|hand) devoid
auto=lord(*|library) devoid
auto=lord(*|graveyard) devoid
auto=lord(*|exile) devoid
auto=lord(*|sideboard) devoid
auto=lord(*|mycastingzone) anytypeofmana
auto=lord(*|opponentcastingzone) anytypeofmana
auto=lord(*|myzones) anytypeofmanaability
auto=lord(*|opponentzones) anytypeofmanaability
text=All permanents are artifacts in addition to their other types. -- All cards that aren't on the battlefield, spells, and permanents are colorless. -- Players may spend mana as though it were mana of any color.
mana={6}
type=Artifact
[/card]
[card]
name=Myntasha, Honored One
##first conditional to cast can't be coded yet##
auto=@movedto(*|mystack):name(Spell gains cascade) target(*|mystack) transforms((,newability[cascade:plibrarycount])) forever
text=As an additional cost to cast this spell, you may open a sealed Magic booster pack and put the cards on the bottom of your booster pile in a random order. -- Spells you cast have booster cascade. (it's like cascade but you use your booster pile rather than your library.)
mana={2}{G}{G}
type=Legendary Snow Creature
subtype=Elk
power=3
toughness=3
[/card]
[card]
name=Myr Reservoir
auto=this(variable{type:myr:myrestrictedcastingzone}>0) {T}:add{C}{C}
auto=this(variable{type:myr:mybattlefield}>0) {T}:add{C}{C}
auto={3}{T}:moveto(myhand) target(Myr|mygraveyard)
text={T}: Add {2} to your mana pool. Spend this mana only to cast Myr spells or activate abilities of Myr. -- {3}, {T}: Return target Myr card from your graveyard to your hand.
mana={3}
type=Artifact
[/card]
[card]
name=Myr Scrapling
auto={S}:name(Put 1/1 counter) counter(1/1) target(creature)
text=Sacrifice Myr Scrapling: Put a +1/+1 counter on target creature.
mana={1}
type=Artifact Creature
subtype=Myr
power=1
toughness=1
[/card]
[card]
name=Myriad Construct
kicker={3}
auto=if paid(kicker) then foreach(land[-basic]|opponentBattlefield) counter(1/1,1)
auto=@targeted(this):sacrifice all(this) && thisforeach(power>=1) token(Construct,Artifact Creature Construct,1/1)
text=Kicker {3} -- If Myriad Construct was kicked, it enters the battlefield with a +1/1 counter on it for each nonbasic land your opponents control. -- When Myriad Construct becomes the target of a spell, sacrifice it and create a number of 1/1 colorless Construct artifact creature tokens equal to its power.
mana={4}
type=Artifact Creature
subtype=Construct
power=4
toughness=4
[/card]
[card]
name=Mysterious Egg
auto=@mutated(this):counter(1/1)
text=Whenever this creature mutates, put a +1/+1 counter on it.
mana={1}
type=Creature
subtype=Egg
power=0
toughness=2
[/card]
[card]
name=Mysterious Pathlighter
abilities=flying
auto=@movedto(creature[adventure]|myBattlefield):name(Put 1/1 counter) all(trigger[to]) counter(1/1)
text=Flying -- Each creature you control that has an Adventure enters the battlefield with an additional +1/+1 counter on it. (It doesn't need to have gone on the adventure first.)
mana={2}{W}
type=Creature
subtype=Faerie
power=2
toughness=2
[/card]
[card]
name=Mysterious Tome
backside=Chilling Chronicle
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto={2}{T}:name(Draw a card and transform) draw:1 controller && flip(backside) // Chilling Chronicle
text={2}, {T}: Draw a card. Transform Mysterious Tome.
mana={2}{U}
type=Artifact
[/card]
[card]
name=Mystic Archaeologist
auto={3}{U}{U}:draw:2
text={3}{U}{U}: Draw two cards.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Mystic Confluence
auto=choice name(Choose 1, 2 and 3) target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever && ability$!name(Return creature) name(Return creature) target(creature) moveto(ownerhand)!$ controller && draw:1 controller
auto=choice name(Choose 1, 1 and 2) target(<2>*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever && ability$!name(Return creature) name(Return creature) target(creature) moveto(ownerhand)!$ controller
auto=choice name(Choose 1, 1 and 3) target(<2>*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever && draw:1 controller
auto=choice name(Choose 1, 1 and 1) target(<3>*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=choice name(Choose 1, 2 and 2) target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever && ability$!name(Return 2 creatures) name(Return 2 creatures) target(<2>creature) moveto(ownerhand)!$ controller
auto=choice name(Choose 1, 3 and 3) target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever && draw:2 controller
auto=choice name(Choose 2, 2 and 2) target(<3>creature) moveto(ownerhand)
auto=choice name(Choose 2, 2 and 3) target(<2>creature) moveto(ownerhand) && draw:1 controller
auto=choice name(Choose 2, 3 and 3) target(creature) moveto(ownerhand) && draw:2 controller
auto=choice name(Choose 3, 3 and 3) draw:3 controller
text=Choose three. You may choose the same mode more than once. -- Counter target spell unless its controller pays {3}. -- Return target creature to its owner's hand. -- Draw a card.
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Mystic Forge
abilities=showfromtoplibrary,canplayartifactlibrarytop
auto=this(variable{type:*[-land;-black;-red;-blue;-green;-white;zpos=1]:mylibrary}>0) canplayfromlibrarytop
auto={T}{L:1}:name(Exile top card) moveto(exile) all(*[zpos=1]|mylibrary)
text=You may look at the top card of your library any time. -- You may cast the top card of your library if it's an artifact card or a colorless nonland card. -- {T}, Pay 1 life: Exile the top card of your library.
mana={4}
type=Artifact
[/card]
[card]
name=Mystic Monstrosity
backside=Mystic Skull
auto=lord(land|myBattlefield) {T}:add{G}
auto=lord(land|myBattlefield) {T}:add{R}
auto=lord(land|myBattlefield) {T}:add{U}
auto=lord(land|myBattlefield) {T}:add{B}
auto=lord(land|myBattlefield) {T}:add{W}
text=Lands you control have "{T}: Add one mana of any color." // Mystic Skull
type=Artifact Creature
subtype=Construct
power=5
toughness=6
[/card]
[card]
name=Mystic Redaction
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@discarded(*|myHand):deplete:2 opponent
text=At the beginning of your upkeep, scry 1. -- Whenever you discard a card, each opponent mills two cards. (They put the top two cards of their library into their graveyard.)
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Mystic Reflection
abilities=foretell
target=creature[-legendary]
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={U} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=name(Choose non-legendary creature) transforms((,newability[@each endofturn:this(counter{0/0.1.MysticEffect}>=1) counter(0/0.-1.MysticEffect)],newability[counter(0/0.1.MysticEffect)],newability[@movedto(*[creature;planeswalker]|battlefield):all(trigger[to]) transforms((,newability[name(Copy mystic reflection target) name(Copy mystic reflection target) copy target(creature[counter{0/0.1.MysticEffect}])])) forever])) ueot
text=Choose target nonlegendary creature. The next time one or more creatures or planeswalkers enter the battlefield this turn, they enter as copies of the chosen creature instead. -- Foretell {U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Mystic Repeal
target=Enchantment
auto=bottomoflibrary
text=Put target enchantment on the bottom of its owner's library
mana={G}
type=Instant
[/card]
[card]
name=Mystic Sanctuary
auto=aslongas(other land[island]|myBattlefield) tap(noevent) <3 oneshot
auto=aslongas(other land[island]|myBattlefield) >2 may moveTo(myLibrary) target(instant,sorcery|mygraveyard) once 
text={T}: Add {U}. -- Mystic Sanctuary enters the battlefield tapped unless you control three or more other Islands. -- When Mystic Sanctuary enters the battlefield untapped, you may put target instant or sorcery card from your graveyard on top of your library.
type=Land
subtype=Island
[/card]
[card]
name=Mystic Skull
backside=Mystic Monstrosity
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto={1}{T}:name(Add 1 mana) ability$!name(Choose one) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add black mana) add{B} _ choice name(Add white mana) add{W} _ choice name(Add blue mana) add{U}!$ controller
auto={5}{T}:name(Transform Mystic Skull) flip(backside)
text={1}, {T}: Add one mana of any color. -- {5}, {T}: Transform Mystic Skull. // Mystic Monstrosity
mana={2}
type=Legendary Creature
subtype=Human Werewolf
power=4
toughness=4
[/card]
[card]
name=Mystic Skyfish
auto=_SECOND_DRAW_flying ueot
text=Whenever you draw your second card each turn, Mystic Skyfish gains flying until end of turn.
mana={2}{U}
type=Creature
subtype=Fish
power=3
toughness=1
[/card]
[card]
name=Mystic Subdual
abilities=flash
target=creature
auto=teach(creature) -2/-0
auto=teach(creature) loseabilities
text=Flash -- Enchant creature -- Enchanted creature gets -2/-0 and loses all abilities. (Mutating onto the creature won't give it new abilities. It can gain abilities in other ways.)
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Mystical Dispute
other={U} name(Counter Blue)
auto=if paid(alternative) then name(counter blue spell) target(*[blue]|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=ifnot paid(alternative) then name(counter spell) target(*|stack) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
text=This spell costs {2} less to cast if it targets a blue spell. -- Counter target spell unless its controller pays 3 .
mana={2}{U}
type=Instant
[/card]
[card]
name=Myth Unbound
auto=thisforeach(variable{pnumofcommandcast}) lord(*[iscommander]|mycastingzone) altercost(colorless, -1)
auto=@movedto(*[iscommander]|mycommandzone):draw:1 controller
text=Your commander costs {1} less to cast for each time it's been cast from the command zone this game. -- Whenever your commander is put into the command zone from anywhere, draw a card.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Mythos of Brokkos
auto=if casted(this) then if spent({U}{B}) then name(Search library) target(*|mylibrary) moveto(myGraveyard) and!( transforms((,newability[name(Return to hand) moveTo(myHand) target(<upto:2>*[-instant;-sorcery]|myGraveyard)],newability[shuffle])) oneshot )!
auto=if casted(this) then ifnot spent({U}{B}) then name(Return to hand) moveTo(myHand) target(<upto:2>*[-instant;-sorcery]|myGraveyard)
text=If {U}{B} -- was spent to cast this spell, search your library for a card, put that card into your graveyard, then shuffle your library. -- Return up to two permanent cards from your graveyard to your hand.
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=Mythos of Illuna
target=*[-instant;-sorcery]
auto=if casted(this) then ifnot spent({R}{G}) then clone
auto=if casted(this) then if spent({R}{G}) then clone and!( if cantargetcard(creature|*) then transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) oneshot )!
text=Create a token that's a copy of target permanent. If {R}{G} was spent to cast this spell, instead create a token that's a copy of that permanent, except the token has "When this permanent enters the battlefield, if it's a creature, it fights up to one target creature you don't control."
mana={2}{U}{U}
type=Sorcery
[/card]
[card]
name=Mythos of Nethroi
auto=if casted(this) then if spent({G}{W}) then destroy target(*[-land]|battlefield)
auto=if casted(this) then ifnot spent({G}{W}) then destroy target(creature|battlefield)
text=Destroy target nonland permanent if it's a creature or if {G}{W} was spent to cast this spell.
mana={2}{B}
type=Instant
[/card]
[card]
name=Mythos of Vadrok
auto=if casted(this) then ifnot spent({W}{U}) then thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature,planewsalker) damage:1!$ controller
auto=if casted(this) then if spent({W}{U}) then  thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature,planewsalker) transforms((,newability[damage:1],newability[cantattack],newability[cantpwattack],newability[cantblock],newability[noactivatedability])) uynt!$ controller
text=Mythos of Vadrok deals 5 damage divided as you choose among any number of target creatures and/or planeswalkers. If {W}{U} was spent to cast this spell, until your next turn, those permanents can't attack or block and their activated abilities can't be activated.
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Naban, Dean of Iteration
text=If a Wizard entering the battlefield under your control causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time.
mana={1}{U}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Nadaar, Selfless Paladin
abilities=vigilance
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=@combat(attacking) source(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=this(variable{pdungeoncompleted}>0) lord(creature|myBattlefield) 1/1
text=Vigilance -- Whenever Nadaar, Selfless Paladin enters the battlefield or attacks, venture into the dungeon. (Enter the first room or advance to the next room.) -- Other creatures you control get +1/+1 as long as you've completed a dungeon.
mana={2}{W}
type=Legendary Creature
subtype=Dragon Knight
power=3
toughness=3
[/card]
[card]
name=Nadier's Nightblade
auto=@movedTo(*[token]|nonbattlezone) from(battlefield):life:1 controller && life:-1 opponent
text=Whenever a token you control leaves the battlefield, each opponent loses 1 life and you gain 1 life.
mana={2}{B}
type=Creature
subtype=Elf Warrior
power=1
toughness=3
[/card]
[card]
name=Nadier, Agent of the Duskenel
abilities=partner
auto=@movedTo(*[token]|nonbattlezone) from(mybattlefield):counter(1/1)
auto=@movedTo(this|nonbattlezone) from(mybattlefield):token(Elf Warrior,Creature Elf Warrior,1/1,green)*power controller
text=Whenever a token you control leaves the battlefield, put a +1/+1 counter on Nadier, Agent of the Duskenel. -- When Nadier leaves the battlefield, create a number of 1/1 green Elf Warrior creature tokens equal to its power. -- Partner (You can have two commanders if both have partner.)
mana={5}{B}
type=Legendary Creature
subtype=Elf Warrior
power=3
toughness=3
[/card]
[card]
name=Nadir Kraken
auto=@drawof(player):may pay({1}) counter(1/1,1) all(this) && create(Tentacle:creature Tentacle:1/1:blue)
text=Whenever you draw a card, you may pay {1}. If you do, put a +1/+1 counter on Nadir Kraken and create a 1/1 blue Tentacle creature token.
mana={1}{U}{U}
type=Creature
subtype=Kraken
power=2
toughness=3
[/card]
[card]
name=Naga Eternal
mana={2}{U}
type=Creature
subtype=Zombie Naga
power=3
toughness=2
[/card]
[card]
name=Naga Oracle
auto=deplete:3 controller && transforms((,newability[may moveto(mylibrary) target(<anyamount>*|mygraveyard)])) ueot
text=When Naga Oracle enters the battlefield, look at the top three cards of your library. Put any number of them into your graveyard and the rest back on top of your library in any order.
mana={3}{U}
type=Creature
subtype=Naga Cleric
power=2
toughness=4
[/card]
[card]
name=Naga Vitalist
auto=this(variable{plandg}>0) {t}:out{g}
auto=this(variable{plandu}>0) {t}:out{u}
auto=this(variable{plandr}>0) {t}:out{r}
auto=this(variable{plandb}>0) {t}:out{b}
auto=this(variable{plandw}>0) {t}:out{w}
auto=this(variable{plandc}>0) {t}:out{1}
text={T}: Add to your mana pool one mana of any type that a land you control could produce.
mana={1}{G}
type=Creature
subtype=Naga Druid
power=1
toughness=2
[/card]
[card]
name=Nahiri's Binding
target=creature,planeswalker
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=noactivatedability
text=Enchant creature or planeswalker -- Enchanted permanent can't attack or block, and its activated abilities can't be activated.
mana={1}{W}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Nahiri's Lithoforming
target=<x>land|myBattlefield
auto=transforms((,newability[sacrifice],newability[draw:1])) ueot
auto=maxPlay(land)+1 ueot
auto=emblem transforms((,newability[_LANDFALL_all(trigger[to]) tap(noevent)])) ueot
text=Sacrifice X lands. For each land sacrificed this way, draw a card. You may play X additional lands this turn. Lands you control enter the battlefield tapped this turn.
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Nahiri's Stoneblades
target=<upto:2>creature
auto=2/0 ueot 
text=Up to two target creatures each get +2/+0 until end of turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Naiad of Hidden Coves
auto=aslongas opponentturnonly: (*|mycastingzone) changecost(colorless:-1)
text=As long as it's not your turn, spells you cast cost {1} less to cast.
mana={2}{U}
type=Enchantment Creature
subtype=Nymph
power=2
toughness=3
[/card]
[card]
name=Najeela, the Blade-Blossom
auto=@combat(attacking) source(creature[warrior]):create(warrior:creature warrior:1/1:white:battleready)
auto={W}{U}{B}{R}{G}:untap all attacking creature they) trample, lifelink, && haste ueot after this phase, there is an additional combat phase activate this ability only during combat
text=Whenever a Warrior attacks, you may have its controller create a 1/1 white Warrior creature token that's tapped and attacking. -- {W}{U}{B}{R}{G}: Untap all attacking creatures. They gain trample, lifelink, and haste until end of turn. After this phase, there is an additional combat phase. Activate this ability only during combat.
mana={2}{R}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Nakaya Shade
auto={B}:ability$!name(pay or 1/1) pay[[{2}]] name(pay 2 mana) donothing?1/1 ueot!$ opponent
text={B}: Nakaya Shade gets +1/+1 until end of turn unless any player pays {2}.
mana={1}{B}
type=Creature
subtype=Shade
power=1
toughness=1
[/card]
[card]
name=Narfi, Betrayer King
auto=lord(other creature[zombie;snow]|mybattlefield) 1/1
autograveyard={i}{i}{i}:moveto(mybattlefield) and!( tap(noevent) )!
text=Other snow and Zombie creatures you control get +1/+1. -- {S}i}{S}i}{S}i} : Return Narfi, Betrayer King from your graveyard to the battlefield tapped. ({S}i} can be paid with one mana from a snow source.)
mana={3}{U}{B}
type=Legendary Snow Creature
subtype=Zombie Wizard
power=4
toughness=3
[/card]
[card]
name=Narset's Reversal
target=*[instant;sorcery]|stack
auto=fizzleto(hand)
auto=castcard(copied noevent)
text=Copy target instant or sorcery spell, then return it to its owner's hand. You may choose new targets for the copy.
mana={U}{U}
type=Instant
[/card]
[card]
name=Naru Meha, Master Wizard
abilities=flash
auto=castcard(copied noevent) target(*[instant;sorcery]|stack)
auto=lord(other wizard|myBattlefield) +1/+1
text=Flash -- When Naru Meha, Master Wizard enters the battlefield, copy target instant or sorcery spell you control. You may choose new targets for the copy. -- Other Wizards you control get +1/+1.
mana={2}{U}{U}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Nascent Metamorph
auto=@combat(attacking,blocking) source(this):Reveal:1 revealzone(opponentLibrary) revealuntil(creature|opponentLibrary) optionone donothing optiononeend optiontwo name(Copy) target(creature|reveal) copy and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealedend revealend
text=Whenever Nascent Metamorph attacks or blocks, target opponent reveals cards from the top of their library until they reveal a creature card. Nascent Metamorph becomes a copy of that card until end of turn. Then that player puts all cards revealed this way on the bottom of their library in a random order.
mana={1}{U}
type=Creature
subtype=Shapeshifter
power=1
toughness=1
[/card]
[card]
name=Nassari, Dean of Expression
auto=@each my upkeep:name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( if cantargetcard(*[land]|*) then moveto(ownerexile) else transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)])) ueot )!
auto=@movedto(*|mystack) from(myexile):counter(1/1)
text=At the beginning of your upkeep, exile the top card of each opponent's library. Until end of turn, you may cast spells from among those exiled cards, and you may spend mana as though it were mana of any color to cast those spells. -- Whenever you cast a spell from exile, put a +1/+1 counter on Nassari, Dean of Expression. // {2}{U} Uvilda, Dean of Perfection
mana={3}{R}{R}
type=Legendary Creature
subtype=Efreet Shaman
power=4
toughness=4
[/card]
[card]
name=Natural Reclamation
target=enchantment,artifact
auto=destroy
autostack=if casted(this) then cascade:plibrarycount
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- Destroy target artifact or enchantment.
mana={4}{G}
type=Instant
[/card]
[card]
name=Natural Unity
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[lord(creature[chosenname]|myBattlefield) transforms((,newability[@each my combatbegins:pay({G}) name(Pay and put counter) name(Pay and put counter) counter(1/1)]))])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Creatures you control with the chosen name have "At the beginning of combat on your turn, you may pay {G}. If you do, put a +1/+1 counter on this creature."
type=Conspiracy
[/card]
[card]
name=Nature's Chant
target=artifact,enchantment
auto=destroy
text=Destroy target artifact or enchantment.
mana={1}{GW}
type=Instant
[/card]
[card]
name=Nature's Kiss
target=creature
auto={1}{E(*[zpos=1]|mygraveyard)}:1/1 ueot
text=Enchant creature -- {1}, Exile the top card of your graveyard: Enchanted creature gets +1/+1 until end of turn.
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Nature's Panoply
abilities=hasnokicker,hasstrive
kicker=multi{2}{G} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) counter(1/1)
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) counter(1/1)
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) counter(1/1)
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) counter(1/1)
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) counter(1/1)
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) counter(1/1)
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) counter(1/1)
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) counter(1/1)
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) counter(1/1)
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) counter(1/1)
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) counter(1/1)
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) counter(1/1)
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) counter(1/1)
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) counter(1/1)
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) counter(1/1)
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) counter(1/1)
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) counter(1/1)
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) counter(1/1)
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) counter(1/1)
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) counter(1/1)
text=Strive - Nature's Panoply costs {2}{G} more to cast for each target beyond the first. -- Choose any number of target creatures. Put a +1/+1 counter on each of them.
mana={G}
type=Instant
[/card]
[card]
name=Nature's Way
target=creature
auto=vigilance ueot
auto=trample ueot
auto=transforms((,newability[dynamicability<!powerstrike!> target(creature|opponentBattlefield)])) forever
text=Target creature you control gains vigilance and trample until end of turn. It deals damage equal to its power to target creature you don't control.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Navigator's Compass
auto=life:3 controller
auto={T}:ueot name(land becomes a plains) transforms((plains)) target(land|mybattlefield)
auto={T}:ueot name(land becomes an island) transforms((island)) target(land|mybattlefield)
auto={T}:ueot name(land becomes a swamp) transforms((swamp)) target(land|mybattlefield)
auto={T}:ueot name(land becomes a mountain) transforms((mountain)) target(land|mybattlefield)
auto={T}:ueot name(land becomes a forest) transforms((forest)) target(land|mybattlefield)
text=When Navigator's Compass enters the battlefield, you gain 3 life. -- {T}: Until end of turn, target land you control becomes the basic land type of your choice in addition to its other types.
mana={1}
type=Artifact
[/card]
[card]
name=Navigator's Ruin
auto=@each my endofturn restriction{raid}:deplete:4 opponent
text=Raid - At the beginning of your end step, if you attacked with a creature this turn, target opponent puts the top four cards of his or her library into his or her graveyard.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Nazahn, Revered Bladesmith
auto=choice moveTo(myHand) target(equipment[-Hammer of Nazahn]|myLibrary)
auto=choice moveTo(myBattlefield) target(Hammer of Nazahn|myLibrary)
auto=@combat(attacking) source(creature[geared]|mybattlefield):may tap target(creature|opponentBattlefield)
text=When Nazahn, Revered Bladesmith enters the battlefield, search your library for an Equipment card and reveal it. If you reveal a card named Hammer of Nazahn this way, put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle your library. -- Whenever an equipped creature you control attacks, you may tap target creature defending player controls.
mana={4}{G}{W}
type=Legendary Creature
subtype=Cat Artificer
power=5
toughness=4
[/card]
[card]
name=Nebelgast Intruder
abilities=flash,flying
auto=may name(Creature gets -2/0) target(creature|opponentbattlefield) -2/0 ueot
text=Flash -- Flying -- When Nebelgast Intruder enters the battlefield, up to one target creature an opponent controls gets -2/-0 until end of turn.
mana={2}{U}
type=Creature
subtype=Spirit
power=2
toughness=1
[/card]
[card]
name=Necratog
auto={E(creature|mygraveyard)}:2/2 ueot
text=Exile the top creature card of your graveyard: Necratog gets +2/+2 until end of turn.
mana={1}{B}{B}
type=Creature
subtype=Atog
power=1
toughness=2
[/card]
[card]
name=Necravolver
abilities=hasotherkicker
other={2}{B}{W} name(Kicker White)
kicker={1}{G} name(Kicker Green or both)
auto=if paid(alternative) then transforms((,newability[counter(1/1)],newability[lifelink])) forever
auto=if paid(kicker) then transforms((,newability[counter(1/1.2)],newability[trample])) forever
auto=if paid(kicker) then pay({W}) name(Pay also kicker white) transforms((,newability[counter(1/1)],newability[lifelink])) forever
text=Kicker {1}{G} and/or {W} (You may pay an additional {1}{G} and/or {W} as you cast this spell.) -- If Necravolver was kicked with its {1}{G} kicker, it enters the battlefield with two +1/+1 counters on it and with trample. -- If Necravolver was kicked with its {W} kicker, it enters the battlefield with a +1/+1 counter on it and with "Whenever Necravolver deals damage, you gain that much life."
mana={2}{B}
type=Creature
subtype=Volver
power=2
toughness=2
[/card]
[card]
name=Necroblossom Snarl
auto=if type(*[swamp;forest]|myhand)~equalto~0 then tap(noevent)
auto={T}:add{B}
auto={T}:add{G}
text=As Necroblossom Snarl enters the battlefield, you may reveal a Swamp or Forest card from your hand. If you don't, Necroblossom Snarl enters the battlefield tapped. -- {T}: Add {B} or {G}.
type=Land
[/card]
[card]
name=Necrogoyf
anyzone=type:creature:graveyard/4 cdaactive
abilities=madness
autoexile=restriction{discarded} pay({1}{B}{B}) name(pay 1 B B to cast) activate name(pay 1 B B to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
auto=@each my upkeep:ability$! name(Discard a card) name(Discard a card) target(*|myhand) reject !$ controller
auto=@each opponent upkeep:ability$! name(Discard a card) name(Discard a card) target(*|myhand) reject !$ opponent
text=Necrogoyf's power is equal to the number of creature cards in all graveyards. -- At the beginning of each player's upkeep, that player discards a card. -- Madness {1}{B}{B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={3}{B}{B}
type=Creature
subtype=Lhurgoyf
power=*
toughness=4
[/card]
[card]
name=Necrologia
restriction=myturnonly
auto=if compare(lifetotal)~morethan~0 then choice name(Pay 1 Life) life:-1 controller && draw:1 controller
auto=if compare(lifetotal)~morethan~1 then choice name(Pay 2 Life) life:-2 controller && draw:2 controller
auto=if compare(lifetotal)~morethan~2 then choice name(Pay 3 Life) life:-3 controller && draw:3 controller
auto=if compare(lifetotal)~morethan~3 then choice name(Pay 4 Life) life:-4 controller && draw:4 controller
auto=if compare(lifetotal)~morethan~4 then choice name(Pay 5 Life) life:-5 controller && draw:5 controller
auto=if compare(lifetotal)~morethan~5 then choice name(Pay 6 Life) life:-6 controller && draw:6 controller
auto=if compare(lifetotal)~morethan~6 then choice name(Pay 7 Life) life:-7 controller && draw:7 controller
auto=if compare(lifetotal)~morethan~7 then choice name(Pay 8 Life) life:-8 controller && draw:8 controller
auto=if compare(lifetotal)~morethan~8 then choice name(Pay 9 Life) life:-9 controller && draw:9 controller
auto=if compare(lifetotal)~morethan~9 then choice name(Pay 10 Life) life:-10 controller && draw:10 controller
auto=if compare(lifetotal)~morethan~10 then choice name(Pay 11 Life) life:-11 controller && draw:11 controller
auto=if compare(lifetotal)~morethan~11 then choice name(Pay 12 Life) life:-12 controller && draw:12 controller
auto=if compare(lifetotal)~morethan~12 then choice name(Pay 13 Life) life:-13 controller && draw:13 controller
auto=if compare(lifetotal)~morethan~13 then choice name(Pay 14 Life) life:-14 controller && draw:14 controller
auto=if compare(lifetotal)~morethan~14 then choice name(Pay 15 Life) life:-15 controller && draw:15 controller
auto=if compare(lifetotal)~morethan~15 then choice name(Pay 16 Life) life:-16 controller && draw:16 controller
auto=if compare(lifetotal)~morethan~16 then choice name(Pay 17 Life) life:-17 controller && draw:17 controller
auto=if compare(lifetotal)~morethan~17 then choice name(Pay 18 Life) life:-18 controller && draw:18 controller
auto=if compare(lifetotal)~morethan~18 then choice name(Pay 19 Life) life:-19 controller && draw:19 controller
auto=if compare(lifetotal)~morethan~19 then choice name(Pay 20 Life) life:-20 controller && draw:20 controller
text=Cast Necrologia only during your end step. -- As an additional cost to cast Necrologia, pay X life. -- Draw X cards.
mana={3}{B}{B}
type=Instant
[/card]
[card]
name=Necromancer's Familiar
abilities=flying
auto=aslongas(*|myhand) lifelink <1
auto={B}{D(*|myhand)}:transforms((,newability[indestructible],newability[tap])) ueot
text=Flying -- Hellbent - Necromancer's Familiar has lifelink as long as you have no cards in hand. -- {B}, Discard a card: Necromancer's Familiar gains indestructible until end of turn. Tap it.
mana={3}{B}
type=Creature
subtype=Bird Spirit
power=3
toughness=1
[/card]
[card]
name=Necromantic Selection
auto=moveto(exile) all(this)
auto=destroy all(creature|battlefield)
auto=moveto(mybattlefield) target(creature[fresh]|graveyard) and!(transforms((Zombie,newcolors[black])) forever)!
text=Destroy all creatures, then return a creature card put into a graveyard this way to the battlefield under your control. It's a black Zombie in addition to its other colors and types. Exile Necromantic Selection.
mana={4}{B}{B}{B}
type=Sorcery
[/card]
[card]
name=Necromentia
auto=chooseanameopp name(Search that cards) target(<anyamount>*[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( token(Zombie,Creature Zombie,2/2,black) opponent and!( shuffle opponent )! )! chooseend nonbasicland
text=Choose a card name other than a basic land card name. Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. That player shuffles their library, then creates a 2/2 black Zombie creature token for each card exiled from their hand this way.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Necropanther
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{WB}{WB} name(Mutate)
auto=transforms((,newability[@mutated(this):target(creature[manacost<=3]|mygraveyard) moveTo(myBattlefield)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{WB}{WB} -- (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, return target creature card with converted mana cost 3 or less from your graveyard to the battlefield.
mana={1}{W}{B}
type=Creature
subtype=Cat Nightmare
power=3
toughness=3
[/card]
[card]
name=Necropolis Fiend
abilities=flying
auto={X}{T}{E<X>(*|myGraveyard)}: target(creature) -X/-X ueot
text=Flying -- Delve (You may exile any number of cards from your graveyard as you cast this spell. It costs {1} less to cast for each card exiled this way.)
mana={7}{B}{B}
other={delve} name(Delve)
type=Creature
subtype=Demon
power=4
toughness=5
[/card]
[card]
name=Necrosynthesis
target=creature
aicode=activate target(*[zpos<=power]|mylibrary) moveto(myhand) and!( all(other *[zpos<=power]|mylibrary) moveto(myreveal) and !( bottomoflibrary  )! )!
auto=teach(creature) transforms((,newability[@movedto(other creature|graveyard) from(battlefield):name(put 1/1 counter) counter(1/1)]))
auto=teach(creature) transforms((,newability[@movedto(this|graveyard) from(battlefield):name(Look top cards) reveal:power optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend]))
text=Enchant creature -- Enchanted creature has "Whenever another creature dies, put a +1/+1 counter on this creature." -- When enchanted creature dies, look at the top X cards of your library, where X is its power. Put one of those cards into your hand and the rest on the bottom of your library in a random order.
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Necrotic Fumes
target=creature,planeswalker
auto=moveto(exile)
text=As an additional cost to cast this spell, exile a creature you control. -- Exile target creature or planeswalker.
mana={1}{B}{B}{E(creature|mybattlefield)}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Necrotic Hex
auto=ability$!name(sacrifice six creatures) sacrifice notatarget(<6>creature|mybattlefield)!$ opponent
auto=if type(creature|mybattlefield)~equalto~1 then target(creature|mybattlefield) sacrifice and!( thisforeach(variable{6}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )!
auto=if type(creature|mybattlefield)~equalto~2 then target(<2>creature|mybattlefield) sacrifice and!( thisforeach(variable{3}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )!
auto=if type(creature|mybattlefield)~equalto~3 then target(<3>creature|mybattlefield) sacrifice and!( thisforeach(variable{2}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )!
auto=if type(creature|mybattlefield)~equalto~4 then target(<4>creature|mybattlefield) sacrifice and!( token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )!
auto=if type(creature|mybattlefield)~equalto~4 then thisforeach(variable{2}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=if type(creature|mybattlefield)~equalto~5 then target(<5>creature|mybattlefield) sacrifice and!( token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )!
auto=if type(creature|mybattlefield)~equalto~5 then token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=if type(creature|mybattlefield)~morethan~5 then target(<6>creature|mybattlefield) sacrifice and!( token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )!
auto=if type(creature|mybattlefield)~equalto~0 then ability$!thisforeach(variable{6}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! !$ controller
text=Each player sacrifices six creatures. You create six tapped 2/2 black Zombie creature tokens.
mana={6}{B}
type=Sorcery
[/card]
[card]
name=Necrotic Wound
target=creature
auto=-type:creature:mygraveyard/-type:creature:mygraveyard ueot
auto=exiledeath ueot
text=Undergrowth - Target creature gets -X/-X until end of turn, where X is the number of creature cards in your graveyard. If that creature would die this turn, exile it instead.
mana={B}
type=Instant
[/card]
[card]
name=Needle Drop
auto=draw:1 controller
auto=damage:1 target(creature[damaged],player)
text=Needle Drop deals 1 damage to target creature or player that was dealt damage this turn. -- Draw a card.
mana={R}
type=Instant
[/card]
[card]
name=Needlebite Trap
target=player
other={B} name(Opponent gained life)
otherrestriction=compare(oplifegain)~morethan~0
auto=life:5 controller
auto=life:-5 targetedplayer
text=If an opponent gained life this turn, you may pay {B} rather than pay Needlebite Trap's mana cost. -- Target player loses 5 life and you gain 5 life.
mana={5}{B}{B}
type=Instant
subtype=Trap
[/card]
[card]
name=Needlethorn Drake
abilities=flying,deathtouch
text=Flying, deathtouch
mana={G}{U}
type=Creature
subtype=Drake
power=1
toughness=1
[/card]
[card]
name=Needletooth Raptor
auto=_ENRAGE_damage:5 target(creature|opponentBattlefield)
text=Enrage - Whenever Needletooth Raptor is dealt damage, it deals 5 damage to target creature an opponent controls.
mana={3}{R}
type=Creature
subtype=Dinosaur
power=2
toughness=2
[/card]
[card]
name=Needleverge Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Pillarverge Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Pillarverge Pathway) name(Pillarverge Pathway) flip(Pillarverge Pathway) forcetype(land)
auto={T}:add{R}
text={T}: Add {R}. // Pillarverge Pathway
type=Land
[/card]
[card]
name=Nef-Crop Entangler
abilities=trample
auto=@exerted(this):1/2 ueot
auto=_ATTACKING_may exert
text=Trample -- You may exert Nef-Crop Entangler as it attacks. When you do, it gets +1/+2 until end of turn. (An exerted creature won't untap during your next untap step.)
mana={1}{R}
type=Creature
subtype=Human Warrior
power=2
toughness=1
[/card]
[card]
name=Neheb, Dreadhorde Champion
abilities=trample
auto=@combatdamaged(player,planeswalker) from(this):may target(<anyamount>*|myhand) reject && draw:1 controller && Add{R} doesntempty
text=Trample -- Whenever Neheb, Dreadhorde Champion deals combat damage to a player or planeswalker, you may discard any number of cards. If you do, draw that many cards and add that much {R}. Until end of turn, you don't lose this mana as steps and phases end.
mana={2}{R}{R}
type=Legendary Creature
subtype=Zombie Minotaur Warrior
power=5
toughness=4
[/card]
[card]
name=Neheb, the Eternal
auto=_BLOCKED_life:-3 opponent
auto=@each my secondmain:counter(0/0,oplifelost,redmana) && transforms((,newability[thisforeach(counter{0/0.oplifelost.redmana}) add{R}])) ueot
auto=@each endofturn:removeallcounters(0/0,1,redmana)
text=Afflict 3 (Whenever this creature becomes blocked, defending player loses 3 life.) -- At the beginning of your postcombat main phase, add {R} to your mana pool for each 1 life your opponents have lost this turn.
mana={3}{R}{R}
type=Legendary Creature
subtype=Zombie Minotaur Warrior
power=4
toughness=6
[/card]
[card]
name=Neheb, the Worthy
abilities=first strike
auto=lord(minotaur|mybattlefield) first strike
auto=aslongas(*|myhand) lord(minotaur|mybattlefield) 2/0 <2
auto=@combatdamaged(player) from(this):ability$!target(*|myhand) reject$! opponent 
auto=@combatdamaged(player) from(this):transforms((,newability[target(*|myhand) reject])) forever
text=First strike -- Other Minotaurs you control have first strike. -- As long as you have one or fewer cards in hand, Minotaurs you control get +2/+0. -- Whenever Neheb, the Worthy deals combat damage to a player, each player discards a card.
mana={1}{B}{R}
type=Legendary Creature
subtype=Minotaur Warrior
power=2
toughness=2
[/card]
[card]
name=Nemesis of Mortals
anyzone=foreach(creature|mygraveyard) changecost(colorless:-1) forcedalive
auto=this(cantargetcard(*[-monstrous]) {7}{G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~equalto~0}
auto=this(cantargetcard(*[-monstrous]) {6}{G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~equalto~1}
auto=this(cantargetcard(*[-monstrous]) {5}{G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~equalto~2}
auto=this(cantargetcard(*[-monstrous]) {4}{G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~equalto~3}
auto=this(cantargetcard(*[-monstrous]) {3}{G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~equalto~4}
auto=this(cantargetcard(*[-monstrous]) {2}{G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~equalto~5}
auto=this(cantargetcard(*[-monstrous]) {1}{G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~equalto~6}
auto=this(cantargetcard(*[-monstrous]) {G}{G}:becomes(monstrous) forever && counter(1/1,5) restriction{type(creature|mygraveyard)~morethan~6}
text=Nemesis of Mortals costs {1} less to cast for each creature card in your graveyard. -- {7}{G}{G}: Monstrosity 5. This ability costs {1} less to activate for each creature card in your graveyard. (If this creature isn't monstrous, put five +1/+1 counters on it and it becomes monstrous.)
mana={4}{G}{G}
type=Creature
subtype=Snake
power=5
toughness=5
[/card]
[card]
name=Neoform
auto=reveal:plibrarycount optionone name(choose card) target(creature[manacost=storedmanacostplus1plusend]|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=As an additional cost to cast this spell, sacrifice a creature. -- Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield with an additional +1/+1 counter on it, then shuffle your library.
mana={G}{U}{S(creature|mybattlefield)}
type=Sorcery
[/card]
[card]
name=Neonate's Rush
target=creature
other={1}{R}
otherrestriction=type(vampire|battlefield)~morethan~0
restriction=type(vampire|battlefield)~equalto~0
auto=damage:1
auto=damage:1 targetcontroller
text=This spell costs {1} less to cast if you control a Vampire. -- Neonate's Rush deals 1 damage to target creature and 1 damage to its controller. Draw a card.
mana={2}{R}
type=Instant
[/card]
[card]
name=Nephalia Academy
auto=@discarded(*|myhand):all(trigger[to]) may moveTo(mylibrary)
auto={T}:add{1}
text=If a spell or ability an opponent controls causes you to discard a card, you may reveal that card and put it on top of your library instead of putting it anywhere else. -- {T}: Add {C} to your mana pool.
type=Land
[/card]
[card]
name=Nessian Boar
abilities=lure
auto=_BLOCKED_draw:1 opponent
text=All creatures able to block Nessian Boar do so. -- Whenever Nessian Boar becomes blocked by a creature, that creature's controller draws a card.
mana={3}{G}{G}
type=Creature
subtype=Boar
power=10
toughness=6
[/card]
[card]
name=Nessian Demolok
auto=all(this) flipacoin winability counter(0/0,1,TributeUnpaid) winabilityend loseability counter(1/1,3) loseabilityend flipend
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:all(this) counter(0/0,-1,TributeUnpaid)
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:target(*[-creature]|battlefield) destroy
text=Tribute 3 (As this creature enters the battlefield, an opponent of your choice may place three +1/+1 counters on it.) -- When Nessian Demolok enters the battlefield, if tribute wasn't paid, destroy target noncreature permanent.
mana={3}{G}{G}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Nessian Hornbeetle
auto=@each my combatbegins restriction{type(creature[power>=4]|mybattlefield)~morethan~0}:counter(1/1,1)
text=At the beginning of combat on your turn, if you control another creature with power 4 or greater, put a +1/+1 counter on Nessian Hornbeetle.
mana={1}{G}
type=Creature
subtype=Insect
power=2
toughness=2
[/card]
[card]
name=Nessian Wanderer
aicode=activate target(land[zpos<=3]|mylibrary) moveto(myhand)
auto=_CONSTELLATION_name(look three) reveal:3 optionone name(Get a land) target(<upto:1>land|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend
text=Constellation - Whenever an enchantment enters the battlefield under your control, look at the top three cards of your library. You may reveal a land card from among them and put that card into your hand. Put the rest on the bottom of your library in a random order.
mana={1}{G}
type=Creature
subtype=Satyr Scout
power=1
toughness=3
[/card]
[card]
name=Nessian Wilds Ravager
abilities=flying
auto=ability$!choice name(Tribute 6) all(mysource) counter(1/1,6) _ choice name(May fight another target creature) may transforms((,newability[target(creature) dynamicability<!powerstrike eachother!>])) ueot opponent !$ opponent
text=Tribute 6 (As this creature enters the battlefield, an opponent of your choice may put six +1/+1 counters on it.) -- When Nessian Wilds Ravager enters the battlefield, if tribute wasn't paid, you may have Nessian Wilds Ravager fight another target creature. (Each deals damage equal to its power to the other.)
mana={4}{G}{G}
type=Creature
subtype=Hydra
power=6
toughness=6
[/card]
[card]
name=Nest Robber
abilities=haste
text=Haste
mana={1}{R}
type=Creature
subtype=Dinosaur
power=2
toughness=1
[/card]
[card]
name=Nest of Scarabs
auto=@counteradded(-1/-1) from(*|mybattlefield):token(Insect,creature Insect,1/1,black)
auto=@counteradded(-1/-1) from(*|mystack):token(Insect,creature Insect,1/1,black)
text=Whenever you put one or more -1/-1 counters on a creature, create that many 1/1 black Insect creature tokens.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Nested Shambler
auto=_DIES_token(Squirrel,Creature Squirrel,1/1,green)*power and!( tap(noevent) )!
text=When Nested Shambler dies, create X tapped 1/1 green Squirrel creature tokens, where X is Nested Shambler's power.
mana={B}
type=Creature
subtype=Zombie
power=1
toughness=1
[/card]
[card]
name=Nesting Dragon
abilities=flying
auto=_LANDFALL_token(dragon egg)
text=Flying -- Landfall - Whenever a land enters the battlefield under your control, create a 0/2 red Dragon Egg creature token with defender and "When this creature dies, create a 2/2 red Dragon creature token with flying and '{R}: This creature gets +1/+0 until end of turn.'"
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=4
[/card]
[card]
name=Netherborn Altar
auto={T} restriction{type(*[iscommander]|mycommandzone)~morethan~0}:transforms((,newability[counter(0/0.1.Soul) all(this)],newability[moveTo(myHand) target(*[iscommander]|mycommandzone)],newability[thisforeach(counter{0/0.1.Soul}) life:-3 controller])) oneshot
text={T}, Put a soul counter on Netherborn Altar: Put your commander into your hand from the command zone. Then you lose 3 life for each soul counter on Netherborn Altar.
mana={1}{B}
type=Artifact
[/card]
[card]
name=Netherese Puzzle-Ward
aicode=activate transforms((,newability[all(*[zpos<=lastrollresult]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@each my upkeep:name(Roll a d4) rolld4 4 winability scry:lastrollresult scrycore delayed dontshow donothing scrycoreend scryend winabilityend loseability scry:lastrollresult scrycore delayed dontshow donothing scrycoreend scryend loseabilityend rolld4end
auto=@dierolled(*|myzones) result(max) from(controller):name(Draw a card) draw:1 controller
text=Focus Beam - At the beginning of your upkeep, roll a d4. Scry X, where X is the result. -- Perfect Illumination - Whenever you roll a die's highest natural result, draw a card.
mana={3}{U}
type=Enchantment
[/card]
[card]
name=Nethroi, Apex of Death
abilities=deathtouch,lifelink,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={4}{GW}{B}{B} name(Mutate)
auto=transforms((,newability[@mutated(this):target(<anyamount>creature[manacost<=10]|mygraveyard) moveTo(myBattlefield)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {4}{GW}{B}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Deathtouch, lifelink -- Whenever this creature mutates, return any number of target creature cards with total power 10 or less from your graveyard to the battlefield.
mana={2}{W}{B}{G}
type=Legendary Creature
subtype=Cat Nightmare Beast
power=5
toughness=5
[/card]
[card]
name=Nettlecyst
auto={2}:equip
auto=teach(creature) type:*[artifact;enchantment]:mybattlefield/type:*[artifact;enchantment]:mybattlefield nonstatic
auto=livingweapontoken(Phyrexian Germ,Creature Phyrexian Germ,0/0,black)
text=Living weapon (When this Equipment enters the battlefield, create a 0/0 black Phyrexian Germ creature token, then attach this to it.) -- Equipped creature gets +1/+1 for each artifact and/or enchantment you control. -- Equip {2}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Neurok Transmuter
auto={U}:target(creature) transforms((artifact)) ueot
auto={U}:target(creature[artifact]) transforms((removetypes)) ueot && transforms((Creature,blue)) ueot
text={U}: Target creature becomes an artifact in addition to its other types until end of turn. -- {U}: Until end of turn, target artifact creature becomes blue and isn't an artifact.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Neutralize
abilities=cycling
target=*|stack
auto=fizzle
autohand=__CYCLING__({2})
text=Counter target spell. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Never // Return
target=creature,planeswalker
auto=destroy
autograveyard={3}{B}{E}:moveto(exile) target(*|graveyard) && token(Zombie,creature Zombie,2/2,black) asSorcery
text=Destroy target creature or planeswalker. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Exile target card from a graveyard. Create a 2/2 black Zombie creature token.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Never Happened
aicode=activate moveto(exile) notatarget(*[-land]|opponentGraveyard,opponenthand)
auto=choice name(exile from hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose to exile) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(exile)])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
auto=choice name(exile from graveyard) moveto(exile) target(*[-land]|opponentGraveyard)
text=Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Nevermore
auto=chooseanameopp transforms((,newability[maxCast(*[chosenname])0 controller],newability[maxCast(*[chosenname])0 opponent])) forever chooseend nonland
text=As Nevermore enters the battlefield, name a nonland card. -- The named card can't be cast.
mana={1}{W}{W}
type=Enchantment
[/card]
[card]
name=Neverwinter Dryad
auto={2}{S}:name(Search forest) target(forest[basic]|mylibrary) moveto(myBattlefield) and!( tap(noevent) )!
text={2}, Sacrifice Neverwinter Dryad: Search your library for a basic Forest card, put it onto the battlefield tapped, then shuffle.
mana={G}
type=Creature
subtype=Dryad
power=1
toughness=1
[/card]
[card]
name=Neverwinter Hydra
abilities=trample
auto=if compare(halfpaid)~morethan~0 then counter(1/1)
auto=@dierolled(this) from(controller) once:counter(1/1,-1)
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 4 more) name(This spell costs 4 more) target(*|opponentzones) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) oneshot
auto=thisforeach(variable{halfpaid}>0) ability$!name(Roll a d6) name(Roll a d6) all(mysource) rolld6 6 winability counter(1/1.lastrollresult) winabilityend loseability counter(1/1.lastrollresult) loseabilityend rolld6end!$ controller
text=As Neverwinter Hydra enters the battlefield, roll X d6. It enters with a number of +1/+1 counters on it equal to the total of those results. -- Trample -- Ward {4} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {4}.)
mana={X}{X}{G}{G}
type=Creature
subtype=Hydra
power=0
toughness=0
[/card]
[card]
name=Nevinyrral, Urborg Tyrant
auto=cantbetargetof(*[artifact;creature;enchantment])
auto=foreach(creature[fresh]|graveyard) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=_DIES_pay({1}) name(destroy all artifacts, creatures, and enchantments) destroy all(artifact,creature,enchantment)
text=Hexproof from artifacts, creatures, and enchantments -- When Nevinyrral, Urborg Tyrant enters the battlefield, create a tapped 2/2 black Zombie creature token for each creature that died this turn. -- When Nevinyrral dies, you may pay {1} . When you do, destroy all artifacts, creatures, and enchantments.
mana={3}{W}{U}{B}
type=Legendary Creature
subtype=Zombie Wizard
power=3
toughness=6
[/card]
[card]
name=New Blood
target=creature
auto=moveto(mybattlefield) and!( transforms((removecreaturesubtypes)) forever && transforms((Vampire)) forever )!
text=As an additional cost to cast this spell, tap an untapped Vampire you control. -- Gain control of target creature. Change the text of that creature by replacing all instances of one creature type with Vampire.
mana={2}{B}{B}{T(vampire|mybattlefield)}
type=Sorcery
[/card]
[card]
name=New Frontiers
auto=thisforeach(X) ability$!name(search basic land) name(search basic land) target(land[basic]|mylibrary) moveTo(myBattlefield) and!( tap(noevent) )! !$ opponent
auto=name(search basic lands) target(<upto:x>land[basic]|mylibrary) moveTo(myBattlefield) and!( tap(noevent) )!
text=Each player may search his or her library for up to X basic land cards and put them onto the battlefield tapped. Then each player who searched his or her library this way shuffles it.
mana={X}{G}
type=Sorcery
[/card]
[card]
name=New Horizons
target=land
auto=counter(1/1,1) target(creature)
auto=teach(land) {T}:add{G}{G}
auto=teach(land) {T}:add{W}{W}
auto=teach(land) {T}:add{U}{U}
auto=teach(land) {T}:add{B}{B}
auto=teach(land) {T}:add{R}{R}
text=Enchant land -- When New Horizons enters the battlefield, put a +1/+1 counter on target creature you control. -- Enchanted land has "{T}: Add two mana of any one color to your mana pool."
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=New Perspectives
auto=draw:3 controller
auto=aslongas(*|myHand) all(*[cycling]|mycastingzone) altercost(colorless,-99) >6
text=When New Perspectives enters the battlefield, draw three cards. -- As long as you have seven or more cards in hand, you may pay {0} rather than pay cycling costs.
mana={5}{U}
type=Enchantment
[/card]
[card]
name=Nexus Wardens
abilities=reach
auto=_CONSTELLATION_life:2 controller
text=Reach -- Constellation - Whenever an enchantment enters the battlefield under your control, you gain 2 life.
mana={2}{G}
type=Creature
subtype=Satyr Archer
power=1
toughness=4
[/card]
[card]
name=Nexus of Fate
auto=turns:+1 controller
autograveyard=moveTo(ownerlibrary) all(*|ownergraveyard) && shuffle
text=Take an extra turn after this one. -- If Nexus of Fate would be put into a graveyard from anywhere, reveal Nexus of Fate and shuffle it into its owner's library instead.
mana={5}{U}{U}
type=Instant
[/card]
[card]
name=Neyith of the Dire Hunt
auto=@combat(blocked) source(creature|mybattlefield) turnlimited:name(Draw a card) draw:1 controller
auto=@damaged(creature) from(creature[-attacking]|mybattlefield) turnlimited:may name(Draw a card) draw:1 controller
auto=@each my combatbegins:name(Pay and double creature's power) pay({2}{RG}) name(Pay and double creature's power) target(creature) transforms((,newability[p/0],newability[all(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot])) ueot
text=Whenever one or more creatures you control fight or become blocked, draw a card. -- At the beginning of combat on your turn, you may pay {2}{R} or {G}. If you do, double target creature's power until end of turn. That creature must be blocked this combat if able. ( {R} or {G} can be paid with either {R} or {G}.)
mana={2}{G}{G}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Nezahal, Primal Tide
abilities=nofizzle,nomaxhand
auto=@movedTo(*|opponentstack):draw:1
auto={D(*|myhand)}{D(*|myhand)}{D(*|myhand)}:(blink)ueot
text=Nezahal, Primal Tide can't be countered. -- You have no maximum hand size. -- Whenever an opponent casts a noncreature spell, draw a card. -- Discard three cards: Exile Nezahal. Return it to the battlefield tapped under its owner's control at the beginning of the next end step.
mana={5}{U}{U}
type=Legendary Creature
subtype=Elder Dinosaur
power=7
toughness=7
[/card]
[card]
name=Niambi, Esteemed Speaker
abilities=flash
auto=may moveTo(myHand) and!(transforms((,newability[dynamicability<!manacostlifegain targetcontroller!>])))! target(other creature|myBattlefield)
auto={1}{W}{U}{T}{D(*[legendary]|myHand)}:draw:2 controller
text=Flash -- When Niambi, Esteemed Speaker enters the battlefield, you may return another target creature you control to its owner's hand. If you do, you gain life equal to that creature's converted mana cost. -- {1}{W}{U}, {T}, Discard a legendary card: Draw two cards.
mana={W}{U}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Niambi, Faithful Healer
text=When Niambi, Faithful Healer enters the battlefield, you may search your library and/or graveyard for a card named Teferi, Timebender, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={1}{W}{U}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Nicol Bolas, the Ravager
abilities=flying
backside=Nicol Bolas, the Arisen
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ opponent
auto={4}{U}{B}{R}:name(Exile and transform) moveto(exile) and!(moveto(ownerbattlefield) and!( flip(backside) )! )! asSorcery
text=Flying -- When Nicol Bolas, the Ravager enters the battlefield, each opponent discards a card. -- {4}{U}{B}{R}: Exile Nicol Bolas, the Ravager, then return him to the battlefield transformed under his owner's control. Activate this ability only any time you could cast a sorcery. // Nicol Bolas, the Arisen
mana={1}{U}{B}{R}
type=Legendary Creature
subtype=Elder Dragon
power=4
toughness=4
[/card]
[card]
name=Night
abilities=shroud,indestructible,doublefacedeath
backside=Day
auto=@each endofturn:name(Check if day or night) moveto(opponentbattlefield) and!( if thisturn(*|opponentstack)~morethan~1 then name(It becomes day next turn) name(It becomes day next turn) phaseaction[untap once sourceinplay] flip(backside) )!
auto=lord(*[daybound]|battlefield) flip(backside)
text=As it becomes night, transform all daybound permanents. -- Permanents enter the battlefield nightbound. -- If a player casts at least two spells during their own turn, it becomes day next turn.
type=Emblem
[/card]
[card]
name=Night // Day
other={2}{W} name(Day)
auto=ifnot paid(alternative) then target(creature) -1/-1 ueot
auto=if paid(alternative) then name(Target controller) choice name(Target controller) name(Target controller) all(creature|mybattlefield) 1/1 ueot
auto=if paid(alternative) then name(Target opponent) choice name(Target opponent) name(Target opponent) all(creature|opponentbattlefield) 1/1 ueot
text=Target creature gets -1/-1 until end of turn. // Creatures target player controls get +1/+1 until end of turn.
mana={B}
type=Instant
[/card]
[card]
name=Night Incarnate
abilities=deathtouch
other={3}{B} name(Evoke)
auto=@movedTo(this|nonbattlezone) from(battlefield):all(creature) -3/-3 ueot
auto=alternative sacrifice
text=Deathtouch -- When Night Incarnate leaves the battlefield, all creatures get -3/-3 until end of turn. -- Evoke {3}{B} (You may cast this spell for its evoke cost. If you do, it's sacrificed when it enters the battlefield.)
mana={4}{B}
type=Creature
subtype=Elemental
power=3
toughness=4
[/card]
[card]
name=Night Market Guard
text=Night Market Guard can block an additional creature each combat.
mana={3}
type=Artifact Creature
subtype=Construct
power=3
toughness=1
[/card]
[card]
name=Nighthawk Scavenger
abilities=flying,deathtouch,lifelink
auto=aslongas(land|opponentGraveyard) 1/0
auto=aslongas(creature|opponentGraveyard) 1/0
auto=aslongas(artifact|opponentGraveyard) 1/0
auto=aslongas(enchantment|opponentGraveyard) 1/0
auto=aslongas(planeswalker|opponentGraveyard) 1/0
auto=aslongas(instant|opponentGraveyard) 1/0
auto=aslongas(sorcery|opponentGraveyard) 1/0
text=Flying, deathtouch, lifelink -- Nighthawk Scavenger's power is equal to 1 plus the number of card types among cards in your opponents' graveyards.
mana={1}{B}{B}
type=Creature
subtype=Vampire Rogue
power=1
toughness=3
[/card]
[card]
name=Nightmare Nig
auto=_ATTACKING_ingest:2 opponent
auto=@combat(blocking) source(this):ingest:2 opponent
text=Whenever this creature attacks or blocks, each opponent exiles the top two cards of their library.
type=Creature
subtype=Nightmare
color=blue,black
power=2
toughness=3
[/card]
[card]
name=Nightmare Shepherd
abilities=flying
auto=@movedto(mygraveyard) from(other creature[-token]|myBattlefield):may all(trigger) clone and!( transforms((Nigthmare,setpower=1,settoughness=1)) forever )! && moveTo(exile) all(trigger)
text=Flying -- Whenever another nontoken creature you control dies, you may exile it. If you do, create a token that's a copy of that creature, except it's 1/1 and it's a Nightmare in addition to its other types.
mana={2}{B}{B}
type=Enchantment Creature
subtype=Demon
power=4
toughness=4
[/card]
[card]
name=Nightmare Unmaking
auto=choice moveto(exile) all(creature[power >type:*:myhand])
auto=choice moveto(exile) all(creature[power <type:*:myhand])
text=Choose one -- Exile each creature with power greater than the number of cards in your hand. -- Exile each creature with power less than the number of cards in your hand.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Nightmare's Thirst
target=creature
auto=foreach(lifegain) -X/-X
auto=life:1
text=You gain 1 life. Target creature gets -X/-X until end of turn, where X is the amount of life you gained this turn.
mana={B}
type=Instant
[/card]
[card]
name=Nightpack Ambusher
abilities=flash
auto=lord(other wolves|myBattlefield) 1/1
auto=lord(other werewolves|myBattlefield) 1/1
auto=@each my endofturn restriction{thisturn(*|mystack)~lessthan~1}:create(wolf:creature wolf:2/2:green)
text=Flash -- Other Wolves and Werewolves you control get +1/+1. -- At the beginning of your end step, if you didn't cast a spell this turn, create a 2/2 green Wolf creature token.
mana={2}{G}{G}
type=Creature
subtype=Wolf
power=4
toughness=4
[/card]
[card]
name=Nightscape Battlemage
abilities=hasotherkicker
other={4}{B}{R} name(Kicker Red)
kicker={2}{U} name(Kicker Blue or both)
auto=if paid(alternative) then destroy target(land)
auto=if paid(kicker) then ability$!name(Return creatures) name(Return creatures) target(<upto:2>creature[-black]) moveto(ownerhand)!$ controller
auto=if paid(kicker) then pay({2}{R}) name(Pay also kicker red) destroy target(land|battlefield)
text=Kicker {2}{U} and/or {2}{R} (You may pay an additional {2}{U} and/or {2}{R} as you cast this spell.) -- When Nightscape Battlemage enters the battlefield, if it was kicked with its {2}{U} kicker, return up to two target nonblack creatures to their owners' hands. -- When Nightscape Battlemage enters the battlefield, if it was kicked with its {2}{R} kicker, destroy target land.
mana={2}{B}
type=Creature
subtype=Zombie Wizard
power=2
toughness=2
[/card]
[card]
name=Nightshade Assassin
abilities=first strike,madness
autoexile=restriction{discarded} pay({1}{B}) name(pay 1B to cast) activate name(pay 1B to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
auto=target(creature) -type:*[black]:myhand/-type:*[black]:myhand ueot
text=First strike -- When Nightshade Assassin enters the battlefield, you may reveal X black cards in your hand. If you do, target creature gets -X/-X until end of turn. -- Madness {1}{B} (If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard.)
mana={2}{B}{B}
type=Creature
subtype=Human Assassin
power=2
toughness=1
[/card]
[card]
name=Nightshade Harvester
auto=@movedto(land|opponentbattlefield):counter(1/1)
auto=@movedto(land|opponentbattlefield):life:-1 opponent
text=Whenever a land enters the battlefield under an opponent's control, that player loses 1 life. Put a +1/+1 counter on Nightshade Harvester.
mana={3}{B}
type=Creature
subtype=Elf Shaman
power=2
toughness=2
[/card]
[card]
name=Nightshade Seer
auto={2}{B}{T}:foreach(*[black]|myhand) -1/-1 target(creature)
text={2}{B}, {T}: Reveal any number of black cards in your hand. Target creature gets -X/-X until end of turn, where X is the number of cards revealed this way.
mana={3}{B}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Nightsquad Commando
auto=if raid then token(Human Soldier Nig)
text=When Nightsquad Commando enters the battlefield, if you attacked this turn, create a 1/1 white Human Soldier creature token.
mana={2}{B}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Nightveil Predator
abilities=flying, deathtouch, opponentshroud
text=Flying, deathtouch -- Hexproof (This creature can't be the target of spells or abilities your opponents control.)
mana={U}{U}{B}{B}
type=Creature
subtype=Vampire
power=3
toughness=3
[/card]
[card]
name=Nightveil Specter
abilities=flying
auto=@combatdamaged(player) from(this):moveto(exile) and!( transforms((,canplayfromexile)))! all(*[zpos=1]|mylibrary)
text=Whenever Nightveil Specter deals combat damage to a player, that player exiles the top card of their library. -- You may play cards exiled with Nightveil Specter.
mana={UB}{UB}{UB}
type=Creature
subtype=Specter
power=2
toughness=3
[/card]
[card]
name=Nightveil Sprite
abilities=flying
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=_ATTACKING_name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Flying -- Whenever Nightveil Sprite attacks, surveil 1. (Look at the top card of your library. You may put that card into your graveyard.)
mana={1}{U}
type=Creature
subtype=Faerie Rogue
power=1
toughness=2
[/card]
[card]
name=Nihiloor
auto=may name(Tap your creature) target(creature[-tapped]|mybattlefield) transforms((,newability[tap],newability[name(Gain control of creature) target(creature[power<=p]|opponentbattlefield) moveto(mybattlefield) and!( counter(0/0.1.NihiloorEffect) )! ])) oneshot
auto=@movedTo(this|nonbattlezone) from(battlefield):name(Return creature) target(creature[counter{0/0.1.NihiloorEffect}]|mybattlefield) moveto(opponentbattlefield) and!( removeallcounters(0/0.1.NihiloorEffect) )!
auto=@combat(attacking) source(creature[counter{0/0.1.NihiloorEffect}]|mybattlefield):name(Gain life) life:2 controller && life:-2 opponent
text=When Nihiloor enters the battlefield, for each opponent, tap up to one untapped creature you control. When you do, gain control of target creature that player controls with power less than or equal to the tapped creature's power for as long as you control Nihiloor. -- Whenever you attack with a creature an opponent owns, you gain 2 life and that player loses 2 life.
mana={2}{W}{U}{B}
type=Legendary Creature
subtype=Horror
power=3
toughness=5
[/card]
[card]
name=Nikara, Lair Scavenger
abilities=menace,partner
auto=may name(Put partner in hand) moveto(myhand) target(Yannik^ Scavenging Sentinel|mylibrary)
auto=@movedTo(other creature[counter{1/1<anyamount>}]|nonbattlezone) from(mybattlefield):draw:1 && life:-1 controller
text=Partner with Yannik, Scavenging Sentinel (When this creature enters the battlefield, target player may put Yannik into their hand from their library, then shuffle.) -- Menace -- Whenever another creature you control leaves the battlefield, if it had one or more counters on it, you draw a card and you lose 1 life.
mana={2}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Niko Defies Destiny
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=foreach(*[foretold]|myexile) life:2 controller
auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(type:*[foretold]:myexile)~morethan~0}:this(counter{0/0.2.Lore}=) add{W}{U}
auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(type:*[foretold]:myexile)~equalto~0,compare(type:*[foretell]:myhand)~morethan~0}:this(counter{0/0.2.Lore}=) add{W}{U}
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Return card from graveyard) target(*[foretell]|mygraveyard) moveto(myhand)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - You gain 2 life for each foretold card you own in exile. -- II - Add {W}{U}. Spend this mana only to foretell cards or cast spells that have foretell. -- III - Return target card with foretell from your graveyard to your hand.
mana={1}{W}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Nikya of the Old Ways
auto=maxCast(*[-creature])0
auto=lord(land|mybattlefield) transforms((,newability[producecolor:land],newability[producecolor:green],newability[producecolor:blue],newability[producecolor:red],newability[producecolor:black],newability[producecolor:white]))
text=You can't cast noncreature spells. -- Whenever you tap a land for mana, add one mana of any type that land produced.
mana={3}{R}{G}
type=Legendary Creature
subtype=Centaur Druid
power=5
toughness=5
[/card]
[card]
name=Nils, Discipline Enforcer
auto=@each my end:ability$!name(Put counter on your creature) may name(Put counter on your creature) target(creature|mybattlefield) counter(1/1)!$ controller
auto=@each my end:ability$!name(Put counter on opponent creature) may name(Put counter on opponent creature) target(creature|opponentbattlefield) counter(1/1)!$ controller
auto=lord(creature[counter{any}]|opponentbattlefield) transforms((,newability[thisforeach(variable{hascntanycnt}>0) attackcost:1]))
text=At the beginning of your end step, for each player, put a +1/+1 counter on up to one target creature that player controls. -- Each creature with one or more counters on it can't attack you or planeswalkers you control unless its controller pays {X}, where {X} is the number of counters on that creature.
mana={2}{W}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Nim Deathmantle
auto={4}:equip
auto=teach(creature) 2/2
auto=teach(creature) transforms((Zombie,newcolors[black],newability[intimidate])) forever
auto=@movedTo(*[-token]|mygraveyard) from(battlefield):name(pay 4) pay[[{4}]] all(trigger[to]) moveTo(mybattlefield) and!(rehook)!
text=Equipped creature gets +2/+2, has intimidate, and is a black Zombie. -- Whenever a nontoken creature is put into your graveyard from the battlefield, you may pay {4}. If you do, return that card to the battlefield and attach Nim Deathmantle to it. -- Equip {4}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Nimana Skitter-Sneak
auto=aslongas(*|opponentGraveyard) 1/0 >7
auto=aslongas(*|opponentGraveyard) menace >7
text=As long as an opponent has eight or more cards in their graveyard, Nimana Skitter-Sneak gets +1/+0 and has menace. (It can't be blocked except by two or more creatures.)
mana={3}{B}
type=Creature
subtype=Human Rogue
power=3
toughness=4
[/card]
[card]
name=Nimana Skydancer
abilities=flash,flying
auto=deplete:2 opponent
auto={0}:moveto(myGraveyard)
text=Flash -- Flying -- When Nimana Skydancer enters the battlefield, target opponent mills two cards. (They put the top two cards of their library into their graveyard.)
mana={2}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Nimble Birdsticker
abilities=reach
text=Reach (This creature can block creatures with flying.)
mana={2}{R}
type=Creature
subtype=Goblin
power=2
toughness=3
[/card]
[card]
name=Nimble Obstructionist
abilities=flash,flying,cycling
autohand=__CYCLING__({2}{U})
text=Flash -- Flying -- Cycling {2}{U} ({2}{U}, Discard this card: Draw a card.) -- When you cycle Nimble Obstructionist, counter target activated or triggered ability you don't control.
mana={2}{U}
type=Creature
subtype=Bird Wizard
power=3
toughness=1
[/card]
[card]
name=Nimble Pilferer
abilities=flash
mana={1}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Nimble Trapfinder
auto=if thisturn(creature[cleric;rogue;warrior;wizard]|mybattlefield)~morethan~1 then transforms((,newability[unblockable])) ueot
auto=@movedTo(other creature[cleric;rogue;warrior;wizard]|myBattlefield):all(this) transforms((,newability[unblockable])) ueot
auto=@each my combatbegins:if compare(calculateparty)~equalto~4 then name(creatures get draw card on damage) name(creatures get draw card on damage) all(creature|myBattlefield) transforms((,newability[@combatdamagefoeof(player) from(this):draw:1 controller],newability[@combatdamageof(player) from(this):draw:1 controller])) ueot
text=Nimble Trapfinder can't be blocked if you had another Cleric, Rogue, Warrior, or Wizard enter the battlefield under your control this turn. -- At the beginning of combat on your turn, if you have a full party, creatures you control gain "Whenever this creature deals combat damage to a player, draw a card" until end of turn.
mana={1}{U}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Nimble-Blade Khenra
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)
mana={1}{R}
type=Creature
subtype=Jackal Warrior
power=1
toughness=3
[/card]
[card]
name=Nimbus Champion
abilities=flying
auto=_ATTACKING_may moveto(ownerHand) target(creature)
text=Flying -- Whenever Nimbus Champion attacks, you may return target creature to its owner's hand if that creature's power is less than or equal to the number of Warriors your team controls.
mana={5}{U}
type=Creature
subtype=Avatar Warrior
power=4
toughness=4
[/card]
[card]
name=Nine Lives
abilities=opponentshroud
auto=preventalldamage to(controller)
auto=@damaged(controller):counter(0/0,1,Incarnation) all(this)
auto=this(counter{0/0.9.Incarnation}) moveTo(Exile)
auto=@movedTo(this|nonbattlezone) from(battlefield):wingame opponent
text=Hexproof -- If a source would deal damage to you, prevent that damage and put an incarnation counter on Nine Lives. -- When there are nine or more incarnation counters on Nine Lives, exile it. -- When Nine Lives leaves the battlefield, you lose the game.
mana={1}{W}{W}
type=Enchantment
[/card]
[card]
name=Nine-Tail White Fox
auto=@combatdamaged(player) from(this):draw:1 controller
text=Whenever Nine-Tail White Fox deals combate damage to a player, draw a card.
mana={2}{U}
type=Creature
subtype=Fox Spirit
power=2
toughness=2
[/card]
[card]
name=Ninja of the New Moon
autohand={3}{B}{N}:ninjutsu
text=Ninjutsu {3}{B} ({3}{B}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.)
mana={3}{B}{B}
type=Creature
subtype=Spirit Ninja
power=6
toughness=3
[/card]
[card]
name=Nira, Hellkite Duelist
abilities=flash,flying,trample,haste
auto=transforms((,newability[cantlose],newability[@lifelostof(player) once:if compare(lifetotal)~lessthan~5 then lifeset:5 controller && draw:3 controller])) ueot
text=Flash -- Flying, trample, haste -- When Nira, Hellkite Duelist enters the battlefield, the next time you would lose the game this turn, instead draw three cards and your life total becomes 5.
mana={W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Nissa's Defeat
target=Forest, green enchantment,,green planeswalker
auto=destroy
auto=if type(nissa|opponentbattlefield)~morethan~0 draw:1
text=Destroy target Forest, green enchantment, or green planeswalker. If that permanent was a Nissa planeswalker, draw a card.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Nissa's Encouragement
auto=moverandom(Forest) from(mylibrary) to(myhand)
auto=moverandom(Brambleweft Behemoth) from(mylibrary) to(myhand)
auto=moverandom(Nissa, Genesis Mage) from(mylibrary) to(myhand)
text=Search your library and graveyard for a card named Forest, a card named Brambleweft Behemoth, and a card named Nissa, Genesis Mage. Reveal those cards, put them into your hand, then shuffle your library.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Nissa's Triumph
auto=transforms((,newability[name(search 2 forests) moveTo(myhand) target(<upto:2>forest[basic]|myLibrary)])) ueot
auto=aslongas(*[nissa]|mybattlefield))>0 transforms((,newability[name(search 3 lands) moveTo(myhand) target(<upto:3>land|myLibrary)])) ueot
text=Search your library for up to two basic Forest cards. If you control a Nissa planeswalker, instead search your library for up to three land cards. Reveal those cards, put them into your hand, then shuffle your library.
mana={G}{G}
type=Sorcery
[/card]
[card]
name=Nissa's Zendikon
target=land
auto=becomes(Creature Elemental,4/4,haste,reach)
auto=@movedTo(mytgt|Graveyard) from(Battlefield):all(trigger[to]) moveTo(ownerHand)
text=Enchant land -- Enchanted land is a 4/4 Elemental creature with reach and haste. It's still a land. -- When enchanted land dies, return that card to its owner's hand.
mana={3}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Nissa, Vastwood Seer
backside=Nissa, Sage Animist
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=may name(Search basic forest) target(forest[basic]|mylibrary) moveto(myhand) and!( shuffle )!
auto=@movedto(land|mybattlefield) restriction{type(land|mybattlefield)~morethan~6}:name(Exile and transforms) moveto(exile) and!( moveto(mybattlefield) and!( flip(backside) )! )!
text=When Nissa, Vastwood Seer enters the battlefield, you may search your library for a basic Forest card, reveal it, put it into your hand, then shuffle your library. -- Whenever a land enters the battlefield under your control, if you control seven or more lands, exile Nissa, then return her to the battlefield transformed under her owner's control. // Nissa, Sage Animist
mana={2}{G}
type=Legendary Creature
subtype=Elf Scout
power=2
toughness=2
[/card]
[card]
name=Niv-Mizzet Reborn
abilities=flying
auto=reveal:10 optionone name(Reveal) target(<anyamount>*[multicolor]|reveal) moveto(myhand) optiononeend optiontwo choice all(*|reveal) moveto(mylibrary) optiontwoend revealend
text=Flying -- When Niv-Mizzet Reborn enters the battlefield, reveal the top ten cards of your library. For each color pair, choose a card that's exactly those colors from among them. Put the chosen cards into your hand and the rest on the bottom of your library in a random order.
mana={W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Dragon Avatar
power=6
toughness=6
[/card]
[card]
name=Niv-Mizzet, Parun
abilities=nofizzle, flying
auto=@drawof(player):damage:1 target(player,creature,planeswalker)
auto=@movedTo(instant,sorcery|stack):draw:1
text=This spell can't be countered. -- Flying -- Whenever you draw a card, Niv-Mizzet, Parun deals 1 damage to any target. -- Whenever a player casts an instant or sorcery spell, you draw a card.
mana={U}{U}{U}{R}{R}{R}
type=Legendary Creature
subtype=Dragon Wizard
power=5
toughness=5
[/card]
[card]
name=Nivix, Aerie of the Firemind
auto={T}:add{1}
auto={2}{U}{R}{T}:moveto(myexile) all(*[zpos=1]|mylibrary) && may activate castcard(normal) target(fresh[instant;sorcery]|myexile)
text={T}: Add {1} to your mana pool. -- {2}{U}{R}, {T}: Exile the top card of your library. Until your next turn, you may cast that card if it's an instant or sorcery.
type=Land
[/card]
[card]
name=No Escape
target=*[creature;planeswalker]|stack
auto=fizzleto(exile)
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Counter target creature or planeswalker spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. -- Scry 1.
mana={2}{U}
type=Instant
[/card]
[card]
name=No Way Out
auto=ability$!name(Discard 2 cards) name(Discard 2 cards) target(<2>*|myhand) reject!$ opponent
auto=token(Zombie Dec)
text=Target opponent discards two cards. You create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Noble Benefactor
auto=_DIES_name(fetch) transforms((,newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ controller],newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ opponent])) oneshot
text=When Noble Benefactor dies, each player may search his or her library for a card and put that card into his or her hand. Then each player who searched his or her library this way shuffles it.
mana={2}{U}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Nocturnal Feeder
abilities=flying
auto=_DIES_life:-2 opponent && life:2 controller
text=Flying -- When Nocturnal Feeder dies, each opponent loses 2 life and you gain 2 life.
mana={2}{B}
type=Creature
subtype=Vampire Rogue
power=2
toughness=1
[/card]
[card]
name=Noggle Hedge-Mage
auto=if type(island|mybattlefield)~morethan~1 then target(<2>*|battlefield) tap(noevent)
auto=if type(mountain|mybattlefield)~morethan~1 then target(player) damage:2
text=When Noggle Hedge-Mage enters the battlefield, if you control two or more Islands, you may tap two target permanents. -- When Noggle Hedge-Mage enters the battlefield, if you control two or more Mountains, you may have Noggle Hedge-Mage deal 2 damage to target player.
mana={2}{UR}
type=Creature
subtype=Noggle Wizard
power=2
toughness=2
[/card]
[card]
name=North Star
auto={4}{T}:target(*|mycastingzone) transforms((,newability[anytypeofmana])) ueot
text={4}, {T}: For one spell this turn, you may spend mana as though it were mana of any color to pay that spell's mana cost. (Additional costs are still paid normally.)
mana={4}
type=Artifact
[/card]
[card]
name=Nostalgic Dreams
abilities=exiledeath
auto=choice name(Discard any number of cards) target(<anyamount>*|myhand) reject and!( transforms((,newability[name(Return card from graveyard) target(*|mygraveyard) moveTo(myhand)])) oneshot )!
text=As an additional cost to cast Nostalgic Dreams, discard X cards. -- Return X target cards from your graveyard to your hand. Exile Nostalgic Dreams.
mana={G}{G}
type=Sorcery
[/card]
[card]
name=Notion Rain
aicode=activate transforms((,newability[surveil],newability[draw:2 controller],newability[damage:2 controller])) oneshot
auto=name(surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend2>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed damage:2 controller && draw:2 controller && surveil afterrevealedend revealend
text=Surveil 2, then draw two cards. Notion Rain deals 2 damage to you. (To surveil 2, look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.)
mana={1}{U}{B}
type=Sorcery
[/card]
[card]
name=Notion Thief
abilities=flash
auto=@drawfoeof(player) restriction{opponentturnonly,compare(odrewcount)~morethan~1}:name(You draw instead) transforms((,newability[all(*[zpos=type:*:opponenthand]|opponenthand) moveto(ownerlibrary)],newability[draw:1 controller])) oneshot
auto=@drawfoeof(player) restriction{myturnonly}:name(You draw instead) transforms((,newability[all(*[zpos=type:*:opponenthand]|opponenthand) moveto(ownerlibrary)],newability[draw:1 controller])) oneshot
text=Flash -- If an opponent would draw a card except the first one he or she draws in each of his or her draw steps, instead that player skips that draw and you draw a card.
mana={2}{U}{B}
type=Creature
subtype=Human Rogue
power=3
toughness=1
[/card]
[card]
name=Novellamental
abilities=flying,cloud
text=Flying -- Novellamental can block only creatures with flying.
mana={1}{U}
type=Creature
subtype=Elemental
power=2
toughness=1
[/card]
[card]
name=Novice Dissector
auto={1}{S(other creature[-Novice Dissector]|mybattlefield)}:name(Put 1/1 counter) target(creature) counter(1/1) asSorcery
text={1}, Sacrifice another creature: Put a +1/+1 counter on target creature. Activate only as a sorcery.
mana={3}{B}
type=Creature
subtype=Troll Warlock
power=3
toughness=3
[/card]
[card]
name=Novice Knight
abilities=defender
auto=this(auras) canattack
auto=this(gear) canattack
text=Defender (This creature can't attack.) -- As long as Novice Knight is enchanted or equipped, it can attack as though it didn't have defender.
mana={W}
type=Creature
subtype=Human Knight
power=2
toughness=3
[/card]
[card]
name=Novice Occultist
auto=_DIES_name(Draw and lose life) draw:1 controller && life:-1 controller
text=When Novice Occultist dies, you draw a card and you lose 1 life.
mana={1}{B}
type=Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Noxious Grasp
target=creature[white;green],planeswalker[white;green]
auto=destroy
auto=life:1
text=Destroy target creature or planeswalker that's green or white. You gain 1 life.
mana={1}{B}
type=Instant
[/card]
[card]
name=Noxious Groodion
abilities=deathtouch
text=Deathtouch
mana={2}{B}
type=Creature
subtype=Beast
power=2
toughness=2
[/card]
[card]
name=Null Profusion
auto=phasealter(remove,draw,controller)
auto=@movedTo(*[-land]|mystack):draw:1 controller
auto=_LANDFALL_draw:1 controller
auto=hmodifer:-5 controller
text=Skip your draw step. -- Whenever you play a card, draw a card. -- Your maximum hand size is two.
mana={4}{B}{B}
type=Enchantment
[/card]
[card]
name=Nullhide Ferox
abilities=opponentshroud
auto=maxCast(*[-creature])0
auto={2}:transforms((,newability[loseabilities])) ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) loseabilities notatarget(Nullhide Ferox|opponentBattlefield)ueot?donothing!$ opponent])) forever
autograveyard=while(restriction{discardbyopponent}) moveto(ownerbattlefield)
text=Hexproof -- You can't cast noncreature spells. -- {2}: Nullhide Ferox loses all abilities until end of turn. Any player may activate this ability. -- If a spell or ability an opponent controls causes you to discard Nullhide Ferox, put it onto the battlefield instead of putting it into your graveyard.
mana={2}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Nullpriest of Oblivion
abilities=menace,lifelink
kicker={3}{B}
auto=if paid(kicker) then moveTo(myBattlefield) target(creature|myGraveyard)
text=Kicker {4}{B} -- Menace, lifelink -- When Nullpriest of Oblivion enters the battlefield, if it was kicked, return target creature card from your graveyard to the battlefield.
mana={1}{B}
type=Creature
subtype=Vampire Cleric
power=2
toughness=1
[/card]
[card]
name=Numa, Joraga Chieftain
abilities=partner
auto={X}{X} restriction{attackersonly}:name(Distribute counters) thisforeach(variable{halfpaid}) ability$!name(Choose elf) name(Choose elf) counter(1/1) target(creature[elf])!$ controller limit:1
text=At the beginning of combat on your turn, you may pay {X}{X} . When you do, distribute X +1/+1 counters among any number of target Elves. -- Partner (You can have two commanders if both have partner.)
mana={2}{G}
type=Legendary Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Numbing Jellyfish
auto=all(this) rolld6 6 winability deplete:lastrollresult opponent winabilityend loseability deplete:lastrollresult opponent loseabilityend rolld6end
text=When this creature enters the battlefield, roll a six-sided die. Target player puts the top X cards of their library into their graveyard, where X is the result.
mana={3}{U}
type=Host Creature
subtype=Jellyfish
power=2
toughness=3
[/card]
[card]
name=Nurturing Peatland
auto={T}{L:1}:Add{G}
auto={T}{L:1}:Add{B}
auto={1}{T}{S}:draw:1
text={T}, Pay 1 life: Add {B} or {G}. -- {1}, {T}, Sacrifice Nurturing Peatland: Draw a card.
type=Land
[/card]
[card]
name=Nykthos Paragon
auto=@lifeof(player) from(*[-lifefaker]|*) turnlimited:may name(Put 1/1 counters) counter(1/1,thatmuch) all(creature|myBattlefield)
text=Whenever you gain life, you may put that many +1/+1 counters on each creature you control. Do this only once each turn.
mana={4}{W}{W}
type=Enchantment Creature
subtype=Human Soldier
power=4
toughness=6
[/card]
[card]
name=Nylea's Forerunner
abilities=Trample
auto=lord(other creature|myBattlefield) trample
text=Trample -- Other creatures you control have trample.
mana={4}{G}
type=Enchantment Creature
subtype=Beast
power=5
toughness=3
[/card]
[card]
name=Nylea's Huntmaster
auto=target(creature|myBattlefield) type:manaG:myBattlefield/type:manaG:myBattlefield ueot
text=When Nylea's Huntmaster enters the battlefield, target creature you control gets +X/+0 until end of turn, where X is your devotion to green. (Each {G} in the mana costs of permanents you control counts towards your devotion to green.)
mana={3}{G}
type=Creature
subtype=Centaur Shaman
power=4
toughness=3
[/card]
[card]
name=Nylea's Intervention
abilities=hiddenface
aicode=activate transforms((,newability[moveto(myhand) all(*[zpos=X]|mylibrary) && shuffle ueot
auto=Choice name(Look X cards) reveal:X optionone name(Get a card) target(<1>*[land]|reveal) moveto(myhand) optiononeend revealend && shuffle
auto=Choice name(Deals X damage) damage:X all(creature[flying]) && damage:X all(creature[flying])
text=Choose one -- Search your library for up to X land cards, reveal them, put them into your hand, then shuffle your library. -- Nylea's Intervention deals twice X damage to each creature with flying.
mana={X}{G}{G}
type=Sorcery
[/card]
[card]
name=Nylea, Keen-Eyed
abilities=indestructible
aicode=activate transforms((,newability[if type(creature[zpos=1]|mylibrary)~morethan~0 then target(creature[zpos=1]|mylibrary) moveto(myhand) else target(*[zpos=1]|mylibrary) moveto(mygraveyard)])) ueot
auto=this(variable{type:manag}<5) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{type:manag}>4) transforms((Legendary Enchantment Creature))
auto=lord(creature|mycastingzone) altercost( colorless,-1)
auto={2}{G}:reveal:1 optionone target(creature|reveal) moveto(myhand) optiononeend optiontwo name(Put in grave) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Indestructible -- As long as your devotion to green is less than five, Nylea isn't a creature. -- Creature spells you cast cost {1} less to cast. -- {2}{G}: Reveal the top card of your library. If it's a creature card, put it into your hand. Otherwise, you may put it into your graveyard.
mana={3}{G}
type=Legendary Enchantment Creature
subtype=God
power=5
toughness=6
[/card]
[card]
name=Nymris, Oona's Trickster
abilities=flash,flying
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:name(Look 2 cards) reveal:2 optionone name(Put in hand) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(Put in graveyard) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Flash -- Flying -- Whenever you cast your first spell during each opponent's turn, look at the top two cards of your library. Put one of those cards into your hand and the other into your graveyard.
mana={3}{U}{B}
type=Legendary Creature
subtype=Faerie Knight
power=1
toughness=6
[/card]
[card]
name=Nyx Herald
auto=@each my combatbegins restriction{type(creature[auras>=1],enchantment creature|mybattlefield)~morethan~0}:1/1 target(creature|myBattlefield) && trample ueot
text=At the beginning of combat on your turn, target enchanted creature or enchantment creature you control gets +1/+1 and gains trample until end of turn.
mana={2}{G}
type=Enchantment Creature
subtype=Centaur Shaman
power=2
toughness=3
[/card]
[card]
name=Nyx Lotus
auto=tap(noevent)
auto={T}:name(Add White equal to devotion to white) thisforeach(variable{type:manaW}>0) add{W}
auto={T}:name(Add Blue equal to devotion to blue) thisforeach(variable{type:manaU}>0) add{U}
auto={T}:name(Add Black equal to devotion to black) thisforeach(variable{type:manaB}>0) add{B}
auto={T}:name(Add Red equal to devotion to red) thisforeach(variable{type:manaR}>0) add{R}
auto={T}:name(Add Green equal to devotion to green) thisforeach(variable{type:manaG}>0) add{G}
text=Nyx Lotus enters the battlefield tapped. -- {T}: Choose a color. Add an amount of mana of that color equal to your devotion to that color. (Your devotion to a color is the number of mana symbols of that color in the mana costs of permanents you control.)
mana={4}
type=Legendary Artifact
[/card]
[card]
name=Nyxbloom Ancient
abilities=trample
auto=lord(*|myBattlefield) transforms((,newability[producecolor:land],newability[producecolor:green],newability[producecolor:blue],newability[producecolor:red],newability[producecolor:black],newability[producecolor:white]))
auto=lord(*|myBattlefield) transforms((,newability[producecolor:land],newability[producecolor:green],newability[producecolor:blue],newability[producecolor:red],newability[producecolor:black],newability[producecolor:white]))
text=Trample -- If you tap a permanent for mana, it produces three times as much of that mana instead.
mana={4}{G}{G}{G}
type=Enchantment Creature
subtype=Elemental
power=5
toughness=5
[/card]
[card]
name=Nyxborn Brute
mana={3}{R}{R}
type=Enchantment Creature
subtype=Cyclops
power=7
toughness=3
[/card]
[card]
name=Nyxborn Colossus
mana={3}{G}{G}{G}
type=Enchantment Creature
subtype=Giant
power=6
toughness=7
[/card]
[card]
name=Nyxborn Courser
mana={1}{W}{W}
type=Enchantment Creature
subtype=Centaur Scout
power=2
toughness=4
[/card]
[card]
name=Nyxborn Marauder
mana={2}{B}{B}
type=Enchantment Creature
subtype=Minotaur
power=4
toughness=3
[/card]
[card]
name=Nyxborn Seaguard
mana={2}{U}{U}
type=Enchantment Creature
subtype=Merfolk Soldier
power=2
toughness=5
[/card]
[card]
name=O-Kagachi, Vengeful Kami
abilities=flying,trample
auto=@combat(attacking) source(creature|opponentbattlefield) restriction{opponentturnonly}:counter(0/0,1,KamiEffect) all(this)
auto=@combatdamagefoeof(player) from(this):this(counter{0/0.1.KamiEffect}>=1) name(Exile non-land permanent) name(Exile non-land permanent) transforms((,newability[moveto(exile) target(*[-land]|opponentbattlefiled)])) oneshot
auto=@each my endturn:removeallcounters(0/0,1,KamiEffect) all(this)
text=Flying, trample -- Whenever O-Kagachi, Vengeful Kami deals combat damage to a player, if that player attacked you during their last turn, exile target nonland permanent that player controls.
mana={1}{W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Dragon Spirit
power=6
toughness=6
[/card]
[card]
name=Oakhame Adversary
abilities=deathtouch
auto=aslongas(*[green]|opponentbattlefield) altercost(colorless,-2) >0
auto=@combatdamaged(player) from(this):draw:1
text=This spell costs {2} less to cast if an opponent controls a green permanent. -- Deathtouch -- Whenever Oakhame Adversary deals combat damage to a player, draw a card.
mana={3}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=3
[/card]
[card]
name=Oakhame Ranger // Bring Back
abilities=adventure
other={1}{B} name(Adventure)
auto=if paid(alternative) then name(Create 2 humans) token(Human,Creature Human,1/1,white)*2
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto={T}:all(creature|mybattlefield) 1/1 ueot
text={T}: Creatures you control get +1/+1 until end of turn. // Create two 1/1 white Human creature tokens. (Then exile this card. You may cast the creature later from exile.)
mana={GW}{GW}{GW}{GW}
type=Creature
subtype=Elf Knight
power=2
toughness=2
[/card]
[card]
name=Oashra Cultivator
auto={2}{G}{T}{S}:moveto(mybattlefield) target(basic|mylibrary) && tap
text={2}{G}, {T}, Sacrifice Oashra Cultivator: Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={G}
type=Creature
subtype=Human Druid
power=0
toughness=3
[/card]
[card]
name=Oasis Ritualist
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
auto=@exerted(this):choice add{W}{W}
auto=@exerted(this):choice add{U}{U}
auto=@exerted(this):choice add{B}{B}
auto=@exerted(this):choice add{R}{R}
auto=@exerted(this):choice add{G}{G}
auto={T}:exert
text={T}: Add one mana of any color to your mana pool. -- {T}, Exert Oasis Ritualist: Add two mana of any one color to your mana pool. (An exerted creature won't untap during your next untap step.)
mana={3}{G}
type=Creature
subtype=Naga Druid
power=2
toughness=4
[/card]
[card]
name=Oath of Kaya
auto=damage:3 target(player,creature,planeswalker)
auto=life:3 controller
auto=@counterremoved(0/0,1,Loyalty) from(planeswalker|myBattlefield) restriction{opponentturnonly}:damage:2 opponent && life:2 controller
text=When Oath of Kaya enters the battlefield, it deals 3 damage to any target and you gain 3 life. -- Whenever an opponent attacks a planeswalker you control with one or more creatures, Oath of Kaya deals 2 damage to that player and you gain 2 life.
mana={1}{W}{B}
type=Legendary Enchantment
[/card]
[card]
name=Oath of Lim-Dul
auto=@lifelostof(player):name(Choose one) ability$!name(discard cards) choice name(discard cards) discard:storedthatmuch controller _ choice name(sacrifice permanents) sacrifice notatarget(<storedthatmuch>*[-Oath of Lim-Dul]|mybattlefield)!$ controller
auto={B}{B}: draw:1 controller
text=Whenever you lose life, for each 1 life you lost, sacrifice a permanent other than Oath of Lim-Dul unless you discard a card. (Damage dealt to you causes you to lose life.) -- {B}{B}: Draw a card.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Oathsworn Knight
abilities=mustattack,phantom
auto=counter(1/1,4)
text=Oathsworn Knight enters the battlefield with four +1/+1 counters on it. -- Oathsworn Knight attacks each combat if able. -- If damage would be dealt to Oathsworn Knight while it has a +1/+1 counter on it, prevent that damage and remove a +1/+1 counter from it.
mana={1}{B}{B}
type=Creature
subtype=Human Knight
power=0
toughness=0
[/card]
[card]
name=Oathsworn Vampire
auto=tap(noevent)
autograveyard={1}{B}:moveTo(myBattlefield) asSorcery restriction{compare(lifegain)~morethan~0}
text=Oathsworn Vampire enters the battlefield tapped. -- You may cast Oathsworn Vampire from your graveyard if you gained life this turn.
mana={1}{B}
type=Creature
subtype=Vampire Knight
power=2
toughness=2
[/card]
[card]
name=Ob Nixilis's Cruelty
target=creature
auto=exiledeath
auto=-5/-5
text=Target creature gets -5/-5 until end of turn. If that creature would die this turn, exile it instead.
mana={2}{B}
type=Instant
[/card]
[card]
name=Obeka, Brute Chronologist
auto={T}:nextphasealter(remove,draw,opponent) && nextphasealter(remove,firstmain,opponent) && nextphasealter(remove,combatbegin,opponent) && nextphasealter(remove,combatattackers,opponent) && nextphasealter(remove,combatblockers,opponent) && nextphasealter(remove,combatdamage,opponent) && nextphasealter(remove,combatend,opponent) && nextphasealter(remove,secondmain,opponent) opponentturnonly
auto={T}:nextphasealter(remove,draw,controller) && nextphasealter(remove,firstmain,controller) && nextphasealter(remove,combatbegin,controller) && nextphasealter(remove,combatattackers,controller) && nextphasealter(remove,combatblockers,controller) && nextphasealter(remove,combatdamage,controller) && nextphasealter(remove,combatend,controller) && nextphasealter(remove,secondmain,controller) myTurnOnly
text={T}: The player whose turn it is may end the turn. (Exile all spells and abilities from the stack. The player whose turn it is discards down to their maximum hand size. Damage wears off, and "this turn" and "until end of turn" effects end.)
mana={1}{U}{B}{R}
type=Legendary Creature
subtype=Ogre Wizard
power=3
toughness=4
[/card]
[card]
name=Obelisk Spider
abilities=reach
auto=@combatdamaged(creature) from(this):counter(-1/-1,1) all(trigger[to])
auto=@counteradded(-1/-1):life:-1 opponent && life:1 controller
text=Reach -- Whenever Obelisk Spider deals combat damage to a creature, put a -1/-1 counter on that creature. -- Whenever you put one or more -1/-1 counters on a creature, each opponent loses 1 life and you gain 1 life.
mana={1}{B}{G}
type=Creature
subtype=Spider
power=1
toughness=4
[/card]
[card]
name=Oblivion's Hunger
target=creature|myBattlefield
auto=indestructible ueot
auto=if cantargetcard(creature[counter{1/1.1}]) then draw:1 controller
text=Target creature you control gains indestructible until end of turn. Draw a card if that creature has a +1/+1 counter on it. (Damage and effects that say "destroy" don't destroy that creature.)
mana={1}{B}
type=Instant
[/card]
[card]
name=Obscuring Haze
auto=preventAllCombatDamage from(creature|opponentbattlefield) ueot
other={0} name(Cast without Paying its Mana Cost)
otherrestriction=type(*[iscommander]|mybattlefield)~morethan~0
text=If you control a commander, you may cast this spell without paying its mana cost. -- Prevent all damage that would be dealt this turn by creatures your opponents control.
mana={2}{G}
type=Instant
[/card]
[card]
name=Obsessive Astronomer
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):may name(Discard and draw) target(<upto:2>*|myhand) reject and!( draw:1 controller )!
text=If it's neither day nor night, it becomes day as Obsessive Astronomer enters the battlefield. -- Whenever day becomes night or night becomes day, discard up to two cards, then draw that many cards.
type=Creature
subtype=Human Wizard
mana={1}{R}
power=2
toughness=2
[/card]
[card]
name=Obsessive Stitcher
auto={T}:draw:1 controller && transforms((,newability[target(*|myhand) reject])) forever
auto={2}{U}{B}{T}{S}:moveTo(myBattlefield) target(creature|myGraveyard)
text={T} -- : Draw a card, then discard a card. -- {2}{U}{B}, {T}, Sacrifice Obsessive Stitcher: Return target creature card from your graveyard to the battlefield.
mana={1}{U}{B}
type=Creature
subtype=Human Wizard
power=0
toughness=3
[/card]
[card]
name=Obsidian Charmaw
abilities=flying
autoexile=thisforeach(variable{olandc}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{olandc}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{olandc}>0) changecost(colorless:-1) forcedalive
auto=name(Destroy land) target(land[-basic]|opponentBattlefield) destroy
text=This spell costs {1} less to cast for each land your opponents control that could produce {C}. -- Flying -- When Obsidian Charmaw enters the battlefield, destroy target nonbasic land an opponent controls.
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Obuun, Mul Daya Ancestor
auto=@each my combatbegins restriction{compare(power)~equalto~1}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=1,settoughness=1,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~2}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=2,settoughness=2,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~3}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=3,settoughness=3,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~4}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=4,settoughness=4,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~5}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=5,settoughness=5,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~6}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=6,settoughness=6,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~7}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=7,settoughness=7,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~8}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=8,settoughness=8,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~9}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=9,settoughness=9,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~10}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=10,settoughness=10,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~11}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=11,settoughness=11,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~12}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=12,settoughness=12,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~13}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=13,settoughness=13,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~14}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=14,settoughness=14,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~15}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=15,settoughness=15,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~16}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=16,settoughness=16,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~17}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=17,settoughness=17,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~18}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=18,settoughness=18,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~equalto~19}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=19,settoughness=19,trample,haste)) ueot
auto=@each my combatbegins restriction{compare(power)~morethan~19}:may target(land|mybattlefield) transforms((Elemental Creature,setpower=20,settoughness=20,trample,haste)) ueot
auto=_LANDFALL_counter(1/1) target(creature|mybattlefield)
text=At the beginning of combat on your turn, up to one target land you control becomes an X/X Elemental creature with trample and haste until end of turn, where X is Obuun's power. It's still a land. -- Landfall - Whenever a land enters the battlefield under your control, put a +1/+1 counter on target creature.
mana={1}{R}{G}{W}
type=Legendary Creature
subtype=Elf Spirit
power=3
toughness=3
[/card]
[card]
name=Ochran Assassin
abilities=deathtouch, lure
text=Deathtouch -- All creatures able to block Ochran Assassin do so.
mana={1}{B}{G}
type=Creature
subtype=Elf Assassin
power=1
toughness=1
[/card]
[card]
name=Ochre Jelly
abilities=trample
auto={0}:destroy
auto=if cantargetcard(*[token]|*) then counter(1/1) else counter(1/1,x)
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~2}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly)])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~3}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly)])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~4}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.1) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~5}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.1) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~6}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.2) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~7}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.2) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~8}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.3) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~9}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.3) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~10}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.4) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~11}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.4) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~12}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.5) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~13}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.5) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~14}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.6) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~15}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.6) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~16}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.7) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~17}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.7) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~18}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.8) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~equalto~19}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.8) )! ])) ueot!$ controller
auto=@movedTo(this|graveyard) from(battlefield) restriction{compare(hascnt11)~morethan~19}:ability$!name(Create copy) emblem transforms((,newability[@each endofturn:token(Ochre Jelly) and!( counter(1/1.9) )! ])) ueot!$ controller
text=Trample -- Ochre Jelly enters the battlefield with X +1/+1 counters on it. -- Split - When Ochre Jelly dies, if it had two or more +1/+1 counters on it, create a token that's a copy of it at the beginning of the next end step. That token enters the battlefield with half that many +1/+1 counters on it, rounded down.
mana={X}{G}
type=Creature
subtype=Ooze
power=0
toughness=0
[/card]
[card]
name=Octavia, Living Thesis
other={U}{U}
otherrestriction=type(*[instant;sorcery]|mygraveyard)~morethan~7
restriction=type(*[instant;sorcery]|mygraveyard)~lessthan~8
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 8 more) name(This spell costs 8 more) target(*|opponentzones) transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?fizzle])) oneshot
auto=@movedto(*[instant;sorcery]|mystack):name(Choose creature) target(creature|battlefield) becomes(,8/8) ueot
text=This spell costs {8} less to cast if you have eight or more instant and/or sorcery cards in your graveyard. -- Ward {8} -- Magecraft - Whenever you cast or copy an instant or sorcery spell, target creature has base power and toughness 8/8 until end of turn.
mana={8}{U}{U}
type=Legendary Creature
subtype=Elemental Octopus
power=8
toughness=8
[/card]
[card]
name=Octoprophet
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=When Octoprophet enters the battlefield, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={3}{U}
type=Creature
subtype=Octopus
power=3
toughness=3
[/card]
[card]
name=Octopus Umbra
abilities=totemarmor
target=creature
auto=teach(creature) transforms((,newability[_ATTACKING_may tap target(creature)]))
auto=teach(creature) becomes(,8/8)
text=Enchant creature -- Enchanted creature has base power and toughness 8/8 and has "Whenever this creature attacks, you may tap target creature with power 8 or less." -- Totem armor (If enchanted creature would be destroyed, instead remove all damage from it and destroy this Aura.)
mana={3}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Odric's Outrider
auto=@movedto(creature|graveyard) from(myBattlefield):name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)
text=Whenever Odric's Outrider or another creature you control dies, put a +1/+1 counter on target creature you control.
type=Creature
subtype=Human Knight
mana={3}{W}
power=2
toughness=4
[/card]
[card]
name=Odric, Master Tactician
abilities=first strike
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~2}:target(<anyamount>creature|battlefield) mustblock ueot all(other creature) cantblock ueot
text=First strike (This creature deals combat damage before creatures without first strike.) -- Whenever Odric, Master Tactician and at least three other creatures attack, you choose which creatures block this combat and how those creatures block.
mana={2}{W}{W}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=4
[/card]
[card]
name=Of One Mind
anyzone=if type(human|myBattlefield)~morethan~0 then changecost(colorless:-1) forcedalive
anyzone=if type(creature[-human]|myBattlefield)~morethan~0 then changecost(colorless:-1) forcedalive
auto=draw:2 controller
text=This spell costs {2} less to cast if you control a Human creature and a non-Human creature. -- Draw two cards.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Offspring's Revenge
auto=@each my combatbegins:may target(creature[red;white;black]|mygraveyard) clone and!( transforms((,setpower=1,settoughness=1,haste ueot)) forever )! && moveTo(exile)
text=At the beginning of combat on your turn, exile target red, white, or black creature card from your graveyard. Create a token that's a copy of that card, except it's 1/1. It gains haste until your next turn.
mana={2}{R}{W}{B}
type=Enchantment
[/card]
[card]
name=Oggyar Battle-Seer
abilities=haste
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={T}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Haste -- {T}: Scry 1.
mana={3}{U}{R}
type=Creature
subtype=Ogre Shaman
power=3
toughness=4
[/card]
[card]
name=Ogre Errant
auto=_ATTACKING_target(knight[attacking]) menace ueot
text=Whenever Ogre Errant attacks, another target attacking Knight gains menace until end of turn. (It can't be blocked except by two or more creatures.)
mana={3}{R}
type=Creature
subtype=Ogre Knight
power=3
toughness=4
[/card]
[card]
name=Ogre Marauder
text=Whenever Ogre Marauder attacks, it gains "Ogre Marauder can't be blocked" until end of turn unless defending player sacrifices a creature.
auto=_ATTACKING_ability$!name(choose one) if type(creature|mybattlefield)~morethan~0 then choice sacrifice notatarget(creature|mybattlefield) _ choice all(mysource) unblockable ueot!$ opponent
mana={1}{B}{B}
type=Creature
subtype=Ogre Warrior
power=3
toughness=1
[/card]
[card]
name=Ogre Painbringer
auto=damage:3 all(player)
text=When Ogre Painbringer enters the battlefield, it deals 3 damage to each player.
mana={3}{R}{R}
type=Creature
subtype=Ogre
power=7
toughness=3
[/card]
[card]
name=Ogre Siegebreaker
auto={2}{B}{R}:destroy target(creature[damaged])
text={2}{B}{R}: Destroy target creature that was dealt damage this turn.
mana={2}{B}{R}
type=Creature
subtype=Ogre Berserker
power=4
toughness=3
[/card]
[card]
name=Ohran Frostfang
auto=lord(creature[attacking]|mybattlefield) deathtouch
auto=@combatdamaged(player) from(creature|myBattlefield):draw:1
text=Attacking creatures you control have deathtouch. -- Whenever a creature you control deals combat damage to a player, draw a card.
mana={3}{G}{G}
type=Snow Creature
subtype=Snake
power=2
toughness=6
[/card]
[card]
name=Ojutai's Command
auto=choice name(Choose 1 and 2) target(creature[manacost<=2]|mygraveyard) moveto(mybattlefield && life:4 controller
auto=choice name(Choose 1 and 3) target(creature[manacost<=2]|mygraveyard) moveto(mybattlefield and!( transforms((,newability[name(Counter spell) fizzle target(*|stack)])) oneshot )!
auto=choice name(Choose 1 and 4) target(creature[manacost<=2]|mygraveyard) moveto(mybattlefield && draw:1 controller
auto=choice name(Choose 2 and 3) life:4 controller && fizzle target(*|stack) 
auto=choice name(Choose 2 and 4) life:4 controller && draw:1 controller
auto=choice name(Choose 3 and 4) fizzle target(*|stack) && draw:1 controller
text=Choose two -- Return target creature card with converted mana cost 2 or less from your graveyard to the battlefield. -- You gain 4 life. -- Counter target creature spell. -- Draw a card.
mana={2}{W}{U}
type=Instant
[/card]
[card]
name=Oketra the True
abilities=double strike,indestructible
auto=aslongas(creature|mybattlefield) cantattack <4
auto=aslongas(creature|mybattlefield) cantpwattack <4 
auto=aslongas(creature|mybattlefield) cantblock <4 
auto={3}{W}:token(Warrior,creature Warrior,1/1,white,vigilance)
text=Double strike, indestructible -- Oketra the True can't attack or block unless you control at least three other creatures. -- {3}{W}: Create a 1/1 white Warrior creature token with vigilance.
mana={3}{W}
type=Legendary Creature
subtype=God
power=3
toughness=6
[/card]
[card]
name=Oketra's Attendant
abilities=flying,cycling
autohand=__CYCLING__({2})
autograveyard={3}{W}{W}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Flying -- Cycling {2} ({2}, Discard this card: Draw a card.) -- Embalm {3}{W}{W} ({3}{W}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Bird Soldier with no mana cost. Embalm only as a sorcery.)
mana={3}{W}{W}
type=Creature
subtype=Bird Soldier
power=3
toughness=3
[/card]
[card]
name=Oketra's Avenger
auto=@exerted(this):preventalldamage to(this)
auto=_ATTACKING_may exert
text=You may exert Oketra's Avenger as it attacks. When you do, prevent all combat damage that would be dealt to it this turn. (An exerted creature won't untap during your next untap step.)
mana={1}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=1
[/card]
[card]
name=Oketra's Last Mercy
auto=lifeset:startinglife
auto=all(land|mybattlefield) frozen
text=Your life total becomes equal to your starting life total. Lands you control don't untap during your next untap step.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Oketra's Monument
auto=lord(creature[white]|mycastingzone) altercost(colorless,-1)
auto=@movedto(creature|mystack):token(Warrior,creature Warrior,1/1,white,vigilance)
text=White creature spells you cast cost {1} less to cast. -- Whenever you cast a creature spell, create a 1/1 white Warrior creature token with vigilance.
mana={3}
type=Legendary Artifact
[/card]
[card]
name=Oko's Accomplices
abilities=flying
text=Flying
mana={2}{U}
type=Creature
subtype=Faerie
power=2
toughness=3
[/card]
[card]
name=Oko's Hospitality
auto=lord(creature|battlefield) transforms((,setpower=3,settoughness=3)) ueot
auto=moveto(myhand) target(Oko^ the Trickster|mylibrary)
auto=moveto(myhand) target(Oko^ the Trickster|mygraveyard)
text=Creatures you control have base power and toughness 3/3 until end of turn. You may search your library and/or graveyard for a card named Oko, the Trickster, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{G}{U}
type=Instant
[/card]
[card]
name=Olag, Ludevic's Hubris
backside=Ludevic, Necrogenius
auto=name(Copy exiled creature) target(creature[fresh]|myexile) copy options(keepname) and!( transforms((Legendary Zombie,setpower=4,settoughness=4,blue,black)) forever )!
text=As this permanent transforms into Olag, Ludevic's Hubris, it becomes a copy of one of the exiled cards, except it's name is still Olag, Ludevic's Hubris, it has base power and toughness 4/4, and it's a black and blue Legendary Zombie in addition to its other colors and types. Put a +1/+1 counter on it for each card exiled this way. // Ludevic, Necrogenius
type=Legendary Creature
subtype=Zombie
color=blue,black
power=4
toughness=4
[/card]
[card]
name=Old Gnawbone
abilities=flying
auto=@combatdamaged(player) from(creature|mybattlefield):name(Create treasure) token(Treasure Sur)*thatmuch
text=Flying -- Whenever a creature you control deals combat damage to a player, create that many Treasure tokens.
mana={5}{G}{G}
type=Legendary Creature
subtype=Dragon
power=7
toughness=7
[/card]
[card]
name=Old Stickfingers
anyzone=type:creature:mygraveyard/type:creature:mygraveyard cdaactive
auto=if type(creature|mygraveyard)~equalto~0 then if compare(fullpaid)~morethan~0 then transforms((,newability[counter(1/1),newability[@movedTo(creature|mygraveyard) turnlimited:counter(1/1.-1)])) ueot
auto=if compare(ishuman)~equalto~0 then name(Reveal from top) name(Reveal from top) target(<fullpaid>creature|mylibrary) moveTo(mygraveyard) and!( shuffle )!
auto=if compare(ishuman)~morethan~0 then name(Reveal from top) name(Reveal from top) thisforeach(variable{fullpaid}>0) ability$!name(Reveal) reveal:1 revealuntil(creature|mylibrary) optionone name(Put creature in graveyard) target(creature|myreveal) moveto(mygraveyard) optiononeend optiontwo name(Put on bottom) all(*|myreveal) bottomoflibrary optiontwoend revealend!$ controller
text=When you cast this spell, reveal cards from the top of your library until you reveal X creature cards. Put all the creature cards revealed this way into your graveyard and the rest on the bottom of your library in a random order. -- Old Stickfingers' power and toughness are equal to the number of creature cards in your graveyard.
type=Legendary Creature
subtype=Horror
mana={X}{B}{G}
power=*
toughness=*
[/card]
[card]
name=Old-Growth Dryads
auto=moveto(mybattlefield) target(basic|mylibrary) && tap
text=When Old-Growth Dryads enters the battlefield, each opponent may search his or her library for a basic land card, put it onto the battlefield tapped, then shuffle his or her library.
mana={G}
type=Creature
subtype=Dryad
power=3
toughness=3
[/card]
[card]
name=Old-Growth Troll
abilities=trample
auto=this(cantargetcard(*[creature]) transforms((,newability[_DIES_name(Return as enchantment) target(Old-Growth Troll[fresh]|mygraveyard) activate castcard(alternative)]))
auto=if paid(alternative) then name(Enchant Forest) name(Enchant Forest) target(land[forest]|mybattlefield) transforms((,newability[counter(0/0.1.TrollEffect)],newability[this(counter{0/0.1.TrollEffect}>0) {T}:add{G}{G}],newability[this(counter{0/0.1.TrollEffect}>0) {1}{T}{S}:token(Troll^Creature Troll Warrior^4/4^green^trample)])) forever
auto=if paid(alternative) then transforms((removetypes,newability[becomes(enchantment aura)])) forever
auto=if paid(alternative) then transforms((,newability[_DIES_name(Terminate effect) target(forest[counter{0/0.1.TrollEffect}]|mybattlefield) counter(0/0.-1.TrollEffect)]))
auto=if paid(alternative) then transforms((,newability[@movedTo(forest[counter{0/0.1.TrollEffect}]|mygraveyard) from(mybattlefield):name(Terminate effect) target(Old-Growth Troll[aura]|mybattlefield) moveto(mygraveyard)]))
text=Trample -- When Old-Growth Troll dies, if it was a creature, return it to the battlefield. it's an Aura enchantment with enchant Forest you control and Enchanted Forest has "{T}: Add {G}{G}" and "{1}, {T}, Sacrifice this land: Create a 4/4 green Troll Warrior creature token with trample."
mana={G}{G}{G}
type=Creature
subtype=Troll Warrior
power=4
toughness=4
[/card]
[card]
name=Olivia's Midnight Ambush
target=creature
auto=if type(night|battlefield)~morethan~0 then -13/-13 ueot else -2/-2 ueot
text=Target creature gets -2/-2 until end of turn. If it's night, that creature gets -13/-13 until end of turn instead.
mana={1}{B}
type=Instant
[/card]
[card]
name=Oloro, Ageless Ascetic
auto=@each my upkeep:life:2 controller
auto=@lifeof(player) from(*[-lifefaker]|*):pay({1}) draw:1 controller && life:-1 opponent
autocommandzone=@each my upkeep:life:2 controller
text=At the beginning of your upkeep, you gain 2 life. -- Whenever you gain life, you may pay {1}. If you do, draw a card and each opponent loses 1 life. -- At the beginning of your upkeep, if Oloro, Ageless Ascetic is in the command zone, you gain 2 life.
mana={3}{W}{U}{B}
type=Legendary Creature
subtype=Giant Soldier
power=4
toughness=5
[/card]
[card]
name=Omen of Fire
auto=moveTo(ownerhand) all(island)
auto=foreach(*[white]|mybattlefield) name(Choose one) ability$!name(Sacrifice plains) choice name(Sacrifice plains) sacrifice target(plains|mybattlefield) _ choice name(Sacrifice white permanent) sacrifice notatarget(*[white]|mybattlefield)!$ controller
auto=foreach(*[white]|opponentBattlefield) name(Choose one) ability$!name(Sacrifice plains) choice name(Sacrifice plains) sacrifice target(plains|mybattlefield) _ choice name(Sacrifice white permanent)sacrifice notatarget(*[white]|mybattlefield)!$ opponent
text=Return all Islands to their owners' hands. -- Each player sacrifices a Plains or a white permanent for each white permanent he or she controls.
mana={3}{R}{R}
type=Instant
[/card]
[card]
name=Omen of the Dead
abilities=flash
auto=moveto(myHand) target(creature|myGraveyard)
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={2}{W}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flash -- When Omen of the Dead enters the battlefield, return target creature card from your graveyard to your hand. -- {2}{B}, Sacrifice Omen of the Dead: Scry 2.
mana={B}
type=Enchantment
[/card]
[card]
name=Omen of the Forge
abilities=flash
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=damage:2 target(player,creature,planeswalker)
auto={2}{R}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flash -- When Omen of the Forge enters the battlefield, it deals 2 damage to any target. -- {2}{R}, Sacrifice Omen of the Forge: Scry 2.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Omen of the Hunt
abilities=flash
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=may name(Search a basic land) target(land[basic]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle])) oneshot )!
auto={2}{G}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flash -- When Omen of the Hunt enters the battlefield, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. -- {2}{G}, Sacrifice Omen of the Hunt: Scry 2.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Omen of the Sea
abilities=flash
aicode=activate transforms((,newability[draw:1 controller])) oneshot
auto=scry:2 scrycore delayed draw:1 controller scrycoreend scryend
auto={2}{U}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flash -- When Omen of the Sea enters the battlefield, scry 2, then draw a card. -- {2}{U}, Sacrifice Omen of the Sea: Scry 2.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Omen of the Sun
abilities=flash
auto=token(Soldier,Creature Human Soldier,1/1,white)*2
auto=life:2 controller
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={2}{W}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Flash -- When Omen of the Sun enters the battlefield, create two 1/1 white Human Soldier creature tokens and you gain 2 life. -- {2}{W}, Sacrifice Omen of the Sun: Scry 2.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Ominous Roost
auto=token(Bird,Creature Bird,1/1,white,flying,cloud)
auto=@movedto(*|mystack) from(mygraveyard):name(Create Bird) token(Bird,Creature Bird,1/1,white,flying,cloud)
text=When Ominous Roost enters the battlefield or whenever you cast a spell from your graveyard, create a 1/1 blue Bird creature token with flying and "This creature can block only creatures with flying."
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Ominous Seas
abilities=cycling
auto=@drawof(player):all(this) counter(0/0,1,Foreshadow)
auto={C(0/0,-1,Foreshadow)}{C(0/0,-1,Foreshadow)}{C(0/0,-1,Foreshadow)}{C(0/0,-1,Foreshadow)}{C(0/0,-1,Foreshadow)}{C(0/0,-1,Foreshadow)}{C(0/0,-1,Foreshadow)}{C(0/0,-1,Foreshadow)}:token(Kraken Omi)
autohand=__CYCLING__({2})
text=Whenever you draw a card, put a foreshadow counter on Ominous Seas. -- Remove eight foreshadow counters from Ominous Seas: Create an 8/8 blue Kraken creature token. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Ominous Sphinx
abilities=flying
auto=@discarded(*|myhand):-2/0 target(creature|opponentBattlefield)
text=Flying -- Whenever you cycle or discard a card, target creature an opponent controls gets -2/-0 until end of turn.
mana={3}{U}{U}
type=Creature
subtype=Sphinx
power=4
toughness=4
[/card]
[card]
name=Omnath, Locus of Creation
auto=draw:1 controller
auto=@movedTo(land|myBattlefield) restriction{thisturn(land[fresh]|myBattlefield)~equalto~0}:life:4 controller
auto=@movedTo(land|myBattlefield) restriction{thisturn(land[fresh]|myBattlefield)~equalto~1}:add{R}{G}{W}{U}
auto=@movedTo(land|myBattlefield) restriction{thisturn(land[fresh]|myBattlefield)~equalto~2}:damage:4 opponent && damage:4 all(planeswalker|opponentBattlefield)
text=When Omnath, Locus of Creation enters the battlefield, draw a card. -- Landfall - Whenever a land enters the battlefield under your control, you gain 4 life if this is the first time this ability has resolved this turn. If it's the second time, add {R}{G}{W}{U}. If it's the third time, Omnath deals 4 damage to each opponent and each planeswalker you don't control.
mana={R}{G}{W}{U}
type=Legendary Creature
subtype=Elemental
power=4
toughness=4
[/card]
[card]
name=Omnath, Locus of Mana
auto=mypoolsave(green)
auto=@movedto(this|nonbattlezone) from(battlefield):name(Terminate effect) name(Terminate effect) transforms((,newability[mypoolsave(green) terminate])) oneshot
anyzone=mygreenpoolcountplus1plusend/mygreenpoolcountplus1plusend cdaactive
text=Green mana doesn't empty from your mana pool as steps and phases end. -- Omnath, Locus of Mana gets +1/+1 for each green mana in your mana pool.
mana={2}{G}
type=Legendary Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Omnath, Locus of the Roil
auto=damage:type:elemental:mybattlefield target(player,creature,planeswalker)
auto=_LANDFALL_counter(1/1) target(elemental|myBattlefield)
auto=_LANDFALL_if type(land|mybattlefield)~morethan~7 then draw:1 controller
text=When Omnath, Locus of the Roil enters the battlefield, it deals damage to any target equal to the number of Elementals you control. -- Whenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card.
mana={1}{G}{U}{R}
type=Legendary Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Omnispell Adept
auto={2}{U}{T}:may activate castcard(normal) notatarget(*[instant;sorcery]|myhand)
text={2}{U}, {T}: You may cast an instant or sorcery card from your hand without paying its mana cost.
mana={4}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=4
[/card]
[card]
name=On Serra's Wings
target=creature
auto=transforms((legendary))
auto=teach(creature) +1/+1
auto=teach(creature) flying 
auto=teach(creature) vigilance
auto=teach(creature) lifelink
text=Enchant creature -- Enchanted creature is legendary, gets +1/+1, and has flying, vigilance, and lifelink.
mana={3}{W}
type=Legendary Enchantment
subtype=Aura
[/card]
[card]
name=On Thin Ice
target=land[snow]|mybattlefield
auto=(blink)forsrc target(creature|opponentbattlefield)
text=Enchant snow land you control -- When On Thin Ice enters the battlefield, exile target creature an opponent controls until On Thin Ice leaves the battlefield.
mana={W}
type=Snow Enchantment
subtype=Aura
[/card]
[card]
name=Onakke Ogre
mana={2}{R}
type=Creature
subtype=Ogre Warrior
power=4
toughness=2
[/card]
[card]
name=Once Upon a Time
other={0} name(Cast as first spell)
otherrestriction=type(*[-land]|mygraveyard)~equalto~0,type(*[-land]|myexile)~equalto~0,type(*|mystack)~equalto~0
aicode=activate moveto(myhand) target(*[creature;land;zpos<=5]|mylibrary)
auto=name(look) reveal:5 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
text=If this spell is the first spell you've cast this game, you may cast it without paying its mana cost. -- Look at the top five cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={1}{G}
type=Instant
[/card]
[card]
name=Once and Future
abilities=exiledeath
auto=if casted(this) then ifnot spent({G}{G}{G}) then target(*|myGraveyard) moveto(myHand) and!( transforms((,newability[name(Return to library) target(*|myGraveyard) moveto(myLibrary)])) oneshot )!
auto=if casted(this) then if spent({G}{G}{G}) then target(<upto:2>*|mygraveyard) moveto(myHand)
text=Return target card from your graveyard to your hand. Put up to one other target card from your graveyard on top of your library. Exile Once and Future. -- Adamant - If at least three green mana was spent to cast this spell, instead return those cards to your hand and exile Once and Future.
mana={3}{G}
type=Instant
[/card]
[card]
name=Ondu Inversion
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Ondu Skyruins)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Ondu Skyruins) name(Ondu Skyruins) flip(Ondu Skyruins) forcetype(land)
auto=destroy all(*[-land])
text=Destroy all nonland permanents. // Ondu Skyruins
mana={6}{W}{W}
type=Sorcery
[/card]
[card]
name=Ondu Skyruins
auto=tap(noevent)
auto={T}:add{W}
text=Ondu Skyruins enters the battlefield tapped. -- {T}: Add {W}. // {6}{W}{W} Ondu Inversion
type=Land
[/card]
[card]
name=One With the Wind
target=creature
auto=2/2
auto=flying
text=Enchant creature -- Enchanted creature gets +2/+2 and has flying.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=One with the Machine
auto=draw:convertedcost:highest:artifact:mybattlefield
text=Draw cards equal to the highest converted mana cost among artifacts you control.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=One with the Stars
target=creature,enchantment
auto=teach(creature) transforms((removetypes,newability[becomes(enchantment)]))
auto=teach(enchantment) transforms((removetypes,newability[becomes(enchantment)]))
text=Enchant creature or enchantment -- Enchanted permanent is an enchantment and loses all other card types. (It still has its abilities, but it's no longer a creature.)
mana={3}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Oneirophage
abilities=flying
auto=@drawof(player):counter(1/1)
text=Flying -- Whenever you draw a card, put a +1/+1 counter on Oneirophage.
mana={3}{U}
type=Creature
subtype=Squid Illusion
power=1
toughness=2
[/card]
[card]
name=Onward // Victory
target=creature
auto=power/0
autograveyard={2}{W}{E}:target(creature) double strike asSorcery
text=Target creature gets +X/+0 until end of turn, where X is its power. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Target creature gains double strike until end of turn.
mana={2}{R}
type=Instant
[/card]
[card]
name=Ooze Flux
auto={1}{G}:name(remove 1 Counter) counter(1/1,-1) target(creature[counter{1/1.1}]|mybattlefield) && token(Ooze,Creature Ooze,1/1,green)
auto={1}{G}:name(remove 2 Counter) counter(1/1,-2) target(creature[counter{1/1.2}]|mybattlefield) && token(Ooze,Creature Ooze,2/2,green)
auto={1}{G}:name(remove 3 Counter) counter(1/1,-3) target(creature[counter{1/1.3}]|mybattlefield) && token(Ooze,Creature Ooze,3/3,green)
auto={1}{G}:name(remove 4 Counter) counter(1/1,-4) target(creature[counter{1/1.4}]|mybattlefield) && token(Ooze,Creature Ooze,4/4,green)
auto={1}{G}:name(remove 5 Counter) counter(1/1,-5) target(creature[counter{1/1.5}]|mybattlefield) && token(Ooze,Creature Ooze,5/5,green)
auto={1}{G}:name(remove 6 Counter) counter(1/1,-6) target(creature[counter{1/1.6}]|mybattlefield) && token(Ooze,Creature Ooze,6/6,green)
auto={1}{G}:name(remove 7 Counter) counter(1/1,-7) target(creature[counter{1/1.7}]|mybattlefield) && token(Ooze,Creature Ooze,7/7,green)
auto={1}{G}:name(remove 8 Counter) counter(1/1,-8) target(creature[counter{1/1.8}]|mybattlefield) && token(Ooze,Creature Ooze,8/8,green)
auto={1}{G}:name(remove 9 Counter) counter(1/1,-9) target(creature[counter{1/1.9}]|mybattlefield) && token(Ooze,Creature Ooze,9/9,green)
auto={1}{G}:name(remove 10 Counter) counter(1/1,-10) target(creature[counter{1/1.10}]|mybattlefield) && token(Ooze,Creature Ooze,10/10,green)
auto={1}{G}:name(remove 11 Counter) counter(1/1,-11) target(creature[counter{1/1.11}]|mybattlefield) && token(Ooze,Creature Ooze,11/11,green)
auto={1}{G}:name(remove 12 Counter) counter(1/1,-12) target(creature[counter{1/1.12}]|mybattlefield) && token(Ooze,Creature Ooze,12/12,green)
auto={1}{G}:name(remove 13 Counter) counter(1/1,-13) target(creature[counter{1/1.13}]|mybattlefield) && token(Ooze,Creature Ooze,13/13,green)
auto={1}{G}:name(remove 14 Counter) counter(1/1,-14) target(creature[counter{1/1.14}]|mybattlefield) && token(Ooze,Creature Ooze,14/14,green)
auto={1}{G}:name(remove 15 Counter) counter(1/1,-15) target(creature[counter{1/1.15}]|mybattlefield) && token(Ooze,Creature Ooze,15/15,green)
auto={1}{G}:name(remove 16 Counter) counter(1/1,-16) target(creature[counter{1/1.16}]|mybattlefield) && token(Ooze,Creature Ooze,16/16,green)
auto={1}{G}:name(remove 17 Counter) counter(1/1,-17) target(creature[counter{1/1.17}]|mybattlefield) && token(Ooze,Creature Ooze,17/17,green)
auto={1}{G}:name(remove 18 Counter) counter(1/1,-18) target(creature[counter{1/1.18}]|mybattlefield) && token(Ooze,Creature Ooze,18/18,green)
auto={1}{G}:name(remove 19 Counter) counter(1/1,-19) target(creature[counter{1/1.19}]|mybattlefield) && token(Ooze,Creature Ooze,19/19,green)
auto={1}{G}:name(remove 20 Counter) counter(1/1,-20) target(creature[counter{1/1.20}]|mybattlefield) && token(Ooze,Creature Ooze,20/20,green)
text={1}{G}, Remove one or more +1/+1 counters from among creatures you control: Put an X/X green Ooze creature token onto the battlefield, where X is the number of +1/+1 counters removed this way.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Opal Acrolith
auto=@movedTo(creature|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Soldier Creature,setpower=2,settoughness=4)) forever
auto={0}:name(Becomes an enchantment) transforms((removetypes,newability[becomes(Enchantment)])) forever
text=Whenever an opponent casts a creature spell, if Opal Acrolith is an enchantment, Opal Acrolith becomes a 2/4 Soldier creature. -- {0}: Opal Acrolith becomes an enchantment.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Opal Palace
auto={T}:add{C}
auto=aslongas(*[iscommander&red]|myzones) {1}{T}:name(Add red mana) name(Add red mana) transforms((,newability[add{R}],newability[if type(*[iscommander]|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.OpalEffect)])) oneshot
auto=aslongas(*[iscommander&white]|myzones) {1}{T}:name(Add white mana) name(Add white mana) transforms((,newability[add{W}],newability[if type(*[iscommander]|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.OpalEffect)])) oneshot
auto=aslongas(*[iscommander&green]|myzones) {1}{T}:name(Add green mana) name(Add green mana) transforms((,newability[add{G}],newability[if type(*[iscommander]|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.OpalEffect)])) oneshot
auto=aslongas(*[iscommander&blue]|myzones) {1}{T}:name(Add blue mana) name(Add blue mana) transforms((,newability[add{U}],newability[if type(*[iscommander]|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.OpalEffect)])) oneshot
auto=aslongas(*[iscommander&black]|myzones) {1}{T}:name(Add black mana) name(Add black mana) transforms((,newability[add{B}],newability[if type(*[iscommander]|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.OpalEffect)])) oneshot
auto=@movedto(*[iscommander]|mybattlefield) restriction{compare(hascntopaleffect)~morethan~0}:name(Put 1/1 counter) all(trigger[to]) name(Put 1/1 counter) transforms((,newability[counter(1/1.numofcommandcast)])) oneshot
auto=@movedto(*[iscommander]|mybattlefield) restriction{compare(hascntopaleffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.OpalEffect)
auto=@each endofturn restriction{compare(hascntopaleffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.OpalEffect)
text={T}: Add {C} to your mana pool. -- {1}, {T}: Add to your mana pool one mana of any color in your commander's color identity. If you spend this mana to cast your commander, it enters the battlefield with a number of additional +1/+1 counters on it equal to the number of times it's been cast from the command zone this game.
type=Land
[/card]
[card]
name=Opal Titan
auto=@movedTo(creature[blue;-multicolor]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue])) forever
auto=@movedTo(creature[white;-multicolor]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from white])) forever
auto=@movedTo(creature[green;-multicolor]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from green])) forever
auto=@movedTo(creature[black;-multicolor]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black])) forever
auto=@movedTo(creature[red;-multicolor]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from red])) forever
auto=@movedto(creature[red&blue;-green;-black;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from red])) forever
auto=@movedto(creature[red&green;-blue;-black;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from green],newability[protection from red])) forever
auto=@movedto(creature[red&black;-blue;-green;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black],newability[protection from red])) forever
auto=@movedto(creature[red&white;-blue;-green;-black]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from white],newability[protection from red])) forever
auto=@movedto(creature[white&blue;-green;-black;-red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from white])) forever
auto=@movedto(creature[white&green;-blue;-black;-red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from white],newability[protection from green])) forever
auto=@movedto(creature[white&black;-blue;-green;-red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from white],newability[protection from black])) forever
auto=@movedto(creature[black&blue;-green;-black;-red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from black])) forever
auto=@movedto(creature[black&green;-blue;-black;-red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black],newability[protection from green])) forever
auto=@movedto(creature[green&blue;-red;-black;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from green])) forever
auto=@movedto(creature[green&blue&red;-black;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from green],newability[protection from blue],newability[protection from red])) forever
auto=@movedto(creature[green&blue&black;-red;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from black],newability[protection from green])) forever
auto=@movedto(creature[green&blue&white;-red;-black]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from green],newability[protection from blue],newability[protection from white])) forever
auto=@movedto(creature[red&blue&black;-green;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from black],newability[protection from red])) forever
auto=@movedto(creature[red&blue&white;-green;-black]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from white],newability[protection from red])) forever
auto=@movedto(creature[black&blue&white;-green;-red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black],newability[protection from blue],newability[protection from white])) forever
auto=@movedto(creature[black&blue&white&green;-red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black],newability[protection from blue],newability[protection from white],newability[protection from green])) forever
auto=@movedto(creature[black&blue&white&red;-green]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black],newability[protection from blue],newability[protection from white],newability[protection from red])) forever
auto=@movedto(creature[black&blue&red&green;-white]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black],newability[protection from blue],newability[protection from green],newability[protection from red])) forever
auto=@movedto(creature[black&red&white&green;-blue]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from black],newability[protection from red],newability[protection from white],newability[protection from green])) forever
auto=@movedto(creature[blue&red&white&green;-black]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from blue],newability[protection from red],newability[protection from white],newability[protection from green])) forever
auto=@movedto(creature[black&blue&white&green&red]|opponentstack):if cantargetcard(*[enchantment]|*) then transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,white,newability[protection from white],newability[protection from black],newability[protection from green],newability[protection from blue],newability[protection from red])) forever
text=When an opponent casts a creature spell, if Opal Titan is an enchantment, Opal Titan becomes a 4/4 Giant creature with protection from each of that spell's colors.
mana={2}{W}{W}
type=Enchantment
[/card]
[card]
name=Open Fire
target=creature,player
auto=damage:3
text=Open Fire deals 3 damage to target creature or player.
mana={2}{R}
type=Instant
[/card]
[card]
name=Open into Wonder
target=creature
auto=unblockable
auto=@combatdamaged(player) from(this):draw:1 controller
text=X target creatures can't be blocked this turn. Until end of turn, those creatures gain "Whenever this creature deals combat damage to a player, draw a card."
mana={X}{U}{U}
type=Sorcery
[/card]
[card]
name=Open the Gates
aicode=activate target(land[basic;gate]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(land[basic;gate]|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 a basic land card or Gate card, reveal it, put it into your hand, then shuffle your library.
mana={G}
type=Sorcery
[/card]
[card]
name=Open the Graves
auto=@movedto(creature[-token]|graveyard) from(mybattlefield):create(zombie:creature zombie:2/2:black:)
text=Whenever a nontoken creature you control dies, create a 2/2 black Zombie creature token.
mana={3}{B}{B}
type=Enchantment
[/card]
[card]
name=Open the Omenpaths
auto=if type(*[creature;enchantment]|myrestrictedcastingzone)~morethan~0 then choice name(Add two white mana) name(Add two white mana) add{W}{W}
auto=if type(*[creature;enchantment]|myrestrictedcastingzone)~morethan~0 then choice name(Add two black mana) name(Add two black mana) add{B}{B}
auto=if type(*[creature;enchantment]|myrestrictedcastingzone)~morethan~0 then choice name(Add two red mana) name(Add two red mana) add{R}{R}
auto=if type(*[creature;enchantment]|myrestrictedcastingzone)~morethan~0 then choice name(Add two blue mana) name(Add two blue mana) add{U}{U}
auto=if type(*[creature;enchantment]|myrestrictedcastingzone)~morethan~0 then choice name(Add two green mana) name(Add two green mana) add{G}{G}
auto=choice name(All creatures get 1/0) all(creature|mybattlefield) 1/0 ueot
text=Choose one -- Add two mana of any one color and two mana of any other color. Spend this mana only to cast creature or enchantment spells. -- Creatures you control get +1/+0 until end of turn.
mana={2}{R}
type=Instant
[/card]
[card]
name=Opportunistic Dragon
abilities=flying
auto=choice name(Choose human or artifact) target(*[human;artifact]|opponentBattlefield) moveto(mybattlefield) and!( transforms((,newability[counter(0/0.1.OpportunisticEffect)],newability[loseabilities],newability[cantattack],newability[cantpwattack],newability[cantblock])) forever )!
auto=@movedto(this|nonbattlezone) from(battlefield):name(Give back permanent) target(*[counter{0/0.1.OpportunisticEffect}]|myBattlefield) moveto(myreveal) and!( moveto(opponentBattlefield) )!
text=Flying -- When Opportunistic Dragon enters the battlefield, choose target Human or artifact an opponent controls. For as long as Opportunistic Dragon remains on the battlefield, gain control of that permanent, it loses all abilities, and it can't attack or block.
mana={2}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=3
[/card]
[card]
name=Oppressive Will
target=*|stack
auto=if type(*|myhand)~equalto~1 then transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~2 then transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~3 then transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~4 then transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~5 then transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~6 then transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~7 then transforms((,newability[pay[[{7}]] name(pay 7 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~8 then transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~9 then transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~10 then transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~11 then transforms((,newability[pay[[{11}]] name(pay 11 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~12 then transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~13 then transforms((,newability[pay[[{13}]] name(pay 13 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~14 then transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~15 then transforms((,newability[pay[[{15}]] name(pay 15 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~16 then transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~17 then transforms((,newability[pay[[{17}]] name(pay 17 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~18 then transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~19 then transforms((,newability[pay[[{19}]] name(pay 19 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~equalto~20 then transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing?fizzle])) forever
auto=if type(*|myhand)~morethan~20 then transforms((,newability[pay[[{21}]] name(pay 21 mana) donothing?fizzle])) forever
text=Counter target spell unless its controller pays {1} for each card in your hand.
mana={2}{U}
type=Instant
[/card]
[card]
name=Optimus Prime, Inspiring Leader
##{1}:turn target permanent you control to its other face.##
auto={1}:all(this) transforms((Legendary Artifact Creature Construct,setpower=6,settoughness=6)) ueot && all(creature|myBattlefield) transforms((,newability[trample])) ueot
text={1}: Turn target permanent you control to its other face. / {1}: Until end of turn, Optimus Prime, Inspiring Leader becomes a Construct with base power and toughness 6/6 and creatures you control gain trample.
mana={3}{R}{W}
type=Legendary Artifact Creature
subtype=Bot Mode
power=4
toughness=5
[/card]
[card]
name=Oracle of Bones
auto=if type(*[instant;sorcery]|mygraveyard)~morethan~0 then all(this) flipacoin winability counter(0/0,1,TributeUnpaid) winabilityend loseability counter(1/1,2) loseabilityend flipend
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:counter(0/0,-1,TributeUnpaid) all(this)
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:may name(Cast instant or sorcery) name(Cast instant or sorcery) activate castcard(normal) target(*[sorcery;instant]|mygraveyard)
text=Haste -- Tribute 2 (As this creature enters the battlefield, an opponent of your choice may place two +1/+1 counters on it.) -- When Oracle of Bones enters the battlefield, if tribute wasn't paid, you may cast an instant or sorcery card from your hand without paying its mana cost.
mana={2}{R}{R}
type=Creature
subtype=Minotaur Shaman
power=3
toughness=1
[/card]
[card]
name=Oracle's Attendants
auto={T}:name(Target your creature) target(creature|mybattlefield) transforms((,newability[undamageable],newability[_ENRAGE_damage:thatmuch target(Oracle's Attendants|mybattlefield)])) ueot
auto={T}:name(Target opponent's creature) target(creature|opponentbattlefield) transforms((,newability[undamageable],newability[_ENRAGE_damage:thatmuch target(Oracle's Attendants|opponentbattlefield)])) ueot
text={T}: All damage that would be dealt to target creature this turn by a source of your choice is dealt to Oracle's Attendants instead.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=5
[/card]
[card]
name=Oracle's Vault
auto={2}{T}{counter(0/0,1,brick)}:deplete:1 controller
auto={T}{restriction type(this[counter(brick)>=3])~morethan~0}:deplete:1 controller
text={2}, {T}: Exile the top card of your library. Until end of turn, you may play that card. Put a brick counter on Oracle's Vault. -- {T}: Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on Oracle's Vault.
mana={4}
type=Artifact
[/card]
[card]
name=Orah, Skyclave Hierophant
abilities=lifelink
auto=@movedTo(cleric[manacost=1]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=0]|myGraveyard)
auto=@movedTo(cleric[manacost=2]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=1]|myGraveyard)
auto=@movedTo(cleric[manacost=3]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=2]|myGraveyard)
auto=@movedTo(cleric[manacost=4]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=3]|myGraveyard)
auto=@movedTo(cleric[manacost=5]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=4]|myGraveyard)
auto=@movedTo(cleric[manacost=6]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=5]|myGraveyard)
auto=@movedTo(cleric[manacost=7]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=6]|myGraveyard)
auto=@movedTo(cleric[manacost=8]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=7]|myGraveyard)
auto=@movedTo(cleric[manacost=9]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=8]|myGraveyard)
auto=@movedTo(cleric[manacost=10]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=9]|myGraveyard)
auto=@movedTo(cleric[manacost=11]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=10]|myGraveyard)
auto=@movedTo(cleric[manacost=12]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=11]|myGraveyard)
auto=@movedTo(cleric[manacost=13]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=12]|myGraveyard)
auto=@movedTo(cleric[manacost=14]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=13]|myGraveyard)
auto=@movedTo(cleric[manacost=15]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=14]|myGraveyard)
auto=@movedTo(cleric[manacost=16]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=15]|myGraveyard)
auto=@movedTo(cleric[manacost=17]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=16]|myGraveyard)
auto=@movedTo(cleric[manacost=18]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=17]|myGraveyard)
auto=@movedTo(cleric[manacost=19]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=18]|myGraveyard)
auto=@movedTo(cleric[manacost=20]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=19]|myGraveyard)
auto=@movedTo(cleric[manacost>=21]|myGraveyard) from(myBattlefield):moveTo(myBattlefield) target(cleric[manacost<=20]|myGraveyard)
text=Lifelink -- Whenever Orah, Skyclave Hierophant or another Cleric you control dies, return target Cleric card with lesser converted mana cost from your graveyard to the battlefield.
mana={2}{W}{B}
type=Legendary Creature
subtype=Kor Cleric
power=3
toughness=3
[/card]
[card]
name=Oran-Rief Ooze
auto=counter(1/1,1) target(creature|myBattlefield)
auto=_ATTACKING_counter(1/1,1) all(creature[attacking;counter{1/1}]|myBattlefield)
text=When Oran-Rief Ooze enters the battlefield, put a +1/+1 counter on target creature you control. -- Whenever Oran-Rief ooze attacks, put a +1/+1 counter on each attacking creature with a +1/+1 counter on it.
mana={2}{G}
type=Creature
subtype=Ooze
power=2
toughness=2
[/card]
[card]
name=Orazca Frillback
mana={2}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=2
[/card]
[card]
name=Orazca Raptor
mana={2}{R}{R}
type=Creature
subtype=Dinosaur
power=3
toughness=4
[/card]
[card]
name=Orazca Relic
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[{T}{S}:name(Gain life and draw) life:3 && draw:1]))
auto={T}:Add{C}
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- {T}: Add {C}. -- {T}, Sacrifice Orazca Relic: You gain 3 life and draw a card. Activate this ability only if you have the city's blessing.
mana={3}
type=Artifact
[/card]
[card]
name=Orb of Dragonkind
aicode=activate transforms((,newability[if type(dragon[zpos<=7]|myLibrary)~morethan~0 then target(dragon[zpos<=7]|myLibrary) moveTo(myHand) and!( all(other *[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )! else all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! ])) oneshot
auto=this(variable{type:dragon:myrestrictedcastingzone}>0) {1}{T}:name(Add two mana) thisforeach(variable{2}) ability$!name(add mana) choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W}!$ controller
auto=this(variable{type:dragon:mybattlefield}>0) {1}{T}:name(Add two mana) thisforeach(variable{2}) ability$!name(add mana) choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W}!$ controller
auto={R}{T}{S}:name(Look top 7 cards) reveal:7 optionone name(Get a dragon) target(<upto:1>dragon|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text={1}, {T}: Add two mana in any combination of colors. Spend this mana only to cast Dragon spells or to activate abilities of Dragons. -- {R}, {T}, Sacrifice Orb of Dragonkind: Look at the top seven cards of your library. You may reveal a Dragon card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={1}{R}
type=Artifact
[/card]
[card]
name=Orbs of Warding
abilities=playershroud
auto=@damaged(controller) from(creature|battlefield):life:1
text=You have hexproof. (You can't be the target of spells or abilities your opponents control.) -- If a creature would deal damage to you, prevent 1 of that damage.
mana={5}
type=Artifact
[/card]
[card]
name=Orchard Strider
aicode=activate target(land[basic]|mylibrary) moveto(myhand)
autohand={1}{G}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(Create food) token(Food)
text=When Orchard Strider enters the battlefield, create two Food tokens. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Basic landcycling {1}{G} ({1}{G}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.)
mana={4}{G}{G}
type=Creature
subtype=Treefolk
power=6
toughness=4
[/card]
[card]
name=Orcish Farmer
auto={T}:ueot loseabilities && losesubtypesof(land) && transforms((swamp)) target(land)
text={T}: Target land becomes a Swamp until its controller's next untap step.
mana={1}{R}{R}
type=Creature
subtype=Orc
power=2
toughness=2
[/card]
[card]
name=Orcish Hellraiser
auto=counter(0/0,1,echo)
auto=@each my upkeep once:transforms((,newability[counter(0/0.-1.echo)],newability[pay[[{R}]] name(pay red mana) donothing'sacrifice])) forever
auto=_DIES_name(Deals 2 damage) damage:2 target(player,planeswalker)
text=Echo {R} (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.) -- When Orcish Hellraiser dies, it deals 2 damage to target player or planeswalker.
mana={1}{R}
type=Creature
subtype=Orc Warrior
power=3
toughness=2
[/card]
[card]
name=Orcish Vandal
auto={T}{S(artifact|myBattlefield)}:damage:2 target(player,creature,planeswalker)
text={T}, Sacrifice an artifact: Orcish Vandal deals 2 damage to any target.
mana={1}{R}
type=Creature
subtype=Orc Warrior
power=1
toughness=1
[/card]
[card]
name=Orcus, Prince of Undeath
abilities=flying,trample
auto=choice name(Creatures get -X/-X) all(other creature|battlefield) -x/-x ueot && life:-x controller
auto=choice name(Return X creatures) target(<prex>creature|mygraveyard) moveto(myBattlefield) and!( transforms((,newability[haste])) ueot )!
text=Flying, trample -- When Orcus, Prince of Undeath enters the battlefield, Choose one -- Each other creature gets -X/-X until end of turn. You lose X life. -- Return up to X target creature cards with total mana value X or less from your graveyard to the battlefield. They gain haste until end of turn.
mana={X}{2}{B}{R}
type=Legendary Creature
subtype=Demon
power=5
toughness=3
[/card]
[card]
name=Ordeal of Erebos
target=creature
auto=@combat(attacking) source(mytgt):counter(1/1)
auto=teach(creature) transforms((,newability[this(counter{1/1}>=3) sacrifice target(Ordeal of Erebos|mybattlefield)]))
auto=_DIES_target(player) ability$!target(<2>*|myhand) reject!$ targetedplayer
text=Enchant creature -- Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Erebos. -- When you sacrifice Ordeal of Erebos, target player discards two cards.
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Ordeal of Heliod
target=creature
auto=@combat(attacking) source(mytgt):counter(1/1)
auto=teach(creature) transforms((,newability[this(counter{1/1}>=3) sacrifice target(Ordeal of Heliod|mybattlefield)]))
auto=_DIES_life:10 controller
text=Enchant creature -- Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Heliod. -- When you sacrifice Ordeal of Heliod, you gain 10 life.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Ordeal of Nylea
target=creature
auto=@combat(attacking) source(mytgt):counter(1/1)
auto=teach(creature) transforms((,newability[this(counter{1/1}>=3) sacrifice target(Ordeal of Nylea|mybattlefield)]))
auto=_DIES_notatarget(land[basic]|mylibrary) transforms((,newability[name(move to battlefield) notatarget(land[basic]|mylibrary) moveTo(myBattlefield) and!(tap(noevent))!],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot
text=Enchant creature -- Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Nylea. -- When you sacrifice Ordeal of Nylea, search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library.
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Ordeal of Purphoros
target=creature
auto=@combat(attacking) source(mytgt):counter(1/1)
auto=teach(creature) transforms((,newability[this(counter{1/1}>=3) sacrifice target(Ordeal of Purphoros|mybattlefield)]))
auto=_DIES_damage:3 target(creature,player)
text=Enchant creature -- Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros. -- When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Ordeal of Thassa
target=creature
auto=@combat(attacking) source(mytgt):counter(1/1)
auto=teach(creature) transforms((,newability[this(counter{1/1}>=3) sacrifice target(Ordeal of Thassa|mybattlefield)]))
auto=_DIES_draw:2 controller
text=Enchant creature -- Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Thassa. -- When you sacrifice Ordeal of Thassa, draw two cards.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Order // Chaos
other={2}{R} name(Chaos)
auto=if paid(alternative) then all(creature|battlefield) cantblock ueot
auto=ifnot paid(alternative) then target(creature[attacking]|battlefield) moveto(exile)
text=Exile target attacking creature. // Creatures can't block this turn.
mana={3}{W}
type=Instant
[/card]
[card]
name=Order of Midnight // Alter Fate
abilities=flying,cantblock,adventure
other={1}{B} name(Adventure)
auto=if paid(alternative) then name(Return creature from graveyard) name(Return creature from graveyard) target(creature|mygraveyard) moveto(myhand)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Flying -- Order of Midnight can't block. // Return target creature card from your graveyard to your hand. (Then exile this card. You may cast the creature later from exile.)
mana={1}{B}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Ore-Scale Guardian
abilities=flying,haste
autohand=affinity(land|mygraveyard) reduce({1})
text=This spell costs {1} less to cast for each land card in your graveyard. -- Flying, haste
mana={5}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Oread of Mountain's Blaze
auto={2}{R}{D(*|myhand)}:draw:1 controller
text={2}{R}, Discard a card: Draw a card.
mana={1}{R}
type=Enchantment Creature
subtype=Nymph
power=1
toughness=3
[/card]
[card]
name=Organ Harvest
auto=if type(*[creature]|myBattlefield)~morethan~0 then choice name(Sacrifice 1 creature) ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && add{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~1 then choice name(Sacrifice 2 creatures) ability$!sacrifice notatarget(<2>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~2 then choice name(Sacrifice 3 creatures) ability$!sacrifice notatarget(<3>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~3 then choice name(Sacrifice 4 creatures) ability$!sacrifice notatarget(<4>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~4 then choice name(Sacrifice 5 creatures) ability$!sacrifice notatarget(<5>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~5 then choice name(Sacrifice 6 creatures) ability$!sacrifice notatarget(<6>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~6 then choice name(Sacrifice 7 creatures) ability$!sacrifice notatarget(<7>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~7 then choice name(Sacrifice 8 creatures) ability$!sacrifice notatarget(<8>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~8 then choice name(Sacrifice 9 creatures) ability$!sacrifice notatarget(<9>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~9 then choice name(Sacrifice 10 creatures) ability$!sacrifice notatarget(<10>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~10 then choice name(Sacrifice 11 creatures) ability$!sacrifice notatarget(<11>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~11 then choice name(Sacrifice 12 creatures) ability$!sacrifice notatarget(<12>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~12 then choice name(Sacrifice 13 creatures) ability$!sacrifice notatarget(<13>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~13 then choice name(Sacrifice 14 creatures) ability$!sacrifice notatarget(<14>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~14 then choice name(Sacrifice 15 creatures) ability$!sacrifice notatarget(<15>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~15 then choice name(Sacrifice 16 creatures) ability$!sacrifice notatarget(<16>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~16 then choice name(Sacrifice 17 creatures) ability$!sacrifice notatarget(<17>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~17 then choice name(Sacrifice 18 creatures) ability$!sacrifice notatarget(<18>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~18 then choice name(Sacrifice 19 creatures) ability$!sacrifice notatarget(<19>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto=if type(*[creature]|myBattlefield)~morethan~19 then choice name(Sacrifice 20 creatures) ability$!sacrifice notatarget(<20>creature|mybattlefield)!$ controller && add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
text=You and your teammates may sacrifice any number of creatures. For each creature sacrificed in this way, add {B}{B} to your mana pool.
mana={B}
type=Sorcery
[/card]
[card]
name=Organ Hoarder
aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) and!( all(*|zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot
auto=name(Reveal top 3 cards) reveal:3 optionone name(Get a card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=When Organ Hoarder enters the battlefield, look at the top three cards of your library, then put one of them into your hand and the rest into you graveyard.
type=Creature
subtype=Zombie
mana={3}{U}
power=3
toughness=2
[/card]
[card]
name=Oriq Loremage
auto={T}:name(Search instant or sorcery) target(*[instant;sorcery]|mylibrary) moveto(mygraveyard) and!( shuffle )! && counter(1/1) all(this)
auto={T}:name(Search permanent) target(*[-instant;-sorcery]|mylibrary) moveto(mygraveyard) and!( shuffle )!
text={T}: Search your library for a card, put it into your graveyard, then shuffle. If it's an instant or sorcery card, put a +1/+1 counter on Oriq Loremage.
mana={2}{B}{B}
type=Creature
subtype=Human Warlock
power=3
toughness=3
[/card]
[card]
name=Ormendahl, the Corrupter
abilities=flying,trample,lifelink
backside=Jerren, Corrupted Bishop
auto={S(other creature|mybattlefield)}:name(Draw a card) draw:1 controller
text=Flying, trample, lifelink -- Sacrifice another creature: Draw a card. // Jerren, Corrupted Bishop
type=Legendary Creature
subtype=Demon
color=black
power=6
toughness=6
[/card]
[card]
name=Ormos, Archive Keeper
abilities=flying
auto={1}{U}{U}{D(*|myhand)}{D(*|myhand)}{D(*|myhand)}:draw:5 controller
auto=aslongas(*|myHand) replacedraw counter(1/1,5) <1
text=Flying -- If you would draw a card while your library has no cards in it, instead put five +1/+1 counters on Ormos, Archive Keeper. -- {1}{U}{U}, Discard three cards with different names: Draw five cards.
mana={4}{U}{U}
type=Legendary Creature
subtype=Sphinx
power=5
toughness=5
[/card]
[card]
name=Ornate Kanzashi
auto={2}{T}:moveto(exile) all(*[zpos=1]|opponentlibrary) and!(activate castcard(copied) ueot)! 
text={2}, {T}: Target opponent exiles the top card of his or her library. You may play that card this turn.
mana={5}
type=Artifact
[/card]
[card]
name=Ornery Dilophosaur
abilities=deathtouch
auto=_ATTACKING_if type(creature[power>=4]|myBattlefield)~morethan~0} then 2/2 ueot
text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- Whenever Ornery Dilophosaur attacks, if you control a creature with power 4 or greater, Ornery Dilophosaur gets +2/+2 until end of turn.
mana={3}{G}
type=Creature
subtype=Dinosaur
power=2
toughness=2
[/card]
[card]
name=Ornery Goblin
auto=@combat(blocking,blocked) source(this) from(creature):all(trigger[from]) damage:1
text=Whenever Ornery Goblin blocks or becomes blocked by a creature, Ornery Goblin deals 1 damage to that creature.
mana={1}{R}
type=Creature
subtype=Goblin Warrior
power=2
toughness=1
[/card]
[card]
name=Ornery Kudu
auto=counter(-1/-1,1) target(creature|mybattlefield)
text=When Ornery Kudu enters the battlefield, put a -1/-1 counter on target creature you control.
mana={2}{G}
type=Creature
subtype=Antelope
power=3
toughness=4
[/card]
[card]
name=Ornithopter of Paradise
abilities=flying
auto={T}:add{R}
auto={T}:add{B}
auto={T}:add{U}
auto={T}:add{G}
auto={T}:add{W}
text=Flying -- {T}: Add one mana of any color.
mana={2}
type=Artifact Creature
subtype=Thopter
power=0
toughness=2
[/card]
[card]
name=Orvar, the All-Form
abilities=changeling
auto=@targeted(other *|mybattlefield) from(*[instant;sorcery]|mycastingzone):name(Create copy of targeted permanent) all(trigger[to]) clone
auto=@targeted(*|myhand) from(*|opponentzones):all(trigger[to]) counter(0/0,1,OrvarEffect)
auto=@discarded(*[counter{0/0.1.OrvarEffect}]|myhand):name(Create copy of permanent) target(*|battlefield) clone
auto=@each endofturn:all(*[counter{0/0.1.OrvarEffect}]|myhand) removeallcounters(0/0,1,OrvarEffect)
text=Changeling -- Whenever you cast an instant or sorcery spell, if it targets one or more other permanents you control, create a token that's a copy of one of those permanents. -- When a spell or ability an opponent controls causes you to discard this card, create a token that's a copy of target permanent.
mana={3}{U}
type=Legendary Creature
subtype=Shapeshifter
power=3
toughness=3
[/card]
[card]
name=Orzhov Advokist
auto=@each my upkeep: may lord(creature|opponentBattlefield) cantattack ueot && target(creature|opponentBattlefield) counter(1/1,2)
auto=@each my upkeep: may lord(creature|myBattlefield) cantattack ueot && target(creature|myBattlefield) counter(1/1,2)
text=At the beginning of your upkeep, each player may put two +1/+1 counters on a creature they control. If a player does, creatures that player controls can't attack you or a planeswalker you control until your next turn.
mana={2}{W}
type=Creature
subtype=Human Advisor
power=1
toughness=4
[/card]
[card]
name=Orzhov Charm
auto=choice name(Return creature to hand) target(creature|mybattlefield) moveto(myhand)
auto=choice name(Destroy creature) target(creature) dynamicability<!mytgt toughnesslifeloss srccontroller!> && destroy
auto=choice name(Return creature to battlefield) target(creature[manacost<=1]|mygraveyard) moveto(mybattlefield)
text=Choose one  Return target creature you control and all Auras you control attached to it to their owner's hand; or destroy target creature and you lose life equal to its toughness; or return target creature card with converted mana cost 1 or less from your graveyard to the battlefield.
mana={W}{B}
type=Instant
[/card]
[card]
name=Orzhov Enforcer
abilities=deathtouch
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)
text=Deathtouch -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.)
mana={1}{B}
type=Creature
subtype=Human Rogue
power=1
toughness=2
[/card]
[card]
name=Orzhov Euthanist
auto=name(Destroy damaged creature) target(creature[damaged]) destroy
auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot
autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Destroy damaged creature) target(creature[damaged]) destroy]))
text=Haunt (When this creature dies, exile it haunting target creature.) -- When Orzhov Euthanist enters the battlefield or the creature it haunts dies, destroy target creature that was dealt damage this turn.
mana={2}{B}
type=Creature
subtype=Human Assassin
power=2
toughness=2
[/card]
[card]
name=Orzhov Locket
auto={WB}{WB}{WB}{WB}{T}{S}:draw:2
auto={T}:Add{W}
auto={T}:Add{B}
text={T}: Add {W} or {B}. -- {W/B}{W/B}{W/B}{W/B}, {T}, Sacrifice Orzhov Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Orzhov Pontiff
auto=name(Choose one) transforms((,newability[choice name(Your creature gets 1/1) all(creature|mybattlefield) 1/1 ueot],newability[choice name(Opponent creature gets -1/-1) all(creature|opponentbattlefield) -1/-1 ueot])) oneshot
auto=_DIES_name(Exile and haunt a creature) all(trigger[to]) transforms((,newability[if type(creature|battlefield)~morethan~0 then moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt])) oneshot )!])) oneshot
autoexile=this(variable{hasprey}>0) transforms((,newability[@movedto(creature[preyname&isprey]|graveyard) from(battlefield):name(Choose one) transforms((,newability[choice name(Your creature gets 1/1) all(creature|mybattlefield) 1/1 ueot],newability[choice name(Opponent creature gets -1/-1) all(creature|opponentbattlefield) -1/-1 ueot])) oneshot]))
text=Haunt (When this creature dies, exile it haunting target creature.) -- When Orzhov Pontiff enters the battlefield or the creature it haunts dies, Choose one  Creatures you control get +1/+1 until end of turn; or creatures you don't control get -1/-1 until end of turn.
mana={1}{W}{B}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Orzhov Racketeers
auto=@combatdamaged(player) from(this):ability$!name(discard) target(*|myhand) reject!$ opponent
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2
text=Whenever Orzhov Racketeers deals combat damage to a player, that player discards a card. -- Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.)
mana={4}{B}
type=Creature
subtype=Human Rogue
power=3
toughness=2
[/card]
[card]
name=Osgir, the Reconstructor
abilities=vigilance
auto={1}{S(artifact|mybattlefield)}:name(Creature gets 2/0) target(creature|mybattlefield) 2/0 ueot
auto={0}{T}:name(X = 0) target(artifact[manacost=0]|graveyard) moveto(exile) && clone && clone assorcery
auto={1}{T}:name(X = 1) target(artifact[manacost=1]|graveyard) moveto(exile) && clone && clone assorcery
auto={2}{T}:name(X = 2) target(artifact[manacost=2]|graveyard) moveto(exile) && clone && clone assorcery
auto={3}{T}:name(X = 3) target(artifact[manacost=3]|graveyard) moveto(exile) && clone && clone assorcery
auto={4}{T}:name(X = 4) target(artifact[manacost=4]|graveyard) moveto(exile) && clone && clone assorcery
auto={5}{T}:name(X = 5) target(artifact[manacost=5]|graveyard) moveto(exile) && clone && clone assorcery
auto={6}{T}:name(X = 6) target(artifact[manacost=6]|graveyard) moveto(exile) && clone && clone assorcery
auto={7}{T}:name(X = 7) target(artifact[manacost=7]|graveyard) moveto(exile) && clone && clone assorcery
auto={8}{T}:name(X = 8) target(artifact[manacost=8]|graveyard) moveto(exile) && clone && clone assorcery
auto={9}{T}:name(X = 9) target(artifact[manacost=9]|graveyard) moveto(exile) && clone && clone assorcery
auto={10}{T}:name(X = 10) target(artifact[manacost=10]|graveyard) moveto(exile) && clone && clone assorcery
auto={11}{T}:name(X = 11) target(artifact[manacost=11]|graveyard) moveto(exile) && clone && clone assorcery
auto={12}{T}:name(X = 12) target(artifact[manacost=12]|graveyard) moveto(exile) && clone && clone assorcery
auto={13}{T}:name(X = 13) target(artifact[manacost=13]|graveyard) moveto(exile) && clone && clone assorcery
auto={14}{T}:name(X = 14) target(artifact[manacost=14]|graveyard) moveto(exile) && clone && clone assorcery
auto={15}{T}:name(X = 15) target(artifact[manacost=15]|graveyard) moveto(exile) && clone && clone assorcery
auto={16}{T}:name(X = 16) target(artifact[manacost=16]|graveyard) moveto(exile) && clone && clone assorcery
auto={17}{T}:name(X = 17) target(artifact[manacost=17]|graveyard) moveto(exile) && clone && clone assorcery
auto={18}{T}:name(X = 18) target(artifact[manacost=18]|graveyard) moveto(exile) && clone && clone assorcery
auto={19}{T}:name(X = 19) target(artifact[manacost=19]|graveyard) moveto(exile) && clone && clone assorcery
auto={20}{T}:name(X = 20) target(artifact[manacost>=20]|graveyard) moveto(exile) && clone && clone assorcery
text=Vigilance -- {1}, Sacrifice an artifact: Target creature you control gets +2/+0 until end of turn. -- {X}, {T}, Exile an artifact card with mana value X from your graveyard: Create two tokens that are copies of the exiled card. Activate only as a sorcery.
mana={2}{R}{W}
type=Legendary Creature
subtype=Giant Artificer
power=4
toughness=4
[/card]
[card]
name=Oswald Fiddlebender
auto=this(variable{type:artifact:mybattlefield}>0) {W}{T}:name(Sacrifice artifact) name(Sacrifice artifact) target(artifact|myBattlefield) transforms((,newability[sacrifice],newability[name(Search artifact) target(artifact[manacost<=manacost]|mylibrary) moveTo(myBattlefield) and!( shuffle )!])) oneshot asSorcery
text={W}, {T}, Sacrifice an artifact: Search your library for an artifact card with mana value equal to one plus the sacrificed artifact's mana value. Put that card onto the battlefield, then shuffle. Activate only as a sorcery.
mana={1}{W}
type=Legendary Creature
subtype=Gnome Artificer
power=2
toughness=2
[/card]
[card]
name=Otepec Huntmaster
abilities=haste
auto=lord(dinosaur|myhand) altercost(colorless,-1)
auto={T}:haste target(dinosaur)
text=Dinosaur spells you cast cost {1} less to cast. -- {T}: Target Dinosaur gains haste until end of turn.
mana={1}{R}
type=Creature
subtype=Human Shaman
power=1
toughness=2
[/card]
[card]
name=Otherworldly Gaze
flashback={1}{U}
aicode=activate transforms((,newability[target(<anyamount>*[zpos<=3]|mylibrary) moveto(mygraveyard)])) oneshot
auto=name(Reveal top 3 cards) reveal:3 optionone name(Get a card) target(<upto:3>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put back) target(<3>*|reveal) moveto(mylibrary) optiontwoend revealend
text=Look at the top three cards of your library. Put any number of them into your graveyard and the rest back on top of your library in any order. -- Flashback {1}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={U}
type=Instant
[/card]
[card]
name=Otrimi, the Ever-Playful
abilities=trample,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={1}{B}{G}{U} name(Mutate)
auto=transforms((,newability[@combatdamaged(player) from(this):moveto(myhand) target(creature[mutate]|mygraveyard)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {1}{B}{G}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Trample -- Whenever this creature deals combat damage to a player, return target creature card with mutate from your graveyard to your hand.
mana={3}{B}{G}{U}
type=Legendary Creature
subtype=Nightmare Beast
power=6
toughness=6
[/card]
[card]
name=Oust
target=creature
auto=placefromthetop(2)
auto=life:3 targetController
text=Put target creature into its owner's library second from the top. Its controller gains 3 life.
mana={W}
type=Sorcery
[/card]
[card]
name=Out of Bounds
target=*|stack
auto=fizzle
auto=Counter target spell
text=Assist (Another player can pay up to {3} of this spell's cost.) -- Counter target spell.
mana={3}{U}
type=Instant
[/card]
[card]
name=Out of Time
auto=counter(0/0,type:creature:battlefield,Time)
auto=vanishing:0
auto=all(creature|battlefield) transforms((,newability[untap],newability[phaseout])) forever
auto=@each upkeep restriction{compare(hascnttime)~morethan~0}:phaseout all(creature|battlefield)
auto=@each my upkeep restriction{compare(hascnttime)~equalto~0}:sacrifice
text=When Out of Time enters the battlefield, untap all creatures, then phase them out until Out of Time leaves the battlefield. Put a time counter on Out of Time for each creature phased out this way. -- Vanishing (At the beginning of your upkeep, remove a time counter from this enchantment. When the last is removed, sacrifice it.)
mana={1}{W}{W}
type=Enchantment
[/card]
[card]
name=Outflank
target=creature[attacking;blocking]
auto=damage:type:creature:mybattlefield
text=Outflank deals damage to target attacking or blocking creature equal to the number of creatures you control.
mana={W}
type=Instant
[/card]
[card]
name=Outland Liberator
abilities=daybound
backside=Frenzied Trapbreaker
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto={1}{S}:name(Destroy artifact or enchantment) target(*[artifact;enchantment]|battlefield) destroy
text={1}, Sacrifice Outland Liberator: Destroy target artifact or enchantment. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Frenzied Trapbreaker
mana={1}{G}
type=Creature
subtype=Human Werewolf
power=2
toughness=2
[/card]
[card]
name=Outlaws' Merriment
auto=@each my upkeep:choice name(warrior) token(-47316011)
auto=@each my upkeep:choice name(cleric) token(-47316012)
auto=@each my upkeep:choice name(rogue) token(-47316013)
text=At the beginning of your upkeep, choose one at random. Create a red and white creature token with those characteristics. -- 3/1 Human Warrior with trample and haste. -- 2/1 Human Cleric with lifelink and haste. -- 1/2 Human Rogue with haste and "When this creature enters the battlefield, it deals 1 damage to any target."
mana={1}{R}{W}{W}
type=Enchantment
[/card]
[card]
name=Outmaneuver
target=<prex>creature[blocked]
auto=target(player) dynamicability<!powerstrike!>
text=X target blocked creatures assign their combat damage this turn as though they weren't blocked.
mana={X}{R}
type=Instant
[/card]
[card]
name=Outmuscle
target=creature|myBattlefield
auto=counter(1/1,1)
auto=if casted(this) then if spent({G}{G}{G}) then transforms((,newability[indestructible])) ueot
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Put a +1/+1 counter on target creature you control, then it fights target creature you don't control. (Each deals damage equal to its power to the other.) -- Adamant - If at least three green mana was spent to cast this spell, the creature you control gains indestructible until end of turn.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Outpost Siege
auto=choice name(Khans) transforms((,newability[counter(0/0.1.Khans)])) forever
auto=choice name(Dragons) transforms((,newability[counter(0/0.1.Dragons)])) forever
auto=@each my upkeep:this(counter{0/0.1.Khans}>=1) name(Reveal top card) reveal:1 optionone may activate castcard(restricted) target(*|reveal) optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend])) forever
auto=@movedto(creature|nonbattlezone) from(mybattlefield):this(counter{0/0.1.Dragons}>=1) damage:1 target(player,creature,planeswalker)
text=As Outpost Siege enters the battlefield, choose Khans or Dragons. -- Khans -- At the beginning of your upkeep, exile the top card of your library. Until end of turn, you may play that card. -- Dragons -- Whenever a creature you control leaves the battlefield, Outpost Siege deals 1 damage to any target.
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Outwit
target=*[-creature;-artifact;-enchantment;-planeswalker]|stack
auto=fizzle
text=Counter target spell that targets a player.
mana={U}
type=Instant
[/card]
[card]
name=Overabundance
auto=@tappedformana(land|opponentBattlefield):damage:1 opponent
auto=@tappedformana(land|myBattlefield):damage:1 controller
auto=lord(land) transforms((,newability[producecolor:land],newability[producecolor:green],newability[producecolor:blue],newability[producecolor:red],newability[producecolor:black],newability[producecolor:white]))
text=Whenever a player taps a land for mana, that player adds one mana to his or her mana pool of any type that land produced, and Overabundance deals 1 damage to him or her.
mana={1}{R}{G}
type=Enchantment
[/card]
[card]
name=Overcome
auto=all(creature|myBattlefield) 2/2 ueot
auto=all(creature|myBattlefield) trample ueot
text=Creatures you control get +2/+2 and gain trample until end of turn.
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Overflowing Insight
target=player
auto=draw:7 targetedplayer
text=Target player draws seven cards.
mana={4}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Overgrown Arch
abilities=defender
auto={T}:life:1 controller
auto={2}{S}:name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Defender -- {T}: You gain 1 life. -- {2}, Sacrifice Overgrown Arch: Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={1}{G}
type=Creature
subtype=Plant Wall
power=0
toughness=4
[/card]
[card]
name=Overgrown Armasaur
auto=_ENRAGE_create(saproling:creature saproling:1/1:green:)
text=Enrage - Whenever Overgrown Armasaur is dealt damage, create a 1/1 green Saproling creature token.
mana={3}{G}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Overgrown Farmland
auto=if type(other land|mybattlefield)~lessthan~2 then tap(noevent)
auto={T}:add{G}
auto={T}:add{W}
text=Overgrown Farmland enters the battlefield tapped unless you control two or more other lands. -- {T}: Add {G} or {W}.
type=Land
[/card]
[card]
name=Overgrowth Elemental
auto=target(other creature[elemental]) counter(1/1,1)
auto=@movedto(other creature[elemental]|graveyard) from(mybattlefield):counter(1/1,1)
auto=@movedto(other creature|graveyard) from(mybattlefield):life:1
text=When Overgrowth Elemental enters the battlefield, put a +1/+1 counter on another target Elemental you control. -- Whenever another creature you control dies, you gain 1 life. If that creature was an Elemental, put a +1/+1 counter on Overgrowth Elemental.
mana={2}{G}
type=Creature
subtype=Elemental
power=3
toughness=2
[/card]
[card]
name=Overmaster
auto=draw:1 controller
auto=emblem transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:all(trigger[to]) transforms((,newability[nofizzle])) oneshot])) ueot
text=The next instant or sorcery spell you cast this turn can't be countered by spells or abilities. -- Draw a card.
mana={R}
type=Sorcery
[/card]
[card]
name=Overrule
target=*|stack
auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?fizzle])) forever
auto=life:X controller
text=Counter target spell unless its controller pays {X}. You gain X life.
mana={X}{W}{U}
type=Instant
[/card]
[card]
name=Oversimplify
auto=count(type:creature:mybattlefield) && countb(type:creature:opponentbattlefield)
auto=all(creature|battlefield) moveto(exile)
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.countedamount) )!
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.countedbamount) )! opponent
text=Exile all creatures. Each player creates a 0/0 green and blue Fractal creature token and puts a number of +1/+1 counters on it equal to the total power of creatures they controlled that were exiled this way.
mana={3}{G}{U}
type=Sorcery
[/card]
[card]
name=Overwhelmed Apprentice
auto=deplete:2 opponent
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=When Overwhelmed Apprentice enters the battlefield, each opponent puts the top two cards of their library into their graveyard. Then you scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={U}
type=Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Overwhelmed Archivist
backside=Archive Haunt
abilities=hasdisturb
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
retrace={3}{U} name(Cast with disturb)
auto=if paid(retrace) then flip(backside)
auto=draw:1 controller && transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot
text=When Overwhelmed Archivist enters the battlefield, draw a card, then discard a card. -- Disturb {3}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Archive Haunt
mana={2}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Overwhelming Splendor
target=player
auto=lord(creature|targetedpersonsbattlefield) transforms((,setpower=1,settoughness=1,newability[noactivatedability])) forsrc
auto=onlymanaability
text=Enchant player -- Creatures enchanted player controls lose all abilities and have base power and toughness 1/1. -- Enchanted player can't activate abilities that aren't mana abilities or loyalty abilities.
mana={6}{W}{W}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Owlbear
abilities=trample
auto=draw:1 controller
text=Trample -- Keen Senses - When Owlbear enters the battlefield, draw a card.
mana={3}{G}{G}
type=Creature
subtype=Bird Bear
power=4
toughness=4
[/card]
[card]
name=Owlin Shieldmage
abilities=flying
auto=@targeted(this|myBattlefield) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 3 life more) name(This spell costs 3 life more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{L:3}]] name(pay 3 life) donothing?fizzle])) oneshot
text=Flying -- Ward-Pay 3 life. (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays 3 life.)
mana={3}{W}{B}
type=Creature
subtype=Bird Warlock
power=3
toughness=3
[/card]
[card]
name=Ox of Agonas
auto=reject all(*|myhand) && draw:3 controller
auto=if paid(retrace) then counter(1/1,1)
retrace={R}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=When Ox of Agonas enters the battlefield, discard your hand, then draw three cards. -- Escape-{R}{R}, Exile eight other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Ox of Agonas escapes with a +1/+1 counter on it.
mana={3}{R}{R}
type=Creature
subtype=Ox
power=4
toughness=2
[/card]
[card]
name=Pack Leader
auto=lord(creature[dog]|myBattlefield) 1/1
auto=_ATTACKING_preventAllcombatDamage to(creature[dog]|myBattlefield) ueot
text=Other Dogs you control get +1/+1. -- Whenever Pack Leader attacks, prevent all combat damage that would be dealt this turn to Dogs you control.
mana={1}{W}
type=Creature
subtype=Dog
power=2
toughness=2
[/card]
[card]
name=Pack Mastiff
auto={1}{R}:all(creature[myname]|myBattlefield) 1/0 ueot
text={1}{R}: Each creature you control named Pack Mastiff gets +1/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Dog
power=2
toughness=2
[/card]
[card]
name=Pack's Betrayal
target=creature
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=moveto(mybattlefield) and!( transforms((,newability[haste],newability[untap],newability[phaseaction[endofturn once sourceinplay] moveto(ownerbattlefield)])) ueot )!
auto=if type(*[wolf;werewolf]|mybattlefield)~morethan~0 then name(Scry 2) name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If you control a Wolf or Werewolf, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Pack's Favor
other={convoke} name(Convoke)
target=creature
auto=+3/+3 
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.) -- Target creature gets +3/+3 until end of turn.
mana={2}{G}
type=Instant
[/card]
[card]
name=Pact of the Serpent
auto=choice name(Target opponent) ability$!chooseatype all(creature[chosentype]|opponentBattlefield) transforms((,newability[life:-1 controller],newability[draw:1 controller])) ueot chooseend!$ controller
auto=choice name(Target yourself) ability$!chooseatype all(creature[chosentype]|myBattlefield) transforms((,newability[life:-1 controller],newability[draw:1 controller])) ueot chooseend!$ controller
text=Choose a creature type. Target player draws X cards and loses X life, where X is the number of creatures they control of the chosen type.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Pain // Suffering
other={3}{R} name(Suffering)
auto=if paid(alternative) then destroy target(land)
auto=ifnot paid(alternative) then target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer
text=Target player discards a card. // Destroy target land.
mana={B}
type=Sorcery
[/card]
[card]
name=Painful Lesson
target=player
auto=draw:2 targetedplayer
auto=life:-2 targetedplayer
text=Target player draws two cards and loses 2 life.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Painiac
auto=@each my upkeep:all(this) rolld6 6 winability lastrollresult/0 ueot winabilityend loseability lastrollresult/0 ueot loseabilityend rolld6end
text=At the beginning of your upkeep, roll a six-sided die. Painiac gets +X/+0 until end of turn, where X is the result.
mana={2}{R}
type=Creature
subtype=Brainiac
power=0
toughness=3
[/card]
[card]
name=Painted Bluffs
auto={T}:Add{1}
auto={1}{T}:add{G}
auto={1}{T}:add{B}
auto={1}{T}:add{W}
auto={1}{T}:add{R}
auto={1}{T}:add{U}
text={T}: Add {1} to your mana pool. -- {1}, {T}: Add one mana of any color to your mana pool.
type=Land
subtype=Desert
[/card]
[card]
name=Painter's Servant
auto=chooseacolor lord(creature,artifact,enchantment,planeswalker,stack,exile,sideboard,graveyard,library) becomes(,chosencolor) chooseend
text=As Painter's Servant enters the battlefield, choose a color. -- All cards that aren't on the battlefield, spells, and permanents are the chosen color in addition to their other colors.
mana={2}
type=Artifact Creature
subtype=Scarecrow
power=1
toughness=3
[/card]
[card]
name=Paired Tactician
auto=@combat(attacking) source(this) restriction{type(other warrior[attacking]|myBattlefield)~morethan~0}:counter(1/1,1) all(this)
text=Whenever Paired Tactician and at least one other Warrior attack, put a +1/+1 counter on Paired Tactician.
mana={2}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Pako, Arcane Retriever
abilities=hiddenface,haste,partner
auto=may name(Put partner in hand) moveTo(myhand) target(Haldan^ Avid Arcanist|mylibrary)
auto=_ATTACKING_NOTCODED
text=Partner with Haldan, Avid Arcanist -- Haste -- Whenever Pako, Arcane Retriever attacks, exile the top card of each player's library and put a fetch counter on each of them. Put a +1/+1 counter on Pako for each noncreature card exiled this way.
mana={3}{R}{G}
type=Legendary Creature
subtype=Elemental Dog
power=3
toughness=3
[/card]
[card]
name=Palace Guard
text=Palace Guard can block any number of creatures.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=4
[/card]
[card]
name=Palace Jailer
auto=_MONARCH_CONTROLLER_
auto=name(Exile creature) target(creature|opponentbattlefield) moveto(opponentexile) and!( transforms((,newability[@becomesmonarchof(player):name(Return to battlefield) moveto(ownerbattlefield)])) forever )!
text=When Palace Jailer enters the battlefield, you become the monarch. -- When Palace Jailer enters the battlefield, exile target creature an opponent controls until an opponent becomes the monarch. (That creature returns under its owner's control.)
mana={2}{W}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Palace Sentinels
auto=_MONARCH_CONTROLLER_
text=When Palace Sentinels enters the battlefield, you become the monarch.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=4
[/card]
[card]
name=Paladin Class
abilities=lifefaker
auto=counter(0/0,1,Level)
auto=this(variable{controllerturn}>0) lord(*|opponentcastingzone) altercost(colorless, +1)
auto=this(variable{hascntlevel}=1) {2}{W}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}>=2) lord(creature|myBattlefield) 1/1
auto=this(variable{hascntlevel}=2) {4}{W}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@each my blockers restriction{compare(hascntlevel)~morethan~2}:name(Choose a creature) target(creature[attacking]|mybattlefield) transforms((,newability[double strike],newability[foreach(other creature[attacking]) 1/1])) ueot
text=(Gain the next level as a sorcery to add its ability.) -- Spells your opponents cast during your turn cost {1} more to cast. -- {2}{W}: Level 2 -- Creatures you control get +1/+1. -- {4}{W}: Level 3 -- Whenever you attack, until end of turn, target attacking creature gets +1/+1 for each other attacking creature and gains double strike.
mana={W}
type=Enchantment
subtype=Class
[/card]
[card]
name=Paladin of Atonement
auto=@each upkeep restriction{lastturn(life)~morethan~0}:counter(1/1,1)
auto=_DIES_dynamicability<!toughnesslifegain srccontroller!>
text=At the beginning of each upkeep, if you lost life last turn, put a +1/+1 counter on Paladin of Atonement. -- When Paladin of Atonement dies, you gain life equal to its toughness.
mana={1}{W}
type=Creature
subtype=Vampire Knight
power=1
toughness=1
[/card]
[card]
name=Paladin of the Bloodstained
auto=token(Vampire,creature Vampire,1/1,white,lifelink)
text=When Paladin of the Bloodstained enters the battlefield, create a 1/1 white Vampire creature token with lifelink.
mana={3}{W}
type=Creature
subtype=Vampire Knight
power=3
toughness=2
[/card]
[card]
name=Paladin's Shield
abilities=flash
auto={3}:equip
auto=teach(creature) 0/2
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
text=Flash -- When Paladin's Shield enters the battlefield, attach it to target creature you control. -- Equipped creature gets +0/+2. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Pale Moon
auto=lord(land|mybattlefield) loseabilities && transforms((,newability[producecolor:land])) ueot
auto=lord(land|opponentbattlefield) loseabilities && transforms((,newability[producecolor:land])) ueot
text=Until end of turn, if a player taps a nonbasic land for mana, it produces colorless mana instead of any other type.
mana={1}{U}
type=Instant
[/card]
[card]
name=Palisade Giant
abilities=cantlifelose
auto=@damageof(player):life:thatmuch controller && damage:thatmuch all(this)
text=All damage that would be dealt to you or another permanent you control is dealt to Palisade Giant instead.
mana={4}{W}{W}
type=Creature
subtype=Giant Soldier
power=2
toughness=7
[/card]
[card]
name=Palladia-Mors, the Ruiner
abilities=flying,opponentshroud,vigilance,trample
auto=_ENRAGE_-opponentshroud forever
text=Flying, vigilance, trample -- Palladia-Mors, the Ruiner has hexproof if it hasn't dealt damage yet.
mana={3}{R}{G}{W}
type=Legendary Creature
subtype=Elder Dragon
power=6
toughness=6
[/card]
[card]
name=Panoptic Mirror
auto={0}{T} restriction{type(instant[manacost=0]|myhand)~morethan~0}:name(Exile instant with manacost 0) transforms((,newability[moveTo(myexile) target(instant[manacost=0]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=0]|myexile)])) forever
auto={0}{T} restriction{type(sorcery[manacost=0]|myhand)~morethan~0}:name(Exile sorcery with manacost 0) transforms((,newability[moveTo(myexile) target(sorcery[manacost=0]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=0]|myexile)])) forever
auto={1}{T} restriction{type(instant[manacost=1]|myhand)~morethan~0}:name(Exile instant with manacost 1) transforms((,newability[moveTo(myexile) target(instant[manacost=1]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=1]|myexile)])) forever
auto={1}{T} restriction{type(sorcery[manacost=1]|myhand)~morethan~0}:name(Exile sorcery with manacost 1) transforms((,newability[moveTo(myexile) target(sorcery[manacost=1]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=1]|myexile)])) forever
auto={2}{T} restriction{type(instant[manacost=2]|myhand)~morethan~0}:name(Exile instant with manacost 2) transforms((,newability[moveTo(myexile) target(instant[manacost=2]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=2]|myexile)])) forever
auto={2}{T} restriction{type(sorcery[manacost=2]|myhand)~morethan~0}:name(Exile sorcery with manacost 2) transforms((,newability[moveTo(myexile) target(sorcery[manacost=2]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=2]|myexile)])) forever
auto={3}{T} restriction{type(instant[manacost=3]|myhand)~morethan~0}:name(Exile instant with manacost 3) transforms((,newability[moveTo(myexile) target(instant[manacost=3]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=3]|myexile)])) forever
auto={3}{T} restriction{type(sorcery[manacost=3]|myhand)~morethan~0}:name(Exile sorcery with manacost 3) transforms((,newability[moveTo(myexile) target(sorcery[manacost=3]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=3]|myexile)])) forever
auto={4}{T} restriction{type(instant[manacost=4]|myhand)~morethan~0}:name(Exile instant with manacost 4) transforms((,newability[moveTo(myexile) target(instant[manacost=4]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=4]|myexile)])) forever
auto={4}{T} restriction{type(sorcery[manacost=4]|myhand)~morethan~0}:name(Exile sorcery with manacost 4) transforms((,newability[moveTo(myexile) target(sorcery[manacost=4]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=4]|myexile)])) forever
auto={5}{T} restriction{type(instant[manacost=5]|myhand)~morethan~0}:name(Exile instant with manacost 5) transforms((,newability[moveTo(myexile) target(instant[manacost=5]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=5]|myexile)])) forever
auto={5}{T} restriction{type(sorcery[manacost=5]|myhand)~morethan~0}:name(Exile sorcery with manacost 5) transforms((,newability[moveTo(myexile) target(sorcery[manacost=5]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=5]|myexile)])) forever
auto={6}{T} restriction{type(instant[manacost=6]|myhand)~morethan~0}:name(Exile instant with manacost 6) transforms((,newability[moveTo(myexile) target(instant[manacost=6]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=6]|myexile)])) forever
auto={6}{T} restriction{type(sorcery[manacost=6]|myhand)~morethan~0}:name(Exile sorcery with manacost 6) transforms((,newability[moveTo(myexile) target(sorcery[manacost=6]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=6]|myexile)])) forever
auto={7}{T} restriction{type(instant[manacost=7]|myhand)~morethan~0}:name(Exile instant with manacost 7) transforms((,newability[moveTo(myexile) target(instant[manacost=7]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=7]|myexile)])) forever
auto={7}{T} restriction{type(sorcery[manacost=7]|myhand)~morethan~0}:name(Exile sorcery with manacost 7) transforms((,newability[moveTo(myexile) target(sorcery[manacost=7]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=7]|myexile)])) forever
auto={8}{T} restriction{type(instant[manacost=8]|myhand)~morethan~0}:name(Exile instant with manacost 8) transforms((,newability[moveTo(myexile) target(instant[manacost=8]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=8]|myexile)])) forever
auto={8}{T} restriction{type(sorcery[manacost=8]|myhand)~morethan~0}:name(Exile sorcery with manacost 8) transforms((,newability[moveTo(myexile) target(sorcery[manacost=8]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=8]|myexile)])) forever
auto={9}{T} restriction{type(instant[manacost=9]|myhand)~morethan~0}:name(Exile instant with manacost 9) transforms((,newability[moveTo(myexile) target(instant[manacost=9]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=9]|myexile)])) forever
auto={9}{T} restriction{type(sorcery[manacost=9]|myhand)~morethan~0}:name(Exile sorcery with manacost 9) transforms((,newability[moveTo(myexile) target(sorcery[manacost=9]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=9]|myexile)])) forever
auto={10}{T} restriction{type(instant[manacost=10]|myhand)~morethan~0}:name(Exile instant with manacost 10) transforms((,newability[moveTo(myexile) target(instant[manacost=10]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=10]|myexile)])) forever
auto={10}{T} restriction{type(sorcery[manacost=10]|myhand)~morethan~0}:name(Exile sorcery with manacost 10) transforms((,newability[moveTo(myexile) target(sorcery[manacost=10]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=10]|myexile)])) forever
auto={11}{T} restriction{type(instant[manacost=11]|myhand)~morethan~0}:name(Exile instant with manacost 11) transforms((,newability[moveTo(myexile) target(instant[manacost=11]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=11]|myexile)])) forever
auto={11}{T} restriction{type(sorcery[manacost=11]|myhand)~morethan~0}:name(Exile sorcery with manacost 11) transforms((,newability[moveTo(myexile) target(sorcery[manacost=11]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=11]|myexile)])) forever
auto={12}{T} restriction{type(instant[manacost=12]|myhand)~morethan~0}:name(Exile instant with manacost 12) transforms((,newability[moveTo(myexile) target(instant[manacost=12]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=12]|myexile)])) forever
auto={12}{T} restriction{type(sorcery[manacost=12]|myhand)~morethan~0}:name(Exile sorcery with manacost 12) transforms((,newability[moveTo(myexile) target(sorcery[manacost=12]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=12]|myexile)])) forever
auto={13}{T} restriction{type(instant[manacost=13]|myhand)~morethan~0}:name(Exile instant with manacost 13) transforms((,newability[moveTo(myexile) target(instant[manacost=13]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=13]|myexile)])) forever
auto={13}{T} restriction{type(sorcery[manacost=13]|myhand)~morethan~0}:name(Exile sorcery with manacost 13) transforms((,newability[moveTo(myexile) target(sorcery[manacost=13]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=13]|myexile)])) forever
auto={14}{T} restriction{type(instant[manacost=14]|myhand)~morethan~0}:name(Exile instant with manacost 14) transforms((,newability[moveTo(myexile) target(instant[manacost=14]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=14]|myexile)])) forever
auto={14}{T} restriction{type(sorcery[manacost=14]|myhand)~morethan~0}:name(Exile sorcery with manacost 14) transforms((,newability[moveTo(myexile) target(sorcery[manacost=14]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=14]|myexile)])) forever
auto={15}{T} restriction{type(instant[manacost=15]|myhand)~morethan~0}:name(Exile instant with manacost 15) transforms((,newability[moveTo(myexile) target(instant[manacost=15]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=15]|myexile)])) forever
auto={15}{T} restriction{type(sorcery[manacost=15]|myhand)~morethan~0}:name(Exile sorcery with manacost 15) transforms((,newability[moveTo(myexile) target(sorcery[manacost=15]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=15]|myexile)])) forever
auto={16}{T} restriction{type(instant[manacost=16]|myhand)~morethan~0}:name(Exile instant with manacost 16) transforms((,newability[moveTo(myexile) target(instant[manacost=16]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=16]|myexile)])) forever
auto={16}{T} restriction{type(sorcery[manacost=16]|myhand)~morethan~0}:name(Exile sorcery with manacost 16) transforms((,newability[moveTo(myexile) target(sorcery[manacost=16]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=16]|myexile)])) forever
auto={17}{T} restriction{type(instant[manacost=17]|myhand)~morethan~0}:name(Exile instant with manacost 17) transforms((,newability[moveTo(myexile) target(instant[manacost=17]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=17]|myexile)])) forever
auto={17}{T} restriction{type(sorcery[manacost=17]|myhand)~morethan~0}:name(Exile sorcery with manacost 17) transforms((,newability[moveTo(myexile) target(sorcery[manacost=17]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=17]|myexile)])) forever
auto={18}{T} restriction{type(instant[manacost=18]|myhand)~morethan~0}:name(Exile instant with manacost 18) transforms((,newability[moveTo(myexile) target(instant[manacost=18]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=18]|myexile)])) forever
auto={18}{T} restriction{type(sorcery[manacost=18]|myhand)~morethan~0}:name(Exile sorcery with manacost 18) transforms((,newability[moveTo(myexile) target(sorcery[manacost=18]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=18]|myexile)])) forever
auto={19}{T} restriction{type(instant[manacost=19]|myhand)~morethan~0}:name(Exile instant with manacost 19) transforms((,newability[moveTo(myexile) target(instant[manacost=19]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=19]|myexile)])) forever
auto={19}{T} restriction{type(sorcery[manacost=19]|myhand)~morethan~0}:name(Exile sorcery with manacost 19) transforms((,newability[moveTo(myexile) target(sorcery[manacost=19]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=19]|myexile)])) forever
auto={20}{T} restriction{type(instant[manacost=20]|myhand)~morethan~0}:name(Exile instant with manacost 20) transforms((,newability[moveTo(myexile) target(instant[manacost=20]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(instant[manacost=20]|myexile)])) forever
auto={20}{T} restriction{type(sorcery[manacost=20]|myhand)~morethan~0}:name(Exile sorcery with manacost 20) transforms((,newability[moveTo(myexile) target(sorcery[manacost=20]|myhand)],newability[@each my upkeep:may activate castcard(copied noevent) target(sorcery[manacost=20]|myexile)])) forever
text=Imprint - {X}, {T}: You may exile an instant or sorcery card with converted mana cost X from your hand. -- At the beginning of your upkeep, you may copy a card exiled with Panoptic Mirror. If you do, you may cast the copy without paying its mana cost.
mana={5}
type=Artifact
[/card]
[card]
name=Paper Tiger
auto=all(Rock Lobsters|battlefield) cantblock
auto=all(Rock Lobsters|battlefield) cantattack
text=Rock Lobsters cannot attack or block.
mana={4}
type=Artifact Creature
power=4
toughness=3
[/card]
[card]
name=Paradise Druid
auto=this(untapped) opponentshroud
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=Paradise Druid has hexproof as long as it's untapped. -- {T}: Add one mana of any color.
mana={1}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=1
[/card]
[card]
name=Paradox Haze
target=player
auto=@each targetedplayer upkeep:nextphasealter(add,upkeep,targetedplayer,after<draw>)
text=Enchant player. -- At the beginning of enchanted player's first upkeep each turn, that player gets an additional upkeep step after this step.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Paradox Zone
auto=counter(0/0,1,Growth)
auto=@each my end:token(Fractal,Creature Fractal,0/0,green,blue) and!( thisforeach(counter{0/0,1,Growth}) counter(1/1) )!
auto=@each my end:thisforeach(counter{0/0,1,Growth}) counter(0/0,1,Growth)
text=Paradox Zone enters the battlefield with a growth counter on it. -- At the beginning of your end step, double the number of growth counters on Paradox Zone. Then create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is the number of growth counters on Paradox Zone.
mana={4}{G}
type=Enchantment
[/card]
[card]
name=Parasitic Impetus
target=creature
auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_life:-2 controller],newability[_ATTACKING_life:2 opponent]))
auto=2/2
text=Enchant creature -- Enchanted creature gets +2/+2 and is goaded. (It attacks each combat if able and attacks a player other than you if able.) -- Whenever enchanted creature attacks, its controller loses 2 life and you gain 2 life.
mana={2}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Parcel Myr
auto={2}{S}:draw:1 controller
text={2} , Sacrifice Parcel Myr: Draw a card.
mana={1}{U}
type=Artifact Creature
subtype=Clue Myr
power=2
toughness=1
[/card]
[card]
name=Parcelbeast
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={G}{U} name(Mutate)
auto=ifnot paid(alternative) then transforms((,newability[becomes(,,blue,green)])) forever all(this)
auto=transforms((,newability[name(Look top card) {1}{T}:ability$!name(Reveal) reveal:1 optionone if type(*[-land]|reveal)~morethan~0 then name(Put card back to library) name(Put card back to library) target(<1>*|reveal) moveto(mylibrary) else name(May move to battlefield) target(<upto:1>*[land]|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put land in hand) target(<1>*[land]|reveal) moveto(myhand) optiontwoend revealend!$ controller]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield) && becomes(,,blue,green) forever
auto=if paid(alternative) then name(Mutate Under) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {G}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- {1}, {T}: Look at the top card of your library. If it's a land card, you may put it onto the battlefield. If you don't put the card onto the battlefield, put it into your hand.
mana={2}{G}{U}
type=Creature
subtype=Elemental Beast
power=2
toughness=4
[/card]
[card]
name=Pardic Wanderer
abilities=trample
text=Trample
mana={6}
type=Artifact Creature
subtype=Golem
power=5
toughness=5
[/card]
[card]
name=Parhelion II
abilities=flying,first strike,vigilance
auto=_ATTACKING_create(angel:creature angel:4/4:white:flying:vigilance:battleready)*2
auto={crew(other creature[power>=4]|myBattlefield)}:name(crew 4 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=4]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=2]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 4 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=3]|myBattlefield)}:name(crew 4 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 4 [3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~3}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 4 [4 creature]) becomes(Artifact Creature) ueot
text=Flying, first strike, vigilance -- Whenever Parhelion II attacks, create two 4/4 white Angel creature tokens with flying and vigilance that are attacking. -- Crew 4 (Tap any number of creatures you control with total power 4 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={6}{W}{W}
type=Legendary Artifact
subtype=Vehicle
power=5
toughness=5
[/card]
[card]
name=Parhelion Patrol
abilities=flying,vigilance,mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
text=Flying, vigilance -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.)
mana={3}{W}
type=Creature
subtype=Human Knight
power=2
toughness=3
[/card]
[card]
name=Pariah
target=creature
auto=teach(creature) cantlifelose
auto=teach(creature) transforms((,newability[@damageof(player):life:thatmuch controller && damage:thatmuch all(this)]))
text=Enchant creature -- All damage that would be dealt to you is dealt to enchanted creature instead.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Pariah's Shield
auto={3}:equip
auto=teach(creature) cantlifelose
auto=teach(creature) transforms((,newability[@damageof(player):life:thatmuch controller && damage:thatmuch all(this)]))
auto=@damageof(player):life:thatmuch controller && damage:thatmuch all(this)
text=All damage that would be dealt to you is dealt to equipped creature instead. -- Equip {3}
mana={5}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Paroxysm
target=creature
auto=teach(creature) transforms((,newability[@each targetController upkeep:ability$!name(Reveal) reveal:1 optionone name(look first card) target(<1>*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(put back) moveto(ownerlibrary) all(*|reveal) optiontwoend revealend!$ controller])) forever
auto=teach(creature) transforms((,newability[@each targetController upkeep:if type(land[zpos=1]|ownerlibrary)~morethan~0 then destroy else 3/3 ueot])) forever
text=Enchant creature -- At the beginning of the upkeep of enchanted creature's controller, that player reveals the top card of his or her library. If that card is a land card, destroy that creature. Otherwise, it gets +3/+3 until end of turn.
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Parting Thoughts
auto=if type(creature[-counter{1/1.1}]|battlefield)~morethan~0 then choice name(Destroy creature with no counters 1/1) target(creature[-counter{1/1.1}]|battlefield) destroy
auto=if type(creature[counter{1/1.1}]|battlefield)~morethan~0 then choice name(Destroy creature with 1 counter 1/1) target(creature[counter{1/1.1}]|battlefield) transforms((,newability[destroy],newability[draw:1 controller],newability[life:-1 controller])) forever
auto=if type(creature[counter{1/1.2}]|battlefield)~morethan~0 then choice name(Destroy creature with 2 counters 1/1) target(creature[counter{1/1.2}]|battlefield) transforms((,newability[destroy],newability[draw:2 controller],newability[life:-2 controller])) forever
auto=if type(creature[counter{1/1.3}]|battlefield)~morethan~0 then choice name(Destroy creature with 3 counters 1/1) target(creature[counter{1/1.3}]|battlefield) transforms((,newability[destroy],newability[draw:3 controller],newability[life:-3 controller])) forever
auto=if type(creature[counter{1/1.4}]|battlefield)~morethan~0 then choice name(Destroy creature with 4 counters 1/1) target(creature[counter{1/1.4}]|battlefield) transforms((,newability[destroy],newability[draw:4 controller],newability[life:-4 controller])) forever
auto=if type(creature[counter{1/1.5}]|battlefield)~morethan~0 then choice name(Destroy creature with 5 counters 1/1) target(creature[counter{1/1.5}]|battlefield) transforms((,newability[destroy],newability[draw:5 controller],newability[life:-5 controller])) forever
auto=if type(creature[counter{1/1.6}]|battlefield)~morethan~0 then choice name(Destroy creature with 6 counters 1/1) target(creature[counter{1/1.6}]|battlefield) transforms((,newability[destroy],newability[draw:6 controller],newability[life:-6 controller])) forever
auto=if type(creature[counter{1/1.7}]|battlefield)~morethan~0 then choice name(Destroy creature with 7 counters 1/1) target(creature[counter{1/1.7}]|battlefield) transforms((,newability[destroy],newability[draw:7 controller],newability[life:-7 controller])) forever
auto=if type(creature[counter{1/1.8}]|battlefield)~morethan~0 then choice name(Destroy creature with 8 counters 1/1) target(creature[counter{1/1.8}]|battlefield) transforms((,newability[destroy],newability[draw:8 controller],newability[life:-8 controller])) forever
auto=if type(creature[counter{1/1.9}]|battlefield)~morethan~0 then choice name(Destroy creature with 9 counters 1/1) target(creature[counter{1/1.9}]|battlefield) transforms((,newability[destroy],newability[draw:9 controller],newability[life:-9 controller])) forever
auto=if type(creature[counter{1/1.10}]|battlefield)~morethan~0 then choice name(Destroy creature with 10 counters 1/1) target(creature[counter{1/1.10}]|battlefield) transforms((,newability[destroy],newability[draw:10 controller],newability[life:-10 controller])) forever
auto=if type(creature[counter{1/1.11}]|battlefield)~morethan~0 then choice name(Destroy creature with 11 counters 1/1) target(creature[counter{1/1.11}]|battlefield) transforms((,newability[destroy],newability[draw:11 controller],newability[life:-11 controller])) forever
auto=if type(creature[counter{1/1.12}]|battlefield)~morethan~0 then choice name(Destroy creature with 12 counters 1/1) target(creature[counter{1/1.12}]|battlefield) transforms((,newability[destroy],newability[draw:12 controller],newability[life:-12 controller])) forever
auto=if type(creature[counter{1/1.13}]|battlefield)~morethan~0 then choice name(Destroy creature with 13 counters 1/1) target(creature[counter{1/1.13}]|battlefield) transforms((,newability[destroy],newability[draw:13 controller],newability[life:-13 controller])) forever
auto=if type(creature[counter{1/1.14}]|battlefield)~morethan~0 then choice name(Destroy creature with 14 counters 1/1) target(creature[counter{1/1.14}]|battlefield) transforms((,newability[destroy],newability[draw:14 controller],newability[life:-14 controller])) forever
auto=if type(creature[counter{1/1.15}]|battlefield)~morethan~0 then choice name(Destroy creature with 15 counters 1/1) target(creature[counter{1/1.15}]|battlefield) transforms((,newability[destroy],newability[draw:15 controller],newability[life:-15 controller])) forever
auto=if type(creature[counter{1/1.16}]|battlefield)~morethan~0 then choice name(Destroy creature with 16 counters 1/1) target(creature[counter{1/1.16}]|battlefield) transforms((,newability[destroy],newability[draw:16 controller],newability[life:-16 controller])) forever
auto=if type(creature[counter{1/1.17}]|battlefield)~morethan~0 then choice name(Destroy creature with 17 counters 1/1) target(creature[counter{1/1.17}]|battlefield) transforms((,newability[destroy],newability[draw:17 controller],newability[life:-17 controller])) forever
auto=if type(creature[counter{1/1.18}]|battlefield)~morethan~0 then choice name(Destroy creature with 18 counters 1/1) target(creature[counter{1/1.18}]|battlefield) transforms((,newability[destroy],newability[draw:18 controller],newability[life:-18 controller])) forever
auto=if type(creature[counter{1/1.19}]|battlefield)~morethan~0 then choice name(Destroy creature with 19 counters 1/1) target(creature[counter{1/1.19}]|battlefield) transforms((,newability[destroy],newability[draw:19 controller],newability[life:-19 controller])) forever
auto=if type(creature[counter{1/1.20}]|battlefield)~morethan~0 then choice name(Destroy creature with 20 counters 1/1) target(creature[counter{1/1.20}]|battlefield) transforms((,newability[destroy],newability[draw:20 controller],newability[life:-20 controller])) forever
text=Destroy target creature. You draw X cards and you lose X life, where X is the number of counters on that creature.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Pashalik Mons
auto=@movedto(other creature[goblin]|graveyard) from(mybattlefield):damage:1 target(creature,player)
auto=_DIES_damage:1 target(player,creature,planeswalker)
auto={3}{R}{S(creature[goblin]|myBattlefield)}:token(Goblin,Creature Goblin,1/1,red)*2
text=Whenever Pashalik Mons or another Goblin you control dies, Pashalik Mons deals 1 damage to any target. -- {3}{R}, Sacrifice a Goblin: Create two 1/1 red Goblin creature tokens.
mana={2}{R}
type=Legendary Creature
subtype=Goblin Warrior
power=2
toughness=2
[/card]
[card]
name=Passwall Adept
auto={2}{U}:target(creature) unblockable
text={2}{U}: Target creature can't be blocked this turn.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Patagia Tiger
abilities=flying
auto=target(human|myBattlefield) 2/2 ueot
text=Flying -- When Patagia Tiger enters the battlefield, target Human you control gets +2/+2 until end of turn.
mana={4}{W}
type=Creature
subtype=Cat
power=3
toughness=4
[/card]
[card]
name=Path of Ancestry
auto=tap(noevent)
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=aslongas(*[iscommander&red]|myzones) {T}:name(Add red mana) name(Add red mana) transforms((,newability[add{R}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot
auto=aslongas(*[iscommander&white]|myzones) {T}:name(Add white mana) name(Add white mana) transforms((,newability[add{W}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot
auto=aslongas(*[iscommander&green]|myzones) {T}:name(Add green mana) name(Add green mana) transforms((,newability[add{G}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot
auto=aslongas(*[iscommander&blue]|myzones) {T}:name(Add blue mana) name(Add blue mana) transforms((,newability[add{U}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot
auto=aslongas(*[iscommander&black]|myzones) {T}:name(Add black mana) name(Add black mana) transforms((,newability[add{B}],newability[if type(creature|myrestrictedcastingzone)~morethan~0 then counter(0/0.1.PathEffect)])) oneshot
auto=@movedto(creature|mybattlefield) restriction{compare(hascntpatheffect)~morethan~0}:name(Scry if share type) all(trigger[to]) name(Scry if share type) transforms((,newability[if type(*[iscommander&share!types!]|myzones)~morethan~0 then scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) oneshot
auto=@movedto(creature|mybattlefield) restriction{compare(hascntpatheffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.PathEffect)
auto=@each endofturn restriction{compare(hascntpatheffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.PathEffect)
text=Path of Ancestry enters the battlefield tapped. -- {T}: Add one mana of any color in your commander's color identity. When that mana is spent to cast a creature spell that shares a creature type with your commander, scry 1.
type=Land
[/card]
[card]
name=Path of Discovery
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=@movedTo(creature|myBattlefield):all(trigger[to]) name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=Whenever a creature enters the battlefield under your control, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on the creature, then put the card back or put it into your graveyard.)
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Path of Mettle
auto=all(creature[-haste;-first strike;-double strike;-vigilance]|battlefield) damage:1
auto=@each my blockers restriction{type(creature[attacking;vigilance]|myBattlefield)~morethan~1}:flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;vigilance]|myBattlefield)~morethan~0}:if type(creature[attacking;haste]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;vigilance]|myBattlefield)~morethan~0}:if type(creature[attacking;first strike]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;vigilance]|myBattlefield)~morethan~0}:if type(creature[attacking;double strike]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(type(creature[attacking;haste]|myBattlefield)~morethan~1}:flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;haste]|myBattlefield)~morethan~0}:if type(creature[attacking;vigilance]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;haste]|myBattlefield)~morethan~0}:if type(creature[attacking;first strike]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;haste]|myBattlefield)~morethan~0}:if type(creature[attacking;double strike]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking;first strike]|myBattlefield)~morethan~1}:flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;first strike]|myBattlefield)~morethan~0}:if type(creature[attacking;vigilance]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;first strike]|myBattlefield)~morethan~0}:if type(creature[attacking;haste]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;first strike]|myBattlefield)~morethan~0}:if type(creature[attacking;double strike]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking;double strike]|myBattlefield)~morethan~1}:flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;double strike]|myBattlefield)~morethan~0}:if type(creature[attacking;vigilance]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;double strike]|myBattlefield)~morethan~0}:if type(creature[attacking;haste]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
auto=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~1,type(creature[attacking;double strike]|myBattlefield)~morethan~0}:if type(creature[attacking;first strike]|myBattlefield)~morethan~0 then flip(Metzali, Tower of Triumph)
text=When Path of Mettle enters the battlefield, it deals 1 damage to each creature that doesn't have first strike, double strike, vigilance, or haste. -- Whenever you attack with at least two creatures that have first strike, double strike, vigilance, and/or haste, transform Path of Mettle.
mana={R}{W}
type=Legendary Enchantment
[/card]
[card]
name=Path to the Festival
flashback={4}{G}
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=name(Search basic land) target(land[basic]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle],newability[if compare(pbasiclandtypes)~morethan~2 then scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) oneshot
text=Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle. Then if there are three or more basic land types among lands you control, scry 1. (Lok at the top card of your library. You may put that card on the bottom of your library.) -- Flashback {4}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Path to the World Tree
auto=target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )!
auto={2}{W}{U}{B}{R}{G}:transforms((,newability[sacrifice],newability[life:2 controller],newability[draw:2 controller],newability[life:-2 opponent],newability[token(Bear^Creature Bear^2/2^green)],newability[may name(Damage creature) target(creature) damage:2])) oneshot
text=When Path to the World Tree enters the battlefield, search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. -- {2}{W}{U}{B}{R}{G}, Sacrifice Path to the World Tree: You gain 2 life and draw two cards. Target opponent loses 2 life. Path to the World Tree deals 2 damage to up to one target creature. You create a 2/2 green Bear creature token.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Pathmaker Initiate
auto={T}:target(creature[power<=2]) unblockable ueot
text={T}: Target creature with power 2 or less can't be blocked this turn.
mana={1}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Pathrazer of Ulamog
abilities=threeblockers
auto=_ATTACKING_name(Annihilate 3) ability$!name(sacrifice) notatarget(<3>*|mybattlefield) sacrifice!$ opponent
text=Annihilator 3 (Whenever this creature attacks, defending player sacrifices three permanents.) -- Pathrazer of Ulamog can't be blocked except by three or more creatures.
mana={11}
type=Creature
subtype=Eldrazi
power=9
toughness=9
[/card]
[card]
name=Patient Rebuilding
auto=@each my upkeep restriction{type(land[zpos<=3]|opponentlibrary)~equalto~0}:deplete:3 opponent
auto=@each my upkeep restriction{type(land[zpos<=3]|opponentlibrary)~equalto~1}:deplete:3 opponent && draw:1 controller
auto=@each my upkeep restriction{type(land[zpos<=3]|opponentlibrary)~equalto~2}:deplete:3 opponent && draw:2 controller
auto=@each my upkeep restriction{type(land[zpos<=3]|opponentlibrary)~equalto~3}:deplete:3 opponent && draw:3 controller
text=At the beginning of your upkeep, target opponent mills three cards, then you draw a card for each land card put into their graveyard this way.
mana={3}{U}{U}
type=Enchantment
[/card]
[card]
name=Patriarch's Bidding
auto=chooseatype moveto(ownerbattlefield) all(creature[chosentype]|graveyard) chooseend
text=Each player chooses a creature type. Each player returns all creature cards of a type chosen this way from his or her graveyard to the battlefield.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Patrician Geist
abilities=flying
auto=lord(other spirit|myBattlefield) 1/1
auto=lord(*|mygraveyard) altercost(colorless,-1)
text=Flying -- Other spirits you control get +1/+1. -- Spells you cast from your graveyard cost {1} less to cast.
type=Creature
subtype=Spirit Knight
mana={2}{U}
power=2
toughness=2
[/card]
[card]
name=Patron of the Vein
abilities=flying
auto=destroy target(creature|opponentBattlefield)
auto=@movedTo(creature|graveyard) from(opponentbattlefield):all(trigger[from]) moveto(exile) && counter(1/1)all(vampire|myBattlefield)
text=Flying -- When Patron of the Vein enters the battlefield, destroy target creature an opponent controls. -- Whenever a creature an opponent controls dies, exile it and put a +1/+1 counter on each Vampire you control.
mana={4}{B}{B}
type=Creature
subtype=Vampire Shaman
power=4
toughness=4
[/card]
[card]
name=Pattern Matcher
aicode=activate moveTo(myBattlefield) target(creature[share!name!]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(creature[share!name!]|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=When Pattern Matcher enters the battlefield, you may search your library for a card with the same name as another creature you control, reveal it, put it into your hand, then shuffle your library.
mana={4}
type=Artifact Creature
subtype=Golem
power=3
toughness=3
[/card]
[card]
name=Pause for Reflection
other={convoke} name(Convoke)
auto=preventAllcombatDamage ueot
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.) -- Prevent all combat damage that would be dealt this turn.
mana={2}{G}
type=Instant
[/card]
[card]
name=Pay No Heed
auto=name(prevent all damage) notatarget(*|battlefield,stack,hand,graveyard) transforms((,newability[preventalldamage from(this)])) ueot
text=Prevent all damage a source of your choice would deal this turn.
mana={W}
type=Instant
[/card]
[card]
name=Peace Talks
auto=lord(creature|battlefield) transforms((,newability[cantattack])) uynt
auto=lord(creature|battlefield) transforms((,newability[cantpwattack])) uynt
auto=lord(*|battlefield) transforms((,newability[shroud],newability[controllershroud])) uynt
text=This turn and next turn, creatures can't attack, and players and permanents can't be the targets of spells or activated abilities.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Peer into the Abyss
auto=choice name(Target opponent) draw:halfuptype:*:opponentlibrary opponent && life:-halfupopponentlifetotal opponent
auto=choice name(Target controller) draw:halfuptype:*:mylibrary controller && life:-halfuplifetotal controller
text=Target player draws cards equal to half the number of cards in their library and loses half their life. Round up each time.
mana={4}{B}{B}{B}
type=Sorcery
[/card]
[card]
name=Pegasus Courser
abilities=flying
auto=_ATTACKING_target(other creature[attaking]) flying ueot
text=Flying -- Whenever Pegasus Courser attacks, another target attacking creature gains flying until end of turn.
mana={2}{W}
type=Creature
subtype=Pegasus
power=1
toughness=3
[/card]
[card]
name=Pelakka Caverns
auto=tap(noevent)
auto={T}:add{B}
text=Pelakka Caverns enters the battlefield tapped. -- {T}: Add {B}. // {2}{B} Pelakka Predation
type=Land
[/card]
[card]
name=Pelakka Predation
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Pelakka Caverns)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Pelakka Caverns) name(Pelakka Caverns) flip(Pelakka Caverns) forcetype(land)
aicode=activate reject notatarget(*[manacost>=3]|opponenthand)
auto=name(reveal hand) reveal:type:*:opponenthand revealzone(opponenthand) optionone name(Choose a card) target(*[manacost>=3]|reveal) reject optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerhand) optiontwoend revealend
text=Target opponent reveals their hand. You may choose a card from it with converted mana cost 3 or greater. That player discards that card. // Pelakka Caverns
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Pelt Collector
auto=@movedto(other creature[power=0]|myBattlefield):this(power<0) counter(1/1)
auto=@movedto(other creature[power=0]|myGraveyard) from(mybattlefield):this(power<0) counter(1/1)
auto=@movedto(other creature[power=1]|myBattlefield):this(power<1) counter(1/1)
auto=@movedto(other creature[power=1]|myGraveyard) from(mybattlefield):this(power<1) counter(1/1)
auto=@movedto(other creature[power=2]|myBattlefield):this(power<2) counter(1/1)
auto=@movedto(other creature[power=2]|myGraveyard) from(mybattlefield):this(power<2) counter(1/1)
auto=@movedto(other creature[power=3]|myBattlefield):this(power<3) counter(1/1)
auto=@movedto(other creature[power=3]|myGraveyard) from(mybattlefield):this(power<3) counter(1/1)
auto=@movedto(other creature[power=4]|myBattlefield):this(power<4) counter(1/1)
auto=@movedto(other creature[power=4]|myGraveyard) from(mybattlefield):this(power<4) counter(1/1)
auto=@movedto(other creature[power=5]|myBattlefield):this(power<5) counter(1/1)
auto=@movedto(other creature[power=5]|myGraveyard) from(mybattlefield):this(power<5) counter(1/1)
auto=@movedto(other creature[power=6]|myBattlefield):this(power<6) counter(1/1)
auto=@movedto(other creature[power=6]|myGraveyard) from(mybattlefield):this(power<6) counter(1/1)
auto=@movedto(other creature[power=7]|myBattlefield):this(power<7) counter(1/1)
auto=@movedto(other creature[power=7]|myGraveyard) from(mybattlefield):this(power<7) counter(1/1)
auto=@movedto(other creature[power=8]|myBattlefield):this(power<8) counter(1/1)
auto=@movedto(other creature[power=8]|myGraveyard) from(mybattlefield):this(power<8) counter(1/1)
auto=@movedto(other creature[power=9]|myBattlefield):this(power<9) counter(1/1)
auto=@movedto(other creature[power=9]|myGraveyard) from(mybattlefield):this(power<9) counter(1/1)
auto=@movedto(other creature[power=10]|myBattlefield):this(power<10) counter(1/1)
auto=@movedto(other creature[power=10]|myGraveyard) from(mybattlefield):this(power<10) counter(1/1)
auto=@movedto(other creature[power=11]|myBattlefield):this(power<11) counter(1/1)
auto=@movedto(other creature[power=11]|myGraveyard) from(mybattlefield):this(power<11) counter(1/1)
auto=@movedto(other creature[power=12]|myBattlefield):this(power<12) counter(1/1)
auto=@movedto(other creature[power=12]|myGraveyard) from(mybattlefield):this(power<12) counter(1/1)
auto=@movedto(other creature[power=13]|myBattlefield):this(power<13) counter(1/1)
auto=@movedto(other creature[power=13]|myGraveyard) from(mybattlefield):this(power<13) counter(1/1)
auto=@movedto(other creature[power=14]|myBattlefield):this(power<14) counter(1/1)
auto=@movedto(other creature[power=14]|myGraveyard) from(mybattlefield):this(power<14) counter(1/1)
auto=@movedto(other creature[power=15]|myBattlefield):this(power<15) counter(1/1)
auto=@movedto(other creature[power=15]|myGraveyard) from(mybattlefield):this(power<15) counter(1/1)
auto=@movedto(other creature[power=16]|myBattlefield):this(power<16) counter(1/1)
auto=@movedto(other creature[power=16]|myGraveyard) from(mybattlefield):this(power<16) counter(1/1)
auto=@movedto(other creature[power=17]|myBattlefield):this(power<17) counter(1/1)
auto=@movedto(other creature[power=17]|myGraveyard) from(mybattlefield):this(power<17) counter(1/1)
auto=@movedto(other creature[power=18]|myBattlefield):this(power<18) counter(1/1)
auto=@movedto(other creature[power=18]|myGraveyard) from(mybattlefield):this(power<18) counter(1/1)
auto=@movedto(other creature[power=19]|myBattlefield):this(power<19) counter(1/1)
auto=@movedto(other creature[power=19]|myGraveyard) from(mybattlefield):this(power<19) counter(1/1)
auto=@movedto(other creature[power=20]|myBattlefield):this(power<20) counter(1/1)
auto=@movedto(other creature[power=20]|myGraveyard) from(mybattlefield):this(power<20) counter(1/1)
auto=this(counter{1/1}>=3) trample
text=Whenever another creature you control enters the battlefield or dies, if that creature's power is greater than Pelt Collector's, put a +1/+1 counter on Pelt Collector. -- As long as Pelt Collector has three or more +1/+1 counters on it, it has trample.
mana={G}
type=Creature
subtype=Elf Warrior
power=1
toughness=1
[/card]
[card]
name=Pendrell Flux
target=creature
auto=teach(creature) transforms((,newability[@each my upkeep:thisforeach(variable{manacost}) pay[[{1}]] name(pay manacost) donothing'sacrifice])) forever
text=Enchant creature -- Enchanted creature has "At the beginning of your upkeep, sacrifice this creature unless you pay its mana cost."
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Peregrination
auto=if type(land|myLibrary)~morethan~1 then choice name(Search two lands) name(Search two lands) target(land[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[name(Search another land) target(land[basic]|mylibrary) moveto(myhand) and!( transforms((,newability[name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) oneshot )!])) oneshot )!
auto=if type(land|myLibrary)~morethan~0 then choice name(Search one land) name(Search one land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend )!
auto=choice name(Don't search any land) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Search your library for up to two basic land cards, reveal those cards, and put one onto the battlefield tapped and the other into your hand. Shuffle your library, then scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Perilous Voyage
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=if type(*[-land;manacost<=2]|opponentBattlefield)~morethan~0 then choice name(Return permanent with manacost 2 or less) name(Return permanent with manacost 2 or less) target(*[-land;manacost<=2]|opponentBattlefield) moveto(ownerhand) && scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=choice name(Return permanent with manacost 3 or more) target(*[-land;manacost>=3]|opponentBattlefield) moveto(ownerhand)
text=Return target nonland permanent you don't control to its owner's hand. If its converted mana cost was 2 or less, scry 2.
mana={1}{U}
type=Instant
[/card]
[card]
name=Perimeter Sergeant
auto=_ATTACKING_all(human|myBattlefield) 1/0 ueot
text=Whenever Perimeter Sergeant attacks, other Humans you control get +1/+0 until end of turn.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=2
[/card]
[card]
name=Perplexing Test
auto=choice name(Return all token creatures) all(creature[token]|battlefield) moveto(ownerhand)
auto=choice name(Return all non-token creatures) all(creature[-token]|battlefield) moveto(ownerhand)
text=Choose one -- Return all creature tokens to their owners' hands. -- Return all nontoken creatures to their owners' hands.
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Persist
target=creature[-legendary]|mygraveyard
auto=moveto(myBattlefield) and!( counter(-1/-1) )!
text=Return target nonlegendary creature card from your graveyard to the battlefield with a -1/-1 counter on it.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Persistent Petitioners
auto={1}{T}:target(player) deplete:1
auto={T(Advisor|myBattlefield)}{T(Advisor|myBattlefield)}{T(Advisor|myBattlefield)}{T(Advisor|myBattlefield)}:deplete:12
text={1}, {T}: Target player puts the top card of their library into their graveyard. -- Tap four untapped Advisors you control: Target player puts the top twelve cards of their library into their graveyard. -- A deck can have any number of cards named Persistent Petitioners.
mana={1}{U}
type=Creature
subtype=Human Advisor
power=1
toughness=3
[/card]
[card]
name=Pest Infestation
auto=thisforeach(variable{halfpaid}>0) ability$!may name(Destroy artifact or enchantment) target(*[artifact;enchantment]|battlefield) destroy!$ controller
auto=thisforeach(X) token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
text=Destroy up to X target artifacts and/or enchantments. Create twice X 1/1 black and green Pest creature tokens with "When this creature dies, you gain 1 life."
mana={X}{X}{G}
type=Sorcery
[/card]
[card]
name=Pest Summoning
auto=token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
auto=token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
text=Create two 1/1 black and green Pest creature tokens with "When this creature dies, you gain 1 life."
mana={1}{BG}{BG}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Pestilent Cauldron
other={3}{G}{G} name(Restorative Burst)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Restorative Burst)
autostack=if paid(alternative) then transforms((,newability[moveto(myexile)],newability[activate castcard(copied named!:restorative burst:!)])) forever
auto={T}{D(*|myhand)}:name(Create Pest) token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
auto={1}{T}:deplete:lifegain opponent
auto={4}{T} restriction{type(*|mygraveyard)~morethan~3}:name(Exile from your graveyard) transforms((,newability[draw:1 controller],newability[name(Exile from your graveyard) target(<4>*|mygraveyard) moveto(exile)])) oneshot
auto={4}{T} restriction{type(*|opponentgraveyard)~morethan~3}:name(Exile from opponent's graveyard) transforms((,newability[draw:1 controller],newability[name(Exile from opponent's graveyard) target(<4>*|opponentgraveyard) moveto(exile)])) oneshot
text={T}, Discard a card: Create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life." -- {1}, {T}: Each opponent mills cards equal to the amount of life you gained this turn. -- {4}, {T}: Exile four target cards from a single graveyard. Draw a card. // {3}{G}{G} Restorative Burst
mana={2}{B}
type=Artifact
[/card]
[card]
name=Pestilent Haze
name=choice name(Creatures gets -2/-2) all(creature|battlefield) -2/-2 ueot
name=choice name(Remove Loyalty counter) counter(0/0,-2,Loyalty) all(planeswalker|battlefield)
text=Choose one -- All creatures get -2/-2 until end of turn. -- Remove two loyalty counters from each planeswalker.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Pestilent Spirit
abilities=menace,deathtouch
auto=@damaged(creature) from(*[instant;sorcery]|mystack,myGraveyard):all(trigger[to]) destroy
text=Menace, deathtouch -- Instant and sorcery spells you control have deathtouch. (Any amount of damage they deal to a creature is enough to destroy it.)
mana={2}{B}
type=Creature
subtype=Spirit
power=3
toughness=2
[/card]
[card]
name=Pestilent Wolf
auto={2}{G}:name(Gains deathtouch) transforms((,newability[deathtouch])) ueot
text={2}{G}: Pestilent Wolf gains deathtouch until end of turn.
type=Creature
subtype=Wolf
mana={1}{G}
power=2
toughness=2
[/card]
[card]
name=Petalmane Baku
auto={1}{C(0/0,-1,Ki)}:ability$! choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W} !$ controller
auto=@movedTo(spirit,arcane|mystack):may counter(0/0,1,Ki)
text=Whenever you cast a Spirit or Arcane spell, you may put a ki counter on Petalmane Baku. -- {1}, Remove X ki counters from Petalmane Baku: Add X mana of any one color to your mana pool.
mana={1}{G}
type=Creature
subtype=Spirit
power=1
toughness=2
[/card]
[card]
name=Petrified Plating
target=creature
auto=teach(creature) 2/2
suspend(2)={G}
text=Enchant creature -- Enchanted creature gets +2/+2. -- Suspend 2-{G} (Rather than cast this card from your hand, you may pay {G} and exile it with two time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Phalanx Formation
abilities=hasnokicker,hasstrive
kicker=multi{1}{W} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[double strike])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[double strike])) ueot
text=Strive - Phalanx Formation costs {1}{W} more to cast for each target beyond the first. -- Any number of target creatures each gain double strike until end of turn. (They deal both first-strike and regular combat damage.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Phalanx Tactics
target=creature
auto=target(creature|myBattlefield) 2/1 ueot
auto=all(other creature|mybattlefield) 1/1 ueot
text=Target creature you control gets +2/+1 until end of turn. Each other creature you control gets +1/+1 until end of turn.
mana={1}{W}
type=Instant
[/card]
[card]
name=Phantasmal Dreadmaw
abilities=trample
auto=@targeted(this):sacrifice
text=Trample -- When Phantasmal Dreadmaw becomes the target of a spell or ability, sacrifice it.
mana={2}{U}{U}
type=Creature
subtype=Dinosaur Illusion
power=6
toughness=6
[/card]
[card]
name=Phantasmal Form
target=<upto:2>creature
auto=ueot transforms((,setpower=3,settoughness=3))
auto=ueot transforms((Illusion,blue))
auto=flying ueot
auto=draw:1 controller
text=Until end of turn, up to two target creatures each have base power and toughness 3/3, gain flying, and become blue Illusions in addition to their other colors and types. -- Draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Phantom Carriage
abilities=flying
auto=may name(Search a card) target(*[hasdisturb;hasflashback]|mylibrary) moveto(mygraveyard)
text=Flying -- When Phantom Carriage enters the battlefield, you may search your library for a card with flashback or disturb, put it into your graveyard, then shuffle.
mana={4}{U}{U}
type=Creature
subtype=Spirit
power=4
toughness=4
[/card]
[card]
name=Phantom Ninja
abilities=unblockable
text=Phantom Ninja can't be blocked.
mana={1}{U}{U}
type=Creature
subtype=Illusion Ninja
power=2
toughness=2
[/card]
[card]
name=Phantom Steed
abilities=flash
auto=name(Exile other creature) target(other creature|mybattlefield) imprint
auto=this(variable{hasevict}>0) transforms((,newability[@movedto(this|nonbattlezone) from(battlefield):name(Return exiled creature) target(creature[evictname]|myexile) moveTo(ownerbattlefield)]))
auto=@combat(attacking) source(this) restriction{compare(hasevict)~morethan~0}:name(Copy exiled creature) transforms((,newability[target(creature[evictname]|myexile) clone with(battleready) and!( transforms((Illusion,newability[@each my combatends:sacrifice])) forever )!])) oneshot
text=Flash -- When Phantom Steed enters the battlefield, exile another target creature you control until Phantom Steed leaves the battlefield. -- Whenever Phantom Steed attacks, create a tapped and attacking token that's a copy of the exiled card, except it's an Illusion in addition to its other types. Sacrifice that token at end of combat.
mana={3}{U}
type=Creature
subtype=Horse Illusion
power=4
toughness=3
[/card]
[card]
name=Pharagax Giant
auto=all(this) flipacoin winability damage:5 opponent winabilityend loseability counter(1/1,2) loseabilityend flipend
text=Tribute 2 (As this creature enters the battlefield, an opponent of your choice may place two +1/+1 counters on it.) -- When Pharagax Giant enters the battlefield, if tribute wasn't paid, Pharagax Giant deals 5 damage to each opponent.
mana={4}{R}
type=Creature
subtype=Giant
power=3
toughness=3
[/card]
[card]
name=Pharika's Libation
target=player
auto=choice ability$!name(sacrifice an enchantment) notatarget(enchantment|myBattlefield) sacrifice!$ targetedplayer
auto=choice ability$!name(sacrifice a creature) notatarget(creature|myBattlefield) sacrifice!$ targetedplayer
text=Choose one -- Target opponent sacrifices a creature. -- Target opponent sacrifices an enchantment.
mana={2}{B}
type=Instant
[/card]
[card]
name=Pharika's Spawn
auto=if paid(retrace) then counter(1/1,2)
auto=if paid(retrace) then ability$!name(sacrifice non-gorgon) name(sacrifice non-gorgon) notatarget(creature[-Gorgon]|mybattlefield) sacrifice!$ opponent
retrace={5}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Escape-{5}{B}, Exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Pharika's Spawn escapes with two +1/+1 counters on it. When it enters the battlefield this way, each opponent sacrifices a non-Gorgon creature.
mana={3}{B}
type=Creature
subtype=Gorgon
power=3
toughness=4
[/card]
[card]
name=Phase Dolphin
auto=_ATTACKING_target(other creature[attacking]) unblockable ueot
text=Whenever Phase Dolphin attacks, another target attacking creature can't be blocked this turn.
mana={2}{U}
type=Creature
subtype=Elemental Whale
power=1
toughness=4
[/card]
[card]
name=Pheres-Band Brawler
auto=name(Fights) transforms((,newability[dynamicability<!powerstrike eachother!> target(creature|opponentbattlefield)]))
text=When Pheres-Band Brawler enters the battlefield, it fights up to one target creature you don't control. (Each deals damage equal to its power to the other.)
mana={4}{G}{G}
type=Creature
subtype=Centaur Warrior
power=4
toughness=4
[/card]
[card]
name=Phoenix of Ash
abilities=flying,haste
auto={2}{R}:2/0 ueot
retrace={2}{R}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
auto=if paid(retrace) then counter(1/1,1)
text=Flying, haste -- {2}{R}: Phoenix of Ash gets +2/+0 until end of turn. -- Escape-{2}{R}{R}, Exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Phoenix of Ash escapes with a +1/+1 counter on it.
mana={1}{R}{R}
type=Creature
subtype=Phoenix
power=2
toughness=2
[/card]
[card]
name=Phylath, World Sculptor
auto=foreach(land[basic]|myBattlefield) token(Plant,Creature Plant,0/1,green)
auto=_LANDFALL_counter(1/1,4) target(creature[plant]|myBattlefield)
text=When Phylath, World Sculptor enters the battlefield, create a 0/1 green Plant creature token for each basic land you control. -- Landfall - Whenever a land enters the battlefield under your control, put four +1/+1 counters on target Plant you control.
mana={4}{R}{G}
type=Legendary Creature
subtype=Elemental
power=5
toughness=5
[/card]
[card]
name=Phyrexian Colossus
abilities=doesnotuntap,threeblockers
auto={L:8}:untap
text=Phyrexian Colossus doesn't untap during your untap step. -- Pay 8 life: Untap Phyrexian Colossus. -- Phyrexian Colossus can't be blocked except by three or more creatures.
mana={7}
type=Artifact Creature
subtype=Golem
power=8
toughness=8
[/card]
[card]
name=Phyrexian Dreadnought
abilities=trample
auto=choice name(Sacrifice this) sacrifice
auto=choice name(Sacrifice 12 creatures with power 1 or greater) sacrifice target(<12>creature[power>=1]|mybattlefield)
auto=choice name(Sacrifice 6 creatures with power 2 or greater) sacrifice target(<6>creature[power>=2]|mybattlefield)
auto=choice name(Sacrifice 4 creatures with power 3 or greater) sacrifice target(<4>creature[power>=3]|mybattlefield)
auto=choice name(Sacrifice 3 creatures with power 4 or greater) sacrifice target(<3>creature[power>=4]|mybattlefield)
auto=choice name(Sacrifice 2 creatures with power 6 or greater) sacrifice target(<2>creature[power>=6]|mybattlefield)
auto=choice name(Sacrifice 1 creature with power 12 or greater) sacrifice target(creature[power>=12]|mybattlefield)
text=Trample -- When Phyrexian Dreadnought enters the battlefield, sacrifice it unless you sacrifice any number of creatures with total power 12 or greater.
mana={1}
type=Artifact Creature
subtype=Dreadnought
power=12
toughness=12
[/card]
[card]
name=Phyrexian Furnace
auto={T}:name(Exile bottom card from my graveyard) moveTo(myexile) all(*[zpos=type:*:mygraveyard]|mygraveyard)
auto={T}:name(Exile bottom card from opponent's graveyard) moveTo(opponentexile) all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard)
auto={1}{S}:name(Exile target card from my graveyard) moveTo(myexile) target(*|mygraveyard) && draw:1 controller
auto={1}{S}:name(Exile target card from opponent's graveyard) moveTo(opponentexile) target(*|opponentgraveyard) && draw:1 controller
text={T}: Exile the bottom card of target player's graveyard. -- {1}, Sacrifice Phyrexian Furnace: Exile target card from a graveyard. Draw a card.
mana={1}
type=Artifact
[/card]
[card]
name=Phyrexian Ingester
other={6}{U}{E(creature[-token]|battlefield)} name(Imprint)
auto=if paid(alternative) then storedpower/storedtoughness
text=Imprint - When Phyrexian Ingester enters the battlefield, you may exile target nontoken creature. -- Phyrexian Ingester gets +X/+Y, where X is the exiled creature card's power and Y is its toughness.
mana={6}{U}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Phyrexian Metamorph
auto=may name(Copy artifact or creature) target(*[creature;artifact]|battlefield) copy and!( transforms((Artifact)) forever )!
text=({U/P} can be paid with either {U} or 2 life.) -- You may have Phyrexian Metamorph enter the battlefield as a copy of any artifact or creature on the battlefield, except it's an artifact in addition to its other types.
mana={3}{P(U)}
type=Artifact Creature
subtype=Shapeshifter
power=0
toughness=0
[/card]
[card]
name=Phyrexian Processor
auto=choice name(Pay 0 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^0/0^black)])) forever
auto=if compare(lifetotal)~morethan~0 then choice name(Pay 1 life) name(Pay 1 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^1/1^black)])) forever
auto=if compare(lifetotal)~morethan~1 then choice name(Pay 2 life) name(Pay 2 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^2/2^black)])) forever
auto=if compare(lifetotal)~morethan~2 then choice name(Pay 3 life) name(Pay 3 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^3/3^black)])) forever
auto=if compare(lifetotal)~morethan~3 then choice name(Pay 4 life) name(Pay 4 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^4/4^black)])) forever
auto=if compare(lifetotal)~morethan~4 then choice name(Pay 5 life) name(Pay 5 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^5/5^black)])) forever
auto=if compare(lifetotal)~morethan~5 then choice name(Pay 6 life) name(Pay 6 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^6/6^black)])) forever
auto=if compare(lifetotal)~morethan~6 then choice name(Pay 7 life) name(Pay 7 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^7/7^black)])) forever
auto=if compare(lifetotal)~morethan~7 then choice name(Pay 8 life) name(Pay 8 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^8/8^black)])) forever
auto=if compare(lifetotal)~morethan~8 then choice name(Pay 9 life) name(Pay 9 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^9/9^black)])) forever
auto=if compare(lifetotal)~morethan~9 then choice name(Pay 10 life) name(Pay 10 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^10/10^black)])) forever
auto=if compare(lifetotal)~morethan~10 then choice name(Pay 11 life) name(Pay 11 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^11/11^black)])) forever
auto=if compare(lifetotal)~morethan~11 then choice name(Pay 12 life) name(Pay 12 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^12/12^black)])) forever
auto=if compare(lifetotal)~morethan~12 then choice name(Pay 13 life) name(Pay 13 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^13/13^black)])) forever
auto=if compare(lifetotal)~morethan~13 then choice name(Pay 14 life) name(Pay 14 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^14/14^black)])) forever
auto=if compare(lifetotal)~morethan~14 then choice name(Pay 15 life) name(Pay 15 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^15/15^black)])) forever
auto=if compare(lifetotal)~morethan~15 then choice name(Pay 16 life) name(Pay 16 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^16/16^black)])) forever
auto=if compare(lifetotal)~morethan~16 then choice name(Pay 17 life) name(Pay 17 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^17/17^black)])) forever
auto=if compare(lifetotal)~morethan~17 then choice name(Pay 18 life) name(Pay 18 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^18/18^black)])) forever
auto=if compare(lifetotal)~morethan~18 then choice name(Pay 19 life) name(Pay 19 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^19/19^black)])) forever
auto=if compare(lifetotal)~morethan~19 then choice name(Pay 20 life) name(Pay 20 life) transforms((,newability[{4}{T}:name(Create minion) token(Minion^Creature Minion^20/20^black)])) forever
text=As Phyrexian Processor enters the battlefield, pay any amount of life. -- {4}, {T}: Put an X/X black Minion creature token onto the battlefield, where X is the life paid as Phyrexian Processor entered the battlefield.
mana={4}
type=Artifact
[/card]
[card]
name=Phyrexian Purge
auto=choice name(pay 0 life) donothing
auto=choice name(pay 3 life) life:-3 controller && target(creature) destroy
auto=choice name(pay 6 life) life:-6 controller && target(<2>creature) destroy
auto=choice name(pay 9 life) life:-9 controller && target(<3>creature) destroy
auto=choice name(pay 12 life) life:-12 controller && target(<4>creature) destroy
auto=choice name(pay 15 life) life:-15 controller && target(<5>creature) destroy
auto=choice name(pay 18 life) life:-18 controller && target(<6>creature) destroy
auto=choice name(pay 21 life) life:-21 controller && target(<7>creature) destroy
auto=choice name(pay 24 life) life:-24 controller && target(<8>creature) destroy
auto=choice name(pay 27 life) life:-27 controller && target(<9>creature) destroy
auto=choice name(pay 30 life) life:-30 controller && target(<10>creature) destroy
auto=choice name(pay 33 life) life:-33 controller && target(<11>creature) destroy
auto=choice name(pay 36 life) life:-36 controller && target(<12>creature) destroy
auto=choice name(pay 39 life) life:-39 controller && target(<13>creature) destroy
auto=choice name(pay 42 life) life:-42 controller && target(<14>creature) destroy
auto=choice name(pay 45 life) life:-45 controller && target(<15>creature) destroy
auto=choice name(pay 48 life) life:-48 controller && target(<16>creature) destroy
auto=choice name(pay 51 life) life:-51 controller && target(<17>creature) destroy
auto=choice name(pay 54 life) life:-54 controller && target(<18>creature) destroy
auto=choice name(pay 57 life) life:-57 controller && target(<19>creature) destroy
auto=choice name(pay 60 life) life:-60 controller && target(<20>creature) destroy
text=Destroy any number of target creatures. -- Phyrexian Purge costs 3 life more to cast for each target.
mana={2}{B}{R}
type=Sorcery
[/card]
[card]
name=Phyrexian Rebirth
auto=count(type:creature:battlefield)
auto=all(creature|battlefield) destroy
auto=token(Horror,Creature Artifact Horror,countedamount/countedamount)
text=Destroy all creatures, then create an X/X colorless Horror artifact creature token, where X is the number of creatures destroyed this way.
mana={4}{W}{W}
type=Sorcery
[/card]
[card]
name=Phyrexian Revoker
auto=chooseanameopp lord(*[chosenname]) noactivatedability chooseend nonland
text=As Phyrexian Revoker enters the battlefield, name a nonland card. -- Activated abilities of sources with the chosen name can't be activated.
mana={2}
type=Artifact Creature
subtype=Horror
power=2
toughness=1
[/card]
[card]
name=Phyrexian Scriptures
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=may transforms((artifact,newability[counter(1/1)])) target(creature)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) destroy all(creature[-artifact]) 
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveTo(exile) all(*|opponentgraveyard)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Put a +1/+1 counter on up to one target creature. That creature becomes an artifact in addition to its other types. -- II - Destroy all nonartifact creatures. -- III - Exile all cards from all opponents' graveyards.
mana={2}{B}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Phyrexian Splicer
auto={2}{T}:name(Choose flying) transforms((,newability[target(creature[flying]) -flying ueot],newability[target(creature) flying ueot])) ueot
auto={2}{T}:name(Choose first strike) transforms((,newability[target(creature[first strike]) -first strike ueot],newability[target(creature) flying first strike])) ueot
auto={2}{T}:name(Choose trample) transforms((,newability[target(creature[trample]) -trample ueot],newability[target(creature) trample ueot])) ueot
text={2}, {T}: Choose one  flying; first strike; shadow; or trample. Target creature with that ability loses it until end of turn and another target creature gains it until end of turn.
mana={2}
type=Artifact
[/card]
[card]
name=Phyrexian Triniform
auto=_DIES_token(Golem,Creature Artifact Golem,3/3)*3
autograveyard={12}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=When Phyrexian Triniform dies, create three 3/3 colorless Golem artifact creature tokens. -- Encore {12} ({12}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={9}
type=Artifact Creature
subtype=Golem
power=9
toughness=9
[/card]
[card]
name=Pierce the Sky
target=creature[flying]
auto=damage:7
text=Pierce the Sky deals 7 damage to target creature with flying.
mana={1}{G}
type=Instant
[/card]
[card]
name=Piercing Rays
target=creature[tapped]
auto=moveto(exile)
autohand={1}{W}:name(Forecast) target(creature[-tapped]) tap limit:1 myUpkeepOnly
text=Exile target tapped creature. -- Forecast-{2}{W}, Reveal Piercing Rays from your hand: Tap target untapped creature. (Activate this ability only during your upkeep and only once each turn.)
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Pigment Storm
target=creature
auto=transforms((,newability[this(toughness=1) damage:1 && damage:4 targetController])) oneshot
auto=transforms((,newability[auto=this(toughness=2) damage:2 && damage:3 targetController])) oneshot
auto=transforms((,newability[auto=this(toughness=3) damage:3 && damage:2 targetController])) oneshot
auto=transforms((,newability[auto=this(toughness=4) damage:4 && damage:1 targetController])) oneshot
auto=transforms((,newability[auto=this(toughness>=5) damage:5])) oneshot
text=Pigment Storm deals 5 damage to target creature. Excess damage is dealt to that creature's controller instead.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Pilfering Hawk
abilities=flying
auto={i}{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Flying -- {S}i}, {T}: Draw a card, then discard a card. ({S}i} can be paid with one mana from a snow source.)
mana={1}{U}
type=Snow Creature
subtype=Bird
power=1
toughness=2
[/card]
[card]
name=Pilfering Imp
abilities=flying
auto={1}{B}{T}{S}:target(opponent)  notatarget(*[-land]|targetedpersonshand) moveto(graveyard) asSorcery
text=Flying -- {1}{B}, {T}, Sacrifice Pilfering Imp: Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. Activate this ability only any time you could cast a sorcery.
mana={B}
type=Creature
subtype=Imp
power=1
toughness=1
[/card]
[card]
name=Pilgrim of the Ages
auto=may name(Search basic plains) target(plains[basic]|mybattlefield) moveto(myhand) and!( shuffle )!
autograveyard={6}:name(Return to hand) moveto(myhand)
text=When Pilgrim of the Ages enters the battlefield, you may search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. -- {6}: Return Pilgrim of the Ages from your graveyard to your hand.
mana={2}{W}
type=Creature
subtype=Spirit
power=2
toughness=1
[/card]
[card]
name=Pillar of Origins
auto=chooseatype transforms((,newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{W}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{U}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{R}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{G}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{B}])) chooseend
text=As Pillar of Origins enters the battlefield, choose a creature type. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell of the chosen type.
mana={2}
type=Artifact
[/card]
[card]
name=Pillar of the Paruns
auto=this(variable{type:*[multicolor]:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:*[multicolor]:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:*[multicolor]:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:*[multicolor]:myrestrictedcastingzone}>0) {T}:add{U}
auto=this(variable{type:*[multicolor]:myrestrictedcastingzone}>0) {T}:add{B}
text={T}: Add one mana of any color to your mana pool. Spend this mana only to cast a multicolored spell.
type=Land
[/card]
[card]
name=Pillardrop Rescuer
abilities=flying
auto=name(Return creature) target(creature[manacost<=3]|mygraveyard) moveto(myhand)
text=Flying -- When Pillardrop Rescuer enters the battlefield, return target creature card with mana value 3 or less from your graveyard to your hand.
mana={4}{W}
type=Creature
subtype=Spirit Cleric
power=2
toughness=2
[/card]
[card]
name=Pillardrop Warden
abilities=reach
auto={2}{T}{S}:name(Return instant or sorcery) target(*[instant;sorcery]|mygraveyard) moveto(myhand) asSorcery
text=Reach -- {2}, {T}, Sacrifice Pillardrop Warden: Return target instant or sorcery card from your graveyard to your hand. Activate only as a sorcery.
mana={3}{R}
type=Creature
subtype=Spirit Dwarf
power=1
toughness=5
[/card]
[card]
name=Pillarverge Pathway
auto={T}:add{W}
text={T}: Add {W}. // Needleverge Pathway
type=Land
[/card]
[card]
name=Pinpoint Avalanche
#MISSING: damage can't be prevented
target=creature
auto=damage:4
text=Pinpoint Avalanche deals 4 damage to target creature. The damage can't be prevented.
mana={3}{R}{R}
type=Instant
[/card]
[card]
name=Pious Interdiction
target=creature
auto=life:2 controller
auto=cantattack
auto=cantpwattack
auto=cantblock
text=Enchant creature -- When Pious Interdiction enters the battlefield, you gain 2 life. -- Enchanted creature can't attack or block.
mana={3}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Pious Wayfarer
auto=_CONSTELLATION_target(creature|myBattlefield) 1/1 ueot
text=Constellation -- Whenever an enchantment enters the battlefield under your control, target creature gets +1/+1 until end of turn.
mana={W}
type=Creature
subtype=Human Scout
power=1
toughness=2
[/card]
[card]
name=Piper of the Swarm
auto=lord(rat|mybattlefield) menace
auto={1}{B}{T}:create(Rat:creature Rat:1/1:black)
auto={2}{B}{B}{T}{S(creature[rat]|mybattlefield)}{S(creature[rat]|mybattlefield)}{S(creature[rat]|mybattlefield)}:moveTo(myBattlefield) target(creature)
text=Rats you control have menace. -- {1}{B}, {T}: Create a 1/1 black Rat creature token. -- {2}{B}{B}, {T}, Sacrifice three Rats: Gain control of target creature.
mana={1}{B}
type=Creature
subtype=Human Warlock
power=1
toughness=3
[/card]
[card]
name=Pir's Whim
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land|myLibrary)
auto=name(Search land) reveal:plibrarycount optionone name(choose card) target(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=ability$!name(Sacrifice artifact or enchantment) name(Sacrifice artifact or enchantment) target(*[artifact;enchantment]|mybattlefield) sacrifice!$ opponent
text=For each player, choose friend or foe. Each friend searches their library for a land card, puts it onto the battlefield tapped, then shuffles their library. Each foe sacrifices an artifact or enchantment they control.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Pirate Pur
abilities=cantblock
auto=all(creature|mybattlefield) mustattack
type=Creature
subtype=Pirate
power=1
toughness=1
color=red
[/card]
[card]
name=Pirate's Cutlass
auto=name(Attach to creature) rehook target(creature|myBattlefield)
auto=teach(creature) 2/1
auto={2}:equip
text=When Pirate's Cutlass enters the battlefield, attach it to target Pirate you control. -- Equipped creature gets +2/+1. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Pirate's Pillage
auto=draw:2 controller
auto=token(Treasure Sur)*2
text=As an additional cost to cast this spell, discard a card. -- Draw two cards and create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={3}{R}{D(other *|myhand)}
type=Sorcery
[/card]
[card]
name=Pirate's Prize
auto=draw:2 controller
auto=token(435451)
text=Draw two cards. Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Piru, the Volatile
abilities=flying,lifelink
auto=upcost[{R}{W}{B}] sacrifice
auto=_DIES_name(Deals 7 damage) damage:7 all(creature[-legendary])
text=Flying, lifelink -- At the beginning of your upkeep, sacrifice Piru, the Volatile unless you pay {R}{W}{B}. -- When Piru dies, it deals 7 damage to each nonlegendary creature.
mana={2}{R}{R}{W}{W}{B}{B}
type=Legendary Creature
subtype=Elder Dragon
power=7
toughness=7
[/card]
[card]
name=Piston-Fist Cyclops
abilities=defender
text=Defender -- As long as you've cast an instant or sorcery spell this turn, Piston-Fist Cyclops can attack as though it didn't have defender.
mana={1}{UR}{UR}
type=Creature
subtype=Cyclops
power=4
toughness=3
[/card]
[card]
name=Pitchstone Wall
abilities=defender
auto=@discarded(*|myhand):may name(Sacrifice and put in hand) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(myhand) && all(this) sacrifice])) oneshot
text=Defender (This creature can't attack.) -- Whenever you discard a card, you may sacrifice Pitchstone Wall. If you do, return the discarded card from your graveyard to your hand.
mana={2}{R}
type=Creature
subtype=Wall
power=2
toughness=5
[/card]
[card]
name=Pithing Needle
auto=chooseanameopp lord(*[chosenname]) noactivatedability chooseend
text=As Pithing Needle enters the battlefield, name a card. -- Activated abilities of sources with the chosen name can't be activated unless they're mana abilities.
mana={1}
type=Artifact
[/card]
[card]
name=Pitiless Gorgon
abilities=deathtouch
text=Deathtouch
mana={1}{BG}{BG}
type=Creature
subtype=Gorgon
power=2
toughness=2
[/card]
[card]
name=Pitiless Plunderer
auto=@movedto(other creature|graveyard) from(mybattlefield):token(Treasure Sur)
text=Whenever another creature you control dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={3}{B}
type=Creature
subtype=Human Pirate
power=1
toughness=4
[/card]
[card]
name=Pitiless Pontiff
auto={1}{S(other creature|mybattlefield)}:deathtouch && indestructible
text={1}, Sacrifice another creature: Pitiless Pontiff gains deathtouch and indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={W}{B}
type=Creature
subtype=Vampire Cleric
power=2
toughness=2
[/card]
[card]
name=Pitiless Vizier
auto=@movedto(*|mygraveyard) from(myhand):indestructible ueot
text=Whenever you cycle or discard a card, Pitiless Vizier gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it. If its toughness is 0 or less, it's still put into its owner's graveyard.)
mana={3}{B}
type=Creature
subtype=Minotaur Cleric
power=4
toughness=2
[/card]
[card]
name=Pixie Guide
#Ignore the lowest roll is not available ATM.
abilities=flying
auto=@dierolled(*[-Pixie Guide]|battlefield) from(controller):name(Roll again) rolld20 20 winability donothing winabilityend loseability donothing loseabilityend rolld20end
text=Flying -- Grant an Advantage - if you would roll one or more dice, instead roll that many dice plus one and ignore the lowest roll.
mana={1}{U}
type=Creature
subtype=Faerie
power=1
toughness=3
[/card]
[card]
name=Plague Belcher
abilities=menace
auto=target(creature|mybattlefield) counter(-1/-1,2)
auto=@movedto(zombie|mygraveyard) from(mybattlefield):life:-1 opponent
text=Menace -- When Plague Belcher enters the battlefield, put two -1/-1 counters on target creature you control. -- Whenever another Zombie you control dies, each opponent loses 1 life.
mana={2}{B}
type=Creature
subtype=Zombie Beast
power=5
toughness=4
[/card]
[card]
name=Plague Engineer
abilities=deathtouch
auto=chooseatype lord(creature[chosentype]) -1/-1 chooseend
text=Deathtouch -- As Plague Engineer enters the battlefield, choose a creature type. -- Creatures of the chosen type your opponents control get -1/-1.
mana={2}{B}
type=Creature
subtype=Carrier
power=2
toughness=2
[/card]
[card]
name=Plague Mare
auto=cantbeblockedby(creature[white])
auto=all(creature|opponentBattlefield)) -1/-1 ueot
text=Plague Mare can't be blocked by white creatures. -- When Plague Mare enters the battlefield, creatures your opponents control get -1/-1 until end of turn.
mana={1}{B}{B}
type=Creature
subtype=Nightmare Horse
power=2
toughness=2
[/card]
[card]
name=Plague Reaver
auto=@each my endofturn:sacrifice all(other creature|mybattlefield)
auto={D(*|myhand)}{D(*|myhand)}:sacrifice and!(phaseaction[opponent upkeep once] name(choose Plague Reaver) moveto(opponentbattlefield) target(Plague Reaver[fresh]|mygraveyard))!
text=At the beginning of your end step, sacrifice each other creature you control. -- Discard two cards, Sacrifice Plague Reaver: Choose target opponent. Return Plague Reaver to the battlefield under that player's control at the beginning of their next upkeep.
mana={2}{B}
type=Creature
subtype=Beast
power=6
toughness=5
[/card]
[card]
name=Plague Wight
abilities=flanking
text=Whenever Plague Wight becomes blocked, each creature blocking it gets -1/-1 until end of turn.
mana={1}{B}
type=Creature
subtype=Zombie
power=2
toughness=1
[/card]
[card]
name=Plague of Vermin
auto=if compare(ishuman)~equalto~0 then thisforeach(variable{opponentlifetotal}) ability$!may name(Pay 1 life and create rat) life:-1 && token(Rat,Creature Rat,1/1,black)!$ opponent
auto=if compare(ishuman)~equalto~0 then thisforeach(variable{lifetotal}>15) ability$!may name(Pay 1 life and create rat) token(Rat,Creature Rat,1/1,black) and!( life:-1 controller )! !$ controller
auto=if compare(ishuman)~equalto~1 then thisforeach(variable{opponentlifetotal}>15) ability$!may name(Pay 1 life and create rat) life:-1 && token(Rat,Creature Rat,1/1,black)!$ opponent
auto=if compare(ishuman)~equalto~1 then thisforeach(variable{lifetotal}) ability$!may name(Pay 1 life and create rat) token(Rat,Creature Rat,1/1,black) and!( life:-1 controller )! !$ controller
text=Starting with you, each player may pay any amount of life. Repeat this process until no one pays life. Each player puts a 1/1 black Rat creature token onto the battlefield for each 1 life he or she paid this way.
mana={6}{B}
type=Sorcery
[/card]
[card]
name=Plaguecrafter
auto=if type(creature|myBattlefield)~morethan~0 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) sacrifice notatarget(creature|mybattlefield)!$ controller
auto=if type(creature|opponentBattlefield)~morethan~0 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) sacrifice notatarget(creature|mybattlefield)!$ opponent
auto=if type(creature|myBattlefield)~equalto~0 then ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ controller
auto=if type(creature|opponentBattlefield)~equalto~0 then ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ opponent
text=When Plaguecrafter enters the battlefield, each player sacrifices a creature or planeswalker. Each player who can't discards a card.
mana={2}{B}
type=Creature
subtype=Human Shaman
power=3
toughness=2
[/card]
[card]
name=Plaguecrafter's Familiar
abilities=deathtouch
auto=name(Creature perpetually gains deathtouch) target(creature|myhand) transforms((,newability[perpetualdeathtouch])) forever 
text=Deathtouch -- When Plaguecrafter's Familiar enters the battlefield, choose a creature card in your hand. It perpetually gains deathtouch.
mana={1}{B}
type=Creature
subtype=Rat
power=1
toughness=1
[/card]
[card]
name=Planar Ally
abilities=flying
auto=@combat(attacking) source(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Flying -- Whenever Planar Ally attacks, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={3}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Planar Chaos
auto=@each my upkeep:name(Flip a coin) flipacoin loseability sacrifice loseabilityend flipend
auto=@movedTo(*|mystack):name(Flip a coin) flipacoin loseability fizzle target(*|mystack) loseabilityend flipend
auto=@movedTo(*|opponentstack):ability$!name(Flip a coin) flipacoin loseability fizzle target(*|mystack) loseabilityend flipend!$ opponent
text=At the beginning of your upkeep, flip a coin. If you lose the flip, sacrifice Planar Chaos. -- Whenever a player casts a spell, that player flips a coin. If he or she loses the flip, counter that spell.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Planar Overlay
auto=ability$!name(Return a swamp) name(Return a swamp) target(swamp|myBattlefield) moveto(ownerhand)!$ controller
auto=ability$!name(Return a swamp) name(Return a swamp) target(swamp|myBattlefield) moveto(ownerhand)!$ opponent
auto=ability$!name(Return a plains) name(Return a plains) target(plains|myBattlefield) moveto(ownerhand)!$ controller
auto=ability$!name(Return a plains) name(Return a plains) target(plains|myBattlefield) moveto(ownerhand)!$ opponent
auto=ability$!name(Return a forest) name(Return a forest) target(forest|myBattlefield) moveto(ownerhand)!$ controller
auto=ability$!name(Return a forest) name(Return a forest) target(forest|myBattlefield) moveto(ownerhand)!$ opponent
auto=ability$!name(Return an island) name(Return an island) target(island|myBattlefield) moveto(ownerhand)!$ controller
auto=ability$!name(Return an island) name(Return an island) target(island|myBattlefield) moveto(ownerhand)!$ opponent
auto=ability$!name(Return a mountain) name(Return a mountain) target(mountain|myBattlefield) moveto(ownerhand)!$ controller
auto=ability$!name(Return a mountain) name(Return a mountain) target(mountain|myBattlefield) moveto(ownerhand)!$ opponent
text=Each player chooses a land he or she controls of each basic land type. Return those lands to their owners' hands.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Planebound Accomplice
auto={R}:may name(Put planeswalker in play) target(planeswalker|myHand) moveto(myBattlefield) and!( transforms((,newability[treason])) ueot )!
text={R}: You may put a planeswalker card from your hand onto the battlefield. Sacrifice it at the beginning of the next end step.
mana={2}{R}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Planeswalker's Favor
auto={3}{G}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets X/X) moveto(ownerhand) and!( target(creature) manacost/manacost ueot )!])) oneshot )!
text={3}{G}: Target opponent reveals a card at random from his or her hand. Target creature gets +X/+X until end of turn, where X is the revealed card's converted mana cost.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Planeswalker's Fury
auto={3}{R}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Deal damage) moveto(ownerhand) and!( damage:manacost opponent )!])) oneshot )!
text={3}{R}: Target opponent reveals a card at random from his or her hand. Planeswalker's Fury deals damage equal to that card's converted mana cost to that player. Activate this ability only any time you could cast a sorcery.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mirth
auto={3}{W}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(You gain life) moveto(ownerhand) and!( life:manacost controller )!])) oneshot )!
text={3}{W}: Target opponent reveals a card at random from his or her hand. You gain life equal to that card's converted mana cost.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mischief
auto={3}{U}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put to exile) name(Put to exile) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast],newability[phaseaction[endofturn once checkex] moveto(ownerhand)])) ueot)!],newability[if cantargetcard(*[-instant;-sorcery]|*) then choice name(Put back) name(Put back) moveto(ownerhand)])) oneshot )! asSorcery
text={3}{U}: Target opponent reveals a card at random from his or her hand. If it's an instant or sorcery card, exile it. You may cast it without paying its mana cost for as long as it remains exiled. (If it has X in its mana cost, X is 0.) At the beginning of the next end step, if you haven't cast it, return it to its owner's hand. Activate this ability only any time you could cast a sorcery.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Planeswalker's Scorn
auto={3}{B}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets -X/-X) moveto(ownerhand) and!( target(creature) -manacost/-manacost ueot )!])) oneshot )!
text={3}{B}: Target opponent reveals a card at random from his or her hand. Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost. Activate this ability only any time you could cast a sorcery.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Planewide Celebration
auto=thisforeach(variable{4}) ability$!name(Choose one) choice name(Create citizen) token(Citizen,Creature Citizen,2/2,white,blue,black,red,green) _ choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) _ choice name(Proliferate) notatarget(proliferation) proliferate _choice name(Gain life) life:4 controller!$ controller
text=Choose four. You may choose the same mode more than once. -- Create a 2/2 Citizen creature token that's all colors. -- Return target permanent card from your graveyard to your hand. -- Proliferate. -- You gain 4 life.
mana={5}{G}{G}
type=Sorcery
[/card]
[card]
name=Plargg, Dean of Chaos
other={2}{W} name(Augusta, Dean of Order)
otherrestriction=can play creature,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Augusta, Dean of Order)
autostack=if paid(alternative) then name(Augusta, Dean of Order) name(Augusta, Dean of Order) flip(Augusta, Dean of Order) forcetype(Legendary Creature)
aicode=activate transforms((,newability[all(*[zpos<=findfirsttypenonland]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot
auto=this(variable{isflipped}<1) {4}{R}{T}:name(Reveal cards) Reveal:1 revealzone(mylibrary) revealuntil(*[-land;-legendary;manacost<=3]|mylibrary) optionone choice name(Choose card) target(*[-land;-legendary;manacost<=3]|reveal) bottomoflibrary and!( becomes(tobecast) ueot)! optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed may name(Cast chosen card) all(tobecast|mylibrary) activate castcard(normal) afterrevealedend revealend
auto=this(variable{isflipped}<1) {T}{D(*|myhand)}:name(Draw card) draw:1 controller
text={T}, Discard a card: Draw a card. -- {4}{R}, {T}: Reveal cards from the top of your library until you reveal a nonlegendary, nonland card with mana value 3 or less. You may cast that card without paying its mana cost. Put all revealed cards not cast this way on the bottom of your library in a random order. // {2}{W} Augusta, Dean of Order
mana={1}{R}
type=Legendary Creature
subtype=Orc Shaman
power=2
toughness=2
[/card]
[card]
name=Plasm Capture
target=*|stack
auto=fizzle
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then transforms((,newability[counter(0/0.1.PlasmEffect)],newability[@each my firstmain restriction{compare(hascntplasmeffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.PlasmEffect)],newability[@each my firstmain restriction{compare(hascntplasmeffect)~morethan~0}:name(Add mana) thisforeach(variable{storedmanacost}>0) ability$!name(Choose color) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add white mana) add{W} _ choice name(Add black mana) add{B} _ choice name(Add blue mana) add{U}!$ controller])) forever
text=Counter target spell. At the beginning of your next precombat main phase, add X mana in any combination of colors to your mana pool, where X is that spell's converted mana cost.
mana={G}{G}{U}{U}
type=Instant
[/card]
[card]
name=Plate Armor
auto={9999}:equip
auto=this(variable{type:*[equipment]:mybattlefield}=1) {3}:name(Equip) name(Equip) target(creature|myBattlefield) rehook asSorcery
auto=this(variable{type:*[equipment]:mybattlefield}=2) {2}:name(Equip) name(Equip) target(creature|myBattlefield) rehook asSorcery
auto=this(variable{type:*[equipment]:mybattlefield}=3) {1}:name(Equip) name(Equip) target(creature|myBattlefield) rehook asSorcery
auto=this(variable{type:*[equipment]:mybattlefield}>=4) {0}:name(Equip) name(Equip) target(creature|myBattlefield) rehook asSorcery
auto=teach(creature) 3/3
auto=@targeted(mytgt) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Equipped creature gets +3/+3 and has ward {1}. (Whenever equipped creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.) -- Equip {3}. This ability costs {1} less to activate for each other Equipment you control.
mana={2}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Plated Pegasus
abilities=flash,flying
auto=all(creature|battlefield) absorb
auto=@damaged(controller):life:1 controller
auto=@damaged(opponent):life:1 opponent
text=Flash (You may cast this spell any time you could cast an instant.) -- Flying -- If a spell would deal damage to a creature or player, prevent 1 damage that spell would deal to that creature or player.
mana={2}{W}
type=Creature
subtype=Pegasus
power=1
toughness=2
[/card]
[card]
name=Play of the Game
auto=moveto(exile) all(*[-land])
text=Assist (Another player can pay up to {6} of this spell's cost.) -- Exile all nonland permanents.
mana={6}{W}{W}
type=Sorcery
[/card]
[card]
name=Play with Fire
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=if type(creature|battlefield)~morethan~0 then choice name(Damage creature) name(Damage creature) damage:2 target(creature)
auto=if type(planeswalker|battlefield)~morethan~0 then choice name(Damage planeswalker) name(Damage planeswalker) damage:2 target(planeswalker)
auto=choice name(Damage player) damage:2 target(player) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Play with Fire deals 2 damage to any target. If a player is dealt damage this way, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={R}
type=Instant
[/card]
[card]
name=Plaza of Harmony
auto=if type(*[gate]|mybattlefield)~morethan~1 then life:3 controller
auto={T}:add{C}
auto={T} restriction{type(Gateway Plaza|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add black) add{B} _ choice name(Add green) add{G} _ choice name(Add red) add{R} _ choice name(Add white) add{W} _  choice name(Add blue) add{U}!$ controller
auto={T} restriction{type(Azorius Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add white) add{W} _  choice name(Add blue) add{U}!$ controller
auto={T} restriction{type(Boros Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add white) add{W} _  choice name(Add red) add{R}!$ controller
auto={T} restriction{type(Dimir Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add black) add{B} _  choice name(Add blue) add{U}!$ controller
auto={T} restriction{type(Golgari Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add black) add{B} _  choice name(Add green) add{G}!$ controller
auto={T} restriction{type(Gruul Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add red) add{R} _  choice name(Add green) add{G}!$ controller
auto={T} restriction{type(Izzet Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add red) add{R} _  choice name(Add blue) add{U}!$ controller
auto={T} restriction{type(Orzhov Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add white) add{W} _  choice name(Add black) add{B}!$ controller
auto={T} restriction{type(Rakdos Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add red) add{R} _  choice name(Add black) add{B}!$ controller
auto={T} restriction{type(Selesnya Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add white) add{W} _  choice name(Add green) add{G}!$ controller
auto={T} restriction{type(Simic Guildgate|mybattlefield)~morethan~0}:ability$!name(Choose one) choice name(Add blue) add{U} _  choice name(Add green) add{G}!$ controller
text=When Plaza of Harmony enters the battlefield, if you control two or more Gates, you gain 3 life. -- {T}: Add {C}. -- {T}: Add one mana of any type that a Gate you control could produce.
type=Land
[/card]
[card]
name=Pledge of Unity
auto=all(creature|myBattlefield) counter(1/1)
auto=life:type:creature:myBattlefield
text=Put a +1/+1 counter on each creature you control. You gain 1 life for each creature you control.
mana={1}{G}{W}
type=Instant
[/card]
[card]
name=Plow Through Reito
target=creature
auto=foreach(plains|mybattlefield) may moveTo(myhand) target(plains|mybattlefield) && 1/1 ueot
text=Sweep - Return any number of Plains you control to their owner's hand. Target creature gets +1/+1 until end of turn for each Plains returned this way.
mana={1}{W}
type=Instant
subtype=Arcane
[/card]
[card]
name=Plumb the Forbidden
target=<anyamount>creature|mybattlefield
auto=transforms((,newability[sacrifice],newability[draw:1 controller],newability[life:-1 controller])) oneshot
text=As an additional cost to cast this spell, you may sacrifice one or more creatures. When you do, copy this spell for each creature sacrificed this way. -- You draw a card and you lose 1 life.
mana={1}{B}
type=Instant
[/card]
[card]
name=Plundering Barbarian
auto=choice name(Destroy artifact) target(artifact) destroy
auto=choice name(Create treasure) token(Treasure Sur)
text=When Plundering Barbarian enters the battlefield, Choose one -- Smash the Chest - Destroy target artifact. -- Pry It Open - Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{R}
type=Creature
subtype=Dwarf Barbarian
power=2
toughness=2
[/card]
[card]
name=Plunge into Darkness
other={1}{B}{B} name(Entwine)
otherrestriction=compare(ishuman)~morethan~0
aicode=activate target(*[zpos=1]|mylibrary) moveto(myhand) and!( life:-1 controller )!
auto=ifnot paid(alternative) then if type(creature|mybattlefield)~morethan~0 then choice name(Sacrifice creatures) name(Sacrifice creatures) name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )!
auto=choice name(Pay 1 life and look 1 card) life:-1 controller && name(look) reveal:1 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 2 life and look 2 cards) name(Pay 2 life and look 2 cards) life:-2 controller && name(look) reveal:2 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 3 life and look 3 cards) name(Pay 3 life and look 3 cards) life:-3 controller && name(look) reveal:3 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 4 life and look 4 cards) name(Pay 4 life and look 4 cards) life:-4 controller && name(look) reveal:4 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 5 life and look 5 cards) name(Pay 5 life and look 5 cards) life:-5 controller && name(look) reveal:5 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 6 life and look 6 cards) name(Pay 6 life and look 6 cards) life:-6 controller && name(look) reveal:6 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 7 life and look 7 cards) name(Pay 7 life and look 7 cards) life:-7 controller && name(look) reveal:7 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 8 life and look 8 cards) name(Pay 8 life and look 8 cards) life:-8 controller && name(look) reveal:8 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 9 life and look 9 cards) name(Pay 9 life and look 9 cards) life:-9 controller && name(look) reveal:9 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 10 life and look 10 cards) name(Pay 10 life and look 10 cards) life:-10 controller && name(look) reveal:10 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 11 life and look 11 cards) name(Pay 11 life and look 11 cards) life:-11 controller && name(look) reveal:11 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 12 life and look 12 cards) name(Pay 12 life and look 12 cards) life:-12 controller && name(look) reveal:12 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 13 life and look 13 cards) name(Pay 13 life and look 13 cards) life:-13 controller && name(look) reveal:13 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 14 life and look 14 cards) name(Pay 14 life and look 14 cards) life:-14 controller && name(look) reveal:14 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 15 life and look 15 cards) name(Pay 15 life and look 15 cards) life:-15 controller && name(look) reveal:15 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 16 life and look 16 cards) name(Pay 16 life and look 16 cards) life:-16 controller && name(look) reveal:16 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 17 life and look 17 cards) name(Pay 17 life and look 17 cards) life:-17 controller && name(look) reveal:17 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 18 life and look 18 cards) name(Pay 18 life and look 18 cards) life:-18 controller && name(look) reveal:18 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 19 life and look 19 cards) name(Pay 19 life and look 19 cards) life:-19 controller && name(look) reveal:19 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
auto=if compare(ishuman)~morethan~0 then choice name(Pay 20 life and look 20 cards) name(Pay 20 life and look 20 cards) life:-20 controller && name(look) reveal:20 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(Put in exile) all(*|reveal) moveto(myexile) optiontwoend afterrevealed if paid(alternative) then may name(Sacrifice creatures) target(<anyamount>creature|myBattlefield) sacrifice and!( life:3 controller )! afterrevealedend revealend
text=Choose one  Sacrifice any number of creatures, then you gain 3 life for each sacrificed creature; or pay X life, then look at the top X cards of your library, put one of those cards into your hand, and exile the rest. -- Entwine {B} (Choose both if you pay the entwine cost.)
mana={1}{B}
type=Instant
[/card]
[card]
name=Poet's Quill
auto={1}{B}:equip
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
auto=teach(creature) 3/1
auto=teach(creature) lifelink
text=When Poet's Quill enters the battlefield, learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.) -- Equipped creature gets +1/+1 and has lifelink. -- Equip {1}{B}
mana={1}{B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Poison the Cup
target=creature
abilities=foretell
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{B} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=destroy
auto=if paid(alternative) then scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Destroy target creature. If this spell was foretold, scry 2. -- Foretell {1}{B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={1}{B}{B}
type=Instant
[/card]
[card]
name=Poison-Tip Archer
abilities=deathtouch, reach
auto=@movedTo(other creature|graveyard) from(battlefield):life:-1 opponent
text=Reach (This creature can block creatures with flying.) -- Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- Whenever another creature dies, each opponent loses 1 life.
mana={2}{B}{G}
type=Creature
subtype=Elf Archer
power=2
toughness=3
[/card]
[card]
name=Political Trickery
target=land|opponentbattlefield
auto=moveto(mybattlefield)
auto=moveto(opponentbattlefield) target(land|mybattlefield)
text=Exchange control of target land you control and target land an opponent controls. (This effect lasts indefinitely.)
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Pollen Remedy
abilities=hasotherkicker
other={W}{S(land|myBattlefield)} name(Pay kicker)
auto=if paid(alternative) then thisforeach(variable{6}) ability$!name(Prevent 1 damage) name(Prevent 1 damage) target(player,creature) prevent:1!$ controller
auto=ifnot paid(alternative) then thisforeach(variable{3}) ability$!name(Prevent 1 damage) name(Prevent 1 damage) target(player,creature) prevent:1!$ controller
text=Kicker'sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.) -- Prevent the next 3 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose. If Pollen Remedy was kicked, prevent the next 6 damage this way instead.
mana={W}
type=Instant
[/card]
[card]
name=Pollenbright Druid
auto=choice name(Put 1/1 counter) counter(1/1) target(creature)
auto=choice name(Proliferate) notatarget(<anyamount>player,permanent) proliferate
text=When Pollenbright Druid enters the battlefield, Choose one -- Put a +1/+1 counter on target creature. -- Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={1}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Pollywog Symbiote
auto=lord(*[mutate]|myhand) altercost(colorless,-1)
auto=@movedTo(creature[mutate]|mystack):draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Each creature spell you cast costs {1} less to cast if it has mutate. -- Whenever you cast a creature spell, if it has mutate, draw a card, then discard a card.
mana={1}{U}
type=Creature
subtype=Frog
power=1
toughness=3
[/card]
[card]
name=Polukranos, Unchained
abilities=hydra
auto=counter(1/1,6)
auto=if paid(retrace) then counter(1/1,6)
auto={1}{B}{G}:name(Fight) transforms((,newability[target(other creature) dynamicability<!powerstrike eachother!>])) oneshot
retrace={4}{B}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Polukranos enters the battlefield with six +1/+1 counters on it. It escapes with twelve +1/+1 counters on it instead. -- If damage would be dealt to Polukranos while it has a +1/+1 counter on it, prevent that damage and remove that many +1/+1 counters from it. -- {1}{B}{G}: Polukranos fights another target creature. -- Escape-{4}{B}{G}, Exile six other cards from your graveyard.
mana={2}{B}{G}
type=Legendary Creature
subtype=Zombie Hydra
power=0
toughness=0
[/card]
[card]
name=Polukranos, World Eater
auto=this(cantargetcard(*[-monstrous]) {X}{X}{G}:becomes(monstrous) forever && counter(1/1,halfpaid) && counter(0/0,halfpaid,PolukranosEffect)
auto={C(0/0,-1,PolukranosEffect)}:name(Deal 1 damage to opponent's creature) name(Deal 1 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:1],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-2,PolukranosEffect)}:name(Deal 2 damages to opponent's creature) name(Deal 2 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:2],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-3,PolukranosEffect)}:name(Deal 3 damages to opponent's creature) name(Deal 3 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:3],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-4,PolukranosEffect)}:name(Deal 4 damages to opponent's creature) name(Deal 4 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:4],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-5,PolukranosEffect)}:name(Deal 5 damages to opponent's creature) name(Deal 5 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:5],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-6,PolukranosEffect)}:name(Deal 6 damages to opponent's creature) name(Deal 6 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:6],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-7,PolukranosEffect)}:name(Deal 7 damages to opponent's creature) name(Deal 7 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:7],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-8,PolukranosEffect)}:name(Deal 8 damages to opponent's creature) name(Deal 8 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:8],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-9,PolukranosEffect)}:name(Deal 9 damages to opponent's creature) name(Deal 9 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:9],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-10,PolukranosEffect)}:name(Deal 10 damages to opponent's creature) name(Deal 10 damages to opponent's creature) target(creature|opponentBattlefield) transforms((,newability[damage:10],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|opponentBattlefield)])) oneshot
auto={C(0/0,-1,PolukranosEffect)}:name(Deal 1 damage to your creature) name(Deal 1 damage to your creature) target(creature|myBattlefield) transforms((,newability[damage:1],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-2,PolukranosEffect)}:name(Deal 2 damages to your creature) name(Deal 2 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:2],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-3,PolukranosEffect)}:name(Deal 3 damages to your creature) name(Deal 3 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:3],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-4,PolukranosEffect)}:name(Deal 4 damages to your creature) name(Deal 4 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:4],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-5,PolukranosEffect)}:name(Deal 5 damages to your creature) name(Deal 5 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:5],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-6,PolukranosEffect)}:name(Deal 6 damages to your creature) name(Deal 6 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:6],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-7,PolukranosEffect)}:name(Deal 7 damages to your creature) name(Deal 7 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:7],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-8,PolukranosEffect)}:name(Deal 8 damages to your creature) name(Deal 8 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:8],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-9,PolukranosEffect)}:name(Deal 9 damages to your creature) name(Deal 9 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:9],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto={C(0/0,-10,PolukranosEffect)}:name(Deal 10 damages to your creature) name(Deal 10 damages to your creature) target(creature|myBattlefield) transforms((,newability[damage:10],newability[dynamicability<!powerstrike!> target(*[counter{0/0.1.PolukranosEffect}]|myBattlefield)])) oneshot
auto=@each endofturn:removeallcounters(0/0,1,PolukranosEffect)
text={X}{X}{G}: Monstrosity X. (If this creature isn't monstrous, put X +1/+1 counters on it and it becomes monstrous.) -- When Polukranos, World Eater becomes monstrous, it deals X damage divided as you choose among any number of target creatures your opponents control. Each of those creatures deals damage equal to its power to Polukranos.
mana={2}{G}{G}
type=Legendary Creature
subtype=Hydra
power=5
toughness=5
[/card]
[card]
name=Polymorphist's Jest
other={1}{U}{U} name(Target Controller)
auto=if paid(alternative) then all(creature|mybattlefield) loseabilities ueot
auto=if paid(alternative) then all(creature|mybattlefield) transforms((,setpower=1,settoughness=1)) ueot
auto=if paid(alternative) then all(creature|mybattlefield) transforms((Frog,blue)) ueot
auto=ifnot paid(alternative) then all(creature|opponentbattlefield) loseabilities ueot
auto=ifnot paid(alternative) then all(creature|opponentbattlefield) transforms((,setpower=1,settoughness=1)) ueot
auto=ifnot paid(alternative) then all(creature|opponentbattlefield) transforms((Frog,blue)) ueot
text=Until end of turn, each creature target player controls loses all abilities and becomes a blue Frog with base power and toughness 1/1.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Polymorphous Rush
abilities=hasnokicker,hasstrive
kicker=multi{1}{U} name(Strive)
autostack=name(Choose a creature to copy) target(creature) transforms((,newability[phaseaction[endofturn once] counter(0/0.-1.RushEffect)],newability[counter(0/0.1.RushEffect)])) oneshot
auto=name(Creatures become copy) name(Creatures become copy) target(<upto:kickedplus1plusend>creature) transforms((,newability[all(creature[counter{0/0.1.RushEffect}]|battlefield) copy and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(myorigname) undocpy])) ueot )!])) ueot
text=Strive - Polymorphous Rush costs {1}{U} more to cast for each target beyond the first. -- Choose a creature on the battlefield. Any number of target creatures you control each become a copy of that creature until end of turn.
mana={2}{U}
type=Instant
[/card]
[card]
name=Polyraptor
auto=_ENRAGE_token(polyraptor)
text=Enrage - Whenever Polyraptor is dealt damage, create a token that's a copy of Polyraptor.
mana={6}{G}{G}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Pondering Mage
aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=4]|mylibrary) moverandom(*[zpos<=4]) from(mylibrary) to(mylibrary)],newability[draw:1])) ueot
auto=name(Look) reveal:3 optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<3>*|reveal) moveto(mylibrary)  optiontwoend afterrevealed transforms((,newability[choice shuffle && draw:1],newability[choice name(Cancel) draw:1])) afterrevealedend revealend
text=When Pondering Mage enters the battlefield, look at the top three cards of your library, then put them back in any order. You may shuffle your library. Draw a card.
mana={3}{U}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=4
[/card]
[card]
name=Pool of Vigorous Growth
auto={T}{D(*|myhand)}:name(X=0) all(creature[manacost=0]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={1}{T}{D(*|myhand)}:name(X=1) all(creature[manacost=1]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={2}{T}{D(*|myhand)}:name(X=2) all(creature[manacost=2]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={3}{T}{D(*|myhand)}:name(X=3) all(creature[manacost=3]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={4}{T}{D(*|myhand)}:name(X=4) all(creature[manacost=4]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={5}{T}{D(*|myhand)}:name(X=5) all(creature[manacost=5]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={6}{T}{D(*|myhand)}:name(X=6) all(creature[manacost=6]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={7}{T}{D(*|myhand)}:name(X=7) all(creature[manacost=7]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={8}{T}{D(*|myhand)}:name(X=8) all(creature[manacost=8]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={9}{T}{D(*|myhand)}:name(X=9) all(creature[manacost=9]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={10}{T}{D(*|myhand)}:name(X=10) all(creature[manacost=10]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={11}{T}{D(*|myhand)}:name(X=11) all(creature[manacost=11]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={12}{T}{D(*|myhand)}:name(X=12) all(creature[manacost=12]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={13}{T}{D(*|myhand)}:name(X=13) all(creature[manacost=13]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={14}{T}{D(*|myhand)}:name(X=14) all(creature[manacost=14]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={15}{T}{D(*|myhand)}:name(X=15) all(creature[manacost=15]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={16}{T}{D(*|myhand)}:name(X=16) all(creature[manacost=16]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={17}{T}{D(*|myhand)}:name(X=17) all(creature[manacost=17]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={18}{T}{D(*|myhand)}:name(X=18) all(creature[manacost=18]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={19}{T}{D(*|myhand)}:name(X=19) all(creature[manacost=19]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto={20}{T}{D(*|myhand)}:name(X=20) all(creature[manacost>=20]|battlefield) moveto(mybattlefield) and!( counter(0/0.1.PoolEffect) )! && all(this) counter(0/0.1.PoolEffect) asSorcery
auto=@counteradded(0/0.1.PoolEffect) from(this):name(Clone random creature) removeallcounters(0/0.1.PoolEffect) && moverandom(creature[counter{0/0.1.PoolEffect}]) from(mybattlefield) to(mybattlefield) and!( clone and!( all(creature[counter{0/0.1.PoolEffect}]|mybattlefield) moveto(ownerbattlefield) and!( removeallcounters(0/0.1.PoolEffect) )! )! )!
text={X}, {T}, Discard a card: Create a token that's a copy of a random creature card with mana value X. Activate only as a sorcery.
mana={1}{G}
type=Artifact
[/card]
[card]
name=Pop Quiz
auto=draw:1 controller
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Draw a card. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Poppet Factory
backside=Poppet Stitcher
auto=@each my upkeep:may name(Transform Poppet Stitcher) flip(backside)
auto=lord(*[token]|myBattlefield) transforms((,setpower=3,settoughness=3,newability[loseabilities]))
text=Creature tokens you control lose all abilities and have base power and toughness 3/3. -- At the beginning of your upkeep, you may transform Poppet Factory. // Poppet Stitcher
type=Artifact
color=blue
[/card]
[card]
name=Poppet Stitcher
backside=Poppet Factory
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@each my upkeep restriction{type(creature[token]|mybattlefield)~morethan~2}:may name(Transform Poppet Factory) flip(backside)
auto=@movedto(*[instant;sorcery]|mystack):name(Create a zombie) token(Zombie Dec)
text=Whenever you cast an instant or sorcery spell, create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.) -- At the beginning of your upkeep, if you control three or more creature tokens, you may transform Poppet Stitcher. // Poppet Factory
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Porcuparrot
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{R} name(Mutate)
auto=transforms((,newability[name(damage target) {T}:name(damage target) thisforeach(mutations) damage:1 target(*)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{R} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- {T}: This creature deals X damage to any target, where X is the number of times this creature has mutated.
mana={3}{R}
type=Creature
subtype=Bird Beast
power=3
toughness=4
[/card]
[card]
name=Port Razer
auto=@combatdamaged(player) from(this):nextphasealter(add,combatphases,controller,after<combatends>) && untap all(creature[attacking])
auto=@combatdamaged(player) from(this):transforms((,newability[untap],newability[removefromcombat],newability[cantattack])) ueot
text=Whenever Port Razer deals combat damage to a player, untap each creature you control. After this combat phase, there is an additional combat phase. -- Port Razer can't attack a player it has already attacked this turn.
mana={3}{R}{R}
type=Creature
subtype=Orc Pirate
power=4
toughness=4
[/card]
[card]
name=Port of Karfell
auto=tap(noevent)
auto={T}:add{U}
auto={3}{U}{B}{B}{T}{S}:name(Mill cards and return creature) transforms((,newability[deplete:4 controller],newability[target(creature|mygraveyard) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)])) oneshot )!])) oneshot
text=Port of Karfell enters the battlefield tapped. -- {T}: Add {U}. -- {3}{U}{B}{B}, {T}, Sacrifice Port of Karfell: Mill four cards, then return a creature card from your graveyard to the battlefield tapped. (To mill a card, put the top card of your library into your graveyard.)
type=Land
[/card]
[card]
name=Portable Hole
auto=(blink)forsrc target(creature[manacost<=2]|opponentbattlefield)
text=When Portable Hole enters the battlefield, exile target nonland permanent an opponent controls with mana value 2 or less until Portable Hole leaves the battlefield.
mana={W}
type=Artifact
[/card]
[card]
name=Portal of Sanctuary
target=creature|myBattlefield
auto={1}{T}:transforms((,newability[moveto(ownerhand) all(mychild)],newability[moveto(ownerhand)])) myturnonly
text={1}, {T}: Return target creature you control and each Aura attached to it to their owners' hands. Activate this ability only during your turn.
mana={2}{U}
type=Artifact
[/card]
[card]
name=Portcullis Vine
abilities=defender
auto={2}{T}{S(creature[defender]|myBattlefield)}:draw:1
text=Defender -- {2}, {T}, Sacrifice a creature with defender: Draw a card.
mana={G}
type=Creature
subtype=Plant Wall
power=0
toughness=3
[/card]
[card]
name=Postmortem Lunge
other={X}{L:2} name(Pay with 2 life)
auto=target(creature[manacost=X]|mygraveyard) moveto(mybattlefield) and!( transforms((,newability[unearth],newability[haste])) forever )!
text=({PB} can be paid with either {B} or 2 life.) -- Return target creature card with converted mana cost X from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step.
mana={X}{B}
type=Sorcery
[/card]
[card]
name=Potion of Healing
auto=draw:1 controller
auto={W}{T}{S}:name(Gain life) life:3 controller
text=When Potion of Healing enters the battlefield, draw a card. -- {W}, {T}, Sacrifice Potion of Healing: You gain 3 life.
mana={1}{W}
type=Artifact
[/card]
[card]
name=Poultrygeist
abilities=flying
auto=this(counter{1/1.1}>0) transforms((Creature Summon Chicken,setpower=0,settoughness=0)) forever
auto=@movedto(creature|graveyard) from(battlefield):may name(Roll a die) name(Roll a die) all(this) rolld6 1 winability sacrifice winabilityend loseability counter(1/1) loseabilityend rolld6end
text=Flying -- Whenever a creature is put into any graveyard from play, you may roll a six-sided die. On a 1, sacrifice Poultrygeist. Otherwise, put a +1/+1 counter on Poultrygeist.
mana={2}{B}
type=Summon
subtype=Chicken
[/card]
[card]
name=Pounce
target=creature|myBattlefield
auto=transforms((,newability[target(creature) dynamicability<!powerstrike eachother!>])) ueot
text=Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Pouncing Cheetah
abilities=flash
text=Flash
mana={2}{G}
type=Creature
subtype=Cat
power=3
toughness=2
[/card]
[card]
name=Pouncing Lynx
auto=this(variable{controllerturn}>0) first strike
text=As long as it's your turn, Pouncing Lynx has first strike.
mana={1}{W}
type=Creature
subtype=Cat
power=2
toughness=1
[/card]
[card]
name=Pouncing Shoreshark
abilities=flash,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{U} name(Mutate)
auto=transforms((,newability[@mutated(this):may target(creature|opponentbattlefield) moveTo(opponenthand)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flash -- Whenever this creature mutates, you may return target creature an opponent controls to its owner's hand.
mana={4}{U}
type=Creature
subtype=Shark Beast
power=4
toughness=3
[/card]
[card]
name=Power Conduit
auto={T}:name(Remove a counter from permanent) removesinglecountertype(1) target(*[counter{any}]|myBattlefield) && ability$!name(Choose one) choice name(Put 1/1 counter) counter(1/1,1) target(creature) _ choice name(Put charge counter) counter(0/0,1,Charge) target(artifact)!$ controller
text={T}, Remove a counter from a permanent you control: Choose one -- Put a charge counter on target artifact. -- Put a +1/+1 counter on target creature.
mana={2}
type=Artifact
[/card]
[card]
name=Power Depot
abilities=modular
modular=1
auto=tap(noevent)
auto=_DIES_may thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact])
auto={T}:add{C}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{R}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{B}
auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{B}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{U}
auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{U}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{G}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{W}
text=Power Depot enters the battlefield tapped. -- {T}: Add {C}. -- {T}: Add one mana of any color. Spend this mana only to cast artifact spells or activate abilities of artifacts. -- Modular 1
type=Artifact Land
[/card]
[card]
name=Power Surge
auto=@each my upkeep:damage:type:land[-tapped]:mybattlefield controller
auto=@each opponent upkeep:damage:type:land[-tapped]:opponentbattlefield opponent
text=At the beginning of each player's upkeep, Power Surge deals X damage to that player, where X is the number of untapped lands he or she controlled at the beginning of this turn.
mana={R}{R}
type=Enchantment
[/card]
[card]
name=Power Word Kill
target=creature[-angel;-demon;-devil;-dragon]|battlefield
auto=destroy
text=Destroy target non-Angel, non-Demon, non-Devil, non-Dragon creature.
mana={1}{B}
type=Instant
[/card]
[card]
name=Power of Persuasion
target=creature|opponentbattlefield
auto=name(Roll a d20) rolld20 20 winability transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[my endofturn once next sourceinplay] moveTo(ownerbattlefield)])) forever winabilityend loseability if compare(srclastrollresult)~lessthan~10 then moveto(ownerhand) else bottomoflibrary loseabilityend rolld20end
text=Choose target creature an opponent controls, then roll a d20. -- 1-9 | Return it to its owner's hand. -- 10-19 | Its owner puts it on the top of bottom of their library. -- 20 | Gain control of it until the end of your next turn.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Powerstone Shard
auto={T}:foreach(Powerstone Shard|myBattlefield) add{1}
text={T}: Add {C} for each artifact you control named Powerstone Shard.
mana={3}
type=Artifact
[/card]
[card]
name=Pox
auto=life:-thirdupopponentlifetotal opponent
auto=life:-thirduplifetotal controller
auto=ability$!name(Discard cards) name(Discard cards) reject notatarget(<thirduptype:*:myhand>*|myhand)!$ controller
auto=ability$!name(Discard cards) name(Discard cards) reject notatarget(<thirduptype:*:myhand>*|myhand)!$ opponent
auto=ability$!name(Sacrifice creatures) name(Sacrifice creatures) sacrifice notatarget(<thirduptype:creature:mybattlefield>creature|mybattlefield)!$ controller
auto=ability$!name(Sacrifice creatures) name(Sacrifice creatures) sacrifice notatarget(<thirduptype:creature:mybattlefield>creature|mybattlefield)!$ opponent
auto=ability$!name(Sacrifice lands) name(Sacrifice lands) sacrifice notatarget(<thirduptype:land:mybattlefield>land|mybattlefield)!$ controller
auto=ability$!name(Sacrifice lands) name(Sacrifice lands) sacrifice notatarget(<thirduptype:land:mybattlefield>land|mybattlefield)!$ opponent
text=Each player loses a third of his or her life, then discards a third of the cards in his or her hand, then sacrifices a third of the creatures he or she controls, then sacrifices a third of the lands he or she controls. Round up each time.
mana={B}{B}{B}
type=Sorcery
[/card]
[card]
name=Practical Research
auto=draw:4
auto=transforms((,newability[choice name(discard 2 cards) reject target(<2>*|myhand)],newability[aslongas(*[instant;sorcery]|myHand) choice name(discard instant or sorcery) reject target(*[instant;sorcery]|myhand)]))
text=Draw four cards. Then discard two cards unless you discard an instant or sorcery card.
mana={3}{U}{R}
type=Instant
[/card]
[card]
name=Practiced Tactics
target=creature[attacking;blocking]
auto=damage:twicecalculateparty
text=Choose target attacking or blocking creature. Practiced Tactics deals damage to that creature equal to twice the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={W}
type=Instant
[/card]
[card]
name=Praetor's Grasp
auto=name(Search opponent library) target(*|opponentlibrary) moveto(myexile) and!( transforms((,newability[shuffle opponent],newability[canplayfromexile],newability[@each beginofturn:name(Can play from exile) transforms((,newability[canplayfromexile])) forever])) forever )!
text=Search target opponent's library for a card and exile it face down. Then that player shuffles his or her library. You may look at and play that card for as long as it remains exiled.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Pramikon, Sky Rampart
abilities=flying,defender
text=Flying, defender -- As Pramikon, Sky Rampart enters the battlefield, choose left or right. -- Each player may attack only the nearest opponent in the chosen direction and planeswalkers controlled by that opponent.
mana={U}{R}{W}
type=Legendary Creature
subtype=Wall
power=1
toughness=5
[/card]
[card]
name=Prava of the Steel Legion
abilities=partner
auto=this(variable{controllerturn}>0) lord(creature[token]|mybattlefield) 1/4
auto={3}{W}:token(Soldier,Creature Soldier,1/1,white)
text=As long as it's your turn, creature tokens you control get +1/+4. -- {3}{W}: Create a 1/1 white Soldier creature token. -- Partner (You can have two commanders if both have partner.)
mana={2}{W}
type=Legendary Creature
subtype=Cat Soldier
power=1
toughness=4
[/card]
[card]
name=Preacher
abilities=doesnotuntap
auto=@each my untap:if cantargetcard(*[tapped]|mybattlefield) then may name(Untap Preacher) name(Untap Preacher) untap
auto=@untapped(this) restriction{compare(hascntpreachereffect)~morethan~0}:name(Give back creature) transforms((,newability[removeallcounters(0/0.1.PreacherEffect)],newability[name(Give back creature) target(creature[counter{0/0.1.PreacherStolen}]|mybattlefield) moveto(opponentBattlefield) and!( counter(0/0.-1.PreacherStolen) )!])) oneshot
auto=@movedto(this|nonbattlezone) from(myBattlefield) restriction{compare(hascntpreachereffect)~morethan~0}:name(Give back creature) transforms((,newability[removeallcounters(0/0.1.PreacherEffect)],newability[name(Give back creature) target(creature[counter{0/0.1.PreacherStolen}]|mybattlefield) moveto(opponentBattlefield) and!( counter(0/0.-1.PreacherStolen) )!])) oneshot
auto=aslongas(creature|opponentBattlefield) {C(0/0,1,PreacherEffect)}{T}:name(Gain control) ability$!name(Give control) name(Give control) target(creature|mybattlefield) moveto(opponentbattlefield) and!( counter(0/0.1.PreacherStolen) )! !$ opponent
text=You may choose not to untap Preacher during your untap step. -- {T}: Gain control of target creature of an opponent's choice that he or she controls for as long as Preacher remains tapped.
mana={1}{W}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Precipitous Drop
target=creature
auto=name(Venture into dungeon) all(this) transforms((,newability[if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot])) oneshot
auto=teach(creature) -2/-2
auto=this(variable{pdungeoncompleted}>0) teach(creature) -3/-3
text=Enchant creature -- When Precipitous Drop enters the battlefield, venture into the dungeon. (Enter the first room or advance to the next room.) -- Enchanted creature gets -2/-2. It gets -5/-5 instead as long as you've completed a dungeon.
mana={2}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Precision Bolt
target=player,creature,planeswalker
auto=damage:3
text=Precision Bolt deals 3 damage to any target.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Precognition Field
abilities=showfromtoplibrary,canplayinstantsorcerylibrarytop
auto={3}:name(Exile top card) moveto(exile) all(*[zpos=1]|mylibrary)
text=You may look at the top card of your library any time. -- You may cast the top card of your library if it's an instant or sorcery card. -- {3}: Exile the top card of your library.
mana={3}{U}
type=Enchantment
[/card]
[card]
name=Precognitive Perception
aicode=activate transforms((,newability[draw:3 controller])) oneshot
auto=_ADDENDUM_ scry:3 scrycore delayed draw:3 controller scrycoreend scryend else draw:3 controller
text=Draw three cards. -- Addendum - If you cast this spell during your main phase, instead scry 3, then draw three cards.
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Predatory Focus
auto=all(creature[blocked]|mybattlefield) transforms((,newability[target(player) dynamicability<!powerstrike!>])) ueot
text=You may have creatures you control assign their combat damage this turn as though they weren't blocked.
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Predatory Impetus
target=creature
auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_all(creature|opponentbattlefield) transforms((,newability[mustblock])) ueot]))
auto=3/3
text=Enchant creature -- Enchanted creature gets +3/+3, must be blocked if able, and is goaded. (It attacks each combat if able and attacks a player other than you if able.)
mana={4}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Predatory Wurm
abilities=vigilance
auto=aslongas(planeswalker[Garruk]|myBattlefield) 2/2 >0
text=Vigilance (Attacking doesn't cause this creature to tap.) -- Predatory Wurm gets +2/+2 as long as you control a Garruk planeswalker.
mana={3}{G}
type=Creature
subtype=Wurm
power=4
toughness=4
[/card]
[card]
name=Predict
auto=chooseanameopp name(Mill opponent) all(*[zpos=1]|opponentLibrary) moveto(opponentGraveyard) and!( if cantargetcard(*[chosenname]|*) then draw:2 controller else draw:1 controller )! chooseend
text=Name a card, then put the top card of target player's library into his or her graveyard. If that card is the named card, you draw two cards. Otherwise, you draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Premature Burial
target=creature[-black]
auto=destroy
text=Destroy target nonblack creature that entered the battlefield since your last turn ended.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Prepare // Fight
target=creature
auto=untap
auto=lifelink
auto=2/2
autograveyard={3}{G}{E}:target(creature) transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot asSorcery
text=Untap target creature. It gets +2/+2 and gains lifelink until end of turn. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Target creature you control fights target creature an opponent controls.
mana={1}{W}
type=Instant
[/card]
[card]
name=Price of Betrayal
auto=if type(artifact|battlefield)~morethan~0 then choice name(Remove 5 counters from an artifact) name(Remove 5 counters from an artifact) target(artifact) removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1)
auto=if type(creature|battlefield)~morethan~0 then choice name(Remove 5 counters from a creature) name(Remove 5 counters from a creature) target(creature) removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1)
auto=if type(planeswalker|battlefield)~morethan~0 then choice name(Remove 5 counters from a planeswalker) name(Remove 5 counters from a planeswalker) target(planeswalker) removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1)
auto=choice name(Remove 5 counters from opponent) target(opponent) removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1) && removesinglecountertype(1)
text=Remove up to five counters from target artifact, creature, planeswalker, or opponent.
mana={B}
type=Sorcery
[/card]
[card]
name=Price of Fame
other={1}{B} name(Target Legendary)
otherrestriction=type(creature[legendary]|battlefield)~morethan~0
restriction=type(creature[-legendary]|battlefield)~morethan~0
auto=if paid(alternative) then if type(creature[legendary]|opponentbattlefield)~morethan~0 then choice name(Destroy opponent's legendary creature) name(Destroy opponent's legendary creature) name(Destroy opponent's legendary creature) target(creature[legendary]|opponentbattlefield) transforms((,newability[destroy],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot
auto=ifnot paid(alternative) then if type(creature[-legendary]|opponentbattlefield)~morethan~0 then choice name(Destroy opponent's non-legendary creature) name(Destroy opponent's non-legendary creature) name(Destroy opponent's non-legendary creature) target(creature[-legendary]|opponentbattlefield) transforms((,newability[destroy],newability[ability$!name(Surveil 2) name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot
auto=if paid(alternative) then if type(creature[legendary]|mybattlefield)~morethan~0 then choice name(Destroy your legendary creature) name(Destroy your legendary creature) name(Destroy your legendary creature) target(creature[legendary]|mybattlefield) transforms((,newability[destroy],newability[name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend])) oneshot
auto=ifnot paid(alternative) then if type(creature[-legendary]|mybattlefield)~morethan~0 then choice name(Destroy your non-legendary creature) name(Destroy your non-legendary creature) name(Destroy your non-legendary creature) target(creature[-legendary]|mybattlefield) transforms((,newability[destroy],newability[name(Surveil 2) reveal:psurveiloffsetplus2plusend revealzone(mylibrary) optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend])) oneshot
text=This spell costs {2} less to cast if it targets a legendary creature. -- Destroy target creature. -- Surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.)
mana={3}{B}
type=Instant
[/card]
[card]
name=Price of Loyalty
target=creature
other={2}{S(treasure[-tapped]|mybattlefield)} name(Pay with treasure)
otherrestriction=type(treasure[-tapped]|mybattlefield)~morethan~0
auto=ifnot paid(alternative) then moveto(mybattlefield) and!( transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot )!
auto=if paid(alternative) then moveto(mybattlefield) and!( transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[2/0],newability[untap],haste)) ueot )!
text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If mana from a Treasure was spent to cast this spell, that creature gets +2/+0 until end of turn.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Prickly Marmoset
abilities=first strike
auto=cycled(*|myHand):2/0 ueot
text=First strike -- Whenever you cycle a card, Prickly Marmoset gets +2/+0 until end of turn.
mana={2}{R}
type=Creature
subtype=Monkey
power=2
toughness=3
[/card]
[card]
name=Pride Sovereign
auto=foreach(other cat|mybattlefield) 1/1
auto=@exerted(this):token(Cat,creature Cat,1/1,white,lifelink)*2
auto={W}{T}:exert
text=Pride Sovereign gets +1/+1 for each other Cat you control. -- {W}, {T}, Exert Pride Sovereign: Create two 1/1 white Cat creature tokens with lifelink. (An exerted creature won't untap during your next untap step.)
mana={2}{G}
type=Creature
subtype=Cat
power=2
toughness=2
[/card]
[card]
name=Pride of Conquerors
auto=_ASCEND_
auto=_CITY'S_BLESSING_ all(creature|mybattlefield) 1/1
auto=all(creature|mybattlefield) 1/1
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Creatures you control get +1/+1 until end of turn. If you have the city's blessing, those creatures get +2/+2 until end of turn instead.
mana={1}{W}
type=Instant
[/card]
[card]
name=Pride of the Perfect
auto=lord(elf|mybattlefield) 2/0
text=Elves you control get +2/+0.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Pridemalkin
auto=counter(1/1,1) target(creature|myBattlefield)
auto=lord(creature[counter{1/1.1}]|myBattlefield) trample
text=When Pridemalkin enters the battlefield, put a +1/+1 counter on target creature you control. -- Each creature you control with a +1/+1 counter on it has trample. (They can deal excess combat damage to the player or planeswalker they're attacking.)
mana={2}{G}
type=Creature
subtype=Cat
power=2
toughness=1
[/card]
[card]
name=Priest of Ancient Lore
auto=life:1 controller && draw:1 controller
text=When Priest of Ancient Lore enters the battlefield, you gain 1 life and draw a card.
mana={2}{W}
type=Creature
subtype=Dwarf Cleric
power=2
toughness=1
[/card]
[card]
name=Priest of Fell Rites
auto={T}{L:3}{S}:name(Return creature) target(creature|mygraveyard) moveto(mybattlefield) asSorcery
autograveyard={3}{W}{B}:name(Unearth) moveto(mybattlefield) and!( transforms((,newability[haste],newability[unearth],newability[exiledeath])) forever )! asSorcery
text={T}, Pay 3 life, Sacrifice Priest of Fell Rites: Return target creature card from your graveyard to the battlefield. Activate only as a sorcery. -- Unearth {3}{W}{B} ( {3}{W}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
mana={W}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=2
[/card]
[card]
name=Priest of Forgotten Gods
auto={T}{S(other creature|mybattlefield)}{S(other creature|mybattlefield)}:target(player) ability$!name(Sacrifice Creature) name(Sacrifice Creature) notatarget(creature|mybattlefield) sacrifice and!(life:-2 controller)! !$ targetedplayer && add{B}{B} controller && draw:1 controller
text={T}, Sacrifice two other creatures: Any number of target players each lose 2 life and sacrifice a creature. You add {B}{B} and draw a card.
mana={1}{B}
type=Creature
subtype=Human Cleric
power=1
toughness=2
[/card]
[card]
name=Priest of the Haunted Edge
auto={T}{S}:name(Creature gets -X/-X) target(creature) -type:land[snow]:mybattlefield/-type:land[snow]:mybattlefield ueot asSorcery
text={T}, Sacrifice Priest of the Haunted Edge: Target creature gets -X/-X until end of turn, where X is the number of snow lands you control. Activate this ability only any time you could cast a sorcery.
mana={1}{B}
type=Creature
subtype=Zombie Cleric
power=0
toughness=4
[/card]
[card]
name=Priest of the Wakening Sun
auto={3}{W}{W}{S}:moveto(myhand) target(dinosaur|mylibrary)
auto=@each my upkeep if type(dinosaur|myhand)~morethan~0:life:2 controller
text=At the beginning of your upkeep, you may reveal a Dinosaur card from your hand. If you do, you gain 2 life. -- {3}{W}{W}, Sacrifice Priest of the Wakening Sun: Search your library for a Dinosaur card, reveal it, put it into your hand, then shuffle your library.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Primal Adversary
abilities=trample
auto=choice name(Don't add any counter) donothing
auto=choice name(Add 1 counter) ability$!may name(Pay to add 1 counter) pay({1}{G}) name(Pay to add 1 counter) all(mysource) name(Pay to add 1 counter) transforms((,newability[counter(1/1.1)],newability[name(Choose 1 land) target(land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 2 counters) ability$!may name(Pay to add 2 counters) pay({2}{G}{G}) name(Pay to add 2 counters) all(mysource) name(Pay to add 2 counters) transforms((,newability[counter(1/1.2)],newability[name(Choose 2 lands) target(<2>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 3 counters) ability$!may name(Pay to add 3 counters) pay({3}{G}{G}{G}) name(Pay to add 3 counters) all(mysource) name(Pay to add 3 counters) transforms((,newability[counter(1/1.3)],newability[name(Choose 3 lands) target(<3>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 4 counters) ability$!may name(Pay to add 4 counters) pay({4}{G}{G}{G}{G}) name(Pay to add 4 counters) all(mysource) name(Pay to add 4 counters) transforms((,newability[counter(1/1.4)],newability[name(Choose 4 lands) target(<4>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 5 counters) ability$!may name(Pay to add 5 counters) pay({5}{G}{G}{G}{G}{G}) name(Pay to add 5 counters) all(mysource) name(Pay to add 5 counters) transforms((,newability[counter(1/1.5)],newability[name(Choose 5 lands) target(<5>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 6 counters) ability$!may name(Pay to add 6 counters) pay({6}{G}{G}{G}{G}{G}{G}) name(Pay to add 6 counters) all(mysource) name(Pay to add 6 counters) transforms((,newability[counter(1/1.6)],newability[name(Choose 6 lands) target(<6>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 7 counters) ability$!may name(Pay to add 7 counters) pay({7}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 7 counters) all(mysource) name(Pay to add 7 counters) transforms((,newability[counter(1/1.7)],newability[name(Choose 7 lands) target(<7>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 8 counters) ability$!may name(Pay to add 8 counters) pay({8}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 8 counters) all(mysource) name(Pay to add 8 counters) transforms((,newability[counter(1/1.8)],newability[name(Choose 8 lands) target(<8>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 9 counters) ability$!may name(Pay to add 9 counters) pay({9}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 9 counters) all(mysource) name(Pay to add 9 counters) transforms((,newability[counter(1/1.9)],newability[name(Choose 9 lands) target(<9>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 10 counters) ability$!may name(Pay to add 10 counters) pay({10}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 10 counters) all(mysource) name(Pay to add 10 counters) transforms((,newability[counter(1/1.10)],newability[name(Choose 10 lands) target(<10>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 11 counters) ability$!may name(Pay to add 11 counters) pay({11}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 11 counters) all(mysource) name(Pay to add 11 counters) transforms((,newability[counter(1/1.11)],newability[name(Choose 11 card) target(<11>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 12 counters) ability$!may name(Pay to add 12 counters) pay({12}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 12 counters) all(mysource) name(Pay to add 12 counters) transforms((,newability[counter(1/1.12)],newability[name(Choose 12 lands) target(<12>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 13 counters) ability$!may name(Pay to add 13 counters) pay({13}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 13 counters) all(mysource) name(Pay to add 13 counters) transforms((,newability[counter(1/1.13)],newability[name(Choose 13 lands) target(<13>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 14 counters) ability$!may name(Pay to add 14 counters) pay({14}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 14 counters) all(mysource) name(Pay to add 14 counters) transforms((,newability[counter(1/1.14)],newability[name(Choose 14 lands) target(<14>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 15 counters) ability$!may name(Pay to add 15 counters) pay({15}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 15 counters) all(mysource) name(Pay to add 15 counters) transforms((,newability[counter(1/1.15)],newability[name(Choose 15 lands) target(<15>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 16 counters) ability$!may name(Pay to add 16 counters) pay({16}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 16 counters) all(mysource) name(Pay to add 16 counters) transforms((,newability[counter(1/1.16)],newability[name(Choose 16 lands) target(<16>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 17 counters) ability$!may name(Pay to add 17 counters) pay({17}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 17 counters) all(mysource) name(Pay to add 17 counters) transforms((,newability[counter(1/1.17)],newability[name(Choose 17 lands) target(<17>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 18 counters) ability$!may name(Pay to add 18 counters) pay({18}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 18 counters) all(mysource) name(Pay to add 18 counters) transforms((,newability[counter(1/1.18)],newability[name(Choose 18 lands) target(<18>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 19 counters) ability$!may name(Pay to add 19 counters) pay({19}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 19 counters) all(mysource) name(Pay to add 19 counters) transforms((,newability[counter(1/1.19)],newability[name(Choose 19 lands) target(<19>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
auto=choice name(Add 20 counters) ability$!may name(Pay to add 20 counters) pay({20}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) name(Pay to add 20 counters) all(mysource) name(Pay to add 20 counters) transforms((,newability[counter(1/1.20)],newability[name(Choose 20 lands) target(<20>land|mybattlefield) transforms((Creature Wolf,setpower=3,settoughness=3,newability[haste])) forever])) oneshot!$ controller
text=Trample -- When Primal Adversary enters the battlefield, you may pay {1}{G} any number of times. When you pay this cost one or more times, put that many +1/+1 counters on Primal Adversary, then up to that many target lands you control become 3/3 Wolf creatures with haste that are still lands.
type=Creature
subtype=Wolf
mana={2}{G}
power=4
toughness=3
[/card]
[card]
name=Primal Amulet
auto=lord(instant,sorcery|myhand) altercost(colorless,-1)
auto=@movedto(instant,sorcery|mystack):counter(0/0,1,charge)
auto={0} restriction{type(this[counter{charge}>=4])~morethan~0}:flip(Primal Wellspring)
text=Instant and sorcery spells you cast cost {1} less to cast. -- Whenever you cast an instant or sorcery spell, put a charge counter on Primal Amulet. Then if there are four or more charge counters on it, you may remove those counters and transform it.
mana={4}
type=Artifact
[/card]
[card]
name=Primal Beyond
auto=if type(*[elemental]|myhand)~equalto~0 then tap(noevent)
auto={T}:add{1}
auto=this(variable{type:elemental:myrestrictedcastingzone}>0) {T}:ability$!choice add{W} _ choice add{G} _ choice add{R} _choice add{U} _choice add{B}!$ controller
auto=this(variable{type:elemental:mybattlefield}>0) {T}:ability$!choice add{W} _ choice add{G} _ choice add{R} _choice add{U} _choice add{B}!$ controller
text=As Primal Beyond enters the battlefield, you may reveal an Elemental card from your hand. If you don't, Primal Beyond enters the battlefield tapped. -- {T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast an Elemental spell or activate an ability of an Elemental.
type=Land
[/card]
[card]
name=Primal Command
auto=choice name(Gain life and return non-creature) transforms((,newability[choice name(You gain life) life:7 controller && name(Return non-creature) target(*[-creature]|battlefield) moveTo(ownerlibrary)],newability[choice name(Opponent gains life) life:7 opponent && name(Return non-creature) target(*[-creature]|battlefield) moveTo(ownerlibrary)])) oneshot
auto=choice name(Gain life and return graveyard) transforms((,newability[choice name(You gain life) life:7 controller && target(player) moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard)],newability[choice name(Opponent gains life) life:7 opponent && target(player) moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard)])) oneshot
auto=choice name(Gain life and search creature) transforms((,newability[choice name(You gain life) life:7 controller && name(Search creature) target(creature|mylibrary) moveTo(myhand) and!( shuffle )!],newability[choice name(Opponent gains life) life:7 opponent && name(Search creature) target(creature|mylibrary) moveTo(myhand) and!( shuffle )!])) oneshot
auto=choice name(Return non-creature and return graveyard) ability$!name(Player shuffles graveyard) name(Player shuffles graveyard) target(player) moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard)!$ controller && ability$!name(Put non-creature on top) name(Put non-creature on top) target(*[-creature]|battlefield) transforms((,newability[moveTo(ownerlibrary)])) oneshot!$ controller
auto=if type(creature|mylibrary)~equalto~0 then choice choice name(Return non-creature and search creature) name(Return non-creature and search creature) target(*[-creature]|battlefield) moveTo(ownerlibrary)
auto=if type(creature|mylibrary)~morethan~0 then choice name(Search creature and return non-creature) name(Search creature and return non-creature) target(creature|mylibrary) moveTo(myhand) and!( transforms((,newability[name(Put non-creature on top) target(*[-creature]|battlefield) moveTo(ownerlibrary)])) oneshot )!
auto=choice name(Return graveyard and search creature) ability$!name(Search creature) name(Search creature) target(creature|mylibrary) moveTo(myhand) and!( shuffle )! !$ controller && ability$!name(Player shuffles graveyard) name(Player shuffles graveyard) target(player) moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard)!$ controller
text=Choose two -- Target player gains 7 life; or put target noncreature permanent on top of its owner's library; or target player shuffles his or her graveyard into his or her library; or search your library for a creature card, reveal it, put it into your hand, then shuffle your library.
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Primal Empathy
auto=@each my upkeep restriction{type(creature[power=power:highest:creature:myBattlefield]|myBattlefield)~equalto~type(creature[power=power:highest:creature:opponentBattlefield]|opponentBattlefield)}:draw:1 controller
auto=@each my upkeep restriction{type(creature[power=power:highest:creature:myBattlefield]|myBattlefield)~morethan~type(creature[power=power:highest:creature:opponentBattlefield]|opponentBattlefield)}:draw:1 controller
auto=@each my upkeep restriction{type(creature[power=power:highest:creature:myBattlefield]|myBattlefield)~lessthan~type(creature[power=power:highest:creature:opponentBattlefield]|opponentBattlefield)}:counter(1/1,1) target(creature|myBattlefield)
text=At the beginning of your upkeep, draw a card if you control a creature with the greatest power among creatures on the battlefield. Otherwise, put a +1/+1 counter on a creature you control.
mana={1}{G}{U}
type=Enchantment
[/card]
[card]
name=Primal Might
target=creature|myBattlefield
auto=X/X ueot
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Target creature you control gets +X/+X until end of turn. Then it fights up to one target creature you don't control.
mana={X}{G}
type=Sorcery
[/card]
[card]
name=Primal Vigor
auto=@tokencreated(*|myBattlefield):name(Double the token) all(trigger) clone options(notrigger)
auto=@tokencreated(*|opponentBattlefield):name(Double the token) all(trigger) clone options(notrigger) and!( transforms((,newability[moveto(opponentBattlefield)])) forever )!
auto=@counteradded(1/1) from(creature|battlefield) except(Primal Vigor):may counter(1/1) target(creature[counter{1/1.1}]|Battlefield)
text=If one or more tokens would be put onto the battlefield, twice that many of those tokens are put onto the battlefield instead. -- If one or more +1/+1 counters would be placed on a creature, twice that many +1/+1 counters are placed on that creature instead.
mana={4}{G}
type=Enchantment
[/card]
[card]
name=Primal Wellspring
auto={T}:add{G} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)
auto={T}:add{B} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)
auto={T}:add{W} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)
auto={T}:add{R} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)
auto={T}:add{U} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)
text=(Transforms from Primal Amulet.) -- {T}: Add one mana of any color to your mana pool. When that mana is spent to cast an instant or sorcery spell, copy that spell and you may choose new targets for the copy.
type=Land
[/card]
[card]
name=Primal Whisperer
auto=foreach(Morph|myBattlefield) 2/2
facedown={3}
autofacedown={3}{G}:morph
text=Primal Whisperer gets +2/+2 for each face-down creature on the battlefield. -- Morph {3}{G} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)
mana={4}{G}
type=Creature
subtype=Elf Soldier
power=2
toughness=2
[/card]
[card]
name=Prime Speaker Vannifar
aicode=activate moveTo(myBattlefield) target(creature[manacost=storedmanacostplus1plusend]|mylibrary)
auto={T}{S(creature|mybattlefield)}:name(search card) reveal:plibrarycount optionone name(choose card) target(creature[manacost=storedmanacostplus1plusend]|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 asSorcery
text={T}, Sacrifice another creature: Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery.
mana={2}{G}{U}
type=Legendary Creature
subtype=Elf Ooze Wizard
power=2
toughness=4
[/card]
[card]
name=Primevals' Glorious Rebirth
auto=moveTo(mybattlefield) all(*[legendary;-sorcery]|mygraveyard) 
text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Return all legendary permanent cards from your graveyard to the battlefield.
restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0
mana={5}{W}{B}
type=Legendary Sorcery
[/card]
[card]
name=Primitive Etchings
auto=@drawof(player) turnlimited:if type(creature[fresh]|myhand)~morethan~0 then draw:1 controller
text=Reveal the first card you draw each turn. Whenever you reveal a creature card this way, draw a card.
mana={2}{G}{G}
type=Enchantment
[/card]
[card]
name=Primitive Justice
restriction=type(artifact|battlefield)~morethan~0
kicker=multi{1}{RG}
auto=if spent({20}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:19 else if spent({19}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:18 else if spent({18}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:17 else if spent({17}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:16 else if spent({16}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:15 else if spent({15}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:14 else if spent({14}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:13 else if spent({13}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:12 else if spent({12}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:11 else if spent({11}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:10 else if spent({10}{R}{G}{G}{G}{G}{G}{G}{G}{G}{G}) then life:9 else if spent({9}{R}{G}{G}{G}{G}{G}{G}{G}{G}) then life:8 else if spent({8}{R}{G}{G}{G}{G}{G}{G}{G}) then life:7 else if spent({7}{R}{G}{G}{G}{G}{G}{G}) then life:6 else if spent({6}{R}{G}{G}{G}{G}{G}) then life:5 else if spent({5}{R}{G}{G}{G}{G}) then life:4 else if spent({4}{R}{G}{G}{G}) then life:3 else if spent({3}{R}{G}{G}) then life:2 else if spent({2}{R}{G}) then life:1
auto=if compare(kicked)~equalto~0 then name(Destroy 1 artifact) name(Destroy 1 artifact) target(artifact) destroy
auto=if compare(kicked)~equalto~1 then name(Destroy 2 artifacts) name(Destroy 2 artifacts) target(<2>artifact) destroy
auto=if compare(kicked)~equalto~2 then name(Destroy 3 artifacts) name(Destroy 3 artifacts) target(<3>artifact) destroy
auto=if compare(kicked)~equalto~3 then name(Destroy 4 artifacts) name(Destroy 4 artifacts) target(<4>artifact) destroy
auto=if compare(kicked)~equalto~4 then name(Destroy 5 artifacts) name(Destroy 5 artifacts) target(<5>artifact) destroy
auto=if compare(kicked)~equalto~5 then name(Destroy 6 artifacts) name(Destroy 6 artifacts) target(<6>artifact) destroy
auto=if compare(kicked)~equalto~6 then name(Destroy 7 artifacts) name(Destroy 7 artifacts) target(<7>artifact) destroy
auto=if compare(kicked)~equalto~7 then name(Destroy 8 artifacts) name(Destroy 8 artifacts) target(<8>artifact) destroy
auto=if compare(kicked)~equalto~8 then name(Destroy 9 artifacts) name(Destroy 9 artifacts) target(<9>artifact) destroy
auto=if compare(kicked)~equalto~9 then name(Destroy 10 artifacts) name(Destroy 10 artifacts) target(<10>artifact) destroy
auto=if compare(kicked)~equalto~10 then name(Destroy 11 artifacts) name(Destroy 11 artifacts) target(<11>artifact) destroy
auto=if compare(kicked)~equalto~11 then name(Destroy 12 artifacts) name(Destroy 12 artifacts) target(<12>artifact) destroy
auto=if compare(kicked)~equalto~12 then name(Destroy 13 artifacts) name(Destroy 13 artifacts) target(<13>artifact) destroy
auto=if compare(kicked)~equalto~13 then name(Destroy 14 artifacts) name(Destroy 14 artifacts) target(<14>artifact) destroy
auto=if compare(kicked)~equalto~14 then name(Destroy 15 artifacts) name(Destroy 15 artifacts) target(<15>artifact) destroy
auto=if compare(kicked)~equalto~15 then name(Destroy 16 artifacts) name(Destroy 16 artifacts) target(<16>artifact) destroy
auto=if compare(kicked)~equalto~16 then name(Destroy 17 artifacts) name(Destroy 17 artifacts) target(<17>artifact) destroy
auto=if compare(kicked)~equalto~17 then name(Destroy 18 artifacts) name(Destroy 18 artifacts) target(<18>artifact) destroy
auto=if compare(kicked)~equalto~18 then name(Destroy 19 artifacts) name(Destroy 19 artifacts) target(<19>artifact) destroy
auto=if compare(kicked)~morethan~18 then name(Destroy 20 artifacts) name(Destroy 20 artifacts) target(<20>*artifact) destroy
text=As an additional cost to cast Primitive Justice, you may pay {1}{R} and/or {1}{G} any number of times. -- Destroy target artifact. For each additional {1}{R} you paid, destroy another target artifact. For each additional {1}{G} you paid, destroy another target artifact, and you gain 1 life.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Primordial Wurm
mana={4}{G}{G}
type=Creature
subtype=Wurm
power=7
toughness=6
[/card]
[card]
name=Prince of Thralls
auto=@movedto(*[-instant;-sorcery]|graveyard) from(opponentbattlefield):name(Pay life or give opponent) all(trigger[to]) name(Pay life or give opponent) transforms((,newability[choice name(Give to opponent) moveto(opponentbattlefield)],newability[choice name(Pay 3 life) life:-3 controller])) oneshot 
text=Whenever a permanent an opponent controls is put into a graveyard, put that card onto the battlefield under your control unless that opponent pays 3 life.
mana={4}{U}{B}{B}{R}
type=Creature
subtype=Demon
power=7
toughness=7
[/card]
[card]
name=Prismari Apprentice
auto=@movedto(*[instant;sorcery]|mystack):unblockable ueot
auto=@movedto(*[instant;sorcery;manacost>=5]|mystack):counter(1/1)
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, Prismari Apprentice can't be blocked this turn. If that spell has mana value 5 or greater, put a +1/+1 counter on Prismari Apprentice.
mana={U}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Prismari Campus
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=tap(noevent)
auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={T}:add{R}
auto={T}:add{U}
text=Prismari Campus enters the battlefield tapped. -- {T}: Add {U} or {R}. -- {4}, {T}: Scry 1.
type=Land
[/card]
[card]
name=Prismari Command
auto=choice name(Deals 2 damage and you draw) target(player,creature,planeswalker) damage:2 && ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller
auto=choice name(Deals 2 damage and opponent draws) target(player,creature,planeswalker) damage:2 && ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent
auto=choice name(Deals 2 damage and you create treasure) target(player,creature,planeswalker) damage:2 && Token(Treasure Sur)
auto=choice name(Deals 2 damage and opponent creates treasure) target(player,creature,planeswalker) damage:2 && token(Treasure Sur) opponent
auto=choice name(Deals 2 damage and destroy artifact) target(player,creature,planeswalker) damage:2 && ability$!name(Destroy artifact) name(Destroy artifact) target(artifact) destroy!$ controller
auto=choice name(You draw and you create treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && Token(Treasure Sur)
auto=choice name(You draw and and opponent creates treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && token(Treasure Sur) opponent
auto=choice name(opponent draws and you create treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && Token(Treasure Sur)
auto=choice name(opponent draws and and opponent creates treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && token(Treasure Sur) opponent
auto=choice name(You draw and destroy artifact) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && target(artifact) destroy
auto=choice name(opponent draws and destroy artifact) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && target(artifact) destroy
auto=choice name(You create treasure and destroy artifact) Token(Treasure Sur) && target(artifact) destroy
auto=choice name(Opponent creates treasure and destroy artifact) token(Treasure Sur) opponent && target(artifact) destroy
text=Choose two -- Prismari Command deals 2 damage to any target. -- Target player draws two cards, then discards two cards. -- Target player creates a Treasure token. -- Destroy target artifact.
mana={1}{U}{R}
type=Instant
[/card]
[card]
name=Prismari Pledgemage
abilities=defender
auto=@movedto(*[instant;sorcery]|mystack):transforms((,newability[canattack])) ueot
text=Defender -- Magecraft - Whenever you cast or copy an instant or sorcery spell, Prismari Pledgemage can attack this turn as though it didn't have defender.
mana={UR}{UR}
type=Creature
subtype=Orc Wizard
power=3
toughness=3
[/card]
[card]
name=Prismatic Ending
auto=target(*[-land;manacost<=converge]|battlefield) moveto(exile)
text=Converge - Exile target nonland permanent if its mana value is less than or equal to the number of colors of mana spent to cast this spell.
mana={X}{W}
type=Sorcery
[/card]
[card]
name=Prismatic Vista
auto={L:1}{T}{S}:name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!
text={T}, Pay 1 life, Sacrifice Prismatic Vista: Search your library for a basic land card, put it onto the battlefield, then shuffle your library.
type=Land
[/card]
[card]
name=Prismite
auto={2}:Add{W}
auto={2}:Add{U}
auto={2}:Add{B}
auto={2}:Add{R}
auto={2}:Add{G}
text={2}: Add one mana of any color.
mana={2}
type=Artifact Creature
subtype=Golem
power=2
toughness=1
[/card]
[card]
name=Prison Realm
auto=(blink)forsrc target(*[creature;planeswalker]|opponentbattlefield)
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=When Prison Realm enters the battlefield, exile target creature or planeswalker an opponent controls until Prison Realm leaves the battlefield. -- When Prison Realm enters the battlefield, scry 1.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Prized Griffin
abilities=flying
text=Flying
mana={4}{W}
type=Creature
subtype=Griffin
power=3
toughness=4
[/card]
[card]
name=Prodigious Growth
target=creature
auto=teach(creature) +7/+7
auto=teach(creature) trample
text=Enchant creature -- Enchanted creature gets +7/+7 and has trample.
mana={4}{G}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Profane Command
auto=choice name(Life and Return) life:-X target(player) && moveto(mybattlefield) target(creature[manacost<=X]|mygraveyard)
auto=choice name(Life and -X/-X) life:-X target(player) && -X/-X target(creature) ueot
auto=choice name(Life and Fear) life:-X target(player) && target(<upto:X>creature|battlefield) fear ueot
auto=choice name(Return and -X/-X) moveto(mybattlefield) target(creature[manacost<=X]|mygraveyard) && -X/-X target(creature) ueot
auto=choice name(Return and Fear) moveto(mybattlefield) target(creature[manacost<=X]|mygraveyard) && target(<upto:X>creature|battlefield) fear ueot
auto=choice name(-X/-X and Fear) -X/-X target(creature) ueot && target(<upto:X>creature|battlefield) fear ueot
text=Choose two -- Target player loses X life. -- Return target creature card with converted mana cost X or less from your graveyard to the battlefield. -- Target creature gets -X/-X until end of turn. -- Up to X target creatures gain fear until end of turn. (They can't be blocked except by artifact creatures and/or black creatures.)
mana={X}{B}{B}
type=Sorcery
[/card]
[card]
name=Profane Procession
auto={3}{W}{B}:target(creature) moveto(ownerexile) and!( transforms((,newability[counter(0/0.1.ProfaneExiled)])) forever )!
auto=aslongas(*[counter{0/0.1.ProfaneExiled}]|exile) flip(Tomb of the Dusk Rose) >2
text={3}{W}{B}: Exile target creature. Then if there are three or more cards exiled with Profane Procession, transform it.
mana={1}{W}{B}
type=Legendary Enchantment
[/card]
[card]
name=Profane Transfusion
auto=exchangelife opponent
auto=if compare(lifetotal)~morethan~compare(opponentlifetotal) then token(Horror,Creature Artifact Horror,lifetotalminusopponentlifetotalminusend/lifetotalminusopponentlifetotalminusend) else token(Horror,Creature Artifact Horror,opponentlifetotalminuslifetotalminusend/opponentlifetotalminuslifetotalminusend)
text=Two target players exchange life totals. You create an X/X colorless Horror artifact creature token, where X is the difference between those players' life totals.
mana={6}{B}{B}{B}
type=Sorcery
[/card]
[card]
name=Profane Tutor
suspend(2)={1}{B}
restriction=never
mana={0}
auto=name(Search card) target(*|mylibrary) moveto(myhand) and!( shuffle )!
text=Suspend 2-{1}{B} (Rather than cast this card from your hand, pay {1}{B} and exile it with two time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- Search your library for a card, put that card into your hand, then shuffle.
type=Sorcery
color=black
[/card]
[card]
name=Profaner of the Dead
auto=may name(Exploit) target(creature|mybattlefield) sacrifice and!( transforms((,newability[name(Return creatures) all(creature[toughness<=tminus1minusend]|opponentbattlefield) moveto(ownerhand)])) oneshot )!
text=Exploit (When this creature enters the battlefield, you may sacrifice a creature.) -- When Profaner of the Dead exploits a creature, return to their owners' hands all creatures your opponents control with toughness less than the exploited creature's toughness.
mana={3}{U}
type=Creature
subtype=Naga Wizard
power=3
toughness=3
[/card]
[card]
name=Professor of Symbology
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=When Professor of Symbology enters the battlefield, learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={1}{W}
type=Creature
subtype=Kor Cleric
power=2
toughness=1
[/card]
[card]
name=Professor of Zoomancy
auto=token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
text=When Professor of Zoomancy enters the battlefield, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life."
mana={3}{G}
type=Creature
subtype=Bear Druid
power=4
toughness=3
[/card]
[card]
name=Professor's Warning
target=creature
auto=choice name(Put 1/1 counter) counter(1/1)
auto=choice name(Gains indestructible) transforms((,newability[indestructible])) ueot
text=Choose one -- Put a +1/+1 counter on target creature. -- Target creature gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={B}
type=Instant
[/card]
[card]
name=Profit // Loss
abilities=hasnokicker
other={2}{B} name(Loss)
kicker={2}{B} name(Fuse)
auto=if paid(alternative) then all(creature|opponentbattlefield) -1/-1 ueot
auto=if paid(kicker) then all(creature|opponentbattlefield) -1/-1 ueot
auto=ifnot paid(alternative) then all(creature|mybattlefield) 1/1 ueot
text=Creatures you control get +1/+1 until end of turn. // Creatures your opponents control get -1/-1 until end of turn. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Prohibit
kicker={2}
auto=ifnot paid(kicker) then target(*[manacost<=2]|stack) fizzle
auto=if paid(kicker) then target(*[manacost<=4]|stack) fizzle
text=Kicker {2} (You may pay an additional {2} as you cast this spell.) -- Counter target spell if its converted mana cost is 2 or less. If Prohibit was kicked, counter that spell if its converted mana cost is 4 or less instead.
mana={1}{U}
type=Instant
[/card]
[card]
name=Promise of Loyalty
auto=ability$!name(Put a vow counter) name(Put a vow counter) target(creature|mybattlefield) transforms((,newability[counter(0/0.1.vow)],newability[all(other creature|mybattlefield) sacrifice])) forever!$ controller
auto=ability$!name(Put a vow counter) name(Put a vow counter) target(creature|mybattlefield) transforms((,newability[counter(0/0.1.vow)],newability[this(counter{0/0.1.vow}>=1) cantattack],newability[this(counter{0/0.1.vow}>=1) cantpwattack],newability[all(other creature|mybattlefield) sacrifice])) forever!$ opponent
text=Each player puts a vow counter on a creature they control and sacrifices the rest. Each of those creatures can't attack you or planeswalkers you control for as long as it has a vow counter on it.
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Promise of Tomorrow
auto=@movedTo(creature|graveyard) from(mybattlefield):all(trigger[to]) moveTo(exile)
auto=@each my endofturn restriction{type(creature|myBattlefield)~lessthan~1}:sacrifice all(this) && moveTo(myBattlefield) all(creature|myExile)
text=Whenever a creature you control dies, exile it. -- At the beginning of each end step, if you control no creatures, sacrifice Promise of Tomorrow and return all cards exiled with it to the battlefield under your control.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Promising Duskmage
auto=_DIES_this(counter{1/1}>=1) draw:1 controller
text=When Promising Duskmage dies, if it had a +1/+1 counter on it, draw a card.
mana={2}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=3
[/card]
[card]
name=Prophet of the Peak
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=When Prophet of the Peak enters the battlefield, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={6}
type=Artifact Creature
subtype=Cat
power=5
toughness=5
[/card]
[card]
name=Prophetic Titan
aicode=activate transforms((,newability[target(*[zpos<=4]|mylibrary) moveto(myhand) and!( all(*[zpos<=4]|mylibrary) bottomoflibrary )!])) ueot
auto=ifnot delirium then choice name(Deals 4 damage) name(Deals 4 damage) damage:4 target(player,creature,planeswalker)
auto=ifnot delirium then choice name(Reveal 4 cards) name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
auto=if delirium then name(Deals 4 damage) damage:4 target(player,creature,planeswalker)
auto=if delirium then name(Reveal 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
text=Delirium - When Prophetic Titan enters the battlefield, choose one. If there are four or more card types among cards in your graveyard, choose both instead. -- Prophetic Titan deals 4 damage to any target. -- Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order.
mana={4}{U}{R}
type=Creature
subtype=Giant Wizard
power=4
toughness=4
[/card]
[card]
name=Prosper, Tome-Bound
abilities=deathtouch
auto=@each my end:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.ProsperEffect)],newability[this(counter{0/0.1.ProsperEffect}>0) canplayfromexile],newability[phaseaction[my end next once checkex] counter(0/0.-1.ProsperEffect)])) forever )!
auto=@movedto(*|mystack,mybattlefield) from(myexile):name(Create treasure) token(Treasure Sur)
text=Deathtouch -- Mystic Arcanum - At the beginning of your end step, exile the top card of your library. Until the end of your next turn, you may play that card. -- Pact Boon - Whenever you play a card from exile, create a Treasure token.
mana={2}{B}{R}
type=Legendary Creature
subtype=Tiefling Warlock
power=1
toughness=4
[/card]
[card]
name=Prosperous Innkeeper
auto=name(Create treasure) token(Treasure Sur)
auto=@movedto(other creature|mybattlefield):name(Gain 1 life) life:1
text=When Prosperous Innkeeper enters the battlefield, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Whenever another creature enters the battlefield under your control, you gain 1 life.
mana={1}{G}
type=Creature
subtype=Halfling Citizen
power=1
toughness=1
[/card]
[card]
name=Prosperous Pirates
auto=token(435451)*2
text=When Prosperous Pirates enters the battlefield, create two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={4}{U}
type=Creature
subtype=Human Pirate
power=3
toughness=4
[/card]
[card]
name=Protean Hulk
aicode=activate moveTo(myBattlefield) target(<anyamount>creature[manacost<=6]|myLibrary)
auto=_DIES_name(Search any number of creatures with casting cost 6 or less) reveal:plibrarycount optionone name(Choose card) target(<anyamount>creature[manacost<=6]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put them back) target(<anyamount>*|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 Protean Hulk dies, search your library for any number of creature cards with total converted mana cost 6 or less, put them onto the battlefield, then suffle your library.
mana={5}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Protean Raider
auto=if raid then may copy(creature)
text=Raid - If you attacked with a creature this turn, you may have Protean Raider enter the battlefield as a copy of any creature on the battlefield.
mana={1}{U}{R}
type=Creature
subtype=Shapeshifter Pirate
power=2
toughness=2
[/card]
[card]
name=Protect // Serve
abilities=hasnokicker
other={1}{U} name(Serve)
kicker={1}{U} name(Fuse)
auto=if paid(alternative) then target(creature) -6/0 ueot
auto=if paid(kicker) then target(creature) -6/0 ueot
auto=ifnot paid(alternative) then target(creature) 2/4 ueot
text=Target creature gets +2/+4 until end of turn. // Target creature gets -6/-0 until end of turn. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={2}{W}
type=Instant
[/card]
[card]
name=Protection of the Hekma
auto=@damaged(controller):life:1
text=If a source an opponent controls would deal damage to you, prevent 1 of that damage.
mana={4}{W}
type=Enchantment
[/card]
[card]
name=Protector of the Crown
abilities=cantlifelose
auto=_MONARCH_CONTROLLER_
auto=@damageof(player):life:thatmuch controller && damage:thatmuch all(this)
text=When Protector of the Crown enters the battlefield, you become the monarch. -- All damage that would be dealt to you is dealt to Protector of the Crown instead.
mana={5}{W}
type=Creature
subtype=Giant Soldier
power=2
toughness=5
[/card]
[card]
name=Prototype Portal
auto=choice name(Don't exile any artifact) donothing
auto=if type(artifact[manacost=0]|myhand)~morethan~0 then choice name(Exile artifact with manacost 0) name(Exile artifact with manacost 0) transforms((,newability[moveto(exile) target(artifact[manacost=0]|myhand)],newability[{T}:name(mana cost {0}) clone target(artifact[manacost=0]|myexile)])) forever
auto=if type(artifact[manacost=1]|myhand)~morethan~0 then choice name(Exile artifact with manacost 1) name(Exile artifact with manacost 1) transforms((,newability[moveto(exile) target(artifact[manacost=1]|myhand)],newability[{T}{1}:name(mana cost {1}) clone target(artifact[manacost=1]|myexile)])) forever
auto=if type(artifact[manacost=2]|myhand)~morethan~0 then choice name(Exile artifact with manacost 2) name(Exile artifact with manacost 2) transforms((,newability[moveto(exile) target(artifact[manacost=2]|myhand)],newability[{T}{2}:name(mana cost {2}) clone target(artifact[manacost=2]|myexile)])) forever
auto=if type(artifact[manacost=3]|myhand)~morethan~0 then choice name(Exile artifact with manacost 3) name(Exile artifact with manacost 3) transforms((,newability[moveto(exile) target(artifact[manacost=3]|myhand)],newability[{T}{3}:name(mana cost {3}) clone target(artifact[manacost=3]|myexile)])) forever
auto=if type(artifact[manacost=4]|myhand)~morethan~0 then choice name(Exile artifact with manacost 4) name(Exile artifact with manacost 4) transforms((,newability[moveto(exile) target(artifact[manacost=4]|myhand)],newability[{T}{4}:name(mana cost {4}) clone target(artifact[manacost=4]|myexile)])) forever
auto=if type(artifact[manacost=5]|myhand)~morethan~0 then choice name(Exile artifact with manacost 5) name(Exile artifact with manacost 5) transforms((,newability[moveto(exile) target(artifact[manacost=5]|myhand)],newability[{T}{5}:name(mana cost {5}) clone target(artifact[manacost=5]|myexile)])) forever
auto=if type(artifact[manacost=6]|myhand)~morethan~0 then choice name(Exile artifact with manacost 6) name(Exile artifact with manacost 6) transforms((,newability[moveto(exile) target(artifact[manacost=6]|myhand)],newability[{T}{6}:name(mana cost {6}) clone target(artifact[manacost=6]|myexile)])) forever
auto=if type(artifact[manacost=7]|myhand)~morethan~0 then choice name(Exile artifact with manacost 7) name(Exile artifact with manacost 7) transforms((,newability[moveto(exile) target(artifact[manacost=7]|myhand)],newability[{T}{7}:name(mana cost {7}) clone target(artifact[manacost=7]|myexile)])) forever
auto=if type(artifact[manacost=8]|myhand)~morethan~0 then choice name(Exile artifact with manacost 8) name(Exile artifact with manacost 8) transforms((,newability[moveto(exile) target(artifact[manacost=8]|myhand)],newability[{T}{8}:name(mana cost {8}) clone target(artifact[manacost=8]|myexile)])) forever
auto=if type(artifact[manacost=9]|myhand)~morethan~0 then choice name(Exile artifact with manacost 9) name(Exile artifact with manacost 9) transforms((,newability[moveto(exile) target(artifact[manacost=9]|myhand)],newability[{T}{9}:name(mana cost {9}) clone target(artifact[manacost=9]|myexile)])) forever
auto=if type(artifact[manacost=10]|myhand)~morethan~0 then choice name(Exile artifact with manacost 10) name(Exile artifact with manacost 10) transforms((,newability[moveto(exile) target(artifact[manacost=10]|myhand)],newability[{T}{10}:name(mana cost {10}) clone target(artifact[manacost=10]|myexile)])) forever
auto=if type(artifact[manacost=11]|myhand)~morethan~0 then choice name(Exile artifact with manacost 11) name(Exile artifact with manacost 11) transforms((,newability[moveto(exile) target(artifact[manacost=11]|myhand)],newability[{T}{11}:name(mana cost {11}) clone target(artifact[manacost=11]|myexile)])) forever
auto=if type(artifact[manacost=12]|myhand)~morethan~0 then choice name(Exile artifact with manacost 12) name(Exile artifact with manacost 12) transforms((,newability[moveto(exile) target(artifact[manacost=12]|myhand)],newability[{T}{12}:name(mana cost {12}) clone target(artifact[manacost=12]|myexile)])) forever
auto=if type(artifact[manacost=13]|myhand)~morethan~0 then choice name(Exile artifact with manacost 13) name(Exile artifact with manacost 13) transforms((,newability[moveto(exile) target(artifact[manacost=13]|myhand)],newability[{T}{13}:name(mana cost {13}) clone target(artifact[manacost=13]|myexile)])) forever
auto=if type(artifact[manacost=14]|myhand)~morethan~0 then choice name(Exile artifact with manacost 14) name(Exile artifact with manacost 14) transforms((,newability[moveto(exile) target(artifact[manacost=14]|myhand)],newability[{T}{14}:name(mana cost {14}) clone target(artifact[manacost=14]|myexile)])) forever
auto=if type(artifact[manacost=15]|myhand)~morethan~0 then choice name(Exile artifact with manacost 15) name(Exile artifact with manacost 15) transforms((,newability[moveto(exile) target(artifact[manacost=15]|myhand)],newability[{T}{15}:name(mana cost {15}) clone target(artifact[manacost=15]|myexile)])) forever
auto=if type(artifact[manacost=16]|myhand)~morethan~0 then choice name(Exile artifact with manacost 16) name(Exile artifact with manacost 16) transforms((,newability[moveto(exile) target(artifact[manacost=16]|myhand)],newability[{T}{16}:name(mana cost {16}) clone target(artifact[manacost=16]|myexile)])) forever
auto=if type(artifact[manacost=17]|myhand)~morethan~0 then choice name(Exile artifact with manacost 17) name(Exile artifact with manacost 17) transforms((,newability[moveto(exile) target(artifact[manacost=17]|myhand)],newability[{T}{17}:name(mana cost {17}) clone target(artifact[manacost=17]|myexile)])) forever
auto=if type(artifact[manacost=18]|myhand)~morethan~0 then choice name(Exile artifact with manacost 18) name(Exile artifact with manacost 18) transforms((,newability[moveto(exile) target(artifact[manacost=18]|myhand)],newability[{T}{18}:name(mana cost {18}) clone target(artifact[manacost=18]|myexile)])) forever
auto=if type(artifact[manacost=19]|myhand)~morethan~0 then choice name(Exile artifact with manacost 19) name(Exile artifact with manacost 19) transforms((,newability[moveto(exile) target(artifact[manacost=19]|myhand)],newability[{T}{19}:name(mana cost {19}) clone target(artifact[manacost=19]|myexile)])) forever
auto=if type(artifact[manacost=20]|myhand)~morethan~0 then choice name(Exile artifact with manacost 20) name(Exile artifact with manacost 20) transforms((,newability[moveto(exile) target(artifact[manacost=20]|myhand)],newability[{T}{20}:name(mana cost {20}) clone target(artifact[manacost=20]|myexile)])) forever
text=Imprint -- When Prototype Portal enters the battlefield, you may exile an artifact card from your hand. -- {X},{T}: Create a token that's a copy of the exiled card. X is the converted mana cost of that card.
mana={4}
type=Artifact
[/card]
[card]
name=Proud Mentor
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(impetuous protege|mylibrary)
auto={W}{T}:tap target(creature)
text=Partner with Impetuous Protege (When this creature enters the battlefield, target player may put Impetuous Protege into their hand from their library, then shuffle.) -- {W}, {T}: Tap target creature.
mana={2}{W}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Proud Wildbonder
abilities=trample
auto=lord(creature[trample]|myBattlefield) transforms((,newability[_BLOCKED_may name(assign combat damage to defending player) thisforeach(power>=1) damage:1 opponent && fog from(this)]))
text=Trample -- Creatures you control with trample have "You may have this creature assign its combat damage as though it weren't blocked."
mana={2}{RG}{RG}
type=Creature
subtype=Human Warrior
power=4
toughness=3
[/card]
[card]
name=Proven Combatant
autograveyard={4}{U}{U}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=Eternalize {4}{U}{U} ({4}{U}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Human Warrior with no mana cost. Eternalize only as a sorcery.)
mana={U}
type=Creature
subtype=Human Warrior
power=1
toughness=1
[/card]
[card]
name=Providence
autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Providence) lifeset:26 controller
auto=lifeset:26 controller
text=You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, your life total becomes 26. -- Your life total becomes 26.
mana={5}{W}{W}
type=Sorcery
[/card]
[card]
name=Provoke the Trolls
auto=if type(creature|mybattlefield)~morethan~0 then choice name(Damage creature) name(Damage creature) target(creature) damage:3 && 5/0 ueot
auto=if type(planeswalker|mybattlefield)~morethan~0 then choice name(Damage planeswalker) name(Damage planeswalker) target(planeswalker) damage:3
auto=choice name(Damage player) target(player) damage:3
text=Provoke the Trolls deals 3 damage to any target. If a creature is dealt damage this way, it gets +5/+0 until end of turn.
mana={3}{R}
type=Instant
[/card]
[card]
name=Prowling Caracal
mana={1}{W}
type=Creature
subtype=Cat
power=3
toughness=1
[/card]
[card]
name=Prowling Felidar
abilities=vigilance
auto=_LANDFALL_counter(1/1,1) all(this)
text=Vigilance -- Landfall - Whenever a land enters the battlefield under your control, put a +1/+1 counter on Prowling Felidar.
mana={3}{W}
type=Creature
subtype=Cat Beast
power=2
toughness=3
[/card]
[card]
name=Prowling Geistcatcher
auto=@sacrificed(creature[-token]|mybattlefield):name(Put 1/1 counter) counter(1/1)
auto=@sacrificed(creature|mybattlefield):name(Exile creature) all(trigger[to]) name(Exile creature) moveto(myexile) and!( counter(0/0.1.ProwlingExiled) )!
auto=_DIES_name(Return exiled creatures) all(creature[counter{0/0.1.ProwlingExiled}]|myexile) moveto(mybattlefield)
text=Whenever you sacrifice another creature, exile it. If that creature was a token, put a +1/+1 counter on Prowling Geistcatcher. -- When Prowling Geistcatcher leaves the battlefield, return each card exiled with it to the battlefield under your control.
mana={3}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=4
[/card]
[card]
name=Prowling Pangolin
auto=choice name(Opponent sacrifice 2 creatures and you sacrifice Pangolin) sacrifice && ability$!name(Sacrifice 2 creatures) target(<2>creature|mybattlefield) sacrifice!$ opponent
auto=choice name(You sacrifices 2 creatures and Pangolin) sacrifice && ability$!name(Sacrifice 2 creatures) target(<2>creature|mybattlefield) sacrifice!$ controller
auto=choice name(No one sacrifices creatures) donothing
text=When Prowling Pangolin enters the battlefield, any player may sacrifice two creatures. If a player does, sacrifice Prowling Pangolin.
mana={3}{B}{B}
type=Creature
subtype=Beast
power=6
toughness=5
[/card]
[card]
name=Prowling Serpopard
abilities=nofizzle
auto=lord(creature|mystack) nofizzle
text=Prowling Serpopard can't be countered. -- Creature spells you control can't be countered.
mana={1}{G}{G}
type=Creature
subtype=Cat Snake
power=4
toughness=3
[/card]
[card]
name=Prying Blade
auto=@combatdamaged(player) from(this):token(435451)
auto=teach(creature) 1/0
auto={2}:equip
text=Equipped creature gets +1/+0. -- Whenever equipped creature deals combat damage to a player, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Prying Eyes
auto=draw:4
auto=reject notatarget(<2>*|myhand)
text=Draw four cards, then discard two cards.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Psychic Corrosion
auto=@drawof(player):deplete:2 opponent
text=Whenever you draw a card, each opponent puts the top two cards of their library into their graveyard.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Psychic Impetus
target=creature
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_scry:2 scrycore delayed dontshow donothing scrycoreend scryend]))
auto=2/2
text=Enchant creature -- Enchanted creature gets +2/+2 and is goaded. (It attacks each combat if able and attacks a player other than you if able.) -- Whenever enchanted creature attacks, you scry 2.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Psychic Intrusion
auto=if type(*[-land]|opponentgraveyard)~morethan~0 then name(Exile non land card) name(Exile non land card) target(*[-land]|opponenthand,opponentgraveyard) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[@each beginofturn:name(Can play from exile) transforms((,newability[canplayfromexile],newability[anytypeofmana])) forever])) forever )!
auto=if type(*[-land]|opponentgraveyard)~equalto~0 then if type(*[-land]|opponenthand)~morethan~0 then name(Exile non land card) name(Exile non land card) name(Exile non land card) target(*[-land]|opponenthand) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[@each beginofturn:name(Can play from exile) transforms((,newability[canplayfromexile],newability[anytypeofmana])) forever])) forever )!
auto=if type(*[-land]|opponentgraveyard)~equalto~0 then if type(*[-land]|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
text=Target opponent reveals his or her hand. You choose a nonland card from that player's graveyard or hand and exile it. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.
mana={3}{U}{B}
type=Sorcery
[/card]
[card]
name=Psychic Miasma
auto=ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject and!( if cantargetcard(*[land]|*) then target(Psychic Miasma|opponentgraveyard) moveto(ownerhand) )! !$ opponent
text=Target player discards a card. If a land card is discarded this way, return Psychic Miasma to its owner's hand.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Psychic Surgery
aicode=activate target(*[zpos<=2]|opponentlibrary) moveto(ownerexile)
auto=@shuffledfoeof(player):may name(Look top 2) reveal:2 revealzone(opponentlibrary) optionone name(Put in exile) target(<upto:1>*|reveal) moveto(ownerexile) optiononeend optiontwo name(put back) target(<2>*|reveal) moveto(ownerlibrary) optiontwoend revealend
text=Whenever an opponent shuffles his or her library, you may look at the top two cards of that library. You may exile one of those cards. Then put the rest on top of that library in any order.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Psychic Symbiont
abilities=flying
auto=target(opponent) ability$!name(discard) reject notatarget(*|myhand)!$ && draw:1
text=Flying -- When Psychic Symbiont enters the battlefield, target opponent discards a card and you draw a card.
mana={4}{U}{B}
type=Creature
subtype=Nightmare Horror
power=3
toughness=3
[/card]
[card]
name=Psychic Theft
target=player
auto=if type(*[instant;sorcery]|targetedpersonshand)~morethan~0 then name(Exile a card) name(Exile a card) target(*[instant;sorcery]|targetedpersonshand) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[phaseaction[endofturn once checkex] moveto(ownerhand)])) ueot )!
auto=if type(*[instant;sorcery]|targetedpersonshand)~equalto~0 then name(Reveal hand) name(Reveal hand) target(*|targetedpersonshand) moveto(myreveal) and!( moveto(targetedpersonshand) )!
text=Target player reveals his or her hand. You choose an instant or sorcery card from it and exile that card. You may cast that card for as long as it remains exiled. At the beginning of the next end step, if you haven't cast the card, return it to its owner's hand.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Psychic Transfer
auto=if compare(lifetotalminusopponentlifetotalminusend)~morethan~4 then exchangelife opponent else if compare(opponentlifetotalminuslifetotalminusend)~morethan~4 then exchangelife opponent
text=If the difference between your life total and target player's life total is 5 or less, exchange life totals with that player.
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Psychogenic Probe
auto=@shuffledfoeof(player):name(Deal 2 damage) damage:2 opponent
auto=@shuffledof(player):name(Deal 2 damage) damage:2 controller
text=Whenever a spell or ability causes a player to shuffle his or her library, Psychogenic Probe deals 2 damage to him or her.
mana={2}
type=Artifact
[/card]
[card]
name=Psychotic Episode
abilities=madness
auto=if type(*|opponenthand)~morethan~0 then choice name(Look opponent's hand) target(*|opponenthand) bottomoflibrary
auto=if type(*|opponenthand)~equalto~0 then choice name(Look opponent's top library) target(*[zpos=1]|opponentlibrary) bottomoflibrary
autoexile=restriction{discarded} pay({1}{B}) name(pay {1}{B} to cast) activate name(pay {1}{B} to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
text=Target player reveals his or her hand and the top card of his or her library. You choose a card revealed this way. That player puts the chosen card on the bottom of his or her library. -- Madness {1}{B} (If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard.)
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Pteramander
abilities=flying
auto={7}{U}:restriction{type(*[instant;sorcery]|myGraveyard)~equalto~0} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto={6}{U}:restriction{type(*[instant;sorcery]|myGraveyard)~equalto~1} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto={5}{U}:restriction{type(*[instant;sorcery]|myGraveyard)~equalto~2} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto={4}{U}:restriction{type(*[instant;sorcery]|myGraveyard)~equalto~3} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto={3}{U}:restriction{type(*[instant;sorcery]|myGraveyard)~equalto~4} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto={2}{U}:restriction{type(*[instant;sorcery]|myGraveyard)~equalto~5} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto={1}{U}:restriction{type(*[instant;sorcery]|myGraveyard)~equalto~6} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto={U}:restriction{type(*[instant;sorcery]|myGraveyard)~morethan~6} this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
text=Flying -- {7}{U}: Adapt 4. This ability costs {1} less to activate for each instant and sorcery card in your graveyard. (If this creature has no +1/+1 counters on it, put four +1/+1 counters on it.)
mana={U}
type=Creature
subtype=Salamander Drake
power=1
toughness=1
[/card]
[card]
name=Pterodon Knight
auto=if type(dinosaur|mybattlefield)~morethan~0 flying
text=Pterodon Knight has flying as long as you control a Dinosaur.
mana={3}{W}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Pull from Eternity
target=*|exile
auto=moveto(ownergraveyard)
text=Put target face-up exiled card into its owner's graveyard.
mana={W}
type=Instant
[/card]
[card]
name=Pull from Tomorrow
auto=draw:X && reject notatarget(*|myhand)
text=Draw X cards, then discard a card.
mana={X}{U}{U}
type=Instant
[/card]
[card]
name=Pull from the Deep
target=<upto:1>*[instant]|mygraveyard
auto=moveto(exile) all(this)
auto=moveto(myhand)
auto=moveto(myhand) target(<upto:1>*[sorcery]|mygraveyard)
text=Return up to one target instant card and up to one target sorcery card from your graveyard to your hand. Exile Pull from the Deep.
mana={2}{U}{U}
type=Sorcery
[/card]
[card]
name=Pulse of Llanowar
auto=all(land[basic]|mybattlefield) transforms((,newability[producecolor:land],newability[producecolor:green],newability[producecolor:blue],newability[producecolor:red],newability[producecolor:black],newability[producecolor:white])) forever
text=If a basic land you control is tapped for mana, it produces mana of a color of your choice instead of any other type.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Puncturing Blow
target=creature
auto=damage:5
auto=exiledeath
text=Puncturing Blow deals 5 damage to target creature. If that creature would die this turn, exile it instead.
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Pure // Simple
other={1}{G}{W} name(Simple)
auto=ifnot paid(alternative) then target(creature[multicolor]|battlefield) destroy
auto=if paid(alternative) then all(*[aura;equipment]|battlefield) destroy
text=Destroy target multicolored permanent. // Destroy all Auras and Equipment.
mana={1}{R}{G}
type=Sorcery
[/card]
[card]
name=Purgatory
auto=@movedto(creature[-token]|mygraveyard) from(battlefield):name(Exile creature) all(trigger[to]) moveto(myexile) and!( counter(0/0.1.PurgatoryExile) )!
auto=@each my upkeep restriction{type(creature|myexile)~morethan~0}:may pay({4}) name(Return exiled creature) target(creature[counter{0/0.1.PurgatoryExile}]|myexile) moveto(myBattlefield) and!( life:-2 controller )!
text=Whenever a nontoken creature is put into your graveyard from the battlefield, exile that card. -- At the beginning of your upkeep, you may pay {4} and 2 life. If you do, return a card exiled with Purgatory to the battlefield.
mana={2}{W}{B}
type=Enchantment
[/card]
[card]
name=Purifying Dragon
abilities=flying
auto=@combat(attacking) source(this) restriction{type(creature|opponentbattlefield)~morethan~0}:name(Deal damage to creature) name(Deal damage to creature) transforms((,newability[if type(creature[zombie]|opponentbattlefield)~morethan~0 then choice name(Damage Zombie) name(Damage Zombie) damage:2 target(creature[zombie]|opponentbattlefield)],newability[if type(creature[-zombie]|opponentbattlefield)~morethan~0 then choice name(Damage non-zombie) name(Damage non-zombie) damage:1 target(creature[-zombie]|opponentbattlefield)])) oneshot
text=Flying -- Whenever Purifying Dragon attacks, it deals 1 damage to target creature defending player controls. If that creature is a Zombie, Purifying Dragon deals 2 damage to that creature instead.
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=3
[/card]
[card]
name=Purphoros's Intervention
auto=choice name(Create elemental token) token(Elemental,Creature Elemental,X/1,red,trample,haste,unearth)
auto=choice name(Deals twice X damage) damage:X target(creature,planeswalker) && damage:X target(creature,planeswalker)
text=Choose one -- Create an X/1 red Elemental creature token with trample and haste. Sacrifice it at the beginning of the next end step. -- Purphoros's Intervention deals twice X damage to target creature or planeswalker.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Purphoros, Bronze-Blooded
abilities=indestructible
auto=this(variable{type:manar}<5) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{type:manar}>4) transforms((Legendary Enchantment Creature))
auto=lord(other creature|myBattlefield) haste
auto={2}{R}:name(Put red creature in play) target(creature[red]|myhand) moveto(mybattlefield) and!( transforms((,newability[treason])) ueot )!
auto={2}{R}:name(Put artifact creature in play) target(creature[artifact]|myhand) moveto(mybattlefield) and!( transforms((,newability[treason])) ueot )!
text=Indestructible -- As long as your devotion to red is less than five, Purphoros isn't a creature. -- Other creatures you control have haste. -- {2}{R}: You may put a red creature card or an artifact creature card from your hand onto the battlefield. Sacrifice it at the beginning of the next end step.
mana={4}{R}
type=Legendary Enchantment Creature
subtype=God
power=7
toughness=6
[/card]
[card]
name=Purple Worm
other={3}{G}{G} name(Cast for 2 less)
otherrestriction=morbid
restriction=type(creature[fresh]|mygraveyard)~equalto~0
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=This spell costs {2} less to cast if a creature died this turn. -- Ward {2} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {2}.)
mana={5}{G}{G}
type=Creature
subtype=Worm
power=8
toughness=7
[/card]
[card]
name=Purple-Crystal Crab
auto=_DIES_ draw:1
text=When Purple-Crystal Crab dies, draw a card.
mana={1}{U}
type=Creature
subtype=Crab
power=1
toughness=1
[/card]
[card]
name=Pursue Glory
abilities=cycling
auto=all(creature[attacking]) 2/0
autohand=__CYCLING__({2})
text=Attacking creatures get +2/+0 until end of turn. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}{R}
type=Instant
[/card]
[card]
name=Pursued Whale
auto=@targeted(this) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 3 more) name(This spell costs 3 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
auto=token(Pirate Pur) opponent
text=When Pursued Whale enters the battlefield, each opponent creates a 1/1 red Pirate creature token with "This creature can't block" and "Creatures you control attack each combat if able." -- Spells your opponents cast that target Pursued Whale cost 3 more to cast.
mana={5}{U}{U}
type=Creature
subtype=Whale
power=8
toughness=8
[/card]
[card]
name=Put Away
target=*|stack
auto=fizzle
auto=may name(Return a card) target(*|mygraveyard) moveto(mylibrary) and!( shuffle )!
text=Counter target spell. You may shuffle up to one target card from your graveyard into your library.
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Putrid Goblin
abilities=persist
text=Persist (When this creature dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.)
mana={1}{B}
type=Creature
subtype=Zombie Goblin
power=2
toughness=2
[/card]
[card]
name=Pyramid of the Pantheon
auto={2}{T}{counter(0/0,1,brick)}:add{G}
auto={2}{T}{counter(0/0,1,brick)}:add{B}
auto={2}{T}{counter(0/0,1,brick)}:add{W}
auto={2}{T}{counter(0/0,1,brick)}:add{R}
auto={2}{T}{counter(0/0,1,brick)}:add{U}
auto={T}{restriction type(this[counter(brick)>=3])~morethan~0}:add{G}{G}{G}
auto={T}{restriction type(this[counter(brick)>=3])~morethan~0}:add{B}{B}{B}
auto={T}{restriction type(this[counter(brick)>=3])~morethan~0}:add{W}{W}{W}
auto={T}{restriction type(this[counter(brick)>=3])~morethan~0}:add{R}{R}{R}
auto={T}{restriction type(this[counter(brick)>=3])~morethan~0}:add{U}{U}{U}
text={2}, {T}: Add one mana of any color to your mana pool. Put a brick counter on Pyramid of the Pantheon. -- {T}: Add three mana of any one color to your mana pool. Activate this ability only if there are three or more brick counters on Pyramid of the Pantheon.
mana={1}
type=Artifact
[/card]
[card]
name=Pyre of Heroes
auto={2}{T}:name(Sacrifice a creature) target(creature|myBattlefield) transforms((,newability[sacrifice],newability[name(Search creature) target(*[creature;manacost=manacostplus1plusend;share!types!]|mylibrary) moveto(myhand) and!( shuffle )!])) oneshot asSorcery
text={2}, {T}, Sacrifice a creature: Search your library for a creature card that shares a creature type with the sacrificed creature and has converted mana cost equal to 1 plus that creature's converted mana cost. Put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery.
mana={2}
type=Artifact
[/card]
[card]
name=Pyroceratops
abilities=trample
auto=@movedTo(*[-creature]|stack):counter(1/1,1)
text=Trample -- Whenever you cast a noncreature spell, put a +1/+1 counter on Pyroceratops.
mana={3}{R}
type=Creature
subtype=Elemental Dinosaur
power=2
toughness=3
[/card]
[card]
name=Pyroclastic Elemental
auto={1}{R}{R}:damage:1 target(player)
text={1}{R}{R}: Pyroclastic Elemental deals 1 damage to target player.
mana={3}{R}{R}
type=Creature
subtype=Elemental
power=5
toughness=4
[/card]
[card]
name=Pyroclastic Hellion
auto=may moveTo(ownerHand) target(land|myBattlefield) && damage:2 opponent
text=When Pyroclastic Hellion enters the battlefield, you may return a land you control to its owner's hand. When you do, Pyroclastic Hellion deals 2 damage to each opponent.
mana={4}{R}
type=Creature
subtype=Hellion
power=4
toughness=5
[/card]
[card]
name=Pyrokinesis
other={E(*[red]|myhand)} name(Exile red card)
auto=thisforeach(variable{4}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature) damage:1!$ controller
text=You may exile a red card from your hand rather than pay Pyrokinesis's mana cost. -- Pyrokinesis deals 4 damage divided as you choose among any number of target creatures.
mana={4}{R}{R}
type=Instant
[/card]
[card]
name=Pyromancer Ascension
auto=@movedto(*[instant;sorcery]|mystack) restriction{type(*[instant;sorcery]|mygraveyard)~morethan~0}:all(trigger[to]) transforms((,newability[if type(*[share!name!]|mygraveyard)~morethan~0 then may name(Put quest counter) target(<anyamount>Pyromancer Ascension|myBattlefield) counter(0/0.1.quest)])) oneshot
auto=@movedto(*[instant;sorcery]|mystack) restriction{compare(hascntquest)~morethan~1}:may name(Copy spell) all(trigger[to]) activate castcard(noevent copied)
text=Whenever you cast an instant or sorcery spell that has the same name as a card in your graveyard, you may put a quest counter on Pyromancer Ascension. -- Whenever you cast an instant or sorcery spell while Pyromancer Ascension has two or more quest counters on it, you may copy that spell. You may choose new targets for the copy.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Pyromancer's Gauntlet
auto=@damaged(*|opponentBattlefield) from(instant[red]|myzones):all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damaged(*|opponentBattlefield) from(sorcery[red]|myzones):all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damaged(*|opponentBattlefield) from(planeswalker[red]|myzones):all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damagefoeof(player) from(instant[red]|myzones):name(Damage opponent) damage:2 opponent
auto=@damagefoeof(player) from(sorcery[red]|myzones):name(Damage opponent) damage:2 opponent
auto=@damagefoeof(player) from(planeswalker[red]|myzones):name(Damage opponent) damage:2 opponent
text=If a red instant or sorcery spell you control or a red planeswalker you control would deal damage to a permanent or player, it deals that much damage plus 2 to that permanent or player instead.
mana={5}
type=Artifact
[/card]
[card]
name=Pyromancer's Goggles
auto={T}:name(Add red mana) transforms((,newability[add{R}],newability[@movedto(*[sorcery;instant;red]|mystack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot
text={T}: Add {R} to your mana pool. When that mana is spent to cast a red instant or sorcery spell, copy that spell and you may choose new targets for the copy.
mana={5}
type=Legendary Artifact
[/card]
[card]
name=Pyromancer's Swath
auto=@damaged(*|opponentBattlefield) from(*[instant;sorcery]|myzones):all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damagefoeof(player) from(*[instant;sorcery]|myzones):name(Damage opponent) damage:2 opponent
auto=@each endofturn:name(Discard hand) all(*|myhand) reject
text=If an instant or sorcery source you control would deal damage to a creature or player, it deals that much damage plus 2 to that creature or player instead. -- At the beginning of each end step, discard your hand.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Pyromancy
auto={D}{3}:name(Deal damage) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) transforms((,newability[name(Damage creature or player) damage:manacost target(player^creature)])) oneshot])) oneshot
text={3}, Discard a card at random: Pyromancy deals damage to target creature or player equal to the converted mana cost of the discarded card.
mana={2}{R}{R}
type=Enchantment
[/card]
[card]
name=Pyromantic Pilgrim
abilities=haste
text=Haste (This creature can attack and {T} as soon as it comes under your control.)
mana={2}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=1
[/card]
[card]
name=Pyromatics
abilities=hasnokicker,hasreplicate
target=player,creature,planeswalker
kicker=multi{1}{R} name(Replicate)
auto=name(Deal 1 damage) damage:1
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Pyromatics) name(Copy Pyromatics) activate castcard(copied noevent named!:Pyromatics:!)!$ controller
text=Replicate {1}{R} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Pyromatics deals 1 damage to any target.
mana={1}{R}
type=Instant
[/card]
[card]
name=Pyrophobia
auto=damage:3 target(creature)
auto=all(creature[coward]) cantblock ueot
text=Pyrophobia deals 3 damage to target creature. Cowards can't block this turn.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Pyrotechnics
auto=thisforeach(variable{4}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
text=Pyrotechnics deals 4 damage divided as you choose among any number of target creatures and/or players.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Pyxis of Pandemonium
auto={T}:name(Exile top cards) all(*[zpos=1]|library) moveto(ownerexile) and!( counter(0/0.1.PyxisExiled) )!
auto={7}{T}:name(Put permanents in play) all(*[-instant;-sorcery;counter{0/0.1.PyxisExiled}]|exile) moveto(ownerbattlefield)
text={T}: Each player exiles the top card of his or her library face down. -- {7}, {T}, Sacrifice Pyxis of Pandemonium: Each player turns face up all cards he or she owns exiled with Pyxis of Pandemonium, then puts all permanent cards among them onto the battlefield.
mana={1}
type=Artifact
[/card]
[card]
name=Qarsi Deceiver
auto={T}:add{C}
text={T}: Add {1} to your mana pool. Spend this mana only to cast a face-down creature spell, pay a mana cost to turn a manifested creature face up, or pay a morph cost. (A megamorph cost is a morph cost.)
mana={1}{U}
type=Creature
subtype=Naga Wizard
power=0
toughness=4
[/card]
[card]
name=Qasali Ambusher
abilities=reach,spellmastery
other={0} name(cast for free)
otherrestriction=type(creature[attacking]|opponentbattlefield)~morethan~0,type(forest|mybattlefield)~morethan~0,type(plains|mybattlefield)~morethan~0
text=Reach -- If a creature is attacking you and you control a Forest and a Plains, you may cast Qasali Ambusher without paying its mana cost and as though it had flash.
mana={1}{G}{W}
type=Creature
subtype=Cat Warrior
power=2
toughness=3
[/card]
[card]
name=Qasali Slingers
abilities=reach
auto=may destroy target(artifact,enchantment)
auto=@movedTo(cat|myBattlefield):may destroy target(artifact,enchantment)
text=Reach -- Whenever Qasali Slingers or another Cat enters the battlefield under your control, you may destroy target artifact or enchantment.
mana={4}{G}
type=Creature
subtype=Cat Warrior
power=3
toughness=5
[/card]
[card]
name=Qilin's Blessing
target=creature
auto=2/2
text=Target creature gets +2/+2 until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Quakebringer
abilities=foretell,nolifegainopponent
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={2}{R}{R} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=@each my upkeep:name(Deals 2 damages) damage:2 opponent
autograveyard=@each my upkeep restriction{type(giant|mybattlefield)~morethan~0}:name(Deals 2 damages) damage:2 opponent
text=Your opponents can't gain life. -- At the beginning of your upkeep, Quakebringer deals 2 damage to each opponent. This ability triggers only if Quakebringer is on the battlefield or if Quakebringer is in your graveyard and you control a Giant. -- Foretell {2}{R}{R}
mana={3}{R}{R}
type=Creature
subtype=Giant Berserker
power=5
toughness=4
[/card]
[card]
name=Quakefoot Cyclops
auto=cantblocktarget(<upto:2>creature) ueot
autohand={1}{R}{cycle}:name(cycling) draw:1
autohand=@cycled(this|hand):target(creature) cantblocktarget
text=When Quakefoot Cyclops enters the battlefield, up to two target creatures can't block this turn. -- Cycling {1}{R} ({1}{R}, Discard this card: Draw a card.) -- When you cycle Quakefoot Cyclops, target creature can't block this turn.
mana={4}{R}
type=Creature
subtype=Cyclops
power=4
toughness=4
[/card]
[card]
name=Quandrix Apprentice
aicode=activate transforms((,newability[target(land[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=@movedto(*[instant;sorcery]|mystack):name(Reveal top 3 cards) reveal:3 optionone name(Get a land) target(<upto:1>*[land]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, look at the top three cards of your library. You may reveal a land card from among them and put that card into your hand. Put the rest on the bottom of your library in any order.
mana={G}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Quandrix Campus
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=tap(noevent)
auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={T}:add{G}
auto={T}:add{U}
text=Quandrix Campus enters the battlefield tapped. -- {T}: Add {G} or {U}. -- {4}, {T}: Scry 1.
type=Land
[/card]
[card]
name=Quandrix Command
auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Return card and counterspell) name(Return card and counterspell) name(Return card and counterspell) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Return creature or planeswalker) name(Return creature or planeswalker) target(*[creature;planeswalker]|battlefield) moveto(ownerhand)!$ controller
auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and put 1/1 counters) name(Return card and put 1/1 counters) target(*[creature;planeswalker]|battlefield) moveto(ownerhand) && ability$!name(Put two 1/1 counters) name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2)!$ controller
auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and you shuffle) name(Return card and you shuffle) target(*[creature;planeswalker]|battlefield) moveto(ownerhand) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ controller
auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Return card and opponent shuffles) name(Return card and opponent shuffles) target(*[creature;planeswalker]|battlefield) moveto(ownerhand) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ opponent
auto=if type(creature|battlefield)~morethan~0 then if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Counterspell and put 1/1 counters) name(Counterspell and put 1/1 counters) name(Counterspell and put 1/1 counters) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Put two 1/1 counters) name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2)!$ controller
auto=if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Counterspell and you shuffle) name(Counterspell and you shuffle) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ controller
auto=if type(*[artifact;enchantment]|stack)~morethan~0 then choice name(Counterspell and opponent shuffles) name(Counterspell and opponent shuffles) target(*[artifact;enchantment]|stack) transforms((,newability[fizzle])) forever && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ opponent
auto=if type(creature|battlefield)~morethan~0 then choice name(Put 1/1 counters and you shuffle) name(Put 1/1 counters and you shuffle) target(creature|battlefield) counter(1/1,2) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ controller
auto=if type(creature|battlefield)~morethan~0 then choice name(Put 1/1 counters and opponent shuffles) name(Put 1/1 counters and and opponent shuffles) target(creature|battlefield) counter(1/1,2) && ability$!name(Shuffle 3 cards) name(Shuffle 3 cards) target(<3>*|mygraveyard) moveto(mylibrary) and!( shuffle )! !$ opponent
text=Choose two -- Return target creature or planeswalker to its owner's hand. -- Counter target artifact or enchantment spell. -- Put two +1/+1 counters on target creature. -- Target player shuffles up to three target cards from their graveyard into their library.
mana={1}{G}{U}
type=Instant
[/card]
[card]
name=Quandrix Cultivator
auto=if type(forest[basic]|mylibrary)~morethan~0 then choice name(Search basic forest) name(Search basic forest) target(forest[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!
auto=if type(island[basic]|mylibrary)~morethan~0 then choice name(Search basic island) name(Search basic island) target(island[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!
auto=choice name(Don't search) donothing
text=When Quandrix Cultivator enters the battlefield, you may search your library for a basic Forest or Island card, put it onto the battlefield, then shuffle.
mana={1}{G}{GU}{U}
type=Creature
subtype=Turtle Druid
power=3
toughness=4
[/card]
[card]
name=Quandrix Pledgemage
auto=@movedto(*[instant;sorcery]|mystack):counter(1/1)
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, put a +1/+1 counter on Quandrix Pledgemage.
mana={1}{GU}{GU}
type=Creature
subtype=Merfolk Druid
power=2
toughness=2
[/card]
[card]
name=Quarry Beetle
auto=may moveto(mybattlefield) target(land|mygraveyard)
text=When Quarry Beetle enters the battlefield, you may return target land card from your graveyard to the battlefield.
mana={4}{G}
type=Creature
subtype=Insect
power=4
toughness=5
[/card]
[card]
name=Quarry Colossus
auto=choice name(Choose your creature) target(creature|mybattlefield) moveto(mylibrary) && foreach(plains|mybattlefield) moverandom(*|mylibrary) from(mylibrary) to(mylibrary)
auto=choice name(Choose an opponent's creature) target(creature|opponentbattlefield) moveto(opponentlibrary) && foreach(plains|mybattlefield) moverandom(*|opponentlibrary) from(opponentlibrary) to(opponentlibrary)
text=When Quarry Colossus enters the battlefield, put target creature into its owner's library just beneath the top X cards of that library, where X is the number of Plains you control.
mana={5}{W}{W}
type=Creature
subtype=Giant
power=5
toughness=6
[/card]
[card]
name=Quarry Hauler
auto=_PROLIFERATE_
text=When Quarry Hauler enters the battlefield, for each kind of counter on target permanent, put another counter of that kind on it or remove one from it.
mana={3}{G}
type=Creature
subtype=Camel
power=4
toughness=3
[/card]
[card]
name=Quartzwood Crasher
abilities=trample
auto=@damaged(player) from(creature[trample]|mybattlefield):create(Dinosaur Beast Qua:Creature Dinosaur Beast:thatmuch/thatmuch:green:trample)
text=Trample -- Whenever one or more creatures you control with trample deal combat damage to a player, create an X/X green Dinosaur Beast creature token with trample, where X is the amount of damage those creatures dealt to that player.
mana={2}{R}{R}{G}
type=Creature
subtype=Dinosaur Beast
power=6
toughness=6
[/card]
[card]
name=Quarum Trench Gnomes
auto={T}:target(plains|battlefield) loseabilities && transforms((,newability[producecolor:land])) forever
text={T}: If target Plains is tapped for mana, it produces colorless mana instead of white mana. (This effect lasts indefinitely.)
mana={3}{R}
type=Creature
subtype=Gnome
power=1
toughness=1
[/card]
[card]
name=Quasiduplicate
target=creature|myBattlefield
auto=clone
flashback={1}{U}{U}{D(*|myhand)}
text=Create a token that's a copy of target creature you control. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={1}{U}{U}
type=Sorcery
[/card]
[card]
name=Queen Marchesa
abilities=deathtouch,haste
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(omonarch)~morethan~0}:token(Assassin,Creature Assassin,1/1,black,deathtouch,haste)
text=Deathtouch, haste -- When Queen Marchesa enters the battlefield, you become the monarch. -- At the beginning of your upkeep, if an opponent is the monarch, put a 1/1 black Assassin creature token with deathtouch and haste onto the battlefield.
mana={1}{R}{W}{B}
type=Legendary Creature
subtype=Human Assassin
power=3
toughness=3
[/card]
[card]
name=Queen of Ice // Rage of Winter
abilities=adventure
other={1}{U} name(Adventure)
auto=if paid(alternative) then name(Freeze creature) name(Freeze creature) target(creature|battlefield) freeze
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=@combatdamaged(creature) from(this):all(trigger[to]) freeze
text=Whenever Queen of Ice deals combat damage to a creature, tap that creature. It doesn't untap during its controller's next untap step. // Tap target creature. It doesn't untap during its controller's next untap step. (Then exile this card. You may cast the creature later from exile.)
mana={2}{U}
type=Creature
subtype=Human Noble Wizard
power=2
toughness=3
[/card]
[card]
name=Queen's Agent
abilities=lifelink
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=Lifelink -- When Queen's Agent enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={5}{B}
type=Creature
subtype=Vampire Scout
power=3
toughness=3
[/card]
[card]
name=Queen's Bay Soldier
mana={1}{B}
type=Creature
subtype=Vampire Soldier
power=2
toughness=2
[/card]
[card]
name=Queen's Commission
auto=token(Vampire,creature Vampire,1/1,white,lifelink)*2
text=Create two 1/1 white Vampire creature tokens with lifelink.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Quench
target=*|stack
auto=fizzle
auto=transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
text=Counter target spell unless its controller pays {2}.
mana={1}{U}
type=Instant
[/card]
[card]
name=Quenchable Fire
target=player
auto=damage:3
auto=ability$!name(Pay or lifeloss) pay[[{U}]] name(Pay blue mana) donothing?damage:3!$ targetedplayer
text=Quenchable Fire deals 3 damage to target player. It deals an additional 3 damage to that player at the beginning of your next upkeep step unless he or she pays {U} before that step.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Quest for Pure Flame
auto=@damagefoeof(player) from(*[instant;sorcery]|stack,Graveyard):name(Put Quest counter) counter(0/0.1.quest)
auto=@damagefoeof(player) from(*[enchantment;artifact;land;planeswalker]|battlefield,Graveyard):name(Put Quest counter) counter(0/0.1.quest)
auto=@damagefoeof(player) from(creature[-Fiendish Duo]|battlefield,Graveyard):name(Put Quest counter) counter(0/0.1.quest)
auto=@combatdamagefoeof(player) from(this):damage:name(Put Quest counter) counter(0/0.1.quest)
auto={S} restriction{compare(hascntquest)~morethan~3}:name(Sacrifice and double damage) emblem transforms((,newability[@damagefoeof(player) from(*[instant;sorcery]|myzones):damage:thatmuch all(trigger[to])],newability[@damagefoeof(player) from(*[creature;artifact;land;planeswalker]|myzones):damage:thatmuch all(trigger[to])],newability[@damagefoeof(player) from(enchantment[-Quest for Pure Flame]|myzones):damage:thatmuch all(trigger[to])])) ueot dontremove
text=Whenever a source you control deals damage to an opponent, you may put a quest counter on Quest for Pure Flame. -- Remove four quest counters from Quest for Pure Flame and sacrifice it: If any source you control would deal damage to a creature or player this turn, it deals double that damage to that creature or player instead.
mana={R}
type=Enchantment
[/card]
[card]
name=Questing Beast
abilities=vigilance,deathtouch,haste
auto=cantbeblockedby(creature[power<=2])
auto=@combatdamagefoeof(player) from(this):damage:thatmuch target(planeswalker|opponentbattlefield)
#MISSING: damage can't be prevented
text=Vigilance, deathtouch, haste -- Questing Beast can't be blocked by creatures with power 2 or less. -- Combat damage that would be dealt by creatures you control can't be prevented. -- Whenever Questing Beast deals combat damage to an opponent, it deals that much damage to target planeswalker that player controls.
mana={2}{G}{G}
type=Legendary Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Quicken
auto=target(sorcery|myhand) transforms((,newability[flash])) ueot
auto=draw:1 controller
text=The next sorcery card you cast this turn can be cast as though it had flash. -- Draw a card.
mana={U}
type=Instant
[/card]
[card]
name=Quicksilver Wall
abilities=defender
auto={4}:moveto(myhand)
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 4) pay[[{4}]] name(Pay 4) moveto(opponenthand) notatarget(Quicksilver Wall|opponentBattlefield)?donothing!$ opponent])) forever
text=Defender (This creature can't attack.) -- {4}: Return Quicksilver Wall to its owner's hand. Any player may activate this ability.
mana={2}{U}
type=Creature
subtype=Wall
power=1
toughness=6
[/card]
[card]
name=Quiet Speculation
target=player
auto=Reveal:type:*:targetedpersonslibrary revealzone(targetedpersonslibrary) optionone name(Choose 3 cards with flashback) target(<upto:3>*[hasflashback]|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) optiontwoend revealend
text=Search target player's library for up to three cards with flashback and put them into that player's graveyard. Then the player shuffles his or her library.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Quintorius, Field Historian
auto=lord(spirit|mybattlefield) 1/0
auto=@movedto(*|mybattlefield,mystack,myhand,mylibrary,mysideboard,myexile,mycommandzone) from(mygraveyard):name(Create Spirit)  token(Spirit,Creature Spirit,3/2,white,red)
text=Spirits you control get +1/+0. -- Whenever one or more cards leave your graveyard, create a 3/2 red and white Spirit creature token.
mana={3}{R}{W}
type=Legendary Creature
subtype=Elephant Cleric
power=2
toughness=4
[/card]
[card]
name=Quirion Explorer
auto=this(variable{olandg}>0) {t}:out{g}
auto=this(variable{olandu}>0) {t}:out{u}
auto=this(variable{olandr}>0) {t}:out{r}
auto=this(variable{olandb}>0) {t}:out{b}
auto=this(variable{olandw}>0) {t}:out{w}
auto=this(variable{olandc}>0) {t}:out{1}
text={T}: Add one mana of any color that a land an opponent controls could produce.
mana={1}{G}
type=Creature
subtype=Elf Druid Scout
power=1
toughness=1
[/card]
[card]
name=Radha, Heart of Keld
abilities=showfromtoplibrary,canplaylandlibrarytop
auto=this(variable{controllerturn}>0) first strike
auto={4}{R}{G}:type:land:myBattlefield/type:land:myBattlefield ueot
text=As long as it's your turn, Radha, Heart of Keld has first strike. -- You may look at the top card of your library any time, and you may play lands from the top of your library. -- {4}{R}{G}: Radha gets +X/+X until end of turn, where X is the number of lands you control.
mana={1}{R}{G}
type=Legendary Creature
subtype=Elf Warrior
power=3
toughness=3
[/card]
[card]
name=Radiant Destiny
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=activatechooseatype transforms((,newability[lord(creature[chosentype]|mybattlefield) 1/1],newability[_CITY'S_BLESSING_ lord(creature[chosentype]|mybattlefield) vigilance])) forever activatechooseend
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- As Radiant Destiny enters the battlefield, choose a creature type. -- Creatures you control of the chosen type get +1/+1. As long as you have the city's blessing, they also have vigilance.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Radiant Epicure
auto=life:converge controller
auto=life:-converge opponent
text=Converge - When Radiant Epicure enters the battlefield, each opponent loses X life and you gain X life, where X is the number of colors of mana spent to cast this spell.
mana={4}{B}
type=Creature
subtype=Vampire Wizard
power=5
toughness=5
[/card]
[card]
name=Radiant Scrollwielder
auto=@damaged(creature) from(*[instant;sorcery]|myzones):life:thatmuch controller
auto=@damageof(player) from(*[instant;sorcery]|myzones):life:thatmuch controller
auto=@damagefoeof(player) from(*[instant;sorcery]|myzones):life:thatmuch controller
auto=@each my upkeep:name(Exile instant or sorcery) moverandom(*[instant;sorcery]) from(mygraveyard) to(myexile)
auto=@movedto(*[instant;sorcery]|myexile) from(mygraveyard) restriction{myupkeeponly}:name(Can play from exile) all(trigger[to]) transforms((,newability[canplayfromexile],newability[gainedexiledeath])) ueot
text=Instant and sorcery spells you control have lifelink. -- At the beginning of your upkeep, exile an instant or sorcery card at random from your graveyard. You may cast it this turn. If a spell cast this way would be put into your graveyard, exile it instead.
mana={2}{R}{W}
type=Creature
subtype=Dwarf Cleric
power=2
toughness=4
[/card]
[card]
name=Radiant Solar
abilities=flying,lifelink
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=@movedto(creature[-token]|mybattlefield) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
autohand={W}{D}:name(Venture dungeon and gain life) life:3 controller && if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Flying, lifelink -- Whenever Radiant Solar or another nontoken creature enters the battlefield under your control, venture into the dungeon. (Enter the first room or advance to the next room.) -- {W}, Discard Radiant Solar: Venture into the dungeon and you gain 3 life.
mana={5}{W}
type=Creature
subtype=Angel
power=3
toughness=6
[/card]
[card]
name=Radiant, Serra Archangel
abilities=flying,partner
auto={T(other creature[flying]|mybattlefield)}:protection from white ueot
auto={T(other creature[flying]|mybattlefield)}:protection from blue ueot
auto={T(other creature[flying]|mybattlefield)}:protection from black ueot
auto={T(other creature[flying]|mybattlefield)}:protection from red ueot
auto={T(other creature[flying]|mybattlefield)}:protection from green ueot
text=Flying -- Tap another untapped creature you control with flying: Radiant, Serra Archangel gains protection from the color of your choice until end of turn. -- Partner (You can have two commanders if both have partner.)
mana={6}{W}
type=Legendary Creature
subtype=Angel
power=6
toughness=4
[/card]
[card]
name=Radiating Lightning
target=player
auto=damage:3
auto=Radiating Lightning deals 3 damage to target player
auto=damage:1 all(creature|targetedpersonsBattlefield)
text=Radiating Lightning deals 3 damage to target player and 1 damage to each creature that player controls.
mana={3}{R}
type=Instant
[/card]
[card]
name=Radical Idea
auto=draw:1
flashback={1}{U}{D(*|myhand)}
text=Draw a card. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Raff Capashen, Ship's Mage
abilities=flash, flying
auto=lord(*[artifact;legendary;saga]|myhand) asflash
text=Flash -- Flying -- You may cast historic spells as though they had flash. (Artifacts, legendaries, and Sagas are historic.)
mana={2}{W}{U}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Rafter Demon
auto=if paid(alternative) then ability$!name(discard) target(*|myhand) reject!$ opponent
text=Spectacle {3}{B}{R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- When Rafter Demon enters the battlefield, if its spectacle cost was paid, each opponent discards a card.
other={3}{B}{R} name(Spectacle) 
otherrestriction=compare(oplifelost)~morethan~0
mana={2}{B}{R}
type=Creature
subtype=Demon
power=4
toughness=2
[/card]
[card]
name=Rag Man
auto=this(variable{ishuman}>0) {B}{B}{B}{T}:name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) transforms((,newability[name(Discard creature) target(creature|myhand) reject])) oneshot myturnonly
auto=this(variable{ishuman}<1) {B}{B}{B}{T}:name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) transforms((,newability[ability$!name(Discard creature) name(Discard creature) target(creature|opponenthand) reject!$ opponent])) oneshot myturnonly
text={B}{B}{B}, {T}: Target opponent reveals his or her hand and discards a creature card at random. Activate this ability only during your turn.
mana={2}{B}{B}
type=Creature
subtype=Human Minion
power=2
toughness=1
[/card]
[card]
name=Ragavan, Nimble Pilferer
other={1}{R} name(Dash)
auto=if paid(alternative) then transforms((,newability[haste],newability[phaseaction[endofturn once sourceinplay] moveto(ownerhand)])) forever
auto=@combatdamaged(player) from(this):token(Treasure Sur)
auto=@combatdamagefoeof(player) from(this):name(Exile top card) name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[canplayfromexile],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)])) ueot )!
auto=@combatdamageof(player) from(this):name(Exile top card) name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[this(cantargetcard(*[-land]|*)) canplayfromexile])) ueot )!
text=Whenever Ragavan, Nimble Pilferer deals combat damage to a player, create a Treasure token and exile the top card of that player's library. Until end of turn, you may cast that card. -- Dash {1}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.)
mana={R}
type=Legendary Creature
subtype=Monkey Pirate
power=2
toughness=1
[/card]
[card]
name=Rage-Scarred Berserker
auto=1/0 target(creature|myBattlefield) ueot && indestructible ueot
text=When Rage-Scarred Berserker enters the battlefield, target creature you control gets +1/+0 and gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={4}{B}
type=Creature
subtype=Minotaur Berserker
power=5
toughness=4
[/card]
[card]
name=Ragefire
target=creature
auto=damage:3
text=Ragefire deals 3 damage to target creature.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Raging Kronch
abilities=nosolo
text=Raging Kronch can't attack alone.
mana={2}{R}
type=Creature
subtype=Beast
power=4
toughness=3
[/card]
[card]
name=Raging Redcap
abilities=double strike
text=Double strike
mana={2}{R}
type=Creature
subtype=Goblin Knight
power=1
toughness=2
[/card]
[card]
name=Raging Regisaur
auto=_ATTACKING_damage:1 target(player,creature,planeswalker)
text=Whenever Raging Regisaur attacks, it deals 1 damage to any target.
mana={2}{R}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Raging Swordtooth
abilities=trample
auto=damage:1 all(other creature)
text=Trample -- When Raging Swordtooth enters the battlefield, it deals 1 damage to each other creature.
mana={3}{R}{G}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Rags // Riches
auto=all(creature) -2/-2 ueot
autograveyard={5}{U}{U}{E}:ability$!moveto(opponentbattlefield) target(creature|mybattlefield)!$ opponent asSorcery
text=All creatures get -2/-2 until end of turn. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Each opponent chooses a creature he or she controls. You gain control of those creatures.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Raiders' Karve
aicode=activate all(land[zpos=1|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!
auto=_ATTACKING_reveal:1 optionone target(<upto:1>land|reveal) moveto(ownerbattlefield) and!( tap(noevent) )! optiononeend optiontwo target(*|reveal) moveto(mylibrary) optiontwoend revealend
auto={crew(other creature[power>=3]|myBattlefield)}:name(crew 3 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~2}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 3 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~2}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 3 [3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~2}
text=Whenever Raiders' Karve attacks, look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. -- Crew 3 (Tap any number of creatures you control with total power 3 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={3}
type=Artifact
subtype=Vehicle
power=4
toughness=4
[/card]
[card]
name=Raiders' Wake
auto=@discarded(*|opponenthand):life:-2 opponent
auto=@each my endofturn:if raid then ability$!discard(*|myhand)!$ opponent
text=Whenever an opponent discards a card, that player loses 2 life. -- Raid - At the beginning of your end step, if you attacked with a creature this turn, target opponent discards a card.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Rain of Gore
auto=@lifeof(player):name(Loose life instead) life:-twicethatmuch controller
auto=@lifefoeof(player):name(Loose life instead) life:-twicethatmuch opponent
text=If a spell or ability would cause its controller to gain life, that player loses that much life instead.
mana={B}{R}
type=Enchantment
[/card]
[card]
name=Rain of Revelation
auto=draw:3
auto=reject notatarget(*|myhand)
text=Draw three cards, then discard a card.
mana={3}{U}
type=Instant
[/card]
[card]
name=Rain of Rust
target=artifact,land
other={3}{R} name(Entwine)
auto=ifnot paid(alternative) then destroy
auto=if paid(alternative) then destroy && destroy target(artifact,land)
text=Choose one  Destroy target artifact; or destroy target land. -- Entwine {3}{R} (Choose both if you pay the entwine cost.)
mana={3}{R}{R}
type=Instant
[/card]
[card]
name=Rain of Thorns
auto=choice name(Destroy target artifact) destroy target(artifact)
auto=choice name(Destroy target land) destroy target(land)
auto=name(More...) emblem transforms((,newability[({0}:name(Destroy target artifact) destroy target(artifact)],newability[{0}:name(Destroy target land) destroy target(land)])) ueot
text=Choose one or both -- Destroy target artifact. -- Destroy target land.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Raise the Draugr
restriction=type(creature|mygraveyard)~morethan~0
auto=choice name(Return 1 creature) target(creature|mygraveyard) moveTo(myhand)
auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveTo(myhand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveTo(myhand)])) oneshot )!
text=Choose one -- Return target creature card from your graveyard to your hand. -- Return two target creature cards that share a creature type from your graveyard to your hand.
mana={1}{B}
type=Instant
[/card]
[card]
name=Raiza, Boros Archangel
abilities=flying,vigilance,haste
auto={T}:prevent:3 target(creature) && damage:3 target(other creature)
text=Flying, vigilance, haste -- {T}: The next 3 damage that would be dealt to target creature you control this turn is dealt to another target creature instead.
mana={4}{R}{R}{W}{W}
type=Legendary Creature
subtype=Angel
power=6
toughness=3
[/card]
[card]
name=Rakavolver
abilities=hasotherkicker
other={2}{R}{U} name(Kicker Blue)
kicker={1}{W} name(Kicker White or both)
auto=if paid(alternative) then transforms((,newability[counter(1/1)],newability[flying])) forever
auto=if paid(kicker) then transforms((,newability[counter(1/1.2)],newability[lifelink])) forever
auto=if paid(kicker) then pay({U}) name(Pay also kicker blue) transforms((,newability[counter(1/1)],newability[flying])) forever
text=Kicker {1}{W} and/or {U} (You may pay an additional {1}{W} and/or {U} as you cast this spell.) -- If Rakavolver was kicked with its {1}{W} kicker, it enters the battlefield with two +1/+1 counters on it and with "Whenever Rakavolver deals damage, you gain that much life." -- If Rakavolver was kicked with its {U} kicker, it enters the battlefield with a +1/+1 counter on it and with flying.
mana={2}{R}
type=Creature
subtype=Volver
power=2
toughness=2
[/card]
[card]
name=Rakdos Augermage
abilities=first strike
auto={T}:name(target opponent) target(opponent) donothing && all(this) transforms((,newability[ability$!name(discard) reject notatarget(*|opponenthand)!$ targetedplayer && ability$!name(discard) reject notatarget(*|opponenthand)!$ controller])) assorcery
text=First strike -- {T}: Reveal your hand and discard a card of target opponent's choice. Then that player reveals his or her hand and discards a card of your choice. Activate this ability only any time you could cast a sorcery.
mana={B}{B}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Rakdos Firewheeler
auto=ability$!name(Choose one) choice name(Don't deal damage) donothing _ choice name(Damage 1 creature) damage:2 target(creature) _ choice name(Damage 1 planeswalker) damage:2 damage(planeswalker)!$ controller
auto=damage:2 opponent
text=When Rakdos Firewheeler enters the battlefield, it deals 2 damage to target opponent and 2 damage to up to one target creature or planeswalker.
mana={B}{B}{R}{R}
type=Creature
subtype=Human Rogue
power=4
toughness=3
[/card]
[card]
name=Rakdos Headliner
abilities=haste
auto=counter(0/0,1,echo)
auto=@each my upkeep restriction{compare(hascntecho)~morethan~0}:transforms((,newability[counter(0/0.-1.echo)],newability[if type(*|myhand)~morethan~0 then choice name(Discard a card) name(Discard a card) target(*|myhand) reject],newability[choice name(Sacrifice) sacrifice])) forever
text=Haste -- Echo-Discard a card. (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.)
mana={B}{R}
type=Creature
subtype=Devil
power=3
toughness=3
[/card]
[card]
name=Rakdos Locket
auto={BR}{BR}{BR}{BR}{T}{S}:draw:2
auto={T}:Add{B}
auto={T}:Add{R}
text={T}: Add {B} or {R}. -- {B/R}{B/R}{B/R}{B/R}, {T}, Sacrifice Rakdos Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Rakdos, Lord of Riots
abilities=flying,trample
restriction=compare(oplifelost)~morethan~0
auto=lord(creature|myhand,myCommandzone,mygraveyard,myexile) transforms((,newability[thisforeach(variable{oplifelost}>0) changecost(colorless:-1)]))
text=You can't cast Rakdos, Lord of Riots unless an opponent lost life this turn. -- Flying, trample -- Creature spells you cast cost {1} less to cast for each 1 life your opponents have lost this turn.
mana={B}{B}{R}{R}
type=Legendary Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Rakdos Riteknife
auto={2}:equip
auto=teach(creature) transforms((,newability[{T}{S(creature|myBattlefield)}:name(Put a blood counter) target(Rakdos Riteknife[attached]|mybattlefield) counter(0/0.1.Blood)]))
auto=thisforeach(variable{hascntblood}>0) teach(creature) 1/0
auto=thisforeach(variable{halfdownhascntblood}>0) teach(creature) -1/0
auto=this(variable{hascntblood}=1) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 1 permanent) name(Sacrifice 1 permanent) target(*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=2) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 2 permanents) name(Sacrifice 2 permanents) target(<2>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=3) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 3 permanents) name(Sacrifice 3 permanents) target(<3>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=4) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 4 permanents) name(Sacrifice 4 permanents) target(<4>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=5) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 5 permanents) name(Sacrifice 5 permanents) target(<5>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=6) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 6 permanents) name(Sacrifice 6 permanents) target(<6>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=7) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 7 permanents) name(Sacrifice 7 permanents) target(<7>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=8) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 8 permanents) name(Sacrifice 8 permanents) target(<8>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=9) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 9 permanents) name(Sacrifice 9 permanents) target(<9>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=10) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 10 permanents) name(Sacrifice 10 permanents) target(<10>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=11) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 11 permanents) name(Sacrifice 11 permanents) target(<11>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=12) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 12 permanents) name(Sacrifice 12 permanents) target(<12>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=13) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 13 permanents) name(Sacrifice 13 permanents) target(<13>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=14) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 14 permanents) name(Sacrifice 14 permanents) target(<14>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=15) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 15 permanents) name(Sacrifice 15 permanents) target(<15>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=16) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 16 permanents) name(Sacrifice 16 permanents) target(<16>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=17) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 17 permanents) name(Sacrifice 17 permanents) target(<17>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=18) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 18 permanents) name(Sacrifice 18 permanents) target(<18>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}=19) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 19 permanents) name(Sacrifice 19 permanents) target(<19>*|mybattlefield) sacrifice!$ targetedplayer
auto=this(variable{hascntblood}>=20) {B}{R}{S}:name(Player sacrifices permanents) target(player) ability$!name(Sacrifice 20 permanents) name(Sacrifice 20 permanents) target(<20>*|mybattlefield) sacrifice!$ targetedplayer
text=Equipped creature gets +1/+0 for each blood counter on Rakdos Riteknife and has "{T}, Sacrifice a creature: Put a blood counter on Rakdos Riteknife." -- {B}{R}, Sacrifice Rakdos Riteknife: Target player sacrifices a permanent for each blood counter on Rakdos Riteknife. -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Rakdos Roustabout
auto=_BLOCKED_damage:1 opponent
text=Whenever Rakdos Roustabout becomes blocked, it deals 1 damage to the player or planeswalker it's attacking.
mana={1}{B}{R}
type=Creature
subtype=Ogre Warrior
power=3
toughness=2
[/card]
[card]
name=Rakdos Trumpeter
abilities=menace
auto={3}{R}:+2/+0
text=Menace (This creature can't be blocked except by two or more creatures.) -- {3}{R}: Rakdos Trumpeter gets +2/+0 until end of turn.
mana={1}{B}
type=Creature
subtype=Human Shaman
power=1
toughness=3
[/card]
[card]
name=Rakdos, the Showstopper
abilities=flying, trample
auto=all(other creature[-Demon;-Devil;-Imp]|battlefield) transforms((,newability[flipacoin loseability moveTo(ownergraveyard) loseabilityend oneshot flipend]))
text=Flying, trample -- When Rakdos, the Showstopper enters the battlefield, flip a coin for each creature that isn't a Demon, Devil, or Imp. Destroy each creature whose coin comes up tails.
mana={4}{B}{R}
type=Legendary Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Raking Claws
abilities=cycling
target=creature
auto=double strike ueot
autohand=__CYCLYNG__({2})
text=Target creature gains double strike until end of turn. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{R}
type=Instant
[/card]
[card]
name=Rakshasa Debaser
auto=_ATTACKING_moveTo(myBattlefield) target(creature|opponentgraveyard)
autograveyard={6}{B}{B}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Whenever Rakshasa Debaser attacks, put target creature card from defending player's graveyard onto the battlefield under your control. -- Encore {6}{B}{B} ({6}{B}{B}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={4}{B}{B}
type=Creature
subtype=Cat Demon
power=6
toughness=6
[/card]
[card]
name=Ral's Dispersal
target=creature
auto=moveTo(ownerHand)
text=Return target creature to its owner's hand. You may search your library and/or graveyard for a card named Ral, Caller of Storms, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Ral's Outburst
target=player,creature,planeswalker
auto=damage:3
auto=name(look) reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) target(<2>*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Ral's Outburst deals 3 damage to any target. Look at the top two cards of your library. Put one of them into your hand and the other into your graveyard.
mana={2}{U}{R}
type=Instant
[/card]
[card]
name=Ral's Staticaster
abilities=trample
auto=_ATTACKING_if type(planeswalker[ral]|myBattlefield)~morethan~0 then 1/0 foreach(*|hand) ueot
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- Whenever Ral's Staticaster attacks, if you control a Ral planeswalker, Ral's Staticaster gets +1/+0 for each card in your hand until end of turn.
mana={2}{U}{R}
type=Creature
subtype=Viashino Wizard
power=3
toughness=3
[/card]
[card]
name=Rally Maneuver
target=creature
auto=transforms((,newability[2/0],newability[first strike],newability[may name(Other creature gets 0/2) target(other creature) transforms((,newability[0/2],newability[lifelink])) ueot])) ueot
text=Target creature get +2/+0 and gains first strike until end of turn. Up to one other target creature gets +0/+2 and gains lifelink until end of turn.
mana={2}{W}
type=Instant
[/card]
[card]
name=Rally for the Throne
auto=token(Human,Creature Human,1/1,white)*2
auto=if casted(this) then if spent({W}{W}{W}) then life:type:creature:mybattlefield controller
text=Create two 1/1 white Human creature tokens. -- Adamant - If at least three white mana was spent to cast this spell, you gain 1 life for each creature you control.
mana={2}{W}
type=Instant
[/card]
[card]
name=Rally of Wings
auto=all(creature[flying]|myBattlefield) 2/2
auto=all(creature|myBattlefield) untap
text=Untap all creatures you control. Creatures you control with flying get +2/+2 until end of turn.
mana={1}{W}
type=Instant
[/card]
[card]
name=Rally the Ranks
auto=chooseatype lord(creature[chosentype]|mybattlefield) 1/1 chooseend
text=As Rally the Ranks enters the battlefield, choose a creature type. -- Creatures you control of the chosen type get +1/+1.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Rally to Battle
auto=all(creature|myBattlefield) +1/+3 ueot
auto=all(creature|myBattlefield) untap
text=Creatures you control get +1/+3 until end of turn. Untap them.
mana={3}{W}
type=Instant
[/card]
[card]
name=Rallying Roar
auto=all(creature|mybattlefield) untap
auto=all(creature|mybattlefield) 1/1
text=Creatures you control get +1/+1 until end of turn. Untap them.
mana={2}{W}
type=Instant
[/card]
[card]
name=Ram Through
target=creature|mybattlefield
auto=transforms((,newability[dynamicability<!powerstrike!> target(creature|opponentbattlefield)]))
text=Target creature you control deals damage equal to its power to target creature you don't control. If the creature you control has trample, excess damage is dealt to that creature's controller instead.
mana={1}{G}
type=Instant
[/card]
[card]
name=Rambunctious Mutt
auto=destroy target(artifact,enchantment|opponentBattlefield)
text=When Rambunctious Mutt enters the battlefield, destroy target artifact or enchantment an opponent controls.
mana={3}{W}{W}
type=Creature
subtype=Dog
power=3
toughness=4
[/card]
[card]
name=Ramos, Dragon Engine
abilities=flying
auto=@movedTo(*[white]|mystack):counter(1/1)
auto=@movedTo(*[blue]|mystack):counter(1/1)
auto=@movedTo(*[black]|mystack):counter(1/1)
auto=@movedTo(*[red]|mystack):counter(1/1)
auto=@movedTo(*[green]|mystack):counter(1/1)
auto={C(1/1,-5)}:add{W}{W}{U}{U}{B}{B}{R}{R}{G}{G} limit:1
text=Flying -- Whenever you cast a spell, put a +1/+1 counter on Ramos, Dragon Engine for each of that spell's colors. -- Remove five +1/+1 counters from Ramos: Add {W}{W}{U}{U}{B}{B}{R}{R}{G}{G}. Activate this ability only once each turn.
mana={6}
type=Legendary Artifact Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Rampage of the Clans
auto=all(artifact|battlefield) transforms((,newability[destroy],newability[create(Centaur:Creature Centaur:3/3:green)])) oneshot
auto=all(enchantment|battlefield) transforms((,newability[destroy],newability[create(Centaur:Creature Centaur:3/3:green)])) oneshot
text=Destroy all artifacts and enchantments. For each permanent destroyed this way, its controller creates a 3/3 green Centaur creature token.
mana={3}{G}
type=Instant
[/card]
[card]
name=Rampage of the Valkyries
auto=token(Angel,Creature Angel,4/4,white,flying,vigilance)
auto=@movedto(angel|graveyard) from(mybattlefield):ability$!name(Sacrifice a creature) name(Sacrifice a creature) sacrifice notatarget(creature|mybattlefield)!$ opponent
text=When Rampage of the Valkyries enters the battlefield, create a 4/4 white Angel creature token with flying and vigilance. -- Whenever an Angel you control dies, each other player sacrifices a creature.
mana={3}{W}{B}
type=Enchantment
[/card]
[card]
name=Rampaging Brontodon
abilities=trample
auto=_ATTACKING_foreach(land|myBattlefield) 1/1 ueot
text=Trample -- Whenever Rampaging Brontodon attacks, it gets +1/+1 until end of turn for each land you control.
mana={5}{G}{G}
type=Creature
subtype=Dinosaur
power=7
toughness=7
[/card]
[card]
name=Rampaging Cyclops
auto=@combat(blocked) source(this) from(<2>creature):all(trigger[from]) (this) -2/-0
text=Rampaging Cyclops gets -2/-0 as long as two or more creatures are blocking it.
mana={3}{R}
type=Creature
subtype=Cyclops
power=4
toughness=4
[/card]
[card]
name=Rampaging Ferocidon
abilities=menace
auto=@lifeof(player):damage:thatmuch
auto=@movedto(creature|mybattlefield) damage:1 controller
auto=@movedto(creature|opponentbattlefield) damage:1 opponent
text=Menace -- Players can't gain life. -- Whenever another creature enters the battlefield, Rampaging Ferocidon deals 1 damage to that creature's controller.
mana={2}{R}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Rampaging Hippo
abilities=trample,cycling
autohand=__CYCLING__({2})
text=Trample -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{G}{G}
type=Creature
subtype=Hippo
power=5
toughness=6
[/card]
[card]
name=Rampaging Monument
abilities=trample
auto=counter(1/1,3)
auto=@movedTo(*[multicolor]|mystack):counter(1/1)
text=Trample -- Rampaging Monument enters the battlefield with three +1/+1 counters on it. -- Whenever you cast a multicolored spell, put a +1/+1 counter on Rampaging Monument.
mana={4}
type=Artifact Creature
subtype=Cleric
power=0
toughness=0
[/card]
[card]
name=Rampaging Rendhorn
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.)
mana={4}{G}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Rampart Smasher
auto=cantbeblockedby(creature[knight;wall])
text=Rampart Smasher can't be blocked by Knights or Walls.
mana={RG}{RG}{RG}{RG}
type=Creature
subtype=Giant
power=5
toughness=5
[/card]
[card]
name=Ramunap Excavator
auto=lord(land|mygraveyard) CanPlayFromGraveyard
text=You may play land cards from your graveyard.
mana={2}{G}
type=Creature
subtype=Naga Cleric
power=2
toughness=3
[/card]
[card]
name=Ramunap Hydra
abilities=vigilance, reach, trample
auto=aslongas(Desert|myBattlefield) 1/1
auto=aslongas(Desert|myGraveyard) 1/1
text=Vigilance, reach, trample -- Ramunap Hydra gets +1/+1 as long as you control a Desert. -- Ramunap Hydra gets +1/+1 as long as there is a Desert card in your graveyard.
mana={3}{G}
type=Creature
subtype=Snake Hydra
power=3
toughness=3
[/card]
[card]
name=Ramunap Ruins
auto={2}{R}{R}{T}{S(desert|mybattlefield)}:damage:2 opponent
auto={T}:Add{1}
auto={T}{L:1}:Add{R}
text={T}: Add {1} to your mana pool. -- {T}, Pay 1 life: Add {R} to your mana pool. -- {2}{R}{R}, {T}, Sacrifice a Desert: Ramunap Ruins deals 2 damage to each opponent.
type=Land
subtype=Desert
[/card]
[card]
name=Ranar the Ever-Watchful
abilities=flying,vigilance
auto={0}:name(Choose foretell card) target(*[foretell]|myhand) transforms((,newability[{0}:name(Pay 0 and exile face-down) name(Pay 0 and exile face-down) doforetell myturnonly])) ueot limit:1
auto=@movedto(*|myexile) from(myhand):token(Spirit,Creature Spirit,1/1,white,flying)
auto=@movedto(*[-instant;-sorcery]|myexile) from(mybattlefield):token(Spirit,Creature Spirit,1/1,white,flying)
text=Flying, vigilance -- The first card you foretell each turn costs {0} to foretell. -- Whenever you exile one or more cards from your hand and/or permanents from the battlefield, create a 1/1 white Spirit creature token with flying.
mana={2}{W}{U}
type=Legendary Creature
subtype=Spirit Warrior
power=2
toughness=3
[/card]
[card]
name=Ranger Class
auto=counter(0/0,1,Level)
auto=name(Create Wolf) token(Wolf,Creature Wolf,2/2,green)
auto=this(variable{hascntlevel}=1) {1}{G}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=@each my blockers restriction{compare(hascntlevel)~morethan~1}:name(Put 1/1 counter) target(creature[attacking]|battlefield) counter(1/1)
auto=this(variable{hascntlevel}=2) {3}{G}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}>=3) transforms((,newability[showfromtoplibrary],newability[canplaycreaturelibrarytop]))
text=(Gain the next level as a sorcery to add its ability.) -- When Ranger Class enters the battlefield, create a 2/2 green Wolf creature token. -- {1}{G}: Level 2 -- Whenever you attack, put a +1/+1 counter on target attacking creature. -- {3}{G}: Level 3 -- You may look at the top card of your library any time. -- You may cast creature spells from the top of your library.
mana={1}{G}
type=Enchantment
subtype=Class
[/card]
[card]
name=Ranger's Hawk
abilities=flying
auto={3}{T}{T(other creature[-tapped]|mybattlefield)}:if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot asSorcery
text=Flying -- {3}, {T}, Tap another untapped creature you control: Venture into the dungeon. Activate only as a sorcery. (Enter the first room or advance to the next room.)
mana={W}
type=Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Ranger's Longbow
auto={3}:equip
auto=teach(creature) reach
auto=teach(creature) 2/1
text=Equipped creature gets +2/+1 and has reach. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{G}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Ranger-Captain of Eos
auto={S}:maxCast(*[-creature])0 target(opponent)
auto=target(creature[manacost<=1]|mylibrary) moveto(myhand) and!( shuffle )!
text=When Ranger-Captain of Eos enters the battlefield, you may search your library for a creature card with converted mana cost 1 or less, reveal it, put it into your hand, then shuffle your library. -- Sacrifice Ranger-Captain of Eos: Your opponents can't cast noncreature spells this turn.
mana={1}{W}{W}
type=Creature
subtype=Human Soldier Ranger
power=3
toughness=3
[/card]
[card]
name=Ranging Raptors
auto=_ENRAGE_may moveto(mybattlefield) target(basic|mylibrary) && tap
text=Enrage - Whenever Ranging Raptors is dealt damage, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={2}{G}
type=Creature
subtype=Dinosaur
power=2
toughness=3
[/card]
[card]
name=Rank Officer
auto=if type(*|myhand)~morethan~0 then ability$!may reject notatarget(*|myhand) and!(token(Zombie,creature Zombie,black,2/2))! !$ controller
auto={1}{B}{T}{E(creature|mygraveyard)}::life:-3 opponent
text=When Rank Officer enters the battlefield, you may discard a card. If you do, create a 2/2 black Zombie creature token. -- {1}{B}, {T}, Exile a creature card from your graveyard: Each opponent loses 2 life.
mana={3}{B}
type=Creature
subtype=Zombie Soldier
power=3
toughness=1
[/card]
[card]
name=Rankle, Master of Pranks
abilities=flying,haste
auto=@combatdamaged(player) from(this):may name(discard) transforms((,newability[ability$!name(discard) notatarget(*|myhand) reject!$ controller],newability[ability$!name(discard) notatarget(*|myhand) reject!$ opponent])) ueot
auto=@combatdamaged(player) from(this):may name(life and draw) draw:1 controller && draw:1 opponent && life:-1 controller && life:-1 opponent
auto=@combatdamaged(player) from(this):may name(sacrifice) transforms((,newability[ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ controller],newability[ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ opponent])) ueot
text=Flying, haste -- Whenever Rankle, Master of Pranks deals combat damage to a player, choose any number -- Each player discards a card. -- Each player loses 1 life and draws a card. -- Each player sacrifices a creature.
mana={2}{B}{B}
type=Legendary Creature
subtype=Faerie Rogue
power=3
toughness=3
[/card]
[card]
name=Ransack the Lab
aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot
auto=name(look) reveal:3 optionone name(Put in hand) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Rapacious Dragon
abilities=flying
auto=token(435451)*2
text=Flying -- When Rapacious Dragon enters the battlefield, create two Treasure tokens. (They're artifacts with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={4}{R}
type=Creature
subtype=Dragon
power=3
toughness=3
[/card]
[card]
name=Raptor Companion
mana={1}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=1
[/card]
[card]
name=Raptor Hatchling
abilities=trample
auto=_ENRAGE_token(Dinosaur,creature Dinosaur,3/3,green)
text=Enrage - Whenever Raptor Hatchling is dealt damage, create a 3/3 green Dinosaur creature token with trample.
mana={1}{R}
type=Creature
subtype=Dinosaur
power=1
toughness=1
[/card]
[card]
name=Rat Colony
auto=foreach(rat|myBattlefield) 1/0
text=Rat Colony gets +1/+0 for each other Rat you control. -- A deck can have any number of cards named Rat Colony.
mana={1}{B}
type=Creature
subtype=Rat
power=2
toughness=1
[/card]
[card]
name=Raugrin Crystal
abilities=cycling
auto={T}:Add{U}
auto={T}:Add{R}
auto={T}:Add{W}
autohand=__CYCLING__({2})
text={T}: Add {U}, {R}, or {W}. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}
type=Artifact
[/card]
[card]
name=Raugrin Triome
abilities=cycling
auto=tap(noevent)
autohand=__CYCLING__({3})
text=({T}: Add {U}, {R}, or {W}.) -- Raugrin Triome enters the battlefield tapped. -- Cycling {3} ({3}, Discard this card: Draw a card.)
type=Land
subtype=Island Mountain Plains
[/card]
[card]
name=Ravager Wurm
auto=choice name(Counter 1/1 and destroy land) all(this) transforms((,newability[counter(1/1.1)])) forever && target(land[basic]) destroy
auto=choice name(Counter 1/1 and fights creature) transforms((,newability[counter(1/1.1)],newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) forever
auto=choice name(Haste and destroy land) all(this) transforms((,newability[haste all(this)])) forever && target(land[basic]) destroy
auto=choice name(Haste and fights creature) transforms((,newability[haste all(this)],newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) forever
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- When Ravager Wurm enters the battlefield, choose up to one -- Ravager Wurm fights target creature you don't control. -- Destroy target land with an activated ability that isn't a mana ability.
mana={3}{R}{G}{G}
type=Creature
subtype=Wurm
power=4
toughness=5
[/card]
[card]
name=Ravager's Mace
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature) calculateparty/0
auto=teach(creature) menace
auto={2}{B}{R}:equip
text=When Ravager's Mace enters the battlefield, attach it to target creature you control. -- Equipped creature gets +1/+0 for each creature in your party and has menace. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- Equip {2}{B}{R}
mana={1}{B}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Raven Wings
auto={2}:equip
auto=teach(creature) 1/0
auto=teach(creature) flying
auto=teach(creature) transforms((Bird))
text=Equipped creature gets +1/+0, has flying, and is a Bird in addition to its other types. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Ravenform
abilities=foretell
target=*[creature;artifact]|battlefield
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={U} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=moveto(ownerexile) && token(Bird,Creature Bird,1/1,blue,flying) targetController
text=Exile target artifact or creature. Its controller creates a 1/1 blue Bird creature token with flying. -- Foretell {U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Ravenous Chupacabra
auto=destroy target(creature|opponentBattlefield)
text=When Ravenous Chupacabra enters the battlefield, destroy target creature an opponent controls.
mana={2}{B}{B}
type=Creature
subtype=Beast Horror
power=2
toughness=2
[/card]
[card]
name=Ravenous Daggertooth
auto=_ENRAGE_life:2 controller
text=Enrage - Whenever Ravenous Daggertooth is dealt damage, you gain 2 life.
mana={2}{G}
type=Creature
subtype=Dinosaur
power=3
toughness=2
[/card]
[card]
name=Ravenous Giant
auto=@each my upkeep:damage:1 controller
text=At the beginning of your upkeep, Ravenous Giant deals 1 damage to you.
mana={2}{R}{R}
type=Creature
subtype=Giant
power=5
toughness=5
[/card]
[card]
name=Ravenous Gigantotherium
auto=may target(<anyamount>other creature|mybattlefield) sacrifice && counter(1/1,3) all(this)
auto=target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>
text=Devour 3 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with three times that many +1/+1 counters on it.) -- When Ravenous Gigantotherium enters the battlefield, it deals X damage divided as you choose among up to X target creatures, where X is its power. Each of those creatures deals damage equal to its power to Ravenous Gigantotherium.
mana={5}{G}{G}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Ravenous Harpy
abilities=flying
auto={1}{S(other creature|mybattlefield)}:counter(1/1)
text=Flying -- {1}, Sacrifice another creature: Put a +1/+1 counter on Ravenous Harpy.
mana={2}{B}
type=Creature
subtype=Harpy
power=1
toughness=2
[/card]
[card]
name=Ravenous Lindwurm
auto=life:4 controller
text=When Ravenous Lindwurm enters the battlefield, you gain 4 life.
mana={4}{G}{G}
type=Creature
subtype=Wurm
power=6
toughness=6
[/card]
[card]
name=Ravenous Rotbelly
auto=may name(Sacrifice zombies) target(<upto:3>zombie|mybattlefield) sacrifice and!( transforms((,newability[ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature|mybattlefield) sacrifice!$ opponent])) oneshot )!
text=When Ravenous Rotbelly enters the battlefield, you may sacrifice up to three Zombies. When you sacrifice one or more Zombies this way, each opponent sacrifices that many creatures.
mana={4}{B}
type=Creature
subtype=Zombie Horror
power=4
toughness=5
[/card]
[card]
name=Ravenous Slime
auto=cantbeblockedby(creature[power<=2])
auto=@movedto(creature|opponentGraveyard) from(opponentBattlefield):moveTo(exile) && counter(1/1,storedpower)
text=Ravenous Slime can't be blocked by creatures with power 2 or less. -- If a creature an opponent controls would die, instead exile it and put a number of +1/+1 counters equal to that creature's power on Ravenous Slime.
mana={2}{G}
type=Creature
subtype=Ooze
power=1
toughness=1
[/card]
[card]
name=Ravenous Squirrel
auto=@sacrificed(*[creature;artifact]|mybattlefield):counter(1/1) all(this)
auto={1}{B}{G}{S(*[creature;artifact]|mybattlefield)}:name(Gain life and draw) life:1 controller && draw:1 controller
text=Whenever you sacrifice an artifact or creature, put a +1/+1 counter on Ravenous Squirrel. -- {1}{B}{G}, Sacrifice an artifact or creature: You gain 1 life and draw a card.
mana={B or G}
type=Creature
subtype=Squirrel
power=1
toughness=1
[/card]
[card]
name=Raving Dead
abilities=deathtouch,mustattack
auto=@combatdamaged(player) from(this):life:-halfdownopponentlifetotal opponent
text=Deathtouch -- At the beginning of combat on your turn, choose an opponent at random. Raving Dead attacks that player this combat if able. -- Whenever Raving Dead deals combat damage to a player, that player loses half his or her life, rounded down.
mana={4}{B}
type=Creature
subtype=Zombie
power=2
toughness=6
[/card]
[card]
name=Raving Visionary
auto={U}{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
auto=while(restriction{delirium}) {2}{U}{T}:draw:1 controller
text={U}, {T}: Draw a card, then discard a card. -- Delirium-{2}{U}, {T}: Draw a card. Activate only if there are four or more card types among cards in your graveyard.
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=1
[/card]
[card]
name=Ravnica at War
auto=moveto(exile) all(*[multicolor])
text=Exile all multicolored permanents.
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Ravos, Soultender
abilities=flying,partner
auto=lord(other creature|myBattlefield) 1/1
auto=@each my upkeep: may moveTo(myhand) target(creature|mygraveyard)
text=Flying -- Other creatures you control get +1/+1. -- At the beginning of your upkeep, you may return target creature card from your graveyard to your hand. -- Partner (You can have two commanders if both have partner.)
mana={3}{W}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Ray of Enfeeblement
target=creature
auto=-4/-1 ueot
auto=teach(creature[white]) 0/-3 ueot
text=Target creature gets -4/-1 until end of turn. If that creature is white, it gets -4/-4 until end of turn instead.
mana={B}
type=Instant
[/card]
[card]
name=Ray of Frost
abilities=flash
target=creature
auto=teach(creature) doesnotuntap
auto=teach(creature[red]) tap
auto=teach(creature[red]) loseabilities && transforms((,newability[doesnotuntap]))
text=Flash -- Enchant creature -- When Ray of Frost enters the battlefield, if enchanted creature is red, tap it. -- As long as enchanted creature is red, it loses all abilities. -- Enchanted creature doesn't untap during its controller's untap step.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Rayami, First of the Fallen
auto=@movedto(creature[-token]|graveyard) from(battlefield):name(Exile with blood counter) all(trigger[to]) moveto(exile) and!( counter(0/0.1.Blood) )!
auto=aslongas(creature[flying;counter{0/0.1.Blood}]|exile) flying
auto=aslongas(creature[first strike;counter{0/0.1.Blood}]|exile) first strike
auto=aslongas(creature[double strike;counter{0/0.1.Blood}]|exile) double strike
auto=aslongas(creature[deathtouch;counter{0/0.1.Blood}]|exile) deathtouch
auto=aslongas(creature[haste;counter{0/0.1.Blood}]|exile) haste
auto=aslongas(creature[opponentshroud;counter{0/0.1.Blood}]|exile) opponentshroud
auto=aslongas(creature[indestructible;counter{0/0.1.Blood}]|exile) indestructible
auto=aslongas(creature[lifelink;counter{0/0.1.Blood}]|exile) lifelink
auto=aslongas(creature[menace;counter{0/0.1.Blood}]|exile) menace
auto=aslongas(creature[reach;counter{0/0.1.Blood}]|exile) reach
auto=aslongas(creature[trample;counter{0/0.1.Blood}]|exile) trample
auto=aslongas(creature[vigilance;counter{0/0.1.Blood}]|exile) vigilance
auto=aslongas(creature[protection from black;counter{0/0.1.Blood}]|exile) protection from white
auto=aslongas(creature[protection from white;counter{0/0.1.Blood}]|exile) protection from black
auto=aslongas(creature[protection from blue;counter{0/0.1.Blood}]|exile) protection from blue
auto=aslongas(creature[protection from green;counter{0/0.1.Blood}]|exile) protection from green
auto=aslongas(creature[protection from red;counter{0/0.1.Blood}]|exile) protection from red
auto=aslongas(creature[protection from artifact;counter{0/0.1.Blood}]|exile) protection from artifact
text=If a nontoken creature would die, exile that card with a blood counter on it instead. -- As long as an exiled creature card with a blood counter on it has flying, Rayami, First of the Fallen has flying. The same is true for first strike, double strike, deathtouch, haste, hexproof, indestructible, lifelink, menace, protection, reach, trample, and vigilance.
mana={1}{B}{G}{U}
type=Legendary Creature
subtype=Vampire
power=5
toughness=4
[/card]
[card]
name=Rayne, Academy Chancellor
#missing parser for player/controller/opponent
auto=this(auras >= 1) transforms((,newability[@targeted(*|mybattlefield) from(*|opponentzones):draw:2]))
auto=this(auras < 1) transforms((,newability[@targeted(*|mybattlefield) from(*|opponentzones):draw:1]))
text=Whenever you or a permanent you control becomes the target of a spell or ability an opponent controls, you may draw a card. You may draw an additional card if Rayne, Academy Chancellor is enchanted.
mana={2}{U}
type=Legendary Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Razaketh's Rite
abilities=cycling
auto=moveto(myhand) target(*|mylibrary)
autohand=__CYCLING__({B})
text=Search your library for a card and put that card into your hand. Then shuffle your library. -- Cycling {B} ({B}, Discard this card: Draw a card.)
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Razaketh, the Foulblooded
abilities=flying, trample
auto={L:2}{S(other creature|mybattlefield)}:moveto(myhand) target(*|mylibrary)
text=Flying, trample -- Pay 2 life, Sacrifice another creature: Search your library for a card and put that card into your hand. Then shuffle your library.
mana={5}{B}{B}{B}
type=Legendary Creature
subtype=Demon
power=8
toughness=8
[/card]
[card]
name=Raze the Effigy
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact|battlefield) destroy
auto=if type(creature[attacking]|battlefield)~morethan~0 then choice name(Creature gets 2/2) name(Creature gets 2/2) target(creature[attacking]|battlefield) 2/2 ueot
text=Choose one -- Destroy target artifact. -- Target attacking creature gets +2/+2 until end of turn.
mana={R}
type=Instant
[/card]
[card]
name=Razortide Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{W}
auto={T}:add{U}
text=Razortide Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {W} or {U}.
type=Artifact Land
[/card]
[card]
name=Read the Runes
auto=thisforeach(X) draw:1 controller && ability$!name(Choose one) choice name(Discard a card) target(*|myhand) reject _ choice name(Sacrifice a permanent) target(*|mybattlefield) sacrifice!$ controller
text=Draw X cards. For each card drawn this way, discard a card unless you sacrifice a permanent.
mana={X}{U}
type=Instant
[/card]
[card]
name=Read the Tides
auto=choice name(Draw three cards) draw:3 controller
auto=choice name(Return up to two creatures) moveTo(ownerhand) target(<upto:2>creature)
text=Choose one -- Draw three cards. -- Return up to two target creatures to their owners' hands.
mana={5}{U}
type=Sorcery
[/card]
[card]
name=Ready // Willing
abilities=hasnokicker
other={1}{W}{B} name(Willing)
kicker={1}{W}{B} name(Fuse)
auto=if paid(alternative) then all(creature|mybattlefield) transforms((,newability[lifelink],newability[deathtouch])) ueot
auto=if paid(kicker) then all(creature|mybattlefield) transforms((,newability[lifelink],newability[deathtouch])) ueot
auto=ifnot paid(alternative) then all(creature|mybattlefield) transforms((,newability[indestructible],newability[untap])) ueot
text=Creatures you control are indestructible this turn. Untap each creature you control. // Creatures you control gain deathtouch and lifelink until end of turn. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={1}{G}{W}
type=Instant
[/card]
[card]
name=Reality Acid
target=artifact,creature,enchantment,land,planeswalker
auto=vanishing:3
auto=@movedTo(this|nonbattlezone) from(battlefield):sacrifice mytgt
text=Enchant permanent -- Vanishing 3 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Reality Acid leaves the battlefield, enchanted permanent's controller sacrifices it.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Reality Shift
target=creature
auto=moveto(exile)
auto=manifest all(*[zpos=1]|mylibrary) controller
text=Exile target creature. Its controller manifests the top card of their library. (That player puts the top card of their library onto the battlefield face down as a 2/2 creature. If it's a creature card, it can be turned face up any time for its mana cost.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Reality Smasher
abilities=trample,haste
auto=@targeted(this) from(*|opponentzones) restriction{type(*|opponenthand)~equalto~0}:name(Counter spell) target(*|opponentzones) fizzle
auto=@targeted(this) from(*|opponentzones) restriction{type(*|opponenthand)~morethan~0}:choice name(Discard or counter) name(Discard or counter) target(*|opponentzones) transforms((,newability[pay[[{0}]] name(Discard a card) target(*|myhand) reject?fizzle])) oneshot
text=({C} represents colorless mana.) -- Trample, haste -- Whenever Reality Smasher becomes the target of a spell an opponent controls, counter that spell unless its controller discards a card.
mana={4}{C}
type=Creature
subtype=Eldrazi
power=5
toughness=5
[/card]
[card]
name=Realm-Cloaked Giant // Cast Off
abilities=vigilance,adventure
other={3}{W}{W} name(Adventure)
auto=if paid(alternative) then name(Destroy all non-giants) name(Destroy all non-giants) destroy all(creature[-giant]|battlefield)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Vigilance // Destroy all non-Giant creatures. (Then exile this card. You may cast the creature later from exile.)
mana={5}{W}{W}
type=Creature
subtype=Giant
power=7
toughness=7
[/card]
[card]
name=Realmwalker
abilities=changeling,showfromtoplibrary
auto=chooseatype transforms((,newability[this(variable{type:creature[chosentype;zpos=1]:mylibrary}>0) canplayfromlibrarytop])) forever chooseend
text=Changeling (This card is every creature type.) -- As Realmwalker enters the battlefield, choose a creature type. -- You may look at the top card of your library any time. -- You may cast creature spells of the chosen type from the top of your library.
mana={2}{G}
type=Creature
subtype=Shapeshifter
power=2
toughness=3
[/card]
[card]
name=Reap and Sow
other={1}{G} name(Entwine)
auto=ifnot paid(alternative) then choice name(Destroy land) destroy target(land|battlefield)
auto=ifnot paid(alternative) then choice name(Reveal land) reveal:plibrarycount optionone name(choose card) target(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))! afterrevealedend revealend
auto=if paid(alternative) then destroy target(land|battlefield) && name(Reveal land) reveal:plibrarycount optionone name(choose card) target(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))! afterrevealedend revealend
text=Choose one  Destroy target land; or search your library for a land card, put that card onto the battlefield, then shuffle your library. -- Entwine {1}{G} (Choose both if you pay the entwine cost.)
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Reap the Past
auto=moveTo(exile)
auto=this(X=0) donothing
auto=this(X=1) moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=2) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=3) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=4) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=5) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=6) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=7) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=8) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=9) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
auto=this(X=10) moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand) && moverandom(*) from(mygraveyard) to(myhand)
text=Return X cards at random from your graveyard to your hand. Exile Reap the Past.
mana={X}{R}{G}
type=Sorcery
[/card]
[card]
name=Reaper of Night // Harvest Fear
abilities=adventure
other={3}{B} name(Adventure)
auto=if paid(alternative) then ability$!name(discard 2 cards) name(discard 2 cards) target(<2>*|myhand) reject!$ opponent
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto=@combat(attacking) source(this) restriction{type(*|opponenthand)~lessthan~3}:name(Gains flying) all(this) transforms((,newability[flying])) ueot
text=Whenever Reaper of Night attacks, if defending player has two or fewer cards in hand, it gains flying until end of turn. // Target opponent discards two cards. (Then exile this card. You may cast the creature later from exile.)
mana={5}{B}{B} 
type=Creature
subtype=Specter
power=4
toughness=5
[/card]
[card]
name=Reaper's Talisman
auto={2}:equip
auto=teach(creature) transforms((,newability[@combat(attackedalone) source(this):name(Gain life) life:2 controller],newability[@combat(attackedalone) source(this):life:-2 opponent]))
auto=teach(creature) transforms((,newability[_ATTACKING_name(Gains deathtouch) transforms((,newability[deathtouch])) ueot]))
text=Whenever equipped creature attacks, it gains deathtouch until end of turn. -- Whenever equipped creature attacks alone, defending player loses 2 life and you gain 2 life. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Reason // Believe
aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend
autograveyard={4}{G}{E} restriction{type(creature[zpos=1]|mylibrary)~morethan~0}:name(Look top card) all(creature[zpos=1]|mylibrary) moveTo(myhand) and!( transforms((,newability[may name(Put on battlefield) moveto(myBattlefield)])) oneshot )!
autograveyard={4}{G}{E} restriction{type(creature[zpos=1]|mylibrary)~equalto~0}:name(Look top card) all(*[zpos=1]|mylibrary) moveTo(myhand)
text=Scry 3. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Look at the top card of your library. You may put it onto the battlefield if it's a creature card. If you don't, put it into your hand.
mana={U}
type=Sorcery
[/card]
[card]
name=Reaver Ambush
target=creature[power<=3]
auto=moveto(exile)
text=Exile target creature with power 3 or less.
mana={2}{B}
type=Instant
[/card]
[card]
name=Rebbec, Architect of Ascension
abilities=partner
auto=aslongas(artifact[manacost=0]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=0])]))
auto=aslongas(artifact[manacost=1]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=1])]))
auto=aslongas(artifact[manacost=2]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=2])]))
auto=aslongas(artifact[manacost=3]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=3])]))
auto=aslongas(artifact[manacost=4]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=4])]))
auto=aslongas(artifact[manacost=5]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=5])]))
auto=aslongas(artifact[manacost=6]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=6])]))
auto=aslongas(artifact[manacost=7]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=7])]))
auto=aslongas(artifact[manacost=8]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=8])]))
auto=aslongas(artifact[manacost=9]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=9])]))
auto=aslongas(artifact[manacost=10]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=10])]))
auto=aslongas(artifact[manacost=11]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=11])]))
auto=aslongas(artifact[manacost=12]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=12])]))
auto=aslongas(artifact[manacost=13]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=13])]))
auto=aslongas(artifact[manacost=14]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=14])]))
auto=aslongas(artifact[manacost=15]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=15])]))
auto=aslongas(artifact[manacost=16]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=16])]))
auto=aslongas(artifact[manacost=17]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=17])]))
auto=aslongas(artifact[manacost=18]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=18])]))
auto=aslongas(artifact[manacost=19]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=19])]))
auto=aslongas(artifact[manacost=20]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost=20])]))
auto=aslongas(artifact[manacost>20]|myBattlefield) lord(artifact|mybattlefield) transforms((,newability[protection from(*[manacost>20])]))
text=Artifacts you control have protection from each converted mana cost among artifacts you control. -- Partner (You can have two commanders if both have partner.)
mana={3}{W}
type=Legendary Creature
subtype=Human Artificer
power=3
toughness=4
[/card]
[card]
name=Rebuff the Wicked
target=*|stack
restriction=type(*|myBattlefield)~morethan~0
auto=fizzle
text=Counter target spell that targets a permanent you control.
mana={W}
type=Instant
[/card]
[card]
name=Recalibrate
target=creature
auto=moveTo(ownerhand)
auto=if type(*[discarded]|mygraveyard)~morethan~0 then draw:1 controller
text=Return target creature to its owner's hand. If you've discarded a card this turn, draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Recall
target=<prexx>*|myhand
abilities=exiledeath
auto=transforms((,newability[reject],newability[name(Return a card from graveyard) name(Return a card from graveyard) moveto(ownerhand) target(*|mygraveyard)])) forever
text=Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. Exile Recall.
mana={X}{X}{U}
type=Sorcery
[/card]
[card]
name=Reckless Air Strike
auto=choice damage:2 target(creature[flying])
auto=choice destroy target(artifact)
text=Choose one -- Reckless Air Strike deals 3 damage to target creature with flying. -- Destroy target artifact.
mana={R}
type=Sorcery
[/card]
[card]
name=Reckless Amplimancer
auto={4}{G}:p/t ueot
text={4}{G}: Double Reckless Amplimancer's power and toughness until end of turn.
mana={1}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=2
[/card]
[card]
name=Reckless Crew
auto=foreach(vehicle|mybattlefield) token(Dwarf,Creature Dwarf,2/1,red) and!( transforms((,newability[may name(Attach equipment) target(equipment|mybattlefield) transforms((,newability[rehook target(dwarf[token;fresh]|mybattlefield)])) oneshot])) oneshot )!
auto=foreach(equipment|mybattlefield) token(Dwarf,Creature Dwarf,2/1,red) and!( transforms((,newability[may name(Attach equipment) target(equipment|mybattlefield) transforms((,newability[rehook target(dwarf[token;fresh]|mybattlefield)])) oneshot])) oneshot )!
text=Create X 2/1 red Dwarf creature tokens, where X is the number of Vehicles you control plus the number of Equipment you control. For each of those tokens, you may attach an Equipment you control to it.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Reckless Endeavor
auto=all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:name(Damage all creatures) all(creature|battlefield) damage:lastrollresult],newability[name(Roll a d12) rolld12 12 winability donothing winabilityend rolld12end])) oneshot
auto=name(Roll a d12) rolld12 12 winability token(Treasure Sur)*lastrollresult winabilityend loseability token(Treasure Sur)*lastrollresult loseabilityend rolld12end
text=Roll two d12 and choose one result. Reckless Endeavor deals damage equal to that result to each creature. Then create a number of Treasure tokens equal to the other result.
mana={5}{R}{R}
type=Sorcery
[/card]
[card]
name=Reckless Pangolin
auto=_ATTACKING_all(this) 1/1 ueot
text=Whenever Reckless Pangolin attacks, it gets +1/+1 until end of turn.
mana={2}{G}
type=Creature
subtype=Pangolin
power=2
toughness=2
[/card]
[card]
name=Reckless Rage
target=creature|opponentbattlefield
auto=damage:4
auto=name(Deals 2 damages to your creature) name(Deals 2 damages to your creature) damage:2 target(creature|mybattlefield)
text=Reckless Rage deals 4 damage to target creature you don't control and 2 damage to target creature you control.
mana={R}
type=Instant
[/card]
[card]
name=Reckless Ringleader
abilities=haste
auto=name(Creature perpetually gains haste) target(creature|myhand) counter(0/0.1.PerpetualHaste)
auto=emblem transforms((,newability[lord(creature[counter{0/0.1.PerpetualHaste}]) transforms((,newability[haste])) forever dontremove
text=Haste -- When Reckless Ringleader enters the battlefield, choose a creature card in your hand. It perpetually gains haste.
mana={R}
type=Creature
subtype=Goblin Shaman
power=1
toughness=1
[/card]
[card]
name=Reckless Stormseeker
abilities=daybound
backside=Storm-Charged Slasher
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@each my combatbegins:name(Creature gets 1/0 and haste) target(creature|mybattlefield) transforms((,newability[1/0],newability[haste])) ueot
text=At the beginning of combat on your turn, target creature you control gets +1/+0 and gains haste until end of turn. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Storm-Charged Slasher
mana={2}{R}
type=Creature
subtype=Human Werewolf
power=2
toughness=3
[/card]
[card]
name=Reclaim the Wastes
aicode=activate target(<upto:2>land[basic]|myLibrary) moveTo(myHand)
kicker={3}
auto=if paid(kicker) then name(search two card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<2>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=ifnot paid(kicker) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. If this spell was kicked, search your library for two basic land cards instead of one.
mana={G}
type=Instant
[/card]
[card]
name=Reclamation
auto=lord(creature[black;-canattack]|battlefield) transforms((,newability[becomes(^^black)],newability[cantattack],newability[{S(land|myBattlefield)}:name(Sacrifice a land to attack) canattack ueot attackersonly]))
text=Black creatures can't attack unless their controller sacrifices a land for each black creature he or she controls that's attacking.
mana={2}{G}{W}
type=Enchantment
[/card]
[card]
name=Reconnaissance Mission
abilities=cycling
auto=@combatdamagefoeof(player) from(creature|myBattlefield):may draw:1 controller
autohand=__CYCLING__({2})
text=Whenever a creature you control deals combat damage to a player, you may draw a card. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{U}{U}
type=Enchantment
[/card]
[card]
name=Reconstruct History
abilities=exiledeath
auto=ability$!may name(Return artifact) name(Return artifact) target(artifact|mygraveyard) moveto(myhand)!$ controller
auto=ability$!may name(Return enchantment) name(Return enchantment) target(enchantment|mygraveyard) moveto(myhand)!$ controller
auto=ability$!may name(Return instant) name(Return instant) target(instant|mygraveyard) moveto(myhand)!$ controller
auto=ability$!may name(Return sorcery) name(Return sorcery) target(sorcery|mygraveyard) moveto(myhand)!$ controller
auto=ability$!may name(Return planeswalker) name(Return planeswalker) target(planeswalker|mygraveyard) moveto(myhand)!$ controller
text=Return up to one target artifact card, up to one target enchantment card, up to one target instant card, up to one target sorcery card, and up to one target planeswalker card from your graveyard to your hand. -- Exile Reconstruct History.
mana={2}{R}{W}
type=Sorcery
[/card]
[card]
name=Recruit the Worthy
buyback={3}
auto=create(soldier:creature soldier:1/1:white)
text=Buyback {3} (You may pay an additional 3 as you cast this spell. If you do, put this card into your hand as it resolves.) -- Create a 1/1 white Soldier creature token.
mana={W}
type=Instant
[/card]
[card]
name=Recruiter of the Guard
aicode=activate target(creature[toughness<=2]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[toughness<=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=When Recruiter of the Guard enters the battlefield, you may search your library for a creature card with toughness 2 or less, reveal it, put it into your hand, then shuffle your library.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Recycle
auto=phasealter(remove,draw,controller)
auto=@movedTo(*[-land]|mystack):draw:1
auto=hmodifer:-5 controller
text=Skip your draw step. -- Whenever you cast a spell, draw a card. -- Your maximum hand size is two.
mana={4}{G}{G}
type=Enchantment
[/card]
[card]
name=Red Dragon
abilities=flying
auto=name(Fire Breath) damage:4 opponent
text=Flying -- Fire Breath - When Red Dragon enters the battlefield, it deals 4 damage to each opponent.
mana={4}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Redcap Melee
auto=choice name(damage non-red target) damage:4 target(creature[-red],planeswalker[-red]) && ability$!destroy target(land)!$ controller
auto=choice name(damage red target) damage:4 target(creature[red],planeswalker[red])
text=Redcap Melee deals 4 damage to target creature or planeswalker. If a nonred permanent is dealt damage this way, you sacrifice a land.
mana={R}
type=Instant
[/card]
[card]
name=Redcap Raiders
auto=_ATTACKING_may name(tap non-Human) tap target(creature[-human,-tapped]|myBattlefield) and!(1/1)! ueot
text=Whenever Redcap Raiders attacks, you may tap an untapped non-Human creature you control. If you do, Redcap Raiders gets +1/+1 and gains trample until end of turn.
mana={2}{R}
type=Creature
subtype=Goblin Warrior
power=3
toughness=2
[/card]
[card]
name=Redirect
target=*[instant;sorcery]|stack
auto=may name(Choose new targets) fizzle && activate castcard(copied noevent costx!:mytargx:! kicked!:mytargkicked:!)
text=You may choose new targets for target spell.
mana={U}{U}
type=Instant
[/card]
[card]
name=Reduce // Rubble
target=*|stack
auto=transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever restriction{type(*|stack)~morethan~0}
autograveyard={2}{R}{E}:target(<upto:3>land) freeze asSorcery
text=Counter target spell unless its controller pays {3}. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Up to three target lands don't untap during their controller's next untap step.
mana={2}{U}
type=Instant
[/card]
[card]
name=Reduce to Memory
target=*[-land]|battlefield
auto=moveto(ownerexile) and!( transforms((,newability[token(Spirit^Creature Spirit^3/2^red^white)])) oneshot )!
text=Exile target nonland permanent. Its controller creates a 3/2 red and white Spirit creature token.
mana={1}{W}{W}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Reef Worm
auto=_DIES_token(Fish Reef)
text=When Reef Worm dies, put a 3/3 blue Fish creature token onto the battlefield with "When this creature dies, put a 6/6 blue Whale creature token onto the battlefield with "When this creature dies, put a 9/9 blue Kraken creature token onto the battlefield."."
mana={3}{U}
type=Creature
subtype=Worm
power=0
toughness=1
[/card]
[card]
name=Reflections of Littjara
auto=chooseatype all(this) transforms((,newability[@movedTo(*[chosentype]|mystack):all(trigger[to]) clone])) forever chooseend
text=As Reflections of Littjara enters the battlefield, choose a creature type. -- Whenever you cast a spell of the chosen type, copy that spell. (A copy of a permanent spell becomes a token.)
mana={4}{U}
type=Enchantment
[/card]
[card]
name=Reflective Golem
auto=@targeted(this) from(*[instant;sorcery]|myzones):pay({2}) name(Pay 2 and copy) all(*[instant;sorcery]|mystack) activate castcard(copied)
text=Whenever you cast an instant or sorcery spell that targets only Reflective Golem, you may pay {2}. If you do, copy that spell. You may choose new targets for the copy.
mana={3}
type=Artifact Creature
subtype=Golem
power=2
toughness=3
[/card]
[card]
name=Refuse // Cooperate
target=*|stack
auto=damage:manacost
autograveyard={2}{U}{E}:castcard(noevent) target(*|stack)
text=Refuse deals damage to target spell's controller equal to that spell's converted mana cost. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Copy target instant or sorcery spell. You may choose new targets for the copy.
mana={3}{R}
type=Instant
[/card]
[card]
name=Regal Behemoth
abilities=trample
auto=_MONARCH_CONTROLLER_
auto=lord(land|myBattlefield) transforms((,newability[this(variable{pmonarch}>0) produceextra:selectmana]))
text=Trample -- When Regal Behemoth enters the battlefield, you become the monarch. -- Whenever you tap a land for mana while you're the monarch, add one mana of any color to your mana pool (in addition to the mana the land produces).
mana={4}{G}{G}
type=Creature
subtype=Lizard
power=5
toughness=5
[/card]
[card]
name=Regal Bloodlord
abilities=flying
auto=@each endofturn restriction{compare(lifegain)}:create(bat:creature bat:1/1:black:flying)
text=Flying -- At the beginning of each end step, if you gained life this turn, create a 1/1 black Bat creature token with flying.
mana={3}{W}{B}
type=Creature
subtype=Vampire Soldier
power=2
toughness=4
[/card]
[card]
name=Regal Caracal
auto=lord(other cat|mybattlefield) 1/1
auto=lord(other cat|mybattlefield) lifelink
auto=token(Cat,creature Cat,1/1,white)*2
text=Other Cats you control get +1/+1 and have lifelink. -- When Regal Caracal enters the battlefield, create two 1/1 white Cat creature tokens with lifelink.
mana={3}{W}{W}
type=Creature
subtype=Cat
power=3
toughness=3
[/card]
[card]
name=Regal Leosaur
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={1}{RW}{RW} name(Mutate)
auto=transforms((,newability[@mutated(this):all(other creature|myBattlefield) 2/1 ueot]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {1}{RW}{RW} -- (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, other creatures you control get +2/+1 until end of turn.
mana={R}{W}
type=Creature
subtype=Dinosaur Cat
power=2
toughness=2
[/card]
[card]
name=Regenesis
target=<upto:2>*[-instant;-sorcery]|myGraveyard
auto=moveTo(ownerHand)
text=Return up to two target permanent cards from your graveyard to your hand.
mana={3}{G}{G}
type=Instant
[/card]
[card]
name=Regisaur Alpha
auto=lord(other dinosaur|mybattlefield) haste
auto=token(Dinosaur,creature Dinosaur,3/3,green,trample)
text=Other Dinosaurs you control have haste. -- When Regisaur Alpha enters the battlefield, create a 3/3 green Dinosaur creature token with trample.
mana={3}{R}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Regna's Sanction
auto=counter(1/1) all(creature|myBattlefield)
auto=ability$!name(select untapped creature) notatarget(creature[-tapped]|mybattlefield) transforms((,newability[all(other creature|myBattlefield) tap]))!$ opponent
text=For each player, choose friend or foe. Each friend puts a +1/+1 counter on each creature they control. Each foe chooses one untapped creature they control, then taps the rest.
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Regna, the Redeemer
abilities=flying,partner
auto=may name(Put partner in hand) moveto(myhand) target(krav^ the unredeemed|mylibrary)
auto=@each endofturn restriction{compare(lifegain)~morethan~0}:create(warrior:creature warrior:1/1:white:)*2
text=Partner with Krav, the Unredeemed (When this creature enters the battlefield, target player may put Krav into their hand from their library, then shuffle.) -- Flying -- At the beginning of each end step, if your team gained life this turn, create two 1/1 white Warrior creature tokens.
mana={5}{W}
type=Legendary Creature
subtype=Angel
power=4
toughness=4
[/card]
[card]
name=Reidane, God of the Worthy
abilities=flying,vigilance
other={3}{W} name(Valkmira, Protector's Shield)
otherrestriction=can play artifact,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Valkmira, Protector's Shield)
autostack=if paid(alternative) then flip(Valkmira, Protector's Shield) forcetype(Legendary Artifact)
auto=@movedto(*[snow]|opponentbattlefield) restriction{compare(isflipped)~equalto~0}:all(trigger[to]) tap(noevent)
auto=this(variable{isflipped}<1) lord(*[-creature;manacost>=4]|opponentcastingzone]) altercost(colorless,+2)
text=Flying, vigilance -- Snow lands your opponents control enter the battlefield tapped. -- Noncreature spells your opponents cast with converted mana cost 4 or more cost {2} more to cast. // {3}{W} Valkmira, Protector's Shield
mana={2}{W}
type=Legendary Creature
subtype=God
power=2
toughness=3
[/card]
[card]
name=Reign of Chaos
target=land[island;plains]|battlefield
auto=destroy
auto=destroy target(creature[white;blue]|battlefield)
text=Choose one  Destroy target Plains and target white creature; or destroy target Island and target blue creature.
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Reincarnation
target=creature
auto=transforms(,newability[_DIES_target(creature|ownergraveyard) moveto(ownerbattlefield)])) ueot
text=Choose target creature. When that creature dies this turn, return a creature card from its owner's graveyard to the battlefield under the control of that creature's owner.
mana={1}{G}{G}
type=Instant
[/card]
[card]
name=Reinterpret
target=*|stack
auto=fizzle
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then name(Cast spell from hand) may name(Cast spell from hand) target(*[-land;manacost<=storedmanacost]|myhand) activate castcard(normal)
text=Counter target spell. You may cast a spell with an equal or lesser mana value from your hand without paying its mana cost.
mana={2}{U}{R}
type=Instant
[/card]
[card]
name=Reject
target=*[creature;planeswalker]|stack
auto=transforms((,newability[pay [[{3}]] name(pay 3 mana) donothing?fizzleto(exile)])) oneshot
text=Counter target creature or planeswalker spell unless its controller pays {3}. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.
mana={1}{U}
type=Instant
[/card]
[card]
name=Rejuvenating Springs
auto=tap(noevent)
auto={T}:add{G}
auto={T}:add{U}
text=Rejuvenating Springs enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {G} or {U}.
type=Land
[/card]
[card]
name=Rekindling Phoenix
abilities=flying
auto=_DIES_token(Elemental Phoenix)
text=Flying -- When Rekindling Phoenix dies, create a 0/1 red Elemental creature token with "At the beginning of your upkeep, sacrifice this creature and return target card named Rekindling Phoenix from your graveyard to the battlefield. It gains haste until end of turn."
mana={2}{R}{R}
type=Creature
subtype=Phoenix
power=4
toughness=3
[/card]
[card]
name=Release the Dogs
auto=create(Dog:Creature Dog:1/1:white)*4
text=Create four 1/1 white Dog creature tokens.
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Release to the Wind
target=*[-land]|battlefield
auto=moveto(exile) and!( transforms((,canplayfromexile)) forever )!
text=Exile target nonland permanent. For as long as that card remains exiled, its owner may cast it without paying its mana cost.
mana={2}{B}
type=Instant
[/card]
[card]
name=Relentless Advance
auto=_AMASS_(3) 
text=Amass 3. (Put three +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Relentless Dead
autograveyard=_DIES_name(return relentless dead) pay({B}) moveTo(hand)
auto=_DIES_choice name(rturn cost X) pay({1}) moveTo(battlefield) target(other zombie|mygraveyard)
text=Menace (This creature can't be blocked except by two or more creatures.) -- When Relentless Dead dies, you may pay {B}. If you do, return it to its owner's hand. -- When Relentless Dead dies, you may pay {X}. If you do, return another target Zombie creature card with converted mana cost X from your graveyard to the battlefield.
mana={B}{B}
abilities=menace
type=Creature
subtype=Zombie
power=2
toughness=2
[/card]
[card]
name=Relentless Pursuit
abilities=hiddenface
aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerhand)
auto=name(look) reveal:4 optionone name(Get a card) target(<1>*[creature,land]|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Reveal the top four cards of your library. You may put a creature card and/or land card from among them into your hand. Put the rest into your graveyard.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Relentless Raptor
abilities=vigilance, mustattack, mustblock
text=Vigilance -- Relentless Raptor attacks or blocks each combat if able.
mana={R}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Relic Amulet
auto=@movedTo(*[instant;sorcery;wizard]|myStack):counter(0/0,1,Charge) all(this)
auto={2}{T}:thisforeach(counter{0/0.1.Charge}) counter(0/0,-1,Charge) all(this) && damage:1 target(creature)
text=Whenever you cast an instant, sorcery, or Wizard spell, put a charge counter on Relic Amulet. -- {2}, {T}, Remove all charge counters from Relic Amulet: It deals that much damage to target creature.
mana={2}
type=Artifact
[/card]
[card]
name=Relic Axe
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature[-warrior]) 1/1
auto=teach(creature[warrior]) 2/1
auto={2}:equip
text=When Relic Axe enters the battlefield, attach it to target creature you control. -- Equipped creature gets +1/+1. If it's a Warrior, it gets +2/+1 instead. -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Relic Golem
auto=aslongas(*|opponentGraveyard) cantattack <8
auto=aslongas(*|opponentGraveyard) cantpwattack <8
auto=aslongas(*|opponentGraveyard) cantblock <8
auto={2}{T}:name(Target controller) name(Target controller) deplete:2 controller
auto={2}{T}:name(Target opponent) name(Target opponent) deplete:2 opponent
text=Relic Golem can't attack or black unless an opponent has eight or more cards in their graveyard. -- {2}, {T}: Target player mills two cards. (They put the top two cards of their library into their graveyard.)
mana={3}
type=Artifact Creature
subtype=Golem
power=6
toughness=6
[/card]
[card]
name=Relic Robber
abilities=haste
auto=@combatdamaged(player) from(this):token(Goblin Construct,Creature Artifact Goblin Construct,0/1,cantblock) and!(transforms((,newability[@each my upkeep:damage:1 controller])) forever)! opponent
text=Haste -- Whenever Relic Robber deals combat damage to a player, that player creates a 0/1 colorless Goblin Construct artifact creature token with "This creature can't block" and "At the beginning of your upkeep, this creature deals 1 damage to you."
mana={2}{R}
type=Creature
subtype=Goblin Rogue
power=2
toughness=2
[/card]
[card]
name=Relic Runner
auto=@movedTo(*[artifact;legendary;saga]|mystack):unblockable ueot
text=Relic Runner can't be blocked if you've cast a historic spell this turn. (Artifacts, legendaries, and Sagas are historic.)
mana={1}{U}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Relic Sloth
abilities=vigilance,menace
text=Vigilance -- Menace (This creature can't be blocked except by two or more creatures.)
mana={3}{R}{W}
type=Creature
subtype=Beast
power=4
toughness=4
[/card]
[card]
name=Relic Vial
auto={2}{T}{S(creature|myBattlefield)}:name(Draw a card) name(Draw a card) draw:1 controller
auto=@movedTo(creature|myGraveyard) from(Battlefield) restriction{type(creature[cleric]|myBattlefield)~morethan~0}:life-1 opponent && life:1 controller
text={2}, {T}, Sacrifice a creature: Draw a card. -- As long as you control a Cleric, Relic Vial has "Whenever a creature you control dies, each opponent loses 1 life and you gain 1 life."
mana={3}
type=Artifact
[/card]
[card]
name=Rem Karolus, Stalwart Slayer
abilities=flying,haste
auto=preventalldamage to(controller) from(*|stack)
auto=preventalldamage to(*|mybattlefield) from(*|stack)
auto=@damaged(*|opponentbattlefield) from(*|stack):all(trigger[to]) damage:1
auto=@damagefoeof(player) from(*|stack):ability$!name(Damage opponent) name(Damage opponent) damage:1 opponent!$ controller
text=Flying, haste -- If a spell would deal damage to you or another permanent you control, prevent that damage. -- If a spell would deal damage to an opponent or a permanent an opponent controls, it deals that much damage plus 1 instead.
type=Legendary Creature
subtype=Human Knight
mana={1}{R}{W}
power=2
toughness=3
[/card]
[card]
name=Remedy
auto=thisforeach(variable{5}) ability$!name(Prevent 1 damage) name(Prevent 1 damage) prevent:1 target(creature,player)!$ controller
text=Prevent the next 5 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose.
mana={1}{W}
type=Instant
[/card]
[card]
name=Remember the Fallen
target=*[creature;artifact]|mygraveyard
auto=choice name(Choose one) moveto(myhand)
auto=choice name(Choose both) moveto(myhand) && moveto(myhand) target(*[creature;artifact]|mygraveyard)
text=Choose one or both Return target creature card from your graveyard to your hand; and/or return target artifact card from your graveyard to your hand.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Remorseful Cleric
abilities=flying
auto={S}:choice name(Exile cards in graveyard) moveTo(exile) all(*|targetedpersonsgraveyard) target(player)
text=Flying -- Sacrifice Remorseful Cleric: Exile all cards from target player's graveyard.
mana={1}{W}
type=Creature
subtype=Spirit Cleric
power=2
toughness=1
[/card]
[card]
name=Remorseless Punishment
auto=ability$!name(Choose one) choice name(Pay 5 life) life:-5 controller _ choice name(Discards 2 cards) notatarget(<2>*|myhand) reject _ choice name(Sacrifice) notatarget(*[creature;planeswalker]|mybattlefield)!$ opponent
text=Target opponent loses 5 life unless that player discards two cards or sacrifices a creature or planeswalker. Repeat this process once.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Renata, Called to the Hunt
anyzone=type:manaG:mybattlefield/3 cdaactive
auto=@movedTo(other creature|mybattlefield):all(trigger[to]) counter(1/1.1)
text=Renata's power is equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts towards your devotion to green.) -- Each other creature you control enters the battlefield with an additional +1/+1 counter on it.
mana={2}{G}{G}
type=Legendary Enchantment Creature
subtype=Demigod
power=*
toughness=3
[/card]
[card]
name=Renegade Doppelganger
auto=@movedto(other creature|myBattlefield) restriction{compare(iscopied)~equalto~0}:may name(Copy creature) all(trigger[to]) copy and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(Renegade Doppelganger) undocpy])) forever )!
text=Whenever another creature enters the battlefield under your control, you may have Renegade Doppelganger become a copy of that creature until end of turn. (If it does, it loses this ability for the rest of the turn.)
mana={1}{U}
type=Creature
subtype=Shapeshifter
power=0
toughness=1
[/card]
[card]
name=Renegade Krasis
auto=evolve
auto=@counteradded(1/1) from(this):all(creature[counter{1/1.1}]|mybattlefield) counter(1/1)
text=Evolve (Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.) -- Whenever Renegade Krasis evolves, put a +1/+1 counter on each other creature you control with a +1/+1 counter on it.
mana={1}{G}{G}
type=Creature
subtype=Beast Mutant
power=3
toughness=2
[/card]
[card]
name=Renegade Reaper
abilities=flying
auto=if type(angel[zpos<=4]|mylibrary)~morethan~0 then deplete:4 controller && life:4 controller
auto=if type(angel[zpos<=4]|mylibrary)~equalto~0 then deplete:4 controller
text=Flying -- When Renegade Reaper enters the battlefield, mill four cards. If at least one Angel card is milled this way, you gain 4 life. (To mill a card, put the top card of your library into your graveyard.)
mana={2}{B}
type=Creature
subtype=Angel Berserker
power=2
toughness=3
[/card]
[card]
name=Renowned Weaponsmith
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{C}{C}
auto=this(variable{type:artifact:mybattlefield}>0) {T}:add{C}{C}
aicode=activate moveTo(myBattlefield) target(*[Vial of Dragonfire;Heart-Piercer Bow]|myLibrary)
auto={U}{T}:name(search card) reveal:plibrarycount revealzone(mylibrary) optionone name(choose card) target(<1>*[Vial of Dragonfire;Heart-Piercer Bow]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text={T}: Add {2} to your mana pool. Spend this mana only to cast artifact spells or activate abilities of artifacts. -- {U}, {T}: Search your library for a card named Heart-Piercer Bow or Vial of Dragonfire, reveal it, put it into your hand, then shuffle your library.
mana={1}{U}
type=Creature
subtype=Human Artificer
power=1
toughness=3
[/card]
[card]
name=Repeated Reverberation
#The abilities cannot be targeted or activated twice ATM.
auto=emblem transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:name(Copy spell) all(trigger[to]) transforms((,newability[activate castcard(copied noevent costx!:x:! kicked!:kicked:!)])) oneshot])) ueot
text=When you next cast an instant spell, cast a sorcery spell, or activate a loyalty ability this turn, copy that spell or ability twice. You may choose new targets for the copies.
mana={2}{R}{R}
type=Instant
[/card]
[card]
name=Repeating Barrage
target=creature,player
auto=damage:3
autograveyard={3}{R}{R} restriction{raid}:moveto(myhand)
text=Repeating Barrage deals 3 damage to target creature or player. -- Raid-{3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked with a creature this turn.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Repel Intruders
other={3}{U} name(Pay blue mana)
auto=if paid(alternative) then target(creature|stack) fizzle
kicker={U}
auto=kicker ifnot paid(alternative) then target(creature|stack) fizzle
auto=ifnot paid(alternative) then ttoken(Kithkin Soldier,creature kithkin soldier,1/1,white)*2
text=Put two 1/1 white Kithkin Soldier creature tokens onto the battlefield if {W} was spent to cast Repel Intruders. Counter up to one target creature spell if {U} was spent to cast Repel Intruders. (Do both if {W}{U} was spent.)
mana={3}{W}
type=Instant
[/card]
[card]
name=Replicating Ring
auto={T}:add{W}
auto={T}:add{B}
auto={T}:add{G}
auto={T}:add{U}
auto={T}:add{R}
auto=this(cantargetcard(*[-token]) transforms((,newability[@each my upkeep:counter(0/0.1.Night)]))
auto=@counteradded(0/0,1,Night) from(this) restriction{compare(hascntnight)~equalto~8}:this(cantargetcard(*[-token]) removeallcounters(0/0,1,Night) && token(Replicating Ring)*8
text={T}: Add one mana of any color. -- At the beginning of your upkeep, put a night counter on Replicating Ring. Then if it has eight or more night counters on it, remove all of them and create eight colorless snow artifact tokens named Replicated Ring with " {T}: Add one mana of any color."
mana={3}
type=Snow Artifact
[/card]
[card]
name=Replication Technique
other={4}{U} name(Demonstrate)
auto=name(Copy permanent) target(*|mybattlefield) clone
auto=if paid(alternative) then ability$!name(Copy permanent) name(Copy permanent) target(*|mybattlefield) clone!$ controller
auto=if paid(alternative) then ability$!name(Copy permanent) name(Copy permanent) target(*|mybattlefield) clone!$ opponent
text=Demonstrate (When you cast this spell, you may copy it. If you do, choose an opponent to also copy it. Players may choose new targets for their copies.) -- Create a token that's a copy of target permanent you control.
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Reprobation
target=creature
auto=loseabilities
auto=transforms((,setpower=0,settoughness=1))
auto=transforms((coward))
text=Enchant creature -- Enchanted creature loses all abilities and is a Coward creature with base power and toughness 0/1. (It keeps all supertypes but loses all other types and creature types.)
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Reptilian Reflection
auto=cycled(*|myHand):transforms((Dinosaur Creature,setpower=5,settoughness=4,red,haste,trample)) ueot
text=Whenever you cycle a card, you may have Reptilian Reflection become a 5/4 Dinosaur creature with trample and haste in addition to its other types until end of turn.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Repudiate // Replicate
other={1}{G}{U} name(Replicate)
otherrestriction=myturnonly
auto=ifnot paid(alternative) then name(Counter target spell) target(*|stack) fizzle
auto=if paid(alternative) then name(Copy creature) clone target(creature|mybattlefield)
text=Counter target activated or triggered ability. -- (Mana abilities can't be targeted.) -- Create a token that's a copy of target creature you control.
mana={GU}{GU}
type=Instant
[/card]
[card]
name=Rescue from the Underworld
target=creature|mygraveyard
auto=phaseaction[my upkeep once]:moveto(mybattlefield) && moveTo(mybattlefield) target(creature|mygraveyard)
auto=moveto(myexile) all(this)
text=As an additional cost to cast Rescue from the Underworld, sacrifice a creature. -- Choose target creature card in your graveyard. Return that card and the sacrificed card to the battlefield under your control at the beginning of your next upkeep. Exile Rescue from the Underworld.
mana={4}{B}{S(creature|mybattlefield)}
type=Instant
[/card]
[card]
name=Rescuer Sphinx
abilities=flying
auto=may target(*[-land]|myBattlefield) moveto(ownerhand) && counter(1/1,1) all(this)
text=Flying -- As Rescuer Sphinx enters the battlefield, you may return a nonland permanent you control to its owner's hand. If you do, Rescuer Sphinx enters the battlefield with a +1/+1 counter on it.
mana={2}{U}{U}
type=Creature
subtype=Sphinx
power=3
toughness=2
[/card]
[card]
name=Resculpt
target=artifact,creature
auto=moveto(exile) and!( transforms((,newability[token(Elemental^Creature Elemental^4/4^blue^red)])) oneshot
text=Exile target artifact or creature. Its controller creates a 4/4 blue and red Elemental creature token.
mana={1}{U}
type=Instant
[/card]
[card]
name=Research // Development
other={3}{U}{R} name(Development)
auto=ifnot paid(alternative) then name(Search sideboard) reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose 4 cards) target(<upto:4>*|reveal) moveto(mylibrary) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend afterrevealed shuffle controller afterrevealedend revealend
auto=if paid(alternative) then ability$!name(Choose one) choice name(Create Elemental) create(Elemental:creature Elemental:3/1:red)*2 opponent _ choice name(Draw cards) draw:2 opponent!$ opponent
text=Choose up to four cards you own from outside the game and shuffle them into your library. // Put a 3/1 red Elemental creature token onto the battlefield unless any opponent has you draw a card. Repeat this process two more times.
mana={G}{U}
type=Instant
[/card]
[card]
name=Reshape the Earth
auto=name(search 10 lands) reveal:plibrarycount optionone name(choose card) target(<upto:10>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=Search your library for up to ten land cards, put them onto the battlefield tapped, then shuffle your library.
mana={6}{G}{G}{G}
type=Sorcery
[/card]
[card]
name=Resilient Khenra
auto=may target(creature) dynamicability<!powerpumpboth!> ueot
autograveyard={4}{G}{G}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=When Resilient Khenra enters the battlefield, you may have target creature get +X/+X until end of turn, where X is Resilient Khenra's power. -- Eternalize {4}{G}{G} ({4}{G}{G}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Jackal Wizard with no mana cost. Eternalize only as a sorcery.)
mana={1}{G}
type=Creature
subtype=Jackal Wizard
power=2
toughness=2
[/card]
[card]
name=Resolute Rider
auto={WB}{WB}:lifelink ueot
auto={WB}{WB}{WB}:indestructible ueot
text={WB}{WB}: Resolute Rider gains lifelink until end of turn. -- {WB}{WB}{WB}: Resolute Rider gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={WB}{WB}{WB}{WB}
type=Creature
subtype=Human Knight
power=4
toughness=2
[/card]
[card]
name=Resolute Strike
auto=choice name(Target non Warrior) target(creature[-warrior]) 2/2 ueot
auto=choice name(Target Warrior) target(creature[warrior]) 2/2 ueot && may ability$!name(Attach equipment) name(Attach equipment) target(equipment|mybattlefield) newhook!$ controller
text=Target creature gets +2/+2 until end of turn. If it's a Warrior, you may attach an Equipment you control to it.
mana={W}
type=Instant
[/card]
[card]
name=Resolute Survivors
auto=@exerted(creature|myBattlefield):damage:1 opponent 
auto=@exerted(creature|myBattlefield):life:1
auto=_ATTACKING_may exert
text=You may exert Resolute Survivors as it attacks. (It won't untap during your next untap step.) -- Whenever you exert a creature, Resolute Survivors deals 1 damage to each opponent and you gain 1 life.
mana={1}{R}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Resolute Watchdog
abilities=defender
auto={1}{S}:indestructible target(creature|myBattlefield)
text=Defender -- {1}, Sacrifice Resolute Watchdog: Target creature you control gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={W}
type=Creature
subtype=Dog
power=1
toughness=3
[/card]
[card]
name=Resplendent Angel
abilities=flying
auto=@each endofturn restriction{compare(lifegain)~morethan~5}:create(angel:creature angel:4/4:white:flying,vigilance)
auto={3}{W}{W}{W}:2/2 && lifelink ueot
text=Flying -- At the beginning of each end step, if you gained 5 or more life this turn, create a 4/4 white Angel creature token with flying and vigilance. -- {3}{W}{W}{W}: Until end of turn, Resplendent Angel gets +2/+2 and gains lifelink.
mana={1}{W}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Resplendent Griffin
abilities=flying
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[_ATTACKING_counter(1/1)]))
text=Flying -- Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Whenever Resplendent Griffin attacks, if you have the city's blessing, put a +1/+1 counter on it.
mana={1}{W}{U}
type=Creature
subtype=Griffin
power=2
toughness=2
[/card]
[card]
name=Resplendent Marshal
abilities=flying
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Don't exile any creature) name(Don't exile any creature) donothing
auto=if type(creature[-angel;-warrior]|mygraveyard)~morethan~0 then choice name(Exile non-angel and non-warrior) name(Exile non-angel and non-warrior) target(creature[-angel;-warrior]|mygraveyard) moveTo(Exile) and!( transforms((,newability[all(*[creature;share!types!]|mybattlefield) counter(1/1)])) oneshot )!
auto=if type(creature[angel;warrior]|mygraveyard)~morethan~0 then choice name(Exile angel or warrior) name(Exile angel or warrior) target(creature[angel;warrior]|mygraveyard) moveTo(Exile) and!( transforms((,newability[all(*[creature;share!types!]|mybattlefield) counter(1/1)],newability[all(Resplendent Marshal|mybattlefield) counter(1/1.-1)])) oneshot )!
auto=_DIES_may name(Exile another creature) target(other creature|mygraveyard) moveTo(Exile) and!( transforms((,newability[all(*[creature;share!types!]|mybattlefield) counter(1/1)])) oneshot )!
text=Flying -- When Resplendent Marshal enters the battlefield or dies, you may exile another creature card from your graveyard. When you do, put a +1/+1 counter on each creature you control other than Resplendent Marshal that shares a creature type with the exiled card.
mana={1}{W}{W}
type=Creature
subtype=Angel Warrior
power=3
toughness=3
[/card]
[card]
name=Response // Resurgence
other={3}{R}{W} name(Resurgence)
otherrestriction=myturnonly
auto=if paid(alternative) then all(creature|mybattlefield) transforms((,newability[first strike],newability[vigilance])) ueot asSorcery
auto=if paid(alternative) then nextphasealter(add,combatphaseswithmain,controller,after<this>) asSorcery
auto=ifnot paid(alternative) then damage:5 target(creature[attacking;blocking])
text=Response deals 5 damage to target attacking or blocking creature. -- Creatures you control gain first strike and vigilance until end of turn. After this main phase, there is an additional combat phase followed by an additional main phase.
mana={RW}{RW}
type=Instant
[/card]
[card]
name=Restless Dreams
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && moveto(myhand) target(*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(myhand) target(<2>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(myhand) target(<3>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(myhand) target(<4>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(myhand) target(<5>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(myhand) target(<6>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(myhand) target(<7>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(myhand) target(<8>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(myhand) target(<9>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(myhand) target(<10>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(myhand) target(<11>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(myhand) target(<12>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(myhand) target(<13>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(myhand) target(<14>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(myhand) target(<15>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(myhand) target(<16>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(myhand) target(<17>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(myhand) target(<18>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(myhand) target(<19>*[creature]|mygraveyard)
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(myhand) target(<20>*[creature]|mygraveyard)
text=As an additional cost to cast Restless Dreams, discard X cards. -- Return X target creature cards from your graveyard to your hand.
mana={B}
type=Sorcery
[/card]
[card]
name=Restorative Burst
abilities=doublefacedeath
auto=name(Return to hand) target(<upto:2>*[creature;land;planeswalker]|mygraveyard) moveto(myhand)
auto=life:4 opponent
auto=life:4 controller
text=Return up to two target creature, land, and/or planeswalker cards from your graveyard to your hand. Each player gains 4 life. Exile Restorative Burst. // {2}{B} Pestilent Cauldron
mana={3}{G}{G}
type=Sorcery
[/card]
[card]
name=Resurgent Belief
suspend(2)={1}{W}
auto=all(enchantment|myGraveyard) moveto(myBattlefield)
text=Suspend 2-{1}{W} (Rather than cast this card from your hand, pay {1}{W} and exile it with two time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- Return all enchantment cards from your graveyard to the battlefield. (Auras with nothing to enchant remain in your graveyard.)
mana={0}
restriction=never
color=white
type=Sorcery
[/card]
[card]
name=Retribution
auto=ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent
auto=ability$!counter(-1/-1) notatarget(creature|mybattlefield)!$ opponent
text=Choose two target creatures an opponent controls. That player chooses and sacrifices one of those creatures. Put a -1/-1 counter on the other.
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Retributive Wand
auto={3}{T}:damage 1 target(player,creature,planeswalker)
auto=_DIES_damage 5 target(player,creature,planeswalker)
text={3}, {T}: Retributive Wand deals 1 damage to any target. -- When Retributive Wand is put into a graveyard from the battlefield, it deals 5 damage to any target.
mana={3}
type=Artifact
[/card]
[card]
name=Retriever Phoenix
abilities=flying,haste
auto=if casted(this) then name(Learn) name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Flying, haste -- When Retriever Phoenix enters the battlefield, if you cast it, learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.) -- As long as Retriever Phoenix is in your graveyard, if you would learn, you may instead return Retriever Phoenix to the battlefield.
mana={3}{R}
type=Creature
subtype=Phoenix
power=2
toughness=2
[/card]
[card]
name=Retrofitter Foundry
auto={3}:untap
auto={2}{T}:create(servo artifact:creature servo artifact:1/1:colorless:)
auto={1}{T}[S(Servo|myBattlefield)}:create(thopter artifact:creature thopter artifact:1/1:colorless:flying)
auto={T}[S(Thopter|myBattlefield)}:create(construct artifact:creature construct artifact:4/4:colorless:)
text={3}: Untap Retrofitter Foundry. -- {2}, {T}: Create a 1/1 colorless Servo artifact creature token. -- {1}, {T}, Sacrifice a Servo: Create a 1/1 colorless Thopter artifact creature token with flying. -- {T}, Sacrifice a Thopter: Create a 4/4 colorless Construct artifact creature token.
mana={1}
type=Artifact
[/card]
[card]
name=Return Upon the Tide
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={3}{B} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=if type(creature[-elf]|mygraveyard)~morethan~0 then choice name(Return non-elf creature)name(Return non-elf creature) target(creature[-elf]|mygraveyard) moveTo(mybattlefield)
auto=if type(creature[elf]|mygraveyard)~morethan~0 then choice name(Return elf creature)name(Return elf creature) target(creature[elf]|mygraveyard) moveTo(mybattlefield) && token(Warrior,Creature Elf Warrior,1/1,green)*2
text=Return target creature card from your graveyard to the battlefield. If it's an Elf, create two 1/1 green Elf Warrior creature tokens. -- Foretell {3}{B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Return from Extinction
restriction=type(creature|mygraveyard)~morethan~0
auto=choice name(Return 1 creature) target(creature|mygraveyard) moveTo(myhand)
auto=if type(creature|mygraveyard)~morethan~1 then choice name(Return 2 creatures) name(Return 2 creatures) target(creature|mygraveyard) moveTo(myhand) and!( transforms((,newability[name(Choose another creature) target(other *[creature;share!types!]|mygraveyard) moveTo(myhand)])) oneshot )!
text=Choose one -- Return target creature card from your graveyard to your hand. -- Return two target creature cards that share a creature type from your graveyard to your hand.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Return of the Wildspeaker
auto=choice draw:power:highest:creature[-human]:mybattlefield controller
auto=choice all(creature[-human]|mybattlefield) 3/3 ueot
text=Choose one -- Draw cards equal to the greatest power among non-Human creatures you control. -- Non-Human creatures you control get +3/+3 until end of turn.
mana={4}{G}
type=Instant
[/card]
[card]
name=Return to Nature
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) destroy target(artifact)
auto=if type(artifact|enchantment)~morethan~0 then choice name(Destroy enchantment) name(Destroy enchantment) destroy target(enchantment)
auto=if type(*|graveyard)~morethan~0 then choice name(Exile a card) name(Exile a card) moveto(exile) target(*|graveyard)
text=Choose one -- Destroy target artifact. -- Destroy target enchantment. -- Exile target card from a graveyard.
mana={1}{G}
type=Instant
[/card]
[card]
name=Return to the Ranks
other={convoke} name(Convoke)
auto=moveto(mybattlefield) target(<prex>creature[manacost<=2]|mygraveyard)
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Return X target creature cards with converted mana cost 2 or less from your graveyard to the battlefield.
mana={X}{W}{W}
type=Sorcery
[/card]
[card]
name=Returned Pastcaller
abilities=flying
auto=name(Return spirit or instant or sorcery) target(*[spirit;instant;sorcery]|mygraveyard) moveto(myhand)
text=Flying -- When Returned Pastcaller enters the battlefield, return target Spirit, instant, or sorcery card from your graveyard to your hand.
mana={3}{R}{RW}{W}
type=Creature
subtype=Spirit Cleric
power=4
toughness=2
[/card]
[card]
name=Revel in Riches
auto=@movedto(creature|opponentgraveyard) from(opponentbattlefield):token(435451)
auto=@each my upkeep restriction{type(TreasureArtifactToken|mybattlefield)~morethan~9}:winGame controller
text=Whenever a creature an opponent controls dies, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- At the beginning of your upkeep, if you control ten or more Treasures, you win the game.
mana={4}{B}
type=Enchantment
[/card]
[card]
name=Revel in Silence
abilities=doublefacedeath
auto=maxCast(*)0 opponent
auto=emblem transforms((,newability[lord(*[planeswalker]|opponentbattlefield) noactivatedability])) ueot
text=Your opponents can't cast spells or activate planeswalkers' loyalty abilities this turn. -- Exile Revel in Silence. // {1}{R} Flamescroll Celebrant
mana={W}{W}
type=Instant
[/card]
[card]
name=Revelation
abilities=showopponenthand,showcontrollerhand
text=Players play with their hands revealed.
mana={G}
type=World Enchantment
[/card]
[card]
name=Revenge of Ravens
auto=@combat(attacking) source(creature|opponentBattlefield):life:-1 opponent && life:1 controller
text=Whenever a creature attacks you or a planeswalker you control, that creature's controller loses 1 life and you gain 1 life.
mana={3}{B}
type=Enchantment
[/card]
[card]
name=Revenge of the Drowned
target=creature
auto=transforms((,newability[choice name(Put on top) moveto(ownerlibrary)],newability[choice name(Put on bottom) bottomoflibrary])) oneshot
auto=token(Zombie Dec)
text=Target creature's owner puts it on the top or bottom of their library. You create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
mana={3}{U}
type=Instant
[/card]
[card]
name=Reverent Hoplite
auto=token(Soldier,Creature Human Soldier,1/1,white)*type:manaW
text=When Reverent Hoplite enters the battlefield, create a number of 1/1 white Human Soldier creature tokens equal to your devotion to white. (Each {W} in the mana costs of permanents you control counts toward your devotion to white.)
mana={4}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=2
[/card]
[card]
name=Reversal of Fortune
auto=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(Copy instant or sorcery) target(<1>*[instant;sorcery]|reveal) transforms((,newability[may activate castcard(copied noevent)])) oneshot and!(all(*|reveal) moveto(ownerhand))! optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) oneshot optiontwoend revealend
text=Target opponent reveals his or her hand. You may copy an instant or sorcery card in it. If you do, you may cast the copy without paying its mana cost.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Reverse the Sands
target=player
auto=lifeset:20 targetedplayer
text=Redistribute any number of players' life totals. (Each of those players gets one life total back.)
mana={6}{W}{W}
type=Sorcery
[/card]
[card]
name=Revitalize
auto=life:3
auto=draw:1
text=You gain 3 life. -- Draw a card.
mana={1}{W}
type=Instant
[/card]
[card]
name=Revival // Revenge
other={4}{W}{B} name(Revenge)
auto=if paid(alternative) then life:lifetotal controller && life:-halfupopponentlifetotal opponent
auto=ifnot paid(alternative) then target(creature[manacost<=3]|mygraveyard) moveto(mybattlefield)
text=Return target creature card with converted mana cost 3 or less from your graveyard to the battlefield. -- Double your life total. Target opponent loses half their life, rounded up.
mana={WB}{WB}
type=Sorcery
[/card]
[card]
name=Revival Experiment
abilities=exiledeath
auto=if type(planeswalker|mygraveyard)~morethan~0 then ability$!name(Return planeswalker) may name(Return planeswalker) target(planeswalker|mygraveyard) moveto(mybattlefield) and!( life:-3 controller )! !$ controller
auto=if type(creature|mygraveyard)~morethan~0 then ability$!name(Return creature) may name(Return creature) target(creature|mygraveyard) moveto(mybattlefield) and!( life:-3 controller )! !$ controller
auto=if type(land|mygraveyard)~morethan~0 then ability$!name(Return land) may name(Return land) target(land|mygraveyard) moveto(mybattlefield) and!( life:-3 controller )! !$ controller
auto=if type(enchantment|mygraveyard)~morethan~0 then ability$!name(Return enchantment) may name(Return enchantment) target(enchantment|mygraveyard) moveto(mybattlefield) and!( life:-3 controller )! !$ controller
auto=if type(artifact|mygraveyard)~morethan~0 then ability$!name(Return artifact) may name(Return artifact) target(artifact|mygraveyard) moveto(mybattlefield) and!( life:-3 controller )! !$ controller
text=For each permanent type, return up to one card of that type from your graveyard to the battlefield. You lose 3 life for each card returned this way. Exile Revival Experiment.
mana={4}{B}{G}
type=Sorcery
[/card]
[card]
name=Revivify
auto=if type(*|mygraveyard)~morethan~0 then name(Roll a d20) name(Roll a d20) all(*[zpos=1]|mygraveyard) transforms((,newability[@dierolled(*|mygraveyard) from(controller) once:if compare(lastrollresultplustype:creature[fresh]:mygraveyardplusend)~lessthan~15 then all(creature[fresh]|mygraveyard) moveto(myhand) else all(creature[fresh]|mygraveyard) moveto(mybattlefield)],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot
auto=if type(*|mygraveyard)~equalto~0 then name(Roll a d20) name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end
text=Roll a d20 and add the number of creature cards in your graveyard that were put there from the battlefield this turn. -- 1-14 | Return all creature cards in your graveyard that were put there from the battlefield this turn to your hand. -- 15+ | Return those cards from your graveyard to the battlefield.
mana={2}{W}
type=Instant
[/card]
[card]
name=Revolutionist
abilities=madness
autoexile=restriction{discarded} pay({3}{R}) name(pay 3R to cast) activate name(pay 3R to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
auto=name(Return instant or sorcery) target(*[instant;sorcery]|myGraveyard) moveto(myHand)
text=When Revolutionist enters the battlefield, return target instant or sorcery card from your graveyard to your hand. -- Madness {3}{R} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={5}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Reyav, Master Smith
auto=@combat(attacking) source(creature[enchanted]|myBattlefield):all(trigger[to]) transforms((,newability[double strike])) ueot
auto=@combat(attacking) source(creature[geared]|myBattlefield):all(trigger[to]) transforms((,newability[double strike])) ueot
text=Whenever a creature you control that's enchanted or equipped attacks, that creature gains double strike until end of turn.
mana={R}{W}
type=Legendary Creature
subtype=Dwarf Artificer
power=2
toughness=2
[/card]
[card]
name=Reyhan, Last of the Abzan
abilities=partner
auto=counter(1/1,3)
auto=@movedTo(creature[counter{1/1.1}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,1)
auto=@movedTo(creature[counter{1/1.1}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,1)
auto=@movedTo(creature[counter{1/1.2}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,2)
auto=@movedTo(creature[counter{1/1.2}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,2)
auto=@movedTo(creature[counter{1/1.3}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,3)
auto=@movedTo(creature[counter{1/1.3}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,3)
auto=@movedTo(creature[counter{1/1.4}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,4)
auto=@movedTo(creature[counter{1/1.4}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,4)
auto=@movedTo(creature[counter{1/1.5}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,5)
auto=@movedTo(creature[counter{1/1.5}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,5)
auto=@movedTo(creature[counter{1/1.6}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,6)
auto=@movedTo(creature[counter{1/1.6}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,6)
auto=@movedTo(creature[counter{1/1.7}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,7)
auto=@movedTo(creature[counter{1/1.7}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,7)
auto=@movedTo(creature[counter{1/1.8}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,8)
auto=@movedTo(creature[counter{1/1.8}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,8)
auto=@movedTo(creature[counter{1/1.9}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,9)
auto=@movedTo(creature[counter{1/1.9}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,9)
auto=@movedTo(creature[counter{1/1.10}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,10)
auto=@movedTo(creature[counter{1/1.10}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,10)
auto=@movedTo(creature[counter{1/1.11}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,11)
auto=@movedTo(creature[counter{1/1.11}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,11)
auto=@movedTo(creature[counter{1/1.12}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,12)
auto=@movedTo(creature[counter{1/1.12}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,12)
auto=@movedTo(creature[counter{1/1.13}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,13)
auto=@movedTo(creature[counter{1/1.13}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,13)
auto=@movedTo(creature[counter{1/1.14}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,14)
auto=@movedTo(creature[counter{1/1.14}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,14)
auto=@movedTo(creature[counter{1/1.15}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,15)
auto=@movedTo(creature[counter{1/1.15}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,15)
auto=@movedTo(creature[counter{1/1.16}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,16)
auto=@movedTo(creature[counter{1/1.16}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,16)
auto=@movedTo(creature[counter{1/1.17}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,17)
auto=@movedTo(creature[counter{1/1.17}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,17)
auto=@movedTo(creature[counter{1/1.18}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,18)
auto=@movedTo(creature[counter{1/1.18}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,18)
auto=@movedTo(creature[counter{1/1.19}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,19)
auto=@movedTo(creature[counter{1/1.19}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,19)
auto=@movedTo(creature[counter{1/1.20}]|mygraveyard) from(Battlefield):may target(creature|myBattlefield) counter(1/1,20)
auto=@movedTo(creature[counter{1/1.20}]|mycommandzone) from(Battlefield):may target(creature|myBattlefield) counter(1/1,20)
text=Reyhan, Last of the Abzan enters the battlefield with three +1/+1 counters on it. -- Whenever a creature you control dies or is put into the command zone, if it had one or more +1/+1 counters on it, you may put that many +1/+1 counters on target creature. -- Partner (You can have two commanders if both have partner.)
mana={1}{B}{G}
type=Legendary Creature
subtype=Human Warrior
power=0
toughness=0
[/card]
[card]
name=Rhet-Crop Spearmaster
auto=@exerted(this):transforms((,newability[1/0],newability[first strike])) ueot
auto=_ATTACKING_may exert
text=You may exert Rhet-Crop Spearmaster as it attacks. When you do, it gets +1/+0 and gains first strike until end of turn. (An exerted creature won't untap during your next untap step.)
mana={2}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=1
[/card]
[card]
name=Rhizome Lurcher
auto=foreach(creature|mygraveyard) counter(1/1)
text=Undergrowth - Rhizome Lurcher enters the battlefield with a number of +1/+1 counters on it equal to the number of creature cards in your graveyard.
mana={2}{B}{G}
type=Creature
subtype=Fungus Zombie
power=2
toughness=2
[/card]
[card]
name=Rhonas the Indomitable
abilities=deathtouch, indestructible
auto=aslongas(other creature[power>=4]|mybattlefield) cantattack <1
auto=aslongas(other creature[power>=4]|mybattlefield) cantpwattack <1
auto=aslongas(other creature[power>=4]|mybattlefield) cantblock <1
auto={2}{G}:target(other creature|mybattlefield) 2/0 && trample ueot
text=Deathtouch, indestructible -- Rhonas the Indomitable can't attack or block unless you control another creature with power 4 or greater. -- {2}{G}: Another target creature gets +2/+0 and gains trample until end of turn.
mana={2}{G}
type=Legendary Creature
subtype=God
power=5
toughness=5
[/card]
[card]
name=Rhonas's Last Stand
auto=token(Snake,creature Snake,5/4,green)
auto=all(land|mybattlefield) frozen
text=Create a 5/4 green Snake creature token. Lands you control don't untap during your next untap step.
mana={G}{G}
type=Sorcery
[/card]
[card]
name=Rhonas's Monument
auto=lord(creature[green]|mycastingzone) altercost(colorless,-1)
auto=@movedto(creature|mystack):target(creature|mybattlefield) transforms((,newability[2/2 ueot],newability[trample ueot]))
text=Green creature spells you cast cost {1} less to cast. -- Whenever you cast a creature spell, target creature you control gets +2/+2 and gains trample until end of turn.
mana={3}
type=Legendary Artifact
[/card]
[card]
name=Rhonas's Stalwart
auto=@exerted(this):1/1 ueot
auto=@exerted(this):cantbeblockedby(power<=2) ueot
auto=_ATTACKING_may exert
text=You may exert Rhonas's Stalwart as it attacks. When you do, it gets +1/+1 until end of turn and can't be blocked by creatures with power 2 or less this turn. (An exerted creature won't untap during your next untap step.)
mana={1}{G}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Rhox Faithmender
abilities=lifelink
auto=@lifeof(player) from(*[-Rhox Faithmender]):life:thatmuch
auto=@damaged(creature,player) from(Rhox Faithmender|myBattlefield):life:thatmuch
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- If you would gain life, you gain twice that much life instead.
mana={3}{W}
type=Creature
subtype=Rhino Monk
power=1
toughness=5
[/card]
[card]
name=Rhox Oracle
auto=draw:1
text=When Rhox Oracle enters the battlefield, draw a card.
mana={4}{G}
type=Creature
subtype=Rhino Monk
power=4
toughness=2
[/card]
[card]
name=Rhox Veteran
auto=_ATTACKING_all(other creature[attacking]) 1/0 ueot
auto=_ATTACKING_target(creature|opponentBattlefield) tap(noevent)
text=Battle cry (Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn.) -- Whenever Rhox Veteran attacks, tap target creature an opponent controls.
mana={3}{W}
type=Creature
subtype=Rhino Soldier
power=2
toughness=4
[/card]
[card]
name=Rhystic Cave
auto={T}:ability$!name(Add green mana) pay[[{1}]] name(pay 1 mana) donothing?add{G}!$ opponent
auto={T}:ability$!name(Add blue mana) pay[[{1}]] name(pay 1 mana) donothing?add{U}!$ opponent
auto={T}:ability$!name(Add black mana) pay[[{1}]] name(pay 1 mana) donothing?add{B}!$ opponent
auto={T}:ability$!name(Add red mana) pay[[{1}]] name(pay 1 mana) donothing?add{R}!$ opponent
auto={T}:ability$!name(Add white mana) pay[[{1}]] name(pay 1 mana) donothing?add{W}!$ opponent
text={T}: Choose a color. Add one mana of that color to your mana pool unless any player pays {1}. Activate this ability only any time you could cast an instant.
type=Land
[/card]
[card]
name=Rhystic Lightning
target=creature,player
auto=ability$!name(pay to reduce damage) pay[[{2}]] name(pay 2 mana) damage:2?damage:4!$ opponent
text=Rhystic Lightning deals 4 damage to target creature or player unless that creature's controller or that player pays {2}. If he or she does, Rhystic Lightning deals 2 damage to the creature or player.
mana={2}{R}
type=Instant
[/card]
[card]
name=Rhystic Scrying
auto=draw:3 controller
auto=ability$!name(pay to discard) pay[[{2}]] name(pay 2 mana) discard:3 opponent?donothing!$ opponent
text=Draw three cards. Then, if any player pays {2}, discard three cards.
mana={2}{U}{U}
type=Sorcery
[/card]
[card]
name=Rhystic Syphon
auto=ability$!name(pay o lose life) pay[[{3}]] name(pay 3 mana) donothing?life:-5 controller && life:5 opponent!$ opponent
text=Unless target player pays {3}, he or she loses 5 life and you gain 5 life.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Rhythm of the Wild
auto=lord(creature|mystack) nofizzle
auto=@movedto(creature[-token]|mybattlefield):name(Gains riot) all(trigger[to]) transforms((,newability[choice name(Put 1/1 counter) counter(1/1)],newability[choice name(Gain haste) transforms((,newability[haste])) forever])) forever 
text=Creature spells you control can't be countered. -- Nontoken creatures you control have riot. (They enter the battlefield with your choice of a +1/+1 counter or haste.)
mana={1}{R}{G}
type=Enchantment
[/card]
[card]
name=Rhythmic Water Vortex
target=<upto:2>creature
auto=moveTo(ownerhand)
auto=may moveto(myhand) target(Mu Yanling|mylibrary,mygraveyard) && shuffle
text=Return up to two target creatures to their owner's hand. -- Search your library and/or graveyard for a card named Mu Yanling, reveal it, and put it into your hand. If you searched your library this way, shuffle it.
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Ribbon Snake
abilities=flying
auto={2}:-flying ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) notatarget(Ribbon Snake[flying]|opponentBattlefield)-flying ueot?donothing!$ opponent])) forever
text=Flying -- {2}: Ribbon Snake loses flying until end of turn. Any player may activate this ability.
mana={1}{U}{U}
type=Creature
subtype=Snake
power=2
toughness=3
[/card]
[card]
name=Ricochet Trap
target=*[instant;sorcery]|stack
other={R} name(Opponent casted blue spell)
otherrestriction=thisturn(*[blue]|opponentstack)~morethan~0
auto=fizzle && activate castcard(copied noevent costx!:mytargx:! kicked!:mytargkicked:!)
text=If an opponent cast a blue spell this turn, you may pay {R} rather than pay Ricochet Trap's mana cost. -- Change the target of target spell with a single target.
mana={3}{R}
type=Instant
subtype=Trap
[/card]
[card]
name=Riddleform
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedTo(*[-creature]|mystack):may transforms((Sphinx Creature,setpower=3,settoughness=3,flying)) ueot					    
auto={2}{U}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Whenever you cast a noncreature spell, you may have Riddleform become a 3/3 Sphinx creature with flying in addition to its other types until end of turn. -- {2}{U}: Scry 1.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Riddlemaster Sphinx
abilities=flying
auto=may moveto(ownerHand) target(creature|opponentBattlefield)
text=Flying -- When Riddlemaster Sphinx enters the battlefield, you may return target creature an opponent controls to its owner's hand.
mana={4}{U}{U}
type=Creature
subtype=Sphinx
power=5
toughness=5
[/card]
[card]
name=Ride Down
target=creature[blocking]
auto=destroy
auto=target(creature[attacking]) trample ueot
text=Destroy target blocking creature. Creatures that were blocked by that creature this combat gain trample until end of turn.
mana={R}{W}
type=Instant
[/card]
[card]
name=Ride the Avalanche
target=*[-land]|myhand,mycommandzone,mygraveyard,myexile
auto=transforms((,newability[flash])) ueot
auto=emblem transforms((,newability[@movedto(*|mystack) once:all(trigger[to]) transforms((,newability[may name(Put 1/1 counters) target(creature|battlefield) counter(1/1.manacost)])) oneshot])) ueot
text=The next spell you cast this turn can be cast as though it had flash. When you cast your next spell this turn, put X +1/+1 counters on up to one target creature, where X is the mana value of that spell.
mana={G}{U}
type=Instant
[/card]
[card]
name=Rielle, the Everwise
auto=foreach(*[instant,sorcery]|myGraveyard) 1/0
auto=@discarded(*|myHand) turnlimited:draw:1 controller
text=Rielle, the Everwise gets +1/+0 for each instant and sorcery card in your graveyard. -- Whenever you discard one or more cards for the first time each turn, draw that many cards.
mana={1}{U}{R}
type=Legendary Creature
subtype=Human Wizard
power=0
toughness=3
[/card]
[card]
name=Rienne, Angel of Rebirth
abilities=flying
auto=lord(creature[multicolor]|myBattlefield) 1/0
auto=@movedTo(creature[multicolor]|graveyard) from(battlefield):phaseaction[endofturn once] moveTo(ownerhand) ueot
text=Flying -- Other multicolored creatures you control get +1/+0. -- Whenever another multicolored creature you control dies, return it to its owner's hand at the beginning of the next end step.
mana={2}{R}{G}{W}
type=Legendary Creature
subtype=Angel
power=5
toughness=4
[/card]
[card]
name=Rift Elemental
auto={1}{R}{C(0/0,-1,Time),*|mybattlefield}:name(remove a time counter) 2/0 ueot
text={1}{R}, Remove a time counter from a permanent you control or suspended card you own: Rift Elemental gets +2/+0 until end of turn.
mana={R}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Rift Sower
suspend(2)={G}
auto={T}:name(Add red mana) add{R}
auto={T}:name(Add white mana) add{W}
auto={T}:name(Add blue mana) add{U}
auto={T}:name(Add black mana) add{B}
auto={T}:name(Add green mana) add{G}
text={T}: Add one mana of any color. -- Suspend 2-{G} (Rather than cast this card from your hand, you may pay {G} and exile it with two time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.)
mana={2}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=3
[/card]
[card]
name=Riftsweeper
auto=name(Shuffle back exiled card) target(*|exile) moveto(ownerlibrary) and!( shuffle )!
text=When Riftsweeper enters the battlefield, choose target face-up exiled card. Its owner shuffles it into his or her library.
mana={1}{G}
type=Creature
subtype=Elf Shaman
power=2
toughness=2
[/card]
[card]
name=Rigging Runner
abilities=first strike
auto=if raid then counter(1/1,1)
text=First strike -- Raid - Rigging Runner enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.
mana={R}
type=Creature
subtype=Goblin Pirate
power=1
toughness=1
[/card]
[card]
name=Righteous Confluence
auto=choice name(Choose 1, 1, 1) token(Knight,Creature Knight,2/2,white,vigilance)*3
auto=choice name(Choose 1, 1, 2) token(Knight,Creature Knight,2/2,white,vigilance)*2 && target(enchantment|battlefield) moveto(exile)
auto=choice name(Choose 1, 1, 3) token(Knight,Creature Knight,2/2,white,vigilance)*2 && life:5 controller
auto=choice name(Choose 1, 2, 2) token(Knight,Creature Knight,2/2,white,vigilance) && target(<2>enchantment|battlefield) moveto(exile)
auto=choice name(Choose 1, 2, 3) token(Knight,Creature Knight,2/2,white,vigilance) && target(enchantment|battlefield) moveto(exile) && life:5 controller
auto=choice name(Choose 2, 2, 2) target(<3>enchantment|battlefield) moveto(exile)
auto=choice name(Choose 2, 2, 3) target(<2>enchantment|battlefield) moveto(exile) && life:5 controller
auto=choice name(Choose 2, 3, 3) target(enchantment|battlefield) moveto(exile) && life:10 controller
auto=choice name(Choose 3, 3, 3) life:15 controller
text=Choose three. You may choose the same mode more than once. -- Put a 2/2 white Knight creature token with vigilance onto the battlefield. -- Exile target enchantment. -- You gain 5 life.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Righteous Valkyrie
abilities=flying
auto=@movedto(other *[angel;cleric]|mybattlefield):all(trigger[to]) dynamicability<!mytgt toughnesslifegain targetcontroller!>
auto=this(variable{pdiffinitlife}>6) lord(creature|myBattlefield) 2/2
text=Flying -- Whenever another Angel or Cleric enters the battlefield under your control, you gain life equal to that creature's toughness. -- As long as you have at least 7 life more than your starting life total, creatures you control get +2/+2.
mana={2}{W}
type=Creature
subtype=Angel Cleric
power=2
toughness=4
[/card]
[card]
name=Rile
target=creature|myBattlefield
auto=damage:1
auto=trample
auto=draw:1
text=Rile deals 1 damage to target creature you control. That creature gains trample until end of turn. -- Draw a card.
mana={R}
type=Sorcery
[/card]
[card]
name=Rime Tender
auto={T}:untap target(other *[snow]|battlefield)
text={T}: Untap another target snow permanent.
mana={1}{G}
type=Snow Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Rimehorn Aurochs
abilities=trample
auto=_ATTACKING_all(this) foreach(other aurochs[attacking]) 1/0 ueot
auto={2}{i}:target(creature|battlefield) mustblock ueot
text=Trample -- Whenever Rimehorn Aurochs attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. -- {2}{S{i}: Target creature blocks target creature this turn if able. ({S{i} can be paid with one mana from a snow permanent.)
mana={4}{G}
type=Snow Creature
subtype=Aurochs
power=3
toughness=3
[/card]
[card]
name=Rimeshield Frost Giant
abilities=flying
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 3 more) name(This spell costs 3 more) target(*|opponentzones) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
text=Ward {3} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {3}.)
mana={3}{U}{U}
type=Creature
subtype=Giant Warrior
power=4
toughness=5
[/card]
[card]
name=Rimewood Falls
auto=tap(noevent)
text=({T}: Add {G} or {U}.) -- Rimewood Falls enters the battlefield tapped.
type=Snow Land
subtype=Forest Island
[/card]
[card]
name=Rimrock Knight // Boulder Rush
abilities=cantblock,adventure,asflash
restriction=can play creature
other={R} name(Adventure)
auto=if paid(alternative) then name(Creature gets 2/0) target(creature|battlefield) 2/0 ueot
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Rimrock Knight can't block. // Target creature gets +2/+0 until end of turn. (Then exile this card. You may cast the creature later from exile.)
mana={1}{R}
type=Creature
subtype=Dwarf Knight
power=3
toughness=1
[/card]
[card]
name=Rin and Seri, Inseparable
auto=@movedTo(*[dog]|myStack):token(Cat Rin)
auto=@movedTo(*[cat]|myStack):token(Dog Rin)
auto={R}{G}{W}{T}:ability$!name(Choose one) choice name(Damage player and gain life) damage:type:dog:myBattlefield target(player) && life:type:cat:myBattlefield controller _ choice name(Damage creature and gain life) damage:type:dog:myBattlefield target(creature) && life:type:cat:myBattlefield controller _ choice name(Damage planeswalker and gain life) damage:type:dog:myBattlefield target(planeswalker) && life:type:cat:myBattlefield controller!$ controller
text=Whenever you cast a Dog spell, create a 1/1 green Cat creature token. -- Whenever you cast a Cat spell, create a 1/1 white Dog creature token. -- {R}{G}{W}, {T}: Rin and Seri, Inseparable deals damage to any target equal to the number of Dogs you control. You gain life equal to the number of Cats you control.
mana={1}{R}{G}{W}
type=Legendary Creature
subtype=Dog Cat
power=4
toughness=4
[/card]
[card]
name=Ring of Immortals
auto={3}{T}:target(*[instant;aura]|opponentstack) fizzle
text={3}, {T}: Counter target instant or Aura spell that targets a permanent you control.
mana={5}
type=Artifact
[/card]
[card]
name=Ring of Ma'ruf
auto={5}{T}{E}:transforms((,newability[replacedraw target(*|mysideboard) moveto(myhand)])) ueot
text={5}, {T}, Exile Ring of Ma'ruf: The next time you would draw a card this turn, instead choose a card you own from outside the game and put it into your hand.
mana={5}
type=Artifact
[/card]
[card]
name=Rionya, Fire Dancer
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~1}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~2}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~3}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~4}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~5}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~6}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~7}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~8}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~9}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~10}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~11}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~12}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~13}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~14}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~15}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~16}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~17}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~18}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~equalto~19}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
auto=@each my combatbegins restriction{thisturn(*[instant;sorcery]|mystack)~morethan~19}:name(Copy creature) target(other creature|mybattlefield) transforms((,newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)],newability[clone with(unearth^haste)])) oneshot
text=At the beginning of combat on your turn, create X tokens that are copies of another target creature you control, where X is one plus the number of instant and sorcery spells you've cast this turn. They gain haste. Exile them at the beginning of the next end step.
mana={3}{R}{R}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=4
[/card]
[card]
name=Rip Apart
auto=choice name(Deals 3 damage) target(creature,planeswalker) damage:3
auto=choice name(Destroy artifact or enchantment) target(artifact,enchantment) destroy
text=Choose one -- Rip Apart deals 3 damage to target creature or planeswalker. -- Destroy target artifact or enchantment.
mana={R}{W}
type=Sorcery
[/card]
[card]
name=Ripjaw Raptor
auto=_ENRAGE_draw:1 controller
text=Enrage - Whenever Ripjaw Raptor is dealt damage, draw a card.
mana={2}{G}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=5
[/card]
[card]
name=Riptide Mangler
auto={1}{U} restriction{type(creature[power=0]|battlefield)~morethan~0}:name(Set power to 0) name(Set power to 0) transforms((,setpower=0)) forever
auto={1}{U} restriction{type(creature[power=1]|battlefield)~morethan~0}:name(Set power to 1) name(Set power to 1) transforms((,setpower=1)) forever
auto={1}{U} restriction{type(creature[power=2]|battlefield)~morethan~0}:name(Set power to 2) name(Set power to 2) transforms((,setpower=2)) forever
auto={1}{U} restriction{type(creature[power=3]|battlefield)~morethan~0}:name(Set power to 3) name(Set power to 3) transforms((,setpower=3)) forever
auto={1}{U} restriction{type(creature[power=4]|battlefield)~morethan~0}:name(Set power to 4) name(Set power to 4) transforms((,setpower=4)) forever
auto={1}{U} restriction{type(creature[power=5]|battlefield)~morethan~0}:name(Set power to 5) name(Set power to 5) transforms((,setpower=5)) forever
auto={1}{U} restriction{type(creature[power=6]|battlefield)~morethan~0}:name(Set power to 6) name(Set power to 6) transforms((,setpower=6)) forever
auto={1}{U} restriction{type(creature[power=7]|battlefield)~morethan~0}:name(Set power to 7) name(Set power to 7) transforms((,setpower=7)) forever
auto={1}{U} restriction{type(creature[power=8]|battlefield)~morethan~0}:name(Set power to 8) name(Set power to 8) transforms((,setpower=8)) forever
auto={1}{U} restriction{type(creature[power=9]|battlefield)~morethan~0}:name(Set power to 9) name(Set power to 9) transforms((,setpower=9)) forever
auto={1}{U} restriction{type(creature[power=10]|battlefield)~morethan~0}:name(Set power to 10) name(Set power to 10) transforms((,setpower=10)) forever
auto={1}{U} restriction{type(creature[power=11]|battlefield)~morethan~0}:name(Set power to 11) name(Set power to 11) transforms((,setpower=11)) forever
auto={1}{U} restriction{type(creature[power=12]|battlefield)~morethan~0}:name(Set power to 12) name(Set power to 12) transforms((,setpower=12)) forever
auto={1}{U} restriction{type(creature[power=13]|battlefield)~morethan~0}:name(Set power to 13) name(Set power to 13) transforms((,setpower=13)) forever
auto={1}{U} restriction{type(creature[power=14]|battlefield)~morethan~0}:name(Set power to 14) name(Set power to 14) transforms((,setpower=14)) forever
auto={1}{U} restriction{type(creature[power=15]|battlefield)~morethan~0}:name(Set power to 15) name(Set power to 15) transforms((,setpower=15)) forever
auto={1}{U} restriction{type(creature[power=16]|battlefield)~morethan~0}:name(Set power to 16) name(Set power to 16) transforms((,setpower=16)) forever
auto={1}{U} restriction{type(creature[power=17]|battlefield)~morethan~0}:name(Set power to 17) name(Set power to 17) transforms((,setpower=17)) forever
auto={1}{U} restriction{type(creature[power=18]|battlefield)~morethan~0}:name(Set power to 18) name(Set power to 18) transforms((,setpower=18)) forever
auto={1}{U} restriction{type(creature[power=19]|battlefield)~morethan~0}:name(Set power to 19) name(Set power to 19) transforms((,setpower=19)) forever
auto={1}{U} restriction{type(creature[power>=20]|battlefield)~morethan~0}:name(Set power to 20) name(Set power to 20) transforms((,setpower=20)) forever
text={1}{U}: Change Riptide Mangler's power to target creature's power. (This effect lasts indefinitely.)
mana={1}{U}
type=Creature
subtype=Beast
power=0
toughness=3
[/card]
[card]
name=Riptide Shapeshifter
auto=chooseatype transforms((,newability[{2}{U}{U}{S}:moveTo(mybattlefield) target(creature[chosentype]|mylibrary)])) chooseend
text={2}{U}{U}, Sacrifice Riptide Shapeshifter: Choose a creature type. Reveal cards from the top of your library until you reveal a creature card of that type. Put that card onto the battlefield and shuffle the rest into your library.
mana={3}{U}{U}
type=Creature
subtype=Shapeshifter
power=3
toughness=3
[/card]
[card]
name=Riptide Turtle
abilities=flash,defender
text=Flash -- Defender
mana={1}{U}
type=Creature
subtype=Turtle
power=0
toughness=5
[/card]
[card]
name=Rise // Fall
other={B}{R} name(Fail)
auto=if paid(alternative) then target(player) ability$!name(Discard 2 nonland cards at random) name(Discard 2 nonland cards at random) all(*[-land;zpos<=2]|myhand) moveto(mygraveyard)!$ targetedplayer
auto=ifnot paid(alternative) then ability$!name(Return creature from graveyard) name(Return creature from graveyard) target(creature|graveyard) moveto(ownerhand)!$ controller
auto=ifnot paid(alternative) then ability$!name(Return creature from battlefield) name(Return creature from battlefield) target(creature|battlefield) moveto(ownerhand)!$ controller
text=Return target creature card from a graveyard and target creature on the battlefield to their owners' hands. // Target player reveals two cards at random from his or her hand, then discards each nonland card revealed this way.
mana={U}{B}
type=Sorcery
[/card]
[card]
name=Rise Again
target=creature|myGraveyard
auto=moveTo(myBattlefield)
text=Return target creature card from your graveyard to the battlefield.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Rise and Shine
abilities=overload
other={4}{U}{U} name(Overload)
auto=paidmana name(Target artifact becomes creature) name(Target artifact becomes creature) target(artifact[-creature]|myBattlefield) transforms((Artifact Creature,newability[counter(1/1.4)])) forever
auto=overload name(All artifacts become creatures) name(All artifacts become creatures) all(artifact[-creature]|myBattlefield) transforms((Artifact Creature,newability[counter(1/1.4)])) forever
text=Target noncreature artifact you control becomes a 0/0 artifact creature. Put four +1/+1 counters on each artifact that became a creature this way. -- Overload {4}{U}{U} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Rise of Extus
target=creature
auto=moveto(exile)
auto=ability$!may name(Exile instant or sorcery) name(Exile instant or sorcery) target(*[instant;sorcery]|graveyard) moveto(exile)!$ controller
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot 
text=Exile target creature. Exile up to one target instant or sorcery card from a graveyard. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={4}{WB}{WB}
type=Sorcery
[/card]
[card]
name=Rise of the Ants
flashback={6}{G}{G}
auto=token(Insect,Creature Insect,3/3,green)
auto=life:3 controller
text=Create two 3/3 green Insect creature tokens. You gain 2 life. -- Flashback {6}{G}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Rise of the Dread Marn
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={B} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=token(Berserker,Creature Zombie Berserker,2/2,black)*type:creature[fresh]:mygraveyard
auto=token(Berserker,Creature Zombie Berserker,2/2,black)*type:creature[fresh]:opponentgraveyard
text=Create X 2/2 black Zombie Berserker creature tokens, where X is the number of nontoken creatures that died this turn. -- Foretell {B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{B}
type=Instant
[/card]
[card]
name=Rise to Glory
auto=choice name(Return target creature...) moveTo(myBattlefield) target(creature|myGraveyard)
auto=choice name(Return target aura...) moveTo(myBattlefield) target(enchantment[aura]|myGraveyard)
auto=choice name(Return target creature and aura...) moveTo(myBattlefield) target(creature|myGraveyard) && moveTo(myBattlefield) target(enchantment[aura]|myGraveyard)
text=Choose one or both -- Return target creature card from your graveyard to the battlefield. -- Return target Aura card from your graveyard to the battlefield.
mana={3}{W}{B}
type=Sorcery
[/card]
[card]
name=Risen Executioner
abilities=cantblock
auto=lord(*[zombie]|mybattlefield) 1/1
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~0 name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~1 Pay({1}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~2 Pay({2}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~3 Pay({3}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~4 Pay({4}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~5 Pay({5}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~6 Pay({6}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~7 Pay({7}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~8 Pay({8}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~9 Pay({9}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~10 Pay({10}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~11 Pay({11}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~12 Pay({12}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~13 Pay({13}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~14 Pay({14}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~15 Pay({15}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~16 Pay({16}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~17 Pay({17}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~18 Pay({18}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~19 Pay({19}) name(cast from graveyard) moveto(mybattlefield)
autograveyard={2}{B}{B}:if type(creature|mygraveyard)~equalto~20 Pay({20}) name(cast from graveyard) moveto(mybattlefield)
text=Risen Executioner can't block. -- Other Zombie creatures you control get +1/+1. -- You may cast Risen Executioner from your graveyard if you pay {1} more to cast it for each other creature card in your graveyard.
mana={2}{B}{B}
type=Creature
subtype=Zombie Warrior
power=4
toughness=3
[/card]
[card]
name=Risen Reef
auto=reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) and!(tap(noevent))! optiononeend optiontwo target(<1>*|reveal) moveto(ownerhand) optiontwoend revealend
auto=@movedto(other creature[elemental]|mybattlefield):reveal:1 optionone target(<1>land|reveal) moveto(ownerbattlefield) and!(tap(noevent))! optiononeend optiontwo target(<1>*|reveal) moveto(ownerhand) optiontwoend revealend
text=Whenever Risen Reef or another Elemental enters the battlefield under your control, look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. If you don't put the card onto the battlefield, put it into your hand.
mana={1}{G}{U}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Risen Riptide
auto=@movedTo(*[kicked>=1]|myStack):all(this) transforms((,setpower=5,settoughness=5)) ueot
text=Whenever you cast a kicked spell, Risen Riptide has base power and toughness 5/5 until end of turn.
mana={2}{U}
type=Creature
subtype=Elemental
power=0
toughness=5
[/card]
[card]
name=Rishadan Dockhand
abilities=islandwalk
auto={1}{T}:target(land) tap
text=Islandwalk (This creature can't be blocked as long as defending player controls an Island.) -- {1}, {T}: Tap target land.
mana={U}
type=Creature
subtype=Merfolk
power=1
toughness=2
[/card]
[card]
name=Rising Populace
auto=@movedTo(other *[creature;planeswalker]|graveyard) from(myBattlefield):counter(1/1)
text=Whenever another creature or planeswalker you control dies, put a +1/+1 counter on Rising Populace.
mana={2}{W}
type=Creature
subtype=Human
power=2
toughness=2
[/card]
[card]
name=Risk Factor
auto=ability$!name(Choose one) choice name(Damage 4) damage:4 controller _ choice name(Draw cards) draw:3 opponent!$ opponent
flashback={2}{R}{D(*|myhand)}
text=Target opponent may have Risk Factor deal 4 damage to them. If that player doesn't, you draw three cards. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={2}{R}
type=Instant
[/card]
[card]
name=Rite of Belzenlok
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=create(cleric:creature cleric:0/1:black:)*2
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) create(cleric:creature cleric:0/1:black:)*2
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) create(demon:creature demon:6/6:black:flying:trample) and!( transforms((,newability[bury notatarget(other creature|myBattlefield)])))!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Create two 0/1 black Cleric creature tokens. -- III - Create a 6/6 black Demon creature token with flying, trample, and "At the beginning of your upkeep, sacrifice another creature. If you can't, this creature deals 6 damage to you."
mana={2}{B}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Rite of Harmony
flashback={2}{G}{W}
auto=emblem transforms((,newability[@movedto(*[creature;enchantment]|mybattlefield):name(Draw a card) draw:1 controller])) ueot
text=Whenever a creature or enchantment enters the battlefield under your control this turn, draw a card. -- Flashback {2}{G}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={G}{W}
type=Instant
[/card]
[card]
name=Rite of Oblivion
target=*[-land]|battlefield
flashback={2}{B}{W}{S(*[-land]|mybattlefield)}
auto=name(Exile permanent) moveto(exile)
text=As an additional cost to cast this spell, sacrifice a nonland permanent. -- Exile target nonland permanent -- Flashback {2}{W}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={W}{B}{S(*[-land]|mybattlefield)}
type=Sorcery
[/card]
[card]
name=Rite of Undoing
target=*[-land]|mybattlefield
auto=moveto(ownerhand)
auto=moveto(ownerhand) target(*[-land]|opponentbattlefield)
other={delve} name(Delve)
text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Return target nonland permanent you control and target nonland permanent you don't control to their owners' hands.
mana={4}{U}
type=Instant
[/card]
[card]
name=Rites of Initiation
auto=if type(*|myHand)~morethan~0 then choice name(Discard 1 card) discard:1 controller && all(creature|mybattlefield) 1/0 ueot
auto=if type(*|myHand)~morethan~1 then choice name(Discard 2 card) discard:2 controller && all(creature|mybattlefield) 2/0 ueot
auto=if type(*|myHand)~morethan~2 then choice name(Discard 3 card) discard:3 controller && all(creature|mybattlefield) 3/0 ueot
auto=if type(*|myHand)~morethan~3 then choice name(Discard 4 card) discard:4 controller && all(creature|mybattlefield) 4/0 ueot
auto=if type(*|myHand)~morethan~4 then choice name(Discard 5 card) discard:5 controller && all(creature|mybattlefield) 5/0 ueot
auto=if type(*|myHand)~morethan~5 then choice name(Discard 6 card) discard:6 controller && all(creature|mybattlefield) 6/0 ueot
auto=if type(*|myHand)~morethan~6 then choice name(Discard 7 card) discard:7 controller && all(creature|mybattlefield) 7/0 ueot
auto=if type(*|myHand)~morethan~7 then choice name(Discard 8 card) discard:8 controller && all(creature|mybattlefield) 8/0 ueot
auto=if type(*|myHand)~morethan~8 then choice name(Discard 9 card) discard:9 controller && all(creature|mybattlefield) 9/0 ueot
auto=if type(*|myHand)~morethan~9 then choice name(Discard 10 card) discard:10 controller && all(creature|mybattlefield) 10/0 ueot
auto=if type(*|myHand)~morethan~10 then choice name(Discard 11 card) discard:11 controller && all(creature|mybattlefield) 11/0 ueot
auto=if type(*|myHand)~morethan~11 then choice name(Discard 12 card) discard:12 controller && all(creature|mybattlefield) 12/0 ueot
auto=if type(*|myHand)~morethan~12 then choice name(Discard 13 card) discard:13 controller && all(creature|mybattlefield) 13/0 ueot
auto=if type(*|myHand)~morethan~13 then choice name(Discard 14 card) discard:14 controller && all(creature|mybattlefield) 14/0 ueot
auto=if type(*|myHand)~morethan~14 then choice name(Discard 15 card) discard:15 controller && all(creature|mybattlefield) 15/0 ueot
auto=if type(*|myHand)~morethan~15 then choice name(Discard 16 card) discard:16 controller && all(creature|mybattlefield) 16/0 ueot
auto=if type(*|myHand)~morethan~16 then choice name(Discard 17 card) discard:17 controller && all(creature|mybattlefield) 17/0 ueot
auto=if type(*|myHand)~morethan~17 then choice name(Discard 18 card) discard:18 controller && all(creature|mybattlefield) 18/0 ueot
auto=if type(*|myHand)~morethan~18 then choice name(Discard 19 card) discard:19 controller && all(creature|mybattlefield) 19/0 ueot
auto=if type(*|myHand)~morethan~19 then choice name(Discard 20 card) discard:20 controller && all(creature|mybattlefield) 20/0 ueot
text=Discard any number of cards at random. Creatures you control get +1/+0 until end of turn for each card discarded this way.
mana={R}
type=Instant
[/card]
[card]
name=Rites of Reaping
target=creature
auto=3/3 ueot
auto=target(other creature) -3/-3 ueot
text=Target creature gets +3/+3 until end of turn. Another target creature gets -3/-3 until end of turn.
mana={4}{B}{G}
type=Sorcery
[/card]
[card]
name=Rites of Refusal
target=*|stack
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && transforms((,newability[pay[[{15}]] name(pay 15 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && transforms((,newability[pay[[{21}]] name(pay 21 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && transforms((,newability[pay[[{24}]] name(pay 24 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && transforms((,newability[pay[[{27}]] name(pay 27 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && transforms((,newability[pay[[{30}]] name(pay 30 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && transforms((,newability[pay[[{33}]] name(pay 33 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && transforms((,newability[pay[[{36}]] name(pay 36 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && transforms((,newability[pay[[{39}]] name(pay 39 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && transforms((,newability[pay[[{42}]] name(pay 42 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && transforms((,newability[pay[[{45}]] name(pay 45 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && transforms((,newability[pay[[{48}]] name(pay 48 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && transforms((,newability[pay[[{51}]] name(pay 51 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && transforms((,newability[pay[[{54}]] name(pay 54 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && transforms((,newability[pay[[{57}]] name(pay 57 mana) donothing?fizzle])) forever
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && transforms((,newability[pay[[{60}]] name(pay 60 mana) donothing?fizzle])) forever
text=Discard any number of cards. Counter target spell unless its controller pays {3} for each card discarded this way.
mana={1}{U}
type=Instant
[/card]
[card]
name=Rites of Spring
auto=choice name(Discard any number of cards) target(<anyamount>*|myhand) reject and!( transforms((,newability[name(Search basic land) target(land[basic]|myLibrary) moveTo(myhand)])) oneshot )!
text=Discard any number of cards. Search your library for that many basic land cards, reveal those cards, and put them into your hand. Then shuffle your library.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Rith's Charm
auto=choice name(Destroy land) target(land[-basic]) destroy
auto=choice name(Create 3 saproling) token(Saproling,Creature Saproling,1/1,green)*3
auto=choice name(Prevent damage) notatarget(*|battlefield,stack,hand,graveyard) transforms((,newability[preventalldamage from(this)])) ueot
text=Choose one  Destroy target nonbasic land; or put three 1/1 green Saproling creature tokens onto the battlefield; or prevent all damage a source of your choice would deal this turn.
mana={R}{G}{W}
type=Instant
[/card]
[card]
name=Ritual Guardian
auto=@each my combatbegins restriction{coven}:name(Gains lifelink) transforms((,newability[lifelink])) ueot
text=Coven - At the beginning of combat on your turn, if you control three or more creatures with different powers, Ritual Guardian gains lifelink until end of turn.
type=Creature
subtype=Human Soldier
mana={2}{W}
power=3
toughness=2
[/card]
[card]
name=Ritual of Hope
auto=ifnot coven then name(Creatures get 1/1) name(Creatures get 1/1) all(creature|mybattlefield) transforms((,newability[1/1])) ueot
auto=if coven then name(Creatures get 2/1) name(Creatures get 2/1) all(creature|mybattlefield) transforms((,newability[2/1])) ueot
text=Creatures you control get +1/+1 until end of turn. -- Coven - If you control three or more creatures with different powers, creatures you control get +2/+1 until end of turn instead.
mana={1}{W}
type=Instant
[/card]
[card]
name=Ritual of Rejuvenation
auto=life:4 controller
auto=draw:1 controller
text=You gain 4 life. -- Draw a card.
mana={2}{W}
type=Instant
[/card]
[card]
name=Ritual of Soot
auto=destroy all(creature[manacost<=3])
text=Destroy all creatures with converted mana cost 3 or less.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Ritual of Subdual
auto=cumulativeupcost[{2}] sacrifice
auto=all(land|mybattlefield) loseabilities && transforms((,newability[producecolor:land])) forever
auto=all(land|opponentbattlefield) loseabilities && transforms((,newability[producecolor:land])) forever
text=Cumulative upkeep {2} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- If a land is tapped for mana, it produces colorless mana instead of any other type.
mana={4}{G}{G}
type=Enchantment
[/card]
[card]
name=Ritual of the Returned
auto=token(Zombie,Creature Zombie,storedpower/storedtoughness,black)
text=Exile target creature card from your graveyard. Put a black Zombie creature token onto the battlefield. Its power is equal to that card's power and its toughness is equal to that card's toughness.
mana={3}{B}{E(creature|mygraveyard)}
type=Instant
[/card]
[card]
name=River Darter
auto=cantbeblockedby(creature[Dinosaurs])
text=River Darter can't be blocked by Dinosaurs.
mana={2}{U}
type=Creature
subtype=Merfolk Warrior
power=2
toughness=3
[/card]
[card]
name=River Heralds' Boon
target=creature
auto=counter(1/1,1)
auto=target(merfolk) counter(1/1,1)
text=Put a +1/+1 counter on target creature and a +1/+1 counter on up to one target Merfolk.
mana={1}{G}
type=Instant
[/card]
[card]
name=River Hoopoe
abilities=flying
auto={3}{G}{U}:life:2 && draw:1
text=Flying -- {3}{G}{U}: You gain 2 life and draw a card.
mana={G}{U}
type=Creature
subtype=Bird
power=1
toughness=3
[/card]
[card]
name=River Serpent
abilities=cycling
auto=aslongas(type(*|mygraveyard)~lessthen~5) cantattack
auto=aslongas(type(*|mygraveyard)~lessthen~5) cantpwattack
autohand=__CYCLING__({U})
text=River Serpent can't attack unless there are five or more cards in your graveyard. -- Cycling {U} ({U}, Discard this card: Draw a card.)
mana={5}{U}
type=Creature
subtype=Serpent
power=5
toughness=5
[/card]
[card]
name=River Sneak
abilities=unblockable
auto=@movedto(merfolk|mybattlefield):1/1 ueot
text=River Sneak can't be blocked. -- Whenever another Merfolk enters the battlefield under your control, River Sneak gets +1/+1 until end of turn.
mana={1}{U}
type=Creature
subtype=Merfolk Warrior
power=1
toughness=1
[/card]
[card]
name=River's Favor
target=creature
auto=1/1
text=Enchant creature -- Enchanted creature gets +1/+1.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=River's Grasp
auto=if casted(this) then if spent({B}) then if type(*[-land]|opponenthand)~morethan~0 then ability$!name(Discard non-land card) name(Discard non-land card) name(Discard non-land card) reject target(*[-land]|opponenthand)!$ controller
auto=if casted(this) then if spent({B}) then if type(*[-land]|opponenthand)~equalto~0 then ability$!name(Look opponent's hand) name(Look opponent's hand) name(Look opponent's hand) target(*|opponenthand) moveto(opponenthand)!$ controller
auto=if casted(this) then if spent({U}) then ability$!name(Return creature to hand) name(Return creature to hand) target(creature|battlefield) moveto(ownerhand)!$ controller
text=If {U} was spent to cast River's Grasp, return up to one target creature to its owner's hand. If {B} was spent to cast River's Grasp, target player reveals his or her hand, you choose a nonland card from it, then that player discards that card. (Do both if {U}{B} was spent.)
mana={3}{UB}
type=Sorcery
[/card]
[card]
name=River's Rebuke
target=player
auto=moveto(targetedpersonshand) all(*[-land]|targetedpersonsbattlefield)
text=Return all nonland permanents target player controls to their owner's hand.
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Riverglide Pathway
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Lavaglide Pathway)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Lavaglide Pathway) name(Lavaglide Pathway) flip(Lavaglide Pathway) forcetype(land)
auto={T}:add{U}
text={T}: Add {U}. // Lavaglide Pathway
type=Land
[/card]
[card]
name=Riverwise Augur
auto=draw:3 controller && transforms((,newability[target(<2>*|myhand) moveto(mylibrary)])) oneshot
text=When Riverwise Augur enters the battlefield, draw three cards, then put two cards from your hand on top of your library in any order.
mana={3}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Rix Maadi Reveler
auto=if paid(alternative) then reject all(*|myhand) and!(draw:3)!
auto=if type(*|myhand)~morethan~0 then ability$! reject notatarget(*|myhand) and!(draw:1)! !$ controller
text=Spectacle {2}{B}{R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- When Rix Maadi Reveler enters the battlefield, discard a card, then draw a card. If Rix Maadi Reveler's spectacle cost was paid, instead discard your hand, then draw three cards.
other={2}{B}{R} name(Spectacle) 
otherrestriction=compare(oplifelost)~morethan~0
mana={1}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Road // Ruin
auto=name(Search basic land) target(land[basic]|myLibrary) moveTo(myBattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle])) oneshot )!
autograveyard={1}{R}{R}:damage:type:land:myBattlefield target(creature) asSorcery
text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Ruin deals damage to target creature equal to the number of lands you control.
mana={2}{G}
type=Instant
[/card]
[card]
name=Road of Return
other={2}{G}{G} name(Entwine)
auto=ifnot paid alternative then choice name(Return permanent) moveto(myhand) target(*|mygraveyard)
auto=ifnot paid alternative then choice name(Return commander) moveto(myhand) target(*[iscommander]|mycommandzone)
auto=if paid(alternative) then moveto(myhand) target(*|mygraveyard) && ability$!name(Choose commander from command zone) name(Choose commander from command zone) moveto(myhand) target(*[iscommander]|mycommandzone)!$ controller
text=Choose one -- Return target permanent card from your graveyard to your hand. -- Put your commander into your hand from the command zone. -- Entwine 2 (Choose both if you pay the entwine cost.)
mana={G}{G}
type=Sorcery
[/card]
[card]
name=Roalesk, Apex Hybrid
abilities=flying,trample
auto=counter(1/1,2) target(other creature|myBattlefield)
auto=_DIES_name(Proliferate 2 times) notatarget(proliferation) proliferate && proliferate
text=Flying, trample -- When Roalesk, Apex Hybrid enters the battlefield, put two +1/+1 counters on another target creature you control. -- When Roalesk dies, proliferate, then proliferate again. (Choose any number of permanents and/or players, then give each another counter of each kind already there. Then do it again.)
mana={2}{G}{G}{U}
type=Legendary Creature
subtype=Human Mutant
power=4
toughness=5
[/card]
[card]
name=Roaming Ghostlight
abilities=flying
auto=may moveTo(ownerhand) target(creature[-spirit])
text=Flying -- When Roaming Ghostlight enters the battlefield, return up to one target non-Spirit creature to its owner's hand.
mana={3}{U}{U}
type=Creature
subtype=Spirit
power=3
toughness=2
[/card]
[card]
name=Robber of the Rich
abilities=reach,haste
auto=@combat(attacking) source(this) restriction{compare(ohandcount)~morethan~(compare(phandcount)}:name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(exile) and!( counter(0/0,1,RobberExiled) )!
auto=emblem transforms((,newability[lord(rogue|myBattlefield) transforms((,newability[@combat(attacking) source(this):name(Can cast exiled cards) transforms((,newability[{0}:name(Cast exiled card) name(Cast exiled card) target(*[-land;counter{0/0.1.RobberExiled}]|opponentexile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.RobberExiled)],newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.RobberExiled)])) ueot )!])) ueot]))])) forever dontremove
text=Reach, haste -- Whenever Robber of the Rich attacks, if defending player has more cards in hand than you, exile the top card of their library. During any turn you attacked with a Rogue, you may cast that card and you may spend mana as though it were mana of any color to cast that spell.
mana={1}{R}
type=Creature
subtype=Human Archer Rogue
power=2
toughness=2
[/card]
[card]
name=Robe of Stars
auto={1}:equip
auto=teach(creature) 0/3
auto=teach(creature) transforms((,newability[{1}{W}:name(Phase out) phaseout]))
text=Equipped creature gets +0/+3. -- Astral Projection-{1}{W}: Equipped creature phases out. (Treat it and anything attached to it as though they don't exist until until its controller's next turn.) -- Equip {1}
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Robot Chicken
auto=@movedto(*|mystack):token(Egg,Creature Egg,0/1)
auto=@movedto(mygraveyard) from(creature[egg]|mybattlefield):destroy target(creature,artifact)
text=Whenever you cast a spell, put a 0/1 colorless Egg artifact creature token onto the battlefield. -- Whenever an Egg you control is put into a graveyard from the battlefield, destroy target artifact or creature.
mana={4}
type=Artifact Creature
subtype=Chicken Construct
power=2
toughness=2
[/card]
[card]
name=Roc Charger
abilities=flying
auto=_ATTACKING_target(creature[attacking;-flying]) flying ueot
text=Flying -- Whenever Roc Charger attacks, target attacking creature without flying gains flying until end of turn.
mana={2}{W}
type=Creature
subtype=Bird
power=1
toughness=3
[/card]
[card]
name=Rock Equipment
auto={1}:equip
auto=teach(creature) {1}{T}{S(Rock Equipment|myBattlefield)}:name(Damage any target) name(Damage any target) damage:2 target(player,creature,planeswalker)
text=Equiped creature has "{1}, {T}, Sacrifice Rock: This creature deals 2 damage to any target" -- Equip {1}.
type=Artifact
subtype=Equipment
[/card]
[card]
name=Rock Jockey
restriction=type(land[fresh]|myBattlefield)~equalto~0
auto=maxPlay(land)-99 controller ueot
auto=phaseaction[upkeep once] maxPlay(land)+99 controller
text=You can't cast Rock Jockey if you've played a land this turn. -- You can't play lands if you've cast Rock Jockey this turn.
mana={2}{R}
type=Creature
subtype=Goblin
power=3
toughness=3
[/card]
[card]
name=Rock Lobster
auto=all(Scissors Lizards|battlefield) cantblock
auto=all(Scissors Lizards|battlefield) cantattack
text=Scissors Lizards cannot attack or block.
mana={4}
type=Artifact Creature
power=4
toughness=3
[/card]
[card]
name=Rock Slide
auto=thisforeach(X) ability$!name(Choose creature) choice name(Damage to a creature) damage:1 target(creature[attacking;blocking;-flying])!$ controller
text=Rock Slide deals X damage divided as you choose among any number of target attacking or blocking creatures without flying.
mana={X}{R}
type=Instant
[/card]
[card]
name=Rockfall Vale
auto=if type(other land|mybattlefield)~lessthan~2 then tap(noevent)
auto={T}:add{G}
auto={T}:add{R}
text=Rockfall Vale enters the battlefield tapped unless you control two or more other lands. -- {T}: Add {R} or {G}.
type=Land
[/card]
[card]
name=Rockslide Sorcerer
auto=@movedTo(*[instant;sorcery;wizard]|myStack):name(Delas 1 damage) name(Deals 1 damage) damage:1 target(player,creature,planeswalker)
text=Whenever you cast an instant, sorcery, or Wizard spell, Rockslide Sorcerer deals 1 damage to any target.
mana={3}{R}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Rod of Absorption
auto=@movedTo(*[instant;sorcery]|opponentgraveyard) from(opponentstack):name(Exile instant or sorcery) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(opponentexile) and!( counter(0/0.1.RodExiled) )!])) forever
auto=@movedTo(*[instant;sorcery]|mygraveyard) from(mystack):name(Exile instant or sorcery) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(myexile) and!( counter(0/0.1.RodExiled) )!])) forever
auto={0}{T}{S}:name(X=0) target(<anyamount>*[instant;sorcery;manacost<=0;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={1}{T}{S}:name(X=1) target(<anyamount>*[instant;sorcery;manacost<=1;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={2}{T}{S}:name(X=2) target(<anyamount>*[instant;sorcery;manacost<=2;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={3}{T}{S}:name(X=3) target(<anyamount>*[instant;sorcery;manacost<=3;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={4}{T}{S}:name(X=4) target(<anyamount>*[instant;sorcery;manacost<=4;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={5}{T}{S}:name(X=5) target(<anyamount>*[instant;sorcery;manacost<=5;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={6}{T}{S}:name(X=6) target(<anyamount>*[instant;sorcery;manacost<=6;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={7}{T}{S}:name(X=7) target(<anyamount>*[instant;sorcery;manacost<=7;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={8}{T}{S}:name(X=8) target(<anyamount>*[instant;sorcery;manacost<=8;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={9}{T}{S}:name(X=9) target(<anyamount>*[instant;sorcery;manacost<=9;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={10}{T}{S}:name(X=10) target(<anyamount>*[instant;sorcery;manacost<=10;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={11}{T}{S}:name(X=11) target(<anyamount>*[instant;sorcery;manacost<=11;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={12}{T}{S}:name(X=12) target(<anyamount>*[instant;sorcery;manacost<=12;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={13}{T}{S}:name(X=13) target(<anyamount>*[instant;sorcery;manacost<=13;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={14}{T}{S}:name(X=14) target(<anyamount>*[instant;sorcery;manacost<=14;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={15}{T}{S}:name(X=15) target(<anyamount>*[instant;sorcery;manacost<=15;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={16}{T}{S}:name(X=16) target(<anyamount>*[instant;sorcery;manacost<=16;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={17}{T}{S}:name(X=17) target(<anyamount>*[instant;sorcery;manacost<=17;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={18}{T}{S}:name(X=18) target(<anyamount>*[instant;sorcery;manacost<=18;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={19}{T}{S}:name(X=19) target(<anyamount>*[instant;sorcery;manacost<=19;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
auto={20}{T}{S}:name(X=20) target(<anyamount>*[instant;sorcery;manacost<=20;counter{0/0.1.RodExiled}]|exile) activate castcard(normal)
text=Whenever a player casts an instant or sorcery spell, exile it instead of putting it into a graveyard as it resolves. -- {X}, {T}, Sacrifice Rod of Absorption: You may cast any number of spells from among cards exiled with Rod of Absorption with total mana value X or less without paying their mana costs.
mana={2}{U}
type=Artifact
[/card]
[card]
name=Rofellos's Gift
auto=target(<upto:type:*[green]:myhand>enchantment|mygraveyard) moveto(myhand)
text=Reveal any number of green cards in your hand. Return an enchantment card from your graveyard to your hand for each card revealed this way.
mana={G}
type=Sorcery
[/card]
[card]
name=Rograkh, Son of Rohgahh
abilities=first strike,menace,trample,partner
text=First strike, menace, trample -- Partner (You can have two commanders if both have partner.)
mana={0}
type=Legendary Creature
subtype=Kobold Warrior
color=red
power=0
toughness=1
[/card]
[card]
name=Rogue
abilities=haste
auto=damage:1 target(player,creature,planeswalker)
text=Haste -- When this creature enters the battlefield, it deals 1 damage to any target
type=Creature
subtype=Human Rogue
power=1
toughness=2
[/card]
[card]
name=Rogue Class
auto=counter(0/0,1,Level)
auto=@combatdamagefoeof(player) from(creature|mybattlefield):name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(opponentexile) and!( counter(0/0.1.RogueExiled) )!
auto=@combatdamageof(player) from(creature|mybattlefield):name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0.1.RogueExiled) )!
auto=this(variable{hascntlevel}=1) {1}{U}{B}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}=2) lord(creature|myBattlefield) menace
auto=this(variable{hascntlevel}=2) {2}{U}{B}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}>=3) lord(*[counter{0/0.1.RogueExiled}]|myexile) transforms((,newability[canplayfromexile],newability[anytypeofmana])) forever
auto=this(variable{hascntlevel}>=3) {0}:name(May play card from opponent exile) target(*[counter{0/0.1.RogueExiled}]|opponentexile) moveTo(myexile) and!( transforms((,newability[0/0.1.RogueExiled],newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.RogueExiled)])) forever )!
text=(Gain the next level as a sorcery to add its ability.) -- Whenever a creature you controls deals combat damage to a player, exile the top card of that player's library face down. You may look at it for as long as it remains exiled. -- {1}{U}{B}: Level 2 -- Creatures you control have menace. -- {2}{U}{B}: Level 3 -- You may play cards exiled with Rogue Class, and you may spend mana as through it were mana of any color to cast them.
mana={U}{B}
type=Enchantment
subtype=Class
[/card]
[card]
name=Roil Eruption
kicker={5}
auto=if paid(kicker) then name(Deals 5 damages) name(Deals 5 damages) damage:5 target(player,creature,planeswalker)
auto=ifnot paid(kicker) then name(Deals 3 damages) name(Deals 3 damages) damage:3 target(player,creature,planeswalker)
text=Kicker {5} (You may pay an additional {5} as you cast this spell.) -- Roil Eruption deals 3 damage to any target. If this spell was kicked, it deals 5 damage instead.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Roiling Regrowth
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>land[basic]|myLibrary)
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
text=Sacrifice a land. Search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library.
mana={2}{G}{S(land|myBattlefield)}
type=Instant
[/card]
[card]
name=Roiling Vortex
auto=@each my upkeep:damage:1 controller
auto=@each opponent upkeep:damage:1 opponent
auto=@movedTo(*|myStack) restriction{type(land[tapped]|myBattlefield)~lessthan~1}:damage:5 controller
auto=@movedTo(*|opponentStack) restriction{type(land[tapped]|opponentBattlefield)~lessthan~1}:damage:5 opponent
auto={R}:nolifegainopponent ueot
text=At the beginning of each player's upkeep, Roiling Vortex deals 1 damage to them. -- Whenever a player casts a spell, if no mana was spent to cast that spell, Roiling Vortex deals 5 damage to that player. -- {R}: Your opponents can't gain life this turn.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Roiling Waters
target=<upto:2>creature|opponentbattlefield
auto=moveto(ownerhand)
auto=ability$!name(Choose one) choice name(You draw) draw:1 controller _ choice name(Opponent draws) draw:1 opponent!$ controller
text=Return up to two target creatures your opponents control to their owners' hands. Target player draws two cards.
mana={5}{U}{U}
type=Sorcery
[/card]
[card]
name=Role Reversal
auto=choice name(artifact) moveTo(myBattlefield) target(artifact|opponentBattlefield) and!(moveto(opponentBattlefield) target(artifact|myBattlefield))!
auto=choice name(creature) moveTo(myBattlefield) target(creature|opponentBattlefield) and!(moveto(opponentBattlefield) target(creature|myBattlefield))!
auto=choice name(enchantment) moveTo(myBattlefield) target(enchantment|opponentBattlefield) and!(moveto(opponentBattlefield) target(enchantment|myBattlefield))!
auto=choice name(planeswalker) moveTo(myBattlefield) target(planeswalker|opponentBattlefield) and!(moveto(opponentBattlefield) target(planeswalker|myBattlefield))!
auto=choice name(land) moveTo(myBattlefield) target(land|opponentBattlefield) and!(moveto(opponentBattlefield) target(land|myBattlefield))!
text=Exchange control of two target permanents that share a permanent type.
mana={U}{U}{R}
type=Sorcery
[/card]
[card]
name=Rolling Thunder
auto=thisforeach(X) ability$!name(Choose target) choice name(Damage to a creature) damage:1 target(creature) _ choice name(Damage to a player) damage:1 target(player)!$ controller
text=Rolling Thunder deals X damage divided as you choose among any number of target creatures and/or players.
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Rona, Disciple of Gix
auto=lord(*[counter{0/0.1.RonaExiled}]|myexile) canplayfromexile
auto=if type(*[artifact]|mygraveyard)~morethan~0 then choice name(Exile artifact card) name(Exile artifact card) target(*[artifact]|mygraveyard) moveto(exile) and!( transforms((,newability[counter(0/0.1.RonaExiled)])) forever )!
auto=if type(*[legendary]|mygraveyard)~morethan~0 then choice name(Exile legendary card) name(Exile legendary card) target(*[legendary]|mygraveyard) moveto(exile) and!( transforms((,newability[counter(0/0.1.RonaExiled)])) forever )!
auto=if type(*[saga]|mygraveyard)~morethan~0 then choice name(Exile saga card) name(Exile saga card) target(*[saga]|mygraveyard) moveto(exile) and!( transforms((,newability[counter(0/0.1.RonaExiled)])) forever )!
auto={4}{T}:all(*[zpos=1]|mylibrary) moveto(exile) and!( transforms((,newability[counter(0/0.1.RonaExiled)])) forever )!
text=When Rona, Disciple of Gix enters the battlefield, you may exile target historic card from your graveyard. (Artifacts, legendaries, and Sagas are historic.) -- You may cast spells from among cards exiled with Rona. -- {4}, {T}: Exile the top card of your library.
mana={1}{U}{B}
type=Legendary Creature
subtype=Human Artificer
power=2
toughness=2
[/card]
[card]
name=Rookie Mistake
target=creature
auto=0/2 ueot
auto=target(other creature) -2/-0 ueot
text=Until end of turn, target creature gets +0/+2 and another target creature gets -2/-0. --
mana={U}
type=Instant
[/card]
[card]
name=Roost of Drakes
kicker={2}{U}
auto=if paid(kicker) then token(Drake,Creature Drake,2/2,blue,flying)
auto=@movedTo(*[kicked>=1]|myStack):token(Drake,Creature Drake,2/2,blue,flying)
text=Kicker {2}{U} (You may pay an additional {2}{U} as you cast this spell.) -- When Roost of Drakes enters the battlefield, if it was kicked, create a 2/2 blue Drake creature token with flying. -- Whenever you cast a kicked spell, create a 2/2 blue Drake creature token with flying.
mana={U}
type=Enchantment
[/card]
[card]
name=Root Sliver
abilities=nofizzle
auto=lord(Sliver|stack) nofizzle
auto=lord(Sliver|opponentstack) nofizzle
text=This spell can't be countered. -- Sliver spells can't be countered.
mana={3}{G}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Root Snare
auto=preventAllcombatDamage ueotauto=preventAllcombatDamage ueot
text=Prevent all combat damage that would be dealt this turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Rootcoil Creeper
auto={T}:name(Add mana) ability$!name(Choose one) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add black mana) add{B} _ choice name(Add white mana) add{W} _ choice name(Add blue mana) add{U}!$ controller
auto=aslongas(*[hasflashback]|mygraveyard) {T}:name(Add 2 mana) name(Add 2 mana) ability$!name(Choose one) choice name(Add red mana) add{R}{R} _ choice name(Add green mana) add{G}{G} _ choice name(Add black mana) add{B}{B} _ choice name(Add white mana) add{W}{W} _ choice name(Add blue mana) add{U}{U}!$ controller
auto=aslongas(*[-hasflashback;canplayfromgraveyard]|mygraveyard) {T}:name(Add 2 mana) name(Add 2 mana) ability$!name(Choose one) choice name(Add red mana) add{R}{R} _ choice name(Add green mana) add{G}{G} _ choice name(Add black mana) add{B}{B} _ choice name(Add white mana) add{W}{W} _ choice name(Add blue mana) add{U}{U}!$ controller
auto={G}{U}{T}{E}:name(Return card from exile) target(*[hasflashback]|myexile) moveto(myhand)
text={T}: Add one mana of any color. -- {T}: Add two mana of any one color. Spend this mana only to cast spells from your graveyard. -- {G}{U}, {T}, Exile Rootcoil Creeper: Return target card with flashback you own in exile to your hand.
type=Creature
subtype=Plant Horror
mana={G}{U}
power=2
toughness=2
[/card]
[card]
name=Rootha, Mercurial Artist
auto={R}{H}:name(copy spell) castcard(copied noevent) target(*[instant;sorcery]|mystack)
text={2}, Return Rootha, Mercurial Artist to its owner's hand: Copy target instant or sorcery spell you control. You may choose new targets for the copy.
mana={1}{U}{R}
type=Legendary Creature
subtype=Orc Shaman
power=1
toughness=4
[/card]
[card]
name=Rooting Moloch
abilities=cycling
auto=moveTo(exile) target(*[cycling]|myGraveyard) and!( transforms((newability[canplayfromexile])) uynt )!
autohand=__CYCLING__({2})
text=When Rooting Moloch enters the battlefield, exile target card with a cycling ability from your graveyard. Until the end of your next turn, you may play that card. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{R}
type=Creature
subtype=Lizard
power=4
toughness=4
[/card]
[card]
name=Rootless Yew
abilities=trample
auto=_DIES_name(Put creature in hand) target(creature[power>=6]|mygraveyard) moveto(myhand) and!( shuffle )!
text=When Rootless Yew dies, search your library for a creature card with power or toughness 6 or greater, reveal it, put it into your hand, then shuffle your library.
mana={3}{G}{G}
type=Creature
subtype=Treefolk
power=5
toughness=4
[/card]
[card]
name=Roots of Wisdom
autostack=deplete:3
auto=if type(*[land;elf]|mygraveyard)~morethan~0 then target(*[land;elf]|mygraveyard) moveto(myhand) else draw:1 controller
text=Mill three cards, then return a land card or Elf card from your graveyard to your hand. If you can't, draw a card. (To mill a card, put the top card of your library into your graveyard.)
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Rootwater Shaman
auto=lord(aura|mycastingzone) asflash
text=You may cast Aura cards with enchant creature as though they had flash.
mana={2}{U}
type=Creature
subtype=Merfolk Shaman
power=2
toughness=2
[/card]
[card]
name=Rootweaver Druid
auto=ability$!name(fetch land) target(<upto:2>land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent
auto=ability$!name(fetch land) target(land[basic]|mylibrary) moveto(opponentbattlefield) and!( tap(noevent) )! !$ opponent
text=When Rootweaver Druid enters the battlefield, each opponent may search their library for up to three basic land cards. They each put one of those cards onto the battlefield tapped under your control and the rest onto the battlefield tapped under their control. Then each player who searched their library this way shuffles it.
mana={2}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=1
[/card]
[card]
name=Rosemane Centaur
abilities=vigilance
other={convoke} name(Convoke)
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Vigilance
mana={3}{G}{W}
type=Creature
subtype=Centaur Soldier
power=4
toughness=4
[/card]
[card]
name=Rosethorn Acolyte // Seasonal Ritual
abilities=adventure
other={G} name(Adventure)
auto=if paid(alternative) then name(Add 1 mana of any color) name(Add 1 mana of any color) transforms((,newability[activatechooseacolor add{chosencolor} activatechooseend])) forever
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
auto={T}:add{U}
auto={T}:add{B}
auto={T}:add{R}
auto={T}:add{G}
auto={T}:add{W}
text={T}: Add one mana of any color. // Add one mana of any color. (Then exile this card. You may cast the creature later from exile.)
mana={2}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=3
[/card]
[card]
name=Rosethorn Halberd
auto=aslongas(parents) name(Attach to non-human) rehook target(creature[-human]|myBattlefield) <1
auto={5}:equip
auto=teach(creature) 2/1
text=When Rosethorn Halberd enters the battlefield, attach it to target non-Human creature you control. -- Equipped creature gets +2/+1. -- Equip {5} ({5}: Attach to target creature you control. Equip only as a sorcery.)
mana={G}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Rosheen Meanderer
auto={T}:add{4}
text={T}: Add {4} to your mana pool. Spend this mana only on costs that contain {X}.
mana={3}{RG}
type=Legendary Creature
subtype=Giant Shaman
power=4
toughness=4
[/card]
[card]
name=Rot Hulk
abilities=menace
auto=moveTo(myBattlefield) target(zombie|mygraveyard)
text=Menace -- When Rot Hulk enters the battlefield, return up to X target Zombie cards from your graveyard to the battlefield, where X is the number of opponents you have.
mana={5}{B}{B}
type=Creature
subtype=Zombie
power=5
toughness=5
[/card]
[card]
name=Rotten Reunion
flashback={1}{B}
auto=may name(Exile a card) target(*|graveyard) moveto(exile)
auto=token(Zombie Dec)
text=Exile up to one target card from a graveyard. Create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.) -- Flashback {1}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={B}
type=Instant
[/card]
[card]
name=Rotting Regisaur
auto=@each my upkeep:reject notatarget(*|myhand)
text=At the beginning of your upkeep, discard a card.
mana={2}{B}
type=Creature
subtype=Zombie Dinosaur
power=7
toughness=6
[/card]
[card]
name=Rotwidow Pack
abilities=reach
auto={3}{B}{G}{E(creature|mygraveyard)}:token(Spider,Creature Spider,1/2,reach,green) && damage:type:creature[spider]:myBattlefield target(opponent)
text=Reach -- {3}{B}{G}, Exile a creature card from your graveyard: Create a 1/2 green Spider creature token with reach, then each opponent loses 1 life for each Spider you control.
mana={2}{B}{G}
type=Creature
subtype=Spider
power=2
toughness=4
[/card]
[card]
name=Rough // Tumble
other={5}{R} name(Tumble)
auto=if paid(alternative) then damage:6 all(creature[flying])
auto=ifnot paid(alternative) then damage:2 all(creature[-flying])
text=Rough deals 2 damage to each creature without flying. // Tumble deals 6 damage to each creature with flying.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Rouse the Mob
abilities=hasnokicker,hasstrive
kicker=multi{2}{R} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[2/0],newability[trample])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[2/0],newability[trample])) ueot
text=Strive - Rouse the Mob costs {2}{R} more to cast for each target beyond the first. -- Any number of target creatures each get +2/+0 and gain trample until end of turn.
mana={R}
type=Instant
[/card]
[card]
name=Rousing Read
target=creature
auto=draw:2 controller && transforms((,newability[target(*|myhand) reject])) oneshot
auto=1/1
auto=flying
text=Enchant creature -- When Rousing Read enters the battlefield, draw two cards, then discard a card. -- Enchanted creature gets +1/+1 and has flying.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Rousing Refrain
abilities=exiledeath
other={1}{R} name(Suspend 3)
auto=ifnot paid(alternative) then foreach(*|opponenthand) add{R} doesntempty
auto=moveto(myexile) and!( counter(0/0,3,Time) )!
autoexile=@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0,-1,Time)
autoexile=@each my upkeep restriction{compare(hascnttime)~equalto~1}:activate castcard(normal)
text=Add {R} for each card in target opponent's hand. Until end of turn, you don't lose this mana as steps and phases end. Exile Rousing Refrain with three time counters on it. -- Suspend 3-{1}{R} (Rather than cast this card from your hand, you may pay 1{R} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Rousing of Souls
auto=reveal:1 revealzone(mylibrary) optionone if type(land|reveal)~lessthan~1 then token(Spirit,Creature Spirit,1/1,white,flying) optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend
auto=reveal:1 revealzone(opponentlibrary) optionone if type(land|reveal)~lessthan~1 then token(Spirit,Creature Spirit,1/1,white,flying) optiononeend optiontwo target(<1>*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed draw:1 opponent afterrevealedend revealend
text=Parley - Each player reveals the top card of his or her library. For each nonland card revealed this way, you put a 1/1 white Spirit creature token with flying onto the battlefield. Then each player draws a card.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Rout
abilities=flash
restriction=myturnonly
other={5}{W}{W} name(Cast as instant)
auto=bury all(creature)
text=You may cast Rout any time you could cast an instant if you pay {2} more to cast it. -- Destroy all creatures. They can't be regenerated.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Roving Keep
abilities=defender
auto={7}:2/0 && trample && canattack ueot
text=Defender -- {7}: Roving Keep gets +2/+0 and gains trample until end of turn. It can attack this turn as though it didn't have defender.
mana={7}
type=Artifact Creature
subtype=Wall
power=5
toughness=7
[/card]
[card]
name=Rowan's Battleguard
abilities=first strike
auto=aslongas(planeswalker[Rowan]|myBattlefield) +3/+0
text=First strike -- As long as you control a Rowan planeswalker, Rowan's Battleguard gets +3/+0.
mana={3}{R}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Rowan's Stalwarts
auto=moveto(myhand) target(Rowan^ Fearless Sparkmage|mylibrary)
auto=moveto(myhand) target(Rowan^ Fearless Sparkmage|mygraveyard)
text=When Rowan's Stalwarts enters the battlefield, you may search your library and/or graveyard for a card named Rowan, Fearless Sparkmage, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={4}{R}
type=Creature
subtype=Human Knight
power=5
toughness=2
[/card]
[card]
name=Rowdy Crew
abilities=trample
auto=draw:3 && transforms((,newability[target(<2>*|myhand) reject])) forever
text=Trample -- When Rowdy Crew enters the battlefield, draw three cards, then discard two cards at random. If two cards that share a card type are discarded this way, put two +1/+1 counters on Rowdy Crew.
mana={2}{R}{R}
type=Creature
subtype=Human Pirate
power=3
toughness=3
[/card]
[card]
name=Rowen
auto=@drawof(player) turnlimited:if type(land[basic;fresh]|myhand)~morethan~0 then draw:1 controller
text=Reveal the first card you draw each turn. Whenever you reveal a basic land card this way, draw a card.
mana={2}{G}{G}
type=Enchantment
[/card]
[card]
name=Rubble Reading
target=land
auto=destroy
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Destroy target land. Scry 2.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Rubble Slinger
abilities=reach
text=Reach
mana={2}{RG}
type=Creature
subtype=Human Warrior
power=2
toughness=3
[/card]
[card]
name=Rubblebelt Boar
auto=target(creature) 2/0 ueot
text=When Rubblebelt Boar enters the battlefield, target creature gets +2/+0 until end of turn.
mana={3}{R}
type=Creature
subtype=Boar
power=3
toughness=3
[/card]
[card]
name=Rubblebelt Recluse
abilities=mustattack
text=Rubblebelt Recluse attacks each combat if able.
mana={4}{R}
type=Creature
subtype=Ogre Berserker
power=6
toughness=5
[/card]
[card]
name=Rubblebelt Rioters
abilities=haste
auto=_ATTACKING_power:highest:creature:mybattlefield/0
text=Haste -- Whenever Rubblebelt Rioters attacks, it gets +X/+0 until end of turn, where X is the greatest power among creatures you control.
mana={1}{R}{G}
type=Creature
subtype=Human Berserker
power=0
toughness=4
[/card]
[card]
name=Rubblebelt Runner
auto=cantbeblockedby(creature[token])
text=Rubblebelt Runner can't be blocked by creature tokens.
mana={1}{R}{G}
type=Creature
subtype=Viashino Warrior
power=3
toughness=3
[/card]
[card]
name=Ruin Crab
auto=_LANDFALL_deplete:3 opponent
text=Landfall - Whenever a land enters the battlefield under your control, each opponent mills three cards. (To mill a card, a player puts the top card of their library into their graveyard.)
mana={U}
type=Creature
subtype=Crab
power=0
toughness=3
[/card]
[card]
name=Ruin Grinder
abilities=menace
aicode=activate moveTo(myhand) target(mountain|myLibrary)
autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(mountain|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveto(myhand))! afterrevealedend revealend
auto=reject all(*|hand)
auto=draw:7 opponent
auto=draw:7 controller
text=Menace -- When Ruin Grinder dies, each player may discard their hand and draw seven cards. -- Mountaincycling {2} ({2}, Discard this card: Search your library for a Mountain card, reveal it, put it into your hand, then shuffle.)
mana={5}{R}
type=Artifact Creature
subtype=Construct
power=7
toughness=4
[/card]
[card]
name=Ruin Raider
auto=@each my endofturn:if raid then draw:1 && life:-manacost
text=Raid - At the beginning of your end step, if you attacked with a creature this turn, reveal the top card of your library and put that card into your hand. You lose life equal to the card's converted mana cost.
mana={2}{B}
type=Creature
subtype=Orc Pirate
power=3
toughness=2
[/card]
[card]
name=Ruin Rat
abilities=deathtouch
auto=_DIES_target(*|opponentgraveyard) moveTo(exile)
text=Deathtouch -- When Ruin Rat dies, exile target card from an opponent's graveyard.
mana={1}{B}
type=Creature
subtype=Rat
power=1
toughness=1
[/card]
[card]
name=Ruination Rioter
auto=_DIES_damage:type:land:mygraveyard target(player,creature,planeswalker)
text=When Ruination Rioter dies, you may have it deal damage to any target equal to the number of land cards in your graveyard.
mana={R}{G}
type=Creature
subtype=Human Berserker
power=2
toughness=2
[/card]
[card]
name=Ruinous Intrusion
target=artifact,enchantment
auto=moveto(exile)
auto=if cantargetcard(*[manacost=1]|*) then name(Put 1/1 counter) target(creature|myBattlefield) counter(1/1)
auto=if cantargetcard(*[manacost=2]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,2)
auto=if cantargetcard(*[manacost=3]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,3)
auto=if cantargetcard(*[manacost=4]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,4)
auto=if cantargetcard(*[manacost=5]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,5)
auto=if cantargetcard(*[manacost=6]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,6)
auto=if cantargetcard(*[manacost=7]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,7)
auto=if cantargetcard(*[manacost=8]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,8)
auto=if cantargetcard(*[manacost=9]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,9)
auto=if cantargetcard(*[manacost=10]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,10)
auto=if cantargetcard(*[manacost=11]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,11)
auto=if cantargetcard(*[manacost=12]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,12)
auto=if cantargetcard(*[manacost=13]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,13)
auto=if cantargetcard(*[manacost=14]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,14)
auto=if cantargetcard(*[manacost=15]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,15)
auto=if cantargetcard(*[manacost=16]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,16)
auto=if cantargetcard(*[manacost=17]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,17)
auto=if cantargetcard(*[manacost=18]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,18)
auto=if cantargetcard(*[manacost=19]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,19)
auto=if cantargetcard(*[manacost>=20]|*) then name(Put 1/1 counters) target(creature|myBattlefield) counter(1/1,20)
text=Exile target artifact or enchantment. Put X +1/+1 counters on target creature you control, where X is the mana value of the permanent exiled this way.
mana={3}{G}
type=Instant
[/card]
[card]
name=Ruinous Ultimatum
auto=destroy all(*[-land]|opponentBattlefield)
text=Destroy all nonland permanents your opponents control.
mana={R}{R}{W}{W}{W}{B}{B}
type=Sorcery
[/card]
[card]
name=Rumbling Aftershocks
auto=@movedTo(*[kicked=1]|myStack):may name(Deal 1 damage) target(creature) damage:1
auto=@movedTo(*[kicked=2]|myStack):may name(Deal 2 damage) target(creature) damage:2
auto=@movedTo(*[kicked=3]|myStack):may name(Deal 3 damage) target(creature) damage:3
auto=@movedTo(*[kicked=4]|myStack):may name(Deal 4 damage) target(creature) damage:4
auto=@movedTo(*[kicked=5]|myStack):may name(Deal 5 damage) target(creature) damage:5
auto=@movedTo(*[kicked=6]|myStack):may name(Deal 6 damage) target(creature) damage:6
auto=@movedTo(*[kicked=7]|myStack):may name(Deal 7 damage) target(creature) damage:7
auto=@movedTo(*[kicked=8]|myStack):may name(Deal 8 damage) target(creature) damage:8
auto=@movedTo(*[kicked=9]|myStack):may name(Deal 9 damage) target(creature) damage:9
auto=@movedTo(*[kicked=10]|myStack):may name(Deal 10 damage) target(creature) damage:10
auto=@movedTo(*[kicked=11]|myStack):may name(Deal 11 damage) target(creature) damage:11
auto=@movedTo(*[kicked=12]|myStack):may name(Deal 12 damage) target(creature) damage:12
auto=@movedTo(*[kicked=13]|myStack):may name(Deal 13 damage) target(creature) damage:13
auto=@movedTo(*[kicked=14]|myStack):may name(Deal 14 damage) target(creature) damage:14
auto=@movedTo(*[kicked=15]|myStack):may name(Deal 15 damage) target(creature) damage:15
auto=@movedTo(*[kicked=16]|myStack):may name(Deal 16 damage) target(creature) damage:16
auto=@movedTo(*[kicked=17]|myStack):may name(Deal 17 damage) target(creature) damage:17
auto=@movedTo(*[kicked=18]|myStack):may name(Deal 18 damage) target(creature) damage:18
auto=@movedTo(*[kicked=19]|myStack):may name(Deal 19 damage) target(creature) damage:19
auto=@movedTo(*[kicked>=20]|myStack):may name(Deal 20 damage) target(creature) damage:20
text=Whenever you cast a kicked spell, you may have Rumbling Aftershocks deal damage to target creature or player equal to the number of times that spell was kicked.
mana={4}{R}
type=Enchantment
[/card]
[card]
name=Rumbling Rockslide
target=creature
auto=damage:type:land:myBattlefield
text=Rumbling Rockslide deals damage to target creature equal to the number of lands you control.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Rumbling Ruin
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 1) name(Total of 1/1 couinters is 1) all(creature[power<=1]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 2) name(Total of 1/1 couinters is 2) all(creature[power<=2]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 3) name(Total of 1/1 couinters is 3) all(creature[power<=3]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 4) name(Total of 1/1 couinters is 4) all(creature[power<=4]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 5) name(Total of 1/1 couinters is 5) all(creature[power<=5]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 6) name(Total of 1/1 couinters is 6) all(creature[power<=6]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 7) name(Total of 1/1 couinters is 7) all(creature[power<=7]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 8) name(Total of 1/1 couinters is 8) all(creature[power<=8]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 9) name(Total of 1/1 couinters is 9) all(creature[power<=9]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 10) name(Total of 1/1 couinters is 10) all(creature[power<=10]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 11) name(Total of 1/1 couinters is 11) all(creature[power<=11]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 12) name(Total of 1/1 couinters is 12) all(creature[power<=12]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 13) name(Total of 1/1 couinters is 13) all(creature[power<=13]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 14) name(Total of 1/1 couinters is 14) all(creature[power<=14]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 15) name(Total of 1/1 couinters is 15) all(creature[power<=15]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 16) name(Total of 1/1 couinters is 16) all(creature[power<=16]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 17) name(Total of 1/1 couinters is 17) all(creature[power<=17]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 18) name(Total of 1/1 couinters is 18) all(creature[power<=18]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 19) name(Total of 1/1 couinters is 19) all(creature[power<=19]|opponentbattlefield) transforms((,newability[cantblock])) ueot
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then choice name(Total of 1/1 couinters is 20) name(Total of 1/1 couinters is 20) all(creature[power<=20]|opponentbattlefield) transforms((,newability[cantblock])) ueot
text=When Rumbling Ruin enters the battlefield, count the number of +1/+1 counters on creatures you control. Creatures your opponents control with power less than or equal to that number can't block this turn.
mana={5}{R}
type=Creature
subtype=Elemental
power=6
toughness=6
[/card]
[card]
name=Rumbling Sentry
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=When Rumbling Sentry enters the battlefield, scry 1.
mana={3}{W}{W}
type=Creature
subtype=Giant
power=3
toughness=6
[/card]
[card]
name=Run Afoul
auto=ability$!name(sacrifice) notatarget(creature[flying]|mybattlefield) sacrifice!$ opponent
text=Target opponent sacrifices a creature with flying.
mana={G}
type=Instant
[/card]
[card]
name=Run Aground
target=creature
auto=moveto(ownerlibrary)
text=Put target artifact or creature on top of its owner's library.
mana={3}{U}
type=Instant
[/card]
[card]
name=Run Amok
target=creature[attacking]
auto=+3/+3
auto=trample 
text=Target attacking creature gets +3/+3 and gains trample until end of turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Run Ashore
auto=choice name(Return to hand) name(Return to hand) target(*[-land]|battlefield) moveto(ownerhand)
auto=choice name(Put on top or bottom) name(Put on top or bottom) ability$!name(Choose one) choice name(Put on top) target(*[-land]|battlefield) moveto(ownerlibrary) _ choice name(Put on bottom) target(*[-land]|battlefield) bottomoflibrary!$ controller
auto=choice name(Choose both) name(Choose both) target(*[-land]|battlefield) moveto(ownerhand) && ability$!name(Choose one) choice name(Put on top) target(*[-land]|battlefield) moveto(ownerlibrary) _ choice name(Put on bottom) target(*[-land]|battlefield) bottomoflibrary!$ controller
text=Choose one or both -- The owner of target nonland permanent puts it on the top or bottom of their library. -- Return target nonland permanent to its owner's hand.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Run Away Together
auto=moveTo(myHand) target(creature|myBattlefield)
auto=moveTo(opponentHand) target(creature|opponentBattlefield)
text=Choose two target creatures controlled by different players. Return those creatures to their owners' hands.
mana={1}{U}
type=Instant
[/card]
[card]
name=Runaway Steam-Kin
auto=@movedTo(*[red]|mystack) restriction{(counter(1/1))~lessthan~3}:counter(1/1)
auto={C(1/1,-3)}:add{R}{R}{R}
text=Whenever you cast a red spell, if Runaway Steam-Kin has fewer than three +1/+1 counters on it, put a +1/+1 counter on Runaway Steam-Kin. -- Remove three +1/+1 counters from Runaway Steam-Kin: Add {R}{R}{R}.
mana={1}{R}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Rune Snag
target=*|stack
auto=if type(Rune Snag|graveyard)~equalto~0 then transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~1 then transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~2 then transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~3 then transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~4 then transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~5 then transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~6 then transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~7 then transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~8 then transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~9 then transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing?fizzle])) forever
auto=if type(Rune Snag|graveyard)~equalto~10 then transforms((,newability[pay[[{22}]] name(pay 22 mana) donothing?fizzle])) forever
text=Counter target spell unless its controller pays {2} plus an additional {2} for each card named Rune Snag in each graveyard.
mana={1}{U}
type=Instant
[/card]
[card]
name=Rune of Flight
target=artifact,creature,enchantment,land,planeswalker
auto=draw:1 controller
auto=teach(creature) flying
auto=teach(equipment) transforms((,newability[teach(creature) flying]))
text=Enchant permanent -- When Rune of Flight enters the battlefield, draw a card. -- As long as enchanted permanent is a creature, it has flying. -- As long as enchanted permanent is an Equipment, it has "Equipped creature has flying."
mana={1}{U}
type=Enchantment
subtype=Aura Rune
[/card]
[card]
name=Rune of Might
target=artifact,creature,enchantment,land,planeswalker
auto=draw:1 controller
auto=teach(creature) 1/1
auto=teach(creature) trample
auto=teach(equipment) transforms((,newability[teach(creature) 1/1],newability[teach(creature) trample]))
text=Enchant permanent -- When Rune of Might enters the battlefield, draw a card. -- As long as enchanted permanent is a creature, it gets +1/+1 and has trample. -- As long as enchanted permanent is an Equipment, it has "Equipped creature gets +1/+1 and has trample."
mana={1}{G}
type=Enchantment
subtype=Aura Rune
[/card]
[card]
name=Rune of Mortality
target=artifact,creature,enchantment,land,planeswalker
auto=draw:1 controller
auto=teach(creature) deathtouch
auto=teach(equipment) transforms((,newability[teach(creature) deathtouch]))
text=Enchant permanent -- When Rune of Mortality enters the battlefield, draw a card. -- As long as enchanted permanent is a creature, it has deathtouch. -- As long as enchanted permanent is an Equipment, it has "Equipped creature has deathtouch."
mana={1}{B}
type=Enchantment
subtype=Aura Rune
[/card]
[card]
name=Rune of Speed
target=artifact,creature,enchantment,land,planeswalker
auto=draw:1 controller
auto=teach(creature) 1/0
auto=teach(creature) haste
auto=teach(equipment) transforms((,newability[teach(creature) 1/0],newability[teach(creature) haste]))
text=Enchant permanent -- When Rune of Speed enters the battlefield, draw a card. -- As long as enchanted permanent is a creature, it gets +1/+0 and has haste. -- As long as enchanted permanent is an Equipment, it has "Equipped creature gets +1/+0 and has haste."
mana={1}{R}
type=Enchantment
subtype=Aura Rune
[/card]
[card]
name=Rune of Sustenance
target=artifact,creature,enchantment,land,planeswalker
auto=draw:1 controller
auto=teach(creature) lifelink
auto=teach(equipment) transforms((,newability[teach(creature) lifelink]))
text=Enchant permanent -- When Rune of Sustenance enters the battlefield, draw a card. -- As long as enchanted permanent is a creature, it has lifelink. -- As long as enchanted permanent is an Equipment, it has "Equipped creature has lifelink."
mana={1}{W}
type=Enchantment
subtype=Aura Rune
[/card]
[card]
name=Runed Crown
auto={2}:equip
auto=teach(creature) 1/1
auto=may name(Search Rune) target(*[rune]|mylibrary,myhand,mygraveyard) moveto(mybattlefield) and!( transforms((,newability[name(Attach to Runed Crown) rehook target(equipment[Runed Crown]|mybattlefield)],newability[shuffle])) oneshot )!
text=When Runed Crown enters the battlefield, you may search your library, hand, and/or graveyard for a Rune card and put it onto the battlefield attached to Runed Crown. If you search your library this way, shuffle it. -- Equipped creature gets +1/+1. -- Equip {2}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Runeforge Champion
auto=choice name(Don't search rune) donothing
auto=choice name(Search your library) target(*[rune]|mylibrary) moveto(myhand) and!( shuffle )!
auto=choice name(Search your graveyard) target(*[rune]|mygraveyard) moveto(myhand)
auto=lord(*[rune]|myrestrictedcastingzone) transforms((,newability[{1}:name(Pay with 1 mana) name(Pay with 1 mana) activate castcard(normal)]))
text=When Runeforge Champion enters the battlefield, you may search your library and/or graveyard for a Rune card, reveal it, and put it into your hand. If you search your library this way, shuffle it. -- You may pay {1} rather than pay the mana cost for Rune spells you cast.
mana={2}{W}
type=Creature
subtype=Dwarf Warrior
power=2
toughness=3
[/card]
[card]
name=Runic Repetition
target=*[hasflashback]|myexile
auto=moveto(myhand)
text=Return target exiled card with flashback you own to your hand.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Rushblade Commander
auto=lord(warrior|mybattlefield) haste
text=Warriors your team controls have haste.
mana={B}{R}
type=Creature
subtype=Azra Warrior
power=2
toughness=2
[/card]
[card]
name=Rushed Rebirth
auto=if type(creature|mybattlefield)~morethan~0 then choice name(Choose your creature) name(Choose your creature) target(creature|mybattlefield) transforms((,newability[_DIES_name(Search creature) target(creature[manacost<=manacostminus1minusend]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!])) ueot
auto=if type(creature[manacost=0]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 0) name(Choose opponent creature with manacost 0) target(creature[manacost=0]|opponentbattlefield) transforms((,newability[_DIES_donothing])) ueot
auto=if type(creature[manacost=1]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 1) name(Choose opponent creature with manacost 1) target(creature[manacost=1]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=0]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=2]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 2) name(Choose opponent creature with manacost 2) target(creature[manacost=2]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=1]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=3]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 3) name(Choose opponent creature with manacost 3) target(creature[manacost=3]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=2]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=4]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 4) name(Choose opponent creature with manacost 4) target(creature[manacost=4]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=3]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=5]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 5) name(Choose opponent creature with manacost 5) target(creature[manacost=5]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=4]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=6]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 6) name(Choose opponent creature with manacost 6) target(creature[manacost=6]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=5]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=7]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 7) name(Choose opponent creature with manacost 7) target(creature[manacost=7]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=6]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=8]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 8) name(Choose opponent creature with manacost 8) target(creature[manacost=8]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=7]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=9]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 9) name(Choose opponent creature with manacost 9) target(creature[manacost=9]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=8]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=10]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 10) name(Choose opponent creature with manacost 10) target(creature[manacost=10]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=9]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=11]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 11) name(Choose opponent creature with manacost 11) target(creature[manacost=11]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=10]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=12]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 12) name(Choose opponent creature with manacost 12) target(creature[manacost=12]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=11]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=13]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 13) name(Choose opponent creature with manacost 13) target(creature[manacost=13]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=12]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=14]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 14) name(Choose opponent creature with manacost 14) target(creature[manacost=14]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=13]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=15]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 15) name(Choose opponent creature with manacost 15) target(creature[manacost=15]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=14]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=16]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 16) name(Choose opponent creature with manacost 16) target(creature[manacost=16]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=15]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=17]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 17) name(Choose opponent creature with manacost 17) target(creature[manacost=17]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=16]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=18]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 18) name(Choose opponent creature with manacost 18) target(creature[manacost=18]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=17]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost=19]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 19) name(Choose opponent creature with manacost 19) target(creature[manacost=19]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=18]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
auto=if type(creature[manacost>=20]|opponentbattlefield)~morethan~0 then choice name(Choose opponent creature with manacost 20) name(Choose opponent creature with manacost 20) target(creature[manacost>=20]|opponentbattlefield) transforms((,newability[_DIES_ability$!name(Search creature) name(Search creature) target(creature[manacost<=19]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ opponent])) ueot
text=Choose target creature. When that creature dies this turn, search your library for a creature card with lesser mana value, put it onto the battlefield tapped, then shuffle.
mana={B}{G}
type=Instant
[/card]
[card]
name=Rushing-Tide Zubera
auto=@damaged(this) restriction{compare(excessdamage)~morethan~0}:name(Draw 3 card) draw:3 controller
text=When Rushing-Tide Zubera dies, if 4 or more damage was dealt to it this turn, draw three cards.
mana={2}{U}{U}
type=Creature
subtype=Zubera Spirit
power=3
toughness=3
[/card]
[card]
name=Rust Monster
abilities=first strike
auto={S(artifact|mybattlefield)}:name(Gets 2/0) 2/0 ueot
text=First strike -- Sacrifice an artifact: Rust Monster gets +2/+0 until end of turn.
mana={2}{R}
type=Creature
subtype=Beast
power=2
toughness=1
[/card]
[card]
name=Rustvale Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{W}
auto={T}:add{R}
text=Rustvale Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {R} or {W}.
type=Artifact Land
[/card]
[card]
name=Rustwing Falcon
abilities=flying
text=Flying
mana={W}
type=Creature
subtype=Bird
power=1
toughness=2
[/card]
[card]
name=Ruthless Knave
auto={2}{B}{S(creature|mybattlefield)}:token(435451)*2
text={2}{B}, Sacrifice a creature: Create two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- Sacrifice three Treasures: Draw a card.
mana={2}{B}
type=Creature
subtype=Orc Pirate
power=3
toughness=2
[/card]
[card]
name=Ruthless Ripper
abilities=deathtouch
facedown={3}
autofacedown=aslongas(*[black]|myhand) {0}:name(Reveal black card and turn) morph
autofaceup=target(player) life:-2
text=Deathtouch -- Morph-Reveal a black card in your hand. (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Ruthless Ripper is turned face up, target player loses 2 life.
mana={B}
type=Creature
subtype=Human Assassin
power=1
toughness=1
[/card]
[card]
name=Ruthless Sniper
auto=@movedto(*|mygraveyard) from(myhand):may pay({1}) counter(-1/-1,1) target(creature)
text=Whenever you cycle or discard a card, you may pay {1}. If you do, put a -1/-1 counter on target creature.
mana={B}
type=Creature
subtype=Human Archer
power=1
toughness=2
[/card]
[card]
name=Ruthless Winnower
auto=@each my upkeep:ability$!name(Sacrifice non-elf) name(Sacrifice non-elf) sacrifice notatarget(creature[-elf]|mybattlefield)!$ controller
auto=@each opponent upkeep:ability$!name(Sacrifice non-elf) name(Sacrifice non-elf) sacrifice notatarget(creature[-elf]|mybattlefield)!$ opponent
text=At the beginning of each player's upkeep, that player sacrifices a non-Elf creature.
mana={3}{B}{B}
type=Creature
subtype=Elf Rogue
power=4
toughness=4
[/card]
[card]
name=Sabertooth Cobra
auto=@combat(notblocked) source(this):alterpoison:1 opponent
auto=@combat(notblocked) source(this):ability$!name(pay or poison) pay[[{2}]] name(pay 2 mana) donothing?alterpoison:1!$ opponent
text=Whenever Sabertooth Cobra deals damage to a player, he or she gets a poison counter. That player gets another poison counter at the beginning of his or her next upkeep unless he or she pays {2} before that turn. (A player with ten or more poison counters loses the game.)
mana={2}{G}
type=Creature
subtype=Snake
power=2
toughness=2
[/card]
[card]
name=Sabertooth Mauler
auto=@each my endofturn restriction{morbid}:counter(1/1,1) && untap
text=At the beginning of your end step, if a creature died this turn, put a +1/+1 counter on Sabertooth Mauler and untap it.
mana={3}{G}
type=Creature
subtype=Cat
power=3
toughness=3
[/card]
[card]
name=Sacellum Godspeaker
auto={T}:foreach(creaure[power>4]|myhand) add{G}
text={T}: Reveal any number of creature cards with power 5 or greater from your hand. Add {G} to your mana pool for each card revealed this way.
mana={2}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=2
[/card]
[card]
name=Sacred Cat
abilities=lifelink
autograveyard={W}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Lifelink -- Embalm {W} ({W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Cat with no mana cost. Embalm only as a sorcery.)
mana={W}
type=Creature
subtype=Cat
power=1
toughness=1
[/card]
[card]
name=Sacred Excavation
auto=moveTo(myhand) target(<upto:2>*[cycling]|myGraveyard)
text=Return up to two target cards with cycling from your graveyard to your hand.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Sacred Fire
target=player,creature,planeswalker
flashback={4}{R}{W}
auto=damage:2
auto=life:2 controller
text=Sacred Fire deals 2 damage to any target and you gain 2 life. -- Flashback {4}{R}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}{W}
type=Instant
[/card]
[card]
name=Sacred Ground
auto=@movedto(land|mygraveyard) from(myBattlefield):all(trigger[to]) moveto(mybattlefield)
text=Whenever a spell or ability an opponent controls causes a land to be put into your graveyard from the battlefield, return that card to the battlefield.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Sacred White Deer
auto=aslongas(planeswalker[Yanggu]|mybattlefield) {3}{G}{T}:life:4
text={3}{G},{T}: You gain 4 life. Activate this ability only if you control a Yanggu planeswalker.
mana={1}{G}
type=Creature
subtype=Elk
power=2
toughness=2
[/card]
[card]
name=Saddled Rimestag
auto=if thisturn(creature|mybattlefield)~morethan~1 then 2/2 ueot
auto=@movedto(other creature|myBattlefield):2/2 ueot
text=Saddled Rimestag gets +2/+2 as long as you had another creature enter the battlefield under your control this turn.
mana={1}{G}
type=Snow Creature
subtype=Elk
power=2
toughness=2
[/card]
[card]
name=Sadistic Obsession
target=creature
auto=teach(creature) {B}{T}:counter(-1/-1,1) target(creature)
text=Enchant creature -- Enchanted creature has "{B}, {T}: Put a -1/-1 counter on target creature."
mana={3}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sadistic Skymarcher
abilities=flying, lifelink
text=As an additional cost to cast this spell, reveal a Vampire card from your hand or pay {1}. -- Flying, lifelink
mana={2}{B}
type=Creature
subtype=Vampire Soldier
power=2
toughness=2
[/card]
[card]
name=Sage of Hours
auto=_HEROIC_counter(1/1)
auto={0}:this(counter{1/1.1}=5) turns:+1 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=6) turns:+1 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=7) turns:+1 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=8) turns:+1 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=9) turns:+1 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=10) turns:+2 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=11) turns:+2 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=12) turns:+2 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=13) turns:+2 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=14) turns:+2 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=15) turns:+3 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=16) turns:+3 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=17) turns:+3 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=18) turns:+3 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=19) turns:+3 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=20) turns:+4 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=21) turns:+4 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=22) turns:+4 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=23) turns:+4 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}=24) turns:+4 controller && removeallcounters(1/1)
auto={0}:this(counter{1/1.1}>=25) turns:+5 controller && removeallcounters(1/1)
text=Heroic - Whenever you cast a spell that targets Sage of Hours, put a +1/+1 counter on it. -- Remove all +1/+1 counters from Sage of Hours: For each five counters removed this way, take an extra turn after this one.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Sage of Mysteries
auto=_CONSTELLATION_deplete:2 target(player)
text=Constellation -- Whenever an enchantment enters the battlefield under your control, target player puts the top two cards of their library into their graveyard.
mana={U}
type=Creature
subtype=Human Wizard
power=0
toughness=2
[/card]
[card]
name=Sage of the Beyond
abilities=flying,foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={4}{U} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=lord(*|mycommandzone) changecost(colorless:-2) forcedalive
auto=lord(*|myexile) changecost(colorless:-2) forcedalive
auto=lord(*|mygraveyard) changecost(colorless:-2) forcedalive
auto=lord(*|mylibrary) changecost(colorless:-2) forcedalive
auto=lord(*|mysideboard) changecost(colorless:-2) forcedalive
text=Flying -- Spells you cast from anywhere other than your hand cost {2} less to cast. -- Foretell {4}{U} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={5}{U}{U}
type=Creature
subtype=Spirit Giant
power=5
toughness=5
[/card]
[card]
name=Sage of the Falls
auto=may name(draw & discard) ability$!draw:1 _ choice notatarget(*|myhand) reject)!$ controller
auto=@movedTo(creature[-human]|myBattlefield):may name(draw & discard) ability$!draw:1 _ choice notatarget(*|myhand) reject)!$ controller
text=Whenever Sage of the Falls or another non-Human creature enters the battlefield under your control, you may draw a card. If you do, discard a card.
mana={4}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=5
[/card]
[card]
name=Sage's Row Savant
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=When Sage's Row Savant enters the battlefield, scry 2.
mana={1}{U}
type=Creature
subtype=Vedalken Wizard
power=2
toughness=1
[/card]
[card]
name=Sage-Eye Avengers
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=_ATTACKING_may moveTo(ownerhand) target(creature[power<=pminus1minusend])
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- Whenever Sage-Eye Avengers attacks, you may return target creature to its owner's hand if its power is less than Sage-Eye Avengers's power.
mana={4}{U}{U}
type=Creature
subtype=Djinn Monk
power=4
toughness=5
[/card]
[card]
name=Sagittars' Volley
target=creature[flying]
auto=destroy
auto=damage:1 all(creature[flying]|opponentBattlefield)
text=Destroy target creature with flying. Sagittars' Volley deals 1 damage to each creature with flying your opponents control.
mana={2}{G}
type=Instant
[/card]
[card]
name=Saheeli's Artistry
auto=if type(artifact|battlefield)~morethan~0 then choice name(Clone an artifact) name(Clone an artifact) target(artifact) clone
auto=if type(creature|battlefield)~morethan~0 then choice name(Clone a creature) name(Clone a creature) target(creature) clone addtype(artifact)
auto=if type(artifact|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Choose both) name(Choose both) name(Choose both) target(artifact) clone && ability$!name(Clone a creature) name(Clone a creature) target(creature) clone addtype(artifact)!$ controller
text=Choose one or both -- Create a token that's a copy of target artifact. -- Create a token that's a copy of target creature, except it's an artifact in addition to its other types.
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Saheeli's Directive
mana={X}{R}{R}{R}
other={improvise} name(Improvise)
auto=name(Reveal X cards) reveal:X optionone name(Get Any Cards) target(<anyamount>artifact[manacost<=x]|reveal) moveto(mybattlefield) optiononeend optiontwo choice name(Discard the rest) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Improvise (Each artifact you tap after you're done activating mana abilities pays for {1}.) -- Reveal the top X cards of your library. You may put any number of artifact cards with converted mana cost X or less from among them onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield into your graveyard.
type=Sorcery
[/card]
[card]
name=Saheeli's Silverwing
abilities=flying
text=Flying -- When Saheeli's Silverwing enters the battlefield, look at the top card of target opponent's library.
mana={4}
type=Artifact Creature
subtype=Drake
power=2
toughness=3
[/card]
[card]
name=Sai, Master Thopterist
auto=@movedTo(artifact|mystack):create(thopter artifact:creature thopter artifact:1/1:colorless:flying)
auto={1}{U}{S(artifact|myBattlefield)}{S(artifact|myBattlefield)}:draw:1
text=Whenever you cast an artifact spell, create a 1/1 colorless Thopter artifact creature token with flying. -- {1}{U}, Sacrifice two artifacts: Draw a card.
mana={2}{U}
type=Legendary Creature
subtype=Human Artificer
power=1
toughness=4
[/card]
[card]
name=Said // Done
ability=flash
other={3}{U} name(Done)
restriction=can play sorcery
auto=ifnot paid(alternative) then target(other *[instant;sorcery]|mygraveyard) moveto(myHand)
auto=if paid(alternative) then target(<upto:2>creature|battlefield) freeze
text=Return target instant or sorcery card from your graveyard to your hand. -- Tap up to two target creatures. They don't untap during their controllers' next untap step.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Sailmonger
auto={2}:target(creature) flying ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) notatarget(creature) flying ueot?donothing!$ opponent])) forever
text={2}: Target creature gains flying until end of turn. Any player may activate this ability.
mana={3}{U}
type=Creature
subtype=Human Monger
power=3
toughness=3
[/card]
[card]
name=Sailor of Means
auto=token(435451)
text=When Sailor of Means enters the battlefield, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={2}{U}
type=Creature
subtype=Human Pirate
power=1
toughness=4
[/card]
[card]
name=Sakashima of a Thousand Faces
abilities=partner,legendruleremove
auto=may copy target(creature|mybattlefield) && all(this) transforms((,newability[partner],newability[legendruleremove])) forever
text=You may have Sakashima of a Thousand Faces enter the battlefield as a copy of another creature you control, except it has Sakashima of a Thousand Faces's other abilities. -- The "legend rule" doesn't apply to permanents you control. -- Partner (You can have two commanders if both have partner.)
mana={3}{U}
type=Legendary Creature
subtype=Human Rogue
power=3
toughness=1
[/card]
[card]
name=Sakashima's Protege
abilities=flash
autostack=if casted(this) then cascade:plibrarycount
auto=may copy NotATarget(*[fresh]|battlefield)
text=Flash -- Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- You may have Sakashima's Protege enter the battlefield as a copy of any permanent that entered the battlefield this turn.
mana={4}{U}{U}
type=Creature
subtype=Shapeshifter
power=3
toughness=1
[/card]
[card]
name=Sakashima's Will
auto=if type(*[iscommander]|mybattlefield)~equalto~0 then choice name(Opponent choose a creature) name(Opponent choose a creature) ability$!name(Choose creature) name(Choose creature) target(creature|mybattlefield) moveto(opponentbattlefield)!$ opponent
auto=if type(*[iscommander]|mybattlefield)~equalto~0 then choice name(All creatures becomes copy) name(All creatures becomes copy) target(creature|myBattlefield) transforms((,newability[phaseaction[endofturn once] counter(0/0.-1.SakashimaEffect)],newability[counter(0/0.1.SakashimaEffect)],newability[all(other creature|myBattlefield) transforms((,newability[all(creature[counter{0/0.1.SakashimaEffect}]|myBattlefield) copy and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(myorigname) undocpy])) forever )!])) ueot])) oneshot
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then may name(Opponent choose a creature) name(Opponent choose a creature) ability$!name(Choose creature) name(Choose creature) target(creature|mybattlefield) moveto(opponentbattlefield)!$ opponent
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then may name(All creatures becomes copy) name(All creatures becomes copy) target(creature|myBattlefield) transforms((,newability[phaseaction[endofturn once] counter(0/0.-1.SakashimaEffect)],newability[counter(0/0.1.SakashimaEffect)],newability[all(other creature|myBattlefield) transforms((,newability[all(creature[counter{0/0.1.SakashimaEffect}]|myBattlefield) copy and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(myorigname) undocpy])) forever )!])) ueot])) oneshot
text=Choose one. If you control a commander as you cast this spell, you may choose both. -- Target opponent chooses a creature they control. You gain control of it. -- Choose a creature you control. Each other creature you control becomes a copy of that creature until end of turn.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Saltcrusted Steppe
auto={T}:add{C}
auto={1}{T}:counter(0/0,1,Storage)
auto={1}{C(0/0,-1,Storage)}: ability$! _ choice add{G} _ choice add{W} !$ controller
text={T}: Add {C}. -- {1}, {T}: Put a storage counter on Saltcrusted Steppe. -- {1}, Remove X storage counters from Saltcrusted Steppe: Add X mana in any combination of {G} and/or {W}.
type=Land
[/card]
[card]
name=Saltwater Stalwart
auto=@damagefoeof(player) from(this):draw:1 target(player)
text=Whenever Saltwater Stalwart deals damage to an opponent, target player draws a card.
mana={3}{U}
type=Creature
subtype=Merfolk Warrior
power=2
toughness=4
[/card]
[card]
name=Salvager of Ruin
auto={S}:target(*[-instant,-sorcery,fresh]|mygraveyard) moveto(myhand)
text=Sacrifice Salvager of Ruin: Choose target permanent card in your graveyard that was put there from the battlefield this turn. Return it to your hand.
mana={3}
type=Artifact Creature
subtype=Construct
power=2
toughness=1
[/card]
[card]
name=Salvager of Secrets
auto=target(instant,sorcery|mygraveyard) moveto(ownerhand)
text=When Salvager of Secrets enters the battlefield, return target instant or sorcery card from your graveyard to your hand.
mana={3}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Samite Blessing
target=creature
auto=teach(creature) transforms((,newability[{T}:name(Prevent 1 damage) target(creature) prevent:1]))
text=Enchant creature -- Enchanted creature has "{T}: The next time a source of your choice would deal damage to target creature this turn, prevent that damage."
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Samite Sanctuary
auto={2}:target(creature) absorb ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) notatarget(creature) absorb ueot?donothing!$ opponent])) forever
text={2}: Prevent the next 1 damage that would be dealt to target creature this turn. Any player may activate this ability.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Samut's Sprint
target=creature
auto=+2/+1
auto=haste
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_SCRY_(1)
text=Target creature gets +2/+1 and gains haste until end of turn. Scry 1.
mana={R}
type=Instant
[/card]
[card]
name=Samut, Voice of Dissent
abilities=flash, double strike, vigilance, haste
auto=lord(other creature|mybattlefield) haste
auto={W}{T}:untap target(other creature)
text=Flash -- Double strike, vigilance, haste -- Other creatures you control have haste. -- {W}, {T}: Untap another target creature.
mana={3}{R}{G}
type=Legendary Creature
subtype=Human Warrior
power=3
toughness=4
[/card]
[card]
name=Sanctifier en-Vec
abilities=protection from black,protection from red
auto=all(*[red;black]|graveyard) moveto(exile)
auto=@movedto(*[black;red]|opponentgraveyard) from(hand):name(Exile card) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|opponentgraveyard) from(sideboard):name(Exile card) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|opponentgraveyard) from(library):name(Exile card) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|opponentgraveyard) from(commandzone):name(Exile card) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|opponentgraveyard) from(exile):name(Exile card) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|opponentgraveyard) from(stack):name(Exile card) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|opponentgraveyard) from(graveyard):name(Exile card) transforms((,newability[all(*[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|mygraveyard) from(hand):name(Exile card) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|mygraveyard) from(sideboard):name(Exile card) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|mygraveyard) from(library):name(Exile card) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|mygraveyard) from(commandzone):name(Exile card) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|mygraveyard) from(exile):name(Exile card) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|mygraveyard) from(stack):name(Exile card) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile)])) forever
auto=@movedto(*[black;red]|mygraveyard) from(graveyard):name(Exile card) transforms((,newability[all(*[zpos=type:*:mygraveyard]|mygraveyard) moveto(exile)])) forever
text=Protection from black and from red -- When Sanctifier en-Vec enters the battlefield, exile all cards that are black or red from all graveyards. -- If a black or red permanent, spell, or card not on the battlefield would be put into a graveyard, exile it instead.
mana={W}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Sanctuary Blade
auto=teach(creature) 2/0
auto=teach(creature) protection from(chosencolor)
auto=@targeted(creature) from(this|myBattlefield):chosencolor chosencolorend
text=As Sanctuary Blade becomes attached to a creature, choose a color. -- Equipped creature gets +2/+0 and has protection from the last chosen color. -- Equip {3}
auto={3}:equip
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sanctuary Lockdown
auto=lord(Human|myBattlefield) 1/1
auto={2}{T(human|myBattlefield)}{T(human|myBattlefield)}:tap target(creature|opponentBattlefield)
text=Humans you control get +1/+1. -- {2}, Tap two untapped Humans you control: Tap target creature an opponent controls.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Sanctuary Raptor
abilities=flying
auto=@combat(attacking) source(this) restriction{type(*[token]|myBattlefield)~morethan~2}:name(Gains 2/0 and first strike) transforms((,newability[2/0],newability[first strike])) ueot
text=Flying -- Whenever Sanctuary Raptor attacks, if you control three or more tokens, Sanctuary Raptor gets +2/+0 and gains first strike until end of turn.
mana={3}
type=Artifact Creature
subtype=Bird
power=2
toughness=1
[/card]
[card]
name=Sanctuary Smasher
abilities=first strike,cycling
autohand=__CYCLING__({2}{R})
autohand=@cycled(this|myHand):name(Put a first strike counter) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.FirstStrike],newability[this(counter{0/0.1.FirstStrike}>=1) first strike])) forever
text=First strike -- Cycling {2}{R} ({2}{R}, Discard this card: Draw a card.) -- When you cycle Sanctuary Smasher, put a first strike counter on target creature you control.
mana={4}{R}{R}
type=Creature
subtype=Rhino Beast
power=6
toughness=4
[/card]
[card]
name=Sanctum Guardian
auto={S}:name(Prevent all damage) target(player,creature) prevent:20
text=Sacrifice Sanctum Guardian: The next time a source of your choice would deal damage to target creature or player this turn, prevent that damage.
mana={1}{W}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=4
[/card]
[card]
name=Sanctum Prelate
auto=choice name(Choose 0) transforms((,newability[maxCast(*[-creature;manacost=0])0 opponent],newability[maxCast(*[-creature;manacost=0])0 controller])) forever
auto=choice name(Choose 1) transforms((,newability[maxCast(*[-creature;manacost=1])0 opponent],newability[maxCast(*[-creature;manacost=1])0 controller])) forever
auto=choice name(Choose 2) transforms((,newability[maxCast(*[-creature;manacost=2])0 opponent],newability[maxCast(*[-creature;manacost=2])0 controller])) forever
auto=choice name(Choose 3) transforms((,newability[maxCast(*[-creature;manacost=3])0 opponent],newability[maxCast(*[-creature;manacost=3])0 controller])) forever
auto=choice name(Choose 4) transforms((,newability[maxCast(*[-creature;manacost=4])0 opponent],newability[maxCast(*[-creature;manacost=4])0 controller])) forever
auto=choice name(Choose 5) transforms((,newability[maxCast(*[-creature;manacost=5])0 opponent],newability[maxCast(*[-creature;manacost=5])0 controller])) forever
auto=choice name(Choose 6) transforms((,newability[maxCast(*[-creature;manacost=6])0 opponent],newability[maxCast(*[-creature;manacost=6])0 controller])) forever
auto=choice name(Choose 7) transforms((,newability[maxCast(*[-creature;manacost=7])0 opponent],newability[maxCast(*[-creature;manacost=7])0 controller])) forever
auto=choice name(Choose 8) transforms((,newability[maxCast(*[-creature;manacost=8])0 opponent],newability[maxCast(*[-creature;manacost=8])0 controller])) forever
auto=choice name(Choose 9) transforms((,newability[maxCast(*[-creature;manacost=9])0 opponent],newability[maxCast(*[-creature;manacost=9])0 controller])) forever
auto=choice name(Choose 10) transforms((,newability[maxCast(*[-creature;manacost=10])0 opponent],newability[maxCast(*[-creature;manacost=10])0 controller])) forever
auto=choice name(Choose 11) transforms((,newability[maxCast(*[-creature;manacost=11])0 opponent],newability[maxCast(*[-creature;manacost=11])0 controller])) forever
auto=choice name(Choose 12) transforms((,newability[maxCast(*[-creature;manacost=12])0 opponent],newability[maxCast(*[-creature;manacost=12])0 controller])) forever
auto=choice name(Choose 13) transforms((,newability[maxCast(*[-creature;manacost=13])0 opponent],newability[maxCast(*[-creature;manacost=13])0 controller])) forever
auto=choice name(Choose 14) transforms((,newability[maxCast(*[-creature;manacost=14])0 opponent],newability[maxCast(*[-creature;manacost=14])0 controller])) forever
auto=choice name(Choose 15) transforms((,newability[maxCast(*[-creature;manacost=15])0 opponent],newability[maxCast(*[-creature;manacost=15])0 controller])) forever
auto=choice name(Choose 16) transforms((,newability[maxCast(*[-creature;manacost=16])0 opponent],newability[maxCast(*[-creature;manacost=16])0 controller])) forever
auto=choice name(Choose 17) transforms((,newability[maxCast(*[-creature;manacost=17])0 opponent],newability[maxCast(*[-creature;manacost=17])0 controller])) forever
auto=choice name(Choose 18) transforms((,newability[maxCast(*[-creature;manacost=18])0 opponent],newability[maxCast(*[-creature;manacost=18])0 controller])) forever
auto=choice name(Choose 19) transforms((,newability[maxCast(*[-creature;manacost=19])0 opponent],newability[maxCast(*[-creature;manacost=19])0 controller])) forever
auto=choice name(Choose 20) transforms((,newability[maxCast(*[-creature;manacost=20])0 opponent],newability[maxCast(*[-creature;manacost=20])0 controller])) forever
text=As Sanctum Prelate enters the battlefield, choose a number. -- Noncreature spells with converted mana cost equal to the chosen number can't be cast.
mana={1}{W}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Sanctum Seeker
auto=@combat(attacking) source(vampire|mybattlefield):life:-1 opponent && life:1 controller
text=Whenever a Vampire you control attacks, each opponent loses 1 life and you gain 1 life.
mana={2}{B}{B}
type=Creature
subtype=Vampire Knight
power=3
toughness=4
[/card]
[card]
name=Sanctum Spirit
abilities=lifelink
auto={D(*[artifact;legendary;saga]|myHand)}:indestructible ueot
text=Lifelink -- Discard a historic card: Sanctum Spirit gains indestructible until end of turn. (Artifacts, legendaries, and Sagas are historic.)
mana={3}{W}
type=Creature
subtype=Spirit
power=3
toughness=2
[/card]
[card]
name=Sanctum Weaver
auto={T}:name(Add red mana) thisforeach(variable{type:enchantment:myBattlefield}>0) add{R}
auto={T}:name(Add white mana) thisforeach(variable{type:enchantment:myBattlefield}>0) add{W}
auto={T}:name(Add blue mana) thisforeach(variable{type:enchantment:myBattlefield}>0) add{U}
auto={T}:name(Add black mana) thisforeach(variable{type:enchantment:myBattlefield}>0) add{B}
auto={T}:name(Add green mana) thisforeach(variable{type:enchantment:myBattlefield}>0) add{G}
text={T}: Add X mana of any one color, where X is the number of enchantments you control.
mana={1}{G}
type=Enchantment Creature
subtype=Dryad
power=0
toughness=2
[/card]
[card]
name=Sanctum of All
#MISSING: not possible to trigger twice any ability ATM
auto=@each my upkeep:ability$!name(Choose one) choice name(Don't search) donothing _ choice name(Search Library) moveTo(myBattlefield) target(*[shrine]|myLibrary) && shuffle oneshot _ choice name(Search Graveyard) moveTo(myBattlefield) target(*[shrine]|myGraveyard)!$ controller
text=At the beginning of your upkeep, you may search your library and/or graveyard for a Shrine card and put it onto the battlefield. If you search your library this way, shuffle it. -- If an ability of another Shrine you control triggers while you control six or more Shrines, that ability triggers an additional time.
mana={W}{U}{B}{R}{G}
type=Legendary Enchantment
subtype=Shrine
[/card]
[card]
name=Sanctum of Calm Waters
auto=@each my firstmain:may foreach(*[shrine]|mybattlefield) name(draw a card for each shrine) draw:1 controller && transforms((,newability[target(*|myhand) reject])) oneshot
text=At the beginning of your precombat main phase, you may draw X cards, where X is the number of Shrines you control. If you do, discard a card.
mana={3}{U}
type=Legendary Enchantment
subtype=Shrine
[/card]
[card]
name=Sanctum of Eternity
auto={T}:add{1}
auto={2}{T}:moveTo(myHand) target(*[iscommander]|mybattlefield) myTurnOnly
text={T}: Add {1}. -- {2}, {T}: Return target commander you own from the battlefield to your hand. Activate this ability only during your turn.
type=Land
[/card]
[card]
name=Sanctum of Fruitful Harvest
auto=@each my firstmain:foreach(*[shrine]|mybattlefield) ability$! choice add{W} _ choice add{U} _ choice add{B} _ choice add{R} _ choice add{G} !$ controller
text=At the beginning of your precombat main phase, add X mana of any one color, where X is the number of Shrines you control.
mana={2}{G}
type=Legendary Enchantment
subtype=Shrine
[/card]
[card]
name=Sanctum of Shattered Heights
auto={1}{D(*[land;shrine]|myHand)}:damage:type:*[shrine]:mybattlefield target(creature,planeswalker)
text={1}, Discard a land card or Shrine card: Sanctum of Shattered Heights deals X damage to target creature or planeswalker, where X is the number of Shrines you control.
mana={2}{R}
type=Legendary Enchantment
subtype=Shrine
[/card]
[card]
name=Sanctum of Stone Fangs
auto=@each my firstmain:life:type:*[shrine]:mybattlefield controller && life:-type:*[shrine]:mybattlefield opponent
text=At the beginning of your precombat main phase, each opponent loses X life and you gain X life, where X is the number of Shrines you control.
mana={1}{B}
type=Legendary Enchantment
subtype=Shrine
[/card]
[card]
name=Sanctum of Tranquil Light
auto={5}{W}:name({5}{W}:tap target creature) tap target(creature)
auto={4}{W} restriction{type(*[shrine]|myBattlefield)~morethan~0}:name({4}{W}:tap target creature) tap target(creature)
auto={3}{W} restriction{type(*[shrine]|myBattlefield)~morethan~1}:name({3}{W}:tap target creature) tap target(creature)
auto={2}{W} restriction{type(*[shrine]|myBattlefield)~morethan~2}:name({2}{W}:tap target creature) tap target(creature)
auto={1}{W} restriction{type(*[shrine]|myBattlefield)~morethan~3}:name({1}{W}:tap target creature) tap target(creature)
auto={W} restriction{type(*[shrine]|myBattlefield)~morethan~4}:name({W}:tap target creature) tap target(creature)
text={5}{W}: Tap target creature. This ability costs 1 less to activate for each Shrine you control.
mana={W}
type=Legendary Enchantment
subtype=Shrine
[/card]
[card]
name=Sanctum of the Sun
auto=untap
auto=life:5 controller
auto=all(*|myexile) removeallcounters(0/0,1,AzorExiled)
auto={T}:name(Add white mana) name(Add white mana) thisforeach(variable{lifetotal}) add{W}
auto={T}:name(Add green mana) name(Add green mana) thisforeach(variable{lifetotal}) add{G}
auto={T}:name(Add black mana) name(Add black mana) thisforeach(variable{lifetotal}) add{B}
auto={T}:name(Add blue mana) name(Add blue mana) thisforeach(variable{lifetotal}) add{U}
auto={T}:name(Add red mana) name(Add red mana) thisforeach(variable{lifetotal}) add{R}
text=(Transforms from Azor's Gateway.) -- {T}: Add X mana of any one color, where X is your life total.
type=Legendary Land
[/card]
[card]
name=Sand Strangler
auto=aslongas(desert|mybattlefield,mygraveyard) damage:3 target(creature)
text=When Sand Strangler enters the battlefield, if you control a Desert or there is a Desert card in your graveyard, you may have Sand Strangler deal 3 damage to target creature.
mana={3}{R}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Sandals of Abdallah
auto={2}{T}:name(Target your creature) target(creature|mybattlefield) transforms((,newability[islandwalk],newability[_DIES_destroy target(Sandals of Abdallah|mybattlefield)])) ueot
auto={2}{T}:name(Target opponent's creature) target(creature|opponentbattlefield) transforms((,newability[islandwalk],newability[_DIES_destroy target(Sandals of Abdallah|opponentbattlefield)])) ueot
text={2}, {T}: Target creature gains islandwalk until end of turn. When that creature dies this turn, destroy Sandals of Abdallah.
mana={4}
type=Artifact
[/card]
[card]
name=Sandstone Oracle
abilities=flying
auto=foreach(*|targetedpersonshand) if type(*|targetedpersonshand)~morethan~type(*|myhand) then draw:1
text=Flying -- When Sandstone Oracle enters the battlefield, choose an opponent. If that player has more cards in hand than you, draw cards equal to the difference.
mana={7}
type=Artifact Creature
subtype=Sphinx
power=4
toughness=4
[/card]
[card]
name=Sandwurm Convergence
auto=lord(creature[flying]|opponentbattlefield) cantattack
auto=lord(creature[flying]|opponentbattlefield) cantpwattack
auto=@each my endofturn:token(Wurm,creature Wurm,5/5,green)
text=Creatures with flying can't attack you or planeswalkers you control. -- At the beginning of your end step, create a 5/5 green Wurm creature token.
mana={6}{G}{G}
type=Enchantment
[/card]
[card]
name=Sanguine Glorifier
auto=target(other vampire|mybattlefield) counter(1/1,1)
text=When Sanguine Glorifier enters the battlefield, put a +1/+1 counter on another target Vampire you control.
mana={3}{W}
type=Creature
subtype=Vampire Cleric
power=3
toughness=3
[/card]
[card]
name=Sanguine Indulgence
target=<upto:2>creature|mygraveyard
anyzone=restriction{compare(lifegain)~morethan~2}:changecost(colorless:-3) forcedalive
auto=moveTo(myHand)
text=This spell costs {3} less to cast if you've gained 3 or more life this turn. -- Return up to two target creature cards from your graveyard to your hand.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Sanguine Sacrament
auto=life:X controller
auto=life:X controller
alias=135262
text=You gain twice X life. Put Sanguine Sacrament on the bottom of its owner's library.
mana={X}{W}{W}
type=Instant
[/card]
[card]
name=Saprazzan Breaker
auto={U}:reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[target(<1>*|reveal) moveto(mygraveyard)])) optiononeend optiontwo if type(land|reveal)~morethan~0 then transforms((,newability[unblockable ueot],newability[target(<1>*|reveal) moveto(mygraveyard)])) optiontwoend revealend
text={U}: Put the top card of your library into your graveyard. If that card is a land card, Saprazzan Breaker is unblockable this turn.
mana={4}{U}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Saproling
type=Creature
subtype=Saproling
power=1
toughness=1
color=green
[/card]
[card]
name=Saproling Art
type=Creature
subtype=Saproling
power=1
toughness=1
color=green
[/card]
[card]
name=Saproling Burst
auto=fading:7
auto={C(0/0,-1,Fade)}:name(Create Saproling) token(Saproling,Creature Saproling Fade,0/0,green)
auto=thisforeach(variable{hascntfade}>=1) lord(saproling[fade]|mybattlefield) 1/1
auto=@counterremoved(0/0,1,Fade) from(this) restriction{compare(hascntfade)~equalto~0}:all(saproling[fade]|mybattlefield) -1/-1
auto=@movedto(this|nonbattlezone) from(mybattlefield) bury all(saproling[fade]|mybattlefield)
text=Fading 7 (This enchantment enters the battlefield with seven fade counters on it. At the beginning of your upkeep, remove a fade counter from it. If you can't, sacrifice it.) -- Remove a fade counter from Saproling Burst: Put a green Saproling creature token onto the battlefield. It has "This creature's power and toughness are each equal to the number of fade counters on Saproling Burst." -- When Saproling Burst leaves the battlefield, destroy all tokens put onto the battlefield with Saproling Burst. They can't be regenerated.
mana={4}{G}
type=Enchantment
[/card]
[card]
name=Saproling Cluster
auto={1}{D(*|myhand)}:token(Saproling,Creature Saproling,1/1,green)
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[if type(*|myhand)~morethan~0 then ability$!name(Pay 1 and discard) pay[[{1}]] name(Pay 1 and discard) discard:1 && token(Saproling^Creature Saproling^1/1^green)?donothing!$ opponent])) forever
text={1}, Discard a card: Put a 1/1 green Saproling creature token onto the battlefield. Any player may activate this ability.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Saproling Fun
type=Creature
subtype=Saproling
power=1
toughness=1
color=green
[/card]
[card]
name=Saproling Infestation
auto=@movedTo(*[kicked>=1]|stack):token(Saproling,Creature Saproling,1/1,green)
text=Whenever a player kicks a spell, you put a 1/1 green Saproling creature token onto the battlefield.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Saproling Migration
kicker={4}
auto=if paid(kicker) then create(Saproling:creature Saproling:1/1:green:)*2
auto=create(Saproling:creature Saproling:1/1:green:)*2
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- Create two 1/1 green Saproling creature tokens. If this spell was kicked, create four of those tokens instead.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Saproling Spo
type=Creature
subtype=Saproling
power=1
toughness=1
color=green
[/card]
[card]
name=Saproling Symbiosis
abilities=flash
restriction=myturnonly
other={5}{G} name(Cast as instant)
auto=foreach(creature|mybattlefield) token(Saproling,Creature Saproling,1/1,green)
text=You may cast Saproling Symbiosis any time you could cast an instant if you pay {2} more to cast it. -- Put a 1/1 green Saproling creature token onto the battlefield for each creature you control.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Sarkhan's Catharsis
target=player,planeswalker
auto=damage:5
text=Sarkhan's Catharsis deals 5 damage to target player or planeswalker.
mana={4}{R}
type=Instant
[/card]
[card]
name=Sarkhan's Dragonfire
aicode=activate target(*[red;zpos<=5]|mylibrary) moveto(myhand)
auto=name(look) reveal:5 optionone name(Get red card) target(<upto:1>*[red]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
auto=ability$!name(Choose one) choice name(Damage player) damage:3 target(player) _ choice name(Damage creature) damage:3 target(creature) _ choice name(Damage planeswalker) damage:3 target(planeswalker)!$ controller
text=Sarkhan's Dragonfire deals 3 damage to any target. -- Look at the top five cards of your library. You may reveal a red card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Sarkhan's Scorn
target=creature,planeswalker
auto=damage:halfupcurrentturn
text=Sarkhan's Scorn deals damage equal to the number of turns you have begun to target creature or planeswalker.
mana={2}{R}
type=Instant
[/card]
[card]
name=Sarkhan's Unsealing
auto=@movedTo(creature[power=4]|mystack):damage:4 target(player,creature,planeswalker)
auto=@movedTo(creature[power=5]|mystack):damage:4 target(player,creature,planeswalker)
auto=@movedTo(creature[power=6]|mystack):damage:4 target(player,creature,planeswalker)
auto=@movedTo(creature[power>=7]|mystack):damage:4 all(creature|opponentBattlefield)
auto=@movedTo(creature[power>=7]|mystack):damage:4 all(planeswalker|opponentBattlefield)
auto=@movedTo(creature[power>=7]|mystack):damage:4 opponent
text=Whenever you cast a creature spell with power 4, 5, or 6, Sarkhan's Unsealing deals 4 damage to any target. -- Whenever you cast a creature spell with power 7 or greater, Sarkhan's Unsealing deals 4 damage to each opponent and each creature and planeswalker they control.
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Sarkhan's Whelp
abilities=flying
auto=@counterremoved(0/0,1,Loyalty) from(planeswalker[sarkhan]|myBattlefield) restriction{myturnonly}:name(Deals 1 damage) name(Deals 1 damage) damage:1 target(player,creature,planeswalker)
auto=@counteradded(0/0,1,Loyalty) from(planeswalker[sarkhan]|myBattlefield) restriction{myturnonly}:name(Deals 1 damage) name(Deals 1 damage) damage:1 target(player,creature,planeswalker)
text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- Whenever you activate an ability of a Sarkhan planeswalker, Sarkhan's Whelp deals 1 damage to any target.
mana={2}{R}
type=Creature
subtype=Dragon
power=2
toughness=2
[/card]
[card]
name=Sarulf's Packmate
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{G} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=draw:1 controller
text=When Sarulf's Packmate enters the battlefield, draw a card. -- Foretell {1}{G} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{G}
type=Creature
subtype=Wolf
power=3
toughness=3
[/card]
[card]
name=Sarulf, Realm Eater
auto=@movedto(*|graveyard) from(opponentbattlefield):counter(1/1)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~1}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=1]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~2}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=2]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~3}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=3]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~4}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=4]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~5}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=5]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~6}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=6]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~7}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=7]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~8}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=8]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~9}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=9]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~10}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=10]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~11}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=11]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~12}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=12]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~13}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=13]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~14}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=14]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~15}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=15]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~16}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=16]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~17}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=17]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~18}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=18]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~equalto~19}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=19]) moveto(exile)
auto=@each my upkeep restriction{compare(hascnt11)~morethan~19}:may name(Remove counters and exile permanents) all(this) removeallcounters(1/1) && all(other *[-land;manacost<=20]) moveto(exile)
text=Whenever a permanent an opponent controls is put into a graveyard from the battlefield, put a +1/+1 counter on Sarulf, Realm Eater. -- At the beginning of your upkeep, if Sarulf has one or more +1/+1 counters on it, you may remove all of them. If you do, exile each other nonland permanent with converted mana cost less than or equal to the number of counters removed this way.
mana={1}{B}{G}
type=Legendary Creature
subtype=Wolf
power=3
toughness=3
[/card]
[card]
name=Saruli Caretaker
abilities=defender
auto={T}{T(other creature|myBattlefield)}:Add{W}
auto={T}{T(other creature|myBattlefield)}:Add{U}
auto={T}{T(other creature|myBattlefield)}:Add{B}
auto={T}{T(other creature|myBattlefield)}:Add{R}
auto={T}{T(other creature|myBattlefield)}:Add{G}
text=Defender -- {T}, Tap an untapped creature you control: Add one mana of any color.
mana={G}
type=Creature
subtype=Dryad
power=0
toughness=3
[/card]
[card]
name=Saryth, the Viper's Fang
auto=lord(other creature[tapped]|myBattlefield) deathtouch
auto=lord(other creature[-tapped]|myBattlefield) hexproof
auto={1}{T}:name(Untap creature or land) target(other *[creature;land]|myBattlefield) untap
text=Other tapped creatures you control have deathtouch. -- Other untapped creatures you control have hexproof. -- {1}, {T}: Untap another target creature or land you control.
type=Legendary Creature
subtype=Human Warlock
mana={2}{G}{G}
power=3
toughness=4
[/card]
[card]
name=Sasaya's Essence
auto=lord(forest|myBattlefield) transforms((,newability[foreach(other forest[share!name!]|mybattlefield) produceextra:{G}]))
auto=lord(plains|myBattlefield) transforms((,newability[foreach(other plains[share!name!]|mybattlefield) produceextra:{W}]))
auto=lord(swamp|myBattlefield) transforms((,newability[foreach(other swamp[share!name!]|mybattlefield) produceextra:{B}]))
auto=lord(mountain|myBattlefield) transforms((,newability[foreach(other mountain[share!name!]|mybattlefield) produceextra:{R}]))
auto=lord(island|myBattlefield) transforms((,newability[foreach(other island[share!name!]|mybattlefield) produceextra:{U}]))
auto=lord(land[-island;-mountain;-plains;-swamp;forest]|myBattlefield) transforms((,newability[foreach(other land[share!name!]|mybattlefield) produceextra:{1}]))
text=Whenever a land you control is tapped for mana, for each other land you control with the same name, add one mana to your mana pool of any type that land produced.
mana={1}{G}{G}
type=Legendary Enchantment
[/card]
[card]
name=Sasaya, Orochi Ascendant
auto=aslongas(*[land]|myHand) flip(Sasaya's Essence) >6
text=Reveal your hand: If you have seven or more land cards in your hand, flip Sasaya, Orochi Ascendant.
mana={1}{G}{G}
type=Legendary Creature
subtype=Snake Monk
power=2
toughness=3
[/card]
[card]
name=Satyr Enchanter
auto=@movedTo(enchantment|mystack):draw:1
text=Whenever you cast an enchantment spell, draw a card.
mana={1}{G}{W}
type=Creature
subtype=Satyr Druid
power=2
toughness=2
[/card]
[card]
name=Satyr Piper
auto={3}{G}:target(creature) transforms((,newability[_ATTACKING_all(creature|opponentbattlefield) mustblock ueot])) ueot
text={3}{G}: Target creature must be blocked this turn if able.
mana={2}{G}
type=Creature
subtype=Satyr Rogue
power=2
toughness=1
[/card]
[card]
name=Satyr's Cunning
auto=token(Satyr,Creature Satyr,1/1,red,cantblock)
retrace={2}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Create a 1/1 red Satyr creature token with "This creature can't block." -- Escape-{2}{R}, Exile two other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={R}
type=Sorcery
[/card]
[card]
name=Sauroform Hybrid
auto={4}{G}{G}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
text={4}{G}{G}: Adapt 4. (If this creature has no +1/+1 counters on it, put four +1/+1 counters on it.)
mana={1}{G}
type=Creature
subtype=Human Lizard Warrior
power=2
toughness=2
[/card]
[card]
name=Savaen Elves
auto={G}{G}{T}:destroy target(aura)
text={G}{G}, {T}: Destroy target Aura attached to a land.
mana={G}
type=Creature
subtype=Elf
power=1
toughness=1
[/card]
[card]
name=Savage Alliance
target=player
other={4}{R} name(Escalate)
auto=if paid(alternative) then transforms((,newability[choice name(Your creatures have trample) all(creature|myBattlefield) trample ueot],newability[Opponent creatures have trample) all(creature|opponentBattlefield) trample ueot]))
auto=if paid(alternative) then damage:2 target(creature)
auto=if paid(alternative) then damage:1 all(creature|opponentBattlefield)
auto=ifnot paid(alternative) then choice name(Your creatures have trample) all(creature|myBattlefield) trample ueot
auto=ifnot paid(alternative) then choice name(Opponent creatures have trample) all(creature|opponentBattlefield) trample ueot
auto=ifnot paid(alternative) then choice name(Damage target creature) damage:2 target(creature)
auto=ifnot paid(alternative) then choice name(Damage all opponent creatures) damage:1 all(creature|opponentBattlefield)
text=Escalate {1} (Pay this cost for each mode chosen beyond the first.) -- Choose one or more -- Creatures target player controls gain trample until end of turn. -- Savage Alliance deals 2 damage to target creature. -- Savage Alliance deals 1 damage to each creature target opponent controls.
mana={2}{R}
type=Instant
[/card]
[card]
name=Savage Gorger
otherrestriction=compare(oplifelost)~morethan~0
auto=@each my endofturn:counter(1/1)
text=Flying -- At the beginning of your end step, if an opponent lost life this turn, put a +1/+1 counter on Savage Gorger. (Damage causes loss of life.)
mana={1}{B}{B}
type=Creature
subtype=Vampire
power=1
toughness=1
[/card]
[card]
name=Savage Smash
target=creature|myBattlefield
auto=+2/+2
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
restriction=type(creature|opponentbattlefield)~morethan~0
text=Target creature you control gets +2/+2 until end of turn. It fights target creature you don't control. (Each deals damage equal to its power to the other.)
mana={1}{R}{G}
type=Sorcery
[/card]
[card]
name=Savage Stomp
target=creature|myBattlefield
auto=counter(1/1,1)
auto=transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) ueot
autohand=if type(dinosaur|mybattlefield)~morethan~0 then altercost(colorless,-2)
text=Savage Stomp costs {2} less to cast if it targets a Dinosaur you control. -- Put a +1/+1 counter on target creature you control. Then that creature fights target creature you don't control. (Each deals damage equal to its power to the other.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Savage Summoning
abilities=nofizzle
auto=name(Choose a creature) target(creature|myrestrictedcastingzone) transforms((,newability[asflash])) ueot
auto=emblem transforms((,newability[@movedto(creature|mystack) turnlimited:all(trigger[to]) transforms((,newability[nofizzle])) oneshot],newability[@movedto(creature|mybattlefield) turnlimited:all(trigger[to]) counter(1/1)])) ueot
text=Savage Summoning can't be countered. -- The next creature card you cast this turn can be cast as though it had flash. That spell can't be countered. That creature enters the battlefield with an additional +1/+1 counter on it.
mana={G}
type=Instant
[/card]
[card]
name=Savage Swipe
target=creature[power=2]|myBattlefield
auto=2/2 ueot
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Target creature you control gets +2/+2 until end of turn if its power is 2. Then it fights target creature you don't control. (Each deals damage equal to its power to the other.)
mana={G}
type=Sorcery
[/card]
[card]
name=Savage Ventmaw
abilities=flying
auto=_ATTACKING_add{R}{R}{R}{G}{G}{G} doesntempty
text=Flying -- Whenever Savage Ventmaw attacks, add {R}{R}{R}{G}{G}{G} to your mana pool. Until end of turn, this mana doesn't empty from your mana pool as steps and phases end.
mana={4}{R}{G}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Savai Crystal
abilities=cycling
auto={T}:Add{R}
auto={T}:Add{W}
auto={T}:Add{B}
autohand=__CYCLING__({2})
text={T}: Add {R}, {W}, or {B}. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}
type=Artifact
[/card]
[card]
name=Savai Sabertooth
mana={1}{W}
type=Creature
subtype=Cat
power=3
toughness=1
[/card]
[card]
name=Savai Thundermane
auto=@cycled(*|myhand):may pay({2}) damage:2 target(creature) && life:2 controller
text=Whenever you cycle a card, you may pay 2 . When you do, Savai Thundermane deals 2 damage to target creature and you gain 2 life.
mana={R}{W}
type=Creature
subtype=Elemental Cat
power=3
toughness=2
[/card]
[card]
name=Savai Triome
abilities=cycling
auto=tap(noevent)
autohand=__CYCLING__({3})
text=({T}: Add {R}, {W}, or {B}.) -- Savai Triome enters the battlefield tapped. -- Cycling {3} ({3}, Discard this card: Draw a card.)
type=Land
subtype=Mountain Plains Swamp
[/card]
[card]
name=Savannah Sage
auto=life:2 controller
text=When Savannah Sage enters the battlefield, you gain 2 life.
mana={1}{W}
type=Creature
subtype=Cat Cleric
power=2
toughness=2
[/card]
[card]
name=Saving Grace
abilities=flash
target=creature|myBattlefield
auto=0/3
auto=preventalldamage to(*[-this]|mybattlefield)
auto=preventalldamage to(controller)
text=Flash -- Enchant creature you control -- When Saving Grace enters the battlefield, all damage that would be dealt this turn to you and permanents you control is dealt to enchanted creature instead. -- Enchanted creature gets +0/+3.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Savvy Hunter
auto=_ATTACKING_token(Food)
auto=@combat(blocking) source(this):token(Food)
auto={S(food|myBattlefield)}{S(food|myBattlefield)}:draw:1
text=Whenever Savvy Hunter attacks or blocks, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Sacrifice two Foods: Draw a card.
mana={1}{B}{G}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Saw It Coming
abilities=foretell
target=*|stack
auto=fizzle
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{U} restriction{compare(canforetellcast)~morethan~0,type(*|stack)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
text=Counter target spell. -- Foretell {1}{U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Sawtusk Demolisher
abilities=trample,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{G} name(Mutate)
auto=transforms((,newability[@mutated(this):name(Destroy and create token) ability$!name(Choose one) choice name(Controller) target(*[-creature]|myBattlefield) destroy && token(Beast Saw) controller _ choice name(opponent) target(*[-creature]|opponentBattlefield) destroy && token(Beast Saw) opponent!$ controller]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Under) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Trample -- Whenever this creature mutates, destroy target noncreature permanent. Its controller creates a 3/3 green Beast creature token.
mana={4}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Scab-Clan Giant
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=When Scab-Clan Giant enters the battlefield, it fights target creature an opponent controls chosen at random.
mana={4}{R}{G}
type=Creature
subtype=Giant Warrior
power=4
toughness=5
[/card]
[card]
name=Scalding Cauldron
auto={3}{T}{S}:damage:3 target(creature)
text={3}, {T}, Sacrifice Scalding Cauldron: It deals 3 damage to target creature.
mana={1}
type=Artifact
[/card]
[card]
name=Scale Up
abilities=overload
target=creature|mybattlefield
other={4}{G}{G} name(Overload)
auto=ueot transforms((,setpower=6,settoughness=4))
auto=ueot transforms((Wurm,green))
auto=overload all(creature|myBattlefield) ueot transforms((,setpower=6,settoughness=4))
auto=overload all(creature|myBattlefield) ueot transforms((Wurm,green))
text=Until end of turn, target creature you control becomes a green Wurm with base power and toughness 6/4. -- Overload {4}{G}{G} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={G}
type=Sorcery
[/card]
[card]
name=Scale the Heights
auto=may counter(1/1,1) target(creature)
auto=life:2 controller
auto=maxPlay(land)+1 ueot
auto=draw:1 controller
text=Put a +1/+1 counter on up to one target creature. You gain 2 life. You may play an additional land this turn. -- Draw a card.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Scaled Behemoth
abilities=opponentshroud
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.)
mana={4}{G}{G}
type=Creature
subtype=Crocodile
power=6
toughness=7
[/card]
[card]
name=Scaled Herbalist
auto={T}:name(Put land on battlefield) target(land|myhand) moveTo(myBattlefield)
text={T}: You may put a land card from your hand onto the battlefield.
mana={1}{G}
type=Creature
subtype=Lizard Druid
power=1
toughness=3
[/card]
[card]
name=Scalelord Reckoner
abilities=flying
auto=@targeted(dragon|mybattlefield):destroy target(*[-land]|opponentbattlefield)
text=Flying -- Whenever a Dragon you control becomes the target of a spell or ability an opponent controls, destroy target nonland permanent that player controls.
mana={3}{W}{W}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Scampering Scorcher
auto=token(Elemental,Creature Elemental,1/1,red)*2
auto=lord(creature[elemental]|myBattlefield) haste
text=When Scampering Scorcher enters the battlefield, create two 1/1 red Elemental creature tokens. Elementals you control gain haste until end of turn. (They can attack and {T} this turn.)
mana={3}{R}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Scandalmonger
auto={2}:target(player) ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ targetedplayer asSorcery
auto=lord(*|opponentbattlefield) transforms((,newability[{2}:target(player) ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand)!$ targetedplayer asSorcery]))
text={2}: Target player discards a card. Any player may activate this ability but only any time he or she could cast a sorcery.
mana={3}{B}
type=Creature
subtype=Boar Monger
power=3
toughness=3
[/card]
[card]
name=Scapeshift
target=<anyamount>land|myBattlefield
auto=sacrifice and!( transforms((,newability[name(Search land) target(land|mylibrary) moveto(myBattlefield) and!( tap(noevent) )!])) oneshot )!
text=Sacrifice any number of lands. Search your library for up to that many land cards, put them onto the battlefield tapped, then shuffle your library.
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=Scarab Feast
abilities=cycling
auto=choice name(My Graveyard) moveto(exile) target(<upto:3>*|mygraveyard)
auto=choice name(Opponent Graveyard)moveto(exile) target(<upto:3>creature|opponentgraveyard)
autohand=__CYCLING__({B})
text=Exile up to three target cards from a single graveyard. -- Cycling {B} ({B}, Discard this card: Draw a card.)
mana={B}
type=Instant
[/card]
[card]
name=Scaretiller
auto=@tapped(this):choice may moveto(myBattlefield) and!(tap(noevent))! target(land|myhand)
auto=@tapped(this):choice may moveto(myBattlefield) and!(tap(noevent))! target(land|mygraveyard)
text=Whenever Scaretiller becomes tapped, Choose one -- You may put a land card from your hand onto the battlefield tapped. -- Return target land card from your graveyard to the battlefield tapped.
mana={4}
type=Artifact Creature
subtype=Scarecrow
power=1
toughness=4
[/card]
[card]
name=Scattered Groves
abilities=cycling
auto=tap
autohand=__CYCLING__({2})
text=({T}: Add {G} or {W} to your mana pool.) -- Scattered Groves enters the battlefield tapped. -- Cycling {2} ({2}, Discard this card: Draw a card.)
type=Land
subtype=Forest Plains
[/card]
[card]
name=Scavenged Blade
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature) 2/0
auto={2}{R}:equip
text=When Scavenged Blade enters the battlefield, attach it to target creature you control. -- Equipped creature gets +2/+0. -- Equip {2}{R} ({2}{R}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Scavenger Grounds
auto={2}{T}{S(desert|mybattlefield)}:moveto(exile) all(*|graveyard)
auto={T}:Add{1}
text={T}: Add {1} to your mana pool. -- {2}, {T}, Sacrifice a Desert: Exile all cards from all graveyards.
type=Land
subtype=Desert
[/card]
[card]
name=Scavenging Harpy
abilities=flying
auto=moveto(Exile) target(*|opponentGraveyard)
text=Flying -- When Scavenging Harpy enters the battlefield, exile target card from an opponent's graveyard.
mana={2}{B}
type=Creature
subtype=Harpy
power=2
toughness=1
[/card]
[card]
name=Scent of Brine
target=*|stack
auto=if type(*[blue]|myhand)~equalto~1 then transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~2 then transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~3 then transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~4 then transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~5 then transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~6 then transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~7 then transforms((,newability[pay[[{7}]] name(pay 7 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~8 then transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~9 then transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing?fizzle])) forever
auto=if type(*[blue]|myhand)~equalto~10 then transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?fizzle])) forever
text=Reveal any number of blue cards in your hand. Counter target spell unless its controller pays {1} for each card revealed this way.
mana={1}{U}
type=Instant
[/card]
[card]
name=Scent of Cinder
auto={T}:name(Damage any target) name(Damage any target) damage:type:*[red]:myhand target(player,creature,planeswalker)
text=Reveal any number of red cards in your hand. Scent of Cinder deals X damage to any target, where X is the number of cards revealed this way.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Scent of Ivy
target=creature
auto=foreach(*[green]|myhand) 1/1
text=Reveal any number of green cards in your hand. Target creature gets +X/+X until end of turn, where X is the number of cards revealed this way.
mana={G}
type=Instant
[/card]
[card]
name=Scent of Jasmine
auto=life:twicetype:*[white]:myhand
text=Reveal any number of white cards in your hand. You gain 2 life for each card revealed this way.
mana={W}
type=Instant
[/card]
[card]
name=Scent of Nightshade
target=creature
auto=foreach(*[black]|myhand) -1/-1 target(creature)
text=Reveal any number of black cards in your hand. Target creature gets -X/-X until end of turn, where X is the number of cards revealed this way.
mana={1}{B}
type=Instant
[/card]
[card]
name=Scheming Symmetry
auto=ability$!choice name(search a card) notatarget(*|mylibrary) moveto(mylibrary)!$ controller
auto=ability$!choice name(search a card) notatarget(*|mylibrary) moveto(mylibrary)!$ opponent
text=Choose two target players. Each of them searches their library for a card, then shuffles their library and puts that card on top of it.
mana={B}
type=Sorcery
[/card]
[card]
name=Schismotivate
target=creature
auto=4/0 ueot
auto=target(other creature) -4/0 ueot
text=Target creature gets +4/+0 until end of turn. Another target creature gets -4/-0 until end of turn.
mana={1}{U}{R}
type=Instant
[/card]
[card]
name=Scholar of Stars
auto=aslongas(artifact|myBattlefield) draw:1
text=When Scholar of Stars enters the battlefield, if you control an artifact, draw a card.
mana={3}{U}
type=Creature
subtype=Human Artificer
power=3
toughness=2
[/card]
[card]
name=Scholar of the Ages
auto=moveto(myhand) target(<upto:2>*[instant,sorcery]|mygraveyard)
text=When Scholar of the Ages enters the battlefield, return up to two target instant and/or sorcery cards from your graveyard to your hand.
mana={5}{U}{U}
type=Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Scholar of the Lost Trove
abilities=flying
auto=may name(cast card) activate castcard(normal) target(*[instant;sorcery;artifact]|mygraveyard) and!(transforms((,newability[gainedexiledeath])) forever)!
text=Flying -- When Scholar of the Lost Trove enters the battlefield, you may cast target instant, sorcery, or artifact card from your graveyard without paying its mana cost. If an instant or sorcery spell cast this way would be put into your graveyard this turn, exile it instead.
mana={5}{U}{U}
type=Creature
subtype=Sphinx
power=5
toughness=5
[/card]
[card]
name=Scholarship Sponsor
auto=if compare(type:land:opponentbattlefield)~morethan~compare(type:land:mybattlefield) then ability$!name(Search lands) name(Search lands) target(<upto:type:land:opponentbattlefieldminustype:land:mybattlefieldminusend>land|mylibrary) moveto(mybattlefield) and!( tap(novent) )! !$ controller
auto=if compare(type:land:mybattlefield)~morethan~compare(type:land:opponentbattlefield) then ability$!name(Search lands) name(Search lands) target(<upto:type:land:opponentbattlefieldminustype:land:mybattlefieldminusend>land|mylibrary) moveto(mybattlefield) and!( tap(novent) )! !$ opponent
text=When Scholarship Sponsor enters the battlefield, each player who controls fewer lands than the player who controls the most lands searches their library for a number of basic land cards less than or equal to the difference, puts those cards onto the battlefield tapped, then shuffles.
mana={3}{W}
type=Creature
subtype=Human Advisor
power=3
toughness=3
[/card]
[card]
name=Scion of Draco
abilities=flying
autoexile=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-2) forcedalive
autograveyard=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-2) forcedalive
autohand=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-2) forcedalive
auto=lord(creature[white]|myBattlefield) vigilance
auto=lord(creature[blue]|myBattlefield) opponentshroud
auto=lord(creature[black]|myBattlefield) lifelink
auto=lord(creature[red]|myBattlefield) first strike
auto=lord(creature[green]|myBattlefield) trample
text=Domain - This spell costs {2} less to cast for each basic land type among lands you control. -- Flying -- Each creature you control has vigilance if it's white, hexproof if it's blue, lifelink if it's black, first strike if it's red, and trample if it's green.
mana={12}
type=Artifact Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Scion of Shiv
abilities=flying
auto={2}{R}:name(Perpetually gets 1/0) counter(1/0.1.PerpetualPT)
text=Flying -- {2}{R}: Scion of Shiv perpetually gets +1/+0.
mana={2}{R}{R}
type=Creature
subtype=Dragon
power=3
toughness=3
[/card]
[card]
name=Scion of Stygia
abilities=flash
auto=target(creature|opponentbattlefield) name(Choose creature and roll a d20) rolld20 20 winability freeze winabilityend loseability if compare(srclastrollresult)~lessthan~10 then tap else freeze loseabilityend rolld20end
text=Flash -- Cone of Cold - When Scion of Stygia enters the battlefield, choose target creature an opponent controls, then roll a d20. -- 1-9 | Tap that creature. -- 10-20 | Tap that creature. It doesn't untap during its controller's next untap step.
mana={2}{U}
type=Creature
subtype=Tiefling Shaman
power=2
toughness=1
[/card]
[card]
name=Scion of the Swarm
abilities=flying
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1,1)
text=Flying -- Whenever you gain life, put a +1/+1 counter on Scion of the Swarm.
mana={3}{B}{B}
type=Creature
subtype=Vampire Cleric
power=3
toughness=3
[/card]
[card]
name=Scion of the Ur-Dragon
abilities=flying
auto={2}:moveto(mygraveyard) target(*[dragon]|mylibrary) && shuffle controller && copy and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(Scion of the Ur-Dragon) undocpy])) forever )!
text=Flying -- {2}: Search your library for a Dragon permanent card and put it into your graveyard. If you do, Scion of the Ur-Dragon becomes a copy of that card until end of turn. Then shuffle your library.
mana={W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Dragon Avatar
power=4
toughness=4
[/card]
[card]
name=Scissors Lizard
text=Paper Tigers cannot attack or block.
auto=all(Paper Tigers|battlefield) cantblock
auto=all(Paper Tigers|battlefield) cantattack
mana={4}
type=Artifact Creature
power=4
toughness=3
[/card]
[card]
name=Scorch Rider
kicker={1}{R}
auto=if paid(kicker) then haste ueot
text=Kicker {1}{R} (You may pay an additional {1}{R} as you cast this spell.) -- When Scorch Rider enters the battlefield, if it was kicked, it gains haste until end of turn.
mana={3}{R}
type=Creature
subtype=Human Warrior
power=4
toughness=3
[/card]
[card]
name=Scorch Spitter
auto=@combat(notblocked) source(this):damage:1 opponent
text=Whenever Scorch Spitter attacks, it deals 1 damage to the player or planeswalker it's attacking.
mana={R}
type=Creature
subtype=Elemental Lizard
power=1
toughness=1
[/card]
[card]
name=Scorched Earth
auto=if type(*[land]|myHand)~morethan~0 then choice ability$!name(X=1) target(*[land]|myhand) reject!$ controller && destroy target(*[land])
auto=if type(*[land]|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*[land]|myhand) reject!$ controller && destroy target(<2>*[land])
auto=if type(*[land]|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*[land]|myhand) reject!$ controller && destroy target(<3>*[land])
auto=if type(*[land]|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*[land]|myhand) reject!$ controller && destroy target(<4>*[land])
auto=if type(*[land]|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*[land]|myhand) reject!$ controller && destroy target(<5>*[land])
auto=if type(*[land]|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*[land]|myhand) reject!$ controller && destroy target(<6>*[land])
auto=if type(*[land]|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*[land]|myhand) reject!$ controller && destroy target(<7>*[land])
auto=if type(*[land]|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*[land]|myhand) reject!$ controller && destroy target(<8>*[land])
auto=if type(*[land]|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*[land]|myhand) reject!$ controller && destroy target(<9>*[land])
auto=if type(*[land]|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*[land]|myhand) reject!$ controller && destroy target(<10>*[land])
auto=if type(*[land]|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*[land]|myhand) reject!$ controller && destroy target(<11>*[land])
auto=if type(*[land]|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*[land]|myhand) reject!$ controller && destroy target(<12>*[land])
auto=if type(*[land]|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*[land]|myhand) reject!$ controller && destroy target(<13>*[land])
auto=if type(*[land]|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*[land]|myhand) reject!$ controller && destroy target(<14>*[land])
auto=if type(*[land]|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*[land]|myhand) reject!$ controller && destroy target(<15>*[land])
auto=if type(*[land]|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*[land]|myhand) reject!$ controller && destroy target(<16>*[land])
auto=if type(*[land]|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*[land]|myhand) reject!$ controller && destroy target(<17>*[land])
auto=if type(*[land]|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*[land]|myhand) reject!$ controller && destroy target(<18>*[land])
auto=if type(*[land]|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*[land]|myhand) reject!$ controller && destroy target(<19>*[land])
auto=if type(*[land]|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*[land]|myhand) reject!$ controller && destroy target(<20>*[land])
text=As an additional cost to cast Scorched Earth, discard X land cards. -- Destroy X target lands.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Scorching Dragonfire
target=creature,planeswalker
auto=damage:3 
auto=transforms((,newability[exiledeath])) ueot
text=Scorching Dragonfire deals 3 damage to target creature or planeswalker. If that creature or planeswalker would die this turn, exile it instead.
mana={1}{R}
type=Instant
[/card]
[card]
name=Scorchmark
target=creature
auto=exiledeath
auto=damage:2
text=Scorchmark deals 2 damage to target creature. If that creature would die this turn, exile it instead.
mana={1}{R}
type=Instant
[/card]
[card]
name=Scorn Effigy
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={0} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
text=Foretell 0 (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}
type=Artifact Creature
subtype=Scarecrow
power=2
toughness=3
[/card]
[card]
name=Scour All Possibilities
aicode=activate transforms((,newability[draw:1 controller])) oneshot
auto=scry:2 scrycore delayed draw:1 controller scrycoreend scryend
flashback={4}{U}
text=Scry 2, then draw a card. -- Flashback {4}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Scour the Desert
target=creature|mygraveyard
auto=moveto(Exile) and!( transforms((,newability[token(Bird^Creature Bird^1/1^white^flying)*toughness])) oneshot )!
text=Exile target creature card from your graveyard. Create X 1/1 white Bird creature tokens with flying, where X is the exiled card's toughness.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Scourge of Nel Toth
abilities=flying
flashback={B}{B}{S(creature|mybattlefield)}{S(creature|mybattlefield)}
text=Flying -- You may cast Scourge of Nel Toth from your graveyard by paying {B}{B} and sacrificing two creatures rather than paying its mana cost.
mana={5}{B}{B}
type=Creature
subtype=Zombie Dragon
power=6
toughness=6
[/card]
[card]
name=Scourge of the Skyclaves
anyzone=-highestlifetotal/-highestlifetotal cdaactive
kicker={4}{B}
auto=if paid(kicker) then transforms((,newability[life:-halfuplifetotal controller],newability[life:-halfupopponentlifetotal opponent]
auto=20/20
text=Kicker {4}{B} -- When you cast this spell, if it was kicked, each player loses half their life, rounded up. -- Scourge of the Skyclaves's power and toughness are each equal to 20 minus the highest life total among players.
mana={1}{B}
type=Creature
subtype=Demon
power=*
toughness=*
[/card]
[card]
name=Scrapyard Recombiner
abilities=modular
modular=2
auto={T}{S(artifact|myBattlefield)}:moveto(myhand) target(creature[construct]|mylibrary)
text=Modular 2 (This creature enters the battlefield with two +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.) -- {T}, Sacrifice an artifact: Search your library for a Construct card, reveal it, put it into your hand, then shuffle your library.
mana={3}
type=Artifact Creature
subtype=Construct
power=0
toughness=0
[/card]
[card]
name=Screaming Shield
auto=teach(creature) 0/3
auto=teach(creature) {2}{T}:deplete:3 target(player)
auto={3}:equip
text=Equipped creature gets +0/+3 and has "{2}, {T}: Target player puts the top three cards of their library into their graveyard." -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Screams from Within
target=creature
auto=teach(creature) -1/-1
auto=@movedto(graveyard) from(mytgt|Battlefield):all(this) moveTo(mybattlefield)
text=Enchant creature -- Enchanted creature gets -1/-1. -- When enchanted creature dies, return Screams from Within from your graveyard to the battlefield.
mana={1}{B}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Screeching Phoenix
abilities=flying
auto={2}{R}:all(creature|mybattlefield) 1/0 ueot
text=Flying. -- {2}{R}: Creatures you control get +1/+0 until end of turn.
mana={4}{R}{R}
type=Creature
subtype=Phoenix
power=4
toughness=4
[/card]
[card]
name=Scribe of the Mindful
auto={1}{T}{S}:moveto(myhand) target(instant,sorcery|mygraveyard)
text={1}, {T}, Sacrifice Scribe of the Mindful: Return target instant or sorcery card from your graveyard to your hand.
mana={2}{U}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Scrounger of Souls
abilities=lifelink
text=Lifelink (Damage dealt by this creature also causes you to gain that much life.)
mana={4}{B}
type=Creature
subtype=Horror
power=3
toughness=4
[/card]
[card]
name=Sculptor of Winter
auto={T}:target(land[snow]|battlefield) untap
text={T}: Untap target snow land.
mana={1}{G}
type=Snow Creature
subtype=Elf Rogue
power=2
toughness=2
[/card]
[card]
name=Scurrid Colony
abilities=reach
auto=aslongas(land|mybattlefield) 2/2 >7
text=Reach -- Scurrid Colony gets +2/+2 as long as you control eight or more lands.
mana={1}{G}
type=Creature
subtype=Squirrel
power=2
toughness=2
[/card]
[card]
name=Scurry Oak
auto=evolve
auto=@counteradded(1/1) from(this):may name(Create squirrel) token(Squirrel,Creature Squirrel,1/1,green)
text=Evolve (Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.) -- Whenever one or more +1/+1 counters are put on Scurry Oak, you may create a 1/1 green Squirrel creature token.
mana={2}{G}
type=Creature
subtype=Treefolk
power=1
toughness=2
[/card]
[card]
name=Scute Swarm
auto=_LANDFALL_If type(land|myBattlefield)~morethan~5 then clone all(this) else token(Insect,Creature Insect,1/1,green)
text=Landfall - Whenever a land enters the battlefield under your control, create a 1/1 green Insect creature token. If you control six or more lands, create a token that's a copy of Scute Swarm instead.
mana={2}{G}
type=Creature
subtype=Insect
power=1
toughness=1
[/card]
[card]
name=Scuttlegator
abilities=defender
auto={6}{GU}{GU}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.3)])) forever
auto=this(counter{1/1}) canattack
text=Defender -- {6}{G/U}{G/U}: Adapt 3. (If this creature has no +1/+1 counters on it, put three +1/+1 counters on it.) -- As long as Scuttlegator has a +1/+1 counter on it, it can attack as though it didn't have defender.
mana={4}{GU}{GU}
type=Creature
subtype=Crab Turtle Crocodile
power=6
toughness=6
[/card]
[card]
name=Scuttletide
auto={1}{D(*|myhand)}:name(Create crab) token(Crab)
auto=this(variable{mygravecardtypes}>3) lord(crab|myBattlefield) 1/1
text={1}, Discard a card: Create a 0/3 blue Crab creature token. -- Delirium - Crabs you control get +1/+1 as long as there are four or more card types among cards in your graveyard.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Scuttling Sliver
auto=all(creature[sliver]|mybattlefield) transforms((,newability[{2}:untap]))
text=Sliver creatures you control have "{2}: Untap this creature."
mana={2}{U}
type=Creature
subtype=Sliver Trilobite
power=2
toughness=2
[/card]
[card]
name=Sea Gate Banneret
auto={4}{W}:all(creature|myBattlefield) 1/1 ueot
text={4}{W}: Creatures you control get +1/+1 until end of turn.
mana={W}
type=Creature
subtype=Kor Warrior
power=1
toughness=2
[/card]
[card]
name=Sea Gate Colossus
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
text=This spell costs {1} less for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={7}
type=Artifact Creature
subtype=Golem Warrior
power=7
toughness=5
[/card]
[card]
name=Sea Gate Restoration
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Sea Gate, Reborn)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Sea Gate, Reborn) name(Sea Gate, Reborn) flip(Sea Gate, Reborn) forcetype(land)
auto=emblem transforms((,newability[lord(*|myBattlefield) nomaxhand])) forever dontremove
auto=draw:type:*:myHandplus1plusend controller
text=Draw cards equal to the number of cards in your hand plus one. You have no maximum hand size for the rest of the game. // Sea Gate, Reborn
mana={4}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Sea Gate Stormcaller
kicker={4}{U}
auto=if paid(kicker) then transforms((,newability[@movedTo(*[instant;sorcery;manacost<=2]|myStack) once:all(trigger[to]<1>) name(copy spell) castcard(copied noevent) && all(trigger[to]<1>) name(copy spell) castcard(copied noevent)])) ueot
auto=ifnot paid(kicker) then transforms((,newability[@movedTo(*[instant;sorcery;manacost<=2]|myStack) once:all(trigger[to]<1>) name(copy spell) castcard(copied noevent)])) ueot
text=Kicker {4}{U} -- When Sea Gate Stormcaller enters the battlefield, copy the next instant or sorcery spell with converted mana cost 2 or less you cast this turn when you cast it. If Sea Gate Stormcaller was kicked, copy that spell twice instead. You may choose new targets for the copies.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Sea Gate, Reborn
auto=ability$!name(Choose one) choice name(Pay 3 life) life:-3 _ choice name(Tap) tap(noevent) all(mysource)!$ controller
auto={T}:add{U}
text=As Sea Gate, Reborn enters the battlefield, you may pay 3 life. If you don't, it enters the battlefield tapped. -- {T}: Add {U}. // {4}{U}{U}{U} Sea Gate Restoration
type=Land
[/card]
[card]
name=Sea God's Scorn
target=<upto:3>creature,enchantment
auto=moveTo(ownerhand)
text=Return up to three target creatures and/or enchantments to their owners' hands.
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Sea Legs
abilities=flash
target=creature
auto=teach(pirate) +0/+2
auto=teach(creature[-pirate]) -2/-0
text=Flash -- Enchant creature -- Enchanted creature gets +0/+2 as long as it's a Pirate. Otherwise, it gets -2/-0.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sea of Clouds
auto=tap(noevent)
auto={T}:Add{W}
auto={T}:Add{U}
text=Sea of Clouds enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {W} or {U}.
type=Land
[/card]
[card]
name=Sea-Dasher Octopus
abilities=flash,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={1}{U} name(Mutate)
auto=transforms((,newability[@combatdamaged(player) from(this):draw:1 controller]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {1}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flash -- Whenever this creature deals combat damage to a player, draw a card.
mana={1}{U}{U}
type=Creature
subtype=Octopus
power=2
toughness=2
[/card]
[card]
name=Seafaring Werewolf
abilities=unblockable,nightbound
backside=Suspicious Stowaway
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=@combatdamaged(player) from(this):name(Draw a card) draw:1 controller
text=Seafaring Werewolf can't be blocked. -- Whenever Seafaring Werewolf deals combat damage to a player, draw a card. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Suspicious Stowaway
type=Creature
subtype=Werewolf
color=green
power=2
toughness=1
[/card]
[card]
name=Seafloor Oracle
auto=@combatdamaged(player) from(Merfolk|myBattlefield):draw:1
text=Whenever a Merfolk you control deals combat damage to a player, draw a card.
mana={2}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=3
[/card]
[card]
name=Seafloor Stalker
auto={4}{U}:transforms((,newability[1/0],newability[unblockable])) ueot restriction{compare(calculateparty)~equalto~0}
auto={3}{U}:transforms((,newability[1/0],newability[unblockable])) ueot restriction{compare(calculateparty)~equalto~1}
auto={2}{U}:transforms((,newability[1/0],newability[unblockable])) ueot restriction{compare(calculateparty)~equalto~2}
auto={1}{U}:transforms((,newability[1/0],newability[unblockable])) ueot restriction{compare(calculateparty)~equalto~3}
auto={U}:transforms((,newability[1/0],newability[unblockable])) ueot restriction{compare(calculateparty)~equalto~4}
text={4}{U}: Seafloor Stalker gets +1/+0 until end of turn and can't be blocked this turn. This ability costs {1} less to activate for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={2}{U}
type=Creature
subtype=Merfolk Rogue
power=2
toughness=3
[/card]
[card]
name=Seal Away
abilities=flash
auto=(blink)forsrc target(creature[tapped]|opponentbattlefield)
text=Flash -- When Seal Away enters the battlefield, exile target tapped creature an opponent controls until Seal Away leaves the battlefield.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Search Party Captain
anyzone=@combat(attacking) source(creature|mybattlefield):name(Reduce cost) transforms((,newability[changecost(colorless:-1)])) ueot
auto=draw:1 controller
text=This spell costs {1} less to cast for each creature you attacked with this turn. -- When Search Party Captain enters the battlefield, draw a card.
type=Creature
subtype=Human Soldier
mana={3}{W}
power=2
toughness=2
[/card]
[card]
name=Search for Azcanta
auto=@each my upkeep:name(Azcanta) reveal:1 optionone name(put in graveyard) target(<upto:1>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<1>*|reveal) moveto(ownerlibrary) optiontwoend revealend
auto=@each my upkeep restriction{type(*|mygraveyard)~morethan~6}:may flip(Azcanta, the Sunken Ruin)
text=At the beginning of your upkeep, look at the top card of your library. You may put it into your graveyard. Then if you have seven or more cards in your graveyard, you may transform Search for Azcanta.
mana={1}{U}
type=Legendary Enchantment
[/card]
[card]
name=Search for Blex
abilities=doublefacedeath
aicode=activate all(*[zpos<=1]|mylibrary) moveto(myhand) and!( transforms((,newability[life:-3 controller],newability[all(*[zpos<=5]|mylibrary) moveto(mygraveyard)])) oneshot )!
auto=name(Look top 5 cards) reveal:5 optionone name(Get any card) target(<upto:5>*|reveal) moveto(myhand) and!( transforms((,newability[life:-3 controller])) oneshot )! optiononeend optiontwo name(put in graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Look at the top five cards of your library. You may put any number of them into your hand and the rest into your graveyard. You lose 3 life for each card you put into your hand this way. // {2}{G} Blex, Vexing Pest
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Search for Glory
restriction=compare(mysnowpoolcount)~equalto~0
autohand={1}{i}{W} restriction{compare(mysnowpoolcount)~equalto~1}:name(Cast with 1 snow mana) name(Cast with 1 snow mana) life:1 controller && activate castcard(alternative)
autohand={i}{i}{W} restriction{compare(mysnowpoolcount)~morethan~1}:name(Cast with 2 snow mana) name(Cast with 2 snow mana) life:2 controller && activate castcard(alternative)
autohand={i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~2,compare(mysnowwhitepoolcount)~morethan~0}:name(Cast with 3 snow mana) name(Cast with 3 snow mana) life:3 controller && activate castcard(alternative)
auto=choice name(Search snow permanent) target(snow[-instant;-sorcery]|mylibrary) moveTo(myhand) and!( shuffle )!
auto=choice name(Search saga or legendary card) target(*[saga;legendary]|mylibrary) moveTo(myhand) and!( shuffle )!
text=Search your library for a snow permanent card, a legendary card, or a Saga card, reveal it, put it into your hand, then shuffle your library. You gain 1 life for each {S}i} spent to cast this spell. ({S}i} is mana from a snow source.)
mana={2}{W}
type=Snow Sorcery
[/card]
[card]
name=Search the Premises
auto=@each blockers:name(Investigate) name(Create clue) token(Clue) controller
text=Whenever a creature attacks you or a planeswalker you control, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.")
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Searing Barrage
target=creature
auto=damage:5
auto=if casted(this) then if spent({R}{R}{R}) then damage:3 targetController
text=Searing Barrage deals 5 damage to target creature. -- Adamant - If at least three red mana was spent to cast this spell, Searing Barrage deals 3 damage to that creature's controller.
mana={4}{R}
type=Instant
[/card]
[card]
name=Searing Blaze
target=player
auto=if thisturn(land|mybattlefield)~lessthan~1 then damage:1 && damage:1 target(creature|targetedpersonsBattlefield)
auto=if thisturn(land|mybattlefield)~morethan~0 then damage:3 && damage:3 target(creature|targetedpersonsBattlefield)
text=Searing Blaze deals 1 damage to target player and 1 damage to target creature that player controls. -- Landfall - If you had a land enter the battlefield under your control this turn, Searing Blaze deals 3 damage to that player and 3 damage to that creature instead.
mana={R}{R}
type=Instant
[/card]
[card]
name=Searstep Pathway
auto={T}:add{R}
text={T}: Add {R}. // Blightstep Pathway
type=Land
[/card]
[card]
name=Season of Growth
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedto(creature|mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@targeted(creature|myBattlefield) from(instant,sorcery|mystack):draw:1 controller
auto=@targeted(creature|mybattlefield) from(*[instant;sorcery]|nonbattlezone,stack):draw:1 controller
text=Whenever a creature enters the battlefield under your control, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- Whenever you cast a spell that targets a creature you control, draw a card.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Season's Beatings
auto=choice name(Choose opponent) all(creature|opponentbattlefield) transforms((,newability[damage:p target(other creature|mybattlefield)])) oneshot
auto=choice name(Choose yourself) all(creature|mybattlefield) transforms((,newability[damage:p target(other creature|mybattlefield)])) oneshot
text=Family gathering - Each creature target player controls deals damage equal to its power to another random creature that player controls.
mana={R}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Seasoned Cathar
backside=Ambitious Farmhand
abilities=lifelink
text=Lifelink // Ambitious Farmhand
type=Creature
subtype=Human Knight
color=white
power=3
toughness=3
[/card]
[card]
name=Seasoned Hallowblade
auto={D(*|myhand)}:tap(noevent) && indestructible ueot
text=Discard a card: Tap Seasoned Hallowblade. It gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={1}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=1
[/card]
[card]
name=Seasoned Pyromancer
auto=ability$!name(Discard and draw) name(Discard and draw) target(<2>*|myhand) reject and!( transforms((,newability[draw:1 controller],newability[if cantargetcard(*[-land]|*) then token(Elemental^Creature Elemental^1/1^red)])) oneshot )! !$ controller
autograveyard={3}{R}{R}{E}:token(Elemental,creature Elemental,1/1,red)*2
text=When Seasoned Pyromancer enters the battlefield, discard two cards, then draw two cards. For each nonland card discarded this way, create a 1/1 red Elemental creature token. -- {3}{R}{R}, Exile Seasoned Pyromancer from your graveyard: Create two 1/1 red Elemental creature tokens.
mana={1}{R}{R}
type=Creature
subtype=Human Shaman
power=2
toughness=2
[/card]
[card]
name=Seasons Past
auto=bottomoflibrary
auto=ability$!may name(Return card with cost 0) moveTo(myHand) target(*[manacost=0]|myGraveyard)!$ controller && ability$!may name(Return card with cost 1) moveTo(myHand) target(*[manacost=1]|myGraveyard)!$ controller && ability$!may name(Return card with cost 2) moveTo(myHand) target(*[manacost=2]|myGraveyard)!$ controller && ability$!may name(Return card with cost 3) moveTo(myHand) target(*[manacost=3]|myGraveyard)!$ controller && ability$!may name(Return card with cost 4) moveTo(myHand) target(*[manacost=4]|myGraveyard)!$ controller && ability$!may name(Return card with cost 5) moveTo(myHand) target(*[manacost=5]|myGraveyard)!$ controller && ability$!may name(Return card with cost 6) moveTo(myHand) target(*[manacost=6]|myGraveyard)!$ controller && ability$!may name(Return card with cost 7) moveTo(myHand) target(*[manacost=7]|myGraveyard)!$ controller && ability$!may name(Return card with cost 8) moveTo(myHand) target(*[manacost=8]|myGraveyard)!$ controller && ability$!may name(Return card with cost 9) moveTo(myHand) target(*[manacost=9]|myGraveyard)!$ controller && ability$!may name(Return card with cost 10) moveTo(myHand) target(*[manacost=10]|myGraveyard)!$ controller
text=Return any number of cards with different converted mana costs from your graveyard to your hand. Put Seasons Past on the bottom of its owner's library.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Second Sight
aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=5]|mylibrary) moverandom(*[zpos<=5]) from(mylibrary) to(mylibrary)])) ueot
aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=5]|opponentlibrary) moverandom(*[zpos<=5]) from(opponentlibrary) to(opponentlibrary)])) ueot
other={2}{U}[U} name(Entwine)
auto=ifnot paid(alternative) then choice name(Look your library) reveal:5 optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<5>*|reveal) moveto(mylibrary) optiontwoend revealend
auto=ifnot paid(alternative) then choice name(Look opponent library) reveal:5 revealzone(opponentlibrary) optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<5>*|reveal) moveto(opponentlibrary) optiontwoend revealend
auto=if paid(alternative) then name(Look your library) reveal:5 optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<5>*|reveal) moveto(mylibrary) optiontwoend revealend
auto=if paid(alternative) then name(Look opponent library) reveal:5 revealzone(opponentlibrary) optionone name(Look) target(*|reveal) doNothing optiononeend optiontwo target(<5>*|reveal) moveto(opponentlibrary) optiontwoend revealend
text=Choose one  Look at the top five cards of target opponent's library, then put them back in any order; or look at the top five cards of your library, then put them back in any order. -- Entwine {U} (Choose both if you pay the entwine cost.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Secret Base
auto={T}:add{C}
auto={T}:add{G}
auto={T}:add{U}
auto={T}:add{R}
auto={T}:add{B}
auto={T}:add{W}
text={T}: Add {1}. -- {T}: Add one mana of any color. Spend this mana only to cast a spell that shares a watermark with Secret Base.
type=Land
[/card]
[card]
name=Secret Door
abilities=defender
auto={4}{U}:if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot asSorcery
text=Defender -- {4}{U}: Venture into the dungeon. Activate only as a sorcery. (Enter the first room or advance to the next room.)
mana={U}
type=Artifact Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Secret Rendezvous
auto=draw:3 controller
auto=draw:3 opponent
text=You and target opponent each draw three cards.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Secret Summoning
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@movedto(creature[chosenname]|mybattlefield):may name(Search library) target(<anyamount>creature[chosenname]|mylibrary) moveto(myhand) and!( shuffle )!])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Whenever a creature with the chosen name enters the battlefield under your control, you may search your library for any number of cards with that name, reveal them, put them into your hand, then shuffle your library.
type=Conspiracy
[/card]
[card]
name=Secrets of Paradise
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[lord(creature[chosenname]|myBattlefield) {T}:add{R}],newability[lord(creature[chosenname]|myBattlefield) {T}:add{W}],newability[lord(creature[chosenname]|myBattlefield) {T}:add{G}],newability[lord(creature[chosenname]|myBattlefield) {T}:add{U}],newability[lord(creature[chosenname]|myBattlefield) {T}:add{B}])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- Creatures you control with the chosen name have "{T}: Add one mana of any color to your mana pool."
type=Conspiracy
[/card]
[card]
name=Secrets of the Golden City
auto=_ASCEND_
auto=_CITY'S_BLESSING_ draw:1 controller
auto=draw:2 controller
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Draw two cards. If you have the city's blessing, draw three cards instead.
mana={1}{U}{U}
type=Sorcery
[/card]
[card]
name=Secrets of the Key
auto=token(Clue)
auto=if gravecast then token(Clue)
flashback={3}{U}
text=Investigate. If this spell was cast from a graveyard, investigate twice instead. (To investigate, create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -- Flashback {3}{U}
mana={U}
type=Instant
[/card]
[card]
name=Secure the Scene
target=*[-land]
auto=moveTo(exile) 
auto=token(Soldier Sec) targetcontroller
text=Exile target nonland permanent. Its controller creates a 1/1 white Soldier creature token.
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Sedgemoor Witch
abilities=menace
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 3 life more) name(This spell costs 3 life more) target(*|opponentzones) transforms((,newability[pay[[{L:3}]] name(pay 3 life) donothing?fizzle])) oneshot
auto=@movedto(*[instant;sorcery]|mystack):name(Create Pest) token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
text=Menace -- Ward-Pay 3 life. (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays 3 life.) -- Magecraft - Whenever you cast or copy an instant or sorcery spell, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life."
mana={2}{B}
type=Creature
subtype=Human Warlock
power=3
toughness=2
[/card]
[card]
name=See Red
target=creature
auto=2/1
auto=first strike
auto=@each my combatends restriction{type(creature[attacking]|mybattlefield)~equalto~0}:phaseaction[endofturn once] sacrifice all(this)
text=Enchant creature -- Enchanted creature gets +2/+1 and has first strike. -- At the beginning of your end step, if you didn't attack with a creature this turn, sacrifice See Red.
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=See the Truth
aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand)
auto=name(look) reveal:3 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<3>*|reveal) bottomoflibrary optiontwoend revealend
auto=if gravecast then name(look) reveal:3 optionone name(Get a card) target(<3>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top three cards of your library. Put one of those cards into your hand and the rest on the bottom of your library in any order. If this spell was cast from anywhere other than your hand, put each of those cards into your hand instead.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Seeds of Strength
target=creature
auto=1/1 ueot
auto=target(creature) 1/1 ueot
auto=ability$!target(creature) 1/1 ueot!$ controller
text=Target creature gets +1/+1 until end of turn. -- Target creature gets +1/+1 until end of turn. -- Target creature gets +1/+1 until end of turn.
mana={G}{W}
type=Instant
[/card]
[card]
name=Seeker of Insight
auto={T} {restriction type(*[-creature]|mystack)~morethan~0}:draw:1 && reject notatarget(*|myhand)
text={T}: Draw a card, then discard a card. Activate this ability only if you've cast a noncreature spell this turn.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Seekers' Squire
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=When Seekers' Squire enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={1}{B}
type=Creature
subtype=Human Scout
power=1
toughness=2
[/card]
[card]
name=Seer of the Last Tomorrow
auto={U}{T}{D(*|myhand)}:deplete:3 target(player)
text={U}, {T}, Discard a card: Target player puts the top three cards of his or her library into his or her graveyard.
mana={2}{U}
type=Creature
subtype=Naga Cleric
power=1
toughness=4
[/card]
[card]
name=Seer's Vision
abilities=showopponenthand
auto={S}:name(Look hand and discard) target(*|opponenthand) reject assorcery
text=Your opponents play with their hands revealed. -- Sacrifice Seer's Vision: Look at target player's hand and choose a card from it. That player discards that card. Activate this ability only any time you could cast a sorcery.
mana={2}{U}{B}
type=Enchantment
[/card]
[card]
name=Sefris of the Hidden Ways
auto=@dungeoncompleted(*[dungeon]|*) from(controller):name(Return creature) target(creature|mygraveyard) moveto(mybattlefield)
auto=@movedto(creature|mygraveyard) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0} turnlimited:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Whenever one or more creature cards are put into your graveyard from anywhere, venture into the dungeon. This ability triggers only once each turn. (Enter the first room or advance to the next room.) -- Create Undead - Whenever you complete a dungeon, return target creature card from your graveyard to the battlefield.
mana={W}{U}{B}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Segovian Angel
abilities=flying,vigilance
text=Flying, vigilance
mana={W}
type=Creature
subtype=Angel
power=1
toughness=1
[/card]
[card]
name=Seht's Tiger
abilities=flash
auto=choice name(Protection from red) preventalldamage to(controller) from(*[red]|battlefield,stack,hand,graveyard) ueot
auto=choice name(Protection from white) preventalldamage to(controller) from(*[white]|battlefield,stack,hand,graveyard) ueot
auto=choice name(Protection from black) preventalldamage to(controller) from(*[black]|battlefield,stack,hand,graveyard) ueot
auto=choice name(Protection from blue) preventalldamage to(controller) from(*[blue]|battlefield,stack,hand,graveyard) ueot
auto=choice name(Protection from green) preventalldamage to(controller) from(*[green]|battlefield,stack,hand,graveyard) ueot
text=Flash (You may cast this spell any time you could cast an instant.) -- When Seht's Tiger enters the battlefield, you gain protection from the color of your choice until end of turn. (You can't be targeted, dealt damage, or enchanted by anything of the chosen color.)
mana={2}{W}{W}
type=Creature
subtype=Cat
power=3
toughness=3
[/card]
[card]
name=Seismic Shift
target=land
auto=destroy
auto=cantblocktarget(<upto:2>creature)
text=Destroy target land. Up to two target creatures can't block this turn.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Seize the Soul
target=creature[-black;-white]
auto=destroy and!( token(Spirit,Creature Spirit,1/1,white,flying) controller )!
auto=if type(creature|mybattlefield)~morethan~0 then name(Exile and haunt a creature) all(this|mystack) moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt and!( counter(0/0.1.SeizeHaunted) )!],newability[@movedto(creature[isprey&counter{0/0.1.SeizeHaunted}]|graveyard) from(battlefield) once:name(Destroy creature) target(creature[-black;-white]|battlefield) destroy and!( token(Spirit^Creature Spirit^1/1^white^flying) controller )!])) forever )!
text=Destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield. -- Haunt (When this spell card is put into a graveyard after resolving, exile it haunting target creature.) -- When the creature Seize the Soul haunts dies, destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield.
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Seize the Spoils
auto=draw:2 controller
auto=token(Treasure Sur)
text=As an additional cost to cast this spell, discard a card. -- Draw two cards and create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{R}{D(other *|myhand)}
type=Sorcery
[/card]
[card]
name=Seize the Storm
flashback={6}{R}
auto=token(Elemental,Creature Elemental,0/0,red,trample) and!( transforms((,newability[pginstantsorceryplustype:*[hasflashback]:myexileplusend/pginstantsorceryplustype:*[hasflashback]:myexileplusend cdaactive])) forever )!
text=Create a red Elemental creature token with trample and "This creature's power and toughness are each equal to the number of instant and sorcery cards in your graveyard, plus the number of cards with flashback you own in exile." -- Flashback {6}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Seizures
target=creature
auto=teach(creature) transforms((,newability[@tapped(this):pay[[{3}]] name(pay 3 mana) donothing?damage:3 controller])) forever
text=Enchant creature -- Whenever enchanted creature becomes tapped, Seizures deals 3 damage to that creature's controller unless that player pays {3}.
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sejiri Glacier
auto=tap(noevent)
auto={T}:add{W}
text=Sejiri Glacier enters the battlefield tapped. -- {T}: Add {W}. // {1}{W} Sejiri Shelter
type=Land
[/card]
[card]
name=Sejiri Shelter
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Sejiri Glacier)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Sejiri Glacier) name(Sejiri Glacier) flip(Sejiri Glacier) forcetype(land)
auto=name(Choose color) ability$!name(Choose color) choice name(White) protection from white target(creature|mybattlefield) ueot _ choice name(Blue) protection from blue target(creature|mybattlefield) ueot _ choice name(Black) protection from black target(creature|mybattlefield) ueot _ choice name(Red) protection from red target(creature|mybattlefield) ueot _ choice name(Green) protection from green target(creature|mybattlefield) ueot!$ controller
text=Target creature you control gains protection from the color of your choice until end of turn. // Sejiri Glacier
mana={1}{W}
type=Instant
[/card]
[card]
name=Sekki, Seasons' Guide
abilities=hydra
auto=counter(1/1,8)
auto=@counterremoved(1/1) from(this):token(Spirit,Creature Spirit,1/1)
autograveyard={S(creature[spirit]|mybattlefield)}{S(creature[spirit]|mybattlefield)}{S(creature[spirit]|mybattlefield)}{S(creature[spirit]|mybattlefield)}{S(creature[spirit]|mybattlefield)}{S(creature[spirit]|mybattlefield)}{S(creature[spirit]|mybattlefield)}{S(creature[spirit]|mybattlefield)}:moveto(mybattlefield)
text=Sekki, Seasons' Guide enters the battlefield with eight +1/+1 counters on it. -- If damage would be dealt to Sekki, prevent that damage, remove that many +1/+1 counters from Sekki, and put that many 1/1 colorless Spirit creature tokens onto the battlefield. -- Sacrifice eight Spirits: Return Sekki from your graveyard to the battlefield.
mana={5}{G}{G}{G}
type=Legendary Creature
subtype=Spirit
power=0
toughness=0
[/card]
[card]
name=Selective Snare
auto=chooseatype target(<prex>creature[chosentype]) moveto(ownerhand) chooseend
text=Return X target creatures of the creature type of your choice to their owner's hand.
mana={X}{U}
type=Sorcery
[/card]
[card]
name=Selesnya Eulogist
auto={2}{G}:target(creature|graveyard) moveto(exile) && ability$! _POPULATE_ !$ controller
text={2}{G}: Exile target creature card from a graveyard, then populate. (Create a token that's a copy of a creature token you control.)
mana={2}{G}
type=Creature
subtype=Centaur Druid
power=3
toughness=3
[/card]
[card]
name=Selesnya Locket
auto={T}:Add{G}
auto={T}:Add{W}
auto={GW}{GW}{GW}{GW}{T}{S}:draw:2
text={T}: Add {G} or {W}. -- {G/W}{G/W}{G/W}{G/W}, {T}, Sacrifice Selesnya Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Selesnya Sagittars
abilities=reach
text=Reach (This creature can block creatures with flying.) -- Selesnya Sagittars can block an additional creature.
mana={3}{G}{W}
type=Creature
subtype=Elf Archer
power=2
toughness=5
[/card]
[card]
name=Selfless Glyphweaver
other={5}{B}{B}{B} name(Deadly Vanity)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Deadly Vanity)
autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:deadly vanity:!)])) forever
auto={E}:name(All creatures gain indestructible) all(creature|mybattlefield) transforms((,newability[indestructible])) ueot
text=Exile Selfless Glyphweaver: Creatures you control gain indestructible until end of turn. // {5}{B}{B}{B} Deadly Vanity
mana={2}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Selfless Savior
auto={S}:target(other creature|myBattlefield) indestructible ueot
text=Sacrifice Selfless Savior: Another target creature you control gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={W}
type=Creature
subtype=Dog
power=1
toughness=1
[/card]
[card]
name=Selvala's Charge
auto=reveal:1 revealzone(mylibrary) optionone if type(land|reveal)~lessthan~1 then token(Elephant,Creature Elephant,3/3,green) optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend
auto=reveal:1 revealzone(opponentlibrary) optionone if type(land|reveal)~lessthan~1 then token(Elephant,Creature Elephant,3/3,green) optiononeend optiontwo target(<1>*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed draw:1 opponent afterrevealedend revealend
text=Parley - Each player reveals the top card of his or her library. For each nonland card revealed this way, you put a 3/3 green Elephant creature token onto the battlefield. Then each player draws a card.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Selvala's Enforcer
auto=reveal:1 revealzone(mylibrary) optionone if type(land|reveal)~lessthan~1 then counter(1/1) optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend
auto=reveal:1 revealzone(opponentlibrary) optionone if type(land|reveal)~lessthan~1 then counter(1/1)) optiononeend optiontwo target(<1>*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed draw:1 opponent afterrevealedend revealend
text=Parley - When Selvala's Enforcer enters the battlefield, each player reveals the top card of his or her library. For each nonland card revealed this way, put a +1/+1 counter on Selvala's Enforcer. Then each player draws a card.
mana={3}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Selvala, Explorer Returned
auto={T}:reveal:1 revealzone(mylibrary) optionone if type(land|reveal)~lessthan~1 then transforms(([,newability[add{G}],newability[life:1 controller])) ueot optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend && reveal:1 revealzone(opponentlibrary) optionone if type(land|reveal)~lessthan~1 then transforms(([,newability[add{G}],newability[life:1 controller])) ueot optiononeend optiontwo target(<1>*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed draw:1 opponent afterrevealedend revealend
text=Parley-{T}: Each player reveals the top card of his or her library. For each nonland card revealed this way, add {G} to your mana pool and you gain 1 life. Then each player draws a card.
mana={1}{G}{W}
type=Legendary Creature
subtype=Elf Scout
power=2
toughness=4
[/card]
[card]
name=Selvala, Heart of the Wilds
auto=@movedto(other creature|myBattlefield) may (draw:[power=power:highest:creature:myBattlefield]|mybattlefield)
auto=@movedto(other creature|opponentBattlefield) may (draw:[power=power:highest:creature:opponentBattlefield]|opponentbattlefield)
auto={G}{T}: name(add mana) (add:[power=power:highest:creature:myBattlefield]|mybattlefield) ability$! choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W} !$ controller
text=Whenever another creature enters the battlefield, its controller may draw a card if its power is greater than each other creature's power. -- {G}, {T}: Add X mana in any combination of colors, where X is the greatest power among creatures you control.
mana={1}{G}{G}
type=Legendary Creature
subtype=Elf Scout
power=2
toughness=3
[/card]
[card]
name=Semester's End
target=<anyamount>*[creature;planeswalker]|battlefield
auto=moveto(exile) and!( transforms((,newability[phaseaction[endofturn once checkex] moveTo(ownerbattlefield)],newability[@movedto(this|battlefield) from(exile):if cantargetcard(*[creature]|*) then counter(1/1) else counter(0/0.1.Loyalty)])) ueot
text=Exile any number of target creatures and/or planeswalkers you control. At the beginning of the next end step, return each of them to the battlefield under its owner's control. Each of them enters the battlefield with an additional +1/+1 counter on it if it's a creature and an additional loyalty counter on it if it's a planeswalker.
mana={3}{W}
type=Instant
[/card]
[card]
name=Sen Triplets
auto=@each my upkeep:all(*|opponentBattlefield) noactivatedability && all(*|opponentcastingzone) maxCast(*)0 && may castcard(normal) target(*|opponenthand)
text=At the beginning of your upkeep, choose target opponent. This turn, that player can't cast spells or activate abilities and plays with his or her hand revealed. You may play cards from that player's hand this turn.
mana={2}{W}{U}{B}
type=Legendary Artifact Creature
subtype=Human Wizard
power=3
toughness=3
[/card]
[card]
name=Senate Courier
abilities=flying
auto={1}{W}:vigilance
text=Flying -- {1}{W}: Senate Courier gains vigilance until end of turn.
mana={2}{U}
type=Creature
subtype=Bird
power=1
toughness=4
[/card]
[card]
name=Senate Griffin
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- When Senate Griffin enters the battlefield, scry 1.
mana={2}{WU}{WU}
type=Creature
subtype=Griffin
power=3
toughness=2
[/card]
[card]
name=Senate Guildmage
auto={W}{T}:life:2
auto={U}{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text={W}, {T}: You gain 2 life. -- {U}, {T}: Draw a card, then discard a card.
mana={W}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Sengir, the Dark Baron
abilities=flying,partner
auto=@movedTo(other creature|graveyard) from(battlefield):counter(1/1,2)
text=Flying -- Whenever another creature dies, put two +1/+1 counters on Sengir, the Dark Baron. -- Whenever another player loses the game, you gain life equal to that player's life total as the turn began. -- Partner (You can have two commanders if both have partner.)
mana={4}{B}{B}
type=Legendary Creature
subtype=Vampire Noble
power=4
toughness=4
[/card]
[card]
name=Sentinel Dispatch
abilities=isconspiracy
restriction=never
autocommandzone=token(Construct,Creature Artifact Construct,1/1,defender)
text=(Start the game with this conspiracy face up in the command zone.) -- At the beginning of the first upkeep, put a 1/1 colorless Construct artifact creature token with defender onto the battlefield.
type=Conspiracy
[/card]
[card]
name=Sentinel Totem
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_SCRY_(1)
text=When Sentinel Totem enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}, Exile Sentinel Totem: Exile all cards from all graveyards.
mana={1}
type=Artifact
[/card]
[card]
name=Sentinel Tower
auto=@movedTo(*[instant;sorcery]|stack) restriction{myturnonly}:name(Damage any target) name(Damage any target) damage:type:*[sorcery;instant;fresh]:graveyardplus1plusend target(player,creature,planeswalker)
text=Whenever an instant or sorcery spell is cast during your turn, Sentinel Tower deals damage to any target equal to 1 plus the number of instant and sorcery spells cast before that spell this turn.
mana={4}
type=Artifact
[/card]
[card]
name=Sentinel of the Pearl Trident
abilities=flash
auto=may (blink)ueot target(*[artifact;legendary;saga]|myBattlefield)
text=Flash -- When Sentinel of the Pearl Trident enters the battlefield, you may exile target historic permanent you control. If you do, return that card to the battlefield under its owner's control at the beginning of the next end step. (Artifacts, legendaries, and Sagas are historic.)
mana={4}{U}
type=Creature
subtype=Merfolk Soldier
power=3
toughness=3
[/card]
[card]
name=Sentinel's Eyes
target=creature
auto=vigilance
auto=1/1
retrace={W}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Enchant creature -- Enchanted creature gets +1/+1 and has vigilance. -- Escape-{W}, Exile two other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sentinel's Mark
abilities=flash
target=creature
auto=1/2
auto=vigilance
auto=_ADDENDUM_ lifelink ueot else
text=Flash -- Enchant creature -- Enchanted creature gets +1/+2 and has vigilance. -- Addendum - When Sentinel's Mark enters the battlefield, if you cast it during your main phase, enchanted creature gains lifelink until end of turn.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sephara, Sky's Blade
abilities=flying,lifelink
auto=lord(Other creature[flying]|myBattlefield) indestructible
other={W}{T(creature|mybattlefield)}{T(creature|mybattlefield)}{T(creature|mybattlefield)}{T(creature|mybattlefield)} name({W} and Tap four Untapped Creatures)
text=You may pay {W} and tap four untapped creatures you control with flying rather than pay this spell's mana cost. -- Flying, lifelink -- Other creatures you control with flying have indestructible. (Damage and effects that say "destroy" don't destroy them.)
mana={4}{W}{W}{W}
type=Legendary Creature
subtype=Angel
power=7
toughness=7
[/card]
[card]
name=Sepulcher Ghoul
auto={S(other *[creature]|mybattlefield)}:name(Gets 2/2) 2/2 ueot limit:1
text=Sacrifice another creature: Sepulcher Ghoul gets +2/+2 until end of turn. Activate only once each turn.
mana={1}{B}
type=Creature
subtype=Zombie
power=2
toughness=1
[/card]
[card]
name=Sequence Engine
auto={0}{T}:name(X = 0) target(creature[manacost=0]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue)!$ controller assorcery
auto={1}{T}:name(X = 1) target(creature[manacost=1]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.1) )! !$ controller assorcery
auto={2}{T}:name(X = 2) target(creature[manacost=2]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.2) )! !$ controller assorcery
auto={3}{T}:name(X = 3) target(creature[manacost=3]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.3) )! !$ controller assorcery
auto={4}{T}:name(X = 4) target(creature[manacost=4]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.4) )! !$ controller assorcery
auto={5}{T}:name(X = 5) target(creature[manacost=5]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.5) )! !$ controller assorcery
auto={6}{T}:name(X = 6) target(creature[manacost=6]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.6) )! !$ controller assorcery
auto={7}{T}:name(X = 7) target(creature[manacost=7]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.7) )! !$ controller assorcery
auto={8}{T}:name(X = 8) target(creature[manacost=8]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.8) )! !$ controller assorcery
auto={9}{T}:name(X = 9) target(creature[manacost=9]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.9) )! !$ controller assorcery
auto={10}{T}:name(X = 10) target(creature[manacost=10]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.10) )! !$ controller assorcery
auto={11}{T}:name(X = 11) target(creature[manacost=11]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.11) )! !$ controller assorcery
auto={12}{T}:name(X = 12) target(creature[manacost=12]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.12) )! !$ controller assorcery
auto={13}{T}:name(X = 13) target(creature[manacost=13]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.13) )! !$ controller assorcery
auto={14}{T}:name(X = 14) target(creature[manacost=14]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.14) )! !$ controller assorcery
auto={15}{T}:name(X = 15) target(creature[manacost=15]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.15) )! !$ controller assorcery
auto={16}{T}:name(X = 16) target(creature[manacost=16]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.16) )! !$ controller assorcery
auto={17}{T}:name(X = 17) target(creature[manacost=17]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.17) )! !$ controller assorcery
auto={18}{T}:name(X = 18) target(creature[manacost=18]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.18) )! !$ controller assorcery
auto={19}{T}:name(X = 19) target(creature[manacost=19]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.19) )! !$ controller assorcery
auto={20}{T}:name(X = 20) target(creature[manacost>=20]|graveyard) moveto(exile) && ability$!name(Create Fractal) name(Create Fractal) token(Fractal,Creature Fractal,0/0,green,blue) and!( counter(1/1.20) )! !$ controller assorcery
text={X}, {T}: Exile target creature card with mana value X from a graveyard. Create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it. Activate only as a sorcery.
mana={2}{G}
type=Artifact
[/card]
[card]
name=Seraph of the Scales
abilities=flying
auto={W}:vigilance
auto={B}:deathtouch
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2
text=Flying -- {W}: Seraph of the Scales gains vigilance until end of turn. -- {B}: Seraph of the Scales gains deathtouch until end of turn. -- Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.)
mana={2}{W}{B}
type=Creature
subtype=Angel
power=4
toughness=3
[/card]
[card]
name=Seraph of the Suns
abilities=flying, indestructible
text=Flying -- Indestructible (Damage and effects that say "destroy" don't destroy this creature. If its toughness is 0 or less, it's still put into its owner's graveyard.)
mana={5}{W}{W}
type=Creature
subtype=Angel
power=4
toughness=4
[/card]
[card]
name=Seraphic Greatsword
auto={4}:equip
auto=teach(creature) 2/2
auto=@combat(attacking) source(mytgt):if compare(lifetotal)~lessthan~compare(opponentlifetotal) then token(Angel,Creature Angel,4/4,white,flying,battleready)
auto=@combat(attacking) source(mytgt):if compare(lifetotal)~equalto~compare(opponentlifetotal) then token(Angel,Creature Angel,4/4,white,flying,battleready)
text=Equipped creature gets +2/+2. -- Whenever equipped creature attacks the player with the most life or tied for most life, create a 4/4 white Angel creature token with flying that's tapped and attacking that player. -- Equip {4}
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sergeant-at-Arms
kicker={2}{W}
auto=if paid(kicker) then create(soldier:creature soldier:1/1:white:)*2
text=Kicker {2}{W} (You may pay an additional {2}{W} as you cast this spell.) -- When Sergeant-at-Arms enters the battlefield, if it was kicked, create two 1/1 white Soldier creature tokens.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Serpent of Yawning Depths
auto=lord(creature[Kraken,Leviathan,Octopus,Serpent]|myBattlefield) cantbeblockedby(creature[Kraken,Leviathan,Octopus,Serpent])
text=Krakens, Leviathans, Octopuses, and Serpents you control can't be blocked except by Krakens, Leviathans, Octopuses, and Serpents.
mana={4}{U}{U}
type=Enchantment Creature
subtype=Serpent
power=6
toughness=6
[/card]
[card]
name=Serpent's Soul-Jar
auto=@movedto(elf|mygraveyard) from(mybattlefield):all(trigger[to]) name(Put in exile) transforms((,newability[moveto(myexile) and!( counter(0/0.1.SerpentExiled) )!])) forever
auto={L:2}{T}:name(Choose creature from exile) target(creature[counter{0/0.1.SerpentExiled}]|myexile) transforms((,newability[canplayfromexile])) ueot
text=Whenever an Elf you control dies, exile it. -- {T}, Pay 2 life: Until end of turn, you may cast a creature spell from among cards exiled with Serpent's Soul-Jar.
mana={2}{B}
type=Artifact
[/card]
[card]
name=Serpentine Curve
auto=token(Fractal,Creature Fractal,0/0,green,blue) and!( transforms((,newability[counter(1/1)],newability[counter(1/1.pginstantsorcery)],newability[counter(1/1.type:*[instant;sorcery]:myexile)])) oneshot )!
text=Create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is one plus the total number of instant and sorcery cards you own in exile and in your graveyard.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Serpentine Spike
target=creature
abilities=devoid
auto=exiledeath
auto=damage:2
auto=ability$!name(Deal 3 damage) name(Deal 3 damage) target(creature) transforms((,newability[exiledeath],newability[damage:3])) ueot!$ controller
auto=ability$!name(Deal 4 damage) name(Deal 4 damage) target(creature) transforms((,newability[exiledeath],newability[damage:4])) ueot!$ controller
text=Devoid (This card has no color.) -- Serpentine Spike deals 2 damage to target creature, 3 damage to another target creature, and 4 damage to a third target creature. If a creature dealt damage this way would die this turn, exile it instead.
mana={5}{R}{R}
type=Sorcery
[/card]
[card]
name=Serra Disciple
abilities=flying, first strike
auto=@movedTo(*[artifact;legendary;saga]|mystack):+1/+1 ueot
text=Flying, first strike -- Whenever you cast a historic spell, Serra Disciple gets +1/+1 until end of turn. (Artifacts, legendaries, and Sagas are historic.)
mana={1}{W}
type=Creature
subtype=Bird Cleric
power=1
toughness=1
[/card]
[card]
name=Serra's Emissary
abilities=flying
auto=choice name(artifact) transforms((,newability[preventalldamage to(controller) from(artifact)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(artifact)]))])) forever
auto=choice name(creature) transforms((,newability[preventalldamage to(controller) from(creature)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(creature)]))])) forever
auto=choice name(enchantment) transforms((,newability[preventalldamage to(controller) from(enchantment)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(enchantment)]))])) forever
auto=choice name(instant) transforms((,newability[preventalldamage to(controller) from(instant)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(instant)]))])) forever
auto=choice name(land) transforms((,newability[preventalldamage to(controller) from(land)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(land)]))])) forever
auto=choice name(planeswalker) transforms((,newability[preventalldamage to(controller) from(planeswalker)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(planeswalker)]))])) forever
auto=choice name(sorcery) transforms((,newability[preventalldamage to(controller) from(sorcery)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(sorcery)]))])) forever
auto=choice name(tribal) transforms((,newability[preventalldamage to(controller) from(tribal)],newability[lord(creature|myBattlefield) transforms((,newability[protection from(tribal)]))])) forever
text=Flying -- As Serra's Emissary enters the battlefield, choose a card type. -- You and creatures you control have protection from the chosen card type.
mana={4}{W}{W}{W}
type=Creature
subtype=Angel
power=7
toughness=7
[/card]
[card]
name=Serra's Guardian
abilities=flying, vigilance
auto=lord(other creature|myBattlefield) vigilance
text=Flying -- Vigilance (Attacking doesn't cause this creature to tap.) -- Other creatures you control have vigilance.
mana={4}{W}{W}
type=Creature
subtype=Angel
power=5
toughness=5
[/card]
[card]
name=Serrated Scorpion
auto=_DIES_damage:2 target(player) && life:2 controller
text=When Serrated Scorpion dies, it deals 2 damage to each opponent and you gain 2 life.
mana={B}
type=Creature
subtype=Scorpion
power=1
toughness=2
[/card]
[card]
name=Setessan Champion
auto=_CONSTELLATION_all(this) counter(1/1,1) && draw:1 controller
text=Constellation - Whenever an enchantment enters the battlefield under your control, put a +1/+1 counter on Setessan Champion and draw a card.
mana={2}{G}
type=Creature
subtype=Human Warrior
power=1
toughness=3
[/card]
[card]
name=Setessan Petitioner
auto=life:type:manaG controller
text=When Setessan Petitioner enters the battlefield, you gain life equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.)
mana={1}{G}{G}
type=Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Setessan Skirmisher
auto=_CONSTELLATION_1/1 ueot
text=Constellation - Whenever an enchantment enters the battlefield under your control, Setessan Skirmisher gets +1/+1 until end of turn.
mana={1}{G}
type=Creature
subtype=Human Warrior
power=2
toughness=1
[/card]
[card]
name=Setessan Tactics
abilities=hasnokicker,hasstrive
kicker=multi{G} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[1/1],newability[{T}:name(Fight another creature) target(other creature) dynamicability<!powerstrike eachother!>])) ueot
text=Strive - Setessan Tactics costs {G} more to cast for each target beyond the first. -- Until end of turn, any number of target creatures each get +1/+1 and gain "{T}: This creature fights another target creature."
mana={1}{G}
type=Instant
[/card]
[card]
name=Setessan Training
target=creature|myBattlefield
auto=draw:1 controller
auto=trample
auto=1/0
text=Enchant creature you control -- When Setessan Training enters the battlefield, draw a card. -- Enchanted creature gets +1/+0 and has trample.
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sethron, Hurloon General
auto=token(Minotaur,Creature Minotaur,2/3,red)
auto=@movedto(other minotoaur[-token]|mybattlefield):token(Minotaur,Creature Minotaur,2/3,red)
auto={2}{BR}:all(creature[minotoaur]|mybattlefield) transforms((,newability[1/0 ueot],newability[menace ueot],newability[haste ueot])) ueot
text=Whenever Sethron, Hurloon General or another nontoken Minotaur enters the battlefield under your control, create a 2/3 red Minotaur creature token. -- {2}{B} or {R}: Minotaurs you control get +1/+0 and gain menace and haste until end of turn. ( {B} or {R} can be paid with either {B} or {R}.)
mana={3}{R}{R}
type=Legendary Creature
subtype=Minotaur Warrior
power=4
toughness=4
[/card]
[card]
name=Settle Beyond Reality
auto=alternative target(creature|opponentbattlefield) moveto(exile)
auto=alternative target(creature|mybattlefield) moveto(exile) and!(moveto(mybattlefield))!
text=Choose one or both -- Exile target creature you don't control. -- Exile target creature you control, then return it to the battlefield under its owner's control.
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Settle the Score
target=creature
auto=moveto(exile)
auto=counter(0/0,2,loyalty) target(planeswalker|myBattlefield)
text=Exile target creature. Put two loyalty counters on a planeswalker you control.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Settle the Wreckage
target=player
auto=moveto(exile) all(creature[attacking]|targetedpersonsbattlefield)
auto=foreach(creature[attacking]|targetedpersonsbattlefield) ability$!may moveto(mybattlefield) target(land|mylibrary)!$ targetedplayer
text=Exile all attacking creatures target player controls. That player may search his or her library for that many basic land cards, put those cards onto the battlefield tapped, then shuffle his or her library.
mana={2}{W}{W}
type=Instant
[/card]
[card]
name=Seven Dwarves
auto=foreach(other creature[Seven Dwarves]|myBattlefield) 1/1
text=Seven Dwarves gets +1/+1 for each other creature named Seven Dwarves you control. -- A deck can have up to seven cards named Seven Dwarves.
mana={1}{R}
type=Creature
subtype=Dwarf
power=2
toughness=2
[/card]
[card]
name=Severed Strands
target=creature
auto=destroy
auto=life:storedtoughness controller
text=As an additional cost to cast this spell, sacrifice a creature. -- You gain life equal to the sacrificed creature's toughness. Destroy target creature an opponent controls.
mana={1}{B}{S(creature|mybattlefield)}
type=Sorcery
[/card]
[card]
name=Sevinne's Reclamation
target=creature,artifact,planeswalker,enchantment,land[manacost<=3]|mygraveyard
auto=moveTo(mybattlefield)
auto=if gravecast then all(trigger[to]<1>) transforms((,newability[may name(copy spell) activate name(copy spell) castcard(copied noevent)])) forever
flashback={4}{W}
text=Return target permanent card with converted mana cost 3 or less from your graveyard to the battlefield. If this spell was cast from a graveyard, you may copy this spell and may choose a new target for the copy. -- Flashback {4}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Sevinne, the Chronoclasm
auto=preventAllDamage to(this)
auto=@movedTo(*[instant;sorcery]|mystack) from(mygraveyard) turnlimited:all(trigger[to]<1>) transforms((,newability[activate castcard(copied noevent)])) forever
text=Prevent all damage that would be dealt to Sevinne, the Chronoclasm. -- Whenever you cast your first instant or sorcery spell from your graveyard each turn, copy that spell. You may choose new targets for the copy.
mana={2}{U}{R}{W}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Shabraz, the Skyshark
abilities=hiddenface,partner
auto=may name(Put partner in hand) moveTo(myhand) target(Brallin^ Skyshark Rider|mylibrary)
auto=@drawof(player:all(this) counter(1/1,1) && life:1 controller
auto={WU}:target(creature[Human]) flying ueot
text=Partner with Shabraz, the Skyshark (When this creature enters the battlefield, target player may put Shabraz into their hand from their library, then shuffle.) -- Whenever you discard a card, put a +1/+1 counter on Brallin, Skyshark Rider and it deals 1 damage to each opponent. -- {R}: Target Shark gains trample until end of turn.
mana={3}{W}{U}
type=Legendary Creature
subtype=Shark Bird
power=3
toughness=3
[/card]
[card]
name=Shacklegeist
abilities=cloud,flying
auto={T(creature[spirit]|myBattlefield)}{T(creature[spirit]|myBattlefield)}:tap(noevent) target(creature|opponentBattlefield)
text=Flying -- Shacklegeist can block only creatures with flying. -- Tap two untapped Spirits you control: Tap target creature you don't control.
mana={1}{U}
type=Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Shackles of Treachery
target=creature
auto=moveto(mybattlefield) and!(transforms((,newability[@damaged(creature,player) from(this):may name(Destroy equipment) target(equipment[attached]|mybattlefield) destroy],newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
text=Gain control of target creature until end of turn. Untap that creature. Until end of turn, it gains haste and "Whenever this creature deals damage, destroy target Equipment attached to it."
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Shadewing Laureate
abilities=flying
auto=@movedto(other creature[flying]|graveyard) from(mybattlefield):name(Put 1/1 counter) target(creature|mybattlefield) counter(1/1)
text=Flying -- Whenever another creature you control with flying dies, put a +1/+1 counter on target creature you control.
mana={W}{WB}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=2
[/card]
[card]
name=Shadow Kin
abilities=flash
auto=counter(0/0,1,ShadowEffect)
auto=emblem transforms((,newability[lord(creature[counter{0/0.1.ShadowEffect}]|mybattlefield) transforms((,newability[@each my upkeep:may name(Exile and becomes a copy) target(creature[fresh]|graveyard) moveto(ownerexile) and!( copy )!],newability[@each my upkeep:name(All players mill 3 cards) all(*[zpos<=3]|library) moveto(ownerstack) and!( moveto(ownergraveyard) )!]))])) forever dontremove
text=Flash -- At the beginning of your upkeep, each player mills three cards. You may exile a creature card from among the cards milled this way. If you do, Shadow Kin becomes a copy of that card, except it has this ability.
mana={3}{U}
type=Creature
subtype=Shapeshifter
power=2
toughness=2
[/card]
[card]
name=Shadow Stinger
auto={T(other creature[rogue]|myBattlefield)}:deathtouch ueot
auto=@combatdamagefoeof(player) from(this):deplete:3 opponent
auto=@combatdamageof(player) from(this):deplete:3 controller
text=Tap another untapped Rogue you control: Shadow Stinger gains deathtouch until end of turn. -- Whenever Shadow Stinger deals combat damage to a player, that player mills three cards. (They put the top three cards of their library into their graveyard.)
mana={2}{B}
type=Creature
subtype=Vampire Rogue
power=1
toughness=4
[/card]
[card]
name=Shadow of the Grave
auto=moveto(myhand) all(*[fresh]|mygraveyard)
text=Return to your hand all cards in your graveyard that you cycled or discarded this turn.
mana={1}{B}
type=Instant
[/card]
[card]
name=Shadowbeast Sighting
flashback={6}{G}
auto=token(Beast,Creature Beast,4/4,green)
text=Create a 4/4 green Beast creature token. -- Flashback {6}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Shadowed Caravel
auto=@explored(creature|mybattlefield):all(this) counter(1/1)
auto={crew(other creature[power>=2]|myBattlefield)}:name(crew 2 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~1}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 2 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~1}
text=Whenever a creature you control explores, put a +1/+1 counter on Shadowed Caravel. -- Crew 2 (Tap any number of creatures you control with total power 2 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={2}
type=Artifact
subtype=Vehicle
power=2
toughness=2
[/card]
[card]
name=Shadows' Verdict
auto=moveTo(exile) all(creature[manacost<=3]|Battlefield)
auto=moveTo(exile) all(planeswalker[manacost<=3]|Battlefield)
auto=moveTo(exile) all(creature[manacost<=3]|Graveyard)
auto=moveTo(exile) all(planeswalker[manacost<=3]|Graveyard)
text=Exile all creatures and planeswalkers with converted mana cost 3 or less from the battlefield and all creature and planeswalker cards with converted mana cost 3 or less from all graveyards.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Shadowspear
auto={2}:equip
auto=teach(creature) 1/1
auto=teach(creature) trample
auto=teach(creature) lifelink
auto={1}:name(Permanents lose hexproof and indestructible) all(*|opponentBattlefield) transforms((,newability[-indestructible],newability[-opponentshroud])) ueot
text=Equipped creature gets +1/+1 and has trample and lifelink. -- {1}: Permanents your opponents control lose hexproof and indestructible until end of turn. -- Equip 2
mana={1}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Shadowstorm Vizier
abilities=flying
auto=@movedto(*|mygraveyard) from(myhand):1/1 ueot
text=Flying -- Whenever you cycle or discard a card, Shadowstorm Vizier gets +1/+1 until end of turn.
mana={U}{B}
type=Creature
subtype=Human Cleric
power=1
toughness=3
[/card]
[card]
name=Shadrix Silverquill
abilities=flying,double strike
auto=@each my combatbegins:transforms((,newability[choice name(You create inkling and opponent loses life) token(Inkling^Creature Inkling^2/1^black^white^flying) && life:-1 opponent && draw:1 opponent],newability[choice name(You create inkling and opponent puts counters) token(Inkling^Creature Inkling^2/1^black^white^flying) && all(creature|opponentbattlefield) counter(1/1)],newability[choice name(Opponent creates inkling and you lose life) token(Inkling^Creature Inkling^2/1^black^white^flying) opponent && life:-1 controller && draw:1 controller],newability[choice name(Opponent creates inkling and you put counters) token(Inkling^Creature Inkling^2/1^black^white^flying) opponent && all(creature|mybattlefield) counter(1/1)],newability[choice name(You lose life and opponent puts counters) life:-1 controller && draw:1 controller && all(creature|opponentbattlefield) counter(1/1)],newability[choice name(Opponent loses life and you put counters) life:-1 opponent && draw:1 opponent && all(creature|mybattlefield) counter(1/1)],newability[choice name(Don't choose anything) donothing])) oneshot
text=Flying, double strike -- At the beginning of combat on your turn, you may choose two. Each mode must target a different player. -- Target player creates a 2/1 white and black Inkling creature token with flying. -- Target player draws a card and loses 1 life. -- Target player puts a +1/+1 counter on each creature they control.
mana={3}{W}{B}
type=Legendary Creature
subtype=Elder Dragon
power=2
toughness=5
[/card]
[card]
name=Shady Traveler
abilities=menace,daybound
backside=Stalking Predator
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
text=Menace (This creature can't be blocked except by two or more creatures.) -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Stalking Predator
mana={2}{B}
type=Creature
subtype=Human Werewolf
power=2
toughness=3
[/card]
[card]
name=Shaggy Camel
auto=all(creature|mybattlefield) 1/1 ueot
text=When this creature enters the battlefield, creatures you control get +1/+1 until end of turn.
mana={3}{W}
type=Host Creature
subtype=Camel
power=3
toughness=3
[/card]
[card]
name=Shaile, Dean of Radiance
abilities=flying,vigilance
other={2}{B}{B} name(Embrose, Dean of Shadow)
otherrestriction=can play creature,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Embrose, Dean of Shadow)
autostack=if paid(alternative) then name(Embrose, Dean of Shadow) name(Embrose, Dean of Shadow) flip(Embrose, Dean of Shadow) forcetype(Legendary Creature)
auto=this(variable{isflipped}<1) {T}:all(creature[fresh]|mybattlefield) counter(1/1)
text=Flying, vigilance -- {T}: Put a +1/+1 counter on each creature that entered the battlefield under your control this turn. // {2}{B}{B} Embrose, Dean of Shadow
mana={1}{W}
type=Legendary Creature
subtype=Bird Cleric
power=1
toughness=1
[/card]
[card]
name=Shake the Foundations
auto=damage:1 all(creature[-flying])
auto=draw:1
text=Shake the Foundations deals 1 damage to each creature without flying. -- Draw a card.
mana={2}{R}
type=Instant
[/card]
[card]
name=Shalai, Voice of Plenty
abilities=flying,controllershroud
auto=lord(other creature|myBattlefield) opponentshroud
auto=lord(planeswalker|myBattlefield) opponentshroud
auto={4}{G}{G}:counter(1/1) all(creature|myBattlefield)
text=Flying -- You, planeswalkers you control, and other creatures you control have hexproof. -- {4}{G}{G}: Put a +1/+1 counter on each creature you control.
mana={3}{W}
type=Legendary Creature
subtype=Angel
power=3
toughness=4
[/card]
[card]
name=Shallow Grave
target=creature|mygraveyard
auto=moveTo(mybattlefield) && transforms((,newability[unearth],newability[haste])) ueot
text=Return the top creature card of your graveyard to the battlefield. That creature gains haste until end of turn. Exile it at the beginning of the next end step.
mana={1}{B}
type=Instant
[/card]
[card]
name=Shaman of Forgotten Ways
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:thisforeach(variable{2}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto={9}{G}{G}{T}:lifeset:type:creature:myBattlefield controller && lifeset:type:creature:opponentBattlefield opponent restriction{compare(powertotalinplay)~morethan~7}
text={T}: Add two mana in any combination of colors to your mana pool. Spend this mana only to cast creature spells. -- Formidable-{9}{G}{G}, {T}: Each player's life total becomes the number of creatures he or she controls. Activate this ability only if creatures you control have total power 8 or greater.
mana={2}{G}
type=Creature
subtype=Human Shaman
power=2
toughness=3
[/card]
[card]
name=Shambling Ghast
auto=_DIES_name(Choose one) transforms((,newability[if type(creature|opponentbattlefield)~morethan~0 then choice name(Creature gets -1/-1) name(Creature gets -1/-1) target(creature|opponentbattlefield) -1/-1 ueot],newability[choice name(Create treasure) token(Treasure Sur)])) oneshot
text=When Shambling Ghast dies, Choose one -- Brave the Stench - Target creature an opponent controls gets -1/-1 until end of turn. -- Search the Body - Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={B}
type=Creature
subtype=Zombie
power=1
toughness=1
[/card]
[card]
name=Shambling Suit
anyzone=type:*[artifact;enchantment]:myBattlefield/3 cdaactive
text=Shambling Suit's power is equal to the number of artifacts and/or enchantments you control.
mana={3}
type=Artifact Creature
subtype=Construct
power=*
toughness=3
[/card]
[card]
name=Shambling Swarm
auto=_DIES_choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot
auto=_DIES_choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot
auto=_DIES_choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot
text=When Shambling Swarm dies, distribute three -1/-1 counters among one, two, or three target creatures. For each -1/-1 counter you put on a creature this way, remove a -1/-1 counter from that creature at the beginning of the next end step.
mana={1}{B}{B}{B}
type=Creature
subtype=Horror
power=3
toughness=3
[/card]
[card]
name=Shanna, Sisay's Legacy
auto=cantbetargetof(artifact,creatures,enchantment[-auras],land,planeswalker|opponentbattlefield,opponentgraveyard)
auto=foreach(creature|myBattlefield) 1/1
text=Shanna, Sisay's Legacy can't be the target of abilities your opponents control. -- Shanna gets +1/+1 for each creature you control.
mana={G}{W}
type=Legendary Creature
subtype=Human Warrior
power=0
toughness=0
[/card]
[card]
name=Shaper Apprentice
auto=aslongas(other merfolk|mybattlefield) flying
text=Shaper Apprentice has flying as long as you control another Merfolk.
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=1
[/card]
[card]
name=Shapers of Nature
auto={3}{G}:counter(1/1,1) target(creature)
auto={2}{U}{counter(1/1,-1) target(creature|mybattlefield)}:draw:1 controller
text={3}{G}: Put a +1/+1 counter on target creature. -- {2}{U}, Remove a +1/+1 counter from a creature you control: Draw a card.
mana={1}{G}{U}
type=Creature
subtype=Merfolk Shaman
power=3
toughness=3
[/card]
[card]
name=Shapers' Sanctuary
auto=@targeted(this) from(*|opponentbattlefield,opponenthand,opponentstack,opponentgraveyard,opponentexile,opponentlibrary):draw:1 controller
text=Whenever a creature you control becomes the target of a spell or ability an opponent controls, you may draw a card.
mana={G}
type=Enchantment
[/card]
[card]
name=Shard
aicode=activate transforms((,newability[draw:1 controller])) oneshot
auto={2}{S}:scry:1 scrycore delayed draw:1 controller scrycoreend scryend
text={2}, Sacrifice this enchantment: Scry 1, then draw a card.
type=Enchantment
[/card]
[card]
name=Shard Convergence
auto=ability$!name(Plains) moveto(myhand) notatarget(*[plains]|mylibrary)!$ controller
auto=ability$!name(Island) moveto(myhand) notatarget(*[island]|mylibrary)!$ controller
auto=ability$!name(Swamp) moveto(myhand) notatarget(*[swamp]|mylibrary)!$ controller
auto=ability$!name(Mountain) moveto(myhand) notatarget(*[mountain]|mylibrary)!$ controller
text=Search your library for a Plains card, an Island card, a Swamp card, and a Mountain card. Reveal those cards and put them into your hand. Then shuffle your library.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Share the Spoils
auto=all(*[zpos=1]|library) moveto(ownerexile) and!( counter(0/0.1.SpoilsExiled) )!
auto=this(variable{controllerturn}>0) lord(*[-land;counter{0/0.1.SpoilsExiled}]|myexile) transforms((,newability[anytypeofmana],newability[canplayfromexile],newability[@movedTo(this|mystack) from(myexile):all(*[zpos=1]|mylibrary) moveto(exile) and!( counter(0/0.1.SpoilsExiled) )!]))
auto=this(variable{controllerturn}>0) lord(land[counter{0/0.1.SpoilsExiled}]|myexile) transforms((,newability[anytypeofmana],newability[canplayfromexile],newability[@movedTo(this|mybattlefield) from(myexile):all(*[zpos=1]|mylibrary) moveto(exile) and!( counter(0/0.1.SpoilsExiled) )!]))
auto=this(variable{controllerturn}>0) {0}:name(Play card from opponent exile) target(*[counter{0/0.1.SpoilsExiled}]|opponentexile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.SpoilsExiled)],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.SpoilsExiled)])) ueot )! myTurnOnly
auto=this(variable{opponentturn}>0) lord(*[-land;counter{0/0.1.SpoilsExiled}]|opponentexile) transforms((,newability[anytypeofmana],newability[canplayfromexile],newability[@movedTo(this|mystack) from(myexile):all(*[zpos=1]|mylibrary) moveto(exile) and!( counter(0/0.1.SpoilsExiled) )!]))
auto=this(variable{opponentturn}>0) lord(land[counter{0/0.1.SpoilsExiled}]|opponentexile) transforms((,newability[anytypeofmana],newability[canplayfromexile],newability[@movedTo(this|mybattlefield) from(myexile):all(*[zpos=1]|mylibrary) moveto(exile) and!( counter(0/0.1.SpoilsExiled) )!]))
auto=this(variable{opponentturn}>0) lord(*|opponentbattlefield) transforms((,newability[{0}:name(Play card from opponent exile) target(*[counter{0/0.1.SpoilsExiled}]|opponentexile) moveto(myexile) and!( transforms((,newability[counter(0/0.1.SpoilsExiled)],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.SpoilsExiled)])) ueot )!]))
text=When Share the Spoils enters the battlefield or an opponent loses the game, exile the top card of each player's library. -- During each player's turn, that player may play a land or cast a spell from among cards exiled with Share the Spoils, and they may spend mana as though it were mana of any color to cast that spell. When they do, exile the top card of their library.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Shared Animosity
auto=@combat(attacking) source(creature|myBattlefield): thisforeach(other creature[share! subtype!]|myBattlefield) 1/0 ueot
text=Whenever a creature you control attacks, it gets +1/+0 until end of turn for each other attacking creature that shares a creature type with it.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Shared Summons
auto=if type(creature|mylibrary)~morethan~1 then choice name(Search 2 creatures) name(Search 2 creatures) target(creature|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( transforms((,newability[name(Search second creature) target(creature[notshare!name!]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( ability$!name(Put in hand from library) name(Put in hand from library) target(<2>creature[fresh]|opponentlibrary) moveto(opponenthand) and!( shuffle opponent )! !$ opponent )! )!])) oneshot )! )!
auto=if type(creature|mylibrary)~morethan~0 then choice name(Search 1 creature) name(Search 1 creature) target(creature|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( transforms((,newability[ability$!name(Put in hand from library) name(Put in hand from library) target(creature[fresh]|opponentlibrary) moveto(opponenthand) and!( shuffle opponent )! !$ opponent])) oneshot )! )!
auto=if type(creature|mylibrary)~morethan~0 then choice name(Don't search) name(Don't search) donothing
text=Search your library for up to two creature cards with different names, reveal them, put them into your hand, then shuffle your library.
mana={3}{G}{G}
type=Instant
[/card]
[card]
name=Shark Typhoon
abilities=cycling
auto=@movedto(*[-creature]|mystack):all(trigger[to]) transforms((,newability[create(Shark:Creature Shark:manacost/manacost:blue:flying)])) oneshot
autohand=__CYCLING__({X}{1}{U})
autohand=@cycled(this|hand):create(Shark:Creature Shark:X/X:blue:flying)
text=Whenever you cast a noncreature spell, create an X/X blue Shark creature token with flying, where X is that spell's converted mana cost. -- Cycling {X}{1}{U} ({X}{1}{U}, Discard this card: Draw a card.) -- When you cycle Shark Typhoon, create an X/X blue Shark creature token with flying.
mana={5}{U}
type=Enchantment
[/card]
[card]
name=Sharktocrab
auto={2}{G}{U}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.1)])) forever
auto=@counteradded(1/1) from(this):transforms((,newability[freeze target(creature|opponentbattlefield)])) forever
text={2}{G}{U}: Adapt 1. (If this creature has no +1/+1 counters on it, put a +1/+1 counter on it.) -- Whenever one or more +1/+1 counters are put on Sharktocrab, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
mana={2}{G}{U}
type=Creature
subtype=Fish Octopus Crab
power=4
toughness=4
[/card]
[card]
name=Shatter Assumptions
aicode=activate choice reject all(*[-land][-white][-blue][-green][-black][-red]|targetedpersonshand)
aicode=activate choice reject all(*[multicolor]|targetedpersonshand)
auto=choice reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(*|reveal) transforms((,newability[moveto(ownerhand) and!( reject )! all(*[-land][-white][-blue][-green][-black][-red]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
auto=choice reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(*|reveal) transforms((,newability[moveto(ownerhand) and!( reject )! all(*[multicolor]|reveal)])) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
text=Choose one -- Target opponent reveals their hand and discards all colorless nonland cards. -- Target opponent reveals their hand and discards all multicolored cards.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Shatter the Sky
auto=aslongas(creature[power>=4]|opponentBattlefield) draw:1 opponent && aslongas(creature[power>=4]|mybattlefield) draw:1 controller
auto=destroy all(creature)
text=Each player who controls a creature with power 4 or greater draws a card. Then destroy all creatures.
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Shattered Ego
target=creature
auto=-3/0
auto=counter(0/0,1,Shattered)
auto={3}{U}{U}:target(creature[enchanted;counter{0/0.1.Shattered}]) placefromthetop(3)
text=Enchant creature -- Enchanted creature gets -3/-0. -- {3}{U}{U}: Put enchanted creature into its owner's library third from the top.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Shattering Spree
abilities=hasnokicker,hasreplicate
target=artifact
kicker=multi{R} name(Replicate)
auto=name(Destroy artifact) destroy
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Shattering Spree) name(Copy Shattering Spree) activate castcard(copied noevent named!:Shattering Spree:!)!$ controller
text=Replicate {R} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Destroy target artifact.
mana={R}
type=Instant
[/card]
[card]
name=Shatterskull Charger
abilities=trample,haste
kicker={2}
auto=if paid(kicker) then counter(1/1,1)
auto=@each endofturn:this(counter{1/1}<1) moveTo(ownerHand) all(this)
text=Kicker {2} -- Trample, haste -- If kicked, Shatterskull Charger enters the battlefield with a +1/+1 counter. -- At the beginning of the end phase, if it has no +1/+1 counter on it, return to hand.
mana={1}{R}{R}
type=Creature
subtype=Giant Warrior
power=4
toughness=3
[/card]
[card]
name=Shatterskull Minotaur
abilities=haste
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
text=This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- Haste 
mana={4}{R}{R}
type=Creature
subtype=Minotaur Warrior
power=5
toughness=4
[/card]
[card]
name=Shatterskull Smashing
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Shatterskull, the Hammer Pass)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Shatterskull, the Hammer Pass) name(Shatterskull, the Hammer Pass) flip(Shatterskull, the Hammer Pass) forcetype(land)
auto=this(X>5) thisforeach(X) ability$!name(Choose target) choice name(Damage to a creature) damage:2 target(creature) _ choice name(Damage to a planeswalker) damage:2 target(planeswalker)!$ controller
auto=this(X<6) thisforeach(X) ability$!name(Choose target) choice name(Damage to a creature) damage:1 target(creature) _ choice name(Damage to a planeswalker) damage:1 target(planeswalker)!$ controller
text=Shatterskull Smashing deals X damage divided as you choose among up to two target creatures and/or planeswalkers. If X is 6 or more, Shatterskull Smashing deals twice X damage divided as you choose among them instead. // Shatterskull, the Hammer Pass
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Shatterskull, the Hammer Pass
auto=ability$!name(Choose one) choice name(Pay 3 life) life:-3 _ choice name(Tap) tap(noevent) all(mysource)!$ controller
auto={T}:add{R}
text=As Shatterskull, the Hammer Pass enters the battlefield, you may pay 3 life. If you don't, it enters the battlefield tapped. -- {T}: Add {R}. // {X}{R}{R} Shatterskull Smashing
type=Land
[/card]
[card]
name=Shed Weakness
target=creature
auto=2/2
auto=may counter(-1/-1,-1)
text=Target creature gets +2/+2 until end of turn. You may remove a -1/-1 counter from it.
mana={G}
type=Instant
[/card]
[card]
name=Shefet Dunes
auto={2}{W}{W}{T}{S(desert|mybattlefield)}:all(creature|mybattlefield) 1/1 asSorcery
auto={T}:Add{1}
auto={T}{L:1}:Add{W}
text={T}: Add {1} to your mana pool. -- {T}, Pay 1 life: Add {W} to your mana pool. -- {2}{W}{W}, {T}, Sacrifice a Desert: Creatures you control get +1/+1 until end of turn. Activate this ability only any time you could cast a sorcery.
type=Land
subtype=Desert
[/card]
[card]
name=Shefet Monitor
abilities=cycling
autohand=@movedto(mygraveyard) from(myhand):may moveto(mybattlefield) target(desert|mylibrary)
autohand=__CYCLING__({3}{G})
text=Cycling {3}{G} ({3}{G}, Discard this card: Draw a card.) -- When you cycle Shefet Monitor, you may search your library for a basic land card or a Desert card, put it onto the battlefield, then shuffle your library. (Do this before you draw.)
mana={5}{G}
type=Creature
subtype=Lizard
power=6
toughness=5
[/card]
[card]
name=Shell Shield
target=creature|myBattlefield
kicker={1}
auto=if paid(kicker) then hexproof ueot
auto=0/3 ueot
text=Kicker {1} (You may pay an additional {1} as you cast this spell.) -- Target creature you control gets +0/+3 until end of turn. If this spell was kicked, that creature also gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.)
mana={U}
type=Instant
[/card]
[card]
name=Sheltered Thicket
abilities=cycling
auto=tap
autohand=__CYCLING__({2})
text=({T}: Add {R} or {G} to your mana pool.) -- Sheltered Thicket enters the battlefield tapped. -- Cycling {2} ({2}, Discard this card: Draw a card.)
type=Land
subtype=Mountain Forest
[/card]
[card]
name=Sheltering Light
target=creature
auto=indestructible
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_SCRY_(1)
text=Target creature gains indestructible until end of turn. Scry 1. (Damage and effects that say "destroy" don't destroy the creature.)
mana={W}
type=Instant
[/card]
[card]
name=Shenanigans
target=artifact
auto=destroy
dredge=dredge(1)
text=Destroy target artifact. -- Dredge 1 (If you would draw a card, instead you may put exactly one card from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card.)
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Shepherd of Heroes
abilities=flying
auto=life:twicecalculateparty controller
text=Flying -- When Shepherd of Heroes enters the battlefield, you gain 2 life for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={4}{W}
type=Creature
subtype=Angel Cleric
power=3
toughness=4
[/card]
[card]
name=Shepherd of the Cosmos
abilities=foretell,flying
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={3}{W} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=name(Return permanent from graveyard) target(*[-instant;-sorcery;manacost<=2]|mygraveyard) moveTo(myBattlefield)
text=Flying -- When Shepherd of the Cosmos enters the battlefield, return target permanent card with converted mana cost 2 or less from your graveyard to the battlefield. -- Foretell {3}{W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={4}{W}{W}
type=Creature
subtype=Angel Warrior
power=3
toughness=3
[/card]
[card]
name=Shepherd of the Flock // Usher to Safety
abilities=adventure,asflash
restriction=can play creature
other={W} name(Adventure)
auto=if paid(alternative) then name(Return permanent to hand) name(Return permanent to hand) target(*|myBattlefield) moveTo(ownerhand)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Return target permanent you control to its owner's hand. (Then exile this card. You may cast the creature later from exile.)
mana={1}{W}
type=Creature
subtype=Human Peasant
power=3
toughness=1
[/card]
[card]
name=Shessra, Death's Whisper
auto=name(Creature must block) target(creature) transforms((,newability[mustblock])) ueot
auto=@each my endofturn restriction{morbid}:name(Pay 2 and draw) pay({2}) name(Pay 2 and draw) draw:1 controller
text=Bewitching Whispers - When Shessra, Death's Whisper enters the battlefield, target creature blocks this turn if able. -- Whispers of the Grave - At the beginning of your end step, if a creature died this turn, you may pay 2 life. If you do, draw a card.
mana={2}{B}{G}
type=Legendary Creature
subtype=Human Elf Warlock
power=1
toughness=3
[/card]
[card]
name=Shield Mare
auto=cantbeblockedby(creature[red creatures])
auto=targeted(this|mybattlefield) from(*|opponentbattlefield,opponenthand,opponentstack,opponentgraveyard,opponentexile,opponentlibrary):life:3
text=Shield Mare can't be blocked by red creatures. -- When Shield Mare enters the battlefield or becomes the target of a spell or ability an opponent controls, you gain 3 life.
mana={1}{W}{W}
type=Creature
subtype=Horse
power=2
toughness=3
[/card]
[card]
name=Shield of the Avatar
auto={2}:equip
auto=teach(creature) transforms((,newability[@targeted(this):prevent:type:creature:myBattlefield all(this)]))
text=If a source would deal damage to equipped creature, prevent X of that damage, where X is the number of creatures you control. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Shield of the Realm
auto={1}:equip
auto=teach(creature) transforms((,newability[@targeted(this):prevent:2 all(this)]))
text=If a source would deal damage to equipped creature, prevent 2 of that damage. -- Equip {1}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Shifting Ceratops
abilities=protection from blue
auto=nofizzle
auto={G}:flying
auto={G}:trample
auto={G}:haste
text=This spell can't be countered. -- Protection from blue (This creature can't be blocked, targeted, dealt damage, enchanted, or equipped by anything blue.) -- {G}: Shifting Ceratops gains your choice of reach, trample, or haste until end of turn.
mana={2}{G}{G}
type=Creature
subtype=Dinosaur
power=5
toughness=4
[/card]
[card]
name=Shifting Shadow
target=creature
auto=haste
auto=@each my upkeep:destroy(mytgt) && Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal)  moveto(mybattlefield) optiononeend optiontwo choice name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend && rehook
text=Enchant creature -- Enchanted creature has haste and "At the beginning of your upkeep, destroy this creature. Reveal cards from the top of your library until you reveal a creature card. Put that card onto the battlefield and attach Shifting Shadow to it, then put all other cards revealed this way on the bottom of your library in a random order."
mana={2}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Shifty Doppelganger
auto={3}{U}{E}:target(creature|myhand) moveto(mybattlefield) and!( transforms((,newability[treason],newability[haste],newability[moveto(mybattlefield) target(Shifty Doppelganger[fresh]|myexile)])) ueot )!
text={3}{U}, Exile Shifty Doppelganger: You may put a creature card from your hand onto the battlefield. If you do, that creature gains haste until end of turn. At the beginning of the next end step, sacrifice that creature. If you do, return Shifty Doppelganger to the battlefield.
mana={2}{U}
type=Creature
subtype=Shapeshifter
power=1
toughness=1
[/card]
[card]
name=Shimian Night Stalker
auto={B}{T} restriction{type(creature[attacking;power=1])~morethan~0}:name(Choose creature with power 1) target(creature[attacking;power=1]) transforms((,newability[fog from(this)])) ueot && damage:1 all(this)
auto={B}{T} restriction{type(creature[attacking;power=2])~morethan~0}:name(Choose creature with power 2) target(creature[attacking;power=2]) transforms((,newability[fog from(this)])) ueot && damage:2 all(this)
auto={B}{T} restriction{type(creature[attacking;power=3])~morethan~0}:name(Choose creature with power 3) target(creature[attacking;power=3]) transforms((,newability[fog from(this)])) ueot && damage:3 all(this)
auto={B}{T} restriction{type(creature[attacking;power=4])~morethan~0}:name(Choose creature with power 4) target(creature[attacking;power=4]) transforms((,newability[fog from(this)])) ueot && damage:4 all(this)
auto={B}{T} restriction{type(creature[attacking;power=5])~morethan~0}:name(Choose creature with power 5) target(creature[attacking;power=5]) transforms((,newability[fog from(this)])) ueot && damage:5 all(this)
auto={B}{T} restriction{type(creature[attacking;power=6])~morethan~0}:name(Choose creature with power 6) target(creature[attacking;power=6]) transforms((,newability[fog from(this)])) ueot && damage:6 all(this)
auto={B}{T} restriction{type(creature[attacking;power=7])~morethan~0}:name(Choose creature with power 7) target(creature[attacking;power=7]) transforms((,newability[fog from(this)])) ueot && damage:7 all(this)
auto={B}{T} restriction{type(creature[attacking;power=8])~morethan~0}:name(Choose creature with power 8) target(creature[attacking;power=8]) transforms((,newability[fog from(this)])) ueot && damage:8 all(this)
auto={B}{T} restriction{type(creature[attacking;power=9])~morethan~0}:name(Choose creature with power 9) target(creature[attacking;power=9]) transforms((,newability[fog from(this)])) ueot && damage:9 all(this)
auto={B}{T} restriction{type(creature[attacking;power=10])~morethan~0}:name(Choose creature with power 10) target(creature[attacking;power=10]) transforms((,newability[fog from(this)])) ueot && damage:10 all(this)
auto={B}{T} restriction{type(creature[attacking;power=11])~morethan~0}:name(Choose creature with power 11) target(creature[attacking;power=11]) transforms((,newability[fog from(this)])) ueot && damage:11 all(this)
auto={B}{T} restriction{type(creature[attacking;power=12])~morethan~0}:name(Choose creature with power 12) target(creature[attacking;power=12]) transforms((,newability[fog from(this)])) ueot && damage:12 all(this)
auto={B}{T} restriction{type(creature[attacking;power=13])~morethan~0}:name(Choose creature with power 13) target(creature[attacking;power=13]) transforms((,newability[fog from(this)])) ueot && damage:13 all(this)
auto={B}{T} restriction{type(creature[attacking;power=14])~morethan~0}:name(Choose creature with power 14) target(creature[attacking;power=14]) transforms((,newability[fog from(this)])) ueot && damage:14 all(this)
auto={B}{T} restriction{type(creature[attacking;power=15])~morethan~0}:name(Choose creature with power 15) target(creature[attacking;power=15]) transforms((,newability[fog from(this)])) ueot && damage:15 all(this)
auto={B}{T} restriction{type(creature[attacking;power=16])~morethan~0}:name(Choose creature with power 16) target(creature[attacking;power=16]) transforms((,newability[fog from(this)])) ueot && damage:16 all(this)
auto={B}{T} restriction{type(creature[attacking;power=17])~morethan~0}:name(Choose creature with power 17) target(creature[attacking;power=17]) transforms((,newability[fog from(this)])) ueot && damage:17 all(this)
auto={B}{T} restriction{type(creature[attacking;power=18])~morethan~0}:name(Choose creature with power 18) target(creature[attacking;power=18]) transforms((,newability[fog from(this)])) ueot && damage:18 all(this)
auto={B}{T} restriction{type(creature[attacking;power=19])~morethan~0}:name(Choose creature with power 19) target(creature[attacking;power=19]) transforms((,newability[fog from(this)])) ueot && damage:19 all(this)
auto={B}{T} restriction{type(creature[attacking;power=20])~morethan~0}:name(Choose creature with power 20) target(creature[attacking;power=20]) transforms((,newability[fog from(this)])) ueot && damage:20 all(this)
text={B}, {T}: All damage that would be dealt to you this turn by target attacking creature is dealt to Shimian Night Stalker instead.
mana={3}{B}{B}
type=Creature
subtype=Nightstalker
power=4
toughness=4
[/card]
[card]
name=Shimmer Dragon
abilities=flying
auto=aslongas(artifact|myBattlefield) opponentshroud >3
auto={T(artifact|myBattlefield)}{T(artifact|myBattlefield)}:draw:1
text=Flying -- As long as you control four or more artifacts, Shimmer Dragon has hexproof. -- Tap two untapped artifacts you control: Draw a card.
mana={4}{U}{U}
type=Creature
subtype=Dragon
power=5
toughness=6
[/card]
[card]
name=Shimmer of Possibility
aicode=activate moveto(myhand) all(*[zpos<=1]|mylibrary)
auto=name(Look 4 cards) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put bottom of library) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Shimmerdrift Vale
auto=tap(noevent)
auto=chooseacolor transforms((,newability[{T}:add{chosencolor}])) forever chooseend
text=Shimmerdrift Vale enters the battlefield tapped. -- As Shimmerdrift Vale enters the battlefield, choose a color. -- {T}: Add one mana of the chosen color.
type=Snow Land
[/card]
[card]
name=Shimmerscale Drake
abilities=flying,cycling
autohand=__CYCLING__({2})
text=Flying -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={4}{U}
type=Creature
subtype=Drake
power=3
toughness=4
[/card]
[card]
name=Shimmerwing Chimera
abilities=flying
auto=@each my upkeep:moveTo(ownerhand) notatarget(other enchantment|myBattlefield)
text=Flying -- At the beginning of your upkeep, return up to one other target enchantment you control to its owner's hand.
mana={3}{U}
type=Enchantment Creature
subtype=Chimera
power=3
toughness=2
[/card]
[card]
name=Shinechaser
abilities=flying,vigilance
auto=aslongas(artifact|myBattlefield) 1/1
auto=aslongas(enchantment|myBattlefield) 1/1
text=Flying, vigilance -- Shinechaser gets +1/+1 as long as you control an artifact. -- Shinechaser gets +1/+1 as long as you control an enchantment.
mana={1}{W}{U}
type=Creature
subtype=Faerie
power=1
toughness=1
[/card]
[card]
name=Shineshadow Snarl
auto=if type(*[plains;swamp]|myhand)~equalto~0 then tap(noevent)
auto={T}:add{B}
auto={T}:add{W}
text=As Shineshadow Snarl enters the battlefield, you may reveal a Plains or Swamp card from your hand. If you don't, Shineshadow Snarl enters the battlefield tapped. -- {T}: Add {W} or {B}.
type=Land
[/card]
[card]
name=Shining Aerosaur
abilities=flying
text=Flying
mana={4}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=4
[/card]
[card]
name=Shining Armor
abilities=flash
auto=aslongas(parents) name(Attach to knight) rehook target(creature[knight]|myBattlefield) <1
auto={3}:equip
auto=teach(creature) 0/2
auto=teach(creature) vigilance
text=Flash -- When Shining Armor enters the battlefield, attach it to target Knight you control. -- Equipped creature gets +0/+2 and has vigilance. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{W}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Shiny Impetus
target=creature
auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_token(Treasure Sur)]))
auto=2/2
text=Enchant creature -- Enchanted creature gets +1/+1 and is goaded. (It attacks each combat if able and attacks a player other than you if able.) -- Whenever enchanted creature attacks, each other creature that's attacking one of your opponents gets +1/+1 until end of turn.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Shipbreaker Kraken
auto=this(cantargetcard(*[-monstrous]) {6}{U}{U}:becomes(monstrous) forever && counter(1/1,4) && transforms((,newability[aslongas(Shipbreaker Kraken|myBattlefield) tap target(upto<4>[creature]|battlefield)frozen])) forever
text={6}{U}{U}: Monstrosity 4. (If this creature isn't monstrous, put four +1/+1 counters on it and it becomes monstrous.) -- When Shipbreaker Kraken becomes monstrous, tap up to four target creatures. Those creatures don't untap during their controllers' untap steps for as long as you control Shipbreaker Kraken.
mana={4}{U}{U}
type=Creature
subtype=Kraken
power=6
toughness=6
[/card]
[card]
name=Shipwreck Dowser
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=moveTo(myHand) target(*[instant;sorcery]|myGraveyard)
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- When Shipwreck Dowser enters the battlefield, return target instant or sorcery card from your graveyard to your hand.
mana={3}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=3
toughness=3
[/card]
[card]
name=Shipwreck Looter
auto=if raid then may draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Raid - When Shipwreck Looter enters the battlefield, if you attacked with a creature this turn, you may draw a card. If you do, discard a card.
mana={1}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=1
[/card]
[card]
name=Shipwreck Marsh
auto=if type(other land|mybattlefield)~lessthan~2 then tap(noevent)
auto={T}:add{B}
auto={T}:add{U}
text=Shipwreck Marsh enters the battlefield tapped unless you control two or more other lands. -- {T}: Add {U} or {B}.
type=Land
[/card]
[card]
name=Shipwreck Sifters
auto=draw:1 controller && transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot
auto=@discarded(*[spirit]|myhand):name(Put 1/1 counter) counter(1/1)
auto=@discarded(*[-spirit;hasdisturb]|myhand):name(Put 1/1 counter) counter(1/1)
text=When Shipwreck Sifters enters the battlefield, draw a card, then discard a card. -- Whenever you discard a Spirit card or a card with disturb, put a +1/+1 counter on Shipwreck Sifters.
mana={1}{U}
type=Creature
subtype=Spirit
power=1
toughness=2
[/card]
[card]
name=Shirei, Shizo's Caretaker
auto=@movedTo(creature[power<=1]|mygraveyard) from(battlefield):phaseaction[endofturn once] aslongas(Shirei, Shizo's Caretaker|mybattlefield) may moveto(mybattlefield) target(creature[power<=1]|mygraveyard)
text=Whenever a creature with power 1 or less is put into your graveyard from the battlefield, you may return that card to the battlefield under your control at the beginning of the next end step if Shirei, Shizo's Caretaker is still on the battlefield.
mana={4}{B}
type=Legendary Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Shivan Fire
kicker={4}
auto=Kicker damage:2
target=creature
auto=damage:2
auto=Shivan Fire deals 2 damage to target creature If this spell was kicked it deals 4 damage to that creature instead
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- Shivan Fire deals 2 damage to target creature. If this spell was kicked, it deals 4 damage to that creature instead.
mana={R}
type=Instant
[/card]
[card]
name=Shivan Sand-Mage
suspend(4)={R}
auto=choice name(Remove 2 time counters) target(*[counter{0/0.1.Time}]|battlefield,exile) counter(0/0,-2,Time)
auto=choice name(Add 2 time counters) target(*[counter{0/0.1.Time}]|battlefield,exile) counter(0/0,2,Time)
text=When Shivan Sand-Mage enters the battlefield, Choose one  Remove two time counters from target permanent or suspended card; or put two time counters on target permanent with a time counter on it or suspended card. -- Suspend 4-{R} (Rather than cast this card from your hand, you may pay {R} and exile it with four time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.)
mana={2}{R}{R}
type=Creature
subtype=Viashino Shaman
power=3
toughness=2
[/card]
[card]
name=Shivan Wumpus
abilities=trample
auto=ability$!name(Choose one) choice name(Sacrifice land) notatarget(land|mybattlefield) sacrifice && move(onwerlibrary) all(Shivan Wumpus[fresh]|opponentbattlefield) _ choice name(Don't sacrifice land) donothing!$ opponent
auto=ability$!name(Choose one) choice name(Sacrifice land) notatarget(land|mybattlefield) sacrifice && move(mylibrary) all(Shivan Wumpus[fresh]|mybattlefield) _ choice name(Don't sacrifice land) donothing!$ controller
text=Trample -- When Shivan Wumpus enters the battlefield, any player may sacrifice a land. If a player does, put Shivan Wumpus on top of its owner's library.
mana={3}{R}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Shoal Kraken
auto=_CONSTELLATION_may draw:1 controller && reject target(*|myhand) controller
text=Constellation -- Whenever an enchantment enters the battlefield under your control, you may draw a card. If you do, discard a card.
mana={4}{U}
type=Creature
subtype=Kraken
power=3
toughness=5
[/card]
[card]
name=Shocking Grasp
target=creature
auto=-2/0 ueot
auto=draw:1 controller
text=Target creature gets -2/-0 until end of turn. -- Draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Shore Keeper
auto={7}{U}{T}{S}:draw:3 controller
text={7}{U}, {T}, Sacrifice Shore Keeper: Draw three cards.
mana={U}
type=Creature
subtype=Trilobite
power=0
toughness=3
[/card]
[card]
name=Shorecomber Crab
mana={U}
type=Creature
subtype=Crab
power=0
toughness=4
[/card]
[card]
name=Shoreline Scout
auto=may name(Exile merfolk or land) target(*[merfolk;land]|myHand) moveto(exile) and!( conjure cards(Tropical Island) zone(myhand) )!
auto=if thisturn(*[land]|mybattlefield)~morethan~0 then 1/0 ueot
auto=if thisturn(*[land]|mybattlefield)~equalto~0 then if thisturn(*[merfolk]|mybattlefield)~morethan~1 then 1/0 ueot
auto=@movedto(*[merfolk;land]|mybattlefield) turnlimited:1/0 ueot
text=When Shoreline Scout enters the battlefield, you may exile a Merfolk card or a land card from your hand. If you do, conjure a Tropical Island card into your hand. -- As long as another Merfolk or an Island entered the battlefield under your control this turn, Shoreline Scout gets +1/+0.
mana={U}
type=Creature
subtype=Merfolk Scout
power=1
toughness=1
[/card]
[card]
name=Short Sword
auto=teach(creature) 1/1
auto={1}:equip
text=Equipped creature gets +1/+1. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Shortcut Seeker
auto=@combatdamaged(player) from(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Whenever Shortcut Seeker deals combat damage to a player, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={3}{U}
type=Creature
subtype=Human Rogue
power=2
toughness=5
[/card]
[card]
name=Show of Confidence
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~1 then thisforeach(variable{1}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~2 then thisforeach(variable{2}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~3 then thisforeach(variable{3}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~4 then thisforeach(variable{4}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~5 then thisforeach(variable{5}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~6 then thisforeach(variable{6}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~7 then thisforeach(variable{7}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~8 then thisforeach(variable{8}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~9 then thisforeach(variable{9}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~10 then thisforeach(variable{10}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~11 then thisforeach(variable{11}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~12 then thisforeach(variable{12}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~13 then thisforeach(variable{13}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~14 then thisforeach(variable{14}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~15 then thisforeach(variable{15}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~16 then thisforeach(variable{16}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~17 then thisforeach(variable{17}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~18 then thisforeach(variable{18}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~equalto~19 then thisforeach(variable{19}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
auto=if thisturn(*[instant;sorcery]|mystack)~morethan~19 then thisforeach(variable{20}) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) transforms((,newability[counter(1/1)],newability[vigilance])) ueot!$ controller
text=When you cast this spell, copy it for each other instant and sorcery spell you've cast this turn. You may choose new targets for the copies. -- Put a +1/+1 counter on target creature. It gains vigilance until end of turn.
mana={1}{W}
type=Instant
[/card]
[card]
name=Showdown of the Skalds
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=name(Exile top 4 cars) all(*[zpos<=4]|mylibrary) moveto(myexile) and!( transforms((,newability[counter(0/0.1.ShowdownEffect)],newability[this(variable{hascntshowdowneffect}>0) canplayfromexile],newability[phaseaction[opponent upkeep once checkex] counter(0/0.1.ShowdownEffect)],newability[phaseaction[my upkeep once checkex] counter(0/0.1.ShowdownEffect)],newability[phaseaction[endofturn checkex] counter(0/0.-1.ShowdownEffect)])) forever )!])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) emblem transforms((,newability[@movedTo(*|mystack):name(Put 1/1 counter) counter(1/1) target(creature|mybattlefield)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) emblem transforms((,newability[@movedTo(*|mystack):name(Put 1/1 counter) counter(1/1) target(creature|mybattlefield)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Exile the top four cards of your library. Until the end of your next turn, you may play those cards. -- II, III - Whenever you cast a spell this turn, put a +1/+1 counter on target creature you control.
mana={2}{R}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Shredded Sails
abilities=cycling
auto=choice name(Destroy artifact):destroy target(artifact)
auto=choice name(Damage flying creature):damage:4 target(creature[flying])
autohand=__CYCLING__({2})
text=Choose one -- Destroy target artifact. -- Shredded Sails deals 4 damage to target creature with flying. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{R}
type=Instant
[/card]
[card]
name=Shrewd Negotiation
target=*[artifact;creature]|opponentbattlefield
auto=moveto(mybattlefield)
auto=moveto(opponentbattlefield) target(*[artifact]|mybattlefield)
text=Exchange control of target artifact you control and target artifact or creature you don't control.
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Shriekdiver
abilities=flying
auto={1}:haste ueot
text=Flying -- {1}: Shriekdiver gains haste until end of turn.
mana={2}{B}
type=Creature
subtype=Zombie Bird Warrior
power=2
toughness=1
[/card]
[card]
name=Shrike Harpy
abilities=flying
auto=all(this) flipacoin winability counter(0/0,1,TributeUnpaid) winabilityend loseability counter(1/1,2) loseabilityend flipend
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:all(this) counter(0/0,-1,TributeUnpaid)
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:ability$!name(Sacrifice a creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
text=Flying -- Tribute 2 (As this creature enters the battlefield, an opponent of your choice may place two +1/+1 counters on it.) -- When Shrike Harpy enters the battlefield, if tribute wasn't paid, target opponent sacrifices a creature.
mana={3}{B}{B}
type=Creature
subtype=Harpy
power=2
toughness=2
[/card]
[card]
name=Shrine Keeper
mana={1}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Shrine of the Forsaken Gods
auto={T}:add{C}
auto=this(variable{type:*[-red;-black;-blue;-green;-white]:myrestrictedcastingzone}>0) {T}:if type(land|mybattlefield)~morethan~6 then add{C}{C}
text={T}: Add {C} to your mana pool. -- {T}: Add {C}{C} to your mana pool. Spend this mana only to cast colorless spells. Activate this ability only if you control seven or more lands.
type=Land
[/card]
[card]
name=Shriveling Rot
auto=choice name(Destroy on damage) transforms((,newability[@damaged(creature):all(trigger[to]) destroy])) ueot
auto=choice name(Loose life on death) transforms((,newability[@movedTo(graveyard) from(creature|battlefield):all(trigger[to]) dynamicability<!mytgt toughnesslifeloss targetcontroller!>])) ueot
auto=choice name(Choose both) transforms((,newability[@damaged(creature):all(trigger[to]) destroy],newability[@movedTo(graveyard) from(creature|battlefield):all(trigger[to]) dynamicability<!mytgt toughnesslifeloss targetcontroller!>])) ueot
text=Choose one  Until end of turn, whenever a creature is dealt damage, destroy it; or until end of turn, whenever a creature dies, that creature's controller loses life equal to its toughness. -- Entwine {2}{B} (Choose both if you pay the entwine cost.)
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Shrouded Serpent
auto=_ATTACKING_ability$!name(pay 4 mana) pay[[{4}]] donothing?unblockable all(mysource) ueot!$ opponent
text=Whenever Shrouded Serpent attacks, defending player may pay {4}. If he or she doesn't, Shrouded Serpent is unblockable this turn.
mana={4}{U}{U}{U}
type=Creature
subtype=Serpent
power=4
toughness=4
[/card]
[card]
name=Shunt
target=*|stack
auto=fizzle
auto=activate castcard(copied noevent)
text=Change the target of target spell with a single target.
mana={1}{R}{R}
type=Instant
[/card]
[card]
name=Siani, Eye of the Storm
abilities=flying,partner
aicode=activate transforms((,newability[all(*[zpos<=type:creature[attacking;flying]:battlefield]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_ATTACKING_scry:type:creature[attacking;flying]:battlefield scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- Whenever Siani, Eye of the Storm attacks, scry X, where X is the number of attacking creatures with flying. -- Partner (You can have two commanders if both have partner.)
mana={3}{U}
type=Legendary Creature
subtype=Djinn Monk
power=3
toughness=2
[/card]
[card]
name=Sickening Dreams
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && damage:1 all(creature) && damage:1 all(player)
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && damage:2 all(creature) && damage:2 all(player)
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && damage:3 all(creature) && damage:3 all(player)
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && damage:4 all(creature) && damage:4 all(player)
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && damage:5 all(creature) && damage:5 all(player)
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && damage:6 all(creature) && damage:6 all(player)
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && damage:7 all(creature) && damage:7 all(player)
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && damage:8 all(creature) && damage:8 all(player)
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && damage:9 all(creature) && damage:9 all(player)
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && damage:10 all(creature) && damage:10 all(player)
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && damage:11 all(creature) && damage:11 all(player)
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && damage:12 all(creature) && damage:12 all(player)
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && damage:13 all(creature) && damage:13 all(player)
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && damage:14 all(creature) && damage:14 all(player)
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && damage:15 all(creature) && damage:15 all(player)
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && damage:16 all(creature) && damage:16 all(player)
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && damage:17 all(creature) && damage:17 all(player)
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && damage:18 all(creature) && damage:18 all(player)
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && damage:19 all(creature) && damage:19 all(player)
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && damage:20 all(creature) && damage:20 all(player)
text=As an additional cost to cast Sickening Dreams, discard X cards. -- Sickening Dreams deals X damage to each creature and each player.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Sickle Dancer
auto=@combat(attacking) source(this) aslongas(other warrior|myBattlefield):1/1 ueot
text=Whenever Sickle Dancer attacks, if your team controls another Warrior, Sickle Dancer gets +1/+1 until end of turn.
mana={2}{B}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Sidar Kondo of Jamuraa
abilities=flanking,partner
auto=lord(creature[-flying,-reach]|opponentBattlefield) cantbeblockerof(creature[power<=2])
text=Flanking (Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn.) -- Creatures your opponents control without flying or reach can't block creatures with power 2 or less. -- Partner (You can have two commanders if both have partner.)
mana={2}{G}{W}
type=Legendary Creature
subtype=Human Knight
power=2
toughness=5
[/card]
[card]
name=Sidewinder Naga
auto=aslongas(Desert|myBattlefield,myGraveyard) 1/0
auto=aslongas(Desert|myBattlefield,myGraveyard) trample
text=As long as you control a Desert or there is a Desert card in your graveyard, Sidewinder Naga gets +1/+0 and has trample.
mana={2}{G}
type=Creature
subtype=Naga Warrior
power=3
toughness=2
[/card]
[card]
name=Sidisi, Brood Tyrant
auto=deplete:3 controller
auto=_ATTACKING_deplete:3 controller
auto=@movedTo(creature|myGraveyard) from(mylibrary):token(Zombie,Creature Zombie,2/2,black)
text=Whenever Sidisi, Brood Tyrant enters the battlefield or attacks, put the top three cards of your library into your graveyard. -- Whenever one or more creature cards are put into your graveyard from your library, put a 2/2 black Zombie creature token onto the battlefield.
mana={1}{B}{G}{U}
type=Legendary Creature
subtype=Naga Shaman
power=3
toughness=3
[/card]
[card]
name=Siege Behemoth
abilities=opponentshroud
auto=_ATTACKING_all(creature|mybattlefield) transforms((,newability[_BLOCKED_may name(assign combat damage to defending player) thisforeach(power>=1) damage:1 opponent],newability[fog from(this)])) ueot
text=Hexproof -- As long as Siege Behemoth is attacking, for each creature you control, you may have that creature assign its combat damage as though it weren't blocked.
mana={5}{G}{G}
type=Creature
subtype=Beast
power=7
toughness=4
[/card]
[card]
name=Siege Striker
abilities=double strike
auto=_ATTACKING_foreach(creature[-tapped]|mybattlefield) may target(creature[-tapped]|mybattlefield) tap && all(this) 1/1 ueot
text=Double strike (This creature deals both first-strike and regular combat damage.) -- Whenever Siege Striker attacks, you may tap any number of untapped creatures you control. Siege Striker gets +1/+1 until end of turn for each creature tapped this way.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Siege Zombie
auto={T(creature[-tapped]|mybattlefield)}{T(creature[-tapped]|mybattlefield)}{T(creature[-tapped]|mybattlefield)}:name(Opponent lose 1 life) life:-1 opponent
text=Tap three untapped creatures you control: Each opponent loses 1 life.
mana={1}{B}
type=Creature
subtype=Zombie
power=2
toughness=2
[/card]
[card]
name=Siege of Towers
abilities=hasnokicker,hasreplicate
target=mountain
kicker=multi{1}{R} name(Replicate)
auto=name(Becomes creature) transforms((Creature,setpower=3,settoughness=1)) forever
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Siege of Towers) name(Copy Siege of Towers) activate castcard(copied noevent named!:Siege of Towers:!)!$ controller
text=Replicate {1}{R} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Target Mountain becomes a 3/1 creature. It's still a land.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Siegebreaker Giant
abilities=trample
auto={3}{R}:target(creature) cantblock
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- {3}{R}: Target creature can't block this turn.
mana={3}{R}{R}
type=Creature
subtype=Giant Warrior
power=6
toughness=3
[/card]
[card]
name=Siegehorn Ceratops
auto=_ENRAGE_counter(1/1,2)
text=Enrage - Whenever Siegehorn Ceratops is dealt damage, put two +1/+1 counters on it. (It must survive the damage to get the counters.)
mana={G}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=2
[/card]
[card]
name=Sifter Wurm
abilities=trample
aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) transforms((,newability[life:manacost controller])) oneshot])) oneshot
auto=scry:3 scrycore delayed life:revealedmana scrycoreend scryend
text=Trample -- When Sifter Wurm enters the battlefield, scry 3, then reveal the top card of your library. You gain life equal to that card's converted mana cost.
mana={5}{G}{G}
type=Creature
subtype=Wurm
power=7
toughness=7
[/card]
[card]
name=Sigarda's Splendor
auto=counter(0/0,lifetotal,LifeNoted)
auto=@each my upkeep:removeallcounters(0/0,1,LifeNoted) && counter(0/0,lifetotal,LifeNoted)
auto=@each my upkeep:if compare(hascntlifenoted)~lessthan~compare(lifetotal) then draw:1 controller
auto=@movedto(*[white]|mystack):name(Gain 1 life) life:1 controller
text=As Sigarda's Splendor enters the battlefield, note your life total. -- At the beginning of your upkeep, draw a card if your life total is greater than or equal to the last noted life total for Sigarda's Splendor. Then note your life total. -- Whenever you cast a white spell, you gain 1 life.
type=Enchantment
mana={2}{W}{W}
[/card]
[card]
name=Sigarda's Vanguard
abilities=flash,flying
auto=if type(creature[power=0]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 0) name(Choose creature with power 0) target(creature[power=0]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=1]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 1) name(Choose creature with power 1) target(creature[power=1]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=2]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 2) name(Choose creature with power 2) target(creature[power=2]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=3]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 3) name(Choose creature with power 3) target(creature[power=3]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=4]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 4) name(Choose creature with power 4) target(creature[power=4]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=5]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 5) name(Choose creature with power 5) target(creature[power=5]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=6]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 6) name(Choose creature with power 6) target(creature[power=6]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=7]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 7) name(Choose creature with power 7) target(creature[power=7]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=8]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 8) name(Choose creature with power 8) target(creature[power=8]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=9]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 9) name(Choose creature with power 9) target(creature[power=9]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=10]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 10) name(Choose creature with power 10) target(creature[power=10]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=11]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 11) name(Choose creature with power 11) target(creature[power=11]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=12]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 12) name(Choose creature with power 12) target(creature[power=12]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=13]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 13) name(Choose creature with power 13) target(creature[power=13]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=14]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 14) name(Choose creature with power 14) target(creature[power=14]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=15]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 15) name(Choose creature with power 15) target(creature[power=15]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=16]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 16) name(Choose creature with power 16) target(creature[power=16]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=17]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 17) name(Choose creature with power 17) target(creature[power=17]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=18]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 18) name(Choose creature with power 18) target(creature[power=18]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=19]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 19) name(Choose creature with power 19) target(creature[power=19]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=if type(creature[power=20]|battlefield)~morethan~0 then ability$!may name(Choose creature with power 20) name(Choose creature with power 20) target(creature[power=20]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=0]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 0) name(Choose creature with power 0) target(creature[power=0]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=1]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 1) name(Choose creature with power 1) target(creature[power=1]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=2]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 2) name(Choose creature with power 2) target(creature[power=2]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=3]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 3) name(Choose creature with power 3) target(creature[power=3]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=4]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 4) name(Choose creature with power 4) target(creature[power=4]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=5]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 5) name(Choose creature with power 5) target(creature[power=5]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=6]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 6) name(Choose creature with power 6) target(creature[power=6]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=7]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 7) name(Choose creature with power 7) target(creature[power=7]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=8]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 8) name(Choose creature with power 8) target(creature[power=8]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=9]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 9) name(Choose creature with power 9) target(creature[power=9]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=10]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 10) name(Choose creature with power 10) target(creature[power=10]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=11]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 11) name(Choose creature with power 11) target(creature[power=11]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=12]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 12) name(Choose creature with power 12) target(creature[power=12]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=13]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 13) name(Choose creature with power 13) target(creature[power=13]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=14]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 14) name(Choose creature with power 14) target(creature[power=14]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=15]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 15) name(Choose creature with power 15) target(creature[power=15]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=16]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 16) name(Choose creature with power 16) target(creature[power=16]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=17]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 17) name(Choose creature with power 17) target(creature[power=17]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=18]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 18) name(Choose creature with power 18) target(creature[power=18]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=19]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 19) name(Choose creature with power 19) target(creature[power=19]|battlefield) transforms((,newability[double strike])) ueot!$ controller
auto=@combat(attacking) source(this) restriction{type(creature[power=20]|battlefield)~morethan~0}:ability$!may name(Choose creature with power 20) name(Choose creature with power 20) target(creature[power=20]|battlefield) transforms((,newability[double strike])) ueot!$ controller
text=Flash -- Flying -- Whenever Sigarda's Vanguard enters the battlefield or attacks, choose any number of creatures with different powers. Those creatures gain double strike until end of turn.
mana={4}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Sigarda, Champion of Light
abilities=flying,trample
aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(human[zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(human[zpos<=5]|mylibrary)~morethan~0 then target(human[zpos<=5]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! ])) oneshot
auto=@combat(attacking) source(this) restriction{coven}:name(Look top 5 cards) reveal:5 optionone name(Get a human) target(<upto:1>human|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=lord(human|mybattlefield) 1/1
text=Flying, trample -- Humans you control get +1/+1. -- Coven - Whenever Sigarda attacks, if you control three or more creatures with different powers, look at the top five cards of your library. You may reveal a Human creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
type=Legendary Creature
subtype=Angel
mana={1}{G}{W}{W}
power=4
toughness=4
[/card]
[card]
name=Sigardian Savior
abilities=flying
auto=if casted(this) then may name(Return 2 creatures) target(<upto:2>creature[manacost<=2]|mygraveyard) moveto(mybattlefield)
text=Flying -- When Sigardian Savior enters the battlefield, if you cast it, return up to two target creature cards with mana value 2 or less from your graveyard to the battlefield.
type=Creature
subtype=Angel
mana={3}{W}{W}
power=3
toughness=3
[/card]
[card]
name=Sigardian Zealot
abilities=vigilance
auto=@each my combatbegins restriction{type(creature[power=0]|battlefield)~morethan~0}:may name(Choose creature with power 0) target(creature[power=0]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=1]|battlefield)~morethan~0}:may name(Choose creature with power 1) target(creature[power=1]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=2]|battlefield)~morethan~0}:may name(Choose creature with power 2) target(creature[power=2]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=3]|battlefield)~morethan~0}:may name(Choose creature with power 3) target(creature[power=3]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=4]|battlefield)~morethan~0}:may name(Choose creature with power 4) target(creature[power=4]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=5]|battlefield)~morethan~0}:may name(Choose creature with power 5) target(creature[power=5]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=6]|battlefield)~morethan~0}:may name(Choose creature with power 6) target(creature[power=6]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=7]|battlefield)~morethan~0}:may name(Choose creature with power 7) target(creature[power=7]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=8]|battlefield)~morethan~0}:may name(Choose creature with power 8) target(creature[power=8]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=9]|battlefield)~morethan~0}:may name(Choose creature with power 9) target(creature[power=9]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=10]|battlefield)~morethan~0}:may name(Choose creature with power 10) target(creature[power=10]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=11]|battlefield)~morethan~0}:may name(Choose creature with power 11) target(creature[power=11]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=12]|battlefield)~morethan~0}:may name(Choose creature with power 12) target(creature[power=12]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=13]|battlefield)~morethan~0}:may name(Choose creature with power 13) target(creature[power=13]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=14]|battlefield)~morethan~0}:may name(Choose creature with power 14) target(creature[power=14]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=15]|battlefield)~morethan~0}:may name(Choose creature with power 15) target(creature[power=15]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=16]|battlefield)~morethan~0}:may name(Choose creature with power 16) target(creature[power=16]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=17]|battlefield)~morethan~0}:may name(Choose creature with power 17) target(creature[power=17]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=18]|battlefield)~morethan~0}:may name(Choose creature with power 18) target(creature[power=18]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power=19]|battlefield)~morethan~0}:may name(Choose creature with power 19) target(creature[power=19]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
auto=@each my combatbegins restriction{type(creature[power>=20]|battlefield)~morethan~0}:may name(Choose creature with power 20) target(creature[power>=20]|battlefield) p/p ueot && transforms((,newability[vigilance])) ueot
text=At the beginning of combat on your turn, choose any number of creatures with different powers. Each of them gets +X/+X and gains vigilance until end of turn, where X is Sigardian Zealot's power.
mana={4}{G}
type=Creature
subtype=Human Cleric
power=3
toughness=3
[/card]
[card]
name=Sigil of Valor
auto={1}:equip
auto=transforms((,newability[@combat(attackedalone) source(this):foreach(other creature|myBattlefield) 1/1 ueot])) forever
text=Whenever equipped creature attacks alone, it gets +1/+1 until end of turn for each other creature you control. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sigiled Contender
auto=this(counter{1/1}>=1) lifelink
text=Sigiled Contender has lifelink as long as it has a +1/+1 counter on it. (Damage dealt by this creature also causes you to gain that much life.)
mana={3}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Sigiled Sword of Valeron
auto=teach(creature) +2/+0
auto=teach(creature) vigilance
auto=transforms((Knight))
auto=@combat(attacking) source(mytgt):token(Knight,Knight Creature,2/2,white,vigilance,battleready)
auto={3}:equip
text=Equipped creature gets +2/+0, has vigilance, and is a Knight in addition to its other types. -- Whenever equipped creature attacks, create a 2/2 white Knight creature token with vigilance that's attacking. -- Equip {3}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Signpost Scarecrow
abilities=vigilance
auto={2}:add{W}
auto={2}:add{R}
auto={2}:add{U}
auto={2}:add{G}
auto={2}:add{B}
text=Vigilance -- {2}: Add one mana of any color.
mana={4}
type=Artifact Creature
subtype=Scarecrow
power=2
toughness=4
[/card]
[card]
name=Sigrid, God-Favored
abilities=flash,first strike
auto=protection from(creature[god])
auto=may name(Exile attacking or blocking creature) target(creature[attacking;blocking]|battlefield) (blink)forsrc
text=Flash -- First strike, protection from God creatures -- When Sigrid, God-Favored enters the battlefield, exile up to one target attacking or blocking creature until Sigrid leaves the battlefield.
mana={1}{W}{W}
type=Legendary Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Silas Renn, Seeker Adept
abilities=deathtouch,partner
auto=@combatdamaged(player) from(this):name(target artifact) target(artifact[-land]|mygraveyard) canplayfromgraveyard ueot
text=Deathtouch -- Whenever Silas Renn, Seeker Adept deals combat damage to a player, choose target artifact card in your graveyard. You may cast that card this turn. -- Partner (You can have two commanders if both have partner.)
mana={1}{U}{B}
type=Legendary Artifact Creature
subtype=Human
power=2
toughness=2
[/card]
[card]
name=Silence the Believers
abilities=hasnokicker,hasstrive
kicker=multi{2}{B} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[moveto(ownerexile) all(mychild)],newability[moveto(ownerexile)])) forever
text=Strive - Silence the Believers costs {2}{B} more to cast for each target beyond the first. -- Exile any number of target creatures and all Auras attached to them.
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Silent Clearing
auto={T}{L:1}:Add{W}
auto={T}{L:1}:Add{B}
auto={1}{T}{S}:draw:1
text={T}, Pay 1 life: Add {W} or {B}. -- {1}, {T}, Sacrifice Silent Clearing: Draw a card.
type=Land
[/card]
[card]
name=Silent Dart
auto={4}{T}{S}:damage:3 target(creature)
text={4}, {T}, Sacrifice Silent Dart: It deals 3 damage to target creature.
mana={1}
type=Artifact
[/card]
[card]
name=Silent Gravestone
auto=lord(*|myGraveyard) shroud
auto=lord(*|opponentGraveyard) shroud
auto={4}{T}{E}:moveTo(exile) all(*|Graveyard) && draw:1 controller
text=Cards in graveyards can't be the target of spells or abilities. -- {4},{T}: Exile Silent Gravestone and all cards from all graveyards. Draw a card.
mana={1}
type=Artifact
[/card]
[card]
name=Silent Submersible
auto=@combatdamaged(player,planeswalker) from(this):draw:1
auto={crew(other creature[power>=2]|myBattlefield)}:name(crew 2 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~1}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 2 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~1}
text=Whenever Silent Submersible deals combat damage to a player or planeswalker, draw a card. -- Crew 2 (Tap any number of creatures you control with total power 2 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={U}{U}
type=Artifact
subtype=Vehicle
power=2
toughness=3
[/card]
[card]
name=Silhana Wayfinder
aicode=activate moveto(mylibrary) target(*[creature;land;zpos<=4]|mylibrary)
auto=name(look) reveal:4 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
text=When Silhana Wayfinder enters the battlefield, look at the top four cards of your library. You may reveal a creature or land card from among them and put it on top of your library. Put the rest on the bottom of your library in a random order.
mana={1}{G}
type=Creature
subtype=Elf Scout
power=2
toughness=1
[/card]
[card]
name=Silumgar Scavenger
abilities=flying
auto=may name(Exploit) sacrifice target(creature|mybattlefield) && all(this) transforms((,newability[haste])) ueot
auto=@movedto(other creature|graveyard) from(mybattlefield):counter(1/1)
text=Flying -- Exploit (When this creature enters the battlefield, you may sacrifice a creature.) -- Whenever another creature you control dies, put a +1/+1 counter on Silumgar Scavenger. It gains haste until end of turn if it exploited that creature.
mana={4}{B}
type=Creature
subtype=Zombie Bird
power=2
toughness=3
[/card]
[card]
name=Silumgar's Command
auto=if type(*[-creature]|opponentstack)~morethan~0 then choice name(Counter opponent spell and return permanent) name(Counter opponent spell and return permanent) target(*[-creature]|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(ownerhand)!$ opponent])) oneshot
auto=if type(other *[-creature]|mystack)~morethan~0 then choice name(Counter your spell and return permanent) name(Counter your spell and return permanent) target(*[-creature]|mystack) transforms((,newability[fizzle],newability[ability$!name(Return permanent) name(Return permanent) target(*|battlefield) moveto(ownerhand)!$ controller])) oneshot
auto=if type(*[-creature]|opponentstack)~morethan~0 then choice name(Counter opponent spell and creature gets -3/-3) name(Counter opponent spell and creature gets -3/-3) target(*[-creature]|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ opponent])) oneshot
auto=if type(other *[-creature]|mystack)~morethan~0 then choice name(Counter your spell and and creature gets -3/-3) name(Counter your spell and and creature gets -3/-3) target(*[-creature]|mystack) transforms((,newability[fizzle],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ controller])) oneshot
auto=if type(*[-creature]|opponentstack)~morethan~0 then choice name(Counter opponent spell and destroy planeswalker) name(Counter opponent spell and destroy planeswalker) target(*[-creature]|opponentstack) transforms((,newability[fizzle],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ opponent])) oneshot
auto=if type(other *[-creature]|mystack)~morethan~0 then choice name(Counter your spell and destroy planeswalker) name(Counter your spell and destroy planeswalker) target(*[-creature]|mystack) transforms((,newability[fizzle],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ controller])) oneshot
auto=if type(*|opponentbattlefield)~morethan~0 then choice name(Return opponent permanent and creature gets -3/-3) name(Return opponent permanent and creature gets -3/-3) target(*|opponentbattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ opponent])) oneshot
auto=if type(*|mybattlefield)~morethan~0 then choice name(Return your permanent and creature gets -3/-3) name(Return your permanent and creature gets -3/-3) target(*|mybattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Creature gets -3/-3) name(Creature gets -3/-3) target(creature|battlefield) -3/-3 ueot!$ controller])) oneshot
auto=if type(*|opponentbattlefield)~morethan~0 then choice name(Return opponent permanent and destroy planeswalker) name(Return opponent permanent and destroy planeswalker) target(*|opponentbattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ opponent])) oneshot
auto=if type(*|mybattlefield)~morethan~0 then choice name(Return your permanent and destroy planeswalker) name(Return your permanent and destroy planeswalker) target(*|mybattlefield) transforms((,newability[moveto(ownerhand)],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ controller])) oneshot
auto=if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent creature gets -3/-3 and destroy planeswalker) name(Opponent creature gets -3/-3 and destroy planeswalker) target(creature|opponentbattlefield) transforms((,newability[-3/-3 ueot],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ opponent])) oneshot
auto=if type(creature|mybattlefield)~morethan~0 then choice name(Your creature gets -3/-3 and destroy planeswalker) name(Your creature gets -3/-3 and destroy planeswalker) target(creature|mybattlefield) transforms((,newability[-3/-3 ueot],newability[ability$!name(Destroy planeswalker) name(Destroy planeswalker) target(planeswalker|battlefield) destroy!$ controller])) oneshot
text=Choose two -- Counter target noncreature spell. -- Return target permanent to its owner's hand. -- Target creature gets -3/-3 until end of turn. -- Destroy target planeswalker.
mana={3}{U}{B}
type=Instant
[/card]
[card]
name=Silundi Isle
auto=tap(noevent)
auto={T}:add{U}
text=Silundi Isle enters the battlefield tapped. -- {T}: Add {U}. // {2}{U} Silundi Vision
type=Land
[/card]
[card]
name=Silundi Vision
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Silundi Isle)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Silundi Isle) name(Silundi Isle) flip(Silundi Isle) forcetype(land)
aicode=activate target(*[instant;sorcery;zpos<=6]|mylibrary) moveto(myhand)
auto=name(Reveal 6 cards) reveal:6 optionone name(Get instant or sorcery) target(<upto:1>*[instant;sorcery]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top six cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. // Silundi Isle
mana={2}{U}
type=Instant
[/card]
[card]
name=Silvar, Devourer of the Free
abilities=hiddenface,menace,partner
auto=may name(Put partner in hand) moveTo(myhand) target(Trynn^ Champion of Freedom|mylibrary)
auto={S(Human|myBattlefield)}:all(this) counter(1/1) && indestructible ueot
text=Partner with Trynn, Champion of Freedom (When this creature enters the battlefield, target player may put Trynn into their hand from their library, then shuffle.) -- Menace -- Sacrifice a Human: Put a +1/+1 counter on Silvar, Devourer of the Free. It gains indestructible until end of turn.
mana={3}{B}{R}
type=Legendary Creature
subtype=Cat Nightmare
power=4
toughness=2
[/card]
[card]
name=Silver Bolt
auto={3}{T}{S}:name(Deal 3 damage) target(creature) damage:3 && if cantargetcard(*[werewolf]|*) then destroy 
text={3}, {T}, Sacrifice Silver Bolt: It deals 3 damage to target creature. If a Werewolf is dealt damage this way, destroy it.
type=Artifact
mana={1}
[/card]
[card]
name=Silver Raven
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- When Silver Raven enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={U}
type=Artifact Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Silverback Shaman
abilities=trample
auto=_DIES_draw:1
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- When Silverback Shaman dies, draw a card.
mana={3}{G}{G}
type=Creature
subtype=Ape Shaman
power=5
toughness=4
[/card]
[card]
name=Silverbeak Griffin
abilities=flying
text=Flying (This creature can't be blocked except by creatures with flying or reach.)
mana={W}{W}
type=Creature
subtype=Griffin
power=2
toughness=2
[/card]
[card]
name=Silverbluff Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{R}
auto={T}:add{U}
text=Silverbluff Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {U} or {R}.
type=Artifact Land
[/card]
[card]
name=Silverclad Ferocidons
auto=_ENRAGE_ability$!name(sacrifice a permanent) notatarget(*|mybattlefield) sacrifice!$ opponent
text=Enrage - Whenever Silverclad Ferocidons is dealt damage, each opponent sacrifices a permanent.
mana={5}{R}{R}
type=Creature
subtype=Dinosaur
power=8
toughness=5
[/card]
[card]
name=Silverflame Ritual
auto=all(creature|mybattlefield) counter(1/1)
auto=if casted(this) then if spent({W}{W}{W}) then all(creature|mybattlefield) transforms((,newability[vigilance])) ueot
text=Put a +1/+1 counter on each creature you control. -- Adamant - If at least three white mana was spent to cast this spell, creatures you control gain vigilance until end of turn.
mana={3}{W}
type=Sorcery
[/card]
[card]
name=Silverflame Squire // On Alert
abilities=adventure,asflash
restriction=can play creature
other={2}{W} name(Adventure)
auto=if paid(alternative) then name(Creature gets 2/2 and untap) name(Creature gets 2/2 and untap) target(creature|battlefield) transforms((,newability[2/2],newability[untap])) ueot
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Target creature gets +2/+2 until end of turn. Untap it. (Then exile this card. You may cast the creature later from exile.)
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Silvergill Adept
otherrestriction=type(*[merfolk]|myhand)~lessthan~2
other={4}{U}
restriction=type(*[merfolk]|myhand)~morethan~1
auto=draw:1
text=As an additional cost to cast Silvergill Adept, reveal a Merfolk card from your hand or pay {3}. -- When Silvergill Adept enters the battlefield, draw a card.
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=1
[/card]
[card]
name=Silverquill Apprentice
auto=@movedto(*[instant;sorcery]|mystack):name(Creature gains 1/0) target(creature) 1/0 ueot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, target creature gets +1/+0 until end of turn.
mana={W}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=2
[/card]
[card]
name=Silverquill Campus
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=tap(noevent)
auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={T}:add{B}
auto={T}:add{W}
text=Silverquill Campus enters the battlefield tapped. -- {T}: Add {W} or {B}. -- {4}, {T}: Scry 1.
type=Land
[/card]
[card]
name=Silverquill Command
auto=choice name(Creature gains 3/3 and return creature) target(creature) transforms((,newability[3/3],newability[flying])) ueot && ability$!name(Return creature) name(Return creature) target(creature[manacost<=2]|mygraveyard) moveto(mybattlefield)!$ controller
auto=choice name(Creature gains 3/3 and you draw) target(creature) transforms((,newability[3/3],newability[flying])) ueot && draw:1 controller && life:-1 controller
auto=choice name(Creature gains 3/3 and opponent draws) target(creature) transforms((,newability[3/3],newability[flying])) ueot && draw:1 opponent && life:-1 opponent
auto=choice name(Creature gains 3/3 and sacrifice creature) target(creature) transforms((,newability[3/3],newability[flying])) ueot && ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=choice name(Return creature and you draw) target(creature[manacost<=2]|mygraveyard) moveto(mybattlefield) && draw:1 controller && life:-1 controller
auto=choice name(Return creature and opponent draws) target(creature[manacost<=2]|mygraveyard) moveto(mybattlefield) && draw:1 opponent && life:-1 opponent
auto=choice name(Return creature and sacrifice creature) target(creature[manacost<=2]|mygraveyard) moveto(mybattlefield) && ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=choice name(You draw and sacrifice creature) draw:1 controller && life:-1 controller && ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=choice name(Opponent draws and sacrifice creature) draw:1 opponent && life:-1 opponent && ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
text=Choose two -- Target creature gets +3/+3 and gains flying until end of turn. -- Return target creature card with mana value 2 or less from your graveyard to the battlefield. -- Target player draws a card and loses 1 life. -- Target opponent sacrifices a creature.
mana={2}{W}{B}
type=Sorcery
[/card]
[card]
name=Silverquill Pledgemage
auto=@movedto(*[instant;sorcery]|mystack):name(Choose one) transforms((,newability[choice name(Silverquill gains flying) all(this) flying ueot],newability[choice name(Silverquill gains lifelink) all(this) lifelink ueot])) oneshot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, Silverquill Pledgemage gains your choice of flying or lifelink until end of turn.
mana={1}{WB}{WB}
type=Creature
subtype=Vampire Cleric
power=3
toughness=1
[/card]
[card]
name=Silverquill Silencer
auto=chooseanameopp transforms((,newability[@movedto(*[chosenname]|opponentstack):life:-3 opponent && draw:1 controller])) forever chooseend nonland
text=As Silverquill Silencer enters the battlefield, choose a nonland card name. -- Whenever an opponent casts a spell with the chosen name, they lose 3 life and you draw a card.
mana={W}{B}
type=Creature
subtype=Human Cleric
power=3
toughness=2
[/card]
[card]
name=Silversmote Ghoul
autograveyard=@each my endofturn restriction{compare(lifegain)~morethan~2}:moveTo(myBattlefield) and!(transforms((,newability[tap(noevent)]))) oneshot
auto={1}{B}{S}:draw:1 controller
text=At the beginning of your end step, if you gained 3 or more life this turn, return Silversmote Ghoul from your graveyard to the battlefield tapped. -- {1}{B}, Sacrifice Silversmote Ghoul: Draw a card.
mana={2}{B}
type=Creature
subtype=Zombie Vampire
power=3
toughness=1
[/card]
[card]
name=Silverwing Squadron
abilities=flying,vigilance
anyzone=type:creature:battlefield/type:creature:battlefield cdaactive
auto=_ATTACKING_token(Knight,creature Knight,2/2,white,vigilance)
text=Flying, vigilance -- Silverwing Squadron's power and toughness are each equal to the number of creatures you control. -- Whenever Silverwing Squadron attacks, create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you have.
mana={5}{W}
type=Creature
subtype=Human Knight
power=*
toughness=*
[/card]
[card]
name=Simic Ascendancy
auto={1}{G}{U}:counter(1/1,1) target(creature|myBattlefield)
auto=@<anyamount>counter(1/1,1) target(creature|myBattlefield):<anyamount>counter(0/0,1,growth) all(this) 
auto=@each my upkeep:this(counter{0/0.1.growth}>=20)while wingame
text={1}{G}{U}: Put a +1/+1 counter on target creature you control. -- Whenever one or more +1/+1 counters are put on a creature you control, put that many growth counters on Simic Ascendancy. -- At the beginning of your upkeep, if Simic Ascendancy has twenty or more growth counters on it, you win the game.
mana={G}{U}
type=Enchantment
[/card]
[card]
name=Simic Charm
auto=choice name(Creature gets +3/+3) target(creature) 3/3 ueot
auto=choice name(Permanents gain hexproof) all(*|mybattlefield) opponentshroud ueot
auto=choice name(Return creature to hand) target(creature) moveto(ownerhand)
text=Choose one  Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner's hand.
mana={G}{U}
type=Instant
[/card]
[card]
name=Simic Locket
auto={GU}{GU}{GU}{GU}{T}{S}:draw:2
auto={T}:Add{G}
auto={T}:Add{U}
text={T}: Add {G} or {U}. -- {G/U}{G/U}{G/U}{G/U}, {T}, Sacrifice Simic Locket: Draw two cards.
mana={3}
type=Artifact
[/card]
[card]
name=Simic Manipulator
auto=evolve
auto={T}:name(remove 1 Counter) this(counter{1/1}>=1) counter(1/1,-1) target(creature[power<=1]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 2 Counter) this(counter{1/1}>=2) counter(1/1,-2) target(creature[power<=2]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 3 Counter) this(counter{1/1}>=3) counter(1/1,-3) target(creature[power<=3]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 4 Counter) this(counter{1/1}>=4) counter(1/1,-4) target(creature[power<=4]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 5 Counter) this(counter{1/1}>=5) counter(1/1,-5) target(creature[power<=5]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 6 Counter) this(counter{1/1}>=6) counter(1/1,-6) target(creature[power<=6]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 7 Counter) this(counter{1/1}>=7) counter(1/1,-7) target(creature[power<=7]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 8 Counter) this(counter{1/1}>=8) counter(1/1,-8) target(creature[power<=8]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 9 Counter) this(counter{1/1}>=9) counter(1/1,-9) target(creature[power<=9]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 10 Counter) this(counter{1/1}>=10) counter(1/1,-10) target(creature[power<=10]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 11 Counter) this(counter{1/1}>=11) counter(1/1,-11) target(creature[power<=11]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 12 Counter) this(counter{1/1}>=12) counter(1/1,-12) target(creature[power<=12]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 13 Counter) this(counter{1/1}>=13) counter(1/1,-13) target(creature[power<=13]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 14 Counter) this(counter{1/1}>=14) counter(1/1,-14) target(creature[power<=14]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 15 Counter) this(counter{1/1}>=15) counter(1/1,-15) target(creature[power<=15]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 16 Counter) this(counter{1/1}>=16) counter(1/1,-16) target(creature[power<=16]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 17 Counter) this(counter{1/1}>=17) counter(1/1,-17) target(creature[power<=17]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 18 Counter) this(counter{1/1}>=18) counter(1/1,-18) target(creature[power<=18]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 19 Counter) this(counter{1/1}>=19) counter(1/1,-19) target(creature[power<=19]|opponentbattlefield) moveto(mybattlefield)
auto={T}:name(remove 20 Counter) this(counter{1/1}>=20) counter(1/1,-20) target(creature[power<=20]|opponentbattlefield) moveto(mybattlefield)
text=Evolve (Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.) -- {T}, Remove one or more +1/+1 counters from Simic Manipulator: Gain control of target creature with power less than or equal to the number of +1/+1 counters removed this way.
mana={1}{U}{U}
type=Creature
subtype=Mutant Wizard
power=0
toughness=1
[/card]
[card]
name=Sin Prodder
abilities=menace
auto=@each my upkeep:name(Reveal top card) all(*[zpos=1]|mylibrary) moveto(opponenthand) and!( transforms((,newability[choice name(Put in opponent hand) moveto(opponenthand)],newability[choice name(put in opponent graveyard) moveto(opponentgraveyard) and!( damage:manacost controller)!])) oneshot )!
text=Menace -- At the beginning of your upkeep, reveal the top card of your library. Any opponent may have you put that card into your graveyard. If a player does, Sin Prodder deals damage to that player equal to that card's converted mana cost. Otherwise, put that card into your hand.
mana={2}{R}
type=Creature
subtype=Devil
power=3
toughness=2
[/card]
[card]
name=Sindbad
auto={T}:name(Draw and reveal) reveal:1 optionone if type(land|reveal)~lessthan~1 then moveto(mygraveyard) optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) optiontwoend revealend
text={T}: Draw a card and reveal it. If it isn't a land card, discard it.
mana={1}{U}
type=Creature
subtype=Human
power=1
toughness=1
[/card]
[card]
name=Single Combat
auto=maxCast(creature)0 opponent
auto=maxCast(planeswalker)0 opponent
auto=maxCast(creature)0 controller
auto=maxCast(planeswalker)0 controller
auto=ability$! notatarget(<type:*[creature;planeswalker]:mybattlefieldminus1minusend>*[creature;planeswalker]|mybattlefield) sacrifice !$ controller
auto=ability$! notatarget(<type:*[creature;planeswalker]:mybattlefieldminus1minusend>*[creature;planeswalker]|mybattlefield) sacrifice !$ opponent
text=Each player chooses a creature or planeswalker they control, then sacrifices the rest. Players can't cast creature or planeswalker spells until the end of your next turn.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Sinister Sabotage
target=*|stack
auto=fizzle
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Counter target spell. -- Surveil 1. (Look at the top card of your library. You may put that card into your graveyard.)
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Sinister Starfish
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto={T}:name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text={T}: Surveil 1. (Look at the top card of your library. You may put that card into your graveyard.)
mana={1}{B}
type=Creature
subtype=Starfish
power=0
toughness=3
[/card]
[card]
name=Sink into Takenuma
target=<anyamount>swamp|mybattlefield
auto=moveTo(myhand) && ability$!name(discard) notatarget(*|myhand) reject!$ opponent
text=Sweep - Return any number of Swamps you control to their owner's hand. Target player discards a card for each Swamp returned this way.
mana={3}{B}
type=Sorcery
subtype=Arcane
[/card]
[card]
name=Sins of the Past
abilities=exiledeath
auto=may name(cast card) activate castcard(normal) target(*[instant;sorcery]|mygraveyard) and!(transforms((,newability[gainedexiledeath])) forever)!
text=Until end of turn, you may cast target instant or sorcery card from your graveyard without paying its mana cost. If that card would be put into your graveyard this turn, exile it instead. Exile Sins of the Past.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Sinuous Striker
auto={U}:1/1 ueot
autograveyard={3}{U}{U}{D(*|myhand)}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text={U}: Sinuous Striker gets +1/-1 until end of turn. -- Eternalize-{3}{U}{U}, Discard a card. ({3}{U}{U}, Discard a card, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Naga Warrior with no mana cost. Eternalize only as a sorcery.)
mana={2}{U}
type=Creature
subtype=Naga Warrior
power=2
toughness=2
[/card]
[card]
name=Sinuous Vermin
auto=this(cantargetcard(*[-monstrous]) {3}{B}{B}:becomes(monstrous) forever && counter(1/1, 3) && transforms((,newability[menace])) forever
text={3}{B}{B}: Monstrosity 3. (If this creature isn't monstrous, put three +1/+1 counters on it and it becomes monstrous.) -- As long as Sinuous Vermin is monstrous, it has menace. (It can't be blocked except by two or more creatures.)
mana={1}{B}
type=Creature
subtype=Rat Horror
power=2
toughness=2
[/card]
[card]
name=Siona, Captain of the Pyleas
abilities=hiddenface
aicode=activate target(aura[zpos<=7]|mylibrary) moveto(ownerhand)
auto=reveal:7 optionone name(Look at the top seven cards) target(aura|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend revealend
auto=@targeted(creature|myBattlefield) from(aura|myzones):token(Soldier,Creature Human Soldier,1/1,white)
text=When Siona, Captain of the Pyleas enters the battlefield, look at the top seven cards of your library. You may reveal an Aura card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- Whenever an Aura you control becomes attached to a creature you control, create a 1/1 white Human Soldier creature token.
mana={1}{G}{W}
type=Legendary Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Siphon Insight
flashback={1}{U}{B}
aicode=activate target(*[zpos<=2]|opponentlibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[all(*[zpos<=1]|opponentlibrary) moveto(myreveal) and!( bottomoflibrary )!])) forever )!
auto=name(Look top 2 cards) reveal:2 revealzone(opponentlibrary) optionone name(Put in exile) target(*|reveal) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana])) forever )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top two cards of target opponent's library. Exile one of them face down and put the other on the bottom of that library. You may look at and play the exiled card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell. -- Flashback {1}{U}{B}
mana={U}{B}
type=Instant
[/card]
[card]
name=Siren Lookout
abilities=flying
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=Flying -- When Siren Lookout enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={2}{U}
type=Creature
subtype=Siren Pirate
power=1
toughness=2
[/card]
[card]
name=Siren Reaver
abilities=flying
text=Raid - This spell costs {1} less to cast if you attacked with a creature this turn. -- Flying
mana={3}{U}
type=Creature
subtype=Siren Pirate
power=3
toughness=2
[/card]
[card]
name=Siren Stormtamer
abilities=flying
auto={U}{S}:target(*[-creature;-artifact;-enchantment;-planeswalker]|stack) fizzle
text=Flying -- {U}, Sacrifice Siren Stormtamer: Counter target spell or ability that targets you or a creature you control.
mana={U}
type=Creature
subtype=Siren Pirate Wizard
power=1
toughness=1
[/card]
[card]
name=Siren of the Fanged Coast
abilities=flying
auto=if type(creature|opponentBattlefield)~morethan~0 then all(this) flipacoin winability counter(0/0,1,TributeUnpaid) winabilityend loseability counter(1/1,3) loseabilityend flipend
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:all(this) counter(0/0,-1,TributeUnpaid)
auto=@counteradded(0/0,1,TributeUnpaid) from(this) once:target(creature) moveto(mybattlefield)
text=Flying -- Tribute 3 (As this creature enters the battlefield, an opponent of your choice may place three +1/+1 counters on it.) -- When Siren of the Fanged Coast enters the battlefield, if tribute wasn't paid, gain control of target creature.
mana={3}{U}{U}
type=Creature
subtype=Siren
power=1
toughness=1
[/card]
[card]
name=Siren's Ruse
target=creature|myBattlefield
auto=blink
auto=if cantargetcard(pirate) then draw:1
text=Exile target creature you control, then return that card to the battlefield under its owner's control. If a Pirate was exiled this way, draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Sirocco
target=player
aicode=activate transforms((,newability[all(instant[blue]|targetedpersonshand) transforms((,newability[pay[[{L:4}]] name(pay 4 life) donothing?reject])) forever])) oneshot
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiononeend afterrevealed all(instant[blue]|targetedpersonshand) transforms((,newability[pay[[{L:4}]] name(pay 4 life) donothing?reject])) forever afterrevealedend revealend
text=Target player reveals his or her hand. For each blue instant card revealed this way, that player discards that card unless he or she pays 4 life.
mana={1}{R}
type=Instant
[/card]
[card]
name=Sisay, Weatherlight Captain
auto=aslongas(other *[legendary;red]|mybattlefield) 1/1 >0
auto=aslongas(other *[legendary;white]|mybattlefield) 1/1 >0
auto=aslongas(other *[legendary;black]|mybattlefield) 1/1 >0
auto=aslongas(other *[legendary;green]|mybattlefield) 1/1 >0
auto=aslongas(other *[legendary;blue]|mybattlefield) 1/1 >0
auto={W}{U}{B}{R}{G}:name(Search legendary) transforms((,newability[name(Search legendary) target(*[legendary;manacost<=power]|mylibrary) moveto(mybattlefield) and!( shuffle )!])) oneshot
text=Sisay, Weatherlight Captain gets +1/+1 for each color among other legendary permanents you control. -- {W}{U}{B}{R}{G}: Search your library for a legendary permanent card with converted mana cost less than Sisay's power, put that card onto the battlefield, then shuffle your library.
mana={2}{W}
type=Legendary Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Sisters of Stone Death
auto={G}:target(creature|opponentBattlefield) mustblock ueot
auto={B}{G}:@combat(blocking,blocked) source(this):moveTo(exile) target(creature[blocking,blocked]) oneshot
auto={2}{B}:moveTo(mybattlefield) target(creature|opponentexile)
text={G}: Target creature blocks Sisters of Stone Death this turn if able. -- {B}{G}: Exile target creature blocking or blocked by Sisters of Stone Death. -- {2}{B}: Put a creature card exiled with Sisters of Stone Death onto the battlefield under your control.
mana={4}{B}{B}{G}{G}
type=Legendary Creature
subtype=Gorgon
power=7
toughness=5
[/card]
[card]
name=Sivvi's Valor
other={T(creature[-tapped]|mybattlefield)} name(Tap a creature)
otherrestriction=type(plains|mybattlefield)~morethan~0,type(creature[-tapped]|mybattlefield)~morethan~0
auto=choice name(Target your creature) target(creature|mybattlefield) transforms((,newability[undamageable],newability[_ENRAGE_damage:thatmuch controller])) ueot
auto=choice name(Target opponent's creature) target(creature|opponentbattlefield) transforms((,newability[undamageable],newability[_ENRAGE_damage:thatmuch opponent])) ueot
text=If you control a Plains, you may tap an untapped creature you control rather than pay Sivvi's Valor's mana cost. -- All damage that would be dealt to target creature this turn is dealt to you instead.
mana={2}{W}
type=Instant
[/card]
[card]
name=Six-y Beast
auto=rolld6 winability sacrifice winabilityend loseability counter(1/1,lastrollchoice) loseabilityend rolld6end
text=As Six-y Beast comes into play, you secretly put six or fewer +1/+1 counters on it, then an opponent guesses the number of counters. If that player guesses right, sacrifice Six-y Beast.
mana={3}{R}
type=Creature
subtype=Beast
power=0
toughness=0
[/card]
[card]
name=Sixth Sense
target=creature
auto=@combatdamaged(player) from(this):may draw:1
text=Enchant creature -- Enchanted creature has "Whenever this creature deals combat damage to a player, you may draw a card."
mana={G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sizzling Barrage
target=creature[blocking]
auto=damage:4
text=Sizzling Barrage deals 4 damage to target creature that blocked this turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Skaab Wrangler
auto={T(creature[-tapped]|mybattlefield)}{T(creature[-tapped]|mybattlefield)}{T(creature[-tapped]|mybattlefield)}:name(Tap 3 creatures and tap) target(creature) tap
text=Tap three untapped creatures you control: Tap target creature.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
[card]
name=Skalla Wolf
aicode=activate target(*[green;zpos<=5]|mylibrary) moveto(myhand)
auto=name(look) reveal:5 optionone name(Get green card) target(<upto:1>*[green]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
text=When Skalla Wolf enters the battlefield, look at the top five cards of your library. You may reveal a green card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={3}{G}{G}
type=Creature
subtype=Wolf Spirit
power=3
toughness=3
[/card]
[card]
name=Skarrgan Hellkite
abilities=flying
auto=choice counter(1/1)
auto=choice aslongas(creature|mybattlefield) haste
auto=this(counter{1/1}) {3}{R}:thisforeach(variable{2}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planewsalker) damage:1!$ controller
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Flying -- {3}{R}: Skarrgan Hellkite deals 2 damage divided as you choose among one or two targets. Activate this ability only if Skarrgan Hellkite has a +1/+1 counter on it.
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Skatewing Spy
auto={5}{U}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.2)])) forever
auto=lord(creature[counter{1/1}]|myBattlefield) flying
text={5}{U}: Adapt 2. (If this creature has no +1/+1 counters on it, put two +1/+1 counters on it.) -- Each creature you control with a +1/+1 counter on it has flying.
mana={3}{U}
type=Creature
subtype=Vedalken Rogue Mutant
power=2
toughness=3
[/card]
[card]
name=Skeletal Scrying
auto=draw:X controller
auto=life:castx controller
text=Destroy X target nonblack creatures. Draw X cards.
mana={X}{B}{E<prex>*|myGraveyard}
type=Instant
[/card]
[card]
name=Skeletal Swarming
auto=lord(skeleton|myBattlefield) trample
auto=lord(skeleton|myBattlefield) mustattack
auto=lord(skeleton|myBattlefield) foreach(skeleton|myBattlefield) 1/0
auto=@each my endofturn restriction{morbid}:name(Create skeleton) token(Skeleton,Creature Skeleton,1/1,black) and!( tap(noevent) )!
auto=@each my endofturn:name(Create skeleton) token(Skeleton,Creature Skeleton,1/1,black) and!( tap(noevent) )!
text=Each Skeleton you control has trample, attacks each combat if able, and gets +X/+0, where X is the number of other Skeletons you control. -- At the beginning of your end step, create a tapped 1/1 black Skeleton creature token. If a creature died this turn, create two of those tokens instead.
mana={3}{B}{G}
type=Enchantment
[/card]
[card]
name=Skeleton Archer
auto=damage:1 target(player,creature,planeswalker)
text=When Skeleton Archer enters the battlefield, it deals 1 damage to any target.
mana={3}{B}
type=Creature
subtype=Skeleton Archer
power=3
toughness=3
[/card]
[card]
name=Skeleton Mad
type=Creature
subtype=Skeleton
power=1
toughness=1
color=black
[/card]
[card]
name=Skeleton Scavengers
auto=counter(1/1)
auto={1}:this(counter{1/1.1}) regenerate && counter(1/1)
auto={2}:this(counter{1/1.2}) regenerate && counter(1/1)
auto={3}:this(counter{1/1.3}) regenerate && counter(1/1)
auto={4}:this(counter{1/1.4}) regenerate && counter(1/1)
auto={5}:this(counter{1/1.5}) regenerate && counter(1/1)
auto={6}:this(counter{1/1.6}) regenerate && counter(1/1)
auto={7}:this(counter{1/1.7}) regenerate && counter(1/1)
auto={8}:this(counter{1/1.8}) regenerate && counter(1/1)
auto={9}:this(counter{1/1.9}) regenerate && counter(1/1)
auto={10}:this(counter{1/1.10}) regenerate && counter(1/1)
auto={11}:this(counter{1/1.11}) regenerate && counter(1/1)
auto={12}:this(counter{1/1.12}) regenerate && counter(1/1)
auto={13}:this(counter{1/1.13}) regenerate && counter(1/1)
auto={14}:this(counter{1/1.14}) regenerate && counter(1/1)
auto={15}:this(counter{1/1.15}) regenerate && counter(1/1)
auto={16}:this(counter{1/1.16}) regenerate && counter(1/1)
auto={17}:this(counter{1/1.17}) regenerate && counter(1/1)
auto={18}:this(counter{1/1.18}) regenerate && counter(1/1)
auto={19}:this(counter{1/1.19}) regenerate && counter(1/1)
auto={20}:this(counter{1/1.20}) regenerate && counter(1/1)
text=Skeleton Scavengers enters the battlefield with a +1/+1 counter on it. -- Pay {1} for each +1/+1 counter on Skeleton Scavengers: Regenerate Skeleton Scavengers. When it regenerates this way, put a +1/+1 counter on it.
mana={2}{B}
type=Creature
subtype=Skeleton
power=0
toughness=0
[/card]
[card]
name=Skemfar Avenger
auto=@movedto(other *[elf;berserker;-token]|graveyard) from(mybattlefield):draw:1 controller && life:-1 controller
text=Whenever another nontoken Elf or Berserker you control dies, you draw a card and you lose 1 life.
mana={1}{B}
type=Creature
subtype=Elf Berserker
power=3
toughness=1
[/card]
[card]
name=Skemfar Elderhall
auto=tap(noevent)
auto={T}:add{G}
auto=this(variable{type:creature:opponentbattlefield}>0) {2}{B}{B}{G}{T}{S}:name(Creature gets -2/-2 and create elves) target(creature|opponentbattlefield) -2/-2 ueot && token(Warrior,Creature Elf Warrior,1/1,green)*2 asSorcery
auto={2}{B}{B}{G}{T}{S}:name(Create elves) token(Warrior,Creature Elf Warrior,1/1,green)*2 asSorcery
text=Skemfar Elderhall enters the battlefield tapped. -- {T}: Add {G}. -- {2}{B}{B}{G}, {T}, Sacrifice Skemfar Elderhall: Up to one target creature you don't control gets -2/-2 until end of turn. Create two 1/1 green Elf Warrior creature tokens. Activate this ability only any time you could cast a sorcery.
type=Land
[/card]
[card]
name=Skemfar Shadowsage
auto=choice name(Opponent loses life) life:-sametypecreatures opponent
auto=choice name(You gain life) life:sametypecreatures controller
text=When Skemfar Shadowsage enters the battlefield, Choose one -- Each opponent loses X life, where X is the greatest number of creatures you control that have a creature type in common. -- You gain X life, where X is the greatest number of creatures you control that have a creature type in common.
mana={3}{B}
type=Creature
subtype=Elf Cleric
power=2
toughness=5
[/card]
[card]
name=Skewer the Critics
target=player,creature,planeswalker
auto=damage:3
text=Spectacle {R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- Skewer the Critics deals 3 damage to any target.
other={R} name(Spectacle) 
otherrestriction=compare(oplifelost)~morethan~0
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Skilled Animator
auto=target(artifact|myBattlefield) transforms((Artifact Creature,setpower=5,settoughness=5,green))
text=When Skilled Animator enters the battlefield, target artifact you control becomes an artifact creature with base power and toughness 5/5 for as long as Skilled Animator remains on the battlefield.
mana={2}{U}
type=Creature
subtype=Human Artificer
power=1
toughness=3
[/card]
[card]
name=Skinshifter
auto={G}:ability$!name(Choose one) choice name(Becomes Rhino) transforms((Rhino Creature,setpower=4,settoughness=4,green,trample)) ueot all(this) _ choice name(Becomes Bird) transforms((Bird Creature,setpower=2,settoughness=2,green,flying)) ueot all(this) _ choice name(Becomes plaint) transforms((Plant Creature,setpower=0,settoughness=8,green)) ueot all(this)!$ controller limit:1
text={G}: Choose one  Until end of turn, Skinshifter becomes a 4/4 Rhino and gains trample; or until end of turn, Skinshifter becomes a 2/2 Bird and gains flying; or until end of turn, Skinshifter becomes a 0/8 Plant. Activate this ability only once each turn.
mana={1}{G}
type=Creature
subtype=Human Shaman
power=1
toughness=1
[/card]
[card]
name=Skirk Volcanist
autofacedown={S(land[mountain]|myBattlefield)}{S(land[mountain]|myBattlefield)}:morph
autofaceup=thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature) damage:1!$ controller
facedown={3}
text=Morph -- Sacrifice two Mountains. (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Skirk Volcanist is turned face up, it deals 3 amage divided as you choose among one, two, or three target creatures.
mana={3}{R}
type=Creature
subtype=Goblin
power=3
toughness=1
[/card]
[card]
name=Skitter Eel
auto={2}{U}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.2)])) forever
text={2}{U}: Adapt 2. (If this creature has no +1/+1 counters on it, put two +1/+1 counters on it.)
mana={3}{U}
type=Creature
subtype=Fish Crab
power=3
toughness=3
[/card]
[card]
name=Skittering Crustacean
auto=this(cantargetcard(*[-monstrous]) {6}{U}:becomes(monstrous) forever && counter(1/1,4) && transforms((,newability[opponentshroud])) forever
text={6}{U}: Monstrosity 4. (If this creature isn't monstrous, put four +1/+1 counters on it and it becomes monstrous.) -- As long as Skittering Crustacean is monstrous, it has hexproof. (It can't be the target of spells or abilities your opponents control.)
mana={2}{U}
type=Creature
subtype=Crab
power=2
toughness=3
[/card]
[card]
name=Skittering Heartstopper
auto={B}:deathtouch ueot
text={B}: Skittering Heartstopper gains deathtouch until end of turn.
mana={B}
type=Creature
subtype=Insect
power=1
toughness=2
[/card]
[card]
name=Skittering Surveyor
auto=may name(Search basic land) target(land[basic]|mylibrary) moveto(myhand) and!( shuffle )!
text=When Skittering Surveyor enters the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.
mana={3}
type=Artifact Creature
subtype=Construct
power=1
toughness=2
[/card]
[card]
name=Skola Grovedancer
auto=@movedTo(*[land]|myGraveyard):life:1 controller
auto={2}{G}:deplete:1 controller
text=Whenever a land card is put into your graveyard from anywhere, you gain 1 life. -- {2}{G}: Put the top card of your library into your graveyard.
mana={1}{G}
type=Enchantment Creature
subtype=Satyr Druid
power=2
toughness=2
[/card]
[card]
name=Skophos Maze-Warden
auto={1}:1/-1 ueot
auto=@targeted(other creature|Battlefield) from(land|myBattlefield):all(trigger) transforms((,newability[dynamicability<!powerstrike eachother!> target(creature|opponentbattlefield)]))
text={1}: Skophos Maze-Warden gets +1/-1 until end of turn. -- Whenever another creature becomes the target of an ability of a land you control named Labyrinth of Skophos, you may have Skophos Maze-Warden fight that creature. (Each deals damage equal to its power to the other.)
mana={3}{R}
type=Creature
subtype=Minotaur Warrior
power=3
toughness=4
[/card]
[card]
name=Skophos Reaver
abilities=madness
autoexile=restriction{discarded} pay({1}{R}) name(pay 1R to cast) activate name(pay 1R to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
auto=this(variable{controllerturn}>0) 2/0
text=As long as it's your turn, Skophos Reaver gets +2/+0. -- Madness {1}{R} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={2}{R}
type=Creature
subtype=Minotaur Warrior
power=2
toughness=3
[/card]
[card]
name=Skophos Warleader
auto={R}{S(other creature,enchantment|myBattlefield}:1/0 && menace ueot
text={R}, Sacrifice another creature or enchantment: Skophos Warleader gets +1/+0 and gains menace until end of turn. (It can't be blocked except by two or more creatures.)
mana={4}{R}
type=Creature
subtype=Minotaur Warrior
power=4
toughness=5
[/card]
[card]
name=Skulduggery
target=creature|mybattlefield
auto=1/1
auto=transforms((,newability[target(creature|opponentbattlefield) -1/-1 ueot])) ueot
text=Until end of turn, target creature you control gets +1/+1 and target creature an opponent controls gets -1/-1.
mana={B}
type=Instant
[/card]
[card]
name=Skull Prophet
auto={T}:Add{B}
auto={T}:Add{G}
auto={T}:deplete:2 controller
text={T}: Add {B} or {G}. -- {T}: Put the top two cards of your library into your graveyard.
mana={B}{G}
type=Creature
subtype=Human Druid
power=3
toughness=1
[/card]
[card]
name=Skull Raid
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{B} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=if type(*|opponenthand)~equalto~0 then life:2 controller
auto=if type(*|opponenthand)~equalto~1 then ability$!name(Discard a card) name(Discard a card) reject notatarget(*|myhand) && life:1 opponent!$ opponent
auto=if type(*|opponenthand)~morethan~1 then ability$!name(Discard a card) name(Discard a card) reject notatarget(<2>*|myhand)!$ opponent
text=Target opponent discards two cards. If fewer than two cards were discarded this way, you draw cards equal to the difference. -- Foretell {1}{B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Skull Storm
auto=if type(creature|opponentbattlefield)~lessthan~compare(pnumofcommandcastplus1plusend) then life:-halfupopponentlifetotal opponent
auto=thisforeach(variable{pnumofcommandcastplus1plusend}) ability$!name(sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
text=When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -- Each opponent sacrifices a creature. Each opponent who can't loses half their life, rounded up.
mana={7}{B}{B}
type=Sorcery
[/card]
[card]
name=Skullcrack
#MISSING:Damage can't be prevented
auto=transforms((,newability[nolifegain],newability[nolifegainopponent])) ueot
auto=damage:3 target(player)
text=Players can't gain life this turn. Damage can't be prevented this turn. Skullcrack deals 3 damage to target player.
mana={1}{R}
type=Instant
[/card]
[card]
name=Skullknocker Ogre
auto=@damagefoeof(player) from(this):discard:1 opponent && draw:1 opponent
text=Whenever Skullknocker Ogre deals damage to an opponent, that player discards a card at random. If the player does, they draw a card.
mana={3}{R}
type=Creature
subtype=Ogre
power=4
toughness=3
[/card]
[card]
name=Skullport Merchant
auto=name(Create treasure) token(Treasure Sur)
auto={1}{B}{S(other *[creature;treasure]|mybattlefield)}:name(Draw card) draw:1 controller
text=When Skullport Merchant enters the battlefield, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- {1}{B}, Sacrifice another creature or a Treasure: Draw a card.
mana={2}{B}
type=Creature
subtype=Dwarf Citizen
power=1
toughness=4
[/card]
[card]
name=Skullscorch
target=player
auto=ability$!name(Discards or damage) choice name(Discards 2 cards) discard:2 controller _ choice name(Damage 4) damage:4 controller)!$ targetedplayer
text=Target player discards two cards at random unless that player has Skullscorch deal 4 damage to him or her.
mana={R}{R}
type=Sorcery
[/card]
[card]
name=Skullwinder
abilities=deathtouch
auto=target(*|myGraveyard) moveTo(myHand) && target(*|opponentGraveyard) moveTo(opponentHand)
text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- When Skullwinder enters the battlefield, return target card from your graveyard to your hand, then choose an opponent. That player returns a card from their graveyard to their hand.
mana={2}{G}
type=Creature
subtype=Snake
power=1
toughness=3
[/card]
[card]
name=Sky Terror
abilities=flying, menace
text=Flying, menace
mana={R}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=2
[/card]
[card]
name=Sky Tether
target=creature
auto=defender
auto=-flying
text=Enchant creature -- Enchanted creature has defender and loses flying.
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Sky Theater Strix
abilities=flying
auto=@movedTo(*[-creature]|mystack):1/0 ueot
text=Flying -- Whenever you cast a noncreature spell, Sky Theater Strix gets +1/+0 until end of turn.
mana={1}{U}
type=Creature
subtype=Bird
power=1
toughness=2
[/card]
[card]
name=Skyblade of the Legion
abilities=flying
text=Flying
mana={1}{W}
type=Creature
subtype=Vampire Soldier
power=1
toughness=3
[/card]
[card]
name=Skyblade's Boon
target=creature
auto=1/1
auto=flying
auto={2}{W}:all(this) moveto(ownerhand)
autograveyard={2}{W}:all(this) moveto(ownerhand)
text=Enchant creature -- Enchanted creature gets +1/+1 and has flying. -- {2}{W}: Return Skyblade's Boon to its owner's hand. Activate only if Skyblade's Boon is on the battlefield or in your graveyard.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Skycat Sovereign
abilities=flying
auto=foreach(other creature[flying]|myBattlefield) 1/1
auto={2}{W}{U}:token(Cat Bird Sky)
text=Flying -- Skycat Sovereign gets +1/+1 for each other creature you control with flying. -- {2}{W}{U}: Create a 1/1 white Cat Bird creature token with flying.
mana={W}{U}
type=Creature
subtype=Elemental Cat
power=1
toughness=1
[/card]
[card]
name=Skyclave Apparition
other={1}{W}{W}{E(*[-land;-token;manacost<=4]|opponentBattlefield)} name(Exile opponent card)
otherrestriction=type(*[-land;-token;manacost<=4]|opponentbattlefield)~morethan~0
auto=@movedTo(this|mygraveyard) from(battlefield) restriction{compare(storedmanacost)~equalto~0}:token(Illusion,Creature Illusion,0/0,blue) opponent
auto=@movedTo(this|mygraveyard) from(battlefield) restriction{compare(storedmanacost)~equalto~1}:token(Illusion,Creature Illusion,1/1,blue) opponent
auto=@movedTo(this|mygraveyard) from(battlefield) restriction{compare(storedmanacost)~equalto~2}:token(Illusion,Creature Illusion,2/2,blue) opponent
auto=@movedTo(this|mygraveyard) from(battlefield) restriction{compare(storedmanacost)~equalto~3}:token(Illusion,Creature Illusion,3/3,blue) opponent
auto=@movedTo(this|mygraveyard) from(battlefield) restriction{compare(storedmanacost)~equalto~4}:token(Illusion,Creature Illusion,4/4,blue) opponent
text=When Skyclave Apparition enters the battlefield, exile up to one target nonland, nontoken permanent you don't control with converted mana cost 4 or less. -- When Skyclave Apparition leaves the battlefield, the exiled card's owner creates an X/X blue Illusion creature token, where X is the converted mana cost of the exiled card.
mana={1}{W}{W}
type=Creature
subtype=Kor Spirit
power=2
toughness=2
[/card]
[card]
name=Skyclave Basilica
auto=tap(noevent)
auto={T}:add{W}
text=Skyclave Basilica enters the battlefield tapped. -- {T}: Add {W}. // {1}{W} Skyclave Cleric
type=Land
[/card]
[card]
name=Skyclave Cleric
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Skyclave Basilica)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Skyclave Basilica) name(Skyclave Basilica) flip(Skyclave Basilica) forcetype(land)
auto=life:2 controller
text=When Skyclave Cleric enters the battlefield, you gain 2 life. // Skyclave Basilica
mana={1}{W}
type=Creature
subtype=Kor Cleric
power=1
toughness=3
[/card]
[card]
name=Skyclave Geopede
abilities=trample
auto=_LANDFALL_2/2 ueot
text=Trample -- Landfall - Whenever a land enters the battlefield under your control, Skyclave Geopede gets +2/+2 until end of turn.
mana={2}{R}
type=Creature
subtype=Insect
power=3
toughness=1
[/card]
[card]
name=Skyclave Pick-Axe
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature) transforms((,newability[_LANDFALL_2/2 ueot]))
auto={2}{G}:equip
text=Skyclave Pick-Axe enters the battlefield, attach it to target creature you control. -- Landfall - Whenever a land enters the battlefield under your control, equipped creature gets +2/+2 until end of turn. -- Equip {2}{G}
mana={G}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Skyclave Plunder
aicode=activate moveTo(myHand) target(<upto:3>*[zpos<=calculatepartyplus3plusend]|myLibrary)
auto=reveal:calculatepartyplus3plusend optionone name(Get a card) target(<upto:3>*|reveal) moveTo(myHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top X cards of your library, where X is three plus the number of creatures in your party. Put three cards from among them into your hand, and put the rest on the bottom of your library in a random order. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Skyclave Relic
abilities=indestructible
kicker={3}
auto=if paid(kicker) then all(this) clone and!(transforms((,newability[tap(noevent]))!
auto=if paid(kicker) then all(this) clone and!(transforms((,newability[tap(noevent]))!
auto={T}:ability$! name(Add any color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G} !$ controller
text=Kicker {3} -- Indestructible -- When Skyclave Relic enters the battlefield, if it was kicked, create two tapped tokens that are copies of Skyclave Relic. -- {T}: Add one mana of any color.
mana={3}
type=Artifact
[/card]
[card]
name=Skyclave Sentinel
abilities=flying,defender
kicker={4}
auto=if paid(kicker) then counter(1/1,2) all(this)
auto=this(counter{1/1}>0) canattack
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- Flying, defender -- If Skyclave Sentinel was kicked, it enters with two +1/+1 counters on it. -- As long as Skyclave Sentinel has a +1/+1 counter on it, it can attack as though it didn't have defender.
mana={3}
type=Artifact Creature
subtype=Gargoyle
power=2
toughness=3
[/card]
[card]
name=Skyclave Shade
abilities=cantblock
kicker={2}{B}
auto=if paid(kicker) then counter(1/1,2) all(this)
auto={0}:moveto(mygraveyard)
autograveyard=@movedTo(land|myBattlefield) restriction{myturnonly}:CanPlayFromGraveyard
text=Kicker {2}{B} -- Skyclave Shade can't block -- If Skyclave Shade was kicked, it enters the battlefield with two +1/+1 counters on it. -- Landfall - Whenever a land enters the battlefield under your control, if Skyclave Shade is in your graveyard and it's your turn, you may cast it from your graveyard this turn.
mana={1}{B}
type=Creature
subtype=Shade
power=3
toughness=1
[/card]
[card]
name=Skyclave Shadowcat
auto={1}{B}{S(other creature|myBattlefield)}:counter(1/1,1) all(this)
auto=@movedTo(creature[counter{1/1.1}]|myGraveyard) from(Battlefield):draw:1 controller
text={1}{B}, Sacrifice another creature: Put a +1/+1 counter on Skyclave Shadowcat. -- Whenever a creature you control with a +1/+1 counter on it dies, draw a card.
mana={3}{B}
type=Creature
subtype=Cat Horror
power=3
toughness=3
[/card]
[card]
name=Skyclave Squid
abilities=defender
auto=_LANDFALL_canattack ueot
text=Landfall - Whenever a land enters the battlefield under your control, Skyclave Squid can attack this turn as though it didn't have defender.
mana={1}{U}
type=Creature
subtype=Squid
power=3
toughness=2
[/card]
[card]
name=Skyfire Phoenix
abilities=flying,haste
autograveyard=@movedTo(*[iscommander]|mystack):moveTo(mybattlefield)
text=Flying, haste -- When you cast your commander, return Skyfire Phoenix from your graveyard to the battlefield.
mana={2}{R}{R}
type=Creature
subtype=Phoenix
power=3
toughness=3
[/card]
[card]
name=Skyknight Vanguard
abilities=flying
auto=_ATTACKING_token(Soldier,Creature Soldier,1/1,white,battleready)
text=Flying -- Whenever Skyknight Vanguard attacks, create a 1/1 white Soldier creature token that's tapped and attacking.
mana={R}{W}
type=Creature
subtype=Human Knight
power=1
toughness=2
[/card]
[card]
name=Skyline Despot
abilities=flying
auto=_MONARCH_CONTROLLER_
auto=@each my upkeep restriction{compare(pmonarch)~morethan~0}:token(Dragon,Creature Dragon,5/5,red,flying)
text=Flying -- When Skyline Despot enters the battlefield, you become the monarch. -- At the beginning of your upkeep, if you're the monarch, put a 5/5 red Dragon creature token with flying onto the battlefield.
mana={5}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Skyline Scout
auto=_ATTACKING_pay({1}{w}):flying ueot
text=Whenever Skyline Scout attacks, you may pay {1}{W}. If you do, it gains flying until end of turn.
mana={1}{W}
type=Creature
subtype=Human Scout
power=2
toughness=1
[/card]
[card]
name=Skymarch Bloodletter
abilities=flying
auto=life:1 controller
auto=life:-1 opponent
text=Flying -- When Skymarch Bloodletter enters the battlefield, target opponent loses 1 life and you gain 1 life.
mana={2}{B}
type=Creature
subtype=Vampire Soldier
power=2
toughness=2
[/card]
[card]
name=Skymarcher Aspirant
auto=_ASCEND_
auto=@movedto(*|myBattlefield):_ASCEND_
auto=_CITY'S_BLESSING_ flying
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Skymarcher Aspirant has flying as long as you have the city's blessing.
mana={W}
type=Creature
subtype=Vampire Soldier
power=2
toughness=1
[/card]
[card]
name=Skyrider Patrol
abilities=flying
auto=@each my combatbegins:may pay({g}{u}):target(other creature|myBattlefield) counter(1/1) and!(flying)!
#&& flying ueot
text=Flying -- At the beginning of combat on your turn, you may pay {G}{U}. When you do, put a +1/+1 counter on another target creature you control, and that creature gains flying until end of turn.
mana={2}{G}{U}
type=Creature
subtype=Elf Scout
power=2
toughness=3
[/card]
[card]
name=Skyscanner
abilities=flying
auto=draw:1
text=Flying -- When Skyscanner enters the battlefield, draw a card.
mana={3}
type=Artifact Creature
subtype=Thopter
power=1
toughness=1
[/card]
[card]
name=Skyshroud Ambush
target=creature|mybattlefield
auto=choice name(Fight weaker creature) transforms((,newability[target(creature[toughness<=p]|opponentbattlefield) dynamicability<!powerstrike eachother!>],newability[draw:1 controller])) ueot
auto=choice name(Fight not weaker creature) transforms((,newability[target(creature[toughness>=pplus1plusend]|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Target creature you control fights target creature you don't control. When the creature you control wins the fight, draw a card.
mana={1}{G}
type=Instant
[/card]
[card]
name=Skyshroud Lookout
abilities=reach
auto=name(Seek an elf) name(Seek an elf) moverandom(elf) from(mylibrary) to(myhand)
text=Reach -- When Skyshroud Lookout enters the battlefield, seek an Elf card.
mana={1}{G}
type=Creature
subtype=Elf Archer
power=1
toughness=1
[/card]
[card]
name=Skystreamer
abilities=flying
auto=target(player) life:4
text=Assist (Another player can pay up to {4} of this spell's cost.) -- Flying -- When Skystreamer enters the battlefield, target player gains 4 life.
mana={4}{W}
type=Creature
subtype=Griffin
power=3
toughness=2
[/card]
[card]
name=Skyway Sniper
abilities=reach
auto={2}{G}:damage:1 target(creature[flying])
text=Reach (This creature can block creatures with flying.) -- {2}{G}: Skyway Sniper deals 1 damage to target creature with flying.
mana={G}
type=Creature
subtype=Elf Archer
power=1
toughness=2
[/card]
[card]
name=Slag Strider
abilities=affinityartifacts
auto={1}{S(artifact|myBattlefield)}:name(Deals 1 damage) damage:1 target(player,creature,planeswalker)
text=Affinity for artifacts (This spell costs 1 less to cast for each artifact you control.) -- {1}, Sacrifice an artifact: Slag Strider deals 1 damage to any target.
mana={5}{R}{R}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Slagwoods Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{R}
auto={T}:add{G}
text=Slagwoods Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {R} or {G}.
type=Artifact Land
[/card]
[card]
name=Slash of Talons
target=creature[attacking;blocking]
auto=damage:2
text=Slash of Talons deals 2 damage to target attacking or blocking creature.
mana={W}
type=Instant
[/card]
[card]
name=Slash the Ranks
auto=all(creature[-iscommander]|battlefield) destroy
auto=all(planeswalker[-iscommander]|battlefield) destroy
text=Destroy all creatures and planeswalkers except for commanders.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Slaughter Games
abilities=nofizzle
auto=chooseanameopp name(Search that cards) target(<anyamount>creature[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( shuffle opponent )! chooseend nonland
text=Slaughter Games can't be countered by spells or abilities. -- Name a nonland card. Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles his or her library.
mana={2}{B}{R}
type=Sorcery
[/card]
[card]
name=Slaughter Specialist
auto=token(Human,Creature Human,1/1,white) opponent
auto=@movedto(creature|graveyard) from(opponentbattlefield):name(Put 1/1 counter) counter(1/1)
text=When Slaughter Specialist enters the battlefield, each opponent creates a 1/1 white Human creature token. -- Whenever a creature an opponent controls dies, put a +1/+1 counter on Slaughter Specialist.
mana={1}{B}
type=Creature
subtype=Vampire Warrior
power=3
toughness=3
[/card]
[card]
name=Slaughter the Strong
auto=sacrifice all(creature[power>4]|mybattlefield)
auto=ability$!name(Sacrifice) sacrifice all(creature[power>4]|mybattlefield)!$ opponent
text=Each player chooses any number of creatures they control with total power 4 or less, then sacrifices all other creatures they control.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Slaughter-Priest of Mogis
auto=@sacrificed(*|mybattlefield):2/0 ueot
auto={1}{R}{S(other creature,enchantment|myBattlefield}:first strike ueot
text=Whenever you sacrifice a permanent, Slaughter-Priest of Mogis gets +2/+0 until end of turn. -- 2 , Sacrifice another creature or an enchantment: Slaughter-Priest of Mogis gains first strike until end of turn.
mana={B}{R}
type=Creature
subtype=Minotaur Shaman
power=2
toughness=2
[/card]
[card]
name=Slayer's Cleaver
auto={4}:equip
auto=teach(creature) 3/1
auto=@combat(attacking) source(mytgt):all(*[eldrazi]|opponentbattlefield) transforms((,newability[mustblock])) ueot
text=Equipped creature gets +3/+1 and must be blocked by an Eldrazi if able. -- Equip {4}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Slaying Fire
target=creature,player,planeswalker
auto=if casted(this) then if spent({R}{R}{R}) then name(Deals 4 damages) name(Deals 4 damages) damage:4
auto=if casted(this) then ifnot spent({R}{R}{R}) then name(Deals 3 damages) name(Deals 3 damages) damage:3
text=Slaying Fire deals 3 damage to any target. -- Adamant - If at least three red mana was spent to cast this spell, it deals 4 damage instead.
mana={2}{R}
type=Instant
[/card]
[card]
name=Sleek Schooner
auto={crew(other creature[power>=1]|myBattlefield)}:name(crew 1 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~0}
text=Crew 1 (Tap any number of creatures you control with total power 1 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={3}
type=Artifact
subtype=Vehicle
power=4
toughness=3
[/card]
[card]
name=Sleep of the Dead
target=creature|battlefield
auto=freeze
retrace={2}{U}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Tap target creature. It doesn't untap during its controller's next untap step. -- Escape-{2}{U}, Exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={U}
type=Sorcery
[/card]
[card]
name=Sleeper Dart
auto=draw:1 controller
auto={T}{S}:frozen target(creature)
text=When Sleeper Dart enters the battlefield, draw a card. -- {T}, Sacrifice Sleeper Dart: Target creature doesn't untap during its controller's next untap step.
mana={2}
type=Artifact
[/card]
[card]
name=Slimebind
abilities=flash
target=creature
auto=-4/-0
text=Flash -- Enchant creature -- Enchanted creature gets -4/-0.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Slimefoot, the Stowaway
auto=@movedTo(saproling|graveyard) from(mybattlefield):damage:1 each opponent && life:1
auto={4}:create(saproling:creature saproling:1/1:green:)
text=Whenever a Saproling you control dies, Slimefoot, the Stowaway deals 1 damage to each opponent and you gain 1 life. -- {4}: Create a 1/1 green Saproling creature token.
mana={1}{B}{G}
type=Legendary Creature
subtype=Fungus
power=2
toughness=3
[/card]
[card]
name=Sling-Gang Lieutenant
auto=token(Goblin,creature goblin, 1/1,red)*2
auto={S(goblin|myBattlefield)}:life:-1 opponent && life:1 controller
text=When Sling-Gang Lieutenant enters the battlefield, create two 1/1 red Goblin creature tokens. -- Sacrifice a Goblin: Target player loses 1 life and you gain 1 life.
mana={3}{B}
type=Creature
subtype=Goblin
power=1
toughness=1
[/card]
[card]
name=Slinn Voda, the Rising Deep
kicker={1}{U}
auto=if paid(kicker) then moveto(ownerhand) all(creature[-Merfolk;-Kraken;-Leviathan;-Octopus;-Serpent]|battlefield)
text=Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.) -- When Slinn Voda, the Rising Deep enters the battlefield, if it was kicked, return all creatures to their owners' hands except for Merfolk, Krakens, Leviathans, Octopuses, and Serpents.
mana={6}{U}{U}
type=Legendary Creature
subtype=Leviathan
power=8
toughness=8
[/card]
[card]
name=Slippery Scoundrel
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[unblockable],newability[opponentshroud]))
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- As long as you have the city's blessing, Slippery Scoundrel has hexproof and can't be blocked.
mana={2}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Slither Blade
abilities=unblockable
text=Slither Blade can't be blocked.
mana={U}
type=Creature
subtype=Naga Rogue
power=1
toughness=2
[/card]
[card]
name=Slitherbore Pathway
auto={T}:add{G}
text={T}: Add {G}. // Darkbore Pathway
type=Land
[/card]
[card]
name=Slithermuse
other={3}{U} name(Evoke)
auto=if paid(alternative) then sacrifice
auto=@movedto(this|nonbattlezone) from(battlefield):if compare(ohandcount)~morethan~compare(phandcount) then draw:ohandcountminusphandcountminusend controller
text=When Slithermuse leaves the battlefield, choose an opponent. If that player has more cards in hand than you, draw cards equal to the difference. -- Evoke {3}{U} (You may cast this spell for its evoke cost. If you do, it's sacrificed when it enters the battlefield.)
mana={2}{U}{U}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Slitherwisp
abilities=flash
auto=@movedto(*[flash]|mycastingzone) restriction{thisturn(*[flash]|mycastingzone)~equalto~1}:draw:1 controller && life:-1 opponent
text=Flash -- Whenever you cast another spell that has flash, you draw a card and each opponent loses 1 life.
mana={U}{B}{B}
type=Creature
subtype=Elemental Nightmare
power=3
toughness=2
[/card]
[card]
name=Sliver Hive
auto={T}:add{C}
auto=this(variable{type:sliver:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:sliver:myrestrictedcastingzone}>0) {T}:add{U}
auto=this(variable{type:sliver:myrestrictedcastingzone}>0) {T}:add{B}
auto=this(variable{type:sliver:myrestrictedcastingzone}>0) {T}:add{G}
auto=this(variable{type:sliver:myrestrictedcastingzone}>0) {T}:add{R}
auto={5}{T} restriction{type(sliver|mybattlefield)~morethan~0}:token(Sliver,Creature Sliver,1/1)
text={T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast a Sliver spell. -- {5}, {T}: Put a 1/1 colorless Sliver creature token onto the battlefield. Activate this ability only if you control a Sliver.
type=Land
[/card]
[card]
name=Slogurk, the Overslime
abilities=trample
auto=@movedto(land|mygraveyard):name(Put 1/1 counter) counter(1/1)
auto={C(1/1,-3)}:name(Return to hand) moveto(ownerhand)
auto=@movedto(this|nonbattlezone) from(battlefield):if type(land|mygraveyard)~morethan~0 then may name(Return lands) name(Return lands) transforms((,newability[if type(land|mygraveyard)~morethan~2 then choice name(Return 3 lands) name(Return 3 lands) target(<3>land|mygraveyard) moveto(myhand)],newability[if type(land|mygraveyard)~morethan~1 then choice name(Return 2 lands) name(Return 2 lands) target(<2>land|mygraveyard) moveto(myhand)],newability[if type(land|mygraveyard)~morethan~0 then choice name(Return 1 land) name(Return 1 land) target(land|mygraveyard) moveto(myhand)])) oneshot
text=Trample -- Whenever a land card is put into your graveyard from anywhere, put a +1/+1 counter on Slogurk, the Overslime. -- Remove three +1/+1 counters from Slogurk: Return it to its owner's hand. -- When Slogurk leaves the battlefield, return up to three target land cards from your graveyard to your hand.
type=Legendary Creature
subtype=Ooze
mana={1}{G}{U}
power=3
toughness=3
[/card]
[card]
name=Sludge Monster
auto=may name(Put slime counter) target(creature) counter(0/0.1.Slime)
auto=@combat(attacking) source(this):may name(Put slime counter) target(creature) counter(0/0.1.Slime)
auto=lord(*[-horror;counter{0/0.1.Slime}]|battlefield) transforms((,setpower=2,settoughness=2,newability[loseabilities]))
text=Whenever Sludge Monster enters the battlefield or attacks, put a slime counter on up to one other target creature. -- Non-Horror creatures with slime counters on them lose all abilities and have base power and toughness 2/2.
mana={3}{U}{U}
type=Creature
subtype=Horror
power=5
toughness=5
[/card]
[card]
name=Slurrk, All-Ingesting
abilities=partner
auto=counter(1/1,5)
auto=@movedTo(creature[counter{1/1}]|mygraveyard) from(mybattlefield):counter(1/1) all(creature[counter{1/1}]|mybattlefield)
text=Slurrk, All-Ingesting enters the battlefield with five +1/+1 counters on it. -- Whenever Slurrk or another creature you control dies, if it had a +1/+1 counter on it, put a +1/+1 counter on each creature you control that has a +1/+1 counter on it. -- Partner (You can have two commanders if both have partner.)
mana={5}{G}
type=Legendary Creature
subtype=Ooze
power=0
toughness=0
[/card]
[card]
name=Sly Instigator
auto={U}{T}:target(creature|opponentbattlefield) transforms((,newability[this(counter{0/0.1.Goaded}>0) unblockable],newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[phaseaction[endofturn next once sourceinplay] removeallcounters(0/0.-1.Goaded)])) forever
text={U}, {T}: Until your next turn, target creature an opponent controls can't be blocked. Goad that creature. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)
mana={3}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=4
[/card]
[card]
name=Sly Spy (f)
auto=@combatdamagefoeof(player) from(this):all(this) rolld6 6 winability life:-lastrollresult opponent winabilityend loseability life:-lastrollresult opponent loseabilityend rolld6end
auto=@combatdamageof(player) from(this):all(this) rolld6 6 winability life:-lastrollresult controller winabilityend loseability life:-lastrollresult controller loseabilityend rolld6end
text=Whenever Sly Spy deals combat damage to a player, roll a six-sided die. That player loses life equal to the result.
mana={2}{B}
type=Creature
subtype=Human Spy
power=2
toughness=2
[/card]
[card]
name=Smashing Success
auto=if type(artifact|mybattlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact) destroy && token(Treasure Sur)
auto=if type(land|mybattlefield)~morethan~0 then choice name(Destroy land) name(Destroy land) target(land) destroy
text=Destroy target artifact or land. If an artifact is destroyed this way, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={3}{R}
type=Instant
[/card]
[card]
name=Smell Fear
target=creature|myBattlefield
auto=transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) oneshot
auto=_PROLIFERATE_
text=Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) -- Target creature you control fights up to one target creature you don't control.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Smelt-Ward Ignus
auto={2}{R}{S}:auto=target(creature[power<=3]|battlefield) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],haste)) ueot asSorcery
text={2}{R}, Sacrifice Smelt-Ward Ignus: Gain control of target creature with power 3 or less until end of turn. Untap that creature. It gains haste until end of turn. Activate this ability only any time you could cast a sorcery.
mana={1}{R}
type=Creature
subtype=Elemental
power=2
toughness=1
[/card]
[card]
name=Smelt-Ward Minotaur
auto=@movedTo(instant,sorcery|mystack):target(creature|opponentBattlefield) cantblock
text=Whenever you cast an instant or sorcery spell, target creature an opponent controls can't block this turn.
mana={2}{R}
type=Creature
subtype=Minotaur Warrior
power=2
toughness=3
[/card]
[card]
name=Smiting Helix
auto=damage:3 target(player,creature,planeswalker)
auto=life:3 controller
flashback={R}{W}
text=Smiting Helix deals 3 damage to any target and you gain 3 life. -- Flashback {R}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Smitten Swordmaster // Curry Favor
abilities=lifelink,adventure
other={B} name(Adventure)
auto=if paid(alternative) then name(You gain life) name(You gain life) life:type:knight:mybattlefield controller
auto=if paid(alternative) then name(Opponent looses life) name(Opponent looses life) life:-type:knight:mybattlefield opponent
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Lifelink // You gain X life and each opponent loses X life, where X is the number of Knights you control.
mana={1}{B}
type=Creature
subtype=Human Knight
power=2
toughness=1
[/card]
[card]
name=Smoke
auto=all(creature|mybattlefield) doesnotuntap
auto=all(creature|opponentbattlefield) doesnotuntap
auto=@each my untap:untap target(creature[tapped]|mybattlefield)
auto=@each opponent untap:ability$!name(untap creature) untap notatarget(creature[tapped]|mybattlefield)!$ opponent
text=Players can't untap more than one creature during their untap steps.
mana={R}{R}
type=Enchantment
[/card]
[card]
name=Smoke Shroud
target=creature
auto=teach(creature) +1/+1
auto=teach(creature) flying
autograveyard=@movedto(creature[ninja]|mybattlefield):may all(trigger[to]) retarget
text=Enchant creature -- Enchanted creature gets +1/+1 and has flying. -- When a Ninja enters the battlefield under your control, you may return Smoke Shroud from your graveyard to the battlefield attached to that creature.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Smokebraider
auto=this(variable{type:elemental:myrestrictedcastingzone}>0) {T}:thisforeach(variable{2}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
auto=this(variable{type:elemental:mybattlefield}>0) {T}:thisforeach(variable{2}) ability$!name(Choose one) choice name(Add white) add{W} _ choice name(Add blue) add{U} _ choice name(Add red) add{R} _ choice name(Add green) add{G} _ choice name(Add black) add{B}!$ controller
text={T}: Add two mana in any combination of colors to your mana pool. Spend this mana only to cast Elemental spells or activate abilities of Elementals.
mana={1}{R}
type=Creature
subtype=Elemental Shaman
power=1
toughness=1
[/card]
[card]
name=Smokestack
auto=@each my upkeep:may counter(0/0,1,Soot)
auto=@each my upkeep:thisforeach(counter{0/0,1,Soot}) ability$!name(Sacrifice permanent) notatarget(*|mybattlefield) sacrifice!$ controller
auto=@each opponent upkeep:thisforeach(counter{0/0,1,Soot}) ability$!name(Sacrifice permanent) notatarget(*|mybattlefield) sacrifice!$ opponent
text=At the beginning of your upkeep, you may put a soot counter on Smokestack. -- At the beginning of each player's upkeep, that player sacrifices a permanent for each soot counter on Smokestack.
mana={4}
type=Artifact
[/card]
[card]
name=Smoldering Egg
abilities=defender
backside=Ashmouth Dragon
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=@movedTo(*[instant;sorcery]|mystack):name(Put ember counters) all(trigger[to]) transforms((,newability[name(Put ember counter) all(Smoldering Egg|mybattlefield) counter(0/0.totmanaspent.Ember)])) oneshot
auto=@counteradded(0/0,1,Ember) from(this) restriction{compare(hascntember)~morethan~6}:name(Transform Smoldering Egg) transforms((,newability[removeallcounters(0/0.1.Ember)],newability[flip(backside)])) forever
text=Defender -- Whenever you cast an instant or sorcery spell, put a number of ember counters on Smoldering Egg equal to the amount of mana spent to cast that spell. Then if Smoldering Egg has seven or more ember counters on it, remove them and transform Smoldering Egg. // Ashmouth Dragon
mana={1}{R}
type=Creature
subtype=Dragon Egg
power=0
toughness=4
[/card]
[card]
name=Smothering Tithe
auto=@drawfoeof(player):ability$!name(pay or create treasure) pay[[{2}]] donothing'token(Treasure Sur) opponent!$ opponent
text=Whenever an opponent draws a card, that player may pay {2} . If the player doesn't, you create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Snake Xyr
type=Creature
subtype=Snake
power=1
toughness=1
color=green
[/card]
[card]
name=Snakeskin Veil
target=creature
auto=transforms((,newability[counter(1/1)],newability[opponentshroud])) ueot
text=Put a +1/+1 counter on target creature you control. It gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.)
mana={G}
type=Instant
[/card]
[card]
name=Snapdax, Apex of the Hunt
abilities=double strike,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{BR}{W}{W} name(Mutate)
auto=transforms((,newability[@mutated(this):life:4 controller],newability[@mutated(this):damage:4 target(*[creature;planeswalker]|opponentBattlefield)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{BR}{W}{W} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Double strike -- Whenever this creature mutates, it deals 4 damage to target creature or planeswalker an opponent controls and you gain 4 life.
mana={1}{R}{W}{B}
type=Legendary Creature
subtype=Dinosaur Cat Nightmare
power=3
toughness=5
[/card]
[card]
name=Snapping Sailback
abilities=flash
auto=_ENRAGE_counter(1/1,1)
text=Flash -- Enrage - Whenever Snapping Sailback is dealt damage, put a +1/+1 counter on it. (It must survive the damage to get the counter.)
mana={4}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Snare Tactician
auto=@cycled(*|myHand):tap target(creature|opponentBattlefield)
text=Whenever you cycle a card, tap target creature an opponent controls.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Snarespinner
abilities=reach
auto=@combat(blocking) source(this) from(creature[flying]):all(this) 2/0 ueot
text=Reach -- Whenever Snarespinner blocks a creature with flying, Snarespinner gets +2/+0 until end of turn.
mana={1}{G}
type=Creature
subtype=Spider
power=1
toughness=3
[/card]
[card]
name=Snarling Wolf
auto={1}{G}:name(Gets 2/2) 2/2 ueot limit:1
text={1}{G}: Snarling Wolf gets +2/+2 until end of turn. Activate only once each turn.
type=Creature
subtype=Wolf
mana={G}
power=1
toughness=1
[/card]
[card]
name=Sneaking Guide
auto={2}{T}:target(creature[power<=2]) unblockable ueot
text={2},{T}: Target creature with power 2 or less can't be blocked this turn.
mana={R}
type=Creature
subtype=Goblin Rogue
power=1
toughness=1
[/card]
[card]
name=Snow Day
target=<upto:2>creature
auto=freeze
auto=draw:2 && transforms((,newability[target(*|myhand) reject])) forever
text=Tap up to two target creatures. Those creatures don't untap during their controller's next untap step. -- Draw two cards, then discard a card.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Snowfield Sinkhole
auto=tap(noevent)
text=({T}: Add {W} or {B}.) -- Snowfield Sinkhole enters the battlefield tapped.
type=Snow Land
subtype=Plains Swamp
[/card]
[card]
name=Snubhorn Sentry
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ 3/0
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Snubhorn Sentry gets +3/+0 as long as you have the city's blessing.
mana={W}
type=Creature
subtype=Dinosaur
power=0
toughness=3
[/card]
[card]
name=So Shiny
target=creature
auto=doesnotuntap
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=if type(*[token]|myBattlefield)morethan~0 then tap
auto=if type(*[token]|myBattlefield)morethan~0 then scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Enchant creature -- When So Shiny enters the battlefield, if you control a token, tap enchanted creature, then scry 2. -- Enchanted creature doesn't untap during its controller's untap step.
mana={2}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=So Tiny
abilities=flash
target=creature
auto=aslongas(*|opponentgraveyard) -6/0 >=7
auto=aslongas(*|opponentgraveyard) -2/0 <7
text=Flash -- Enchant creature -- Enchanted creature gets -2/-0. It gets -6/-0 instead as long as its controller has seven or more cards in their graveyard.
mana={U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Soaring Show-Off
abilities=flying
auto=draw:1
auto=draw:1 opponent
text=Flying -- When Soaring Show-Off enters the battlefield, each player draws a card.
mana={2}{U}
type=Creature
subtype=Bird Warrior
power=2
toughness=2
[/card]
[card]
name=Soaring Thought-Thief
abilities=flash,flying
auto=aslongas(*|opponentGraveyard) lord(creature[rogue]|myBattlefield) 1/0 >7
auto=@combat(attacking) source(creature[rogue]|myBattlefield):deplete:2 opponent
text=Flash Flying -- As long as an opponent has eight or more cards in their graveyard, Rogues you control get +1/+0. -- Whenever one or more Rogues you control attack, each opponent mills two cards.
mana={U}{B}
type=Creature
subtype=Human Rogue
power=1
toughness=3
[/card]
[card]
name=Sojourner's Companion
abilities=affinityartifacts
aicode=activate target(land[artifact]|mylibrary) moveto(myhand)
autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[artifact]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Affinity for artifacts -- Artifact landcycling {2} ({2}, Discard this card: Search your library for an artifact land card, reveal it, put it into your hand, then shuffle.)
mana={7}
type=Artifact Creature
subtype=Salamander
power=4
toughness=4
[/card]
[card]
name=Sol Talisman
suspend(3)={1}
auto={T}:add{C}{C}
text=Suspend 3-{1} (Rather than cast this card from your hand, pay 1 and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- {T}: Add {C}{C}.
mana={0}
restriction=never
type=Artifact
[/card]
[card]
name=Sol, Advocate Eternal
abilities=flying,vigilance,partner
auto=@combat(attacking) source(this) restriction{type(creature[-blocking;attacking;iscommander]|myBattlefield)~morethan~1}:name(Support 4) target(<upto:4>creature|battlefield) counter(1/1)
auto=@combat(attacking) source(this) restriction{type(creature[-blocking;attacking;iscommander]|myBattlefield)~morethan~1}:name(Investigate 4 times) token(Clue)*4
auto=@combat(blocking) source(this) restriction{type(creature[-attacking;blocking;iscommander]|myBattlefield)~morethan~1}:name(Support 4) target(<upto:4>creature|battlefield) counter(1/1)
auto=@combat(blocking) source(this) restriction{type(creature[-attacking;blocking;iscommander]|myBattlefield)~morethan~1}:name(Investigate 4 times) token(Clue)*4
text=Legendary partner (You can have two commanders if this is one of them. The other one is promoted to legendary.) -- Flying, vigilance -- Teamwork - Whenever you attack or block with both Sol, Advocate Eternal and its partner, support 4 and investigate four times.
mana={G}{W}{U}{B}
type=Legendary Creature
subtype=Dragon Angel
power=4
toughness=4
[/card]
[card]
name=Solar Blaze
auto=lord(creature) dynamicability<!mytgt powerstrike itself!>
text=Each creature deals damage to itself equal to its power.
mana={2}{R}{W}
type=Sorcery
[/card]
[card]
name=Soldevi Adnate
auto={T}{S(creature[black;artifact;manacost=1])}:add{B}
auto={T}{S(creature[black;artifact;manacost=2])}:add{B}{B}
auto={T}{S(creature[black;artifact;manacost=3])}:add{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=4])}:add{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=5])}:add{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=6])}:add{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=7])}:add{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=8])}:add{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=9])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=10])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=11])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=12])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=13])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=14])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=15])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=16])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=17])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=18])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost=19])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
auto={T}{S(creature[black;artifact;manacost>=20])}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}{B}
text={T}, Sacrifice a black or artifact creature: Add to your mana pool an amount of {B} equal to the sacrificed creature's converted mana cost.
mana={1}{B}
type=Creature
subtype=Human Cleric
power=1
toughness=2
[/card]
[card]
name=Soldevi Digger
auto={2}:all(*[zpos=1]|mygraveyard) bottomoflibrary
text={2}: Put the top card of your graveyard on the bottom of your library.
mana={2}
type=Artifact
[/card]
[card]
name=Soldevi Machinist
auto={T} restriction{type(artifact|mybattlefield)~morethan~0}:add{C}{C}
text={T}: Add {2} to your mana pool. Spend this mana only to activate abilities of artifacts.
mana={1}{U}
type=Creature
subtype=Human Wizard Artificer
power=1
toughness=1
[/card]
[card]
name=Soldevi Sentry
auto={1}:regenerate && draw:1 opponent
text={1}: Choose target opponent. Regenerate Soldevi Sentry. When it regenerates this way, that player may draw a card.
mana={1}
type=Artifact Creature
subtype=Soldier
power=1
toughness=1
[/card]
[card]
name=Soldier Bas
type=Creature
subtype=Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Soldier Call
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Soldier Dec
type=Creature
subtype=Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Soldier Sec
type=Creature
subtype=Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Soldier Try
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Solemnity
abilities=poisonshroud
auto=countershroud(any) *[-planeswalker]|battlefield
auto=countershroud(any) player
text=Players can't get counters. -- Counters can't be put on artifacts, creatures, enchantments, or lands.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Solid Footing
abilities=flash
target=creature
auto=teach(creature) 1/1
auto=teach(creature[vigilance]) combattoughness
text=Flash -- Enchant creature -- Enchanted creature gets +1/+1. -- As long as enchanted creature has vigilance, it assigns combat damage equal to its toughness rather than its power.
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Solidarity of Heroes
abilities=hasnokicker,hasstrive
kicker=multi{1}{G} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
text=Strive - Solidarity of Heroes costs {1}{G} more to cast for each target beyond the first. -- Choose any number of target creatures. Double the number of +1/+1 counters on each of them.
mana={1}{G}
type=Instant
[/card]
[card]
name=Solitary Camel
auto=aslongas(Desert|mybattlefield,myGraveyard) lifelink
text=Solitary Camel has lifelink as long as you control a Desert or there is a Desert card in your graveyard. (Damage dealt by this creature also causes you to gain that much life.)
mana={2}{W}
type=Creature
subtype=Camel
power=3
toughness=2
[/card]
[card]
name=Solitude
abilities=flash,lifelink
other={E(*[white]|myhand)} name(Evoke)
auto=if paid(alternative) then sacrifice
auto=target(creature) moveto(exile) and!( transforms((,newability[life:power controller])) oneshot )!
text=Flash -- Lifelink -- When Solitude enters the battlefield, exile up to one other target creature. That creature's controller gains life equal to its power. -- Evoke-Exile a white card from your hand.
mana={3}{W}{W}
type=Creature
subtype=Elemental Incarnation
power=3
toughness=2
[/card]
[card]
name=Solve the Equation
auto=name(Search instant or sorcery) target(*[instant;sorcery]|mylibrary) moveto(myhand) and!( shuffle )!
text=Search your library for an instant or sorcery card, reveal it, put it into your hand, then shuffle.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Somberwald Beastmaster
auto=lord(creature|myBattlefield) deathtouch
auto=token(Wolf,Creature Wolf,2/2,green,tnum.11)
auto=token(Beast,Creature Beast,3/3,green,tnum.12)
auto=token(Beast,Creature Beast,4/4,green,tnum.13)
text=When Somberwald Beastmaster enters the battlefield, create a 2/2 green Wolf creature token, a 3/3 green Beast creature token, and a 4/4 green Beast creature token. -- Creature tokens you control have deathtouch.
mana={6}{G}
type=Creature
subtype=Human Ranger
power=1
toughness=1
[/card]
[card]
name=Somberwald Sage
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{W}{W}{W}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{G}{G}{G}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{R}{R}{R}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{U}{U}{U}
auto=this(variable{type:creature:myrestrictedcastingzone}>0) {T}:add{B}{B}{B}
text={T}: Add three mana of any one color to your mana pool. Spend this mana only to cast creature spells.
mana={2}{G}
type=Creature
subtype=Human Druid
power=0
toughness=1
[/card]
[card]
name=Song of Creation
auto=maxPlay(land)+1
auto=@movedto(*|myStak):draw:2 controller
auto=@each my end:moveTo(graveyard) all(*|myhand)
text=You may play an additional land on each of your turns. -- Whenever you cast a spell, draw two cards. -- At the beginning of your end step, discard your hand.
mana={1}{G}{U}{R}
type=Enchantment
[/card]
[card]
name=Song of Freyalise
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=lord(creature|myBattlefield) {T}:Add{W}
auto=lord(creature|myBattlefield) {T}:Add{U}
auto=lord(creature|myBattlefield) {T}:Add{B}
auto=lord(creature|myBattlefield) {T}:Add{R}
auto=lord(creature|myBattlefield) {T}:Add{G}
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature|myBattlefield) counter(1/1)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature|myBattlefield) vigilance
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature|myBattlefield) trample
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature|myBattlefield) indestructible
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Until your next turn, creatures you control gain "{T}: Add one mana of any color." -- III - Put a +1/+1 counter on each creature you control. Those creatures gain vigilance, trample, and indestructible until end of turn.
mana={1}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Song of Inspiration
auto=all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:name(Return permanents to hand) if compare(lastrollresult)~lessthan~11 then target(<upto:2>*[-instant;-sorcery]|mygraveyard) moveto(myhand) else transforms((,newability[moveto(myhand)],newability[life:manacost])) oneshot],newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot
text=Choose up to two target permanent cards in your graveyard. Roll a d20 and add the total mana value of those cards. -- 1-14 | Return those cards to your hand. -- 15+ | Return those cards to your hand. You gain life equal to their total mana value.
mana={3}{G}{G}
type=Instant
[/card]
[card]
name=Song of the Dryads
target=*|battlefield
auto=teach(creature) loseabilities
auto=teach(creature) transforms((removetypes,newability[becomes(Forest Land)],newability[{T}:add{G}])) forever
text=Enchant permanent -- Enchanted permanent is a colorless Forest land.
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Song of the Worldsoul
auto=@movedTo(*|mystack):ability$! _POPULATE_ !$ controller
text=Whenever you cast a spell, populate. (Create a token that's a copy of a creature token you control.)
mana={4}{W}{W}
type=Enchantment
[/card]
[card]
name=Song-Mad Ruins
auto=tap(noevent)
auto={T}:add{R}
text=Song-Mad Ruins enters the battlefield tapped. -- {T}: Add {R}. // {3}{R}{R} Song-Mad Treachery
type=Land
[/card]
[card]
name=Song-Mad Treachery
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Song-Mad Ruins)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Song-Mad Ruins) name(Song-Mad Ruins) flip(Song-Mad Ruins) forcetype(land)
auto=name(Gain control of target creature) name(Gain control of target creature) target(creature) moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. // Song-Mad Ruins
mana={3}{R}{R}
type=Sorcery
[/card]
[card]
name=Sonic Assault
target=creature
auto=tap 
auto=damage:2 targetcontroller
flashback={1}{U}{R}{D(*|myhand)}
text=Tap target creature. Sonic Assault deals 2 damage to that creature's controller. -- Jump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.)
mana={1}{U}{R}
type=Instant
[/card]
[card]
name=Sonorous Howlbonder
abilities=menace
auto=lord(creature[menace]|mybattlefield) transforms((,newability[threeblockers]))
text=Menace -- Each creature you control with menace can't be blocked except by three or more creatures.
mana={1}{BR}{BR}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Soothsayer Adept
auto={1}{U}{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=1{U}, {T}: Draw a card, then discard a card.
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=3
[/card]
[card]
name=Sorcerer Class
auto=counter(0/0,1,Level)
auto=draw:2 && transforms((,newability[name(Discard 2 cards) target(<2>*|myhand) reject])) oneshot
auto=this(variable{hascntlevel}=1) {U}{R}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=this(variable{hascntlevel}=2) lord(creature|myBattlefield) transforms((,newability[this(variable{type:*[class]:myBattlefield}>0) {T}:add{U}],newability[this(variable{type:*[class]:myBattlefield}>0) {T}:add{R}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{U}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{R}]))
auto=this(variable{hascntlevel}=2) {3}{U}{R}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~0}:name(Deals 1 damage) damage:1 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~1}:name(Deals 2 damage) damage:2 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~2}:name(Deals 3 damage) damage:3 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~3}:name(Deals 4 damage) damage:4 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~4}:name(Deals 5 damage) damage:5 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~5}:name(Deals 6 damage) damage:6 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~6}:name(Deals 7 damage) damage:7 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~7}:name(Deals 8 damage) damage:8 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~8}:name(Deals 9 damage) damage:9 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~9}:name(Deals 10 damage) damage:10 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~10}:name(Deals 11 damage) damage:11 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~11}:name(Deals 12 damage) damage:12 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~12}:name(Deals 13 damage) damage:13 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~13}:name(Deals 14 damage) damage:14 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~14}:name(Deals 15 damage) damage:15 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~15}:name(Deals 16 damage) damage:16 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~16}:name(Deals 17 damage) damage:17 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~17}:name(Deals 18 damage) damage:18 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~equalto~18}:name(Deals 19 damage) damage:19 opponent
auto=@movedTo(*[instant;sorcery]|mystack) restriction{compare(hascntlevel)~morethan~2,thisturn(*[instant;sorcery]|mystack)~morethan~18}:name(Deals 20 damage) damage:20 opponent
text=(Gain the next level as a sorcery to add its ability.) -- When Sorcerer Class enters the battlefield, draw two cards, then discard two cards. -- {U}{R}: Level 2 -- Creatures you control have "{T}: Add {U} or {R}. Spend this mana only to cast an instant or sorcery spell or to gain a Class level." -- {3}{U}{R}: Level 3 -- Whenever you cast an instant or sorcery spell, that spell deals damage to each opponent equal to the number of instant or sorcery spells you've cast this turn.
mana={U}{R}
type=Enchantment
subtype=Class
[/card]
[card]
name=Sorcerer of the Fang
auto={5}{B}{T}:damage:2 target(opponent,planeswalker)
text={5}{B}, {T}: Sorcerer of the Fang deals 2 damage to target opponent or planeswalker.
mana={1}{B}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Sorcerer's Broom
auto=@sacrificed(other *|mybattlefield):ability$!name(pay 3 for copy) pay[[{3}]] name(pay 2 for copy) token(Sorcerer's Broom)!$ controller
text=Whenever you sacrifice another permanent, you may pay {3}. If you do, create a token that's a copy of Sorcerer's Broom.
mana={2}
type=Artifact Creature
subtype=Spirit
power=2
toughness=1
[/card]
[card]
name=Sorcerer's Wand
auto=teach(creature) {T}:damage:1 target(player)
auto=teach(wizard) {T}:damage:2 target(player)
auto={3}:equip
text=Equipped creature has "{T}: This creature deals 1 damage to target player or planeswalker. If this creature is a Wizard, it deals 2 damage to that player or planeswalker instead." -- Equip {3}
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sorcerous Spyglass
auto=name(Look opponent hand) target(*|opponenthand) moveto(opponenthand) and!( chooseanameopp lord(*[chosenname]) noactivatedability chooseend )!
text=As Sorcerous Spyglass enters the battlefield, look at an opponent's hand, then choose any card name. -- Activated abilities of sources with the chosen name can't be activated unless they're mana abilities.
mana={2}
type=Artifact
[/card]
[card]
name=Sorin's Guide
auto=may moveto(myhand) target(Sorin^ Vampire Lord|mylibrary)
auto=may moveto(myhand) target(Sorin^ Vampire Lord|mygraveyard)
text=When Sorin's Guide enters the battlefield, you may search your library and/or graveyard for a card named Sorin, Vampire Lord, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{B}{B}
type=Creature
subtype=Vampire
power=4
toughness=2
[/card]
[card]
name=Soul Barrier
auto=@movedTo(creature|opponentstack):ability$!name(Pay 2 or damage) pay[[{2}]] name(pay 2 mana) donothing?damage:2 controller!$ opponent
text=Whenever an opponent casts a creature spell, Soul Barrier deals 2 damage to that player unless he or she pays {2}.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Soul Diviner
auto={T}:counter(1/1,-1) notATarget(*[artifact;creature;land;counter{1/1.1}]|myBattlefield)} && draw:1 controller
auto={T}:counter(0/0,-1,Loyalty) notATarget(planeswalker|myBattlefield)} && draw:1 controller
text={T}, Remove a counter from an artifact, creature, land, or planeswalker you control: Draw a card.
mana={U}{B}
type=Creature
subtype=Zombie Wizard
power=2
toughness=3
[/card]
[card]
name=Soul Exchange
other={B}{B}{E(creature[thrull]|mybattlefield)} name(Exile a thrull)
auto=if paid(alternative) then moveto(mybattlefield) target(creature|mygraveyard) && counter(2/2,1)
auto=ifnot paid(alternative) then moveto(mybattlefield) target(creature|mygraveyard)
text=As an additional cost to cast Soul Exchange, exile a creature you control. -- Return target creature card from your graveyard to the battlefield. Put a +2/+2 counter on that creature if the exiled creature was a Thrull.
mana={B}{B}{E(creature|mybattlefield)}
type=Sorcery
[/card]
[card]
name=Soul Foundry
auto=choice name(Don't exile any creature) donothing
auto=if type(creature[manacost=0]|myhand)~morethan~0 then choice name(Exile creature with manacost 0) name(Exile creature with manacost 0) transforms((,newability[moveto(exile) target(creature[manacost=0]|myhand)],newability[{T}:name(mana cost {0}) clone target(creature[manacost=0]|myexile)])) forever
auto=if type(creature[manacost=1]|myhand)~morethan~0 then choice name(Exile creature with manacost 1) name(Exile creature with manacost 1) transforms((,newability[moveto(exile) target(creature[manacost=1]|myhand)],newability[{T}{1}:name(mana cost {1}) clone target(creature[manacost=1]|myexile)])) forever
auto=if type(creature[manacost=2]|myhand)~morethan~0 then choice name(Exile creature with manacost 2) name(Exile creature with manacost 2) transforms((,newability[moveto(exile) target(creature[manacost=2]|myhand)],newability[{T}{2}:name(mana cost {2}) clone target(creature[manacost=2]|myexile)])) forever
auto=if type(creature[manacost=3]|myhand)~morethan~0 then choice name(Exile creature with manacost 3) name(Exile creature with manacost 3) transforms((,newability[moveto(exile) target(creature[manacost=3]|myhand)],newability[{T}{3}:name(mana cost {3}) clone target(creature[manacost=3]|myexile)])) forever
auto=if type(creature[manacost=4]|myhand)~morethan~0 then choice name(Exile creature with manacost 4) name(Exile creature with manacost 4) transforms((,newability[moveto(exile) target(creature[manacost=4]|myhand)],newability[{T}{4}:name(mana cost {4}) clone target(creature[manacost=4]|myexile)])) forever
auto=if type(creature[manacost=5]|myhand)~morethan~0 then choice name(Exile creature with manacost 5) name(Exile creature with manacost 5) transforms((,newability[moveto(exile) target(creature[manacost=5]|myhand)],newability[{T}{5}:name(mana cost {5}) clone target(creature[manacost=5]|myexile)])) forever
auto=if type(creature[manacost=6]|myhand)~morethan~0 then choice name(Exile creature with manacost 6) name(Exile creature with manacost 6) transforms((,newability[moveto(exile) target(creature[manacost=6]|myhand)],newability[{T}{6}:name(mana cost {6}) clone target(creature[manacost=6]|myexile)])) forever
auto=if type(creature[manacost=7]|myhand)~morethan~0 then choice name(Exile creature with manacost 7) name(Exile creature with manacost 7) transforms((,newability[moveto(exile) target(creature[manacost=7]|myhand)],newability[{T}{7}:name(mana cost {7}) clone target(creature[manacost=7]|myexile)])) forever
auto=if type(creature[manacost=8]|myhand)~morethan~0 then choice name(Exile creature with manacost 8) name(Exile creature with manacost 8) transforms((,newability[moveto(exile) target(creature[manacost=8]|myhand)],newability[{T}{8}:name(mana cost {8}) clone target(creature[manacost=8]|myexile)])) forever
auto=if type(creature[manacost=9]|myhand)~morethan~0 then choice name(Exile creature with manacost 9) name(Exile creature with manacost 9) transforms((,newability[moveto(exile) target(creature[manacost=9]|myhand)],newability[{T}{9}:name(mana cost {9}) clone target(creature[manacost=9]|myexile)])) forever
auto=if type(creature[manacost=10]|myhand)~morethan~0 then choice name(Exile creature with manacost 10) name(Exile creature with manacost 10) transforms((,newability[moveto(exile) target(creature[manacost=10]|myhand)],newability[{T}{10}:name(mana cost {10}) clone target(creature[manacost=10]|myexile)])) forever
auto=if type(creature[manacost=11]|myhand)~morethan~0 then choice name(Exile creature with manacost 11) name(Exile creature with manacost 11) transforms((,newability[moveto(exile) target(creature[manacost=11]|myhand)],newability[{T}{11}:name(mana cost {11}) clone target(creature[manacost=11]|myexile)])) forever
auto=if type(creature[manacost=12]|myhand)~morethan~0 then choice name(Exile creature with manacost 12) name(Exile creature with manacost 12) transforms((,newability[moveto(exile) target(creature[manacost=12]|myhand)],newability[{T}{12}:name(mana cost {12}) clone target(creature[manacost=12]|myexile)])) forever
auto=if type(creature[manacost=13]|myhand)~morethan~0 then choice name(Exile creature with manacost 13) name(Exile creature with manacost 13) transforms((,newability[moveto(exile) target(creature[manacost=13]|myhand)],newability[{T}{13}:name(mana cost {13}) clone target(creature[manacost=13]|myexile)])) forever
auto=if type(creature[manacost=14]|myhand)~morethan~0 then choice name(Exile creature with manacost 14) name(Exile creature with manacost 14) transforms((,newability[moveto(exile) target(creature[manacost=14]|myhand)],newability[{T}{14}:name(mana cost {14}) clone target(creature[manacost=14]|myexile)])) forever
auto=if type(creature[manacost=15]|myhand)~morethan~0 then choice name(Exile creature with manacost 15) name(Exile creature with manacost 15) transforms((,newability[moveto(exile) target(creature[manacost=15]|myhand)],newability[{T}{15}:name(mana cost {15}) clone target(creature[manacost=15]|myexile)])) forever
auto=if type(creature[manacost=16]|myhand)~morethan~0 then choice name(Exile creature with manacost 16) name(Exile creature with manacost 16) transforms((,newability[moveto(exile) target(creature[manacost=16]|myhand)],newability[{T}{16}:name(mana cost {16}) clone target(creature[manacost=16]|myexile)])) forever
auto=if type(creature[manacost=17]|myhand)~morethan~0 then choice name(Exile creature with manacost 17) name(Exile creature with manacost 17) transforms((,newability[moveto(exile) target(creature[manacost=17]|myhand)],newability[{T}{17}:name(mana cost {17}) clone target(creature[manacost=17]|myexile)])) forever
auto=if type(creature[manacost=18]|myhand)~morethan~0 then choice name(Exile creature with manacost 18) name(Exile creature with manacost 18) transforms((,newability[moveto(exile) target(creature[manacost=18]|myhand)],newability[{T}{18}:name(mana cost {18}) clone target(creature[manacost=18]|myexile)])) forever
auto=if type(creature[manacost=19]|myhand)~morethan~0 then choice name(Exile creature with manacost 19) name(Exile creature with manacost 19) transforms((,newability[moveto(exile) target(creature[manacost=19]|myhand)],newability[{T}{19}:name(mana cost {19}) clone target(creature[manacost=19]|myexile)])) forever
auto=if type(creature[manacost=20]|myhand)~morethan~0 then choice name(Exile creature with manacost 20) name(Exile creature with manacost 20) transforms((,newability[moveto(exile) target(creature[manacost=20]|myhand)],newability[{T}{20}:name(mana cost {20}) clone target(creature[manacost=20]|myexile)])) forever
text=Imprint - When Soul Foundry enters the battlefield, you may exile a creature card from your hand. -- {X}, {T}: Put a token that's a copy of the exiled card onto the battlefield. X is the converted mana cost of that card.
mana={4}
type=Artifact
[/card]
[card]
name=Soul Manipulation
auto=if type(creature|stack)~morethan~0 then choice name(Counter creature spell) name(Counter creature spell) target(creature|stack) fizzle
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature to hand) name(Return creature to hand) target(creature|mygraveyard) moveto(myhand)
auto=if type(creature|stack)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Choose both) name(Choose both) name(Choose both) target(creature|mygraveyard) moveto(myhand) and!( transforms((,newability[name(Counter creature) target(creature|stack) fizzle])) oneshot )!
text=Choose one or both Counter target creature spell; and/or return target creature card from your graveyard to your hand.
mana={1}{U}{B}
type=Instant
[/card]
[card]
name=Soul Salvage
target=<upto:2>creature|mygraveyard
auto=moveTo(ownerHand)
text=Return up to two target creature cards from your graveyard to your hand.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Soul Scourge
abilities=flying
auto=choice name(Target controller) transforms((,newability[life:-3 controller],newability[@movedTo(this|nonbattlezone) from(battlefield):life:3 controller])) forever
auto=choice name(Target opponent) transforms((,newability[life:-3 opponent],newability[@movedTo(this|nonbattlezone) from(battlefield):life:3 opponent])) forever
text=Flying -- When Soul Scourge enters the battlefield, target player loses 3 life. -- When Soul Scourge leaves the battlefield, that player gains 3 life.
mana={4}{B}
type=Creature
subtype=Nightmare Horror
power=3
toughness=2
[/card]
[card]
name=Soul Sear
target=creature,planeswalker
auto=damage:5
auto=-indestructible ueot
text=Soul Sear deals 5 damage to target creature or planeswalker. That permanent loses indestructible until end of turn.
mana={2}{R}
type=Instant
[/card]
[card]
name=Soul Shatter
auto=ability$!name(Sacrifice a creature or planeswalker) name(Sacrifice a creature or planeswalker) sacrifice notatarget(*[creature;planeswalker;manacost=convertedcost:highest:*:myBattlefield]|myBattlefield)!$ opponent
text=Each opponent sacrifices a creature or planeswalker with the highest converted mana cost among creatures and planeswalkers they control.
mana={2}{B}
type=Instant
[/card]
[card]
name=Soul Strings
target=<2>creature|mygraveyard
auto=transforms((,newability[pay[[{value:storedx}]] name(pay {value} mana) donothing?moveto(myhand)])) forever
text=Return two target creature cards from your graveyard to your hand unless any player pays {X}.
mana={X}{B}
type=Sorcery
[/card]
[card]
name=Soul of Eternity
anyzone=lifetotal/lifetotal cdaactive
autograveyard={7}{W}{W}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=Soul of Eternity's power and toughness are each equal to your life total. -- Encore {7}{W}{W} ({7}{W}{W}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={5}{W}{W}
type=Creature
subtype=Avatar
power=*
toughness=*
[/card]
[card]
name=Soul of Migration
abilities=flying
other={3}{W} name(Evoke)
auto=alternative sacrifice
auto=token(Bird,Creature Bird,1/1,white,flying)*2
text=Flying -- When Soul of Migration enters the battlefield, create two 1/1 white Bird creature tokens with flying. -- Evoke {3}{W} (You may cast this spell for its evoke cost. If you do, it's sacrificed when it enters the battlefield.)
mana={5}{W}{W}
type=Creature
subtype=Elemental
power=2
toughness=4
[/card]
[card]
name=Soul of Shandalar
abilities=first strike
auto={3}{R}{R}:damage:3 target(creature|opponentbattlefield) && damage:3 opponent
auto={3}{R}{R}:damage:3 target(creature|mybattlefield) && damage:3 controller
autograveyard={3}{R}{R}{E}:damage:3 target(creature|opponentbattlefield) && damage:3 opponent
autograveyard={3}{R}{R}{E}:damage:3 target(creature|mybattlefield) && damage:3 controller
text=First strike -- {3}{R}{R}: Soul of Shandalar deals 3 damage to target player and 3 damage to up to one target creature that player controls. -- {3}{R}{R}, Exile Soul of Shandalar from your graveyard: Soul of Shandalar deals 3 damage to target player and 3 damage to up to one target creature that player controls.
mana={4}{R}{R}
type=Creature
subtype=Avatar
power=6
toughness=6
[/card]
[card]
name=Soul of the Rapids
abilities=flying,opponentshroud
text=Flying -- Hexproof (This creature can't be the target of spells or abilities your opponents control.)
mana={3}{U}{U}
type=Creature
subtype=Elemental
power=3
toughness=2
[/card]
[card]
name=Soul-Guide Gryff
abilities=flying
auto=may name(Exile a card) target(*|graveyard) moveTo(exile)
text=Flying -- When Soul-Guide Gryff enters the battlefield, exile up to one target card from a graveyard.
type=Creature
subtype=Hippogriff Spirit
mana={4}{W}
power=3
toughness=4
[/card]
[card]
name=Soul-Guide Lantern
auto=moveTo(exile) target(*|Graveyard)
auto={T}{S}:moveTo(exile) all(*|opponentGraveyard)
auto={1}{T}{S}:draw:1 controller
text=When Soul-Guide Lantern enters the battlefield, exile target card from a graveyard. -- {T} -- , Sacrifice Soul-Guide Lantern: Exile each opponent's graveyard. -- 1 , {T}, Sacrifice Soul-Guide Lantern: Draw a card.
mana={1}
type=Artifact
[/card]
[card]
name=Soul-Scar Mage
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=@damaged(creature|opponentbattlefield) from(*[-attacking;-blocking;-blocked]|mybattlefield):all(trigger[to]) counter(-1/-1,thatmuch)
auto=@damaged(creature|opponentbattlefield) from(*[-attacking;-blocking;-blocked]|mybattlefield):all(trigger[to]) 0/thatmuch ueot
auto=@damaged(creature|opponentbattlefield) from(*|mystack):all(trigger[to]) counter(-1/-1,thatmuch)
auto=@damaged(creature|opponentbattlefield) from(*|mystack):all(trigger[to]) 0/thatmuch ueot
text=Prowess -- If a source you control would deal noncombat damage to a creature an opponent controls, put that many -1/-1 counters on that creature instead.
mana={R}
type=Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Soul-Strike Technique
target=creature
auto=teach(creature) 1/1
auto=teach(creature) vigilance
auto=@movedTo(mytgt|graveyard) from(battlefield):manifest all(*[zpos<=1]|mylibrary)
text=Enchant creature -- Enchanted creature gets +1/+1 and has vigilance. -- When enchanted creature dies, manifest the top card of your library. (Put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.)
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Soulblade Corrupter
abilities=deathtouch,partner
auto=may name(Put partner in hand) moveto(myhand) target(soulblade renewer|mylibrary)
auto=@combat(attacking) source(creature[counter{1/1.1}]|mybattlefield):deathtouch ueot
text=Partner with Soulblade Renewer (When this creature enters the battlefield, target player may put Soulblade Renewer into their hand from their library, then shuffle.) -- Deathtouch -- Whenever a creature with a +1/+1 counter on it attacks one of your opponents, that creature gains deathtouch until end of turn.
mana={4}{B}
type=Creature
subtype=Human Warrior
power=3
toughness=3
[/card]
[card]
name=Soulblade Renewer
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(soulblade corrupter|mylibrary)
auto=target(<upto:2>other creature|battlefield) counter(1/1) 
text=Partner with Soulblade Corrupter (When this creature enters the battlefield, target player may put Soulblade Corrupter into their hand from their library, then shuffle.) -- When Soulblade Renewer enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.)
mana={4}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Soulfire Eruption
auto=choice name(Choose opponent) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost opponent])) ueot )! all(*[zpos=1]|mylibrary)
auto=choice name(Choose 1 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=1]|mylibrary)
auto=choice name(Choose 2 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=2]|mylibrary)
auto=choice name(Choose 3 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=3]|mylibrary)
auto=choice name(Choose 4 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=4]|mylibrary)
auto=choice name(Choose 5 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=5]|mylibrary)
auto=choice name(Choose 6 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=6]|mylibrary)
auto=choice name(Choose 7 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=7]|mylibrary)
auto=choice name(Choose 8 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=8]|mylibrary)
auto=choice name(Choose 9 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=9]|mylibrary)
auto=choice name(Choose 10 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=10]|mylibrary)
auto=choice name(Choose 11 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=11]|mylibrary)
auto=choice name(Choose 12 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=12]|mylibrary)
auto=choice name(Choose 13 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=13]|mylibrary)
auto=choice name(Choose 14 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=14]|mylibrary)
auto=choice name(Choose 15 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=15]|mylibrary)
auto=choice name(Choose 16 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=16]|mylibrary)
auto=choice name(Choose 17 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=17]|mylibrary)
auto=choice name(Choose 18 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=18]|mylibrary)
auto=choice name(Choose 19 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=19]|mylibrary)
auto=choice name(Choose 20 creatures or planeswalkers) moveto(exile) and!( transforms((,canplayfromexile,newability[damage:manacost target(*[creature;planeswalker]|battlefield)])) ueot )! all(*[zpos<=20]|mylibrary)
text=Choose any number of target creatures, planeswalkers, and/or players. For each of them, exile the top card of your library, then Soulfire Eruption deals damage equal to that card's converted mana cost to that permanent or player. You may play the exiled cards until the end of your next turn.
mana={6}{R}{R}{R}
type=Sorcery
[/card]
[card]
name=Soulgorger Orgg
auto=count(lifetotal) && lifeset:1 controller
auto=@movedto(this|nonbattlezone) from(battlefield):lifeset:countedamount controller
abilities=trample
text=Trample -- When Soulgorger Orgg enters the battlefield, you lose all but 1 life. -- When Soulgorger Orgg leaves the battlefield, you gain life equal to the life you lost when it entered the battlefield.
mana={3}{R}{R}
type=Creature
subtype=Nightmare Orgg
power=6
toughness=6
[/card]
[card]
name=Soulherder
auto=@movedto(creature|exile) from(battlefield):counter(1/1) all(this)
auto=@each my end:may name(Move to exile) target(other *[creature]|mybattlefield) moveto(exile) and!(moveto(mybattlefield))!
text=Whenever a creature is exiled from the battlefield, put a +1/+1 counter on Soulherder. -- At the beginning of your end step, you may exile another target creature you control, then return that card to the battlefield under its owner's control.
mana={1}{W}{U}
type=Creature
subtype=Spirit
power=1
toughness=1
[/card]
[card]
name=Soulhunter Rakshasa
abilities=cantblock
auto=damage:5 target(opponent)
text=Soulhunter Rakshasa can't block. -- When Soulhunter Rakshasa enters the battlefield, it deals 5 damage to target opponent.
mana={3}{B}{B}
type=Creature
subtype=Cat Demon
power=5
toughness=5
[/card]
[card]
name=Soulknife Spy
auto=@combatdamaged(player) from(this):name(Draw a card) draw:1 controller
text=Whenever Soulknife Spy deals combat damage to a player, draw a card.
mana={2}{U}
type=Creature
subtype=Elf Rogue
power=3
toughness=2
[/card]
[card]
name=Soulreaper of Mogis
auto={2}{B}{S(creature|myBattlefield)}:Draw:1 controller
text={2}{B}, Sacrifice a creature: Draw a card.
mana={2}{B}
type=Enchantment Creature
subtype=Minotaur Shaman
power=2
toughness=3
[/card]
[card]
name=Soulstinger
auto=name(Put two -1/-1 counters) name(Put two -1/-1 counters) counter(-1/-1,2) target(creature)
auto=_DIES_this(counter{-1/-1}=1) ability$!name(Put -1/-1 counter) may name(Put -1/-1 counter) target(creature) counter(-1/-1,1)!$ controller
auto=_DIES_this(counter{-1/-1}=2) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,2)!$ controller
auto=_DIES_this(counter{-1/-1}=3) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,3)!$ controller
auto=_DIES_this(counter{-1/-1}=4) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,4)!$ controller
auto=_DIES_this(counter{-1/-1}=5) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,5)!$ controller
auto=_DIES_this(counter{-1/-1}=6) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,6)!$ controller
auto=_DIES_this(counter{-1/-1}=7) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,7)!$ controller
auto=_DIES_this(counter{-1/-1}=8) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,8)!$ controller
auto=_DIES_this(counter{-1/-1}=9) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,9)!$ controller
auto=_DIES_this(counter{-1/-1}=10) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,10)!$ controller
auto=_DIES_this(counter{-1/-1}=11) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,11)!$ controller
auto=_DIES_this(counter{-1/-1}=12) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,12)!$ controller
auto=_DIES_this(counter{-1/-1}=13) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,13)!$ controller
auto=_DIES_this(counter{-1/-1}=14) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,14)!$ controller
auto=_DIES_this(counter{-1/-1}=15) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,15)!$ controller
auto=_DIES_this(counter{-1/-1}=16) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,16)!$ controller
auto=_DIES_this(counter{-1/-1}=17) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,17)!$ controller
auto=_DIES_this(counter{-1/-1}=18) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,18)!$ controller
auto=_DIES_this(counter{-1/-1}=19) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,19)!$ controller
auto=_DIES_this(counter{-1/-1}>=20) ability$!name(Put -1/-1 counters) may name(Put -1/-1 counters) target(creature) counter(-1/-1,20)!$ controller
text=When Soulstinger enters the battlefield, put two -1/-1 counters on target creature you control. -- When Soulstinger dies, you may put a -1/-1 counter on target creature for each -1/-1 counter on Soulstinger.
mana={3}{B}
type=Creature
subtype=Scorpion Demon
power=4
toughness=5
[/card]
[card]
name=Souvenir Snatcher
abilities=flying,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={5}{U} name(Mutate)
auto=transforms((,newability[@mutated(this):target(artifact[-creature]|opponentbattlefield) moveTo(myBattlefield)]))
auto=ifnot paid(alternative) then transforms((,newability[becomes(,,blue)])) forever all(this)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield) && transforms((,newability[becomes(,,blue)])) forever
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {5}{U} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying -- Whenever this creature mutates, gain control of target noncreature artifact.
mana={4}{U}
type=Creature
subtype=Bird
power=4
toughness=4
[/card]
[card]
name=Sovereign's Bite
target=player
auto=life:-3
auto=life:3 controller
text=Target player loses 3 life and you gain 3 life.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Sovereign's Realm
abilities=isconspiracy
restriction=never
autocommandzone=all(land[basic]|myhand,mylibrary,mycommandzone,myexile,mygraveyard,myBattlefield) moveto(mysideboard)
autocommandzone=discard:phandcount && transforms((,newability[draw:5 controller])) oneshot
autocommandzone={E(*|myhand)} restriction{can play land}:name(Choose basic land in sideboard) name(Choose basic land in sideboard) target(land[basic]|mysideboard) moveto(myhand) and!( transforms((,newability[@each endofturn:moveto(mysideboard)])) ueot )! limit:1
autocommandzone=lord(land[basic]|myBattlefield) transforms((,newability[{T}:add{B}],newability[{T}:add{U}],newability[{T}:add{G}],newability[{T}:add{R}],newability[{T}:add{W}]))
text=(Start the game with this conspiracy face up in the command zone.) -- Your deck can't have basic land cards and your starting hand size is five. -- Exile a card from your hand: This turn, you may play basic land cards from outside the game. -- Basic lands you control have "{T}: Add one mana of any color to your mana pool."
type=Conspiracy
[/card]
[card]
name=Sovereigns of Lost Alara
abilities=exalted
auto=@combat(attackedalone) source(creature|myBattlefield):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>aura|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[activate castcard(normal)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Exalted (Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn.) -- Whenever a creature you control attacks alone, you may search your library for an Aura card that could enchant that creature, put it onto the battlefield attached to that creature, then shuffle your library.
mana={4}{W}{U}
type=Creature
subtype=Spirit
power=4
toughness=5
[/card]
[card]
name=Sower of Discord
abilities=flying
auto=@damageof(player):damage:thatmuch opponent
text=Flying -- As Sower of Discord enters the battlefield, choose two players. -- Whenever damage is dealt to one of the chosen players, the other chosen player also loses that much life.
mana={4}{B}{B}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
[card]
name=Sower of Temptation
abilities=flying
auto=name(Gain control of creature) target(creature|opponentbattlefield) steal
text=Flying -- When Sower of Temptation enters the battlefield, gain control of target creature for as long as Sower of Temptation remains on the battlefield.
mana={2}{U}{U}
type=Creature
subtype=Faerie Wizard
power=2
toughness=2
[/card]
[card]
name=Spare Dagger
auto={1}:equip
auto=teach(creature) 1/0
auto=@combat(attacking) source(mytgt):may name(Sacrifice and deal damage) target(Spare Dagger[attached]|mybattlefield) transforms((,newability[sacrifice],newability[name(Deal 1 damage) damage:1 target(player^creature^planeswalker)])) ueot
text=Equipped creature gets +1/+0 and has "Whenever this creature attacks, you may sacrifice Spare Dagger. When you do, this creature deals 1 damage to any target." -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Spare Supplies
auto=tap(noevent)
auto=draw:1 controller
auto={2}{T}{S}:draw:1 controller
text=Spare Supplies enters the battlefield tapped. -- When Spare Supplies enters the battlefield, draw a card. -- {2}, {T}, Sacrifice Spare Supplies: Draw a card.
mana={2}
type=Artifact
[/card]
[card]
name=Spark Double
auto=choice name(Don't copy anything) donothing
auto=choice name(Copy creature) target(creature|mybattlefield) copy options(nolegend) and!( counter(1/1) )!
auto=choice name(Copy planeswalker) target(planeswalker|mybattlefield) copy options(nolegend) and!( counter(0/0,1,Loyalty) )!
text=You may have Spark Double enter the battlefield as a copy of a creature or planeswalker you control, except it enters with an additional +1/+1 counter on it if it's a creature, it enters with an additional loyalty counter on it if it's a planeswalker, and it isn't legendary if that permanent is legendary.
mana={3}{U}
type=Creature
subtype=Illusion
power=0
toughness=0
[/card]
[card]
name=Spark Harvest
target=creature,planeswalker
auto=destroy
other={3}{B}{B} name(cast for {3}{B}{B})
text=As an additional cost to cast this spell, sacrifice a creature or pay {3}{B}. -- Destroy target creature or planeswalker.
mana={B}{S(creature|myBattlefield)}
type=Sorcery
[/card]
[card]
name=Spark Reaper
auto={3}{S(*[creature;planeswalker]|myBattlefield)}:life:1 && draw:1
text={3}, Sacrifice a creature or planeswalker: You gain 1 life and draw a card.
mana={2}{B}
type=Creature
subtype=Zombie
power=2
toughness=3
[/card]
[card]
name=Sparkhunter Masticore
auto=protection from(planeswalker)
auto={1}:damage:1 target(planeswalker)
auto={3}:indestructible ueot
text=As an additional cost to cast this spell, discard a card. -- Protection from planeswalkers -- {1}: Sparkhunter Masticore deals 1 damage to target planeswalker. -- {3}: Sparkhunter Masticore gains indestructible until end of turn.
mana={3}{D(*|myHand)}
type=Artifact Creature
subtype=Masticore
power=3
toughness=4
[/card]
[card]
name=Sparktongue Dragon
abilities=flying
auto=may pay({2}{r}):damage:3 target(player,creature,planeswalker)
text=Flying -- When Sparktongue Dragon enters the battlefield, you may pay {2}{R}. When you do, it deals 3 damage to any target.
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=3
toughness=3
[/card]
[card]
name=Sparring Construct
auto=_DIES_counter(1/1) target(creature|myBattlefield)
text=When Sparring Construct dies, put a +1/+1 counter on target creature you control.
mana={1}
type=Artifact Creature
subtype=Construct
power=1
toughness=1
[/card]
[card]
name=Sparring Mummy
auto=untap target(creature)
text=When Sparring Mummy enters the battlefield, untap target creature.
mana={3}{W}
type=Creature
subtype=Zombie
power=3
toughness=3
[/card]
[card]
name=Sparring Regimen
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
auto=@each my blockers:name(Put 1/1 counter) target(creature[attacking]|myBattlefield) transforms((,newability[counter(1/1),newability[untap])) oneshot
text=When Sparring Regimen enters the battlefield, learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.) -- Whenever you attack, put a +1/+1 counter on target attacking creature and untap it.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Spawn of Mayhem
abilities=flying, trample
auto=@each my upkeep:damage:1 controller && damage:1 opponent && if compare(lifetotal)~lessthan~10 then counter(1/1)
text=Spectacle {1}{B}{B} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.) -- Flying, trample -- At the beginning of your upkeep, Spawn of Mayhem deals 1 damage to each player. Then if you have 10 or less life, put a +1/+1 counter on Spawn of Mayhem.
other={1}{B}{B} name(Spectacle)
otherrestriction=compare(oplifelost)~morethan~0
mana={2}{B}{B}
type=Creature
subtype=Demon
power=4
toughness=4
[/card]
[card]
name=Spawning Kraken
auto=@combatdamaged(player) from(*[kraken;leviathan;octopus;serpent]|myBattlefield):token(Kraken,Creature Kraken,9/9,blue)
text=Whenever a Kraken, Leviathan, Octopus, or Serpent you control deals combat damage to a player, create a 9/9 blue Kraken creature token.
mana={5}{U}
type=Creature
subtype=Kraken
power=6
toughness=6
[/card]
[card]
name=Speaker of the Heavens
abilities=vigilance,lifelink
auto={T}:token(Angel Spe) restriction{compare(lifetotalminusstartinglifeminusend)~morethan~6} asSorcery
text=Vigilance, lifelink -- {T}: Create a 4/4 white Angel creature token with flying. Activate this ability only if you have at least 7 life more than your starting life total and only any time you could cast a sorcery.
mana={W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Spear Spewer
abilities=defender
auto={T}:damage:1 opponent && damage:1 controller
text=Defender -- {T}: Spear Spewer deals 1 damage to each player.
mana={R}
type=Creature
subtype=Goblin Warrior
power=0
toughness=2
[/card]
[card]
name=Species Specialist
auto=chooseatype transforms((,newability[@movedTo(creature[chosentype]|myGraveyard)}:may draw:1 controller])) forever chooseend
text=As Species Specialist enters the battlefield, choose a creature type. -- Whenever a creature of the chosen type dies, you may draw a card.
mana={2}{B}{B}
type=Creature
subtype=Human Warrior
power=2
toughness=3
[/card]
[card]
name=Specimen Collector
auto=token(Squirrel,Creature Squirrel,1/1,green)
auto=name(Create crab) token(Crab)
auto=_DIES_name(Copy token) clone target(*[token]|mybattlefield)
text=When Specimen Collector enters the battlefield, create a 1/1 green Squirrel creature token and a 0/3 blue Crab creature token. -- When Specimen Collector dies, create a token that's a copy of target token you control.
mana={4}{U}
type=Creature
subtype=Vedalken Wizard
power=2
toughness=1
[/card]
[card]
name=Spectacle Mage
abilities=flying
auto=lord(instant[manacost>=5]|mycastingzone) changecost(colorless:-1) forcedalive
auto=lord(instant[manacost>=5]|mycastingzone) changecost(colorless:-1) forcedalive
text=Flying -- Instant and sorcery spells you cast with mana value 5 or greater cost 1 less to cast.
mana={1}{U}{R}
type=Creature
subtype=Bird Shaman
power=2
toughness=2
[/card]
[card]
name=Spectator Seating
auto=tap(noevent)
auto={T}:add{R}
auto={T}:add{W}
text=Spectator Seating enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {R} or {W}.
type=Land
[/card]
[card]
name=Specter of the Fens
abilities=flying
auto={5}{B}:life:-2 opponent && life:2 controller
text=Flying -- {5}{B}: Target opponent loses 2 life and you gain 2 life.
mana={3}{B}
type=Creature
subtype=Specter
power=2
toughness=3
[/card]
[card]
name=Specter's Shriek
auto=if type(*[-land]|opponenthand)~morethan~0 then name(Exile an opponent card) name(Exile an opponent card) target(*[-land]|opponenthand) moveto(exile) and!( if cantargetcard(*[-black]|*) then ability$!name(Exile a card) name(Exile a card) target(*|myhand) moveto(exile)!$ controller )!
auto=if type(*[-land]|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
text=Target opponent reveals their hand. You may choose a nonland card from it. If you do, that player exiles that card. If a nonblack card is exiled this way, exile a card from your hand.
mana={B}
type=Sorcery
[/card]
[card]
name=Spectral Adversary
abilities=flash,flying
auto=choice name(Don't add any counter) donothing
auto=choice name(Add 1 counter) ability$!may name(Pay to add 1 counter) pay({1}{U}) name(Pay for 1 counter) all(mysource) name(Pay to add 1 counter) transforms((,newability[counter(1/1.1)],newability[name(Phase out 1 target) target(*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 2 counters) ability$!may name(Pay to add 2 counters) pay({2}{U}{U}) name(Pay for 2 counters) all(mysource) name(Pay to add 2 counters) transforms((,newability[counter(1/1.2)],newability[name(Phase out 2 targets) target(<2>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 3 counters) ability$!may name(Pay to add 3 counters) pay({3}{U}{U}{U}) name(Pay for 3 counters) all(mysource) name(Pay to add 3 counters) transforms((,newability[counter(1/1.3)],newability[name(Phase out 3 targets) target(<3>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 4 counters) ability$!may name(Pay to add 4 counters) pay({4}{U}{U}{U}{U}) name(Pay for 4 counters) all(mysource) name(Pay to add 4 counters) transforms((,newability[counter(1/1.4,newability[name(Phase out 4 targets) target(<4>*[artifact;enchantment;creature]|battlefield) phaseout)])) ueot!$ controller
auto=choice name(Add 5 counters) ability$!may name(Pay to add 5 counters) pay({5}{U}{U}{U}{U}{U}) name(Pay for 5 counters) all(mysource) name(Pay to add 5 counters) transforms((,newability[counter(1/1.5)],newability[name(Phase out 5 targets) target(<5>*[artifact;enchantment;creature]|battlefield) phaseout)) ueot!$ controller
auto=choice name(Add 6 counters) ability$!may name(Pay to add 6 counters) pay({6}{U}{U}{U}{U}{U}{U}) name(Pay for 6 counters) all(mysource) name(Pay to add 6 counters) transforms((,newability[counter(1/1.6)],newability[name(Phase out 6 targets) target(<6>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 7 counters) ability$!may name(Pay to add 7 counters) pay({7}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 7 counters) all(mysource) name(Pay to add 7 counters) transforms((,newability[counter(1/1.7)],newability[name(Phase out 7 targets) target(<7>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 8 counters) ability$!may name(Pay to add 8 counters) pay({8}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 8 counters) all(mysource) name(Pay to add 8 counters) transforms((,newability[counter(1/1.8)],newability[name(Phase out 8 targets) target(<8>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 9 counters) ability$!may name(Pay to add 9 counters) pay({9}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 9 counters) all(mysource) name(Pay to add 9 counters) transforms((,newability[counter(1/1.9)],newability[name(Phase out 9 targets) target(<9>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 10 counters) ability$!may name(Pay to add 10 counters) pay({10}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 10 counters) all(mysource) name(Pay to add 10 counters) transforms((,newability[counter(1/1.10)],newability[name(Phase out 10 targets) target(<10>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 11 counters) ability$!may name(Pay to add 11 counters) pay({11}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 11 counters) all(mysource) name(Pay to add 11 counters) transforms((,newability[counter(1/1.11)],newability[name(Phase out 11 targets) target(<11>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 12 counters) ability$!may name(Pay to add 12 counters) pay({12}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 12 counters) all(mysource) name(Pay to add 12 counters) transforms((,newability[counter(1/1.12)],newability[name(Phase out 12 targets) target(<12>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 13 counters) ability$!may name(Pay to add 13 counters) pay({13}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 13 counters) all(mysource) name(Pay to add 13 counters) transforms((,newability[counter(1/1.13)],newability[name(Phase out 13 targets) target(<13>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 14 counters) ability$!may name(Pay to add 14 counters) pay({14}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 14 counters) all(mysource) name(Pay to add 14 counters) transforms((,newability[counter(1/1.14)],newability[name(Phase out 14 targets) target(<14>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 15 counters) ability$!may name(Pay to add 15 counters) pay({15}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 15 counters) all(mysource) name(Pay to add 15 counters) transforms((,newability[counter(1/1.15)],newability[name(Phase out 15 targets) target(<15>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 16 counters) ability$!may name(Pay to add 16 counters) pay({16}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 16 counters) all(mysource) name(Pay to add 16 counters) transforms((,newability[counter(1/1.16)],newability[name(Phase out 16 targets) target(<16>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 17 counters) ability$!may name(Pay to add 17 counters) pay({17}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 17 counters) all(mysource) name(Pay to add 17 counters) transforms((,newability[counter(1/1.17)],newability[name(Phase out 17 targets) target(<17>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 18 counters) ability$!may name(Pay to add 18 counters) pay({18}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 18 counters) all(mysource) name(Pay to add 18 counters) transforms((,newability[counter(1/1.18)],newability[name(Phase out 18 targets) target(<18>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 19 counters) ability$!may name(Pay to add 19 counters) pay({19}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 19 counters) all(mysource) name(Pay to add 19 counters) transforms((,newability[counter(1/1.19)],newability[name(Phase out 19 targets) target(<19>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
auto=choice name(Add 20 counters) ability$!may name(Pay to add 20 counters) pay({20}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}) name(Pay for 20 counters) all(mysource) name(Pay to add 20 counters) transforms((,newability[counter(1/1.20)],newability[name(Phase out 20 targets) target(<20>*[artifact;enchantment;creature]|battlefield) phaseout])) ueot!$ controller
text=Flash -- Flying -- When Spectral Adversary enters the battlefield, you may pay {1}{U} any number of times. When you pay this cost one or more times, put that many +1/+1 counters on Spectral Adversary, then up to that many other target artifacts, creatures, and/or enchantments phase out.
type=Creature
subtype=Spirit
mana={1}{U}
power=2
toughness=1
[/card]
[card]
name=Spectral Deluge
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{U}{U} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=moveto(ownerhand) all(creature[toughness<=type:island:mybattlefield]|opponentbattlefield)
text=Return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control. -- Foretell {1}{U}{U} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={4}{U}{U}
type=Sorcery
[/card]
[card]
name=Spectral Grasp
target=creature
auto=cantattack
auto=cantpwattack
auto=cantblock
text=Enchant creature -- Enchanted creature can't attack you or a planeswalker you control. -- Enchanted creature can't block creatures you control.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Spectral Sailor
abilities=flash,flying
auto={3}{U}:draw:1
text=Flash (You may cast this spell any time you could cast an instant.) -- Flying -- {3}{U}: Draw a card.
mana={U}
type=Creature
subtype=Spirit Pirate
power=1
toughness=1
[/card]
[card]
name=Spectral Steel
target=creature
auto=teach(creature) 2/2
autograveyard={1}{W}{E}:name(Return aura or equipment) target(other *[aura;equipment]|mygraveyard) moveto(myhand)
text=Enchant creature -- Enchanted creature gets +2/+2. -- {1}{W}, Exile Spectral Steel from your graveyard: Return another target Aura or Equipment card from your graveyard to your hand.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Spell Crumple
target=*|stack
auto=fizzleto(librarybottom)
auto=ability$!bottomoflibrary all(Spell Crumple|mystack)!$ controller
text=Counter target spell. If that spell is countered this way, put it on the bottom of its owner's library instead of into that player's graveyard. Put Spell Crumple on the bottom of its owner's library.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Spell Satchel
auto=@movedto(*[instant;sorcery]|mystack):counter(0/0,1,Book)
auto={T}{C(0/0,-1,Book)}:name(Add 1 mana) add{C}
auto={3}{T}{C(0/0,-3,Book)}:name(Draw 1 card) draw:1 controller
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, put a book counter on Spell Satchel. -- {T}, Remove a book counter from Spell Satchel: Add {C}. -- {3}, {T}, Remove three book counters from Spell Satchel: Draw a card.
mana={2}
type=Artifact
[/card]
[card]
name=Spell Snuff
target=*|stack
auto=fizzle
auto=this(controllerlife < 6) draw:1
text=Counter target spell. -- Fateful hour - If you have 5 or less life, draw a card.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Spell Swindle
target=*|stack
auto=fizzle
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then token(Treasure Sur)*storedmanacost
text=Counter target spell. Create X colorless Treasure artifact tokens, where X is that spell's converted mana cost. They have "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={3}{U}{U}
type=Instant
[/card]
[card]
name=Spell Syphon
auto=*|stack
auto=if cantargetcard(*|opponentstack) then transforms((,newability[pay[[{value:type:*[blue]:opponentbattlefield}]] name(pay {value} mana) donothing?fizzle])) forever else transforms((,newability[pay[[{value:type:*[blue]:mybattlefield}]] name(pay {value} mana) donothing?fizzle])) forever
text=Counter target spell unless its controller pays {1} for each blue permanent you control.
mana={1}{U}
type=Instant
[/card]
[card]
name=Spellbreaker Behemoth
abilities=nofizzle
auto=lord(creature[manacost>=5]|mystack) nofizzle
text=Spellbreaker Behemoth can't be countered. -- Creature spells you control with power 5 or greater can't be countered.
mana={1}{R}{G}{G}
type=Creature
subtype=Beast
power=5
toughness=5
[/card]
[card]
name=Spelleater Wolverine
auto=aslongas(*[instant;sorcery]|myGraveyard) double strike >2
text=Spelleater Wolverine has double strike as long as there are three or more instant and/or sorcery cards in your graveyard.
mana={2}{R}
type=Creature
subtype=Wolverine
power=3
toughness=2
[/card]
[card]
name=Spellgorger Weird
auto=@movedTo(*[-creature]|mystack):counter(1/1)
text=Whenever you cast a noncreature spell, put a +1/+1 counter on Spellgorger Weird.
mana={2}{R}
type=Creature
subtype=Weird
power=2
toughness=2
[/card]
[card]
name=Spelljack
target=*[-nofizzle]|stack
auto=fizzleto(exile) && ability$!name(Can cast countered card) name(Can cast countered card) target(*[fresh]|exile) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast],newability[@each beginofturn:name(Can play from exile) transforms((,newability[canplayfromexile],newability[zerocast])) forever])) forever )! !$ controller
text=Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. You may play it without paying its mana cost for as long as it remains exiled. (If it has X in its mana cost, X is 0.)
mana={3}{U}{U}{U}
type=Instant
[/card]
[card]
name=Spellkeeper Weird
auto={2}{T}{S}:target(instant,sorcery|mygraveyard) moveto(ownerhand)
text={2}, {T}, Sacrifice Spellkeeper Weird: Return target instant or sorcery card from your graveyard to your hand.
mana={2}{U}
type=Creature
subtype=Weird
power=1
toughness=4
[/card]
[card]
name=Spellpyre Phoenix
abilities=flying,cycling
auto=moveTo(myHand) target(*[instant;sorcery;cycling]|myGraveyard)
autograveyard=if type(@cycled(*|myHand)~morethan~2 then moveTo(myhand) target(Spellpyre Phoenix|myGraveyard))
text=Flying -- When Spellpyre Phoenix enters the battlefield, you may return target instant or sorcery card with a cycling ability from your graveyard to your hand. -- At the beginning of each end step, if you cycled two or more cards this turn, return Spellpyre Phoenix from your graveyard to your hand.
mana={3}{R}{R}
type=Creature
subtype=Phoenix
power=4
toughness=2
[/card]
[card]
name=Spellrune Howler
abilities=nightbound
backside=Spellrune Painter
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=@movedTo(*[instant;sorcery]|mystack):name(Gets 2/2) 2/2 ueot
text=Whenever you cast an instant or sorcery spell, Spellrune Howler gets +2/+2 until end of turn. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Spellrune Painter
type=Creature
subtype=Werewolf
color=red
power=3
toughness=4
[/card]
[card]
name=Spellrune Painter
abilities=daybound
backside=Spellrune Howler
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@movedTo(*[instant;sorcery]|mystack):name(Gets 1/1) 1/1 ueot
text=Whenever you cast an instant or sorcery spell, Spellrune Painter gets +1/+1 until end of turn. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Spellrune Howler
mana={2}{R}
type=Creature
subtype=Human Shaman Werewolf
power=2
toughness=3
[/card]
[card]
name=Spellseeker
auto=may  moveTo(myHand) target(*[instant;sorcery;manacost<=2]|myLibrary)
text=When Spellseeker enters the battlefield, you may search your library for an instant or sorcery card with converted mana cost 2 or less, reveal it, put it into your hand, then shuffle your library.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[card]
name=Spellshift
target=*|stack
auto=fizzle
auto=Reveal:1 revealzone(targetcontrollerlibrary) revealuntil(*[instant;sorcery]|targetcontrollerlibrary) optionone choice name(Put in play) target(*[instant;sorcery]|reveal) activate castcard(normal) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend revealend
text=Counter target instant or sorcery spell. Its controller reveals cards from the top of his or her library until he or she reveals an instant or sorcery card. That player may cast that card without paying its mana cost. Then he or she shuffles his or her library.
mana={3}{U}
type=Instant
[/card]
[card]
name=Spelltwine
target=*[instant;sorcery]|mygraveyard
auto=moveto(exile) all(this)
auto=moveto(myexile) && activate castcard(copied)
auto=target(*[instant;sorcery]|opponentgraveyard) moveto(opponentexile) && activate castcard(copied)
text=Exile target instant or sorcery card from your graveyard and target instant or sorcery card from an opponent's graveyard. Copy those cards. Cast the copies if able without paying their mana costs. Exile Spelltwine.
mana={5}{U}
type=Sorcery
[/card]
[card]
name=Spellweaver Duo
auto=may target(creature[tapped]) moveto(ownerhand)
text=Assist (Another player can pay up to {6} of this spell's cost.) -- When Spellweaver Duo enters the battlefield, you may return target tapped creature to its owner's hand.
mana={6}{U}
type=Creature
subtype=Human Wizard
power=4
toughness=4
[/card]
[card]
name=Spellweaver Eternal
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=_BLOCKED_life:-2 opponent
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- Afflict 2 (Whenever this creature becomes blocked, defending player loses 2 life.)
mana={1}{U}
type=Creature
subtype=Zombie Naga Wizard
power=2
toughness=1
[/card]
[card]
name=Spellwild Ouphe
auto=@targeted(this) from(*[instant;sorcery;enchantment;aura]|mycastingzone):altercost(colorless, -2)
text=Spells that target Spellwild Ouphe cost {2} less to cast.
mana={1}{G}
type=Creature
subtype=Ouphe
power=1
toughness=3
[/card]
[card]
name=Sphere of Annihilation
auto=counter(0/0,x,Void)
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~0}:transforms((,newability[all(creature[manacost<=0]|battlefield) moveto(exile)],newability[all(creature[manacost<=0]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=0]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=0]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~1}:transforms((,newability[all(creature[manacost<=1]|battlefield) moveto(exile)],newability[all(creature[manacost<=1]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=1]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=1]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~2}:transforms((,newability[all(creature[manacost<=2]|battlefield) moveto(exile)],newability[all(creature[manacost<=2]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=2]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=2]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~3}:transforms((,newability[all(creature[manacost<=3]|battlefield) moveto(exile)],newability[all(creature[manacost<=3]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=3]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=3]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~4}:transforms((,newability[all(creature[manacost<=4]|battlefield) moveto(exile)],newability[all(creature[manacost<=4]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=4]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=4]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~5}:transforms((,newability[all(creature[manacost<=5]|battlefield) moveto(exile)],newability[all(creature[manacost<=5]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=5]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=5]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~6}:transforms((,newability[all(creature[manacost<=6]|battlefield) moveto(exile)],newability[all(creature[manacost<=6]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=6]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=6]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~7}:transforms((,newability[all(creature[manacost<=7]|battlefield) moveto(exile)],newability[all(creature[manacost<=7]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=7]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=7]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~8}:transforms((,newability[all(creature[manacost<=8]|battlefield) moveto(exile)],newability[all(creature[manacost<=8]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=8]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=8]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~9}:transforms((,newability[all(creature[manacost<=9]|battlefield) moveto(exile)],newability[all(creature[manacost<=9]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=9]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=9]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~10}:transforms((,newability[all(creature[manacost<=10]|battlefield) moveto(exile)],newability[all(creature[manacost<=10]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=10]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=10]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~11}:transforms((,newability[all(creature[manacost<=11]|battlefield) moveto(exile)],newability[all(creature[manacost<=11]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=11]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=11]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~12}:transforms((,newability[all(creature[manacost<=12]|battlefield) moveto(exile)],newability[all(creature[manacost<=12]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=12]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=12]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~13}:transforms((,newability[all(creature[manacost<=13]|battlefield) moveto(exile)],newability[all(creature[manacost<=13]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=13]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=13]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~14}:transforms((,newability[all(creature[manacost<=14]|battlefield) moveto(exile)],newability[all(creature[manacost<=14]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=14]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=14]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~15}:transforms((,newability[all(creature[manacost<=15]|battlefield) moveto(exile)],newability[all(creature[manacost<=15]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=15]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=15]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~16}:transforms((,newability[all(creature[manacost<=16]|battlefield) moveto(exile)],newability[all(creature[manacost<=16]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=16]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=16]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~17}:transforms((,newability[all(creature[manacost<=17]|battlefield) moveto(exile)],newability[all(creature[manacost<=17]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=17]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=17]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~18}:transforms((,newability[all(creature[manacost<=18]|battlefield) moveto(exile)],newability[all(creature[manacost<=18]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=18]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=18]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~equalto~19}:transforms((,newability[all(creature[manacost<=19]|battlefield) moveto(exile)],newability[all(creature[manacost<=19]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=19]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=19]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
auto=@each my upkeep restriction{compare(hascntvoid)~morethan~19}:transforms((,newability[all(creature[manacost<=20]|battlefield) moveto(exile)],newability[all(creature[manacost<=20]|graveyard) moveto(exile)],newability[all(planeswalker[manacost<=20]|battlefield) moveto(exile)],newability[all(planeswalker[manacost<=20]|graveyard) moveto(exile)],newability[moveto(exile)])) oneshot
text=Sphere of Annihilation enters the battlefield with X void counters on it. -- At the beginning of your upkeep, exile Sphere of Annihilation, all creatures and planeswalkers with mana value less than or equal to the number of void counters on it, and all creature and planeswalker cards in all graveyards with mana value less than or equal to the number of void counters on it.
mana={X}{B}
type=Artifact
[/card]
[card]
name=Sphere of Safety
auto=lord(creature|opponentbattlefield) transforms((,newability[foreach(enchantment|mybattlefield) attackcost:1]))
text=Creatures can't attack you or a planeswalker you control unless their controller pays {X} for each of those creatures, where X is the number of enchantments you control.
mana={4}{W}
type=Enchantment
[/card]
[card]
name=Sphinx Mindbreaker
abilities=Flying
auto=deplete:10 opponent
text=Flying -- When Sphinx Mindbreaker enters the battlefield, each opponent puts the top ten cards of their library into their graveyard.
mana={5}{U}{U}
type=Creature
subtype=Sphinx
power=6
toughness=6
[/card]
[card]
name=Sphinx of Enlightenment
abilities=flying
auto=draw:1 opponent && draw:3 controller
text=Flying -- When Sphinx of Enlightenment enters the battlefield, target opponent draws a card and you draw three cards.
mana={4}{U}{U}
type=Creature
subtype=Sphinx
power=5
toughness=5
[/card]
[card]
name=Sphinx of Foresight
abilities=flying
autohand=@each upkeep restriction{compare(currentturn)~lessthan~2}:may name(Reveal Sphinx of Foresight) scry:3 scrycore delayed dontshow donothing scrycoreend scryend
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=You may reveal this card from your opening hand. If you do, scry 3 at the beginning of your first upkeep. -- Flying -- At the beginning of your upkeep, scry 1.
mana={2}{U}{U}
type=Creature
subtype=Sphinx
power=4
toughness=4
[/card]
[card]
name=Sphinx of New Prahv
abilities=flying,vigilance
auto=@targeted(this) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Flying, vigilance -- Spells your opponents cast that target Sphinx of New Prahv cost 2 more to cast.
mana={W}{W}{U}{U}
type=Creature
subtype=Sphinx
power=4
toughness=3
[/card]
[card]
name=Sphinx of the Chimes
abilities=flying
auto={0}:name(Discard 2 same name cards) target(*[-land]|myhand) transforms((,newability[if type(other *[-land;share!name!]|myhand)~morethan~0 then transforms((,newability[reject],newability[name(Discard same card again) target(*[-land;share!name!]|myhand) reject and!( draw:4 )!])) oneshot])) oneshot
text=Flying -- Discard two nonland cards with the same name: Draw four cards.
mana={4}{U}{U}
type=Creature
subtype=Sphinx
power=5
toughness=6
[/card]
[card]
name=Sphinx of the Guildpact
abilities=flying
auto=cantbetargetof(*[-multicolor;-colorless]|opponentBattlefield,opponenthand,opponentgraveyard,opponentstack)
color=white,blue,black,red,green
text=Sphinx of the Guildpact is all colors. -- Flying -- Hexproof from monocolored (This creature can't be the target of monocolored spells or abilities your opponents control.)
mana={7}
type=Artifact Creature
subtype=Sphinx
power=5
toughness=5
[/card]
[card]
name=Sphinx of the Second Sun
abilities=flying
auto=@each my endofturn:nextphasealter(add,untap,controller,after<this>)
auto=@each my endofturn:nextphasealter(add,upkeep,controller,after<this>)
auto=@each my endofturn:nextphasealter(add,draw,controller,after<this>)
text=Flying -- At the beginning of your postcombat main phase, there is an additional beginning phase after this phase. (The beginning phase includes the untap, upkeep, and draw steps.)
mana={6}{U}{U}
type=Creature
subtype=Sphinx
power=6
toughness=6
[/card]
[card]
name=Sphinx's Decree
auto=phaseaction[upkeep once] maxCast(*[instant;sorcery])0 opponent ueot
text=Each opponent can't cast instant or sorcery spells during that player's next turn.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Sphinx's Insight
auto=_ADDENDUM_ life:2
auto=draw:2
text=Draw two cards. -- Addendum - If you cast this spell during your main phase, you gain 2 life.
mana={2}{W}{U}
type=Instant
[/card]
[card]
name=Spike Cannibal
auto=counter(1/1)
auto=all(other creature|mybattlefield) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) target(Spike Cannibal[fresh]|mybattlefield) && counter(1/1.-1) all(this)])) oneshot
auto=all(creature|opponentbattlefield) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) target(Spike Cannibal[fresh]|opponentbattlefield) && counter(1/1.-1) all(this)])) oneshot
text=Spike Cannibal enters the battlefield with a +1/+1 counter on it. -- When Spike Cannibal enters the battlefield, move all +1/+1 counters from all creatures onto it.
mana={1}{B}{B}
type=Creature
subtype=Spike
power=0
toughness=0
[/card]
[card]
name=Spike, Tournament Grinder
other={2} name(Pay with life)
auto=if paid(alternative) then thisforeach(variable{2}) ability$!name(Pay Life or B) pay[[{B}]] name(Pay B) donothing?life:-2!$ controller
auto={B}{B}{B}{B}:name(Pay 4 black mana) name(Pay 4 black mana) target(*|mysideboard) moveto(myhand)
auto={B}{B}{B}{L:2}:name(Pay 3 black mana and 2 life) name(Pay 3 black mana and 2 life) target(*|mysideboard) moveto(myhand)
auto={B}{B}{L:4}:name(Pay 2 black mana and 4 life) name(Pay 2 black mana and 4 life) target(*|mysideboard) moveto(myhand)
auto={B}{L:6}:name(Pay 1 black mana and 6 life) name(Pay 1 black mana and 6 life) target(*|mysideboard) moveto(myhand)
auto={L:8}:name(Pay 8 life) target(*|mysideboard) moveto(myhand)
text=(Phyrexian {B} can be paid with either {B} or 2 life.) -- Phyrexian {B} Phyrexian {B} Phyrexian {B} Phyrexian {B}: Choose a card you own from outside the game that has been banned or restricted in a Constructed format, reveal that card, and put it into your hand.
mana={2}{B}{B}
type=Legendary Creature
subtype=Human Gamer
power=1
toughness=1
[/card]
[card]
name=Spike-Tailed Ceratops
text=Spike-Tailed Ceratops can block an additional creature each combat.
mana={4}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Spiked Pit Trap
abilities=flash
auto={5}:name(Roll a d20) target(creature|battlefield) counter(0/0,1,SpikedEffect) && all(this) rolld20 20 winability donothing winabilityend rolld20end
auto=@dierolled(this) from(controller):all(this) sacrifice
auto=@dierolled(this) from(controller):ability$!name(Deal 5 damage) all(creature[counter{0/0.1.SpikedEffect}]|battlefield) transforms((,newability[damage:5],newability[removeallcounters(0/0.1.SpikedEffect)])) oneshot!controller
auto=@dierolled(this) result(10) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(11) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(12) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(13) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(14) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(15) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(16) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(17) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(18) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(19) from(controller):name(Create treasure) token(Treasure Sur)
auto=@dierolled(this) result(20) from(controller):name(Create treasure) token(Treasure Sur)
text=Flash -- {5}, {T}, Sacrifice Spiked Pit Trap: Choose target creature, then roll a d20. -- 1-9 | Spiked Pit Trap deals 5 damage to that creature. -- 10-20 | Spiked Pit Trap deals 5 damage to that creature. Create a Treasure token.
mana={1}
type=Artifact
[/card]
[card]
name=Spikefield Cave
auto=tap(noevent)
auto={T}:add{R}
text=Spikefield Cave enters the battlefield tapped. -- {T}: Add {R}. // {R} Spikefield Hazard
type=Land
[/card]
[card]
name=Spikefield Hazard
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Spikefield Cave)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Spikefield Cave) name(Spikefield Cave) flip(Spikefield Cave) forcetype(land)
auto=if type(creature|battlefield)~morethan~0 then choice name(Damage creature) name(Damage creature) target(creature) transforms((,newability[damage:1],newability[exiledeath])) ueot
auto=if type(planeswalker|battlefield)~morethan~0 then choice name(Damage planeswalker) name(Damage planeswalker) target(planeswalker) transforms((,newability[damage:1],newability[exiledeath])) ueot
auto=choice name(Damage player) name(Damage player) target(player) damage:1
text=Spikefield Hazard deals 1 damage to any target. If a permanent dealt damage this way would die this turn, exile it instead. // Spikefield Cave
mana={R}
type=Sorcery
[/card]
[card]
name=Spikewheel Acrobat
text=Spectacle {2}{R} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.)
other={2}{R} name(Spectacle) 
otherrestriction=compare(oplifelost)~morethan~0
mana={3}{R}
type=Creature
subtype=Human Rogue
power=5
toughness=2
[/card]
[card]
name=Spinal Centipede
auto=_DIES_counter(1/1)target(creature|myBattlefield)
text=When Spinal Centipede dies, put a +1/+1 counter on target creature you control.
mana={2}{B}
type=Creature
subtype=Insect
power=3
toughness=2
[/card]
[card]
name=Spinal Parasite
abilities=sunburst
auto=counter(1/1,sunburst)
auto={C(1/1,-2)}:name(Remove a counter from permanent) removesinglecountertype(1) target(*[counter{any}]|myBattlefield)
text=Sunburst (This enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it.) -- Remove two +1/+1 counters from Spinal Parasite: Remove a counter from target permanent.
mana={5}
type=Artifact Creature
subtype=Insect
power=-1
toughness=-1
[/card]
[card]
name=Spined Karok
mana={2}{G}
type=Creature
subtype=Crocodile
power=2
toughness=4
[/card]
[card]
name=Spined Megalodon
abilities=opponentshroud
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_ATTACKING_scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.) -- Whenever Spined Megalodon attacks, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={5}{U}{U}
type=Creature
subtype=Shark
power=5
toughness=7
[/card]
[card]
name=Spinehorn Minotaur
auto=restriction{compare(pdrewcount)~morethan~1} double strike ueot
text=As long as you've drawn two or more cards this turn, Spinehorn Minotaur has double strike.
mana={2}{R}
type=Creature
subtype=Minotaur Berserker
power=2
toughness=3
[/card]
[card]
name=Spinerock Knoll
abilities=hiddenface
auto=tap(noevent)
aicode=activate target(*[zpos<=4]|mylibrary) moveto(myExile) and!( transforms((,newability[all(*[zpos<=4]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot )!
auto=name(Look top 4) reveal:4 optionone name(Exile a Card) target(<1>*|reveal) moveto(myExile) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={T}:Add{R}
auto={R}{T}:if restriction{foelost(7)} then may castcard(normal) target(*|myExile)
text=Hideaway (This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library.) -- {T}: Add {R}. -- {R}, {T}: You may play the exiled card without paying its mana cost if an opponent was dealt 7 or more damage this turn.
type=Land
[/card]
[card]
name=Spinning Darkness
other={E(*[black]|mygraveyard)}{E(*[black]|mygraveyard)}{E(*[black]|mygraveyard)} name(Exile 3 black creatures)
auto=damage:3 target(creature[-black])
auto=life:3 controller
text=You may exile the top three black cards of your graveyard rather than pay Spinning Darkness's mana cost. -- Spinning Darkness deals 3 damage to target nonblack creature. You gain 3 life.
mana={4}{B}{B}
type=Instant
[/card]
[card]
name=Spinning Wheel
auto={T}:add{W}
auto={T}:add{G}
auto={T}:add{U}
auto={T}:add{R}
auto={T}:add{B}
auto={5}{T}:tap target(creature)
text={T}: Add one mana of any color. -- {5}, {T}: Tap target creature.
mana={3}
type=Artifact
[/card]
[card]
name=Spiny Starfish
auto={U}:regenerate && token(Starfish,Creature Starfish,0/1,blue)
text={U}: Regenerate Spiny Starfish. -- At the beginning of each end step, if Spiny Starfish regenerated this turn, put a 0/1 blue Starfish creature token onto the battlefield for each time it regenerated this turn.
mana={2}{U}
type=Creature
subtype=Starfish
power=0
toughness=1
[/card]
[card]
name=Spire Garden
auto=tap(noevent)
auto={T}:Add{R}
auto={T}:Add{G}
text=Spire Garden enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {R} or {G}.
type=Land
[/card]
[card]
name=Spire Mangler
abilities=flash, flying
auto=target(creature[flying]|mybattlefield) +2/+0 ueot
text=Flash -- Flying -- When Spire Mangler enters the battlefield, target creature with flying you control gets +2/+0 until end of turn.
mana={2}{B}
type=Creature
subtype=Insect
power=2
toughness=1
[/card]
[card]
name=Spire Winder
abilities=flying
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ 1/1
text=Flying -- Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Spire Winder gets +1/+1 as long as you have the city's blessing.
mana={3}{U}
type=Creature
subtype=Snake
power=2
toughness=3
[/card]
[card]
name=Spires of Orazca
auto={T}:Add{1}
auto={T}:target(creature[attacking]|opponentbattlefield) untap && removefromcombat
text=(Transforms from Thaumatic Compass.) -- {T}: Add {1} to your mana pool. -- {T}: Untap target attacking creature an opponent controls and remove it from combat.
type=Land
[/card]
[card]
name=Spirit Cai
abilities=flying
type=Creature
subtype=Spirit
power=1
toughness=1
color=white
[/card]
[card]
name=Spirit Summoning
auto=token(Spirit,Creature Spirit,3/2,white,red)
text=Create a 3/2 red and white Spirit creature token.
mana={1}{RW}{RW}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Spirit of Malevolence
auto=_DIES_life:-1 opponent && life:1 controller
text=When Spirit of Malevolence dies, each opponent loses 1 life and you gain 1 life.
mana={1}{B}
type=Creature
subtype=Spirit
power=2
toughness=1
[/card]
[card]
name=Spirit of the Aldergard
auto=target(land[snow]|mylibrary) moveto(myhand) and!( shuffle )!
auto=foreach(other snow|myBattlefield) 1/0
text=When Spirit of the Aldergard enters the battlefield, search your library for a snow land card, reveal it, put it into your hand, then shuffle your library. -- Spirit of the Aldergard gets +1/+0 for each other snow permanent you control.
mana={3}{G}
type=Snow Creature
subtype=Bear Spirit
power=0
toughness=4
[/card]
[card]
name=Spirit of the Labyrinth
auto=@drawfoeof(player) restriction{compare(odrewcount)~morethan~1}:name(Opponent can't draw more than 1) transforms((,newability[all(*[zpos=type:*:opponenthand]|opponenthand) moveto(ownerlibrary)])) oneshot
auto=@drawof(player) restriction{compare(pdrewcount)~morethan~1}:name(You can't draw more than 1) transforms((,newability[all(*[zpos=type:*:myhand]|myhand) moveto(ownerlibrary)])) oneshot
text=Each player can't draw more than one card each turn.
mana={1}{W}
type=Enchantment Creature
subtype=Spirit
power=3
toughness=1
[/card]
[card]
name=Spirit of the Spires
abilities=flying
auto=lord(other creature[flying]|myBattlefield) +0/+1
text=Flying -- Other creatures you control with flying get +0/+1.
mana={3}{W}
type=Creature
subtype=Spirit
power=2
toughness=4
[/card]
[card]
name=Spiritual Focus
auto=@discarded(*|hand):may draw:1 controller
auto=@discarded(*|hand):life:2 controller
text=Whenever a spell or ability an opponent controls causes you to discard a card, you gain 2 life and you may draw a card.
mana={1}{W}
type=Enchantment
[/card]
[card]
name=Spit Flame
target=creature
auto=damage:4
autograveyard=@movedTo(Dragon|myBattlefield):may name(Return Spit Flame) pay({R}) name(Return Spit Flame) moveto(myhand)
text=Spit Flame deals 4 damage to target creature. -- Whenever a Dragon enters the battlefield under your control, you may pay {R}. If you do, return Spit Flame from your graveyard to your hand.
mana={2}{R}
type=Instant
[/card]
[card]
name=Spite // Malice
other={3}{B} name(Malice)
auto=if paid(alternative) then bury target(creature[-black])
auto=ifnot paid(alternative) then fizzle target(*[-creature])
text=Counter target noncreature spell. // Destroy target nonblack creature. It can't be regenerated.
mana={3}{U}
type=Instant
[/card]
[card]
name=Spiteful Prankster
auto=this(variable{controllerturn}>0) first strike
auto=@movedTo(graveyard) from(other creature|battlefield):damage:1 target(planeswalker,player)
text=As long as it's your turn, Spiteful Prankster has first strike. -- Whenever another creature dies, Spiteful Prankster deals 1 damage to target player or planeswalker.
mana={2}{R}
type=Creature
subtype=Devil
power=3
toughness=2
[/card]
[card]
name=Spiteful Sliver
auto=lord(sliver|mybattlefield) transforms((,newability[@damaged(sliver):damage:1 target(*[player;planeswalker])]))
text=Sliver creatures you control have "Whenever this creature is dealt damage, it deals that much damage to target player or planeswalker."
mana={2}{R}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Spiteful Squad
abilities=deathtouch
auto=counter(1/1,2)
auto=_DIES_this(counter{1/1}=1) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,1)
auto=_DIES_this(counter{1/1}=2) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,2)
auto=_DIES_this(counter{1/1}=3) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,3)
auto=_DIES_this(counter{1/1}=4) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,4)
auto=_DIES_this(counter{1/1}=5) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,5)
auto=_DIES_this(counter{1/1}=6) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,6)
auto=_DIES_this(counter{1/1}=7) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,7)
auto=_DIES_this(counter{1/1}=8) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,8)
auto=_DIES_this(counter{1/1}=9) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,9)
auto=_DIES_this(counter{1/1}=10) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,10)
auto=_DIES_this(counter{1/1}=11) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,11)
auto=_DIES_this(counter{1/1}=12) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,12)
auto=_DIES_this(counter{1/1}=13) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,13)
auto=_DIES_this(counter{1/1}=14) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,14)
auto=_DIES_this(counter{1/1}=15) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,15)
auto=_DIES_this(counter{1/1}=16) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,16)
auto=_DIES_this(counter{1/1}=17) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,17)
auto=_DIES_this(counter{1/1}=18) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,18)
auto=_DIES_this(counter{1/1}=19) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,19)
auto=_DIES_this(counter{1/1}>=20) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,20)
text=Deathtouch -- Spiteful Squad enters the battlefield with two +1/+1 counters on it. -- When Spiteful Squad dies, put its counters on target creature you control.
mana={2}{W}{B}
type=Creature
subtype=Human Warlock
power=0
toughness=0
[/card]
[card]
name=Spitfire Bastion
auto={T}:Add{R}
auto={2}{R}{T}:damage:3 target(creature,player)
text=(Transforms from Vance's Blasting Cannons.) -- {T}: Add {R} to your mana pool. -- {2}{R}, {T}: Spitfire Bastion deals 3 damage to target creature or player.
type=Legendary Land
[/card]
[card]
name=Spitfire Lagac
auto=_LANDFALL_damage:1 opponent
text=Landfall - Whenever a land enters the battlefield under your control, Spitfire Lagac deals 1 damage to each opponent.
mana={3}{R}
type=Creature
subtype=Lizard
power=3
toughness=4
[/card]
[card]
name=Splendid Agony
target=creature
auto=counter(-1/-1,1)
auto=counter(-1/-1,1) target(creature)
text=Distribute two -1/-1 counters among one or two target creatures.
mana={2}{B}
type=Instant
[/card]
[card]
name=Splendor Mare
abilities=lifelink,cycling
autohand=__CYCLING__({1}{W})
autohand=@cycled(this|myHand):name(Put lifelink counter) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Lifelink],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
text=Lifelink -- Cycling {1}{W} ({1}{W}, Discard this card: Draw a card.) -- When you cycle Splendor Mare, put a lifelink counter on target creature you control.
mana={2}{W}
type=Creature
subtype=Elk Unicorn
power=3
toughness=3
[/card]
[card]
name=Splicer's Skill
auto=token(Golem,Artifact Creature Golem,3/3)
text=Create a 3/3 colorless Golem artifact creature token. -- Splice onto instant or sorcery {3}{W} (As you cast an instant or sorcery spell, you may reveal this card from your hand and pay its splice cost. If you do, add this card's effects to that spell.)
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Split the Party
auto=choice name(Target opponent) target(<halfuptype:creature:opponentbattlefield>creature|opponentbattlefield) moveTo(ownerhand)
auto=choice name(Target yourself) target(<halfuptype:creature:mybattlefield>creature|mybattlefield) moveTo(ownerhand)
text=Choose target player. Return half the creatures they control to their owner's hand, rounded up.
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Splitting Slime
auto=this(cantargetcard(*[-monstrous]) {4}{G}{G}:becomes(monstrous) forever && counter(1/1,3) && clone all(this)
text={4}{G}{G}: Monstrosity 3. (If this creature isn't monstrous, put three +1/+1 counters on it and it becomes monstrous.) -- When Splitting Slime becomes monstrous, create a token that's a copy of Splitting Slime. (The token has no counters and isn't monstrous.)
mana={3}{G}{G}
type=Creature
subtype=Ooze
power=3
toughness=3
[/card]
[card]
name=Spoils of Adventure
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto=life:3 controller
auto=draw:3 controller
text=This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- You gain 3 life and draw three cards.
mana={4}{W}{U}
type=Instant
[/card]
[card]
name=Spoils of Blood
auto=token(Horror,Creature Horrror,type:creature[fresh]:graveyard/type:creature[fresh]:graveyard,black)
text=Put an X/X black Horror creature token onto the battlefield, where X is the number of creatures that died this turn.
mana={B}
type=Instant
[/card]
[card]
name=Spoils of War
auto=if type(*[artifact;creature]|opponentgraveyard)~equalto~compare(X) then name(Distribute 1/1 counters) thisforeach(X) ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature) counter(1/1)!$ controller
text=X is the number of artifact and/or creature cards in an opponent's graveyard as you cast Spoils of War. -- Distribute X +1/+1 counters among any number of target creatures.
mana={X}{B}
type=Sorcery
[/card]
[card]
name=Spoils of the Hunt
other={2}{S(treasure|myBattlefield)} name(Sacrifice 1 treasure)
otherrestriction=type(treasure|mybattlefield)~morethan~0,type(creature|mybattlefield)~morethan~0
restriction=type(creature|mybattlefield)~morethan~0
autohand={0}{S(treasure|myBattlefield)}{S(treasure|myBattlefield)}{S(treasure|myBattlefield)} restriction{type(treasure|mybattlefield)~morethan~2}:name(Sacrifice 3 treasures) name(Sacrifice 3 treasures) activate castcard(normal kicked!:3:!)
autohand={1}{S(treasure|myBattlefield)}{S(treasure|myBattlefield)} restriction{type(treasure|mybattlefield)~morethan~1}:name(Sacrifice 2 treasures) name(Sacrifice 2 treasures) activate castcard(normal kicked!:2:!)
auto=ifnot paid(alternative) then if compare(kicked)~equalto~0 then name(Creature deals damage) name(Creature deals damage) name(Creature deals damage) target(creature|myBattlefield) transforms((,newability[name(Damage creature) damage:power target(creature|opponentbattlefield)])) ueot
auto=if compare(kicked)~equalto~2 then name(Creature gets 2/0) name(Creature gets 2/0) target(creature|myBattlefield) transforms((,newability[2/0],newability[name(Damage creature) damage:power target(creature|opponentbattlefield)])) ueot
auto=if compare(kicked)~equalto~3 then name(Creature gets 3/0) name(Creature gets 3/0) target(creature|myBattlefield) transforms((,newability[3/0],newability[name(Damage creature) damage:power target(creature|opponentbattlefield)])) ueot
auto=if paid(alternative) then name(Creature gets 1/0) name(Creature gets 1/0) target(creature|myBattlefield) transforms((,newability[1/0],newability[name(Damage creature) damage:power target(creature|opponentbattlefield)])) ueot
text=Target creature you control gets +1/+0 until end of turn for each mana from a Treasure that was spent to cast this spell. Then that creature deals damage equal to its power to target creature an opponent controls.
mana={2}{G}
type=Instant
[/card]
[card]
name=Spontaneous Flight
target=creature
auto=2/2 ueot
auto=transforms((,newability[counter(0/0.1.Flying)],newability[this(counter{0/0.1.Flying}>=1) flying])) forever
text=Target creature gets +2/+2 until end of turn. Put a flying counter on it.
mana={2}{W}
type=Instant
[/card]
[card]
name=Spore Swarm
auto=create(Saproling:creature Saproling:1/1:green:)*3
text=Create three 1/1 green Saproling creature tokens.
mana={3}{G}
type=Instant
[/card]
[card]
name=Sporecrown Thallid
auto=lord(other Fungus|myBattlefield) +1/+1
auto=lord(other Saproling|myBattlefield) +1/+1
text=Each other creature you control that's a Fungus or Saproling gets +1/+1.
mana={1}{G}
type=Creature
subtype=Fungus
power=2
toughness=2
[/card]
[card]
name=Sporeweb Weaver
abilities=reach
auto=cantbetargetof(*[blue])
auto=_ENRAGE_life:1 controller && token(Saproling Spo)
text=Reach, hexproof from blue -- Whenever Sporeweb Weaver is dealt damage, you gain 1 life and create a 1/1 green Saproling creature token.
mana={2}{G}
type=Creature
subtype=Spider
power=1
toughness=4
[/card]
[card]
name=Sporogenesis
auto=@each my upkeep:may counter(0/0,1,Fungus) target(creature[-token])
auto=@movedTo(graveyard) from(creature[counter{0/0.1.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)
auto=@movedTo(graveyard) from(creature[counter{0/0.2.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*2
auto=@movedTo(graveyard) from(creature[counter{0/0.3.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*3
auto=@movedTo(graveyard) from(creature[counter{0/0.4.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*4
auto=@movedTo(graveyard) from(creature[counter{0/0.5.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*5
auto=@movedTo(graveyard) from(creature[counter{0/0.6.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*6
auto=@movedTo(graveyard) from(creature[counter{0/0.7.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*7
auto=@movedTo(graveyard) from(creature[counter{0/0.8.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*8
auto=@movedTo(graveyard) from(creature[counter{0/0.9.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*9
auto=@movedTo(graveyard) from(creature[counter{0/0.10.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*10
auto=@movedTo(graveyard) from(creature[counter{0/0.11.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*11
auto=@movedTo(graveyard) from(creature[counter{0/0.12.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*12
auto=@movedTo(graveyard) from(creature[counter{0/0.13.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*13
auto=@movedTo(graveyard) from(creature[counter{0/0.14.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*14
auto=@movedTo(graveyard) from(creature[counter{0/0.15.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*15
auto=@movedTo(graveyard) from(creature[counter{0/0.16.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*16
auto=@movedTo(graveyard) from(creature[counter{0/0.17.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*17
auto=@movedTo(graveyard) from(creature[counter{0/0.18.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*18
auto=@movedTo(graveyard) from(creature[counter{0/0.19.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*19
auto=@movedTo(graveyard) from(creature[counter{0/0.20.Fungus}]|battlefield):token(Saproling,Creature Saproling,1/1,green)*20
auto=_DIES_removeallcounters(0/0,1,Fungus) all(creature|battlefield)
text=At the beginning of your upkeep, you may put a fungus counter on target nontoken creature. -- Whenever a creature with a fungus counter on it dies, put a 1/1 green Saproling creature token onto the battlefield for each fungus counter on that creature. -- When Sporogenesis leaves the battlefield, remove all fungus counters from all creatures.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Spreading Flames
auto=thisforeach(variable{6}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature) damage:1!$ controller
text=Spreading Flames deals 6 damage divided as you choose among any number of target creatures.
mana={6}{R}
type=Instant
[/card]
[card]
name=Spreading Insurrection
abilities=storm
target=creature|opponentbattlefield
auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
text=Gain control of target creature you don't control until end of turn. Untap that creature. It gains haste until end of turn. -- Storm (When you cast this spell, copy it for each spell cast before it this turn. You may choose new targets for the copies.)
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Spreading Rot
target=land
auto=destroy
auto=life:-2 targetcontroller
text=Destroy target land. Its controller loses 2 life.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Spring // Mind
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
autograveyard={4}{U}{U}{E}:draw:2 controller
text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Draw two cards.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Springbloom Druid
aicode=may sacrifice target(land|myBattlefield) && activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>land[basic]|myLibrary)
auto=may name(Sacrifice a land) sacrifice target(land|myBattlefield) && 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 limit:1
text=When Springbloom Druid enters the battlefield, you may sacrifice a land. If you do, search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library.
mana={2}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Springjack Pasture
auto={T}:add{C}
auto={4}{T}:token(Goat,Creature Goat,0/1,white)
auto={T}{S(*[goat]|mybattlefield)}:add{W} && life:1 controller
auto={T}{S(*[goat]|mybattlefield)}:add{G} && life:1 controller
auto={T}{S(*[goat]|mybattlefield)}:add{U} && life:1 controller
auto={T}{S(*[goat]|mybattlefield)}:add{R} && life:1 controller
auto={T}{S(*[goat]|mybattlefield)}:add{B} && life:1 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W} && life:2 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G} && life:2 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U} && life:2 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R} && life:2 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B} && life:2 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W} && life:3 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G} && life:3 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U} && life:3 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R} && life:3 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B} && life:3 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}(W}(W}(W} && life:4 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G} && life:4 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U} && life:4 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R} && life:4 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B} && life:4 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W} && life:5 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G} && life:5 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U} && life:5 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R} && life:5 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B} && life:5 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W} && life:6 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G} && life:6 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U} && life:6 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R} && life:6 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B} && life:6 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W} && life:7 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G} && life:7 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U} && life:7 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R} && life:7 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B}{B} && life:7 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W}(W} && life:8 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G}{G} && life:8 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U}{U} && life:8 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R}{R} && life:8 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B}{B}{B} && life:8 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W}(W}(W} && life:9 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G}{G}{G} && life:9 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U}{U}{U} && life:9 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R}{R}{R} && life:9 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B}{B}{B}{B} && life:9 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W}(W}(W}(W} && life:10 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G}{G}{G}{G} && life:10 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U}{U}{U}{U} && life:10 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} && life:10 controller
auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B}{B}{B}{B}{B} && life:10 controller
text={T}: Add {C} to your mana pool. -- {4}, {T}: Put a 0/1 white Goat creature token onto the battlefield. -- {T}, Sacrifice X Goats: Add X mana of any one color to your mana pool. You gain X life.
type=Land
[/card]
[card]
name=Springjaw Trap
abilities=flash
auto={4}{T}{S}:damage:3 target(player,creature,planeswalker)
text=Flash -- {4}, {T}, Sacrifice Springjaw Trap: It deals 3 damage to any target.
mana={1}
type=Artifact
[/card]
[card]
name=Springmane Cervin
auto=life:2 controller
text=When Springmane Cervin enters the battlefield, you gain 2 life.
mana={2}{G}
type=Creature
subtype=Elk
power=3
toughness=2
[/card]
[card]
name=Springmantle Cleric
abilities=sunburst
auto=counter(1/1,sunburst)
text=Springmantle Cleric enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it.
mana={4}{G}
type=Creature
subtype=Elf Cleric
power=2
toughness=3
[/card]
[card]
name=Sprite Dragon
abilities=flying,haste
auto=@movedto(*[-creature]|myStack):counter(1/1,1)
text=Flying, haste -- Whenever you cast a noncreature spell, put a +1/+1 counter on Sprite Dragon.
mana={U}{R}
type=Creature
subtype=Faerie Dragon
power=1
toughness=1
[/card]
[card]
name=Sprout Swarm
other={convoke} name(Convoke)
auto=token(Saproling,Creature Saproling,1/1,green)
buyback={4}{G}
text=Convoke (Each creature you tap while casting this spell reduces its total cost by {1} or by one mana of that creature's color.) -- Buyback {3} (You may pay an additional {3} as you cast this spell. If you do, put this card into your hand as it resolves.) -- Put a 1/1 green Saproling creature token onto the battlefield.
mana={1}{G}
type=Instant
[/card]
[card]
name=Sproutback Trudge
abilities=trample
autoexile=thisforeach(variable{lifegain}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{lifegain}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{lifegain}>0) changecost(colorless:-1) forcedalive
autograveyard=@each my secondmain restriction{compare(lifegain)~morethan~0}:name(Can play from graveyard) transforms((,newability[canplayfromgraveyard])) ueot
text=This spell costs {X} less to cast, where X is the amount of life you gained this turn. -- Trample -- At the beginning of your end step, if you gained life this turn, you may cast Sproutback Trudge from your graveyard.
mana={7}{G}{G}
type=Creature
subtype=Fungus Beast
power=9
toughness=7
[/card]
[card]
name=Sprouting Renewal
other={convoke} name(Convoke)
auto=choice create(Elf Knight:creature Elf Knight:2/2:green,white:vigilance)
auto=choice destroy target(artifact,enchantment)
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.) -- Choose one -- Create a 2/2 green and white Elf Knight creature token with vigilance. -- Destroy target artifact or enchantment.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Spy Eye
abilities=flying
auto=@combatdamaged(player) from(this):may moveto(myhand) all(*[zpos=1]|opponentlibrary)
text=Flying -- Whenever Spy Eye deals combat damage to a player, you may draw a card from that player's library.
mana={2}{U}{U}
type=Creature
subtype=Eye Spy
power=1
toughness=3
[/card]
[card]
name=Squad Captain
abilities=vigilance
auto=foreach(other creature|mybattlefield)counter(1/1,1)
text=Vigilance (Attacking doesn't cause this creature to tap.) -- Squad Captain enters the battlefield with a +1/+1 counter on it for each other creature you control.
mana={4}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Squad Commander
auto=token(Kor Warrior,Creature Kor Warrior,1/1,white)*calculateparty
auto=@each my combatbegins:if compare(calculateparty)~equalto~4 then name(creatures get 1/0 and indestructible) name(creatures get 1/0 and indestructible) all(creature|myBattlefield) transforms((,newability[1/0],newability[indestructible])) ueot
text=When Squad Commander enters the battlefield, create a 1/1 white Kor Warrior creature token for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- At the beginning of combat on your turn, if you have a full party, creatures you control get +1/+0 and gain indestructible until end of turn.
mana={3}{W}
type=Creature
subtype=Kor Warrior
power=3
toughness=3
[/card]
[card]
name=Squallmonger
auto={2}:damage:1 all(creature[flying]) && damage:1 all(player)
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) all(creature[flying]) && damage:1 all(player)?donothing!$ opponent])) forever
text={2}: Squallmonger deals 1 damage to each creature with flying and each player. Any player may activate this ability.
mana={3}{G}
type=Creature
subtype=Monger
power=3
toughness=3
[/card]
[card]
name=Squandered Resources
auto=this(variable{plandg}>0) {S(land[manag]|mybattlefield)}:Add{G}
auto=this(variable{plandu}>0) {S(land[manau]|mybattlefield)}:Add{U}
auto=this(variable{plandr}>0) {S(land[manar]|mybattlefield)}:Add{R}
auto=this(variable{plandb}>0) {S(land[manab]|mybattlefield)}:Add{B}
auto=this(variable{plandw}>0) {S(land[manaw]|mybattlefield)}:Add{W}
auto=this(variable{plandc}>0) {S(land[cmana]|mybattlefield)}:Add{C}
text=Sacrifice a land: Add to your mana pool one mana of any type the sacrificed land could produce.
mana={B}{G}
type=Enchantment
[/card]
[card]
name=Square Up
target=creature
auto=becomes(,4/4) ueot
text=Target creature has base power and toughness 4/4 until end of turn.
mana={1}{GU}
type=Instant
[/card]
[card]
name=Squash
target=creature,planeswalker
other={1}{R} name(Cast with giant)
otherrestriction=type(giant|mybattlefield)~morethan~0
restriction=type(giant|mybattlefield)~equalto~0
auto=damage:6
text=This spell costs {3} less to cast if you control a Giant. -- Squash deals 6 damage to target creature or planeswalker.
mana={4}{R}
type=Instant
[/card]
[card]
name=Squeaking Pie Sneak
abilities=fear
otherrestriction=type(*[goblin]|myhand)~lessthan~2
other={4}{B}
restriction=type(*[goblin]|myhand)~morethan~1
text=As an additional cost to cast Squeaking Pie Sneak, reveal a Goblin card from your hand or pay {3}. -- Fear (This creature can't be blocked except by artifact creatures and/or black creatures.)
mana={1}{B}
type=Creature
subtype=Goblin Rogue
power=2
toughness=2
[/card]
[card]
name=Squealing Devil
abilities=fear
other={X}{B}{R} name(Pay with B)
auto=ifnot paid(alternative) then sacrifice
auto=target(creature) X/0 ueot
text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) -- When Squealing Devil enters the battlefield, you may pay {X}. If you do, target creature gets +X/+0 until end of turn. -- When Squealing Devil enters the battlefield, sacrifice it unless {B} was spent to cast it.
mana={X}{1}{R}
type=Creature
subtype=Devil
power=2
toughness=1
[/card]
[card]
name=Squee, the Immortal
abilities=canplayfromexile,CanPlayFromGraveyard
text=You may cast Squee, the Immortal from your graveyard or from exile.
mana={1}{R}{R}
type=Legendary Creature
subtype=Goblin
power=2
toughness=1
[/card]
[card]
name=Squire's Devotion
target=creature
auto=1/1
auto=lifelink
auto=token(Vampire,creature Vampire,1/1,white,lifelink)
text=Enchant creature -- Enchanted creature gets +1/+1 and has lifelink. -- When Squire's Devotion enters the battlefield, create a 1/1 white Vampire creature token with lifelink.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Squirrel
type=Creature
subtype=Squirrel
power=1
toughness=1
color=green
[/card]
[card]
name=Squirrel Sanctuary
auto=token(Squirrel,Creature Squirrel,1/1,green)
auto=@movedto(graveyard) from(creature[-token]|myBattlefield):may pay({1}) name(Pay 1 and return to hand) moveTo(ownerhand)
text=When Squirrel Sanctuary enters the battlefield, create a 1/1 green Squirrel creature token. -- Whenever a nontoken creature you control dies, you may pay {1}. If you do, return Squirrel Sanctuary to its owner's hand.
mana={G}
type=Enchantment
[/card]
[card]
name=Squirrel Sovereign
auto=lord(other squirrel|myBattlefield) 1/1
text=Other Squirrels you control get +1/+1.
mana={1}{G}
type=Creature
subtype=Squirrel Noble
power=2
toughness=2
[/card]
[card]
name=Stadium Vendors
auto=choice Add{R}{R}
auto=choice Add{W}{W}
auto=choice Add{U}{U}
auto=choice Add{B}{B}
auto=choice Add{G}{G}
text=When Stadium Vendors enters the battlefield, choose a player. That player adds two mana of any one color they choose.
mana={3}{R}
type=Creature
subtype=Goblin
power=3
toughness=3
[/card]
[card]
name=Staff of the Ages
auto=all(creature|battlefield) transforms((,newability[-forestwalk],newability[-swampwalk],newability[-islandwalk],newability[-mountainwalk],newability[-plainswalk])) forever
text=Creatures with landwalk abilities can be blocked as though they didn't have those abilities.
mana={3}
type=Artifact
[/card]
[card]
name=Staggering Insight
target=creature
auto=1/1
auto=lifelink
auto=@combatdamaged(player) from(mytgt):draw:1 controller
text=Enchant creature -- Enchanted creature gets +1/+1 and has lifelink and "Whenever this creature deals combat damage to a player, draw a card."
mana={W}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Stain the Mind
other={convoke} name(Convoke)
auto=choice name(Target opponent) ability$!chooseanameopp name(Search that cards) target(<anyamount>creature[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( shuffle opponent )! chooseend nonland!$ controller
auto=choice name(Target yourself) ability$!chooseaname name(Search that cards) target(<anyamount>creature[chosenname]|mygraveyard,mylibrary,myhand) moveto(exile) and!( shuffle controller )! chooseend nonland!$ controller
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.) -- Name a nonland card. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles his or her library.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Stalking Leonin
auto={0}:name(reveal the opponent) this(counter{0/0.1.StalkingEffect}<1) name(reveal the opponent) transforms((,newability[name(Move to exile) name(Move to exile) target(creature[attacking]|opponentbattlefield) moveto(exile)],newability[counter(0/0.1.StalkingEffect)])) oneshot
text=When Stalking Leonin enters the battlefield, secretly choose an opponent. -- Reveal the player you chose: Exile target creature that's attacking you if it's controlled by the chosen player. Activate this ability only once.
mana={2}{W}
type=Creature
subtype=Cat Archer
power=3
toughness=3
[/card]
[card]
name=Stalking Predator
abilities=menace,nightbound
backside=Shady Traveler
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
text=Menace (This creature can't be blocked except by two or more creatures.) -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Shady Traveler
type=Creature
subtype=Werewolf
color=black
power=4
toughness=4
[/card]
[card]
name=Stalwart Pathlighter
abilities=vigilance
auto=@each my combatbegins restriction{coven}:name(All creatures gain indestructible) all(creature|myBattlefield) transforms((,newability[indestructible])) ueot
text=Vigilance -- Coven - At the beginning of combat on your turn, if you control three or more creatures with different powers, creatures you control gain indestructible until end of turn.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=1
[/card]
[card]
name=Stalwart Valkyrie
abilities=flying
other={1}{W}{E(creature|mygraveyard)} name(Exile creature)
text=You may pay {1}{W} and exile a creature card from your graveyard rather than pay this spell's mana cost. -- Flying
mana={3}{W}
type=Creature
subtype=Angel Warrior
power=3
toughness=2
[/card]
[card]
name=Stampede Rider
abilities=trample
auto=@each combatbegins:if type(creature[power>=4]|mybattlefield)~morethan~0 then 1/1 ueot
text=Trample -- At the beginning of each combat, if you control a creature with power 4 or greater, Stampede Rider gets +1/+1 until end of turn.
mana={2}{R}
type=Creature
subtype=Satyr
power=2
toughness=3
[/card]
[card]
name=Stampeding Horncrest
auto=aslongas(dinosaur|myBattlefield) haste
text=Stampeding Horncrest has haste as long as you control another Dinosaur.
mana={4}{R}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Stand // Deliver
other={2}{U} name(Deliver)
auto=ifnot paid(alternative) then prevent:2 target(creature)
auto=if paid(alternative) then moveto(ownerhand) target(*|battlefield)
text=Prevent the next 2 damage that would be dealt to target creature this turn. // Return target permanent to its owner's hand.
mana={W}
type=Instant
[/card]
[card]
name=Star Pupil
auto=counter(1/1)
auto=_DIES_this(counter{1/1}=1) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,1)
auto=_DIES_this(counter{1/1}=2) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,2)
auto=_DIES_this(counter{1/1}=3) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,3)
auto=_DIES_this(counter{1/1}=4) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,4)
auto=_DIES_this(counter{1/1}=5) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,5)
auto=_DIES_this(counter{1/1}=6) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,6)
auto=_DIES_this(counter{1/1}=7) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,7)
auto=_DIES_this(counter{1/1}=8) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,8)
auto=_DIES_this(counter{1/1}=9) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,9)
auto=_DIES_this(counter{1/1}=10) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,10)
auto=_DIES_this(counter{1/1}=11) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,11)
auto=_DIES_this(counter{1/1}=12) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,12)
auto=_DIES_this(counter{1/1}=13) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,13)
auto=_DIES_this(counter{1/1}=14) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,14)
auto=_DIES_this(counter{1/1}=15) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,15)
auto=_DIES_this(counter{1/1}=16) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,16)
auto=_DIES_this(counter{1/1}=17) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,17)
auto=_DIES_this(counter{1/1}=18) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,18)
auto=_DIES_this(counter{1/1}=19) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,19)
auto=_DIES_this(counter{1/1}>=20) name(Put 1/1 counters on another creature) target(creature|mybattlefield) counter(1/1,20)
text=Star Pupil enters the battlefield with a +1/+1 counter on it. -- When Star Pupil dies, put its counters on target creature you control.
mana={W}
type=Creature
subtype=Human Wizard
power=0
toughness=0
[/card]
[card]
name=Star of Extinction
target=land
auto=destroy
auto=damage:20 all(creature,planeswalker)
text=Destroy target land. Star of Extinction deals 20 damage to each creature and each planeswalker.
mana={5}{R}{R}
type=Sorcery
[/card]
[card]
name=Star-Crowned Stag
auto=_ATTACKING_tap target(creature|opponentBattlefield)
text=Whenever Star-Crowned Stag attacks, tap target creature defending player controls.
mana={3}{W}
type=Creature
subtype=Elk
power=3
toughness=3
[/card]
[card]
name=Starfield Mystic
auto=lord(enchantment|mycastingzone) altercost(colorless,-1)
auto=@movedTo(enchantment|mygraveyard) from(battlefield):counter(1/1,1)
text=Enchantment spells you cast cost {1} less to cast. -- Whenever an enchantment you control is put into a graveyard from the battlefield, put a +1/+1 counter on Starfield Mystic.
mana={1}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Starlit Mantle
abilities=flash
target=creature|myBattlefield
auto=1/1
auto=teach(creature) opponentshroud ueot
text=Flash -- Enchant creature you control -- When Starlit Mantle enters the battlefield, enchanted creature gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.) -- Enchanted creature gets +1/+1.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Starnheim Aspirant
auto=lord(*[angel]|mycastingzone) changecost(colorless:-2) forcedalive
text=Angel spells you cast cost 2 less to cast.
mana={2}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Starnheim Courser
abilities=flying
auto=lord(*[artifact;enchantment]|mycastingzone) changecost(colorless:-1) forcedalive
text=Flying -- Artifact and enchantment spells you cast cost {1} less to cast.
mana={2}{W}
type=Creature
subtype=Pegasus
power=2
toughness=2
[/card]
[card]
name=Starnheim Unleashed
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={X}{X}{W} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=ifnot paid(alternative) then token(Warrior,Creature Angel Warrior,4/4,white,flying,vigilance)
auto=if paid(alternative) then token(Warrior,Creature Angel Warrior,4/4,white,flying,vigilance)*xx
text=Create a 4/4 white Angel Warrior creature token with flying and vigilance. If this spell was foretold, create X of those tokens instead. -- Foretell {X}{X}{W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={2}{W}{W}
type=Sorcery
[/card]
[card]
name=Start // Finish
auto=token(Warrior,creature Warrior,1/1,white,vigilance)*2
autograveyard={2}{B}{E}{S(creature|mybattlefield)}:destroy target(creature) asSorcery
text=Create two 1/1 white Warrior creature tokens with vigilance. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) As an additional cost to cast Finish, sacrifice a creature. -- Destroy target creature.
mana={2}{W}
type=Instant
[/card]
[card]
name=Start from Scratch
auto=choice name(Deal 1 damage) target(player,creature,planeswalker) damage:1
auto=choice name(Destroy artifact) target(artifact|battlefield) destroy
text=Choose one -- Start from Scratch deals 1 damage to any target. -- Destroy target artifact.
mana={2}{R}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Startle
target=creature
auto=-2/0 ueot
auto=name(Create zombie) token(Zombie Dec)
auto=draw:1 controller
text=Target creature gets -2/-0 until end of turn. Create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.) -- Draw a card.
mana={1}{U}
type=Instant
[/card]
[card]
name=Startling Development
abilities=cycling
target=creature
auto=ueot transforms((removetypes))
auto=ueot transforms((blue))
auto=ueot transforms((Serpent))
auto=ueot transforms((,setpower=4,settoughness=4))
autohand=__CYCLING__({1})
text=Until end of turn, target creature becomes a blue Serpent with base power and toughness 4/4. -- Cycling {1} ({1}, Discard this card: Draw a card.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Static Discharge
target=player,creature,planeswalker
auto=damage:3plushascntperpetualchargeplusend 
auto=all(Static Discharge|myzones) counter(0/0.1.PerpetualCharge)
text=Static Discharge deals X damage to any target, where X is 3 plus the number of charge counters on Static Discharge. Then put a perpetual charge counter on this card and each card named Static Discharge in your hand, library, and graveyard.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Static Orb
auto=@each my beginofturn sourcenottap:lord(*|battlefield) doesnotuntap && untap target(*)*2
auto=@each opponent beginofturn sourcenottap:lord(*|battlefield) doesnotuntap && untap target(*)*2
text=As long as Static Orb is untapped, players can't untap more than two permanents during their untap steps.
mana={3}
type=Artifact
[/card]
[card]
name=Status // Statue
other={2}{B}{G} name(Statue)
auto=if paid(alternative) then target(*[creature;artifact;enchantment]) destroy
auto=ifnot paid(alternative) then target(creature) transforms((,newability[1/1],newability[deathtouch])) ueot
text=Target creature gets +1/+1 and gains deathtouch until end of turn. -- Destroy target artifact, creature, or enchantment.
mana={BG}
type=Instant
[/card]
[card]
name=Staunch Shieldmate
mana={W}
type=Creature
subtype=Dwarf Soldier
power=1
toughness=3
[/card]
[card]
name=Staunch Throneguard
abilities=vigilance
auto=_MONARCH_CONTROLLER_
text=Vigilance -- When Staunch Throneguard enters the battlefield, you become the monarch.
mana={5}
type=Artifact Creature
subtype=Construct
power=2
toughness=5
[/card]
[card]
name=Steadfast Armasaur
abilities=vigilance
auto=@combat(attacking,blocking) source(this):transforms((,newability[{1}{W}{T}:damage:toughness target(creature[attacking;blocking])])) ueot
text=Vigilance -- {1}{W}, {T}: Steadfast Armasaur deals damage equal to its toughness to target creature blocking or blocked by it.
mana={3}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=3
[/card]
[card]
name=Steadfast Paladin
abilities=lifelink
text=Lifelink
mana={1}{W}
type=Creature
subtype=Dwarf Knight
power=2
toughness=2
[/card]
[card]
name=Steadfast Sentinel
abilities=vigilance
autograveyard={4}{W}{W}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=Vigilance -- Eternalize {4}{W}{W} ({4}{W}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Human Cleric with no mana cost. Eternalize only as a sorcery.)
mana={3}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=3
[/card]
[card]
name=Steadfast Sentry
abilities=vigilance
auto=_DIES_counter(1/1) target(creature|myBattlefield)
text=Vigilance (Attacking doesn't cause this creature to tap.) -- When Steadfast Sentry dies, put a +1/+1 counter on target creature you control.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=2
[/card]
[card]
name=Steady Aim
target=creature
auto=Untap
auto=+1/+4
auto=reach 
text=Untap target creature. It gets +1/+4 and gains reach until end of turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Stealth Mission
target=creature|myBattlefield
auto=counter(1/1,2)
auto=unblockable
text=Put two +1/+1 counters on target creature you control. That creature can't be blocked this turn.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Steel Dromedary
auto=tap(noevent)
auto=counter(1/1,2)
auto=this(counter{1/1}>=1) doesnotuntap
auto=@each my combatbegins restriction{compare(hascnt11)~morethan~0}:may name(Move 1/1 counter) all(this) counter(1/1,-1) && target(creature) counter(1/1)
text=Steel Dromedary enters the battlefield tapped with two +1/+1 counters on it. -- Steel Dromedary doesn't untap during your untap step if it has a +1/+1 counter on it. -- At the beginning of combat on your turn, you may move a +1/+1 counter from Steel Dromedary onto target creature.
mana={3}
type=Artifact Creature
subtype=Camel
power=2
toughness=2
[/card]
[card]
name=Steel Hellkite
abilities=flying
auto={2}:name(Gains 1/0) 1/0 ueot
auto=@combatdamageof(player) from(this):name(Hellkite Effect) counter(0/0.1.HellkiteEffect)
auto=@combatdamagefoeof(player) from(this):name(Hellkite Effect) counter(0/0.1.HellkiteOppoEffect)
auto=@each endofturn restriction{compare(hascnthellkiteeffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.HellkiteEffect)
auto=@each endofturn restriction{compare(hascnthellkiteoppoeffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.HellkiteOppoEffect)
auto={C(0/0.-1.HellkiteOppoEffect)}{0}:name(X=0) all(*[-land;manacost=0]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{0}:name(X=0) all(*[-land;manacost=0]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{1}:name(X=1) all(*[-land;manacost=1]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{1}:name(X=1) all(*[-land;manacost=1]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{2}:name(X=2) all(*[-land;manacost=2]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{2}:name(X=2) all(*[-land;manacost=2]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{3}:name(X=3) all(*[-land;manacost=3]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{3}:name(X=3) all(*[-land;manacost=3]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{4}:name(X=4) all(*[-land;manacost=4]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{4}:name(X=4) all(*[-land;manacost=4]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{5}:name(X=5) all(*[-land;manacost=5]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{5}:name(X=5) all(*[-land;manacost=5]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{6}:name(X=6) all(*[-land;manacost=6]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{6}:name(X=6) all(*[-land;manacost=6]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{7}:name(X=7) all(*[-land;manacost=7]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{7}:name(X=7) all(*[-land;manacost=7]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{8}:name(X=8) all(*[-land;manacost=8]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{8}:name(X=8) all(*[-land;manacost=8]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{9}:name(X=9) all(*[-land;manacost=9]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{9}:name(X=9) all(*[-land;manacost=9]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{10}:name(X=10) all(*[-land;manacost=10]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{10}:name(X=10) all(*[-land;manacost=10]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{11}:name(X=11) all(*[-land;manacost=11]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{11}:name(X=11) all(*[-land;manacost=11]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{12}:name(X=12) all(*[-land;manacost=12]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{12}:name(X=12) all(*[-land;manacost=12]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{13}:name(X=13) all(*[-land;manacost=13]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{13}:name(X=13) all(*[-land;manacost=13]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{14}:name(X=14) all(*[-land;manacost=14]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{14}:name(X=14) all(*[-land;manacost=14]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{15}:name(X=15) all(*[-land;manacost=15]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{15}:name(X=15) all(*[-land;manacost=15]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{16}:name(X=16) all(*[-land;manacost=16]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{16}:name(X=16) all(*[-land;manacost=16]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{17}:name(X=17) all(*[-land;manacost=17]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{17}:name(X=17) all(*[-land;manacost=17]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{18}:name(X=18) all(*[-land;manacost=18]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{18}:name(X=18) all(*[-land;manacost=18]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{19}:name(X=19) all(*[-land;manacost=19]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{19}:name(X=19) all(*[-land;manacost=19]|myBattlefield) destroy
auto={C(0/0.-1.HellkiteOppoEffect)}{20}:name(X=20) all(*[-land;manacost>=20]|opponentBattlefield) destroy
auto={C(0/0.-1.HellkiteEffect)}{20}:name(X=20) all(*[-land;manacost>=20]|myBattlefield) destroy
text=Flying -- {2}: Steel Hellkite gets +1/+0 until end of turn. -- {X}: Destroy each nonland permanent with converted mana cost X whose controller was dealt combat damage by Steel Hellkite this turn. Activate this ability only once each turn.
mana={6}
type=Artifact Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Steel Leaf Champion
auto=cantbeblockedby(creature[power<=2])
text=Steel Leaf Champion can't be blocked by creatures with power 2 or less.
mana={G}{G}{G}
type=Creature
subtype=Elf Knight
power=5
toughness=4
[/card]
[card]
name=Steel Squirrel
auto={6}:all(this) rolld6 6 winability donothing winabilityend loseability donothing loseabilityend rolld6end
auto=@dierolled(*|battlefield) result(5) from(controller):name(Get 5/5) name(Get 5/5) 5/5 ueot 
auto=@dierolled(*|battlefield) result(6) from(controller):name(Get 6/6) name(Get 6/6) 6/6 ueot 
text=Whenever you roll a 5 or higher on a die, Steel Squirrel gets +X/+X until end of turn, where X is the result. -- {6}: Roll a six-sided die.
mana={2}
type=Artifact Creature
subtype=Squirrel
power=1
toughness=1
[/card]
[card]
name=Steel-Plume Marshal
abilities=flying
auto=_ATTACKING_all(other creature[attacking]|mybattlefield) 2/2 ueot
text=Flying -- Whenever Steel-Plume Marshal attacks, other attacking creatures you control with flying get +2/+2 until end of turn.
mana={3}{W}{W}
type=Creature
subtype=Bird Soldier
power=3
toughness=3
[/card]
[card]
name=Steelbane Hydra
auto=counter(1/1,X)
auto={2}{G}{C(1/1,-1)}:destroy target(*[enchantment;artifact])
text=Steelbane Hydra enters the battlefield with X +1/+1 counters on it. -- {2}{G}, Remove a +1/+1 counter from Steelbane Hydra: Destroy target artifact or enchantment.
mana={X}{G}{G}
type=Creature
subtype=Turtle Hydra
power=0
toughness=0
[/card]
[card]
name=Steelclaw Lance
auto={3}:equip
auto={1}:equip target(creature[knight]|myBattlefield)
auto=teach(creature) 2/2
text=Equipped creature gets +2/+2. -- Equip Knight {1} -- Equip {3}
mana={B}{R}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Steelfin Whale
abilities=affinityartifacts
auto=@movedTo(artifact|mybattlefield):untap
text=Affinity for artifacts (This spell costs 1 less to cast for each artifact you control.) -- Whenever an artifact enters the battlefield under your control, untap Steelfin Whale.
mana={5}{U}
type=Creature
subtype=Whale
power=3
toughness=4
[/card]
[card]
name=Steelgaze Griffin
abilities=flying
auto=_SECOND_DRAW_2/0 ueot
text=Flying -- Whenever you draw your second card each turn, Steelgaze Griffin gets +2/+0 until end of turn.
mana={4}{U}
type=Creature
subtype=Griffin
power=2
toughness=4
[/card]
[card]
name=Steeple Creeper
auto={3}{U}:flying
text={3}{U}: Steeple Creeper gains flying until end of turn.
mana={2}{G}
type=Creature
subtype=Frog Snake
power=4
toughness=2
[/card]
[card]
name=Stench of Evil
auto=foreach(plains|mybattlefield) ability$!name(Destroy plains) destroy noatatarget(plains|mybattlefield)!$ controller && ability$!name(pay 2 or damage 1) pay[[{2}]] name(pay 2 mana) donothing?damage:1 controller!$ controller
auto=foreach(plains|opponentbattlefield) ability$!name(Destroy plains) destroy noatatarget(plains|mybattlefield)!$ opponent && ability$!name(pay 2 or damage 1) pay[[{2}]] name(pay 2 mana) donothing?damage:1 controller!$ opponent
text=Destroy all Plains. For each land destroyed this way, Stench of Evil deals 1 damage to that land's controller unless he or she pays {2}.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Step Through
target=<2>creature|battlefield
aicode=activate moveTo(myHand) target(wizard|myLibrary)
autohand={2}{cycle}:name(search card) reveal:plibrarycount optionone name(choose card) target(<1>wizard|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myhand))! afterrevealedend revealend
auto=moveto(ownerhand)
text=Return two target creatures to their owners' hands. -- Wizardcycling {2} ({2} , Discard this card: Search your library for a Wizard card, reveal it, put it into your hand, then shuffle.)
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Stern Dismissal
target=creature,enchantment
auto=moveTo(ownerHand)
text=Return target creature or enchantment an opponent controls to its owner's hand.
mana={U}
type=Instant
[/card]
[card]
name=Steward of Solidarity
abilities=vigilance
auto=@exerted(this):token(Warrior,creature Warrior,1/1,white,vigilance)
auto={T}:exert
text={T}, Exert Steward of Solidarity: Create a 1/1 white Warrior creature token with vigilance. (An exerted creature won't untap during your next untap step.)
mana={1}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Stigma Lasher
abilities=wither
auto=@damageof(player) from(this):transforms((,newability[nolifegain])) forever
auto=@damagefoeof(player) from(this):transforms((,newability[nolifegainopponent])) forever
text=Wither (This deals damage to creatures in the form of -1/-1 counters.) -- Whenever Stigma Lasher deals damage to a player, that player can't gain life for the rest of the game.
mana={R}{R}
type=Creature
subtype=Elemental Shaman
power=2
toughness=2
[/card]
[card]
name=Stinging Lionfish
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:ability$!name(Choose one) choice name(Tap non-land) tap(noevent) target(*[-land]|battlefield) _  choice name(Untap non-land) untap target(*[-land]|battlefield) _ choice name(Do nothing) donothing!$ controller
text=Whenever you cast your first spell during each opponent's turn, you may tap or untap target nonland permanent.
mana={1}{U}
type=Enchantment Creature
subtype=Fish
power=2
toughness=1
[/card]
[card]
name=Stinging Scorpion
auto=target(creature|opponentbattlefield) -1/-1 ueot
text=When this creature enters the battlefield, target creature an opponent controls gets -1/-1 until end of turn.
mana={4}{B}
type=Host Creature
subtype=Scorpion
power=3
toughness=2
[/card]
[card]
name=Stinging Shot
abilities=cycling
target=creature[flying]
auto=counter(-1/-1,3)
autohand=__CYCLING__({2})
text=Put three -1/-1 counters on target creature with flying. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={G}
type=Instant
[/card]
[card]
name=Stinging Study
auto=name(Draw and lose life) target(*[iscommander]|mybattlefield,mycommandzone) transforms((,newability[draw:manacost controller],newability[life:-manacost controller])) oneshot
text=You draw X cards and you lose X life, where X is the mana value of a commander you own on the battlefield or in the command zone.
mana={4}{B}
type=Instant
[/card]
[card]
name=Stir the Sands
abilities=cycling
auto=token(Zombie,creature Zombie,2/2,black)*3
autohand=@cycled(this|hand):token(Zombie,creature Zombie,2/2,black)
autohand=__CYCLING__({3}{B})
text=Create three 2/2 black Zombie creature tokens. -- Cycling {3}{B} ({3}{B}, Discard this card: Draw a card.) -- When you cycle Stir the Sands, create a 2/2 black Zombie creature token.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Stirring Address
abilities=overload
target=creature|mybattlefield
other={5}{W} name(Overload)
auto=2/2 ueot
auto=overload all(creature|myBattlefield) 2/2 ueot
text=Target creature you control gets +2/+2 until end of turn. -- Overload {5}{W} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={1}{W}
type=Instant
[/card]
[card]
name=Stitcher's Graft
auto={2}:equip
auto=teach(creature) 3/3
auto=teach(creature) transforms((,newability[counter(0/0.1.Hooked)],newability[_ATTACKING_all(this) frozen]))
auto=lord(*[counter{0/0.1.Hooked}]|mybattlefield) transforms((,newability[this(gear < 1) destroy]))
text=Equipped creature gets +3/+3. -- Whenever equipped creature attacks, it doesn't untap during its controller's next untap step. -- Whenever Stitcher's Graft becomes unattached from a permanent, sacrifice that permanent. -- Equip {2}
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Stitcher's Supplier
auto=deplete:3
autograveyard=_DIES_deplete:3
text=When Stitcher's Supplier enters the battlefield or dies, put the top three cards of your library into your graveyard.
mana={B}
type=Creature
subtype=Zombie
power=1
toughness=1
[/card]
[card]
name=Stoic Angel
abilities=flying,vigilance
auto=all(creature|mybattlefield) doesnotuntap
auto=all(creature|opponentbattlefield) doesnotuntap
auto=@each my untap:untap target(creature[tapped]|mybattlefield)
auto=@each opponent untap:ability$!name(untap creature) untap notatarget(creature[tapped]|mybattlefield)!$ opponent
text=Flying, vigilance -- Players can't untap more than one creature during their untap steps.
mana={1}{G}{W}{U}
type=Creature
subtype=Angel
power=3
toughness=4
[/card]
[card]
name=Stoic Farmer
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{W} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=if compare(type:land:mybattlefield)~lessthan~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[tap(noevent)],newability[shuffle])) oneshot )!
auto=if compare(type:land:mybattlefield)~equalto~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(myhand)
auto=if compare(type:land:mybattlefield)~morethan~compare(type:land:opponentbattlefield) then name(Search plains) name(Search plains) target(plains[basic]|mylibrary) moveto(myhand)
text=When Stoic Farmer enters the battlefield, search your library for a basic Plains card and reveal it. If an opponent controls more lands than you, put it onto the battlefield tapped. Otherwise put it into your hand. Then shuffle your library. -- Foretell {1}{W} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{W}
type=Creature
subtype=Dwarf Peasant
power=3
toughness=3
[/card]
[card]
name=Stolen Strategy
auto=@each my upkeep:all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[phaseaction[endofturn once] moveTo(ownerexile)])) ueot )!
text=At the beginning of your upkeep, exile the top card of each opponent's library. Until end of turn, you may cast spells from among those exiled cards, and you may spend mana as though it were mana of any color to cast those spells.
mana={4}{R}
type=Enchantment
[/card]
[card]
name=Stolen Vitality
target=creature
auto=3/1 ueot
auto=if compare(controllerturn)~equalto~1 then transforms((,newability[trample])) ueot 
auto=if compare(controllerturn)~equalto~0 then transforms((,newability[first strike])) ueot
text=Target creature gets +3/+1 until end of turn. If it's your turn, that creature gains trample until end of turn. Otherwise, it gains first strike until end of turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Stolen by the Fae
auto=moveto(ownerhand) target(creature[manacost=X]|battlefield)
auto=thisforeach(X) create(Faerie:creature Faerie:1/1:blue:flying) controller
text=Return target creature with converted mana cost X to its owner's hand. You create X 1/1 blue Faerie creature tokens with flying.
mana={X}{U}{U}
type=Sorcery
[/card]
[card]
name=Stone Haven Pilgrim
auto=@combat(attacking) source(this) restriction{type(*[artifact;enchantment]|myBattlefield)~morethan~0}:1/1 ueot && lifelink ueot
text=Whenever Stone Haven Pilgrim attacks, if you control an artifact or enchantment, Stone Haven Pilgrim gets +1/+1 and gains lifelink until end of turn.
mana={1}{W}
type=Creature
subtype=Kor Cleric
power=2
toughness=2
[/card]
[card]
name=Stonebinder's Familiar
auto=@movedto(*|exile) restriction{during my turn} turnlimited:counter(1/1) 
text=Whenever one or more cards are put into exile during your turn, put a +1/+1 counter on Stonebinder's Familiar. This ability triggers only once each turn.
mana={W}
type=Creature
subtype=Spirit Dog
power=1
toughness=1
[/card]
[card]
name=Stonebound Mentor
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedto(*|mybattlefield,mystack,myhand,mylibrary,mysideboard,myexile,mycommandzone) from(mygraveyard):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Whenever one or more cards leave your graveyard, scry 1.
mana={1}{R}{W}
type=Creature
subtype=Spirit Advisor
power=3
toughness=3
[/card]
[card]
name=Stonecoil Serpent
abilities=reach,trample
auto=protection from(*[multicolor])
auto=counter(1/1,X)
text=Reach, trample, protection from multicolored -- Stonecoil Serpent enters the battlefield with X +1/+1 counters on it.
mana={X}
type=Artifact Creature
subtype=Snake
power=0
toughness=0
[/card]
[card]
name=Stonerise Spirit
abilities=flying
auto={4}{E(*|mygraveyard)}:name(Creature gains flying) target(creature) transforms((,newability[flying])) ueot
text=Flying -- {4}, Exile a card from your graveyard: Target creature gains flying until end of turn.
mana={1}{W}
type=Creature
subtype=Spirit Bird
power=1
toughness=2
[/card]
[card]
name=Stonewise Fortifier
auto={4}{W}:preventAllDamage to(this) ueot
text={4}{W}: Prevent all damage that would be dealt to Stonewise Fortifier by target creature this turn.
mana={1}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Stonework Packbeast
auto=becomes(Cleric Rogue Warrior Wizard)
auto={2}:ability$! name(Add any color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller
text=Stonework Packbeast is also a Cleric, Rogue, Warrior, and Wizard. -- {2}: Add one mana of any color.
mana={2}
type=Artifact Creature
subtype=Beast
power=2
toughness=1
[/card]
[card]
name=Stony Strength
target=creature|myBattlefield
auto=counter(1/1)
auto=untap
text=Put a +1/+1 counter on target creature you control. Untap that creature.
mana={G}
type=Instant
[/card]
[card]
name=Storm Caller
auto=damage:2 opponent
text=When Storm Caller enters the battlefield, it deals 2 damage to each opponent.
mana={2}{R}
type=Creature
subtype=Ogre Shaman
power=3
toughness=2
[/card]
[card]
name=Storm Elemental
abilities=flying
auto={U}{E(*[zpos=1]|mylibrary)}:tap(noevent) target(creature[flying])
auto={U}{E(land[zpos=1;snow]|mylibrary)}:1/1 ueot
text=Flying -- {U}, Exile the top card of your library: Tap target creature with flying. -- {U}, Exile the top card of your library: If the exiled card is a snow land, Storm Elemental gets +1/+1 until end of turn.
mana={5}{U}
type=Creature
subtype=Elemental
power=3
toughness=4
[/card]
[card]
name=Storm Fleet Aerialist
abilities=flying
auto=if raid then counter(1/1,1)
text=Flying -- Raid - Storm Fleet Aerialist enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.
mana={1}{U}
type=Creature
subtype=Human Pirate
power=1
toughness=2
[/card]
[card]
name=Storm Fleet Arsonist
auto=if raid then ability$!sacrifice target(creature|mybattlefield)!$ opponent
text=Raid - When Storm Fleet Arsonist enters the battlefield, if you attacked with a creature this turn, target opponent sacrifices a permanent.
mana={4}{R}
type=Creature
subtype=Orc Pirate
power=4
toughness=4
[/card]
[card]
name=Storm Fleet Pyromancer
auto=if raid then damage:2 target(creature,player)
text=Raid - When Storm Fleet Pyromancer enters the battlefield, if you attacked with a creature this turn, Storm Fleet Pyromancer deals 2 damage to target creature or player.
mana={4}{R}
type=Creature
subtype=Human Pirate Wizard
power=3
toughness=2
[/card]
[card]
name=Storm Fleet Sprinter
abilities=unblockable, haste
text=Haste -- Storm Fleet Sprinter can't be blocked.
mana={1}{U}{R}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Storm Fleet Spy
auto=if raid then draw:1
text=Raid - When Storm Fleet Spy enters the battlefield, if you attacked with a creature this turn, draw a card.
mana={2}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Storm Fleet Swashbuckler
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[double strike]))
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Storm Fleet Swashbuckler has double strike as long as you have the city's blessing.
mana={1}{R}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Storm God's Oracle
auto=_DIES_name(Deeals 3 damage) damage:3 target(player,creature,planeswalker)
auto={1}:1/-1 ueot
text={1}: Storm God's Oracle gets +1/-1 until end of turn. -- When Storm God's Oracle dies, it deals 3 damage to any target.
mana={1}{U}{R}
type=Enchantment Creature
subtype=Human Shaman
power=1
toughness=3
[/card]
[card]
name=Storm Herald
abilities=haste
auto=activate castcard(normal) target(<anyamount>aura|myGraveyard) and!( transforms((,newability[unearth],newability[exiledeath])) forever )!
text=Haste -- When Storm Herald enters the battlefield, return any number of Aura cards from your graveyard to the battlefield attached to creatures you control. Exile those Auras at the beginning of your next end step. If those Auras would leave the battlefield, exile them instead of putting them anywhere else.
mana={2}{R}
type=Creature
subtype=Human Shaman
power=3
toughness=2
[/card]
[card]
name=Storm Sculptor
abilities=unblockable
auto=moveto(myhand) target(creature|mybattlefield)
text=Storm Sculptor can't be blocked. -- When Storm Sculptor enters the battlefield, return a creature you control to its owner's hand.
mana={3}{U}
type=Creature
subtype=Merfolk Wizard
power=3
toughness=2
[/card]
[card]
name=Storm Skreelix
abilities=flying
auto=lord(*[instant;sorcery]|mycastingzone) altercost(colorless,-1)
auto=@movedto(*[instant;sorcery]|mystack):name(Gets 2/0) 2/0 ueot
text=Flying -- Instant and sorcery spells you cast cost {1} less to cast. -- Whenever you cast an instant or sorcery spell, Storm Skreelix gets +2/+0 until end of turn.
type=Creature
subtype=Drake Horror
mana={3}{U}{R}
power=2
toughness=4
[/card]
[card]
name=Storm Strike
target=creature
auto=first strike
auto=+1/+0
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Target creature gets +1/+0 and gains first strike until end of turn. Scry 1.
mana={R}
type=Instant
[/card]
[card]
name=Storm the Citadel
auto=all(creature|myBattlefield) +2/+2
auto=all(creature|myBattlefield) @combatdamaged(player,planeswalker) from(this):destroy target(artifact,enchantment)
text=Until end of turn, creatures you control get +2/+2 and gain "Whenever this creature deals combat damage to a player or planeswalker, destroy target artifact or enchantment defending player controls."
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Storm the Festival
flashback={7}{G}{G}{G}
aicode=activate transforms((,newability[target(<upto:2>*[-instant;-sorcery;manacost<=5]|mylibrary) moveto(mybattlefield) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) oneshot
auto=name(Look top 5 cards) reveal:5 optionone name(Get Creature) target(<upto:2>*[-instant;-sorcery;manacost<=5]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!( moveTo(myBattlefield) )! afterrevealedend revealend
text=Look at the top five cards of your library. Put up to two permanent cards with mana value 5 or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order. -- Flashback {7}{G}{G}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{G}{G}{G}
type=Sorcery
[/card]
[card]
name=Storm the Vault
auto=@each combatdamage restriction{opponentdamagedbycombat}:token(Treasure Sur)
auto=@each my upkeep restriction{type(artifact|myBattlefield)~morethan~4}:flip(Vault of Catlacan)
text=Whenever one or more creatures you control deal combat damage to a player, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- At the beginning of your end step, if you control five or more artifacts, transform Storm the Vault.
mana={2}{U}{R}
type=Legendary Enchantment
[/card]
[card]
name=Storm's Wrath
auto=damage:4 all(creature,planeswalker)
text=Storm's Wrath deals 4 damage to each creature and each planeswalker.
mana={2}{R}{R}
type=Sorcery
[/card]
[card]
name=Storm-Charged Slasher
abilities=nightbound
backside=Reckless Stormseeker
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=@each my combatbegins:name(Creature gets 2/0 and trample) target(creature|mybattlefield) transforms((,newability[2/0],newability[trample])) ueot
text=At the beginning of combat on your turn, target creature you control gets +2/+0 and gains trample and haste until end of turn. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Reckless Stormseeker
type=Creature
subtype=Werewolf
color=red
power=3
toughness=4
[/card]
[card]
name=Storm-Kiln Artist
auto=foreach(artifact|mybattlefield) 1/0
auto=@movedto(*[instant;sorcery]|mystack):name(Create Treasure) token(Treasure Sur)
text=Storm-Kiln Artist gets +1/+0 for each artifact you control. -- Magecraft - Whenever you cast or copy an instant or sorcery spell, create a Treasure token.
mana={3}{R}
type=Creature
subtype=Dwarf Shaman
power=2
toughness=2
[/card]
[card]
name=Stormcloud Spirit
abilities=flying
text=Flying. (This creature can't be blocked except by creatures with flying or reach.)
mana={3}{U}{U}
type=Creature
subtype=Spirit
power=4
toughness=4
[/card]
[card]
name=Stormfist Crusader
abilities=menace
auto=@each my upkeep:life:-1 controller
auto=@each my upkeep:life:-1 opponent
auto=@each my upkeep:draw:1 controller
auto=@each my upkeep:draw:1 opponent
text=Menace -- At the beginning of your upkeep, each player draws a card and loses 1 life.
mana={B}{R}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Stormscape Battlemage
abilities=hasotherkicker
other={2}{U}{W} name(Kicker white)
kicker={2}{B} name(Kicker black or both)
auto=if paid(alternative) then life:3 controller
auto=if paid(kicker) then bury target(creature[-black])
auto=if paid(kicker) then pay({W}) name(Pay also kicker white) life:3 controller
text=Kicker {W} and/or {2}{B}(You may pay an additional {W} and/or {2}{B} as you cast this spell.) -- When Stormscape Battlemage enters the battlefield, if it was kicked with its {W} kicker, you gain 3 life. -- When Stormscape Battlemage enters the battlefield, if it was kicked with its {2}{B} kicker, destroy target nonblack creature. That creature can't be regenerated.
mana={2}{U}
type=Creature
subtype=Metathran Wizard
power=2
toughness=2
[/card]
[card]
name=Stormsurge Kraken
abilities=opponentshroud
auto=aslongas(*[iscommander]|mybattlefield) 2/2 >0
auto=@combat(blocked) source(this) restriction{type(*[iscommander]|myBattlefield)~morethan~0}:may name(Draw 2 cards) draw:2 controller
text=Hexproof -- Lieutenant - As long as you control your commander, Stormsurge Kraken gets +2/+2 and has "Whenever Stormsurge Kraken becomes blocked, you may draw two cards."
mana={3}{U}{U}
type=Creature
subtype=Kraken
power=5
toughness=5
[/card]
[card]
name=Stormwild Capridor
abilities=flying,noncombatvigor
text=Flying -- If noncombat damage would be dealt to Stormwild Capridor, prevent that damage. Put a +1/+1 counter on Stormwild Capridor for each 1 damage prevented this way.
mana={2}{W}
type=Creature
subtype=Bird Goat
power=1
toughness=3
[/card]
[card]
name=Stormwing Entity
abilities=flying,prowess
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
anyzone=@movedTo(*[instant;sorcery]|mystack) once:changecost(colorless:-2) ueot forcedalive
anyzone=@movedTo(*[instant;sorcery]|mystack) once:altercost(blue:-1) ueot forcedalive
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=This spell costs {2}{U} less to cast if you've cast an instant or sorcery spell this turn. -- Flying -- Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- When Stormwing Entity enters the battlefield, scry 2.
mana={3}{U}{U}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Storrev, Devkarin Lich
abilities=trample
auto=@combatdamaged(player,planeswalker) from(this):moveto(ownerhand) target(*[creature;planeswalker;-fresh]|mygraveyard)
text=Trample -- Whenever Storrev, Devkarin Lich deals combat damage to a player or planeswalker, return to your hand target creature or planeswalker card in your graveyard that wasn't put there this combat.
mana={1}{B}{B}{G}
type=Legendary Creature
subtype=Zombie Elf Wizard
power=5
toughness=4
[/card]
[card]
name=Storvald Effect
abilities=doublefacedeath,nomovetrigger
auto=choice name(Creature becomes 7/7) target(creature|battlefield) transforms((,setpower=7,settoughness=7)) ueot
auto=choice name(Creature becomes 1/1) target(creature|battlefield) transforms((,setpower=1,settoughness=1)) ueot
auto=choice name(Choose both) target(creature|battlefield) transforms((,setpower=7,settoughness=7,newability[name(Creature becomes 1/1) target(other creature|battlefield) transforms((,setpower=1,settoughness=1)) ueot])) ueot
text=Choose one or both -- Target creature has base power and toughness 7/7 until end of turn. -- Target creature has base power and toughness 1/1 until end of turn.
mana={G}{U}
type=Instant
[/card]
[card]
name=Storvald, Frost Giant Jarl
auto=@targeted(creature|mybattlefield) from(*|opponentzones):choice name(This spell costs 3 more) name(This spell costs 3 more) target(*|opponentzones) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) oneshot
auto=name(Choose one or both) activate castcard(copied noevent named!:storvald effect:!)
auto=_ATTACKING_name(Choose one or both) activate castcard(copied noevent named!:storvald effect:!)
text=Ward {3} -- Other creatures you control have ward {3}. -- Whenever Storvald enters the battlefield or attacks, Choose one or both -- Target creature has base power and toughness 7/7 until end of turn. -- Target creature has base power and toughness 1/1 until end of turn.
mana={4}{G}{W}{U}
type=Legendary Creature
subtype=Giant
power=7
toughness=7
[/card]
[card]
name=Story Seeker
abilities=lifelink
text=Lifelink
mana={1}{W}
type=Creature
subtype=Dwarf Cleric
power=2
toughness=2
[/card]
[card]
name=Strangling Grasp
target=creature,planeswalker|opponentbattlefield
backside=Vengeful Strangler
auto=@each my upkeep:ability$!name(Sacrifice a non-land permanent) name(Sacrifice a non-land permanent) target(*[-land]|mybattlefield) sacrifice and!( life:-1 controller )! !$ opponent
text=Enchant creature or planeswalker an opponent controls -- At the beginning of your upkeep, enchanted permanent's controller sacrifices a nonland permanent and loses 1 life. // Vengeful Strangler
type=Enchantment
subtype=Aura
color=black
[/card]
[card]
name=Strangling Spores
target=creature
auto=-3/-3 
text=Target creature gets -3/-3 until end of turn.
mana={3}{B}
type=Instant
[/card]
[card]
name=Stratadon
abilities=trample
autoexile=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{pbasiclandtypes}>0) changecost(colorless:-1) forcedalive
text=Domain - Stratadon costs {1} less to cast for each basic land type among lands you control. -- Trample
mana={10}
type=Artifact Creature
subtype=Beast
power=5
toughness=5
[/card]
[card]
name=Stream of Thought
abilities=hasnokicker,hasreplicate
target=player
kicker=multi{2}{U}{U} name(Replicate)
auto=name(Mill 2 cars) deplete:2
auto=may name(Return cards form graveyard) target(<upto:4>*|mygraveyard) moveto(mylibrary) and!( shuffle )!
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Stream of Thought) name(Copy Stream of Thought) activate castcard(copied noevent named!:Stream of Thought:!)!$ controller
text=Target player puts the top four cards of their library into their graveyard. You shuffle up to four cards from your graveyard into your library. -- Replicate {2}{U}{U} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.)
mana={U}
type=Sorcery
[/card]
[card]
name=Street Riot
auto=this(variable{controllerturn}>0) lord(other creature|myBattlefield) +1/+0
auto=this(variable{controllerturn}>0) lord(other creature|myBattlefield) trample
text=As long as it's your turn, creatures you control get +1/+0 and have trample.
mana={4}{R}
type=Enchantment
[/card]
[card]
name=Strength of Solidarity
target=creature|myBattlefield
auto=counter(1/1,calculateparty)
text=Choose target creature you control. Put a +1/+1 counter on it for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={G}
type=Sorcery
[/card]
[card]
name=Strength of the Pack
auto=counter(1/1,2) all(creature|mybattlefield)
text=Put two +1/+1 counters on each creature you control.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Strength of the Tajuru
kicker=multi{1}
auto=if compare(kicked)~equalto~0 then name(damage 1 target) name(damage 1 target) target(creature) counter(1/1,X)
auto=if compare(kicked)~equalto~1 then name(damage 2 targets) name(damage 2 targets) target(<upto:2>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~2 then name(damage 3 targets) name(damage 3 targets) target(<upto:3>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~3 then name(damage 4 targets) name(damage 4 targets) target(<upto:4>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~4 then name(damage 5 targets) name(damage 5 targets) target(<upto:5>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~5 then name(damage 6 targets) name(damage 6 targets) target(<upto:6>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~6 then name(damage 7 targets) name(damage 7 targets) target(<upto:7>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~7 then name(damage 8 targets) name(damage 8 targets) target(<upto:8>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~8 then name(damage 9 targets) name(damage 9 targets) target(<upto:9>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~9 then name(damage 10 targets) name(damage 10 targets) target(<upto:10>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~10 then name(damage 11 targets) name(damage 11 targets) target(<upto:11>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~11 then name(damage 12 targets) name(damage 12 targets) target(<upto:12>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~12 then name(damage 13 targets) name(damage 13 targets) target(<upto:13>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~13 then name(damage 14 targets) name(damage 14 targets) target(<upto:14>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~14 then name(damage 15 targets) name(damage 15 targets) target(<upto:15>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~15 then name(damage 16 targets) name(damage 16 targets) target(<upto:16>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~16 then name(damage 17 targets) name(damage 17 targets) target(<upto:17>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~17 then name(damage 18 targets) name(damage 18 targets) target(<upto:18>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~18 then name(damage 19 targets) name(damage 19 targets) target(<upto:19>creature) counter(1/1,X)
auto=if compare(kicked)~equalto~19 then name(damage 20 targets) name(damage 20 targets) target(<upto:20>*creature) counter(1/1,X)
text=Multikicker {1} (You may pay an additional {1} any number of times as you cast this spell.) -- Choose target creature, then choose another target creature for each time this spell was kicked. Put X +1/+1 counters on each of them.
mana={X}{G}{G}
type=Instant
[/card]
[card]
name=Strict Proctor
#MISSING:counter ability
abilities=flying
text=Flying -- Whenever a permanent entering the battlefield causes a triggered ability to trigger, counter that ability unless its controller pays {2}.
mana={1}{W}
type=Creature
subtype=Spirit Cleric
power=1
toughness=3
[/card]
[card]
name=Strike It Rich
auto=token(Treasure Sur)
flashback={2}{R}
text=Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Flashback {2}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}
type=Sorcery
[/card]
[card]
name=Striped Riverwinder
abilities=opponentshroud,cycling
autohand=__CYCLING__({U})
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.) -- Cycling {U} ({U}, Discard this card: Draw a card.)
mana={6}{U}
type=Creature
subtype=Serpent
power=5
toughness=5
[/card]
[card]
name=Strixhaven Stadium
auto={T}:add{C}
auto=@combatdamageof(player) from(creature|opponentbattlefield):counter(0/0,-1,Point)
auto=@combatdamagefoeof(player) from(creature|mybattlefield):counter(0/0,1,Point)
auto=@counteradded(0/0,1,Point) from(this) restriction{compare(hascnttime)~morethan~9}:wingame controller
text={T}: Add {C}. Put a point counter on Strixhaven Stadium. -- Whenever a creature deals combat damage to you, remove a point counter from Strixhaven Stadium. -- Whenever a creature you control deals combat damage to an opponent, put a point counter on Strixhaven Stadium. Then if it has ten or more point counters on it, remove them all and that player loses the game.
mana={3}
type=Artifact
[/card]
[card]
name=Stromkirk Bloodthief
auto=@each my endofturn restriction{compare(oplifelost)morethan~0}:name(Put 1/1 counter) counter(1/1)
text=At the beginning of your end step, if an opponent lost life this turn, put a +1/+1 counter on target Vampire you control.
mana={2}{B}
type=Creature
subtype=Vampire Rogue
power=2
toughness=2
[/card]
[card]
name=Strongarm Tactics
auto=ability$!name(Choose one) choice name(Discard Creature) notatarget(*[creature]|myhand) reject _ choice name(Discard non creature and loose 4 life) notatarget(*[-creature]|myhand) reject && life:-4!$ controller
auto=ability$!name(Choose one) choice name(Discard Creature) notatarget(*[creature]|myhand) reject _ choice name(Discard non creature and loose 4 life) notatarget(*[-creature]|myhand) reject && life:-4!$ opponent
text=Each player discards a card. Then each player who didn't discard a creature card this way loses 4 life.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Stronghold Confessor
abilities=menace
kicker={3}
auto=if paid(kicker) then counter(1/1,2)
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- Menace (This creature can't be blocked except by two or more creatures.) -- If Stronghold Confessor was kicked, it enters the battlefield with two +1/+1 counters on it.
mana={B}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Structural Collapse
target=player
auto=damage:2 targetedplayer
auto=ability$!name(Sacrifice artifact) notatarget(artifact|mybattlefield) sacrifice!$ targetedplayer
auto=ability$!name(Sacrifice land) notatarget(land|mybattlefield) sacrifice!$ targetedplayer
text=Target player sacrifices an artifact and a land. Structural Collapse deals 2 damage to that player.
mana={5}{R}
type=Sorcery
[/card]
[card]
name=Struggle // Survive
target=creature
auto=foreach(land|mybattlefield) damage:1
autograveyard={1}{G}{E}:moveTo(mylibrary) all(*|mygraveyard) && shuffle && transforms((,newability[moveTo(opponentlibrary) all(*|opponentgraveyard)],newability[ability$!shuffle!$ opponent])) ueot assorcery
text=Struggle deals damage to target creature equal to the number of lands you control. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Each player shuffles his or her graveyard into his or her library.
mana={2}{R}
type=Instant
[/card]
[card]
name=Struggle for Skemfar
abilities=foretell
target=creature|mybattlefield
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={G} restriction{compare(canforetellcast)~morethan~0,type(creature|mybattlefield)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=transforms((,newability[counter(1/1)],newability[may name(Fights another creature) target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot 
text=Put a +1/+1 counter on target creature you control. Then that creature fights up to one target creature you don't control. (Each deals damage equal to its power to the other.) -- Foretell {G} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Study Break
target=<upto:2>creature
auto=tap
auto=name(Learn) transforms((,newability[if type(*[lesson]|mysideboard)~morethan~0 then choice name(Put lesson in hand) name(Put lesson in hand) target(*[lesson]|mysideboard) moveto(myhand)],newability[if type(*|myhand)~morethan~0 then choice name(Discard and draw) name(Discard and draw) target(*|myhand) reject and!(draw:1)!],newability[if type(Retriever Phoenix|mygraveyard)~morethan~0 then choice name(Return a Retriever Phoenix) name(Return a Retriever Phoenix) target(Retriever Phoenix|mygraveyard) moveto(myBattlefield)],newability[choice name(Don't learn) donothing])) oneshot
text=Tap up to two target creatures. -- Learn. (You may reveal a Lesson card you own from outside the game and put it into your hand, or discard a card to draw a card.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Study Hall
aicode=activate transforms((,newability[all(*[zpos<=pnumofcommandcast]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={1}{T}:name(Add white mana) add{W} and!( transforms((,newability[@movedto(*[iscommander]|mybattlefield):scry:pnumofcommandcast scrycore delayed dontshow donothing scrycoreend scryend])) ueot )!
auto={1}{T}:name(Add black mana) add{B} and!( transforms((,newability[@movedto(*[iscommander]|mybattlefield):scry:pnumofcommandcast scrycore delayed dontshow donothing scrycoreend scryend])) ueot )!
auto={1}{T}:name(Add green mana) add{G} and!( transforms((,newability[@movedto(*[iscommander]|mybattlefield):scry:pnumofcommandcast scrycore delayed dontshow donothing scrycoreend scryend])) ueot )!
auto={1}{T}:name(Add red mana) add{R} and!( transforms((,newability[@movedto(*[iscommander]|mybattlefield):scry:pnumofcommandcast scrycore delayed dontshow donothing scrycoreend scryend])) ueot )!
auto={1}{T}:name(Add blue mana) add{U} and!( transforms((,newability[@movedto(*[iscommander]|mybattlefield):scry:pnumofcommandcast scrycore delayed dontshow donothing scrycoreend scryend])) ueot )!
auto={T}:add{C}
text={T}: Add {C}. -- {1}, {T}: Add one mana of any color. When you spend this mana to cast your commander, scry X, where X is the number of times it's been cast from the command zone this game.
type=Land
[/card]
[card]
name=Stuffed Bear
auto={2}:name(Becomes creature) becomes(Creature Artifact Bear,4/4,green) ueot
text={2}: Stuffed Bear becomes a 4/4 green Bear artifact creature until end of turn.
type=Artifact
mana={2}
[/card]
[card]
name=Stumpsquall Hydra
auto=if type(*[iscommander]|battlefield)~equalto~0 then counter(1/1,X)
auto=if type(*[iscommander]|battlefield)~morethan~0 then thisforeach(X) ability$!name(Put 1/1 counter) choice name(Put 1/1 counter on Stumpsquall Hydra) all(mysource) counter(1/1) _ choice name(Put 1/1 counter on a commander) target(*[iscommander]|battlefield) counter(1/1)!$ controller
text=When Stumpsquall Hydra enters the battlefield, distribute X +1/+1 counters among it and any number of commanders.
mana={X}{G}{G}{G}
type=Creature
subtype=Hydra
power=1
toughness=1
[/card]
[card]
name=Stunt Double
abilities=flash
auto=may copy NotATarget(creature)
text=Flash -- You may have Stunt Double enter the battlefield as a copy of any creature on the battlefield.
mana={3}{U}
type=Creature
subtype=Shapeshifter
power=0
toughness=0
[/card]
[card]
name=Subira, Tulzidi Caravanner
abilities=haste
auto={1}:target(other creature[power<=2]) unblockable ueot
auto={1}{R}{T}:reject all(*|myHand) && transforms((,newability[@combatdamagefoeof(player) from(creature[power<=2]|myBattlefield):draw:1 controller])) ueot
text=Haste -- {1}: Another target creature with power 2 or less can't be blocked this turn. -- {1}{R}, {T}, Discard your hand: Until end of turn, whenever a creature you control with power 2 or less deals combat damage to a player, draw a card.
mana={2}{R}
type=Legendary Creature
subtype=Human Shaman
power=2
toughness=3
[/card]
[card]
name=Sublime Epiphany
auto=if type(*|stack)~morethan~1 then choice name(Counter target spell) name(Counter target spell) target(*|stack) transforms((,newability[fizzle],newability[ability$!name(Target player draws card) may name(Target player draws card) target(player) draw:1!$ opponent],newability[ability$!name(Return permanent) may name(Return permanent) target(*[-land]|battlefield) moveto(ownerhand)!$ opponent],newability[ability$!name(Copy creature) may name(Copy creature) clone target(creature|mybattlefield)!$ opponent])) forever
auto=choice name(Don't counter any spell) name(Don't counter any spell) transforms((,newability[ability$!name(Target player draws card) may name(Target player draws card) target(player) draw:1!$ controller],newability[ability$!name(Return permanent) may name(Return permanent) target(*[-land]|battlefield) moveto(ownerhand)!$ controller],newability[ability$!name(Copy creature) may name(Copy creature) clone target(creature|mybattlefield)!$ controller])) forever
text=Choose one or more -- Counter target spell. -- Counter target activated or triggered ability. -- Return target nonland permanent to its owner's hand. -- Create a token that's a copy of target creature you control. -- Target player draws a card.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Subterranean Tremors
auto=this(X>=4) destroy all(artifacts)
auto=this(X>=8) token(Lizard,Creature Lizard,8/8,red) && destroy all(artifacts)
auto=damage:X all(creature[-flying])
text=Subterranean Tremors deals X damage to each creature without flying. If X is 4 or more, destroy all artifacts. If X is 8 or more, create an 8/8 red Lizard creature token.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Subtle Strike
auto=choice name(Target creature gets -1/-1) target(creature) -1/-1 ueot
auto=choice name(Put a +1/+1 counter) counter(1/1,1) target(creature)
auto=choice name(Choose both) target(creature) -1/-1 ueot && ability$!name(Put a +1/+1 counter) name(Put a +1/+1 counter) counter(1/1,1) target(creature)!$ controller
text=Choose one or both -- Target creature gets -1/-1 until end of turn. -- Put a +1/+1 counter on target creature.
mana={1}{B}
type=Instant
[/card]
[card]
name=Subtlety
abilities=flash,flying
other={E(*[blue]|myhand)} name(Evoke)
auto=if paid(alternative) then sacrifice
auto=may name(Choose creature or planeswalker) target(creature,planeswalker|stack) transforms((,newability[choice name(Put on top) moveto(myLibrary)],newability[choice name(Put on bottom) bottomoflibrary])) oneshot
text=Flash -- Flying -- When Subtlety enters the battlefield, choose up to one target creature spell or planeswalker spell. Its owner puts it on the top or bottom of their library. -- Evoke-Exile a blue card from your hand.
mana={2}{U}{U}
type=Creature
subtype=Elemental Incarnation
power=3
toughness=3
[/card]
[card]
name=Subversive Acolyte
auto=this(cantargetcard(*[-effect]) {2}:becomes(cleric effect) forever && transforms((,newability[life:-2 controller],newability[1/2 forever],newability[lifelink])) forever
auto=this(cantargetcard(*[-effect]) {2}:becomes(phyrexian effect) forever && transforms((,newability[life:-2 controller],newability[3/3 forever],newability[trample],newability[@damaged(this):ability$!name(Sacrifice permanents) name(Sacrifice permanents) notatarget(<storedthatmuch>*|mybattlefield) sacrifice!$ controller])) forever
text={2}, Pay 2 life: Choose one. Activate only once. -- Subversive Acolyte becomes a Human Cleric. It gets +1/+2 and gains lifelink. -- Subversive Acolyte becomes a Phyrexian. It gets +3/+3 and gains trample and "Whenever this creature is dealt damage, sacrifice that many permanents."
mana={B}{B}
type=Creature
subtype=Human
power=2
toughness=2
[/card]
[card]
name=Sudden Breakthrough
target=creature
auto=transforms((,newability[2/0],newability[first strike])) ueot
auto=token(Treasure Sur)
text=Target creature gets +2/+0 and gains first strike until end of turn. -- Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={1}{R}
type=Instant
[/card]
[card]
name=Sudden Demise
auto=chooseacolor damage:X all (creature[chosencolor]|battlefield) chooseend
text=Choose a color. Sudden Demise deals X damage to each creature of the chosen color.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Sudden Edict
target=player
abilities=split second
auto=ability$!name(sacrifice) notatarget(creature|myBattlefield) sacrifice!$ targetedplayer
text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- Target player sacrifices a creature.
mana={1}{B}
type=Instant
[/card]
[card]
name=Sudden Insight
auto=if type(*[-land;manacost=0]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=1]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=2]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=3]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=4]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=5]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=6]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=7]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=8]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=9]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=10]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=11]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=12]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=13]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=14]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=15]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=16]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=17]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=18]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost=19]|mygraveyard)~morethan~0 then draw:1 controller
auto=if type(*[-land;manacost>=20]|mygraveyard)~morethan~0 then draw:1 controller
text=Draw a card for each different mana value among nonland cards in your graveyard.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Sudden Spinnerets
target=creature
auto=1/3 ueot
auto=untap
auto=transforms((,newability[counter(0/0.1.Reach)],newability[this(counter{0/0.1.Reach}>=1) reach])) forever
text=Target creature gets +1/+3 until end of turn. Put a reach counter on it. Untap it.
mana={G}
type=Instant
[/card]
[card]
name=Suffer the Past
auto=thisforeach(X) may moveTo(myexile) target(*|opponentgraveyard) && life:1 controller && life:-1 opponent
text=Exile X target cards from target player's graveyard. For each card exiled this way, that player loses 1 life and you gain 1 life.
mana={X}{B}
type=Instant
[/card]
[card]
name=Suffocating Blast
target=*|stack
auto=fizzle
auto=ability$!name(Deal 3 damage) name(Deal 3 damage) damage:3 target(creature)!$ controller
text=Counter target spell and Suffocating Blast deals 3 damage to target creature.
mana={1}{U}{U}{R}
type=Instant
[/card]
[card]
name=Suffocating Fumes
abilities=cycling
auto=all(creature|opponentBattlefield) -1/-1 ueot
autohand=__CYCLING__({2})
text=Creatures your opponents control get -1/-1 until end of turn. / Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{B}
type=Instant
[/card]
[card]
name=Sulfurous Mire
auto=tap(noevent)
text=({T}: Add {B} or {R}.) -- Sulfurous Mire enters the battlefield tapped.
type=Snow Land
subtype=Swamp Mountain
[/card]
[card]
name=Sumala Woodshaper
auto=target(*[creature;enchantment;zpos<=4]|mylibrary) moveto(myhand)
text=When Sumala Woodshaper enters the battlefield, look at the top four cards of your library. You may reveal a creature or enchantment card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={2}{G}{W}
type=Creature
subtype=Elf Druid
power=2
toughness=1
[/card]
[card]
name=Summary Dismissal
auto=all(other *|mystack) fizzleto(exile)
auto=all(*|opponentstack) fizzleto(exile)
text=Exile all other spells and counter all abilities.
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Summary Judgment
target=creature[tapped]
auto=_ADDENDUM_ damage:5 else damage:3
text=Summary Judgment deals 3 damage to target tapped creature. -- Addendum - If you cast this spell during your main phase, it deals 5 damage to that creature instead.
mana={1}{W}
type=Instant
[/card]
[card]
name=Summoner's Bond
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[@movedto(creature[-chosenname]|mybattlefield):may name(Search library) target(creature[chosenname]|mylibrary) moveto(myhand) and!( shuffle )!],newability[@movedto(creature[chosenname]|mybattlefield):may name(Search library) target(creature[-chosenname]|mylibrary) moveto(myhand) and!( shuffle )!])) forever chooseend
text=Double agenda (Start the game with this conspiracy face down in the command zone and secretly name two different cards. You may turn this conspiracy face up any time and reveal the chosen names.) -- Whenever you cast a creature spell with one of the chosen names, you may search your library for a creature card with the other chosen name, reveal it, put it into your hand, then shuffle your library.
type=Conspiracy
[/card]
[card]
name=Summoner's Egg
auto=may name(Exile card from hand) target(*|myhand) imprint
auto=this(variable{hasevict}>0) transforms((,newability[_DIES_name(Return exiled creature) target(creature[evictname]|myexile) moveto(myBattlefield)]))
text=Imprint - When Summoner's Egg enters the battlefield, you may exile a card from your hand face down. -- When Summoner's Egg dies, turn the exiled card face up. If it's a creature card, put it onto the battlefield under your control.
mana={4}
type=Artifact Creature
subtype=Construct
power=0
toughness=4
[/card]
[card]
name=Summoning Trap
other={0} name(Creature was countered)
otherrestriction=thisturn(instant|opponentstack)~morethan~0,thisturn(creature|mystack)~morethan~0,type(creature[fresh]|mygraveyard)~morethan~0
aicode=activate transforms((,newability[target(creature[zpos<=7]|mylibrary) moveto(mybattlefield)],newability[all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot
auto=name(Look top 7) reveal:7 optionone name(Get a creature) target(<upto:1>creature|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend revealend
text=If a creature spell you cast this turn was countered by a spell or ability an opponent controlled, you may pay {0} rather than pay Summoning Trap's mana cost. -- Look at the top seven cards of your library. You may put a creature card from among them onto the battlefield. Put the rest on the bottom of your library in any order.
mana={4}{G}{G}
type=Instant
subtype=Trap
[/card]
[card]
name=Sun Sentinel
abilities=vigilance
text=Vigilance (Attacking doesn't cause this creature to tap.)
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Sun-Blessed Mount
auto=may moveto(myhand) target(Huatli^ Dinosaur Knight|mylibrary,mygraveyard)
text=When Sun-Blessed Mount enters the battlefield, you may search your library and/or graveyard for a card named Huatli, Dinosaur Knight, reveal it, then put it into your hand. If you searched your library this way, shuffle it.
mana={3}{R}{W}
type=Creature
subtype=Dinosaur
power=4
toughness=4
[/card]
[card]
name=Sun-Collared Raptor
abilities=trample
auto={2}{R}:3/0 ueot
text=Trample -- {2}{R}: Sun-Collared Raptor gets +3/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Dinosaur
power=1
toughness=2
[/card]
[card]
name=Sun-Crested Pterodon
abilities=flying
auto=aslongas(dinosaur|myBattlefield) vigilance
text=Flying -- Sun-Crested Pterodon has vigilance as long as you control another Dinosaur.
mana={4}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=5
[/card]
[card]
name=Sun-Crowned Hunters
auto=_ENRAGE_damage:3 target(opponent)
text=Enrage - Whenever Sun-Crowned Hunters is dealt damage, it deals 3 damage to target opponent.
mana={4}{R}{R}
type=Creature
subtype=Dinosaur
power=5
toughness=4
[/card]
[card]
name=Sunbaked Canyon
auto={T}{L:1}:Add{R}
auto={T}{L:1}:Add{W}
auto={1}{T}{S}:draw:1
text={T}, Pay 1 life: Add {R} or {W}. -- {1}, {T}, Sacrifice Sunbaked Canyon: Draw a card.
type=Land
[/card]
[card]
name=Sunbird's Invocation
auto=if casted(*|mystack) then moverandom(*[manacost=compare(manacost) all(trigger)]) from(mylibrary) to(mybattlefield)
text=Whenever you cast a spell from your hand, reveal the top X cards of your library, where X is that spell's converted mana cost. You may cast a card revealed this way with converted mana cost X or less without paying its mana cost. Put the rest on the bottom of your library in a random order.
mana={5}{R}
type=Enchantment
[/card]
[card]
name=Sunblade Angel
abilities=flying,first strike,vigilance,lifelink
text=Flying, first strike, vigilance, lifelink
mana={5}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Sunder Shaman
abilities=oneblocker
auto=@combatdamaged(player) from(this):destroy target(*[artifact;enchantment]|opponentbattlefield)
text=Sunder Shaman can't be blocked by more than one creature. -- Whenever Sunder Shaman deals combat damage to a player, destroy target artifact or enchantment that player controls.
mana={R}{R}{G}{G}
type=Creature
subtype=Giant Shaman
power=5
toughness=5
[/card]
[card]
name=Sundering Stroke
other={R}{R}{R}{R}{R}{R}{R} name(Adamant)
auto=if casted(this) then if spent({R}{R}{R}{R}{R}{R}{R}) then damage:7 target(<upto:3>player,creature,planeswalker)
auto=if casted(this) then ifnot spent({R}{R}{R}{R}{R}{R}{R}) then ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planewsalker) damage:1!$ controller
auto=if casted(this) then ifnot spent({R}{R}{R}{R}{R}{R}{R}) then thisforeach(variable{3}) ability$!name(Deal 2 damage) name(Deal 2 damage) target(player,creature,planewsalker) damage:2!$ controller
text=Sundering Stroke deals 7 damage divided as you choose among one, two, or three targets. If at least seven red mana was spent to cast this spell, instead Sundering Stroke deals 7 damage to each of those permanents and/or players.
mana={6}{R}
type=Sorcery
[/card]
[card]
name=Sundering Titan
auto=destroy all(land[plains,island,swamp,mountain,forest])
auto=_DIES_destroy all(land[plains,island,swamp,mountain,forest])
text=When Sundering Titan enters the battlefield or leaves the battlefield, choose a land of each basic land type, then destroy those lands.
mana={8}
type=Artifact Creature
subtype=Golem
power=7
toughness=10
[/card]
[card]
name=Sungold Barrage
target=creature[toughness>=4]
auto=destroy
text=Destroy target creature with toughness 4 or greater.
mana={2}{W}
type=Instant
[/card]
[card]
name=Sungold Sentinel
auto=may name(Exile a card from graveyard) target(*|graveyard) moveto(exile)
auto=@combat(attacking) source(this):may name(Exile a card from graveyard) target(*|graveyard) moveto(exile)
auto={1}{W} restriction{coven}:chooseacolor transforms((,newability[protection from(*[chosencolor])],newability[cantbeblockedby(creature[chosencolor])])) ueot chooseend
text=Whenever Sungold Sentinel enters the battlefield or attacks, exile up to one target card from a graveyard. -- Coven-{1}{W}: Choose a color. Sungold Sentinel gains hexproof from that color until end of turn and can't be blocked by creatures of that color this turn. Activate only if you control three or more creatures with different powers.
type=Creature
subtype=Human Soldier
mana={1}{W}
power=3
toughness=2
[/card]
[card]
name=Sunhome Stalwart
abilities=first strike,mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
text=First strike -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.)
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Sunlit Hoplite
auto=this(variable{controllerturn}>0) first strike
auto=aslongas(planeswalker[Elspeth]|mybattlefield) 1/0
text=As long as it's your turn, Sunlit Hoplite has first strike. -- Sunlit Hoplite gets +1/+0 as long as you control an Elspeth planeswalker.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Sunmane Pegasus
abilities=flying
auto={1}{W}:vigilance && lifelink ueot
text=Flying -- {1}{W}: Sunmane Pegasus gains vigilance and lifelink until end of turn.
mana={3}{W}
type=Creature
subtype=Pegasus
power=2
toughness=3
[/card]
[card]
name=Sunrise Cavalier
abilities=trample,haste
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):name(Put 1/1) counter) target(creature|mybattlefield) counter(1/1)
text=Trample, haste -- If it's neither day nor night, it becomes day as Sunrise Cavalier enters the battlefield. -- Whenever day becomes night or night becomes day, put a +1/+1 counter on target creature you control.
type=Creature
subtype=Human Knight
mana={1}{R}{W}
power=3
toughness=3
[/card]
[card]
name=Sunrise Seeker
abilities=vigilance
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=Vigilance -- When Sunrise Seeker enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={4}{W}
type=Creature
subtype=Human Scout
power=3
toughness=3
[/card]
[card]
name=Sunscape Battlemage
abilities=hasotherkicker
other={4}{W}{U} name(kicker Blue)
kicker={1}{G} name(kicker Green or both)
auto=if paid(alternative) then draw:2 controller
auto=if paid(kicker) then destroy target(creature[flying])
auto=if paid(kicker) then pay({2}{U}) name(Pay also kicker blue) draw:2 controller
text=Kicker {1}{G} and/or {2}{U} (You may pay an additional {1}{G} and/or {2}{U} as you cast this spell.) -- When Sunscape Battlemage enters the battlefield, if it was kicked with its {1}{G} kicker, destroy target creature with flying. -- When Sunscape Battlemage enters the battlefield, if it was kicked with its {2}{U} kicker, draw two cards.
mana={2}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Sunscorched Desert
auto=damage:1 target(player)
auto={T}:Add{1}
text=When Sunscorched Desert enters the battlefield, it deals 1 damage to target player. -- {T}: Add {1} to your mana pool.
type=Land
subtype=Desert
[/card]
[card]
name=Sunscourge Champion
auto=transforms((,newability[life:power controller])) ueot
## the transforms is necessary to trigger the lifegain after the eternalize sets power to 4 ##
autograveyard={2}{W}{W}{D}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=When Sunscourge Champion enters the battlefield, you gain life equal to its power. -- Eternalize-{2}{W}{W}, Discard a card. ({2}{W}{W}, Discard a card, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Human Wizard with no mana cost. Eternalize only as a sorcery.)
mana={2}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Sunset Pyramid
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=counter(0/0,3,brick)
auto={2}{T}{counter(0/0,-1,brick)}:name(Draw 1) draw:1 controller
auto={2}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Sunset Pyramid enters the battlefield with three brick counters on it. -- {2}, {T}, Remove a brick counter from Sunset Pyramid: Draw a card. -- {2}, {T}: Scry 1.
mana={2}
type=Artifact
[/card]
[card]
name=Sunset Revelry
auto=if compare(opponentlifetotal)~morethan~compare(lifetotal) then name(Gain 4 life) name(Gain 4 life) life:4 controller
auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then name(Create human) name(Create human) token(Human,Creature Human,1/1,white)*2
auto=if compare(ohandcount)~morethan~compare(phandcount) then name(Draw a card) name(Draw a card) draw:1 controller
text=If an opponent has more life than you, you gain 4 life. -- If an opponent controls more creatures than you, create two 1/1 white Human creature tokens. -- If an opponent has more cards in hand than you, draw a card.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Sunstreak Phoenix
abilities=flying
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
autograveyard=@transformed(*[day;night]|battlefield):may name(Pay and return) pay({1}{R}) name(Pay and return) moveto(mybattlefield) and!( tap(noevent) )!
text=Flying -- If it's neither day nor night, it becomes day as Sunstreak Phoenix enters the battlefield. -- When day becomes night or night becomes day, you may pay {1}{R}. If you do, return Sunstreak Phoenix from your graveyard to the battlefield tapped.
type=Creature
subtype=Phoenix
mana={2}{R}{R}
power=4
toughness=2
[/card]
[card]
name=Super-Duper Death Ray
auto=choice name(Damage opponent creature with thoughness 1) damage:1 target(creature[toughness=1]|opponentbattlefield) && damage:3 opponent
auto=choice name(Damage opponent creature with thoughness 2) damage:2 target(creature[toughness=2]|opponentbattlefield) && damage:2 opponent
auto=choice name(Damage opponent creature with thoughness 3) damage:3 target(creature[toughness=3]|opponentbattlefield) && damage:1 opponent
auto=choice name(Damage opponent creature with thoughness 4 or more) damage:4 target(creature[toughness>=4]|opponentbattlefield)
auto=choice name(Damage your creature with thoughness 1) damage:1 target(creature[toughness=1]|mybattlefield) && damage:3 controller
auto=choice name(Damage your creature with thoughness 2) damage:2 target(creature[toughness=2]|mybattlefield) && damage:2 controller
auto=choice name(Damage your creature with thoughness 3) damage:3 target(creature[toughness=3]|mybattlefield) && damage:1 controller
auto=choice name(Damage your creature with thoughness 4 or more) damage:4 target(creature[toughness>=4]|mybattlefield)
text=Trample (This spell can deal excess damage to its target's controller.) -- Super-Duper Death Ray deals 4 damage to target creature.
mana={2}{R}
type=Instant
[/card]
[card]
name=Superior Numbers
target=creature
auto=damage:type:creature:mybattlefieldminustype:creature:opponentbattlefieldbattlefieldminusend
text=Superior Numbers deals damage to target creature equal to the number of creatures you control in excess of the number of creatures target opponent controls.
mana={G}{G}
type=Sorcery
[/card]
[card]
name=Supernatural Stamina
target=creature
auto=transforms((,newability[2/0],newability[inplaytapdeath])) ueot
text=Until end of turn, target creature gets +2/+0 and gains "When this creature dies, return it to the battlefield tapped under its owner's control."
mana={B}
type=Instant
[/card]
[card]
name=Supply // Demand
other={1}{G}{W} name(Demand)
auto=if paid(alternative) then Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose multicolored card) target(<1>*[multicolor]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=ifnot paid(alternative) then token(Goblin,Creature Goblin,1/1,red)*x
text=Put X 1/1 green Saproling creature tokens onto the battlefield. // Search your library for a multicolored card, reveal it, and put it into your hand. Then shuffle your library.
mana={X}{G}{W}
type=Sorcery
[/card]
[card]
name=Supply Caravan
auto=if type(creature[tapped]|mybattlefield)~morethan~0 token(Warrior,creature Warrior,1/1,white,vigilance)
text=When Supply Caravan enters the battlefield, if you control a tapped creature, create a 1/1 white Warrior creature token with vigilance.
mana={4}{W}
type=Creature
subtype=Camel
power=3
toughness=5
[/card]
[card]
name=Supply Runners
auto=all(creature|mybattlefield) counter(1/1)
text=When Supply Runners enters the battlefield, put a +1/+1 counter on each other creature you control.
mana={4}{W}
type=Creature
subtype=Dog
power=2
toughness=2
[/card]
[card]
name=Supreme Phantom
abilities=flying
auto=lord(other spirit|myBattlefield) +1/+1
text=Flying -- Other Spirits you control get +1/+1.
mana={1}{U}
type=Creature
subtype=Spirit
power=1
toughness=3
[/card]
[card]
name=Supreme Will
auto=choice transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever target(*|stack)
auto=choice reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend
text=Choose one -- Counter target spell unless its controller pays {3}. -- Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
mana={2}{U}
type=Instant
[/card]
[card]
name=Sure-Footed Infiltrator
auto={T(other creature[rogue]|myBattlefield)}:unblockable ueot
auto=@combatdamaged(player) from(this):draw:1 controller
text=Tap another untapped Rogue you control: Sure-Footed Infiltrator can't be blocked this turn. -- Whenever Sure-Footed Infiltrator deals combat damage to a player, draw a card.
mana={3}{U}
type=Creature
subtype=Merfolk Rogue
power=2
toughness=3
[/card]
[card]
name=Surge Mare
auto=cantbeblockedby(creature[green])
auto=@damagefoeof(player) from(this):may draw:1 ability$!name(discard) reject notatarget(*|myhand)!$
auto={1}{U}:2/-2 ueot
text=Surge Mare can't be blocked by green creatures. -- Whenever Surge Mare deals damage to an opponent, you may draw a card. If you do, discard a card. -- {1}{U}: Surge Mare gets +2/-2 until end of turn.
mana={U}{U}
type=Creature
subtype=Horse Fish
power=0
toughness=5
[/card]
[card]
name=Surge to Victory
target=*[instant;sorcery]|mygraveyard
auto=moveto(exile) and!( transforms((,newability[@combatdamaged(player) from(creature|mybattlefield):name(Copy exiled card) activate castcard(copied)],newability[all(creature|mybattlefield) manacost/0 ueot])) ueot )!
text=Exile target instant or sorcery card from your graveyard. Creatures you control get +X/+0 until end of turn, where X is that card's mana value. Whenever a creature you control deals combat damage to a player this turn, copy the exiled card. You may cast the copy without paying its mana cost.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Surgeon General Commander
#The augment trigger is not supported ATM
auto=@targeted(creature|myBattlefield) from(Aura|mycastingzone):draw:1 controller
auto=@mutated(creature|myBattlefield):draw:1 controller
auto={T}:add{W}
auto={T}:add{U}
auto={T}:add{B}
auto={T}:add{R}
auto={T}:add{G}
text=Whenever you augment, enchant, or mutate a creature you control, draw a card. -- {T}: Add {W}, {U}, {B}, {R}, or {G}.
mana={3}{G}
type=Legendary Creature
subtype=Wombat Bat Chameleon
power=3
toughness=3
[/card]
[card]
name=Surly Badgersaur
auto=@discarded(*[creature]|myHand):all(this) counter(1/1,1)
auto=@discarded(*[land]|myHand):token(Treasure Sur)
auto=@discarded(*[-creature,-land]|myHand):name(Fight target creature you don't control) dynamicability<!powerstrike!> target(creature|opponentBattlefield)
text=Whenever you discard a creature card, put a +1/+1 counter on Surly Badgersaur. -- Whenever you discard a land card, create a treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Whenever you discard a noncreature, nonland card, Surly Badgersaur fights up to one target creature you don't control.
mana={3}{R}
type=Creature
subtype=Badger Dinosaur
power=3
toughness=3
[/card]
[card]
name=Surrak Dragonclaw
abilities=flash,nofizzle
auto=lord(creature|mystack) nofizzle
auto=lord(other creature|mybattlefield) trample
text=Flash -- Surrak Dragonclaw can't be countered. -- Creature spells you control can't be countered. -- Other creatures you control have trample.
mana={2}{G}{U}{R}
type=Legendary Creature
subtype=Human Warrior
power=6
toughness=6
[/card]
[card]
name=Surtland Elementalist
other={7}{U}{U} name(Cast wihtout giant)
otherrestriction=type(giant|myhand)~equalto~0
restriction=type(giant|myhand)~morethan~0
auto=_ATTACKING_may name(Cast instant or sorcery) target(*[instant;sorcery]|myhand) activate castcard(normal)
text=As an additional cost to cast this spell, reveal a Giant card from your hand or pay {2}. -- Whenever Surtland Elementalist attacks, you may cast an instant or sorcery spell from your hand without paying its mana cost.
mana={5}{U}{U}
type=Creature
subtype=Giant Wizard
power=8
toughness=8
[/card]
[card]
name=Surtland Flinger
auto=_ATTACKING_may name(Sacrifice creature) target(other creature|mybattlefield) sacrifice && transforms((,newability[if cantargetcard(giant|*) then damage:twicepower target(player^creature^planeswalker) else damage:power target(player^creature^planeswalker)])) oneshot
text=Whenever Surtland Flinger attacks, you may sacrifice another creature. When you do, Surtland Flinger deals damage equal to the sacrificed creature's power to any target. If the sacrificed creature was a Giant, Surtland Flinger deals twice that much damage instead.
mana={3}{R}{R}
type=Creature
subtype=Giant Berserker
power=4
toughness=6
[/card]
[card]
name=Surtland Frostpyre
auto=tap(noevent)
auto={T}:add{R}
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={2}{U}{U}{R}{T}{S}:scry:2 scrycore delayed dontshow donothing scrycoreend scryend && damage:2 all(creature|battlefield) asSorcery
text=Surtland Frostpyre enters the battlefield tapped. -- {T}: Add {R}. -- {2}{U}{U}{R}, {T}, Sacrifice Surtland Frostpyre: Scry 2. Surtland Frostpyre deals 2 damage to each creature. Activate this ability only any time you could cast a sorcery.
type=Land
[/card]
[card]
name=Survivors' Bond
other={1}{G} name(Both)
target=creature|myGraveyard
auto=if paid(alternative) then moveTo(myHand) && moveTo(myHand) target(creature[-human]|myGraveyard)
auto=ifnot paid(alternative) then moveTo(myHand)
text=Choose one or both -- Return target Human creature card from your graveyard to your hand. -- Return target non-Human creature card from your graveyard to your hand.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Survivors' Encampment
auto={T}:Add{1}
auto={T}{T(creature|myBattlefield)}:Add{W}
auto={T}{T(creature|myBattlefield)}:Add{U}
auto={T}{T(creature|myBattlefield)}:Add{B}
auto={T}{T(creature|myBattlefield)}:Add{R}
auto={T}{T(creature|myBattlefield)}:Add{G}
text={T}: Add {1} to your mana pool. -- {T}, Tap an untapped creature you control: Add one mana of any color to your mana pool.
type=Land
subtype=Desert
[/card]
[card]
name=Suspend
auto=name(Exile creature) name(Exile creature) target(creature) moveto(myexile) and!( transforms((,newability[counter(0/0.2.Time)],newability[@each my upkeep restriction{compare(hascnttime)~equalto~1}:name(Cast creature from exile) moveto(myReveal) and!( moveto(myBattlefield) and!( transforms((,newability[moveTo(myBattlefield) and!( if cantargetcard(creature|*) then transforms((,newability[haste])) forever )!])) forever )! )!],newability[@each my upkeep restriction{compare(hascnttime)~morethan~1}:counter(0/0.-1.Time)])) forever )!
text=Exile target creature and put two time counters on it. If it doesn't have suspend, it gains suspend. (At the beginning of its owner's upkeep, they remove a time counter. When the last is removed, they play it without paying its mana cost. If it's a creature, it has haste.)
mana={U}
type=Instant
[/card]
[card]
name=Suspicious Bookcase
abilities=defender
auto={3}{T}:target(creature) unblockable
text=Defender (This creature can't attack.) -- {3}, {T}: Target creature can't be blocked this turn.
mana={2}
type=Artifact Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Suspicious Stowaway
abilities=unblockable,daybound
backside=Seafaring Werewolf
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@combatdamaged(player) from(this):name(Draw and discard) draw:1 controller && transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot
text=Suspicious Stowaway can't be blocked. -- Whenever Suspicious Stowaway deals combat damage to a player, draw a card, then discard a card. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Seafaring Werewolf
mana={1}{U}
type=Creature
subtype=Human Rogue Werewolf
power=1
toughness=1
[/card]
[card]
name=Svella, Ice Shaper
aicode=activate castcard(normal) target(*[-land;zpos<=4]|mylibrary)
auto={6}{R}{G}{T}:name(Look top 4 cards) reveal:4 optionone name(Cast Spell) target(<1>*[-land]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(bottom of library) target(<1>*|reveal) transforms((,newability[all(*|reveal) bottomoflibrary])) oneshot optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!( activate castcard(normal) )! afterrevealedend revealend
auto={3}{T}:token(Icy Manalith)
text={3}, {T}: Create a colorless snow artifact token named Icy Manalith with "{T}: Add one mana of any color." -- {6}{R}{G}, {T}: Look at the top four cards of your library. You may cast a spell from among them without paying its mana cost. Put the rest on the bottom of your library in a random order.
mana={1}{R}{G}
type=Legendary Snow Creature
subtype=Troll Warrior
power=2
toughness=4
[/card]
[card]
name=Svyelun of Sea and Sky
auto=aslongas(merfolk|myBattlefield) indestructible >2
auto=_ATTACKING_draw:1 controller
auto=@targeted(other *[merfolk]|myBattlefield) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 more) donothing?fizzle])) oneshot
text=Svyelun of Sea and Sky has indestructible as long as you control at least two other Merfolk. -- Whenever Svyelun attacks, draw a card. -- Other Merfolk you control have ward {1} . (Whenever another Merfolk you control becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.)
mana={1}{U}{U}
type=Legendary Creature
subtype=Merfolk God
power=3
toughness=4
[/card]
[card]
name=Swab Goblin
mana={1}{R}
type=Creature
subtype=Goblin Pirate
power=2
toughness=2
[/card]
[card]
name=Swaggering Corsair
auto=if raid then counter(1/1)
text=Raid - Swaggering Corsair enters the battlefield with a +1/+1 counter on it if you attacked with a creature this turn.
mana={2}{R}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Swallow Whole
target=creature[tapped]
auto=moveTo(exile) && counter(1/1,1) target(creature[tapped]|myBattlefield)
text=As an additional cost to cast this spell, tap an untapped creature you control. -- Exile target tapped creature. Put a +1/+1 counter on the creature tapped to pay this spell's additional cost.
mana={W}{T(creature|myBattlefield}
type=Sorcery
[/card]
[card]
name=Swans of Bryn Argoll
abilities=flying,undamageable
auto=@damaged(this) from(*|opponentzones):draw:thatmuch opponent
auto=@damaged(this) from(*|myzones):draw:thatmuch controller
text=Flying -- If a source would deal damage to Swans of Bryn Argoll, prevent that damage. The source's controller draws cards equal to the damage prevented this way.
mana={2}{WU}{WU}
type=Creature
subtype=Bird Spirit
power=4
toughness=3
[/card]
[card]
name=Swarm Guildmage
auto={4}{B}{T}:all(creature|myBattlefield)) 1/0 && menace ueot
auto={1}{G}{T}:life:2
text={4}{B}, {T}: Creatures you control get +1/+0 and gain menace until end of turn. (They can't be blocked except by two or more creatures.) -- {1}{G}, {T}: You gain 2 life.
mana={B}{G}
type=Creature
subtype=Elf Shaman
power=2
toughness=2
[/card]
[card]
name=Swarm Intelligence
auto=@movedto(*[instant;sorcery]|mystack):all(trigger[to]<1>) transforms((,newability[may name(copy spell) activate name(copy spell) castcard(copied noevent)])) forever
text=Whenever you cast an instant or sorcery spell, you may copy that spell. You may choose new targets for the copy.
mana={6}{U}
type=Enchantment
[/card]
[card]
name=Swarm Shambler
auto=counter(1/1,1)
auto=@targeted(creature[counter{1/1}]|myBattlefield) from(*|opponentStack):token(Insect,Creature Insect,1/1,green)
auto={1}{T}:counter(1/1,1) all(this)
text=Swarm Shambler enters the battlefield with a +1/+1 counter on it. -- Whenever a creature you control with a +1/+1 counter on it becomes the target of a spell an opponent controls, create a 1/1 green Insect creature token. -- {1}, {T}: Put a +1/+1 counter on Swarm Shambler.
mana={G}
type=Creature
subtype=Fungus Beast
power=0
toughness=0
[/card]
[card]
name=Swarming Goblins
auto=name(Roll a d20) rolld20 20 winability token(Goblin Los)*3 winabilityend loseability if compare(lastrollresult)~lessthan~10 then token(Goblin Los) else token(Goblin Los)*2 loseabilityend rolld20end
text=When Swarming Goblins enters the battlefield, roll a d20. -- 1-9 | Create a 1/1 red Goblin creature token. -- 10-19 | Create two of those tokens. -- 20 | Create three of those tokens.
mana={4}{R}
type=Creature
subtype=Goblin
power=4
toughness=3
[/card]
[card]
name=Swashbuckling
target=creature
auto=2/2
auto=haste
text=Enchant creature -- Enchanted creature gets +2/+2 and has haste.
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Swathcutter Giant
abilities=vigilance
auto=_ATTACKING_damage:1 all(creature|opponentBattlefield)
text=Vigilance -- Whenever Swathcutter Giant attacks, it deals 1 damage to each creature defending player controls.
mana={4}{R}{W}
type=Creature
subtype=Giant Soldier
power=5
toughness=5
[/card]
[card]
name=Sweep the Skies
auto=token(Thopter,Artifact Creature Thopter,1/1,flying)*converge
text=Converge - Create a 1/1 colorless Thopter artifact creature token with flying for each color of mana spent to cast this spell.
mana={X}{U}{U}
type=Sorcery
[/card]
[card]
name=Sweet Oblivion
target=player
auto=deplete:4
retrace={3}{U}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
text=Target player puts the top four cards of their library into their graveyard. -- Escape-{3}{U}, Exile four other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Sweet-Gum Recluse
abilities=flash,reach
autostack=if casted(this) then cascade:plibrarycount
auto=target(<anyamount>creature[fresh]|battlefield) counter(1/1,3)
text=Flash -- Cascade -- Reach -- When Sweet-Gum Recluse enters the battlefield, put three +1/+1 counters on each of any number of target creatures that entered the battlefield this turn.
mana={4}{G}{G}
type=Creature
subtype=Spider
power=0
toughness=3
[/card]
[card]
name=Sweltering Suns
abilities=cycling
auto=damage:3 all(creature)
autohand=__CYCLING__({3})
text=Sweltering Suns deals 3 damage to each creature. -- Cycling {3} ({3}, Discard this card: Draw a card.)
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Swerve
target=*|stack
auto=fizzle
auto=activate castcard(copied noevent)
text=Change the target of target spell with a single target.
mana={U}{R}
type=Instant
[/card]
[card]
name=Swift Response
target=creature[tapped]
auto=destroy
text=Destroy target tapped creature.
mana={1}{W}
type=Instant
[/card]
[card]
name=Swift Warden
abilities=flash
auto=target(merfolk|myBattlefield)) opponentshroud ueot
text=Flash -- When Swift Warden enters the battlefield, target Merfolk you control gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.)
mana={1}{G}{G}
type=Creature
subtype=Merfolk Warrior
power=3
toughness=3
[/card]
[card]
name=Swiftblade Vindicator
abilities=double strike, vigilance, trample
text=Double strike, vigilance, trample
mana={R}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Swimmer in Nightmares
auto=this(variable{*|myGraveyard}>6) 3/0
auto=aslongas(planeswalker[Ashiok]|mybattlefield) unblockable
text=Swimmer in Nightmares gets +3/+0 as long as there are ten or more cards in a single graveyard. -- Swimmer in Nightmares can't be blocked as long as you control an Ashiok planeswalker.
mana={2}{U}
type=Creature
subtype=Nightmare Merfolk
power=1
toughness=4
[/card]
[card]
name=Swirling Torrent
auto=alternative moveTo(ownerlibrary) target(creature)
auto=alternative moveTo(ownerHand) target(creature)
other={5}{U} name(Both)
text=Choose one or both -- Put target creature on top of its owner's library. -- Return target creature to its owner's hand.
mana={5}{U}
type=Sorcery
[/card]
[card]
name=Switcheroo
target=creature|opponentbattlefield
auto=moveto(mybattlefield)
auto=moveto(opponentbattlefield) target(creature|mybattlefield)
text=Exchange control of two target creatures.
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Sword of Dungeons & Dragons
auto={2}:equip
auto=teach(creature) protection from(cleric)
auto=teach(creature) protection from(rogue)
auto=teach(creature) 2/2
auto=@combatdamaged(player) from(mytgt):token(Dragon,Creature Dragon,4/4,white,black,red,blue,green,flying) && transform(newability((flipacoin winability token(Dragon,Creature Dragon,4/4,white,black,red,blue,green,flying) && transform(newability((flipacoin winability  winabilityend flipend))) winabilityend flipend)))
text=Equipped creature gets +2/+2 and has protection from Rogues and from Clerics. -- Whenever equipped creature deals combat damage to a player, create a 4/4 gold Dragon creature token with flying and roll a d20 (a twenty-sided die). If you roll a 20, repeat this process. -- Equip {2}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sword of Hearth and Home
auto={2}:equip
auto=teach(creature) protection from green
auto=teach(creature) protection from white
auto=teach(creature) 2/2
auto=@combatdamaged(player) from(mytgt):may name(Exile a creature) target(creature|myBattlefield) moveto(exile) and!( transforms((,newability[moveto(myBattlefield)],newability[name(Search basic land) target(land[basic]|mylibrary) moveto(mybattlefield)])) oneshot )!
text=Equipped creature gets +2/+2 and has protection from green and from white. -- Whenever equipped creature deals combat damage to a player, exile up to one target creature you own, then search your library for a basic land card. Put both cards onto the battlefield under your control, then shuffle. -- Equip {2}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sword of Hours
auto={2}:equip
auto=teach(creature) transforms((,newability[_ATTACKING_counter(1/1)]))
auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):name(Roll a d12) rolld12 12 winability counter(1/1.hascnt11) winabilityend loseability if compare(lastrollresult)~morethan~compare(thatmuch) then counter(1/1.hascnt11) loseabilityend rolld12end]))
text=Whenever equipped creature attacks, put a +1/+1 counter on it. -- Whenever equipped creature deals combat damage, roll a d12. If the result is greater than the damage dealt or the result is 12, double the number of +1/+1 counters on that creature. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sword of Sinew and Steel
auto=teach(creature) 2/2
auto=teach(creature) protection from black
auto=teach(creature) protection from red
auto=@combatdamaged(player) from(mytgt):may destroy target(planeswalker)
auto=@combatdamaged(player) from(mytgt):may destroy target(artifact)
auto={2}:equip
text=Equipped creature gets +2/+2 and has protection from black and from red. -- Whenever equipped creature deals combat damage to a player, destroy up to one target planeswalker and up to one target artifact. -- Equip {2}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sword of Truth and Justice
auto={2}:equip
auto=teach(creature) protection from white
auto=teach(creature) protection from blue
auto=teach(creature) 2/2
auto=@combatdamaged(player) from(mytgt):_PROLIFERATE_
auto=@combatdamaged(player) from(mytgt):target(creature|myBattlefield) counter(1/1)
text=Equipped creature gets +2/+2 and has protection from white and from blue. -- Whenever equipped creature deals combat damage to a player, put a +1/+1 counter on a creature you control, then proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) -- Equip {2}
mana={3}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Sword of the Realms
auto={1}{W}:equip
auto=teach(creature) 2/0
auto=teach(creature) vigilance
auto=teach(creature) handdeath
text=Equipped creature gets +2/+0 and has vigilance. -- Whenever equipped creature dies, return it to its owner's hand. -- Equip {1}{W} // {2}{W}{W} Halvar, God of Battle
mana={1}{W}
type=Legendary Artifact
subttype=Equipment
[/card]
[card]
name=Sword-Point Diplomacy
auto=ability$!name(life or draw) choice life:-3 choice ability$!draw:1!$ opponent!$ opponent
auto=ability$!name(life or draw) choice life:-3 choice ability$!draw:1!$ opponent!$ opponent
auto=ability$!name(life or draw) choice life:-3 choice ability$!draw:1!$ opponent!$ opponent
text=Reveal the top three cards of your library. For each of those cards, put that card into your hand unless any opponent pays 3 life. Then exile the rest.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Sworn Companions
auto=create(Soldier:creature Soldier:1/1:white:lifelink)*2
text=Create two 1/1 white Soldier creature tokens with lifelink.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Sworn Guardian
mana={1}{U}
type=Creature
subtype=Merfolk Warrior
power=1
toughness=3
[/card]
[card]
name=Sylvan Anthem
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedTo(creature[green]|myBattlefield):name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=lord(creature[green]|myBattlefield) 1/1
text=Green creatures you control get +1/+1. -- Whenever a green creature enters the battlefield under your control, scry 1.
mana={G}{G}
type=Enchantment
[/card]
[card]
name=Sylvan Awakening
auto=all(land|mybattlefield) becomes(Elemental Creature,2/2,reach,indestructible,haste) uynt
text=Until your next turn, all lands you control become 2/2 Elemental creatures with reach, indestructible, and haste. They're still lands.
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Sylvan Brushstrider
auto=life:2
text=When Sylvan Brushstrider enters the battlefield, you gain 2 life.
mana={2}{G}
type=Creature
subtype=Beast
power=3
toughness=2
[/card]
[card]
name=Sylvan Library
auto=@each my draw:may thisforeach(variable{2}) name(Draw 2 cards) name(Draw 2 cards) draw:1 && ability$!name(Pay life or discard) choice name(Pay Life) life:-4 controller _ choice name(Put on top of library) target(*|myhand) moveto(mylibrary)!$ controller
text=At the beginning of your draw step, you may draw two additional cards. If you do, choose two cards in your hand drawn this turn. For each of those cards, pay 4 life or put the card on top of your library.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Sylvan Offering
auto=token(Treefolk,Creature Treefolk,X/X,green,tnum.2) opponent
auto=token(Treefolk,Creature Treefolk,X/X,green,tnum.2) controller
auto=token(Elf Warrior,Creature Elf Warrior,1/1,green)*X opponent
auto=token(Elf Warrior,Creature Elf Warrior,1/1,green)*X controller
text=Choose an opponent. You and that player each put an X/X green Treefolk creature token onto the battlefield. -- Choose an opponent. You and that player each put X 1/1 green Elf Warrior creature tokens onto the battlefield.
mana={X}{G}
type=Sorcery
[/card]
[card]
name=Sylvan Shepherd
abilities=vigilance
auto=_ATTACKING_name(Roll a d20) rolld20 20 winability life:5 controller winabilityend loseability if compare(lastrollresult)~lessthan~10 then life:1 controller else life:2 controller loseabilityend rolld20end
text=Vigilance -- Whenever Sylvan Shepherd attacks, roll a d20. -- 1-9 | You gain 1 life. -- 10-19 | You gain 2 life. -- 20 | You gain 5 life.
mana={2}{G}
type=Creature
subtype=Human Druid
power=2
toughness=3
[/card]
[card]
name=Sylvia Brightspear
abilities=double strike,partner
auto=lord(dragon|myBattlefield) haste double strike
auto=may name(Put partner in hand) moveto(myhand) target(khorvath brightflame|mylibrary)
text=Partner with Khorvath Brightflame (When this creature enters the battlefield, target player may put Khorvath into their hand from their library, then shuffle.) -- Double strike -- Dragons your team controls have double strike.
mana={2}{W}
type=Legendary Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Sylvok Explorer
auto=this(variable{olandg}>0) {t}:out{g}
auto=this(variable{olandu}>0) {t}:out{u}
auto=this(variable{olandr}>0) {t}:out{r}
auto=this(variable{olandb}>0) {t}:out{b}
auto=this(variable{olandw}>0) {t}:out{w}
auto=this(variable{olandc}>0) {t}:out{1}
text={T}: Add one mana of any color that a land an opponent controls could produce.
mana={1}{G}
type=Creature
subtype=Human Druid
power=1
toughness=1
[/card]
[card]
name=Symmetry Sage
abilities=flying
auto=@movedto(*[instant;sorcery]|mystack):name(Creature has base power 2) target(creature|mybattlefield) transforms((,settoughness=2)) ueot
text=Flying -- Magecraft - Whenever you cast or copy an instant or sorcery spell, target creature you control has base power 2 until end of turn.
mana={U}
type=Creature
subtype=Human Wizard
power=0
toughness=2
[/card]
[card]
name=Synchronized Spellcraft
target=creature
auto=damage:4
auto=damage:calculateparty targetcontroller
text=Synchronized Spellcraft deals 4 damage to target creature and X damage to that creature's controller, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)
mana={4}{R}
type=Instant
[/card]
[card]
name=Synchronized Strike
target=<upto:2>creature
auto=untap
auto=2/2
text=Untap up to two target creatures. They each get +2/+2 until end of turn.
mana={2}{G}
type=Instant
[/card]
[card]
name=Syndicate Guildmage
auto={1}{W}{T}:tap target(creature[power>=4])
auto={4}{B}{T}:damage:2 target(opponent)
text={1}{W}, {T}: Tap target creature with power 4 or greater. -- {4}{B}, {T}: Syndicate Guildmage deals 2 damage to target opponent or planeswalker.
mana={W}{B}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Syndicate Messenger
abilities=flying
auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)
text=Flying -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.)
mana={3}{W}
type=Creature
subtype=Bird
power=2
toughness=3
[/card]
[card]
name=Synod Artificer
auto={1}{T}:name(Tap 1 creature) tap(noevent) target(<1>creature[-artifact])
auto={1}{T}:name(Untap 1 artifact) untap target(<1>artifact[-creature])
auto={2}{T}:name(Tap 2 creature) tap(noevent) target(<2>creature[-artifact])
auto={2}{T}:name(Untap 2 artifact) untap target(<2>artifact[-creature])
auto={3}{T}:name(Tap 3 creature) tap(noevent) target(<3>creature[-artifact])
auto={3}{T}:name(Untap 3 artifact) untap target(<3>artifact[-creature])
auto={4}{T}:name(Tap 4 creature) tap(noevent) target(<4>creature[-artifact])
auto={4}{T}:name(Untap 4 artifact) untap target(<4>artifact[-creature])
auto={5}{T}:name(Tap 5 creature) tap(noevent) target(<5>creature[-artifact])
auto={5}{T}:name(Untap 5 artifact) untap target(<5>artifact[-creature])
auto={6}{T}:name(Tap 6 creature) tap(noevent) target(<6>creature[-artifact])
auto={6}{T}:name(Untap 6 artifact) untap target(<6>artifact[-creature])
auto={7}{T}:name(Tap 7 creature) tap(noevent) target(<7>creature[-artifact])
auto={7}{T}:name(Untap 7 artifact) untap target(<7>artifact[-creature])
auto={8}{T}:name(Tap 8 creature) tap(noevent) target(<8>creature[-artifact])
auto={8}{T}:name(Untap 8 artifact) untap target(<8>artifact[-creature])
auto={9}{T}:name(Tap 9 creature) tap(noevent) target(<9>creature[-artifact])
auto={9}{T}:name(Untap 9 artifact) untap target(<9>artifact[-creature])
auto={10}{T}:name(Tap 10 creature) tap(noevent) target(<10>creature[-artifact])
auto={10}{T}:name(Untap 10 artifact) untap target(<10>artifact[-creature])
auto={11}{T}:name(Tap 11 creature) tap(noevent) target(<11>creature[-artifact])
auto={11}{T}:name(Untap 11 artifact) untap target(<11>artifact[-creature])
auto={12}{T}:name(Tap 12 creature) tap(noevent) target(<12>creature[-artifact])
auto={12}{T}:name(Untap 12 artifact) untap target(<12>artifact[-creature])
auto={13}{T}:name(Tap 13 creature) tap(noevent) target(<13>creature[-artifact])
auto={13}{T}:name(Untap 13 artifact) untap target(<13>artifact[-creature])
auto={14}{T}:name(Tap 14 creature) tap(noevent) target(<14>creature[-artifact])
auto={14}{T}:name(Untap 14 artifact) untap target(<14>artifact[-creature])
auto={15}{T}:name(Tap 15 creature) tap(noevent) target(<15>creature[-artifact])
auto={15}{T}:name(Untap 15 artifact) untap target(<15>artifact[-creature])
auto={16}{T}:name(Tap 16 creature) tap(noevent) target(<16>creature[-artifact])
auto={16}{T}:name(Untap 16 artifact) untap target(<16>artifact[-creature])
auto={17}{T}:name(Tap 17 creature) tap(noevent) target(<17>creature[-artifact])
auto={17}{T}:name(Untap 17 artifact) untap target(<17>artifact[-creature])
auto={18}{T}:name(Tap 18 creature) tap(noevent) target(<18>creature[-artifact])
auto={18}{T}:name(Untap 18 artifact) untap target(<18>artifact[-creature])
auto={19}{T}:name(Tap 19 creature) tap(noevent) target(<19>creature[-artifact])
auto={19}{T}:name(Untap 19 artifact) untap target(<19>artifact[-creature])
auto={20}{T}:name(Tap 20 creature) tap(noevent) target(<20>creature[-artifact])
auto={20}{T}:name(Untap 20 artifact) untap target(<20>artifact[-creature])
text={X}, {T}: Tap X target noncreature artifacts. -- {X}, {T}: Untap X target noncreature artifacts.
mana={2}{U}
type=Creature
subtype=Vedalken Artificer
power=1
toughness=2
[/card]
[card]
name=Synthetic Destiny
auto=count(type:creature:mybattlefield)
auto=all(creature|myBattlefield) moveto(exile)
auto=if compare(ishuman)~morethan~0 then thisforeach(variable{countedamount}) ability$!name(Reveal from top) name(Reveal from top) reveal:1 revealuntil(creature|mylibrary) optionone name(Choose creature to play end of turn) target(creature|myreveal) bottomoflibrary and!( transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot )! optiononeend optiontwo name(Put back) all(*|myreveal) moveto(mylibrary) optiontwoend revealend!$ controller
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~1 then target(creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~2 then target(<2>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~3 then target(<3>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~4 then target(<4>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~5 then target(<5>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~6 then target(<6>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~7 then target(<7>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~8 then target(<8>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~9 then target(<9>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~10 then target(<10>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~11 then target(<11>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~12 then target(<12>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~13 then target(<13>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~14 then target(<14>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~15 then target(<15>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~16 then target(<16>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~17 then target(<17>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~18 then target(<18>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~equalto~19 then target(<19>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
auto=if compare(ishuman)~equalto~0 then if compare(countedamount)~morethan~19 then target(<20>creature|mylibrary) transforms((,newability[phaseaction[endofturn once] moveTo(myBattlefield)])) ueot
text=Exile all creatures you control. At the beginning of the next end step, reveal cards from the top of your library until you reveal that many creature cards, put all creature cards revealed this way onto the battlefield, then shuffle the rest of the revealed cards into your library.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Syr Alin, the Lion's Claw
abilities=first strike
auto=_ATTACKING_all(other creature|mybattlefield) 1/1 ueot
text=First strike -- Whenever Syr Alin, the Lion's Claw attacks, other creatures you control get +1/+1 until end of turn.
mana={3}{W}{W}
type=Legendary Creature
subtype=Human Knight
power=4
toughness=4
[/card]
[card]
name=Syr Carah, the Bold
auto={T}:damage:1 target(player,creature,planeswalker)
auto=@damageof(player) from(this):moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos=1]|mylibrary) controller
auto=@damagefoeof(player) from(this):moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos=1]|mylibrary) controller
text=Whenever Syr Carah, the Bold or an instant or sorcery spell you control deals damage to a player, exile the top card of your library. You may play that card this turn. -- {T}: Syr Carah deals 1 damage to any target.
mana={3}{R}{R}
type=Legendary Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Syr Elenora, the Discerning
anyzone=type:*:myhand/4 cdaactive
auto=draw:1 controller
auto=@targeted(this) from(*[instant;sorcery]|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*[instant;sorcery]|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Syr Elenora, the Discerning's power is equal to the number of cards in your hand. -- When Syr Elenora enters the battlefield, draw a card. -- Spells your opponents cast that target Syr Elenora cost 2 more to cast.
mana={3}{U}{U}
type=Legendary Creature
subtype=Human Knight
power=*
toughness=4
[/card]
[card]
name=Syr Faren, the Hengehammer
auto=_ATTACKING_target(creature[attacking]) power/power ueot
text=Whenever Syr Faren, the Hengehammer attacks, another target attacking creature gets +X/+X until end of turn, where X is Syr Faren's power.
mana={G}{G}
type=Legendary Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Syr Gwyn, Hero of Ashvale
abilities=vigilance,menace
auto=@combat(attacking) source(creature[geared]|mybattlefield):draw:1 && life:-1 controller
auto=lord(equipment|mybattlefield) transforms((,newability[{0}:name(Equip Zero to a Knight) rehook target(creature[Knight]|mybattlefield) assorcery]))
text=Vigilance, menace -- Whenever an equipped creature you control attacks, you draw a card and you lose 1 life. -- Equipment you control have equip Knight {0}.
mana={3}{R}{W}{B}
type=Legendary Creature
subtype=Human Knight
power=5
toughness=5
[/card]
[card]
name=Syr Konrad, the Grim
auto=@movedTo(myGraveyard) from(other creature|*):damage:1 opponent
auto=@movedTo(opponentGraveyard) from(other creature|*):damage:1 opponent
auto=@movedTo(myHand) from(creature|myGraveyard):damage:1 opponent
auto=@movedTo(myLibrary) from(creature|myGraveyard):damage:1 opponent
auto=@movedTo(exile) from(creature|myGraveyard):damage:1 opponent
auto={1}{B}:deplete:1 && deplete:1 opponent
text=Whenever another creature dies, or a creature card is put into a graveyard from anywhere other than the battlefield, or a creature card leaves your graveyard, Syr Konrad, the Grim deals 1 damage to each opponent. -- {1}{B}: Each player puts the top card of their library into their graveyard.
mana={3}{B}{B}
type=Legendary Creature
subtype=Human Knight
power=5
toughness=4
[/card]
[card]
name=Sythis, Harvest's Hand
auto=@movedTo(enchantment|myBattlefield) from(mystack):life:1 controller && draw:1 controller
text=Whenever you cast an enchantment spell, you gain 1 life and draw a card.
mana={G}{W}
type=Legendary Enchantment Creature
subtype=Nymph
power=1
toughness=2
[/card]
[card]
name=Szat's Will
auto=choice name(Sacrifice creature):ability$!name(Sacrifice) sacrifice notatarget(creature[power=power:highest:creature:myBattlefield]|mybattlefield)!$ opponent
auto=choice name(Exile all cards):token(Thrull,Creature Thrull,0/1,black)*power:highest:creature:opponentGraveyard and!( moveTo(exile) all(*|opponentgraveyard) )!
text=Choose one. If you control a commander as you cast this spell, you may choose both. -- Each opponent sacrifices a creature they control with the greatest power. -- Exile all cards from all opponents' graveyards, then create X 0/1 black Thrull creature tokens, where X is the greatest power among creature cards exiled this way.
mana={4}{B}
type=Instant
[/card]
[card]
name=Taborax, Hope's Demise
abilities=flying
auto=this(counter{1/1.1}>4) lifelink
auto=@movedTo(other cleric[-token]|myGraveyard) from(Battlefield):may draw:1 controller && life:-1 controller
auto=@movedTo(other creature[-token]|myGraveyard) from(Battlefield):counter(1/1,1) all(this)
text=Flying -- Taborax, Hope's Demise has lifelink as long as it has five or more +1/+1 counters on it. -- Whenever another nontoken creature you control dies, put a +1/+1 counter on Taborax. If that creature was a Cleric, you may draw a card. If you do, you lose 1 life.
mana={2}{B}
type=Legendary Creature
subtype=Demon Cleric
power=2
toughness=2
[/card]
[card]
name=Tactical Advantage
target=creature[blocking;blocked]|myBattlefield
auto=2/2 ueot
text=Target blocking or blocked creature you control gets +2/+2 until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Tah-Crop Elite
abilities=flying
auto=@exerted(this):all(creature|myBattlefield) 1/1
auto=_ATTACKING_may exert
text=Flying -- You may exert Tah-Crop Elite as it attacks. When you do, creatures you control get +1/+1 until end of turn. (An exerted creature won't untap during your next untap step.)
mana={3}{W}
type=Creature
subtype=Bird Warrior
power=2
toughness=2
[/card]
[card]
name=Tah-Crop Skirmisher
autograveyard={3}{U}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Embalm {3}{U} ({3}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Naga Warrior with no mana cost. Embalm only as a sorcery.)
mana={1}{U}
type=Creature
subtype=Naga Warrior
power=2
toughness=1
[/card]
[card]
name=Taigam, Ojutai Master
auto=lord(instant,sorcery,dragon|mycastingzone) nofizzle
auto=@combat(attacking) source(this):name(Next spells gain rebound) transforms((,newability[@movedTo(*[instant;sorcery]|myStack):all(trigger[to]) transforms((,newability[gainedexiledeath],newability[phaseaction[my upkeep once] counter(0/0.1.MasterExile)])) ueot])) ueot
auto=@each my upkeep:all(*[instant;sorcery]|myexile) removeallcounters(0/0,-1,MasterExile)
auto=@each my upkeep:foreach(*[counter{0/0.1.MasterExile}]|myexile) ability$!name(Choose one) choice name(Cast card from exile) activate castcard(normal) target(*[instant;sorcery;counter{0/0.1.MasterExile}]|myexile) _ choice name(Don't cast card from exile) donothing!$ controller
text=Instant, sorcery, and Dragon spells you control can't be countered. -- Whenever you cast an instant or sorcery spell from your hand, if Taigam, Ojutai Master attacked this turn, that spell gains rebound. (Exile the spell as it resolves. At the beginning of your next upkeep, you may cast that card from exile without paying its mana cost.)
mana={2}{W}{U}
type=Legendary Creature
subtype=Human Monk
power=3
toughness=4
[/card]
[card]
name=Taigam, Sidisi's Hand
auto=phasealter(remove,draw,controller)
aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=3]|mylibrary) moverandom(*[zpos<=3]) from(mylibrary) to(mylibrary)])) ueot
auto=@each my upkeep:name(look) reveal:4 optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={B}{T}{E(<anyamount>*|myGraveyard}:target(creature) -1/-1*thatmuch ueot
text=Skip your draw step. -- At the beginning of your upkeep, look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. -- {B}, {T}, Exile X cards from your graveyard: Target creature gets -X/-X until end of turn.
mana={3}{U}{B}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=4
[/card]
[card]
name=Tainted Adversary
abilities=deathtouch
auto=choice name(Don't add any counter) donothing
auto=choice name(Add 1 counter) thisforeach(variable{1}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 2 counters) thisforeach(variable{2}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 3 counters) thisforeach(variable{3}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 4 counters) thisforeach(variable{4}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 5 counters) thisforeach(variable{5}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 6 counters) thisforeach(variable{6}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 7 counters) thisforeach(variable{7}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 8 counters) thisforeach(variable{8}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 9 counters) thisforeach(variable{9}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 10 counters) thisforeach(variable{10}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 11 counters) thisforeach(variable{11}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 12 counters) thisforeach(variable{12}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 13 counters) thisforeach(variable{13}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 14 counters) thisforeach(variable{14}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 15 counters) thisforeach(variable{15}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 16 counters) thisforeach(variable{16}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 17 counters) thisforeach(variable{17}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 18 counters) thisforeach(variable{18}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 19 counters) thisforeach(variable{19}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
auto=choice name(Add 20 counters) thisforeach(variable{20}) ability$!name(Pay to add counter) pay({2}{B}) name(Pay to add counter) all(mysource) name(Pay to add counter) transforms((,newability[counter(1/1.1)],newability[name(Create 1 zombie) token(Zombie Dec)])) oneshot!$ controller
text=Deathtouch -- When Tainted Adversary enters the battlefield, you may pay {2}{B} any number of times. When you pay this cost one or more times, put that many +1/+1 counters on Tainted Adversary, then create twice that many black 2/2 Zombie creature tokens with decayed. (A creature with decayed can't block. When it attacks, sacrifice it at end of combat.)
type=Creature
subtype=Zombie
mana={1}{B}
power=2
toughness=3
[/card]
[card]
name=Tainted Remedy
auto=@lifefoeof(player):name(Loose life instead) life:-twicethatmuch opponent
text=If an opponent would gain life, that player loses that much life instead.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Taj-Nar Swordsmith
auto=choice name(Don't pay) donothing
auto=choice name(X = 0) transforms((,newability[name(Search equipment) target(equipment[manacost=0]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 1) transforms((,newability[pay[[{1}]] name(Pay and search equipment) target(equipment[manacost<=1]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 2) transforms((,newability[pay[[{2}]] name(Pay and search equipment) target(equipment[manacost<=2]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 3) transforms((,newability[pay[[{3}]] name(Pay and search equipment) target(equipment[manacost<=3]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 4) transforms((,newability[pay[[{4}]] name(Pay and search equipment) target(equipment[manacost<=4]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 5) transforms((,newability[pay[[{5}]] name(Pay and search equipment) target(equipment[manacost<=5]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 6) transforms((,newability[pay[[{6}]] name(Pay and search equipment) target(equipment[manacost<=6]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 7) transforms((,newability[pay[[{7}]] name(Pay and search equipment) target(equipment[manacost<=7]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 8) transforms((,newability[pay[[{8}]] name(Pay and search equipment) target(equipment[manacost<=8]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 9) transforms((,newability[pay[[{9}]] name(Pay and search equipment) target(equipment[manacost<=9]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 10) transforms((,newability[pay[[{10}]] name(Pay and search equipment) target(equipment[manacost<=10]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 11) transforms((,newability[pay[[{11}]] name(Pay and search equipment) target(equipment[manacost<=11]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 12) transforms((,newability[pay[[{12}]] name(Pay and search equipment) target(equipment[manacost<=12]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 13) transforms((,newability[pay[[{13}]] name(Pay and search equipment) target(equipment[manacost<=13]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 14) transforms((,newability[pay[[{14}]] name(Pay and search equipment) target(equipment[manacost<=14]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 15) transforms((,newability[pay[[{15}]] name(Pay and search equipment) target(equipment[manacost<=15]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 16) transforms((,newability[pay[[{16}]] name(Pay and search equipment) target(equipment[manacost<=16]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 17) transforms((,newability[pay[[{17}]] name(Pay and search equipment) target(equipment[manacost<=17]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 18) transforms((,newability[pay[[{18}]] name(Pay and search equipment) target(equipment[manacost<=18]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 19) transforms((,newability[pay[[{19}]] name(Pay and search equipment) target(equipment[manacost<=19]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
auto=choice name(X = 20) transforms((,newability[pay[[{20}]] name(Pay and search equipment) target(equipment[manacost<=20]|mylibrary) moveTo(mybattlefield) and!( shuffle )!])) oneshot
text=When Taj-Nar Swordsmith enters the battlefield, you may pay {X}. If you do, search your library for an Equipment card with converted mana cost X or less and put that card onto the battlefield. Then shuffle your library.
mana={3}{W}
type=Creature
subtype=Cat Soldier
power=2
toughness=3
[/card]
[card]
name=Tajic, Legion's Edge
abilities=haste,mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto=lord(other creature|myBattlefield) preventAllNoncombatDamage
auto={R}{W}:first strike ueot
text=Haste -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- Prevent all noncombat damage that would be dealt to other creatures you control. -- {R}{W}: Tajic, Legion's Edge gains first strike until end of turn.
mana={1}{R}{W}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=2
[/card]
[card]
name=Tajuru Blightblade
abilities=deathtouch
text=Deathtouch.
mana={G}
type=Creature
subtype=Elf Rogue
power=1
toughness=1
[/card]
[card]
name=Tajuru Paragon
aicode=activate target(creature[elf;cleric;warrior;rogue;wizard;zpos<=6]|myLibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-elf;-cleric;-warrior;-rogue;-wizard]|*) then bottomoflibrary)!
auto=becomes(Cleric Rogue Warrior Wizard)
kicker={3}
auto=if paid(kicker) then name(Reveal six cards from top) Reveal:6 revealzone(myLibrary) optionone target(creature[elf;cleric;warrior;rogue;wizard]|reveal) moveTo(ownerHand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
text=Tajuru Paragon is also a Cleric, Rogue, Warrior, and Wizard. -- Kicker {3} -- When Tajuru Paragon enters the battlefield, if it was kicked, reveal the top six cards of your library. You may put a card that shares a creature type with it from among them into your hand. Put the rest on the bottom of your library in a random order.
mana={1}{G}
type=Creature
subtype=Elf
power=3
toughness=2
[/card]
[card]
name=Tajuru Snarecaster
abilities=reach
text=Reach.
mana={2}{G}
type=Creature
subtype=Elf Rogue
power=1
toughness=4
[/card]
[card]
name=Take Down
auto=choice name(Deals 4 damage to target creature with...) damage:4 target(creature[flying])
auto=choice name(Deals 1 damage to each creature with...) damage:1 all(creature[flying])
text=Choose one -- Take Down deals 4 damage to target creature with flying. -- Take Down deals 1 damage to each creature with flying.
mana={G}
type=Sorcery
[/card]
[card]
name=Take Heart
target=creature|myBattlefield
auto=+2/+2
auto=foreach(creature[attacking]|mybattlefield) life:1
text=Target creature gets +2/+2 until end of turn. You gain 1 life for each attacking creature you control.
mana={W}
type=Instant
[/card]
[card]
name=Take Vengeance
target=creature[tapped]
auto=destroy
text=Destroy target tapped creature.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Tale's End
target=*[legendary]|stack
auto=fizzle
text=Counter target activated ability, triggered ability, or legendary spell.
mana={1}{U}
type=Instant
[/card]
[card]
name=Tales of the Ancestors
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{U} restriction{compare(canforetellcast)~morethan~0,can play sorcery}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=if compare(phandcount)~lessthan~compare(ohandcount) then draw:ohandcountminusphandcountminusend controller
auto=if compare(ohandcount)~lessthan~compare(phandcount) then draw:phandcountminusohandcountminusend opponent
text=Each player with fewer cards in hand than the player with the most cards in hand draws cards equal to the difference. -- Foretell {1}{U} (During your turn, you may pay 2 and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Talisman of Conviction
auto={T}:add{C}
auto={T}:add{R} and!( damage:1 controller )!
auto={T}:add{W} and!( damage:1 controller )!
text={T}: Add {1}. -- {T}: Add {R} or {W}. Talisman of Conviction deals 1 damage to you.
mana={2}
type=Artifact
[/card]
[card]
name=Talisman of Creativity
auto={T}:add{1}
auto={T}:add{R} and!( damage:1 controller )!
auto={T}:add{U} and!( damage:1 controller )!
text={T}: Add {1}. -- {T}: Add {U} or {R}. Talisman of Creativity deals 1 damage to you.
mana={2}
type=Artifact
[/card]
[card]
name=Talisman of Curiosity
auto={T}:add{C}
auto={T}:add{G} and!( damage:1 controller )!
auto={T}:add{U} and!( damage:1 controller )!
text={T}: Add {1}. -- {T}: Add {G} or {U}. Talisman of Curiosity deals 1 damage to you.
mana={2}
type=Artifact
[/card]
[card]
name=Talisman of Hierarchy
auto={T}:add{C}
auto={T}:add{B} and!( damage:1 controller )!
auto={T}:add{W} and!( damage:1 controller )!
text={T}: Add {1}. -- {T}: Add {W} or {B}. Talisman of Hierarchy deals 1 damage to you.
mana={2}
type=Artifact
[/card]
[card]
name=Talisman of Resilience
auto={T}:add{C}
auto={T}:add{G} and!( damage:1 controller )!
auto={T}:add{B} and!( damage:1 controller )!
text={T}: Add {1}. -- {T}: Add {B} or {G}. Talisman of Resilience deals 1 damage to you.
mana={2}
type=Artifact
[/card]
[card]
name=Tall as a Beanstalk
target=creature
auto=teach(creature) +3/+3
auto=teach(creature) reach 
auto=transforms((Giant))
text=Enchant creature -- Enchanted creature gets +3/+3, has reach, and is a Giant in addition to its other types.
mana={3}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Talons of Wildwood
target=creature
auto=teach(creature) +1/+1
auto=teach(creature) trample 
autograveyard={2}{G}:moveto(myhand)
text=Enchant creature -- Enchanted creature gets +1/+1 and has trample. (It can deal excess combat damage to the player or planeswalker it's attacking.) -- {2}{G}: Return Talons of Wildwood from your graveyard to your hand.
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Talruum Piper
auto=_ATTACKING_all(creature[flying]|opponentBattlefield) mustblock ueot
text=All creatures with flying able to block Talruum Piper do so.
mana={4}{R}
type=Creature
subtype=Minotaur
power=3
toughness=3
[/card]
[card]
name=Tamiyo's Epiphany
aicode=activate transforms((,newability[draw:2 controller])) oneshot
auto=scry:4 scrycore delayed draw:2 controller scrycoreend scryend
text=Scry 4, then draw two cards.
mana={3}{U}
type=Sorcery
[/card]
[card]
name=Tana, the Bloodsower
abilities=trample,partner
auto=@combatdamaged(player) from(mytgt):token(Saproling,Creature Saproling,1/1,green)*thatmuch
text=Trample -- Whenever Tana, the Bloodsower deals combat damage to a player, create that many 1/1 green Saproling creature tokens. -- Partner (You can have two commanders if both have partner.)
mana={2}{R}{G}
type=Legendary Creature
subtype=Elf Druid
power=2
toughness=2
[/card]
[card]
name=Tanazir Quandrix
abilities=flying,trample
auto=name(Double the 1/1 counters) target(creature[counter{1/1}]|mybattlefield) transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
auto=_ATTACKING_may name(Transform all other creatures) all(creature|mybattlefield) becomes(,power/toughness) ueot
text=Flying, trample -- When Tanazir Quandrix enters the battlefield, double the number of +1/+1 counters on target creature you control. -- Whenever Tanazir Quandrix attacks, you may have the base power and toughness of other creatures you control become equal to Tanazir Quandrix's power and toughness until end of turn.
mana={3}{G}{U}
type=Legendary Creature
subtype=Elder Dragon
power=4
toughness=4
[/card]
[card]
name=Tangle Wire
auto=fading:4
auto=@each my upkeep restriction{compare(hascntfade)~equalto~4}:ability$!name(Tap artifacts, lands or creatures) target(<4>*[artifact;creature;land]|myBattlefield) tap!$ controller
auto=@each opponent upkeep restriction{compare(hascntfade)~equalto~4}:ability$!name(Tap artifacts, lands or creatures) target(<4>*[artifact;creature;land]|myBattlefield) tap!$ opponent
auto=@each my upkeep restriction{compare(hascntfade))~equalto~3}:ability$!name(Tap artifacts, lands or creatures) target(<3>*[artifact;creature;land]|myBattlefield) tap!$ controller
auto=@each opponent upkeep restriction{compare(hascntfade)~equalto~3}:ability$!name(Tap artifacts, lands or creatures) target(<3>*[artifact;creature;land]|myBattlefield) tap!$ opponent
auto=@each my upkeep restriction{compare(hascntfade)~equalto~2}:ability$!name(Tap artifacts, lands or creatures) target(<2>*[artifact;creature;land]|myBattlefield) tap!$ controller
auto=@each opponent upkeep restriction{compare(hascntfade)~equalto~2}:ability$!name(Tap artifacts, lands or creatures) target(<2>*[artifact;creature;land]|myBattlefield) tap!$ opponent
auto=@each my upkeep restriction{compare(hascntfade)~equalto~1}:ability$!name(Tap artifacts, lands or creatures) target(*[artifact;creature;land]|myBattlefield) tap!$ controller
auto=@each opponent upkeep restriction{compare(hascntfade)~equalto~1}:ability$!name(Tap artifacts, lands or creatures) target(*[artifact;creature;land]|myBattlefield) tap!$ opponent
text=Fading 4 (This artifact enters the battlefield with four fade counters on it. At the beginning of your upkeep, remove a fade counter from it. If you can't, sacrifice it.) -- At the beginning of each player's upkeep, that player taps an untapped artifact, creature, or land he or she controls for each fade counter on Tangle Wire.
mana={3}
type=Artifact
[/card]
[card]
name=Tangleclaw Werewolf
auto=if cantargetcard(*[fresh]|*) then if compare(isflipped)~equalto~0 then if type(Vildin-Pack Alpha|mybattlefield)~morethan~0 then may name(Transform Horror Werewolf) name(Transform Horror Werewolf) name(Transform Horror Werewolf) flip(Fibrous Entangler)
auto={6}{G}:flip(Fibrous Entangler)
text=Tangleclaw Werewolf can block an additional creature each combat. -- {6}{G}: Transform Tangleclaw Werewolf.
mana={2}{G}{G}
type=Creature
subtype=Werewolf Horror
power=2
toughness=4
[/card]
[card]
name=Tangled Florahedron
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Tangled Vale)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Tangled Vale) name(Tangled Vale) flip(Tangled Vale) forcetype(land)
auto={T}:add{G}
text={T}: Add {G}. // Tangled Vale
mana={1}{G}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
[card]
name=Tangled Vale
auto=tap(noevent)
auto={T}:add{G}
text=Tangle Vale enters the battlefield tapped. -- {T}: Add {G}. // {1}{G} Tangled Florahedron
type=Land
[/card]
[card]
name=Tanglepool Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{G}
auto={T}:add{U}
text=Tanglepool Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {G} or {U}.
type=Artifact Land
[/card]
[card]
name=Tangletrap
auto=if type(creature[flying]|battlefield)~morethan~0 then choice name(Deals 5 damage) name(Deals 5 damage) target(creature[flying]|battlefield) damage:5
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact|battlefield) destroy
text=Choose one -- Tangletrap deals 5 damage to target creature with flying. -- Destroy target artifact.
mana={1}{G}
type=Instant
[/card]
[card]
name=Tapping at the Window
flashback={2}{G}
aicode=activate transforms((,newability[if type(creature[zpos<=3]|mylibrary)~equalto~0 then all(*[zpos<=3]|mylibrary) moveto(mygraveyard) else target(creature[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveto(mygraveyard) )!])) oneshot
auto=name(Look top 3 cards) reveal:3 optionone name(Get Creature) target(<upto:1>creature|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) target(<3>*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Look at the top three cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest into your graveyard. -- Flashback {2}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Tar Fiend
auto=choice name(Don't sacrifice any creature) donothing
auto=if type(*[creature]|myBattlefield)~morethan~0 then choice name(Sacrifice 1 creature) ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && counter(1/1,2) all(this) && ability$!name(Discard 1 card) reject notatarget(*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~1 then choice name(Sacrifice 2 creature) ability$!sacrifice notatarget(<2>creature|mybattlefield)!$ controller && counter(1/1,4) all(this) && ability$!name(Discard 2 cards) reject notatarget(<2>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~2 then choice name(Sacrifice 3 creature) ability$!sacrifice notatarget(<3>creature|mybattlefield)!$ controller && counter(1/1,6) all(this) && ability$!name(Discard 3 cards) reject notatarget(<3>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~3 then choice name(Sacrifice 4 creature) ability$!sacrifice notatarget(<4>creature|mybattlefield)!$ controller && counter(1/1,8) all(this) && ability$!name(Discard 4 cards) reject notatarget(<4>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~4 then choice name(Sacrifice 5 creature) ability$!sacrifice notatarget(<5>creature|mybattlefield)!$ controller && counter(1/1,10) all(this) && ability$!name(Discard 5 cards) reject notatarget(<5>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~5 then choice name(Sacrifice 6 creature) ability$!sacrifice notatarget(<6>creature|mybattlefield)!$ controller && counter(1/1,12) all(this) && ability$!name(Discard 6 cards) reject notatarget(<6>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~6 then choice name(Sacrifice 7 creature) ability$!sacrifice notatarget(<7>creature|mybattlefield)!$ controller && counter(1/1,14) all(this) && ability$!name(Discard 7 cards) reject notatarget(<7>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~7 then choice name(Sacrifice 8 creature) ability$!sacrifice notatarget(<8>creature|mybattlefield)!$ controller && counter(1/1,16) all(this) && ability$!name(Discard 8 cards) reject notatarget(<8>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~8 then choice name(Sacrifice 9 creature) ability$!sacrifice notatarget(<9>creature|mybattlefield)!$ controller && counter(1/1,18) all(this) && ability$!name(Discard 9 cards) reject notatarget(<9>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~9 then choice name(Sacrifice 10 creature) ability$!sacrifice notatarget(<10>creature|mybattlefield)!$ controller && counter(1/1,20) all(this) && ability$!name(Discard 10 cards) reject notatarget(<10>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~10 then choice name(Sacrifice 11 creature) ability$!sacrifice notatarget(<11>creature|mybattlefield)!$ controller && counter(1/1,22) all(this) && ability$!name(Discard 11 cards) reject notatarget(<11>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~11 then choice name(Sacrifice 12 creature) ability$!sacrifice notatarget(<12>creature|mybattlefield)!$ controller && counter(1/1,24) all(this) && ability$!name(Discard 12 cards) reject notatarget(<12>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~12 then choice name(Sacrifice 13 creature) ability$!sacrifice notatarget(<13>creature|mybattlefield)!$ controller && counter(1/1,26) all(this) && ability$!name(Discard 13 cards) reject notatarget(<13>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~13 then choice name(Sacrifice 14 creature) ability$!sacrifice notatarget(<14>creature|mybattlefield)!$ controller && counter(1/1,28) all(this) && ability$!name(Discard 14 cards) reject notatarget(<14>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~14 then choice name(Sacrifice 15 creature) ability$!sacrifice notatarget(<15>creature|mybattlefield)!$ controller && counter(1/1,30) all(this) && ability$!name(Discard 15 cards) reject notatarget(<15>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~15 then choice name(Sacrifice 16 creature) ability$!sacrifice notatarget(<16>creature|mybattlefield)!$ controller && counter(1/1,32) all(this) && ability$!name(Discard 16 cards) reject notatarget(<16>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~16 then choice name(Sacrifice 17 creature) ability$!sacrifice notatarget(<17>creature|mybattlefield)!$ controller && counter(1/1,34) all(this) && ability$!name(Discard 17 cards) reject notatarget(<17>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~17 then choice name(Sacrifice 18 creature) ability$!sacrifice notatarget(<18>creature|mybattlefield)!$ controller && counter(1/1,36) all(this) && ability$!name(Discard 18 cards) reject notatarget(<18>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~18 then choice name(Sacrifice 19 creature) ability$!sacrifice notatarget(<19>creature|mybattlefield)!$ controller && counter(1/1,38) all(this) && ability$!name(Discard 19 cards) reject notatarget(<19>*|myhand)!$ opponent
auto=if type(*[creature]|myBattlefield)~morethan~19 then choice name(Sacrifice 20 creature) ability$!sacrifice notatarget(<20>creature|mybattlefield)!$ controller && counter(1/1,40) all(this) && ability$!name(Discard 20 cards) reject notatarget(<20>*|myhand)!$ opponent
text=Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) -- When Tar Fiend enters the battlefield, target player discards a card for each creature it devoured.
mana={5}{B}
type=Creature
subtype=Elemental
power=4
toughness=4
[/card]
[card]
name=Taranika, Akroan Veteran
abilities=vigilance
auto=_ATTACKING_target(other creature|myBattlefield) transforms((,setpower=4,settoughness=4,newability[untap],newability[indestructible])) ueot
text=Vigilance -- Whenever Taranika, Akroan Veteran attacks, untap another target creature you control. Until end of turn, that creature has base power and toughness 4/4 and gains indestructible.
mana={1}{W}{W}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Targ Nar, Demon-Fang Gnoll
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:name(Pack tactics) all(creature[attacking]|myBattlefield) 1/0 ueot
auto={2}{R}{G}:name(Double power and toughness) power/toughness ueot
text=Pack tactics - Whenever Targ Nar, Demon-Fang Gnoll attacks, if you attacked with creatures with total power 6 or greater this combat, attacking creatures get +1/+0 until end of turn. -- {2}{R}{G}: Double Targ Nar's power and toughness until end of turn.
mana={R}{G}
type=Legendary Creature
subtype=Gnoll
power=2
toughness=2
[/card]
[card]
name=Target Minotaur
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)
mana={1}{R}
type=Creature
subtype=Minotaur Warrior
power=2
toughness=1
[/card]
[card]
name=Tariff
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~0 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=0]|mybattlefield) transforms((,newability[pay[[{0}]] name(pay 0 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~0 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=0]|mybattlefield) transforms((,newability[pay[[{0}]] name(pay 0 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~1 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=1]|mybattlefield) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~1 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=1]|mybattlefield) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~2 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=2]|mybattlefield) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~2 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=2]|mybattlefield) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~3 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=3]|mybattlefield) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~3 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=3]|mybattlefield) transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~4 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=4]|mybattlefield) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~4 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=4]|mybattlefield) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~5 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=5]|mybattlefield) transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~5 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=5]|mybattlefield) transforms((,newability[pay[[{5}]] name(pay 5 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~6 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=6]|mybattlefield) transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~6 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=6]|mybattlefield) transforms((,newability[pay[[{6}]] name(pay 6 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~7 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=7]|mybattlefield) transforms((,newability[pay[[{7}]] name(pay 7 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~7 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=7]|mybattlefield) transforms((,newability[pay[[{7}]] name(pay 7 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~8 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=8]|mybattlefield) transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~8 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=8]|mybattlefield) transforms((,newability[pay[[{8}]] name(pay 8 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~9 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=9]|mybattlefield) transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~9 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=9]|mybattlefield) transforms((,newability[pay[[{9}]] name(pay 9 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~10 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=10]|mybattlefield) transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~10 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=10]|mybattlefield) transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~11 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=11]|mybattlefield) transforms((,newability[pay[[{11}]] name(pay 11 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~11 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=11]|mybattlefield) transforms((,newability[pay[[{11}]] name(pay 11 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~12 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=12]|mybattlefield) transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~12 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=12]|mybattlefield) transforms((,newability[pay[[{12}]] name(pay 12 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~13 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=13]|mybattlefield) transforms((,newability[pay[[{13}]] name(pay 13 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~13 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=13]|mybattlefield) transforms((,newability[pay[[{13}]] name(pay 13 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~14 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=14]|mybattlefield) transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~14 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=14]|mybattlefield) transforms((,newability[pay[[{14}]] name(pay 14 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~15 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=15]|mybattlefield) transforms((,newability[pay[[{15}]] name(pay 15 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~15 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=15]|mybattlefield) transforms((,newability[pay[[{15}]] name(pay 15 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~16 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=16]|mybattlefield) transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~16 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=16]|mybattlefield) transforms((,newability[pay[[{16}]] name(pay 16 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~17 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=17]|mybattlefield) transforms((,newability[pay[[{17}]] name(pay 17 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~17 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=17]|mybattlefield) transforms((,newability[pay[[{17}]] name(pay 17 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~18 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=18]|mybattlefield) transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~18 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=18]|mybattlefield) transforms((,newability[pay[[{18}]] name(pay 18 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~equalto~19 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=19]|mybattlefield) transforms((,newability[pay[[{19}]] name(pay 19 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~equalto~19 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost=19]|mybattlefield) transforms((,newability[pay[[{19}]] name(pay 19 mana) donothing'sacrifice])) oneshot!$ controller
auto=if compare(convertedcost:highest:creature:opponentbattlefield)~morethan~19 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost>=20]|mybattlefield) transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing'sacrifice])) oneshot!$ opponent
auto=if compare(convertedcost:highest:creature:mybattlefield)~morethan~19 then ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[manacost>=20]|mybattlefield) transforms((,newability[pay[[{20}]] name(pay 20 mana) donothing'sacrifice])) oneshot!$ controller
text=Each player sacrifices the creature he or she controls with the highest converted mana cost unless he or she pays that creature's mana cost. If two creatures a player controls are tied for highest cost, that player chooses one.
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Tasha's Hideous Laughter
auto=all(*[zpos<=oppototalmana20]|opponentlibrary) moveto(exile)
text=Each opponent exiles cards from the top of their library until that player has exiled cards with total mana value 20 or more.
mana={1}{U}{U}
type=Sorcery
[/card]
[card]
name=Task Mage Assembly
auto=aslongas(creature|battlefield) sacrifice <1
auto={2}:damage:1 target(creature) asSorcery
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) damage:1 notatarget(creature|opponentBattlefield)?donothing!$ opponent])) forever asSorcery
text=When there are no creatures on the battlefield, sacrifice Task Mage Assembly. -- {2}: Task Mage Assembly deals 1 damage to target creature. Any player may activate this ability but only any time he or she could cast a sorcery.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Taste of Death
auto=sacrifice notatarget(<3>creature|mybattlefield)
auto=ability$! sacrifice notatarget(<3>creature|mybattlefield) !$ opponent
auto=token(Food)*3
text=Each player sacrifices three creatures. You create three Food tokens. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Tattered Mummy
auto=_DIES_life:-2 opponent
text=When Tattered Mummy dies, each opponent loses 2 life.
mana={1}{B}
type=Creature
subtype=Zombie Jackal
power=1
toughness=2
[/card]
[card]
name=Tatyova, Benthic Druid
auto=_LANDFALL_life:1 && draw:1
text=Whenever a land enters the battlefield under your control, you gain 1 life and draw a card.
mana={3}{G}{U}
type=Legendary Creature
subtype=Merfolk Druid
power=3
toughness=3
[/card]
[card]
name=Taunt
auto=all(creature|opponentbattlefield) transforms((,newability[phaseaction[my upkeep sourceinplay]:mustattack ueot])) oneshot
text=During target player's next turn, creatures that player controls attack you if able.
mana={U}
type=Sorcery
[/card]
[card]
name=Taunting Arbormage
kicker={3}
auto=if paid(kicker) then target(creature) lure ueot
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- When Taunting Arbormage enters the battlefield, if it was kicked, all creatures able to block target creature this turn do so.
mana={2}{G}
type=Creature
subtype=Elf Wizard
power=2
toughness=3
[/card]
[card]
name=Tavern Ruffian
abilities=daybound
backside=Tavern Smasher
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
text=Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Tavern Smasher
mana={3}{R}
type=Creature
subtype=Human Warrior Werewolf
power=2
toughness=5
[/card]
[card]
name=Tavern Scoundrel
auto=@coinflipped(*|battlefield) result(won) from(controller):name(Create treasures) token(Treasure Sur)*2
auto={1}{T}{S(other *|myBattlefield)}:flipacoin winability donothing winabilityend loseability donothing loseabilityend flipend
text=Whenever you win a coin flip, create two Treasure tokens. (They're artifacts with " {T}, Sacrifice this artifact: Add one mana of any color.") -- {1}, {T}, Sacrifice another permanent: Flip a coin.
mana={1}{R}
type=Creature
subtype=Human Rogue
power=1
toughness=3
[/card]
[card]
name=Tavern Smasher
abilities=nightbound
backside=Tavern Ruffian
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
text=Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Tavern Ruffian
type=Creature
subtype=Werewolf
color=red
power=6
toughness=5
[/card]
[card]
name=Tazeem Raptor
abilities=flying
auto=may moveTo(ownerHand) target(land|myBattlefield)
text=Flying -- When Tazeem Raptor enters the battlefield, you may return a land you control to its owner's hand.
mana={2}{W}
type=Creature
subtype=Bird
power=2
toughness=2
[/card]
[card]
name=Tazeem Roilmage
kicker={4}
auto=if paid(kicker) then moveTo(myHand) target(*[instant;sorcery]|myGraveyard)
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- When Tazeem Whirlwind Mage enters the battlefield, if this creature was kicked, return target instant or sorcery card from your graveyard to your hand.
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=1
[/card]
[card]
name=Tazri, Beacon of Unity
aicode=activate moveTo(myHand) target(<upto:2>creature[ally;cleric;rogue;warrior;wizard;zpos<=6]|myLibrary)
autocommandzone=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto={2U}{2B}{2R}{2G}:name(Reveal six cards from top) reveal:6 optionone name(Get cards) target(<upto:2>creature[ally;cleric;rogue;warrior;wizard]|reveal) moveTo(myHand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
text=This spell costs {1} less to cast for each creature in your party. -- {2/U}{2/B}{2/R}{2/G}: Look at the top six cards of your library. You may reveal up to two Cleric, Rogue, Warrior, Wizard, and/or Ally cards from among them and put them into your hand. Put the rest on the bottom of your library in a random order.
mana={4}{W}
type=Legendary Creature
subtype=Human Warrior
power=4
toughness=6
[/card]
[card]
name=Teach by Example
auto=emblem transforms((,newability[@movedto(*[instant;sorcery]|myStack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot
text=When you cast your next instant or sorcery spell this turn, copy that spell. You may choose new targets for the copy.
mana={UR}{UR}
type=Instant
[/card]
[card]
name=Teachings of the Archaics
auto=if compare(type:*:opponenthand)~morethan~compare(type:*:myhand) then if compare(type:*:opponenthandminustype:*:myhandminusend)~lessthan~4 then draw:2 controller
auto=if compare(type:*:opponenthandminustype:*:myhandminusend)~morethan~3 then draw:3 controller 
text=If an opponent has more cards in hand than you, draw two cards. Draw three cards instead if an opponent has at least four more cards in hand than you.
mana={2}{U}
type=Sorcery
subtype=Lesson
[/card]
[card]
name=Team Pennant
auto={3}:equip
auto={1}:rehook target(creature[token]|mybattlefield)
auto=teach(creature) 1/1
auto=teach(creature) vigilance
auto=teach(creature) trample
text=Equipped creature gets +1/+1 and has vigilance and trample. -- Equip creature token {1} -- Equip {3}
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Team Spirit
auto=choice name(Target opponent) all(creature|opponentbattlefield) 1/1 ueot
auto=choice name(Target controller) all(creature|mybattlefield) 1/1 ueot
text=All creatures controlled by target player and his or her teammates get +1/+1 until end of turn.
mana={2}{G}
type=Instant
[/card]
[card]
name=Tectonic Giant
auto=@targeted(this) from(*|opponentcastingzone):ability$!name(Choose one) choice name(Damage opponent) damage:3 opponent) _ choice name(Exile cards) moveto(myexile) all(*[zpos<=2]|mylibrary) && target(*[fresh]|myexile) may activate castcard(normal)!$ controller
text=Whenever Tectonic Giant attacks or becomes the target of a spell an opponent controls, Choose one -- Tectonic Giant deals 3 damage to each opponent. -- Exile the top two cards of your library. Choose one of them. Until the end of your next turn, you may play that card.
mana={2}{R}{R}
type=Creature
subtype=Elemental Giant
power=3
toughness=4
[/card]
[card]
name=Tectonic Hellion
abilities=haste
auto=_ATTACKING_if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then sacrifice target(<2>land|mybattlefield) else ability$!name(Sacrifice 2 lands) notatarget(<2>land|mybattlefield) sacrifice!$ opponent 
text=Haste -- Whenever Tectonic Hellion attacks, each player who controls the most lands sacrifices two lands.
mana={5}{R}{R}
type=Creature
subtype=Hellion
power=8
toughness=5
[/card]
[card]
name=Tectonic Reformation
abilities=cycling
auto=lord(land|myhand) transform((newability[__CYLCLING__({R})]))
autohand=__CYCLING__({2})
text=Each land card in your hand has cycling {R}. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Teeterpeak Ambusher
auto={2}{R}:2/0 ueot
text={2}{R}: Teeterpeak Ambusher gets +2/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Goblin Warrior
power=1
toughness=3
[/card]
[card]
name=Teferi's Ageless Insight
auto=replacedraw if compare(currentphase)~equalto~3 then draw:1 noreplace else draw:2 noreplace
text=If you would draw a card except the first one you draw in each of your draw steps, draw two cards instead.
mana={2}{U}{U}
type=Legendary Enchantment
[/card]
[card]
name=Teferi's Protection
abilities=exiledeath
auto=all(*|myBattlefield) phaseout
auto=token(Teferi's Protection,Emblem,0/0,indestructible,shroud,cantchangelife,controllershroud,notrigger) and!( transforms((,newability[@each my untap:sacrifice])) forever )!
text=Until your next turn, your life total can't change and you gain protection from everything. All permanents you control phase out. (While they're phased out, they're treated as though they don't exist. They phase in before you untap during your untap step.) -- Exile Teferi's Protection.
mana={2}{W}
type=Instant
[/card]
[card]
name=Teferi's Protege
auto={1}{U}{T}:draw:1 controller && transforms((,newability[target(*|myhand) reject])) oneshot
text={1}{U}, {T}: Draw a card, then discard a card.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Teferi's Sentinel
auto=aslongas(planeswalker[Teferi]|myBattlefield) +4/+0
text=As long as you control a Teferi planeswalker, Teferi's Sentinel gets +4/+0.
mana={5}
type=Artifact Creature
subtype=Golem
power=2
toughness=6
[/card]
[card]
name=Teferi's Time Twist
target=*|mybattlefield
auto=(blink)ueot
text=Exile target permanent you control. Return that card to the battlefield under its owner's control at the beginning of the next end step. If it enters the battlefield as a creature, it enters with an additional +1/+1 counter on it.
mana={1}{U}
type=Instant
[/card]
[card]
name=Teferi's Tutelage
auto=draw:1 controller && transforms((,newability[target(*|myhand) reject])) oneshot
auto=@drawof(player):deplete:2 opponent
text=When Teferi's Tutelage enters the battlefield, draw a card, then discard a card. -- Whenever you draw a card, target opponent mills two cards. (They put the top two cards of their library into their graveyard.)
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Teferi's Wavecaster
abilities=flash
auto=choice name(Search Library) may moveto(myHand) target(Teferi^ Timeless Voyager|myLibrary) && shuffle
auto=choice name(Search Graveyard) may moveto(myHand) target(Teferi^ Timeless Voyager|myGraveyard)
text=Flash -- When Teferi's Wavecaster enters the battlefield, you may search your library and/or graveyard for a card named Teferi, Timeless Voyager, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=3
toughness=3
[/card]
[card]
name=Teferi, Mage of Zhalfir
abilities=flash
auto=lord(creature|mycastingzone) flash
auto=this(variable{controllerturn}>0) maxCast(*)0 opponent
text=Flash (You may cast this spell any time you could cast an instant.) -- Creature cards you own that aren't on the battlefield have flash. -- Each opponent can cast spells only any time he or she could cast a sorcery.
mana={2}{U}{U}{U}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=4
[/card]
[card]
name=Telepathy
abilities=showopponenthand
text=Your opponents play with their hands revealed.
mana={U}
type=Enchantment
[/card]
[card]
name=Teleportation Circle
auto=@each my end:may name(Exile creature or artifact) target(*[creature;artifact]|mybattlefield) moveto(exile) and!( moveto(ownerbattlefield) )!
text=At the beginning of your end step, exile up to one target artifact or creature you control, then return that card to the battlefield under its owner's control.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Temmet, Vizier of Naktamun
auto=@each my combatbegins:target(creature[token]|mybattlefield) transforms((,newability[1/1],newability[unblockable])) ueot
autograveyard={3}{W}{U}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=At the beginning of combat on your turn, target creature token you control gets +1/+1 until end of turn and can't be blocked this turn. -- Embalm {3}{W}{U} ({3}{W}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Human Cleric with no mana cost. Embalm only as a sorcery.)
mana={W}{U}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Tempered Sliver
auto=all(creature[sliver]|mybattlefield) transforms((,newability[@combatdamaged(player) from(this):counter(1/1)]))
text=Sliver creatures you control have "Whenever this creature deals combat damage to a player, put a +1/+1 counter on it."
mana={2}{G}
type=Creature
subtype=Sliver
power=2
toughness=2
[/card]
[card]
name=Tempered Veteran
auto={W}{T}:counter(1/1,1) target(creature[counter{1/1.1}])
auto={4}{W}{W}{T}: counter(1/1,1) target(creature)
text={W}, {T}: Put a +1/+1 counter on target creature with a +1/+1 counter on it. -- {4}{W}{W}, {T}: Put a +1/+1 counter on target creature.
mana={1}{W}
type=Creature
subtype=Human Knight
power=1
toughness=2
[/card]
[card]
name=Tempest Caller
auto=tap all(creature|opponentbattlefield)
text=When Tempest Caller enters the battlefield, tap all creatures target opponent controls.
mana={2}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=3
[/card]
[card]
name=Tempest Djinn
abilities=flying
auto=foreach(island[basic]|myBattlefield) 1/0
text=Flying -- Tempest Djinn gets +1/+0 for each basic Island you control.
mana={U}{U}{U}
type=Creature
subtype=Djinn
power=0
toughness=4
[/card]
[card]
name=Temple Altisaur
auto=lord(other dinosaur|mybattlefield) transforms((,newability[undamageable],newability[_ENRAGE_0/-1 ueot]))
text=If a source would deal damage to another Dinosaur you control, prevent all but 1 of that damage.
mana={4}{W}
type=Creature
subtype=Dinosaur
power=3
toughness=4
[/card]
[card]
name=Temple Thief
auto=cantbeblockedby(creature[auras>=1])
auto=cantbeblockedby(enchantment creature)
text=Temple Thief can't be blocked by enchanted creatures or enchantment creatures.
mana={1}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=2
[/card]
[card]
name=Temple of Aclazotz
auto={T}:Add{B}
auto={T}{S(creature|mybattlefield)}:life:storedtoughness
text=(Transforms from Arguel's Blood Fast.) -- {T}: Add {B} to your mana pool. -- {T}, Sacrifice a creature: You gain life equal to the sacrificed creature's toughness.
type=Legendary Land
[/card]
[card]
name=Temple of the Dragon Queen
auto=if compare(type:dragon:myhand)~equalto~0 then tap(noevent)
auto=chooseacolor transforms((,newability[{T}:add{chosencolor}])) forever chooseend
text=As Temple of the Dragon Queen enters the battlefield, you may reveal a Dragon card from your hand. Temple of the Dragon Queen enters the battlefield tapped unless you revealed a Dragon card this way or you control a Dragon. -- As Temple of the Dragon Queen enters the battlefield, choose a color. -- {T}: Add one mana of the chosen color.
type=Land
[/card]
[card]
name=Temporal Extortion
auto=ability$!name(Choose one) choice name(Pay half life and counter) life:-halfdownlifetotal controller _ choice name(Extra turn) turns:+1 opponent!$ opponent
text=When you cast Temporal Extortion, any player may pay half his or her life, rounded up. If a player does, counter Temporal Extortion. -- Take an extra turn after this one.
mana={B}{B}{B}{B}
type=Sorcery
[/card]
[card]
name=Temporal Machinations
target=creature
auto=moveTo(ownerHand)
auto=aslongas(artifact|myBattlefield) draw:1
text=Return target creature to its owner's hand. If you control an artifact, draw a card.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Tempted by the Oriq
target=*[creature;planeswalker;manacost<=3]|opponentbattlefield
auto=moveto(mybattlefield)
text=For each opponent, gain control of up to one target creature or planeswalker that player controls with mana value 3 or less.
mana={1}{U}{U}{U}
type=Sorcery
[/card]
[card]
name=Tempting Contract
auto=@each my upkeep:if compare(genrand2)~equalto~0 then token(Treasure Sur) && token(Treasure Sur) opponent
text=At the beginning of your upkeep, each opponent may create a Treasure token. For each opponent who does, you create a Treasure token.
mana={4}
type=Artifact
[/card]
[card]
name=Tempting Witch
auto=token(Food)
auto={2}{T}{S(food|myBattlefield)}:life:-3 target(player)
text=When Tempting Witch enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- {2}, {T}, Sacrifice a Food: Target player loses 3 life.
mana={2}{B}
type=Creature
subtype=Human Warlock
power=1
toughness=3
[/card]
[card]
name=Temur Charger
facedown={3}
autofacedown=aslongas(*[green]|myhand) {0}:name(Reveal green card and turn) morph
autofaceup=name(Creature gains trample) target(creature) transforms((,newability[trample])) ueot
text=Morph-Reveal a green card in your hand. (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Temur Charger is turned face up, target creature gains trample until end of turn.
mana={1}{G}
type=Creature
subtype=Horse
power=3
toughness=1
[/card]
[card]
name=Tenacious Hunter
auto=aslongas(creature[counter(-1/-1)]|battlefield) vigilance
auto=aslongas(creature[counter(-1/-1)]|battlefield) deathtouch
text=As long as a creature has a -1/-1 counter on it, Tenacious Hunter has vigilance and deathtouch.
mana={2}{G}{G}
type=Creature
subtype=Crocodile
power=4
toughness=4
[/card]
[card]
name=Tend the Pests
auto=thisforeach(storedpower>0) token(Pest,Creature Pest,1/1,green,blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )!
text=As an additional cost to cast this spell, sacrifice a creature. -- Create X 1/1 black and green Pest creature tokens with "When this creature dies, you gain 1 life," where X is the sacrificed creature's power.
mana={B}{G}{S(creature|mybattlefield)}
type=Instant
[/card]
[card]
name=Tendershoot Dryad
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ lord(Saproling|myBattlefield) 2/2
auto=@each upkeep:create(saproling:creature saproling:1/1:green)
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- At the beginning of each upkeep, create a 1/1 green Saproling creature token. -- Saprolings you control get +2/+2 as long as you have the city's blessing.
mana={4}{G}
type=Creature
subtype=Dryad
power=2
toughness=2
[/card]
[card]
name=Tentacle,Nad
type=Creature
subtype=Tentacle
power=1
toughness=1
color=blue
[/card]
[card]
name=Tentative Connection
anyzone=if type(creature[menace]|myBattlefield)~morethan~0 then changecost(colorless:-3) forcedalive
target=creature
auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)!
text=This spell costs {3} less to cast if you control a creature with menace. -- Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Tenth District Guard
auto=target(creature) 0/1 ueot
text=When Tenth District Guard enters the battlefield, target creature gets +0/+1 until end of turn.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Tenth District Legionnaire
abilities=haste
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@targeted(this):counter(1/1) && _SCRY_(1)
text=Haste -- Whenever you cast a spell that targets Tenth District Legionnaire, put a +1/+1 counter on Tenth District Legionnaire, then scry 1.
mana={R}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Tenth District Veteran
abilities=vigilance
auto=_ATTACKING_untap target(other creature|mybattlefield)
text=Vigilance -- Whenever Tenth District Veteran attacks, untap another target creature you control.
mana={2}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Tenured Inkcaster
auto=ability$!name(Put 1/1 counter) name(Put 1/1 counter) target(creature|battlefield) counter(1/1)!$ controller
auto=@combat(attacking) source(creature[counter{1/1}]|myBattlefield):life:-1 opponent && life:1 controller
text=When Tenured Inkcaster enters the battlefield, put a +1/+1 counter on target creature. -- Whenever a creature you control with a +1/+1 counter on it attacks, each opponent loses 1 life and you gain 1 life.
mana={4}{B}
type=Creature
subtype=Vampire Warlock
power=2
toughness=2
[/card]
[card]
name=Tergrid's Lantern
auto={T}:target(player) ability$!name(Choose one) choice name(Loose 3 life) life:-3 controller _ choice name(Discard a card) reject notatarget(*|myhand) _ choice name(Sacrifice non-land permanent) sacrifice notatarget(*[-land]|mybattlefield)!$ targetedplayer
auto={3}{B}:untap all(this)
text={T}: Target player loses 3 life unless they sacrifice a nonland permanent or discard a card. -- {3}{B}: Untap Tergrid's Lantern. // {3}{B}{B} Tergrid, God of Fright
mana={3}{B}
type=Legendary Artifact
[/card]
[card]
name=Tergrid's Shadow
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={2}{B}{B} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=ability$!name(Sacrifice 2 creatures) name(Sacrifice 2 creatures) sacrifice notatarget(<2>creature|mybattlefield)!$ opponent
auto=ability$!name(Sacrifice 2 creatures) name(Sacrifice 2 creatures) sacrifice notatarget(<2>creature|mybattlefield)!$ controller
text=Each player sacrifices two creatures. -- Foretell {2}{B}{B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{B}{B}
type=Instant
[/card]
[card]
name=Tergrid, God of Fright
abilities=menace
other={3}{B} name(Tergrid's Lantern)
otherrestriction=can play artifact,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Tergrid's Lantern)
autostack=if paid(alternative) then flip(Tergrid's Lantern) forcetype(Legendary Artifact)
auto=@sacrificed(*[-token]|opponentbattlefield) restriction{compare(isflipped)~equalto~0}:all(trigger[to]) moveto(myreveal) and!( transforms((,newability[choice name(Put on battlefield) moveTo(myBattlefield)],newability[choice name(Don't put on battlefield) moveto(ownerGraveyard)])) oneshot )!
auto=@discarded(*[-instant;-sorcery]|opponenthand) restriction{compare(isflipped)~equalto~0}:all(trigger[to]) moveto(myreveal) and!( transforms((,newability[choice name(Put on battlefield) moveTo(myBattlefield)],newability[choice name(Don't put on battlefield) moveto(ownerGraveyard)])) oneshot )!
text=Menace -- Whenever an opponent sacrifices a nontoken permanent or discards a permanent card, you may put that card onto the battlefield under your control from their graveyard. // {3}{B} Tergrid's Lantern
mana={3}{B}{B}
type=Legendary Creature
subtype=God
power=4
toughness=5
[/card]
[card]
name=Terminal Agony
target=creature
abilities=madness
auto=destroy
autoexile=restriction{discarded} pay({B}{R}) name(pay B R to cast) activate name(pay B R to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
text=Destroy target creature. -- Madness {B}{R} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.)
mana={2}{B}{R}
type=Sorcery
[/card]
[card]
name=Terramorph
auto=name(Search library) target(land[basic]|mylibrary) moveto(myBattlefield) and!( shuffle )!
auto=_REBOUND_
text=Search your library for a basic land card, put it onto the battlefield, then shuffle. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Territorial Allosaurus
kicker={2}{G}
auto=if paid(kicker) then transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Kicker {2}{G} (You may pay an additional {2}{G} as you cast this spell.) -- When Territorial Allosaurus enters the battlefield, if it was kicked, it fights another target creature.
mana={2}{G}{G}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Territorial Boar
auto=@movedTo(creature[power>=4|myBattlefield):+1/+1 ueot
auto=@movedTo(creature[power>=4|myBattlefield):vigilance ueot
text=Whenever a creature with power 4 or greater enters the battlefield under your control, Territorial Boar gets +1/+1 and gains vigilance until end of turn.
mana={1}{G}
type=Creature
subtype=Boar
power=2
toughness=2
[/card]
[card]
name=Territorial Hammerskull
auto=_ATTACKING_tap target(creature|opponentbattlefield)
text=Whenever Territorial Hammerskull attacks, tap target creature an opponent controls.
mana={2}{W}
type=Creature
subtype=Dinosaur
power=2
toughness=3
[/card]
[card]
name=Territorial Hellkite
abilities=flying,haste
auto=_ATTACKING_frozen
text=Flying, haste -- At the beginning of combat on your turn, choose an opponent at random that Territorial Hellkite didn't attack during your last combat. Territorial Hellkite attacks that player this combat if able. If you can't choose an opponent this way, tap Territorial Hellkite.
mana={2}{R}{R}
type=Creature
subtype=Dragon
power=6
toughness=5
[/card]
[card]
name=Territorial Kavu
anyzone=pbasiclandtypes/pbasiclandtypes cdaactive
auto=_ATTACKING_transforms((,newability[choice name(Discard and draw) target(*|myHand) transforms((,newability[reject],newability[draw:1 controller])) oneshot],newability[choice name(Exile a card) target(*|graveyard) moveto(exile)],newability[choice name(Do nothing) donothing])) oneshot
text=Domain - Territorial Kavu's power and toughness are each equal to the number of basic land types among lands you control. -- Whenever Territorial Kavu attacks, Choose one -- Discard a card. If you do, draw a card. -- Exile up to one target card from a graveyard.
mana={R}{G}
type=Creature
subtype=Kavu
power=*
toughness=*
[/card]
[card]
name=Territorial Scythecat
abilities=trample
auto=_LANDFALL_counter(1/1,1)
text=Trample -- Landfall - Whenever a land enters the battlefield under your control, put a +1/+1 counter on Territorial Scythecat.
mana={2}{G}
type=Creature
subtype=Cat
power=2
toughness=1
[/card]
[card]
name=Terror of Mount Velus
abilities=flying,double strike
auto=lord(creatures|myBattlefield) double strike ueot oneshot
text=Flying, double strike -- When Terror of Mount Velus enters the battlefield, creatures you control gain double strike until end of turn.
mana={5}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Terror of the Peaks
abilities=flying
auto=@targeted(this) from(*|opponentzones):life:-3 opponent
auto=@movedTo(creature|mybattlefield):all(trigger[to]) transforms((,newability[name(Deals damages to any target)  name(Deals damages to any target) target(player^creature^planeswalker) dynamicability<!powerstrike!>])) oneshot
text=Flying -- Spells your opponents cast that target Terror of the Peaks cost an additional 3 life to cast. -- Whenever another creature enters the battlefield under your control, Terror of the Peaks deals damage equal to that creature's power to any target.
mana={3}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=4
[/card]
[card]
name=Teshar, Ancestor's Apostle
abilities=flying
auto=@movedTo(*[artifact;legendary;saga]|mystack):target(creature[manacost<=3]|myGraveyard) moveTo(mybattlefield)
text=Flying -- Whenever you cast a historic spell, return target creature card with converted mana cost 3 or less from your graveyard to the battlefield. (Artifacts, legendaries, and Sagas are historic.)
mana={3}{W}
type=Legendary Creature
subtype=Bird Cleric
power=2
toughness=2
[/card]
[card]
name=Test of Faith
target=creature
auto=prevent:3 ueot
auto=counter(1/1,3)
text=Prevent the next 3 damage that would be dealt to target creature this turn, and put a +1/+1 counter on that creature for each 1 damage prevented this way.
mana={1}{W}
type=Instant
[/card]
[card]
name=Test of Talents
target=*[-creature;-artifact;-enchantment;-planeswalker]|stack
auto=transforms((,newability[fizzle],newability[all(*[share!name!]|mygraveyard) moveto(exile)],newability[all(*[share!name!]|myhand) transforms((,newability[moveto(exile)],newability[draw:1 controller])) oneshot],newability[all(*[share!name!]|mylibrary) moveto(exile) and!( shuffle )!])) oneshot
text=Counter target instant or sorcery spell. Search its controller's graveyard, hand, and library for any number of cards with the same name as that spell and exile them. That player shuffles, then draws a card for each card exiled from their hand this way.
mana={1}{U}
type=Instant
[/card]
[card]
name=Tetsuko Umezawa, Fugitive
auto=lord(creature[power<=1]|myBattlefield) unblockable
auto=lord(creature[toughness<=1]|myBattlefield) unblockable
text=Creatures you control with power or toughness 1 or less can't be blocked.
mana={1}{U}
type=Legendary Creature
subtype=Human Rogue
power=1
toughness=3
[/card]
[card]
name=Tetzimoc, Primal Death
abilities=deathtouch
autohand={B} restriction{myturnonly}:name(Put a prey counter on target creature) name(Put a prey counter on target creature) target(creature) counter(0/0,1,Prey)
auto=all(creature[counter{0/0.1.Prey}]|battlefield) destroy
text=Deathtouch -- {B}, Reveal Tetzimoc, Primal Death from your hand: Put a prey counter on target creature. Activate this ability only during your turn. -- When Tetzimoc enters the battlefield, destroy each creature your opponents control with a prey counter on it.
mana={4}{B}{B}
type=Legendary Creature
subtype=Elder Dinosaur
power=6
toughness=6
[/card]
[card]
name=Teyo's Lightshield
auto=counter(1/1) target(creature|myBattlefield)
text=When Teyo's Lightshield enters the battlefield, put a +1/+1 counter on target creature you control.
mana={2}{W}
type=Creature
subtype=Illusion
power=0
toughness=3
[/card]
[card]
name=Teysa Karlov
auto=lord(creature[token]|mybattlefield) vigilance
auto=lord(creature[token]|mybattlefield) lifelink
text=If a creature dying causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time. -- Creature tokens you control have vigilance and lifelink.
mana={2}{W}{B}
type=Legendary Creature
subtype=Human Advisor
power=2
toughness=4
[/card]
[card]
name=Tezzeret's Betrayal
target=creature
auto=destroy
auto=choice name(Search Library) may moveto(myhand) target(Tezzeret^ Master of Metal|myLibrary) && shuffle
auto=choice name(Search Graveyard) may moveto(myhand) target(Tezzeret^ Master of Metal|myGraveyard)
text=Destroy target creature. You may search your library and/or graveyard for a card named Tezzeret, Master of Metal, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{U}{B}
type=Sorcery
[/card]
[card]
name=Tezzeret's Gatebreaker
aicode=activate target(*[blue;artifact;zpos<=5]|mylibrary) moveto(myhand)
auto=name(look) reveal:5 optionone name(Get blue or artifact card) target(<upto:1>*[blue;artifact]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
auto={5}{U}{T}{S}:all(creature|mybattlefield) transforms((,newability[unblockable])) ueot
text=When Tezzeret's Gatebreaker enters the battlefield, look at the top five cards of your library. You may reveal a blue or artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- {5}{U}, {T}, Sacrifice Tezzeret's Gatebreaker: Creatures you control can't be blocked this turn.
mana={4}
type=Artifact
[/card]
[card]
name=Tezzeret's Strider
auto=aslongas(planeswalker[tezzeret]|myBattlefield) menace
text=As long as you control a Tezzeret planeswalker, Tezzeret's Strider has menace. (It can't be blocked except by two or more creatures.)
mana={3}
type=Artifact Creature
subtype=Golem
power=3
toughness=1
[/card]
[card]
name=Thalia's Geistcaller
abilities=lifelink
auto=@movedTo(*|stack) from(mygraveyard):token(Spirit,Creature Spirit,1/1,white,flying)
auto={S(creature[spirit]|myBattlefield)}:indestructible ueot
text=Lifelink -- Whenever you cast a spell from your graveyard, create a 1/1 white Spirit creature token with flying. -- Sacrifice a Spirit: Thalia's Geistcaller gains indestructible until end of turn.
mana={2}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=1
[/card]
[card]
name=Thalisse, Reverent Medium
auto=@each endofturn:token(Spirit,Creature Spirit,1/1,flying)*type:*[token;fresh]:mybattlefield
text=At the beginning of each end step, create X 1/1 white Spirit creature tokens with flying, where X is the number of tokens you created this turn.
mana={3}{W}{B}
type=Legendary Creature
subtype=Human Cleric
power=3
toughness=4
[/card]
[card]
name=Thallid Omnivore
auto={1}{S(other creature|mybattlefield)}:+2/+2 ueot 
auto={1}{S(other creature[saproling]|mybattlefield)}:+2/+2 && life:2
text={1}, Sacrifice another creature: Thallid Omnivore gets +2/+2 until end of turn. If a Saproling was sacrificed this way, you gain 2 life.
mana={3}{B}
type=Creature
subtype=Fungus
power=3
toughness=3
[/card]
[card]
name=Thallid Soothsayer
auto={2}{S(creature|myBattlefield)}:draw:1
text={2}, Sacrifice a creature: Draw a card.
mana={3}{B}
type=Creature
subtype=Fungus
power=2
toughness=3
[/card]
[card]
name=Thantis, the Warweaver
abilities=vigilance, reach
auto=lord(creature) mustattack
auto=@combat(attacking) source(creature|opponentBattlefield):counter(1/1)
text=Vigilance, reach -- All creatures attack each combat if able. -- Whenever a creature attacks you or a planeswalker you control, put a +1/+1 counter on Thantis, the Warweaver.
mana={3}{B}{R}{G}
type=Legendary Creature
subtype=Spider
power=5
toughness=5
[/card]
[card]
name=Thassa's Intervention
aicode=activate target(*[zpos<=X]|mylibrary) moveto(myhand) and!( all(*[zpos<=X]) moveto(myreveal) and!( bottomoflibrary )! )!
auto=choice name(Look X cards) reveal:X optionone name(Get 2 cards) target(<upto:2>*|reveal) moveto(myhand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
auto=choice name(Counter target spell) target(*|stack) transforms((,newability[pay[[{value:twicestoredx}]] name(pay {X}{X} mana) donothing?fizzle])) oneshot
text=Choose one -- Look at the top X cards of your library. Put up to two of them into your hand and the rest on the bottom of your library in a random order. -- Counter target spell unless its controller pays twice {X}.
mana={X}{U}{U}
type=Instant
[/card]
[card]
name=Thassa's Oracle
aicode=activate target(*[zpos<=manaU]|mylibrary) moveto(mylibrary)
auto=name(Look X cards) reveal:manaU optionone name(Get a Card) target(<1>*|reveal) moveto(mylibrary) optiononeend optiontwo target(<manaU>*|reveal) bottomoflibrary optiontwoend revealend
auto=if compare(restriction[*|zpos>=manaU]) then wingame
text=When Thassa's Oracle enters the battlefield, look at the top X cards of your library, where X is your devotion to blue. Put up to one of them on top of your library and the rest on the bottom of your library in a random order. If X is greater than or equal to the number of cards in your library, you win the game. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.)
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=3
[/card]
[card]
name=Thassa, Deep-Dwelling
abilities=Indestructible
auto=this(variable{type:manau}<5) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{type:manau}>4) transforms((Legendary Enchantment Creature))
auto=@each my endstep:may target(other creature|mybattlefield) moveto(exile) and!(moveto(mybattlefield))!
auto={3}{U}:tap target(other creature)
text=Indestructible -- As long as your devotion to blue is less than five, Thassa isn't a creature. -- At the beginning of your end step, exile up to one other target creature you control, then return that card to the battlefield under your control. -- {3}{U}: Tap another target creature.
mana={3}{U}
type=Legendary Enchantment Creature
subtype=God
power=6
toughness=5
[/card]
[card]
name=Thaumatic Compass
auto={3}{T}:moveto(myhand) target(basic|mylibrary)
auto=@each my endofturn:if type(land|mybattlefield)~morethan~6 then flip(Spires of Orazca)
text={3}, {T}: Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. -- At the beginning of your end step, if you control seven or more lands, transform Thaumatic Compass.
mana={2}
type=Artifact
[/card]
[card]
name=Thaumaturge's Familiar
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- When Thaumaturge's Familiar enters the battlefield, scry 1.
mana={3}
type=Artifact Creature
subtype=Bird
power=1
toughness=3
[/card]
[card]
name=The Akroan War
auto=name(Gain control of creature) target(creature|opponentbattlefield) steal
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) lord(creature|opponentbattlefield) mustattack uynt
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature[tapped]) dynamicability<!mytgt powerstrike itself!> && sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Gain control of target creature for as long as The Akroan War remains on the battlefield. -- II - Until your next turn, creatures your opponents control attack each combat if able. -- III - Each tapped creature deals damage to itself equal to its power.
mana={3}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Antiquities War
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=reveal:5 optionone name(Get artifact) target(<upto:1>artifact|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) reveal:5 optionone name(Get artifact) target(<upto:1>artifact|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(artifact|mybattlefield) becomes(Artifact Creature,5/5) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Look at the top five cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -- III - Artifacts you control become artifact creatures with base power and toughness 5/5 until end of turn.
mana={3}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Atropal
abilities=deathtouch
text=Deathtouch
type=Legendary Creature
subtype=God Horror
power=4
toughness=4
color=black
[/card]
[card]
name=The Bears of Littjara
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=token(Shapeshifter,Creature Shapeshifter,2/2,blue,changeling)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Transform shapeshifters) target(<anyamount>shapeshifter|mybattlefield) transforms((,setpower=4,settoughness=4)) forever
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) may name(Choose a creature or planeswalker) target(*[creature;planeswalker]|battlefield) transforms((,newability[counter(0/0.1.BearsEffect)],newability[all(creature[power>=4]|mybattlefield) name(Deals damage) transforms((,newability[damage:power all(*[counter{0/0.1.BearsEffect}]|battlefield)])) oneshot],newability[phaseaction[endofturn once] counter(0/0.-1.BearsEffect)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Create a 2/2 blue Shapeshifter creature token with changeling. -- II - Any number of target Shapeshifter creatures you control have base power and toughness 4/4. -- III - Choose up to one target creature or planeswalker. Each creature with power 4 or greater you control deals damage equal to its power to that permanent.
mana={1}{G}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Biblioplex
aicode=activate moveTo(myhand) target(*[instant;sorcery;zpos=1]|mylibrary)
auto={T}:add{C}
auto={2}{T} restriction{type(*|myhand)~equalto~0}:name(Look top card) reveal:1 optionone target(<upto:1>*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(Put back or graveyard) target(<1>*|reveal) transforms((,newability[choice name(Put back) moveto(mylibrary)],newability[choice name(Put graveyard) moveto(mygraveyard)])) oneshot optiontwoend revealend
auto={2}{T} restriction{type(*|myhand)~equalto~7}:name(Look top card) reveal:1 optionone target(<upto:1>*[instant;sorcery]|reveal) moveto(hand) optiononeend optiontwo name(Put back or graveyard) target(<1>*|reveal) transforms((,newability[choice name(Put back) moveto(mylibrary)],newability[choice name(Put graveyard) moveto(mygraveyard)])) oneshot optiontwoend revealend
text={T}: Add {C}. -- {2}, {T}: Look at the top card of your library. If it's an instant or sorcery card, you may reveal it and put it into your hand. If you don't put the card into your hand, you may put it into your graveyard. Activate only if you have exactly zero or seven cards in hand.
type=Land
[/card]
[card]
name=The Big Idea
auto={2}{BR}{BR}{T}:all(this) rolld6 6 winability token(Brainiac,Creature Brainiac,1/1,red)*lastrollresult winabilityend loseability token(Brainiac,Creature Brainiac,1/1,red)*lastrollresult loseabilityend rolld6end
text={2}{BR}{BR}, {T}: Roll a six-sided die. Create a number of 1/1 red Brainiac creature tokens equal to the result. -- Tap three untapped Brainiacs you control: The next time you would roll a six-sided die, instead roll two six-sided dice and use the total of those results.
mana={4}{R}{R}
type=Legendary Creature
subtype=Brainiac Villain
power=4
toughness=4
[/card]
[card]
name=The Binding of the Titans
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=deplete:3 opponent
auto=deplete:3 controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) ability$!name(Choose one) choice name(Don't exile any card) donothing _ choice name(Exile 1 card) moveto(exile) target(<1>*|graveyard) && life:1 controller _ choice name(Exile 2 cards) moveto(exile) target(<2>*|graveyard) && life:2 controller!$ controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveto(myhand) target(*[land;creature]|mygraveyard)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Each player puts the top three cards of their library into their graveyard. -- II - Exile up to two target cards from graveyards. For each creature card exiled this way, you gain 1 life. -- III - Return target creature or land card from your graveyard to your hand.
mana={1}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Birth of Meletis
aicode=activate target(land[basic,Plains]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic;plains]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) token(Wall,Bir)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) life:2 controller && sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Search your library for a basic Plains card, reveal it, put it into your hand, then shuffle your library. -- II - Create a 0/4 colorless Wall artifact creature token with defender. -- III - You gain 2 life.
mana={1}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Blackstaff of Waterdeep
abilities=doesnotuntap
auto=@each my untap:if cantargetcard(*[tapped]|mybattlefield) then may name(Untap Blackstaff of Waterdeep) name(Untap Blackstaff of Waterdeep) untap
auto={1}{U}{T}:name(Animate Walking Statue) target(other artifact|mybattlefield) transforms((,newability[aslongas(The Blackstaff of Waterdeep[tapped]|myBattlefield) becomes(Artifact Creature^4/4)])) forever asSorcery
text=You many choose not to untap The Blackstaff of Waterdeep during your untap step. -- Animate Walking Statue-{1}{U}, {T}: Another target artifact you control becomes a 4/4 artifact creature for as long as The Blackstaff of Waterdeep remains tapped. Activate only as a sorcery.
mana={U}
type=Legendary Artifact
[/card]
[card]
name=The Bloodsky Massacre
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=token(Demon,Creature Demon Berserker,2/3,red,menace)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) all(berserker|mybattlefield) transforms((,newability[_ATTACKING_draw:1 controller && life:-1 controller])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) foreach(berserker|mybattlefield) add{R} doesntempty
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Create a 2/3 red Demon Berserker creature token with menace. -- II - Whenever a Berserker attacks this turn, you draw a card and you lose 1 life. -- III - Add {R} for each Berserker you control. Until end of turn, you don't lose this mana as steps and phases end.
mana={1}{B}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Book of Exalted Deeds
auto=@each my endofturn restriction{compare(lifegain)~morethan~2}:name(Create Angel) token(Angel,Creature Angel,3/3,flying,white)
auto={W}{W}{W}{T}{E}:name(Put enlightened counter) target(angel|battlefield) transforms((,newability[counter(0/0.1.Enlightened)],newability[this(counter{0/0.1.Enlightened}>=1) cantlose])) forever asSorcery
text=At the beginning of your end step, if you gained 3 or more life this turn, create a 3/3 white Angel creature token with flying. -- {W}{W}{W}, {T}, Exile The Book of Exalted Deeds: Put an enlightened counter on target Angel. It gains "You can't lose the game and your opponents can't win the game." Activate only as a sorcery.
mana={W}{W}{W}
type=Legendary Artifact
[/card]
[card]
name=The Book of Vile Darkness
auto=@each my end restriction{compare(lifelost)~morethan~1}:name(Create zombie) token(Zombie)
auto={T}{E}{E(Eye of Vecna|mybattlefield)}{E(Hand of Vecna|mybattlefield)}:name(Create Vecna) token(Vecna)
text=At the beginning of your end step, if you lost 2 or more life this turn, create a 2/2 black Zombie creature token. -- {T}, Exile The Book of Vile Darkness and artifacts you control named Eye of Vecna and Hand of Vecna: Create Vecna, a legendary 8/8 black Zombie God creature token with indestructible. It gains all triggered abilities of the exiled cards.
mana={B}{B}{B}
type=Legendary Artifact
[/card]
[card]
name=The Cauldron of Eternity
anyzone=foreach(creature|mygraveyard) changecost(colorless:-2) forcedalive
auto=@movedTo(graveyard) from(creature|myBattlefield):all(trigger[from]) bottomoflibrary
auto={2}{B}{T}{L:2}:moveTo(myBattlefield) target(creature|mygraveyard) asSorcery
text=This spell costs {2} less to cast for each creature card in your graveyard. -- Whenever a creature you control dies, put it on the bottom of its owner's library. -- {2}{B}, {T}, Pay 2 life: Return target creature card from your graveyard to the battlefield. Activate this ability only any time you could cast a sorcery.
mana={10}{B}{B}
type=Legendary Artifact
[/card]
[card]
name=The Celestus
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto={T}:name(Add 1 mana) ability$!name(Choose color) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add black mana) add{B} _ choice name(Add white mana) add{W} _ choice name(Add blue mana) add{U}!$ controller
auto=aslongas(night|battlefield) {3}{T}:name(It becomes day) name(It becomes day) all(*[night]|battlefield) flip(backside) asSorcery
auto=aslongas(day|battlefield) {3}{T}:name(It becomes night) name(It becomes night) all(*[day]|battlefield) flip(backside) asSorcery
auto=@transformed(*[day;night]|battlefield):may name(Draw and discard) draw:1 controller && transforms((,newability[name(Discard a card) target(*|myhand) reject])) oneshot
auto=@transformed(*[day;night]|battlefield):name(Gain 1 life) life:1 controller
text=If it's neither day nor night, it becomes day as The Celestus enters the battlefield. -- {T}: Add one mana of any color. -- {3}, {T}: If it's night, it becomes day. Otherwise, it becomes night. Activate only as a sorcery. -- Whenever day becomes night or night becomes day, you gain 1 life. You may draw a card. If you do, discard a card.
type=Legendary Artifact
mana={3}
[/card]
[card]
name=The Cheese Stands Alone
auto=@each untap restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each upkeep restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each draw restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each firstmain restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each combatbegins restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each blockers restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each combatends restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each secondmain restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each endofturn restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
auto=@each end restriction{type(*|myBattlefield)~equalto~1,type(*|myhand)~equalto~0}:winGame controller
text=If you control no cards in play other than The Cheese Stands Alone and have no cards in your hand, you win the game.
mana={4}{W}{W}
type=Enchantment
[/card]
[card]
name=The Cinematic Phoenix
abilities=flying,haste,protection from red
auto={1}{T}:name(Return legendary creature) moveTo(myBattlefield) target(creature[legendary]|myGraveyard)
autograveyard={T(creature|myBattlefield)}{T(creature|myBattlefield)}{T(creature|myBattlefield)}{T(creature|myBattlefield)}{T(creature|myBattlefield)}{T(creature|myBattlefield)}:name(Tap six creature) moveTo(myBattlefield)
autograveyard={T(creature[legendary]|myBattlefield)}{T(creature[legendary]|myBattlefield)}{T(creature[legendary]|myBattlefield)}{T(creature[legendary]|myBattlefield)}{T(creature[legendary]|myBattlefield)}{T(creature[legendary]|myBattlefield)}:name(Tap six legendary creature) moveTo(myBattlefield) and!( wingame controller )!
text=Flying, haste, protection from red -- {1}, {T}: Return target legendary creature card from your graveyard to the battlefield. -- Tap six untapped creatures you control: Return The Cinematic Phoenix from your graveyard to the battlefield. If you tapped six legendary creatures this way, you win the game.
mana={3}{B}{R}
type=Legendary Creature
subtype=Phoenix
power=4
toughness=4
[/card]
[card]
name=The Circle of Loyalty
anyzone=foreach(creature[knight]|myBattlefield) changecost(colorless:-1) forcedalive
auto=all(creature|mybattlefield) 1/1
auto=@movedto(*[legendary]|mystack):create(knight:creature knight:2/2:white:vigilance)
auto={3}{W}{T}:create(knight:creature knight:2/2:white:vigilance)
text=This spell costs {1} less to cast for each Knight you control. -- Creatures you control get +1/+1. -- Whenever you cast a legendary spell, create a 2/2 white Knight creature token with vigilance. -- {3}{W}, {T}: Create a 2/2 white Knight creature token with vigilance.
mana={4}{W}{W}
type=Legendary Artifact
[/card]
[card]
name=The Crowd Goes Wild
auto=target(<upto:X>creature|battlefield) counter(1/1,1)
auto=all(creature[counter{1/1.1}]) trample
text=Assist (Another player can pay up to {X} of this spell's cost. You choose the value of X.) -- Support X. (Put a +1/+1 counter on each of up to X target creatures.) -- Each creature with a +1/+1 counter on it gains trample until end of turn.
mana={X}{G}
type=Sorcery
[/card]
[card]
name=The Deck of Many Things
auto={2}{T}:name(Roll a d20) rolld20 20 winability winabilityend donothing rolld20end
auto=@dierolled(this) result(1) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(2) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(3) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(4) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(5) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(6) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(7) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(8) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(9) from(controller):name(Return random) moverandom(*) from(mygraveyard) to(myhand)
auto=@dierolled(this) result(10) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(11) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(12) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(13) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(14) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(15) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(16) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(17) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(18) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(19) from(controller):name(Draw 2 cards) draw:2 controller
auto=@dierolled(this) result(20) from(controller):name(Return creature) target(creature|graveyard) moveto(myBattlefield) and!( transforms((,newability[_DIES_wingame opponent],newability[@movedTo(this|opponentgraveyard) from(battlefield):wingame controller])) )!
auto=@dierolled(this) from(controller):if compare(lastrollresultminusphandcountminusend)~equalto~0 then name(Discard your hand) all(*|myhand) reject 
text={2}, {T}: Roll a d20 and subtract the number of cards in your hand. If the result is 0 or less, discard your hand. -- 1-9 | Return a card at random from your graveyard to your hand. -- 10-19 | Draw two cards. -- 20 | Put a creature card from any graveyard onto the battlefield under your control. When that creature dies, its owner loses the game.
mana={5}
type=Legendary Artifact
[/card]
[card]
name=The Elderspell
target=<anyamount>planeswalker
auto=destroy && counter(0/0,2,Loyalty) target(planeswalker|myBattlefield)
text=Destroy any number of target planeswalkers. Choose a planeswalker you control. Put two loyalty counters on it for each planeswalker destroyed this way.
mana={B}{B}
type=Sorcery
[/card]
[card]
name=The Eldest Reborn
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=ability$!name(sacrifice) notatarget(creature,planeswalker|myBattlefield) sacrifice!$ opponent
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) ability$!name(discard) reject notatarget(*|myhand)!$ opponent
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) moveTo(myBattlefield) target(creature,planeswalker|graveyard)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) 
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Each opponent sacrifices a creature or planeswalker. -- II - Each opponent discards a card. -- III - Put target creature or planeswalker card from a graveyard onto the battlefield under your control.
mana={4}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The First Eruption
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=all(creature[-flying]) damage:1
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=2) add{r}{r}
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) bury notatarget(mountain|mybattlefield) and!(damage:3 all(creature))!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) 
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - The First Eruption deals 1 damage to each creature without flying. -- II - Add {R}{R}. -- III - Sacrifice a Mountain. If you do, The First Eruption deals 3 damage to each creature.
mana={2}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The First Iroan Games
auto=token(Soldier,Creature Human Soldier,1/1,white)
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) counter(1/1,3) target(creature|myBattlefield)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) if type (creature[power>=4]|myBattlefield) then drawn:2 controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.4.Lore}) token(Gold) && sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after IV.) -- I - Create a 1/1 white Human Soldier token. -- II - Put three +1/+1 counters on target creature you control. -- III - If you control a creature with power 4 or greater, draw two cards. -- IV - Create a Gold token.
mana={2}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The First Sliver
autostack=if casted(this) then cascade:plibrarycount
auto=@movedto(sliver|mystack):all(trigger[to]) transforms((,newability[cascade:plibrarycount])) ueot
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- Sliver spells you cast have cascade.
mana={W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Sliver
power=7
toughness=7
[/card]
[card]
name=The Flame of Keld
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=all(*|myhand) reject
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) draw:2 controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}=) moveto(myhand) target(*[land;creature]|mygraveyard)
auto=@damaged(creature|opponentBattlefield) from(*[instant;sorcery;red]|mystack,myGraveyard):this(counter{0/0.3.Lore}=) all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damaged(creature|opponentBattlefield) from(*[creature;enchantment;artifact;land;planeswalker;red]|mybattlefield,myGraveyard):this(counter{0/0.3.Lore}=) all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damagefoeof(player) from(*[instant;sorcery;red]|mystack,myGraveyard):this(counter{0/0.3.Lore}=) ability$!name(Damage opponent) damage:2 opponent!$ controller
auto=@damagefoeof(player) from(*[creature;enchantment;artifact;land;planeswalker;red]|mybattlefield,myGraveyard):this(counter{0/0.3.Lore}=) ability$!name(Damage opponent) damage:2 opponent!$ controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.4.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Discard your hand. -- II - Draw two cards. -- III - If a red source you control would deal damage to a permanent or player this turn, it deals that much damage plus 2 to that permanent or player instead.
mana={1}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Great Henge
autoexile=thisforeach(variable{pwr:highest:creature:mybattlefield}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{pwr:highest:creature:mybattlefield}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{pwr:highest:creature:mybattlefield}>0) changecost(colorless:-1) forcedalive
auto={T}:add{G}{G} && life:2 controller
auto=@movedto(creature[-token]|mybattlefield):all(trigger[to]) counter(1/1,1) && draw:1 controller
text=This spell costs {X} less to cast, where X is the greatest power among creatures you control. -- {T}: Add {G}{G}. You gain 2 life. -- Whenever a nontoken creature enters the battlefield under your control, put a +1/+1 counter on it and draw a card.
mana={7}{G}{G}
type=Legendary Artifact
[/card]
[card]
name=The Haunt of Hightower
abilities=flying, lifelink
auto=_ATTACKING_ability$!name(discard) target(*|myhand) reject!$ opponent
auto=@movedTo(*|opponentgraveyard):counter(1/1)
text=Flying, lifelink -- Whenever The Haunt of Hightower attacks, defending player discards a card. -- Whenever a card is put into an opponent's graveyard from anywhere, put a +1/+1 counter on The Haunt of Hightower.
mana={4}{B}{B}
type=Legendary Creature
subtype=Vampire
power=3
toughness=3
[/card]
[card]
name=The Immortal Sun
auto=lord(planeswalker|myBattlefield) noactivatedability
auto=lord(planeswalker|opponentBattlefield) noactivatedability
auto=@each my draw:draw:1 controller
auto=lord(*|mycastingzone) altercost(colorless,-1)
auto=lord(creature|myBattlefield) 1/1
text=Players can't activate planeswalkers' loyalty abilities. -- At the beginning of your draw step, draw an additional card. -- Spells you cast cost {1} less to cast. -- Creatures you control get +1/+1.
mana={6}
type=Legendary Artifact
[/card]
[card]
name=The Legend of Arena
abilities=canbecommander
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=token(Human Wizard,Creature Human Wizard,2/1,red)
auto=this(counter{0/0.2.Lore}<=2) lord(*|mycastingzone) thisforeach(variable{type:wizard:myBattlefield}>0) changecost(colorless:-1)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) token(Human Wizard,Creature Human Wizard,2/1,red)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) target(*[planeswalker]|myLibrary) moveTo(myBattlefield) and!( counter(0/0,type:wizard:myBattlefield,Loyalty) )!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=The Legend of Arena can be your commander. -- I, II - Create a 2/1 red Human Wizard creature token. Spells you cast this turn cost {1} less to cast for each Wizard you control. -- III - Search your library for a planeswalker card, put it onto the battlefield, then shuffle your library. It enters with an additional loyalty counter on it for each Wizard you control.
mana={1}{U}{R}{W}
type=Legendary Enchantment
subtype=Saga
[/card]
[card]
name=The Locust God
abilities=flying, haste
auto=@drawn(controller):token(Insect,creature Insect,1/1,red,blue,flying,haste)
auto={2}{U}{R}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
auto=_DIES_phaseaction[endofturn once] moveTo(ownerhand) ueot
text=Flying -- Whenever you draw a card, create a 1/1 blue and red Insect creature token with flying and haste. -- {2}{U}{R}: Draw a card, then discard a card. -- When The Locust God dies, return it to its owner's hand at the beginning of the next end step.
mana={4}{U}{R}
type=Legendary Creature
subtype=God
power=4
toughness=4
[/card]
[card]
name=The Magic Mirror
anyzone=foreach(instant,sorcery|mygraveyard) changecost(colorless:-1) forcedalive
abilities=nomaxhand
auto=@each my upkeep:thisforeach(counter{0/0.1.knowledge}) draw:1 controller
auto=@each my upkeep:counter(0/0,1,knowledge)
text=This spell costs {1} less to cast for each instant and sorcery card in your graveyard. -- You have no maximum hand size. -- At the beginning of your upkeep, put a knowledge counter on The Magic Mirror, then draw a card for each knowledge counter on The Magic Mirror.
mana={6}{U}{U}{U}
type=Legendary Artifact
[/card]
[card]
name=The Meathook Massacre
auto=@movedTo(creature|graveyard) from(mybattlefield):name(Opponent loses life) life:-1 opponent
auto=@movedTo(creature|graveyard) from(opponentbattlefield):name(You gain life) life:1 controller
auto=all(creature|battlefield) -X/-X ueot
text=When The Meathook Massacre enters the battlefield, each creature gets -X/-X until end of turn. -- Whenever a creature you control dies, each opponent loses 1 life. -- Whenever a creature an opponent controls dies, you gain 1 life.
mana={X}{B}{B}
type=Legendary Enchantment
[/card]
[card]
name=The Mending of Dominaria
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=deplete:2 
auto=target(creature|mygraveyard) moveto(ownerhand)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(creature|mygraveyard) moveto(ownerhand)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) deplete:2
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(land|mygraveyard) moveto(battlefield) && moveTo(mylibrary) all(*|mygraveyard)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Put the top two cards of your library into your graveyard, then you may return a creature card from your graveyard to your hand. -- III - Return all land cards from your graveyard to the battlefield, then shuffle your graveyard into your library.
mana={3}{G}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Mirari Conjecture
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=target(instant|mygraveyard) moveto(ownerhand)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(sorcery|mygraveyard) moveto(ownerhand) 
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) transforms((,newability[@movedto(*[instant;sorcery]|mystack):all(trigger[to]) activate castcard(copied noevent)])) ueot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Return target instant card from your graveyard to your hand. -- II - Return target sorcery card from your graveyard to your hand. -- III - Until end of turn, whenever you cast an instant or sorcery spell, copy it. You may choose new targets for the copy.
mana={4}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Monarch
abilities=shroud,indestructible,doublefacedeath
auto=becomesmonarch controller
auto=@each my endofturn restriction{compare(pmonarch)~morethan~0}:name(Monarch draw a card) draw:1 controller
auto=@combatdamageof(player) restriction{compare(pmonarch)~morethan~0} turnlimited:name(Opponent becomes monarch) moveto(opponentBattlefield) and!( transforms((,newability[becomesmonarch controller])) forever )!
text=At the beginning of your end step, draw a card. -- Whenever a creature deals combat damage to you, its controller becomes the monarch.
type=Emblem
[/card]
[card]
name=The Omenkeel
auto=@combatdamagefoeof(player) from(vehicle|mybattlefield):transforms((,newability[all(*[-land;zpos<=thatmuch]|opponentlibrary) moveto(opponentexile)],newability[all(land[zpos<=thatmuch]|opponentlibrary) moveto(opponentexile) and!( counter(0/0.1.OmenkeelExiled) )!])) oneshot
auto=@combatdamageof(player) from(vehicle|mybattlefield):transforms((,newability[all(*[-land;zpos<=thatmuch]|mylibrary) moveto(myexile)],newability[all(land[zpos<=thatmuch|mylibrary) moveto(myexile) and!( counter(0/0.1.OmenkeelExiled) )!])) oneshot
auto={0}:restriction{can play land} name(Play land from opponent exile) target(land[counter{0/0.1.OmenkeelExiled}]|opponentexile) moveTo(myexile) and!( transforms((,newability[counter(0/0.1.OmenkeelExiled)],newability[canplayfromexile],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)],newability[phaseaction[untap once checkex] counter(0/0.1.OmenkeelExiled)])) ueot )!
auto=lord(land[counter{0/0.1.OmenkeelExiled}]|myexile) canplayfromexile
auto={crew(other creature[power>=1]|myBattlefield)}:name(crew 1 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~0}
text=Whenever a Vehicle you control deals combat damage to a player, that player exiles that many cards from the top of their library. You may play lands from among those cards for as long as they remain exiled. -- Crew 1
mana={1}{U}
type=Legendary Artifact
subtype=Vehicle
power=3
toughness=3
[/card]
[card]
name=The Prismatic Bridge
auto=@each upkeep:name(Reveal cards) reveal:1 revealzone(mylibrary) revealuntil(*[creature;planeswalker]|mylibrary) optionone choice name(Put creature in play) target(*[creature;planeswalker]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo all(*|reveal) bottomoflibrary and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
text=At the beginning of your upkeep, reveal cards from the top of your library until you reveal a creature or planeswalker card. Put that card onto the battlefield and the rest on the bottom of your library in a random order. // {1}{G}{G} Esika, God of the Tree
mana={W}{U}{B}{R}{G}
type=Legendary Enchantment
[/card]
[card]
name=The Prismatic Piper
abilities=partner
text=If The Prismatic Piper is your commander, choose a color before the game begins. The Prismatic Piper is the chosen color. -- Partner (You can have two commanders if both have partner.)
mana={5}
type=Legendary Creature
subtype=Shapeshifter
power=3
toughness=3
[/card]
[card]
name=The Raven's Warning
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=token(Bird,Creature Bird,1/1,white,flying) && life:2 controller
auto=@combatdamageof(player) from(creature[flying]|mybattlefield) restriction{compare(hascntlore)~equalto~2}:name(Draw card) draw:1 controller
auto=@combatdamageof(player) from(creature[flying]|mybattlefield) restriction{compare(hascntlore)~equalto~2}:name(Look opponent hand and draw) target(*|opponenthand) moveto(opponenthand) and!( draw:1 controller )!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) may name(Put card on library) target(*|mysideboard) moveTo(mylibrary)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Create a 1/1 blue Bird creature token with flying. You gain 2 life. -- II - Whenever one or more creatures you control with flying deal combat damage to a player this turn, look at that player's hand and draw a card. -- III - You may put a card you own from outside the game on top of your library.
mana={1}{W}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Ringhart Crest
auto=chooseatype transforms((,newability[this(variable{type:creature[legendary;chosentype]:myrestrictedcastingzone}>0) {T}:add{W}],newability[this(variable{type:creature[legendary;chosentype]:myrestrictedcastingzone}>0) {T}:add{U}],newability[this(variable{type:creature[legendary;chosentype]:myrestrictedcastingzone}>0) {T}:add{R}],newability[this(variable{type:creature[legendary;chosentype]:myrestrictedcastingzone}>0) {T}:add{G}],newability[this(variable{type:creature[legendary;chosentype]:myrestrictedcastingzone}>0) {T}:add{B}])) chooseend
text=As The Ringhart Crest enters the battlefield, choose a creature type. -- {T}: Add {G}. Spend this mana only to cast a creature spell of the chosen type or a legendary creature spell. // {2}{G}{G} Kolvori, God of Kinship
mana={1}{G}
type=Legendary Artifact
[/card]
[card]
name=The Scarab God
aicode=activate transforms((,newability[all(*[zpos<=type:zombie:mybattlefield]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={2}{U}{B}:target(creature|graveyard) clone and!( transforms((Zombie,setpower=4,settoughness=4,black)) forever )! && moveTo(exile)
auto=@each my upkeep:name(Opponent looses life) foreach(zombie|mybattlefield) life:-1 opponent
auto=@each my upkeep:name(Scry cards) scry:type:zombie:mybattlefield scrycore delayed scrycoreend scryend
auto=_DIES_phaseaction[endofturn once] moveTo(ownerhand) ueot
text=At the beginning of your upkeep, each opponent loses X life and you scry X, where X is the number of Zombies you control. -- {2}{U}{B}: Exile target creature card from a graveyard. Create a token that's a copy of it, except it's a 4/4 black Zombie. -- When The Scarab God dies, return it to its owner's hand at the beginning of the next end step.
mana={3}{U}{B}
type=Legendary Creature
subtype=God
power=5
toughness=5
[/card]
[card]
name=The Scorpion God
auto=@movedto(graveyard) from(creature[counter{-1/-1}]|battlefield):draw:1
auto={1}{B}{R}:counter(-1/-1,1) target(other creature)
auto=_DIES_phaseaction[endofturn once] moveTo(ownerhand) ueot
text=Whenever a creature with a -1/-1 counter on it dies, draw a card. -- {1}{B}{R}: Put a -1/-1 counter on another target creature. -- When The Scorpion God dies, return it to its owner's hand at the beginning of the next end step.
mana={3}{B}{R}
type=Legendary Creature
subtype=God
power=6
toughness=5
[/card]
[card]
name=The Tarrasque
auto=if casted(this) then transforms((,newability[haste],newability[@targeted(this) from(*[|opponentzones):choice name(This spell costs 10 more) name(This spell costs 10 more) target(*|opponentzones) transforms((,newability[pay[[{10}]] name(pay 10 mana) donothing?fizzle])) oneshot])) forever
auto=_ATTACKING_name(Fight defending creature) target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>
text=The Tarrasque has haste and ward {10} as long as it was cast. -- Whenever The Tarrasque attacks, it fights target creature defending player controls.
mana={6}{G}{G}{G}
type=Legendary Creature
subtype=Dinosaur
power=10
toughness=10
[/card]
[card]
name=The Three Seasons
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=deplete:3 controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Return snow permanents) target(<upto:2>snow[-instant;-sorcery]|mygraveyard) moveto(myhand)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Choose 3 cards in your graveyards) target(<3>*|mygraveyard) moveTo(mylibrary) and!( shuffle )!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) ability$!name(Choose 3 cards in opponent's graveyards) name(Choose 3 cards in opponent's graveyards) target(<3>*|opponentgraveyard) moveTo(opponentlibrary) and!( shuffle opponent )! !$ controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Mill three cards. -- II - Return up to two target snow permanent cards from your graveyard to your hand. -- III - Choose three cards in each graveyard. Their owners shuffle those cards into their libraries.
mana={G}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Trickster-God's Heist
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=may name(Exchange control of creatures) target(creature|opponentbattlefield) moveto(mybattlefield) && ability$!name(Exchange control of creatures) name(Exchange control of creatures) target(creature|mybattlefield) moveTo(opponentbattlefield)!$ controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) may name(Exchange control of non-creatures) target(*[-creature;-basic]|opponentbattlefield) moveto(mybattlefield) && ability$!name(Exchange control of non-creatures) name(Exchange control of non-creatures) target(*[-creature;-basic]|mybattlefield) moveTo(opponentbattlefield)!$ controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) life:-3 opponent && life:3 controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - You may exchange control of two target creatures. -- II - You may exchange control of two target nonbasic, noncreature permanents that share a card type. -- III - Target player loses 3 life and you gain 3 life.
mana={2}{U}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Triumph of Anax
auto=counter(0/0,1,Lore)
auto=foreach(counter{0/0,1,Lore}) 1/0 && trample target(creature)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}) foreach(counter{0/0,1,Lore}) 1/0 && trample target(creature)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) foreach(counter{0/0,1,Lore}) 1/0 && trample target(creature)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.4.Lore}) target(creature|mybattlefield) transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) && sacrifice(this) ueot
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after IV.) -- I, II, III - Until end of turn, target creature gains trample and gets +X/+0, where X is the number of lore counters on The Triumph of Anax. -- IV - Target creature you control fights up to one target creature you don't control. (Each deals damage equal to its power to the other.)
mana={2}{R}
type=Enchantment
subtype=Saga
[/card]
[card]
name=The Underworld Cookbook
auto={T}{D(*|myHand)}:name(Create food) token(Food)
auto={4}{T}{S}:name(Return creature) target(creature|mygraveyard) moveto(myHand)
text={T}, Discard a card: Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- {4}, {T}, Sacrifice The Underworld Cookbook: Return target creature card from your graveyard to your hand.
mana={1}
type=Artifact
[/card]
[card]
name=The Ur-Dragon
abilities=flying
auto=lord(dragon|mycastingzone) altercost(colorless,-1)
autocommandzone=lord(dragon|mycastingzone) altercost(colorless,-1)
auto=@combat(attacking) source(dragon|myBattlefield):draw:1 && transforms((,newability[moveTo(myBattlefield) target(*[-sorcery;-instant]|myhand)])) forever
text=Eminence - As long as The Ur-Dragon is in the command zone or on the battlefield, other Dragon spells you cast cost {1} less to cast. -- Flying -- Whenever one or more Dragons you control attack, draw that many cards, then you may put a permanent card from your hand onto the battlefield.
mana={4}{W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Dragon Avatar
power=10
toughness=10
[/card]
[card]
name=The World Tree
auto=tap(noevent)
auto={T}:add{G}
auto=lord(land|mybattlefield) transforms((,newability[this(variable{type:land:myBattlefield}>5) {T}:add{W}],newability[this(variable{type:land:myBattlefield}>5) {T}:add{G}],newability[this(variable{type:land:myBattlefield}>5) {T}:add{B}],newability[this(variable{type:land:myBattlefield}>5) {T}:add{R}],newability[this(variable{type:land:myBattlefield}>5) {T}:add{U}]))
auto={W}{W}{U}{U}{B}{B}{R}{R}{G}{G}{T}{S}:target(<anyamount>*[god]|mylibrary) moveto(mybattlefield) and!( shuffle )!
text=The World Tree enters the battlefield tapped. -- {T}: Add {G}. -- As long as you control six or more lands, lands you control have "{T}: Add one mana of any color." -- {W}{W}{U}{U}{B}{B}{R}{R}{G}{G}, {T}, Sacrifice The World Tree: Search your library for any number of God cards, put them onto the battlefield, then shuffle your library.
type=Land
[/card]
[card]
name=Theater of Horrors
auto=@each my upkeep:moveto(exile) all(*[zpos=1]|mylibrary)
auto=this(variable{oplifelost}>0) lord(*[land;instant;sorcery]|myexile) transforms((,canplayfromexile))
auto={3}{R}:name(Damage opponent) name(Damage opponent) damage:1 opponent
auto={3}{R}:name(Damage planeswalker) name(Damage planeswalker) damage:1 target(planeswalker)
text=At the beginning of your upkeep, exile the top card of your library. -- During your turn, if an opponent lost life this turn, you may play lands and cast spells from among cards exiled with Theater of Horrors. -- {3}{R}: Theater of Horrors deals 1 damage to target opponent or planeswalker.
mana={1}{B}{R}
type=Enchantment
[/card]
[card]
name=Theoretical Duplication
auto=emblem transforms((,newability[@movedto(creature|opponentbattlefield):all(trigger[to]) clone])) ueot
text=Whenever a nontoken creature enters the battlefield under an opponent's control this turn, create a token that's a copy of that creature.
mana={2}{U}
type=Instant
[/card]
[card]
name=Thicket Crasher
abilities=trample
auto=lord(creature[elemental]|mybattlefield) trample <1
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- Other Elementals you control have trample.
mana={3}{G}
type=Creature
subtype=Elemental Rhino
power=4
toughness=3
[/card]
[card]
name=Thieves' Guild Enforcer
abilities=flash
auto=deplete:2 opponent
auto=@movedto(creature[Rogue]|myBattlefield):deplete:2 opponent
auto=aslongas(*|opponentGraveyard) 2/1 >7
auto=aslongas(*|opponentGraveyard) deathtouch >7
text=Flash -- Whenever Thieves' Guild Enforcer or another Rogue enters the battlefield under your control, each opponent mills two cards. -- As long as an opponent has eight or more cards in their graveyard, Thieves' Guild Enforcer gets +2/+1 and has deathtouch.
mana={B}
type=Creature
subtype=Human Rogue
power=1
toughness=1
[/card]
[card]
name=Thieves' Tools
auto={2}:equip
auto=aslongas(parents) name(Create Token) token(Treasure Sur) <1
auto=teach(creature[power<=3]) unblockable
text=When Thieves' Tools enters the battlefield, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Equipped creature can't be blocked as long as its power is 3 or less. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}{B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Thieving Otter
auto=@combatdamaged(opponent) from(this):draw:1 controller
text=Whenever Thieving Otter deals damage to an opponent, draw a card.
mana={2}{U}
type=Creature
subtype=Otter
power=2
toughness=2
[/card]
[card]
name=Thieving Skydiver
abilities=flying,hasotherkicker
other={X}{1}{U} name(Pay kicker)
auto=this(X>0) if paid(alternative) then choice name(Choose artifact) name(Choose artifact) name(Choose artifact) target(artifact[manacost<=X]|battlefield) moveTo(myBattlefield) and!( transforms((,newability[if cantargetcard(equipment|*) then name(Attach to Thieving Skydiver) name(Attach to Thieving Skydiver) rehook target(creature|myBattlefield)])) forever )!
text=Kicker {X}. X can't be 0. (You may pay an additional {X} as you cast this spell.) -- Flying -- When Thieving Skydiver enters the battlefield, if it was kicked, gain control of target artifact with converted mana cost X or less. If that artifact is an Equipment, attach it to Thieving Skydiver.
mana={1}{U}
type=Creature
subtype=Merfolk Rogue
power=2
toughness=1
[/card]
[card]
name=Thirst for Meaning
auto=ability$!draw:3 _ choice name(discard 2 cards) target(<2>*|myhand) reject _ if type(enchantment|myhand)~morethan~0 then choice name(discard an enchantment) target(enchantment|myhand) reject!$ controller
text=Draw three cards. Then discard two cards unless you discard an enchantment card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Thirsting Bloodlord
auto=lord(other vampire|myBattlefield) +1/+1
text=Other Vampires you control get +1/+1.
mana={2}{B}{B}
type=Creature
subtype=Vampire
power=3
toughness=3
[/card]
[card]
name=Thirsting Shade
abilities=lifelink
auto={2}{B}:+1/+1
text=Lifelink -- {2}{B}: Thirsting Shade gets +1/+1 until end of turn.
mana={B}
type=Creature
subtype=Shade
power=1
toughness=1
[/card]
[card]
name=Thopter Spy Network
auto=@each my upkeep:if type(artifact|mybattlefield)~morethan~0 then token token(Thopter,Artifact Creature Thopter,1/1,flying)
auto=@each combatdamage restriction{opponentdamagedbycombat}:draw:1 controller limit:1
text=At the beginning of your upkeep, if you control an artifact, put a 1/1 colorless Thopter artifact creature token with flying onto the battlefield. -- Whenever one or more artifact creatures you control deal combat damage to a player, draw a card.
mana={2}{U}{U}
type=Enchantment
[/card]
[card]
name=Thorn Lieutenant
auto=@targeted(this) from(*|opponentbattlefield,opponenthand,opponentstack,opponentgraveyard,opponentexile,opponentlibrary):create(elf warrior:creature elf warrior:1/1:green:)
auto={5}{G}:4/4 ueot
text=Whenever Thorn Lieutenant becomes the target of a spell or ability an opponent controls, create a 1/1 green Elf Warrior creature token. -- {5}{G}: Thorn Lieutenant gets +4/+4 until end of turn.
mana={1}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=3
[/card]
[card]
name=Thorn Mammoth
abilities=trample
auto=@movedto(other creature|mybattlefield):transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>]))
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>]))
text=Trample -- Whenever Thorn Mammoth or another creature enters the battlefield under your control, Thorn Mammoth fights up to one target creature you don't control.
mana={5}{G}{G}
type=Creature
subtype=Elephant
power=6
toughness=6
[/card]
[card]
name=Thorn of the Black Rose
abilities=deathtouch
auto=_MONARCH_CONTROLLER_
text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- When Thorn of the Black Rose enters the battlefield, you become the monarch.
mana={3}{B}
type=Creature
subtype=Human Assassin
power=1
toughness=3
[/card]
[card]
name=Thornado
target=creature[flying]
auto=destroy
autohand={1}{G}{cycle}:name(cycling) draw:1
text=Destroy target creature with flying. -- Cycling {1}{G} ({1}{G}, Discard this card: Draw a card.)
mana={2}{G}
type=Instant
[/card]
[card]
name=Thorned Moloch
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=_ATTACKING_first strike ueot
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- Thorned Moloch has first strike as long as it's attacking.
mana={2}{R}
type=Creature
subtype=Lizard
power=2
toughness=2
[/card]
[card]
name=Thornglint Bridge
abilities=indestructible
auto=tap(noevent)
auto={T}:add{G}
auto={T}:add{W}
text=Thornglint Bridge enters the battlefield tapped. -- Indestructible -- {T}: Add {G} or {W}.
type=Artifact Land
[/card]
[card]
name=Thornmantle Striker
auto=if type(*[counter{any}]|battlefield)~morethan~0 then choice name(Remove counters from permanent) name(Remove counters from permanent) target(*[counter{any}]|battlefield) thisforeach(variable{type:elf:mybattlefield}>0) removesinglecountertype(1)
auto=if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent's creature gets -X/-X) name(Opponent's creature gets -X/-X) target(creature|opponentbattlefield) -type:elf:mybattlefield/-type:elf:mybattlefield ueot
text=When Thornmantle Striker enters the battlefield, Choose one -- Remove X counters from target permanent, where X is the number of Elves you control. -- Target creature an opponent controls gets -X/-X until end of turn, where X is the number of Elves you control.
mana={4}{B}
type=Creature
subtype=Elf Rogue
power=4
toughness=3
[/card]
[card]
name=Thornscape Battlemage
abilities=hasotherkicker
other={2}{G}{W} name(Kicker White)
kicker={R} name(Kicker Red or both)
auto=if paid(alternative) then destroy target(artifact)
auto=if paid(kicker) then ability$!name(Deal 2 damage) name(Deal 2 damage) damage:2 target(creature,player)!$ controller
auto=if paid(kicker) then pay({W}) name(Pay also kicker white) destroy target(artifact)
text=Kicker {R} and/or {W} (You may pay an additional {R} and/or {W} as you cast this spell.) -- When Thornscape Battlemage enters the battlefield, if it was kicked with its {R} kicker, it deals 2 damage to target creature or player. -- When Thornscape Battlemage enters the battlefield, if it was kicked with its {W} kicker, destroy target artifact.
mana={2}{G}
type=Creature
subtype=Elf Wizard
power=2
toughness=2
[/card]
[card]
name=Thorough Investigation
auto=@each my blockers:name(Investigation) name(Create clue) token(Clue) controller
auto=@sacrificed(Clue|mybattlefield) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Whenever you attack, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -- Whenever you sacrifice a Clue, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Those Who Serve
mana={2}{W}
type=Creature
subtype=Zombie
power=2
toughness=4
[/card]
[card]
name=Thought Collapse
target=*|stack
auto=fizzle && deplete:3 targetcontroller
text=Counter target spell. Its controller puts the top three cards of their library into their graveyard.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Thought Distortion
abilities=nofizzle
auto=target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) 
auto=moveto(exile) all(*[-creature;-land]|opponenthand)
auto=moveto(exile) all(*[-creature;-land]|opponentgraveyard)
text=This spell can't be countered. -- Target opponent reveals their hand. Exile all noncreature, nonland cards from that player's hand and graveyard.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Thought Erasure
auto=if type(*[-land]|opponenthand)~morethan~0 then name(Discard opponent non-land card) name(Discard opponent non-land card) target(*[-land]|opponenthand) transforms((,newability[reject],newability[ability$!name(Surveil 1) name(Surveil 1) reveal:psurveiloffsetplus1plusend revealzone(mylibrary) optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot
auto=if type(*[-land]|opponenthand)~equalto~0 then name(Look opponent hand) name(Look opponent hand) target(*|opponenthand) transforms((,newability[ability$!name(Surveil 1) name(Surveil 1) reveal:psurveiloffsetplus1plusend revealzone(mylibrary) optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(mylibrary) optiontwoend afterrevealed surveil afterrevealedend revealend!$ opponent])) oneshot
text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. -- Surveil 1. (Look at the top card of your library. You may put it into your graveyard.)
mana={U}{B}
type=Sorcery
[/card]
[card]
name=Thought Monitor
abilities=flying,affinityartifacts
auto=draw:2 controller
text=Affinity for artifacts -- Flying -- When Thought Monitor enters the battlefield, draw two cards.
mana={6}{U}
type=Artifact Creature
subtype=Construct
power=2
toughness=2
[/card]
[card]
name=Thoughtbound Phantasm
abilities=defender
auto=this(counter{1/1}>=3) canattack
auto=@surveiled(*|mybattlefield,mystack):all(this) counter(1/1)
text=Defender -- Whenever you surveil, put a +1/+1 counter on Thoughtbound Phantasm. -- As long as Thoughtbound Phantasm has three or more +1/+1 counters on it, it can attack as though it didn't have defender.
mana={U}
type=Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Thousand-Year Elixir
auto=all(creature|mybattlefield) transforms((,newability[haste])) forever
auto={1}{T}:target(creature) untap
text=You may activate abilities of creatures you control as though those creatures had haste. -- {1}, {T}: Untap target creature.
mana={3}
type=Artifact
[/card]
[card]
name=Thousand-Year Storm
auto=@movedTo(instant,sorcery|mystack):foreach(instant[fresh]|mygraveyard) all(trigger[to]) castcard(copied noevent)
auto=@movedTo(instant,sorcery|mystack):foreach(sorcery[fresh]|mygraveyard) all(trigger[to]) castcard(copied noevent)
text=Whenever you cast an instant or sorcery spell, copy it for each other instant and sorcery spell you've cast before it this turn. You may choose new targets for the copies.
mana={4}{U}{R}
type=Enchantment
[/card]
[card]
name=Thraben Exorcism
target=enchantment,spirit,creature[hasdisturb]
auto=moveto(exile)
text=Exile target Spirit, creature with disturb, or enchantment.
mana={1}{W}
type=Instant
[/card]
[card]
name=Thraben Watcher
abilities=flying,vigilance
auto=lord(creature[-token]|myBattlefield) 1/1
auto=lord(creature[-token]|myBattlefield) vigilance
text=Flying, vigilance -- Other nontoken creatures you control get +1/+1 and have vigilance.
mana={2}{W}{W}
type=Creature
subtype=Angel
power=2
toughness=2
[/card]
[card]
name=Thran Temporal Gateway
auto={4}{T}:notatarget(*[artifact;legendary;saga]|myhand) moveTo(mybattlefield)
text={4}, {T}: You may put a historic permanent card from your hand onto the battlefield. (Artifacts, legendaries, and Sagas are historic.)
mana={4}
type=Legendary Artifact
[/card]
[card]
name=Thran Tome
auto={5}{T}:ability$!name(Put in graveyard) name(Put in graveyard) moveto(opponentgraveyard) notatarget(*[zpos<=3]|opponentlibrary) and!(draw:2 opponent)! !$ opponent
text={5}, {T}: Reveal the top three cards of your library. Target opponent chooses one of those cards. Put that card into your graveyard, then draw two cards.
mana={4}
type=Artifact
[/card]
[card]
name=Thrash // Threat
other={2}{R}{G} name(Threat)
otherrestriction=myturnonly
auto=if paid(alternative) then token(Beast,Creature Beast,4/4,red,green,trample)
auto=ifnot paid(alternative) then target(creature) transforms((,newability[dynamicability<!powerstrike!> target(*[creature;planeswalker]|opponentbattlefield)])) ueot
text=Target creature you control deals damage equal to its power to target creature or planeswalker you don't control. -- Create a 4/4 red and green Beast creature token with trample.
mana={RG}{RG}
type=Instant
[/card]
[card]
name=Thrash of Raptors
auto=aslongas(other dinosaur|mybattlefield) 2/0
auto=aslongas(other dinosaur|mybattlefield) trample
text=As long as you control another Dinosaur, Thrash of Raptors gets +2/+0 and has trample.
mana={3}{R}
type=Creature
subtype=Dinosaur
power=3
toughness=3
[/card]
[card]
name=Thrasher Brute
auto=@movedTo(Warrior|mybattlefield) life:-1 opponent 
auto=@movedTo(Warrior|mybattlefield) life:1
text=Whenever Thrasher Brute or another Warrior enters the battlefield under your team's control, target opponent loses 1 life and you gain 1 life.
mana={3}{B}
type=Creature
subtype=Orc Warrior
power=4
toughness=3
[/card]
[card]
name=Thrashing Brontodon
auto={1}{S}:destroy target(artifact,enchantment)
text={1}, Sacrifice Thrashing Brontodon: Destroy target artifact or enchantment.
mana={1}{G}{G}
type=Creature
subtype=Dinosaur
power=3
toughness=4
[/card]
[card]
name=Thrasios, Triton Hero
abilities=partner
aicode=activate target(*[zpos<=1]|mylibrary) moveto(myhand) and!( if cantargetcard(*[land]|*) then moveto(mybattlefield) and!( tap(noevent) )! )!
auto={4}:scry:1 scrycore delayed dontshow transforms((,newability[if type(land[zpos=1]|mylibrary)~equalto~0 then all(*[zpos=1]|mylibrary) moveto(myhand) else all(land[zpos=1]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!])) oneshot scrycoreend scryend
text={4}: Scry 1, then reveal the top card of your library. If it's a land card, put it onto the battlefield tapped. Otherwise, draw a card. -- Partner (You can have two commanders if both have partner.)
mana={G}{U}
type=Legendary Creature
subtype=Merfolk Wizard
power=1
toughness=3
[/card]
[card]
name=Thrasta, Tempest's Roar
abilities=trample,haste
autoexile=thisforeach(variable{pstormcount}>0) changecost(colorless:-3) forcedalive
autograveyard=thisforeach(variable{pstormcount}>0) changecost(colorless:-3) forcedalive
autohand=thisforeach(variable{pstormcount}>0) changecost(colorless:-3) forcedalive
auto=this(cantargetcard(*[fresh])) opponentshroud
text=This spell costs {3} less to cast for each other spell cast this turn. -- Trample, haste -- Trample over planeswalkers (This creature can deal excess combat damage to the controller of the planeswalker it's attacking.) -- Thrasta, Tempest's Roar has hexproof as long as it entered the battlefield this turn.
mana={10}{G}{G}
type=Legendary Creature
subtype=Dinosaur
power=7
toughness=7
[/card]
[card]
name=Threnody Singer
abilities=Flash,flying
auto=-manaU:mybattlefield/-0 target(creature) ueot
text=Flash -- Flying -- When Threnody Singer enters the battlefield, target creature an opponent controls gets -X/-0 until end of turn, where X is your devotion to blue. (Each {U} in the mana costs of permanents you control counts towards your devotion to blue.)
mana={1}{U}
type=Creature
subtype=Siren
power=1
toughness=3
[/card]
[card]
name=Thresher Lizard
auto=aslongas(*|myhand) 1/2 <2
text=Thresher Lizard gets +1/+2 as long as you have one or fewer cards in hand.
mana={2}{R}
type=Creature
subtype=Lizard
power=3
toughness=2
[/card]
[card]
name=Thrill of Possibility
auto=draw:2
text=As an additional cost to cast this spell, discard a card. -- Draw two cards.
mana={1}{R}{D}
type=Instant
[/card]
[card]
name=Thrilling Discovery
auto=life:2 controller
auto=may name(Discard 2 and draw 3) target(*|myhand) transforms((,newability[reject],newability[name(Discard another card) target(*|myhand) transforms((,newability[reject],newability[draw:3 controller])) oneshot])) oneshot
text=You gain 2 life. Then you may discard two cards. If you do, draw three cards.
mana={R}{W}
type=Sorcery
[/card]
[card]
name=Thrilling Encore
auto=moveTo(myBattlefield) all(creature[fresh]|graveyard)
text=Put onto the battlefield under your control all creature cards in all graveyards that were put there from the battlefield this turn.
mana={4}{B}
type=Instant
[/card]
[card]
name=Thriving Bluff
auto=tap(noevent)
auto={T}:add{R}
auto=choice name(Choose White) transforms((,newability[{T}:add{W}])) forever all(this)
auto=choice name(Choose Black) transforms((,newability[{T}:add{B}])) forever all(this)
auto=choice name(Choose Blue) transforms((,newability[{T}:add{U}])) forever all(this)
auto=choice name(Choose Green) transforms((,newability[{T}:add{G}])) forever all(this)
text=Thriving Bluff enters the battlefield tapped. -- As Thriving Bluff enters the battlefield, choose a color other than red. -- {T}: Add {R} or one mana of the chosen color.
type=Land
[/card]
[card]
name=Thriving Grove
auto=tap(noevent)
auto={T}:add{G}
auto=choice name(Choose Red) transforms((,newability[{T}:add{R}])) forever all(this)
auto=choice name(Choose White) transforms((,newability[{T}:add{W}])) forever all(this)
auto=choice name(Choose Blue) transforms((,newability[{T}:add{U}])) forever all(this)
auto=choice name(Choose Black) transforms((,newability[{T}:add{B}])) forever all(this)
text=Thriving Grove enters the battlefield tapped. -- As Thriving Grove enters the battlefield, choose a color other than green. -- {T}: Add {G} or one mana of the chosen color.
type=Land
[/card]
[card]
name=Thriving Heath
auto=tap(noevent)
auto={T}:add{W}
auto=choice name(Choose Red) transforms((,newability[{T}:add{R}])) forever all(this)
auto=choice name(Choose Black) transforms((,newability[{T}:add{B}])) forever all(this)
auto=choice name(Choose Blue) transforms((,newability[{T}:add{U}])) forever all(this)
auto=choice name(Choose Green) transforms((,newability[{T}:add{G}])) forever all(this)
text=Thriving Heath enters the battlefield tapped. -- As Thriving Heath enters the battlefield, choose a color other than white. -- {T}: Add {W} or one mana of the chosen color.
type=Land
[/card]
[card]
name=Thriving Isle
auto=tap(noevent)
auto={T}:add{U}
auto=choice name(Choose Red) transforms((,newability[{T}:add{R}])) forever all(this)
auto=choice name(Choose White) transforms((,newability[{T}:add{W}])) forever all(this)
auto=choice name(Choose Black) transforms((,newability[{T}:add{B}])) forever all(this)
auto=choice name(Choose Green) transforms((,newability[{T}:add{G}])) forever all(this)
text=Thriving Isle enters the battlefield tapped. -- As Thriving Isle enters the battlefield, choose a color other than blue. -- {T}: Add {U} or one mana of the chosen color.
type=Land
[/card]
[card]
name=Thriving Moor
auto=tap(noevent)
auto={T}:add{B}
auto=choice name(Choose Red) transforms((,newability[{T}:add{R}])) forever all(this)
auto=choice name(Choose White) transforms((,newability[{T}:add{W}])) forever all(this)
auto=choice name(Choose Blue) transforms((,newability[{T}:add{U}])) forever all(this)
auto=choice name(Choose Green) transforms((,newability[{T}:add{G}])) forever all(this)
text=Thriving Moor enters the battlefield tapped. -- As Thriving Moor enters the battlefield, choose a color other than black. -- {T}: Add {B} or one mana of the chosen color.
type=Land
[/card]
[card]
name=Throatseeker
auto=all(creature[ninja;-blocked;attacking]|mybattlefield) lifelink ueot
text=Unblocked attacking Ninjas you control have lifelink.
mana={2}{B}
type=Creature
subtype=Vampire Ninja
power=3
toughness=2
[/card]
[card]
name=Throes of Chaos
autostack=if casted(this) then cascade:plibrarycount
retrace={3}{R}{D(land|myhand)}
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- Retrace (You may cast this card from your graveyard by discarding a land card in addition to paying its other costs.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Throne Warden
auto=@each my endofturn restriction{compare(pmonarch)~morethan~0}:counter(1/1)
text=At the beginning of your end step, if you're the monarch, put a +1/+1 counter on Throne Warden.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Throne of Death
auto={2}{B}{T}{E(creature|mygraveyard)}:draw:1 controller
auto=@each my upkeep:deplete:1 controller
text=At the beginning of your upkeep, mill a card. -- {2}{B}, {T}, Exile a creature card from your graveyard: Draw a card. // {2}{B} Egon, God of Death
mana={B}
type=Legendary Artifact
[/card]
[card]
name=Throne of Makindi
auto={T}:add{C}
auto={1}{T}:counter(0/0,1,Charge)
auto=this(variable{type:*[haskicker]:myrestrictedcastingzone}>0) {T}{C(0/0,-1,Charge)}:add{B}{B}
auto=this(variable{type:*[haskicker]:myrestrictedcastingzone}>0) {T}{C(0/0,-1,Charge)}:add{R}{R}
auto=this(variable{type:*[haskicker]:myrestrictedcastingzone}>0) {T}{C(0/0,-1,Charge)}:add{G}{G}
auto=this(variable{type:*[haskicker]:myrestrictedcastingzone}>0) {T}{C(0/0,-1,Charge)}:add{W}{W}
auto=this(variable{type:*[haskicker]:myrestrictedcastingzone}>0) {T}{C(0/0,-1,Charge)}:add{U}{U}
text={T}: Add {C}. -- {1}, {T}: Put a charge counter on Throne of Makindi -- {T}, remove a charge counter from Throne of Makindi: Add two mana of any color. Use this mana only to cast kicker spells.
type=Land
[/card]
[card]
name=Throne of the God-Pharaoh
auto=@each my endofturn:foreach(creature[tapped]|mybattlefield) life:-1 opponent
text=At the beginning of your end step, each opponent loses life equal to the number of tapped creatures you control.
mana={2}
type=Legendary Artifact
[/card]
[card]
name=Throne of the High City
auto={T}:add{C}
auto={4}{T}{S}:name(Become the monarch) _MONARCH_CONTROLLER_
text={T}: Add {C} to your mana pool. -- {4}, {T}, Sacrifice Throne of the High City: You become the monarch.
type=Land
[/card]
[card]
name=Thrull Parasite
auto=@movedto(*|mystack):pay({WB}) life:-1 opponent && life:1 controller
auto={T}{L:2}:name(Remove a counter) name(Remove a counter) removesinglecountertype(1) target(*[-land;counter{any}]|myBattlefield)
text=Extort (Whenever you cast a spell, you may pay {WB}. If you do, each opponent loses 1 life and you gain that much life.) -- {T}, Pay 2 life: Remove a counter from target nonland permanent.
mana={B}
type=Creature
subtype=Thrull
power=1
toughness=1
[/card]
[card]
name=Thryx, the Sudden Storm
abilities=flying,flash
auto=lord(*[manacost>=5]|mycastingzone) altercost(colorless,-1)
auto=lord(*[manacost>=5]|mystack) nofizzle
text=Flash -- Flying -- Spells you cast with converted mana cost 5 or greater cost {1} less to cast and can't be countered.
mana={3}{U}{U}
type=Legendary Creature
subtype=Elemental Giant
power=4
toughness=5
[/card]
[card]
name=Thud
target=player,creature,planeswalker
auto=damage:storedpower
text=As an additional cost to cast this spell, sacrifice a creature. -- Thud deals damage equal to the sacrificed creature's power to any target.
mana={R}{S(creature|mybattlefield)}
type=Sorcery
[/card]
[card]
name=Thunder Drake
abilities=flying
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:counter(1/1)
text=Flying -- Whenever you cast your second spell each turn, put a +1/+1 counter on Thunder Drake.
mana={3}{U}
type=Creature
subtype=Elemental Drake
power=2
toughness=3
[/card]
[card]
name=Thunderfoot Baloth
abilities=trample
auto=aslongas(*[iscommander]|mybattlefield) 2/2 >0
auto=aslongas(*[iscommander]|mybattlefield) lord(other creature|mybattlefield) transforms((,newability[trample],newability[2/2])) >0
text=Trample -- Lieutenant - As long as you control your commander, Thunderfoot Baloth gets +2/+2 and other creatures you control get +2/+2 and have trample.
mana={4}{G}{G}
type=Creature
subtype=Beast
power=5
toughness=5
[/card]
[card]
name=Thunderheads
abilities=hasnokicker,hasreplicate
kicker=multi{2}{U} name(Replicate)
auto=name(Create Weird) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Thunderheads) name(Copy Thunderheads) activate castcard(copied noevent named!:Thunderheads:!)!$ controller
text=Replicate {2}{U} (When you cast this spell, copy it for each time you paid its replicate cost.) -- Create a 3/3 blue Weird creature token with defender and flying. Exile it at the beginning of the next end step.
mana={2}{U}
type=Instant
[/card]
[card]
name=Thunderherd Migration
otherrestriction=type(*[dinosaur]|myhand)~lessthan~1
other={2}{G} name(Pay 1)
restriction=type(*[dinosaur]|myhand)~morethan~0
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=As an additional cost to cast this spell, reveal a Dinosaur card from your hand or pay {1}. -- Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Thundering Ceratok
abilities=trample
auto=all(other creature|myBattlefield)) trample ueot
text=Trample -- When Thundering Ceratok enters the battlefield, other creatures you control gain trample until end of turn.
mana={4}{G}
type=Creature
subtype=Rhino
power=4
toughness=5
[/card]
[card]
name=Thundering Chariot
abilities=first strike,vigilance,trample
auto={crew(other creature[power>=1]|myBattlefield)}:name(crew 1 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~0}
text=First strike, trample, haste -- Crew 1 (Tap any number of creatures you control with total power 1 or more: This Vehicle becomes an artifact creature until end of turn.)
mana={4}
type=Artifact
subtype=Vehicle
power=3
toughness=3
[/card]
[card]
name=Thundering Djinn
abilities=flying
auto=_ATTACKING_damage:pdrewcount target(player,creature,planeswalker)
text=Flying -- Whenever Thundering Djinn attacks, it deals damage to any target equal to the number of cards you've drawn this turn.
mana={3}{U}{R}
type=Creature
subtype=Djinn
power=3
toughness=4
[/card]
[card]
name=Thundering Rebuke
target=creature,planeswalker
auto=damage:4
text=Thundering Rebuke deals 4 damage to target creature or planeswalker.
mana={1}{R}
type=Instant
[/card]
[card]
name=Thundering Sparkmage
auto=damage:calculateparty target(creature,planeswalker)
text=When Thundering Sparkmage enters the battlefield, it deals X damage to target creature or planeswalker, where X is the number of creatures in your party. (Your party consists of up to one each of cleric, Rogue, Warrior, and Wizard.)
mana={3}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Thundering Spineback
auto=lord(other dinosaur|mybattlefield) 1/1
auto={5}{G}:token(Dinosaur,creature Dinosaur,3/3,green,trample)
text=Other Dinosaurs you control get +1/+1. -- {5}{G}: Create a 3/3 green Dinosaur creature token with trample.
mana={5}{G}{G}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Thunderous Orator
abilities=vigilance
auto=@combat(attacking) source(this) restriction{type(creature[flying]|myBattlefield)~morethan~0}:name(Gains flying) transforms((,newability[flying])) ueot
auto=@combat(attacking) source(this) restriction{type(creature[first strike]|myBattlefield)~morethan~0}:name(Gains first strike) transforms((,newability[first strike])) ueot
auto=@combat(attacking) source(this) restriction{type(creature[double strike]|myBattlefield)~morethan~0}:name(Gains double strike) transforms((,newability[double strike])) ueot
auto=@combat(attacking) source(this) restriction{type(creature[deathtouch]|myBattlefield)~morethan~0}:name(Gains deathtouch) transforms((,newability[deathtouch])) ueot
auto=@combat(attacking) source(this) restriction{type(creature[lifelink]|myBattlefield)~morethan~0}:name(Gains lifelink) transforms((,newability[lifelink])) ueot
auto=@combat(attacking) source(this) restriction{type(creature[menace]|myBattlefield)~morethan~0}:name(Gains menace) transforms((,newability[menace])) ueot
auto=@combat(attacking) source(this) restriction{type(creature[trample]|myBattlefield)~morethan~0}:name(Gains trample) transforms((,newability[trample])) ueot
text=Vigilance -- Whenever Thunderous Orator attacks, it gains flying until end of turn if you control a creature with flying. The same is true for first strike, double strike, deathtouch, indestructible, lifelink, menace, and trample.
mana={1}{W}
type=Creature
subtype=Kor Wizard
power=2
toughness=2
[/card]
[card]
name=Thunderous Snapper
auto=@movedTo(*[manacost>=5]|mystack):draw:1 controller
text=Whenever you cast a spell with converted mana cost 5 or greater, draw a card.
mana={GU}{GU}{GU}{GU}
type=Creature
subtype=Turtle Hydra
power=4
toughness=4
[/card]
[card]
name=Thunderscape Battlemage
abilities=hasotherkicker
other={2}{R}{G} name(Kicker Green)
kicker={1}{B} name(Kicker Black or both)
auto=if paid(alternative) then destroy target(enchantment)
auto=if paid(kicker) then target(player) ability$!name(Discard 2 cards) name(Discard 2 cards) reject notatarget(<2>*|myhand)!$ targetedplayer
auto=if paid(kicker) then pay({G}) name(Pay also kicker green) destroy target(enchantment)
text=Kicker {1}{B} and/or {G} (You may pay an additional {1}{B} and/or {G} as you cast this spell.) -- When Thunderscape Battlemage enters the battlefield, if it was kicked with its {1}{B} kicker, target player discards two cards. -- When Thunderscape Battlemage enters the battlefield, if it was kicked with its {G} kicker, destroy target enchantment.
mana={2}{R}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Thunderstaff
auto=@sourcenottap:each blockers:absorb:type:creature[attacking]:opponentbattlefield controller
auto={2}{T}:lord(creature[attacking]) 1/0
text=As long as Thunderstaff is untapped, if a creature would deal combate to you, prevent 1 of that damage. -- {2},{T}: Attacking creatures get +1/+0 until end of turn.
mana={3}
type=Artifact
[/card]
[card]
name=Thwart the Enemy
auto=preventAllCombatDamage from(creature|opponentbattlefield) ueot
text=Prevent all damage that would be dealt this turn by creatures your opponents control.
mana={2}{G}
type=Instant
[/card]
[card]
name=Thwart the Grave
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto=moveto(myBattlefield) target(creature|myGraveyard) && ability$!name(Choose a Cleric,Rogue,Warrior or Wizard) moveTo(myBattlefield) name(Choose a Cleric,Rogue,Warrior or Wizard) moveTo(myBattlefield) target(creature[cleric;rogue;warrior;wizard]|myGraveyard)!$ controller
text=This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -- Return target creature card and up to one target Cleric, Rogue, Warrior, or Wizard creature card from your graveyard to the battlefield.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Tiamat
abilities=flying
auto=if casted(this) then may name(Search dragons) target(<upto:5>*[dragon;-tiamat]|mylibrary) moveto(myhand) and!( shuffle )!
text=Flying -- When Tiamat enters the battlefield, if you cast it, search your library for up to five Dragon cards not named Tiamat that each have different names, reveal them, put them into your hand, then shuffle.
mana={2}{W}{U}{B}{R}{G}
type=Legendary Creature
subtype=Dragon God
power=7
toughness=7
[/card]
[card]
name=Tiana, Ship's Caretaker
abilities=flying,first strike
auto=@movedto(*[aura;enchantment]|myGraveyard) from(Battlefield):may phaseaction[endofturn once] name(Move to hand) moveto(ownerhand) target(*[aura;enchantment;fresh]|myGraveyard)
text=Flying, first strike -- Whenever an Aura or Equipment you control is put into a graveyard from the battlefield, you may return that card to its owner's hand at the beginning of the next end step.
mana={3}{R}{W}
type=Legendary Creature
subtype=Angel Artificer
power=3
toughness=3
[/card]
[card]
name=Tibalt's Rager
auto=_DIES_damage:1 target(player,creature,planeswalker)
auto={1}{R}:2/0 ueot
text=When Tibalt's Rager dies, it deals 1 damage to any target. -- {1}{R}: Tibalt's Rager gets +2/+0 until end of turn.
mana={1}{R}
type=Creature
subtype=Devil
power=1
toughness=2
[/card]
[card]
name=Tibalt's Trickery
target=*|stack
auto=transforms((,newability[fizzle],newability[deplete:genrand3plus1plusend],newability[target(*[-land;notshare!name!]|mylibrary) activate castcard(normal)])) oneshot
text=Counter target spell. Choose 1, 2, or 3 at random. Its controller mills that many cards, then exiles cards from the top of their library until they exile a nonland card with a different name than that spell. They may cast that card without paying its mana cost. Then they put the exiled cards on the bottom of their library in a random order.
mana={1}{R}
type=Instant
[/card]
[card]
name=Tidal Barracuda
auto=lord(*[-land]|myhand,mylibrary,mygraveyard,myexile) asflash
auto=aslongas restriction{during my turn} then maxCast(*|opponentHand,opponentLibrary,opponentGraveyard,opponentExile)0
text=Any player may cast spells as though they had flash. -- Your opponents can't cast spells during your turn.
mana={3}{U}
type=Creature
subtype=Fish
power=3
toughness=4
[/card]
[card]
name=Tide Shaper
kicker={1}
auto=aslongas(island|opponentbattlefield) 1/1 >0
auto=if paid(kicker) then target(land) transforms((island))
text=Kicker {1} (You may pay an additional {1} as you cast this spell.) -- When Tide Shaper enters the battlefield, if it was kicked, target land becomes an Island for as long as Tide Shaper remains on the battlefield. -- Tide Shaper gets +1/+1 as long as an opponent controls an Island.
mana={U}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=1
[/card]
[card]
name=Tide Skimmer
abilities=flying
auto=@each my blockers restriction{type(creature[attacking;flying]|myBattlefield)~morethan~1}:draw:1 controller
text=Flying -- Whenever you attack with two or more creatures with flying, draw a card.
mana={3}{U}
type=Creature
subtype=Drake
power=2
toughness=3
[/card]
[card]
name=Tidechannel Pathway
auto={T}:add{U}
text={T}: Add {U}. // Barkchannel Pathway
type=Land
[/card]
[card]
name=Tiger-Tribe Hunter
abilities=trample
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:may name(Sacrifice a creature) target(other creature|myBattlefield) transforms((,newability[sacrifice],newability[name(Deals damage) target(creature) damage:power])) oneshot
text=Trample -- Pack tactics - Whenever Tiger-Tribe Hunter attacks, if you attacked with creatures with total power 6 or greater this combat, you may sacrifice another creature. When you do, Tiger-Tribe Hunter deals damage equal to the sacrificed creature's power to target creature.
mana={3}{R}{R}
type=Creature
subtype=Human Barbarian
power=4
toughness=4
[/card]
[card]
name=Tilonalli's Crown
target=creature
auto=damage:1
auto=teach(creature) +3/+0
auto=teach(creature) trample
text=Enchant creature -- When Tilonalli's Crown enters the battlefield, it deals 1 damage to enchanted creature. -- Enchanted creature gets +3/+0 and has trample.
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Tilonalli's Knight
auto=@combat(attacking) source(this) restriction{type(dinosaur|mybattleifeld)~morethan~0}:1/1 ueot
text=Whenever Tilonalli's Knight attacks, if you control a Dinosaur, Tilonalli's Knight gets +1/+1 until end of turn.
mana={1}{R}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Tilonalli's Skinshifter
abilities=haste
auto=_ATTACKING_target(creature[-legendary;attacking]) copy and!( all(this) transforms((,newability[phaseaction[endofturn once] flip(Tilonalli's Skinshifter) undocpy])) forever )!
text=Haste -- Whenever Tilonalli's Skinshifter attacks, it becomes a copy of another target nonlegendary attacking creature until end of turn.
mana={2}{R}
type=Creature
subtype=Human Shaman
power=0
toughness=1
[/card]
[card]
name=Tilonalli's Summoner
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_ATTACKING_may pay({X}{R}) name(Create X elemental tokens) token(Elemental,Creature Elemental Tilonalli,1/1,red,battleready)*x
auto=@each my endstep restriction{type(City's Blessing|mybattlefield)~equalto~0}:name(Exile Elementals) moveto(exile) all(Tilonalli[token;fresh]|myBattlefield)
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Whenever Tilonalli's Summoner attacks, you may pay {X}{R}. If you do, create X 1/1 red Elemental creature tokens that are tapped and attacking. At the beginning of the next end step, exile those tokens unless you have the city's blessing.
mana={1}{R}
type=Creature
subtype=Human Shaman
power=1
toughness=1
[/card]
[card]
name=Timbercrown Pathway
auto={T}:add{G}
text={T}: Add {G}. // Cragcrown Pathway
type=Land
[/card]
[card]
name=Time Out
auto=target(*[-land]|battlefield) rolld6 6 winability moveto(ownerlibrary) and!(shuffle)! winabilityend loseability moveto(ownerlibrary) and!(shuffle)! loseabilityend rolld6end
text=Roll a six-sided die. Put target nonland permanent into its owner's library just beneath the top X cards of that library, where X is the result.
mana={4}{U}
type=Instant
[/card]
[card]
name=Time Vault
abilities=doesnotuntap
auto=tap(noevent)
auto=@each my beginofturn sourcetap:may (turns:-1 controller) && untapthis
auto={T}:turns:+1 controller
text=Time Vault enters the battlefield tapped. -- Time Vault doesn't untap during your untap step. -- If you would begin your turn while Time Vault is tapped, you may skip that turn instead. If you do, untap Time Vault. -- {T}: Take an extra turn after this one.
mana={2}
type=Artifact
[/card]
[card]
name=Time Wipe
auto=name(Return a creature) target(creature|myBattlefield) moveto(ownerhand) and!( destroy all(creature) )!
text=Return a creature you control to its owner's hand, then destroy all creatures.
mana={2}{W}{W}{U}
type=Sorcery
[/card]
[card]
name=Time of Ice
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=target(creature|opponentBattlefield) transforms((,newability[tap],newability[doesnotuntap]))
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) target(creature|opponentBattlefield) freeze 
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) all(creature[tapped]|battlefield) moveTo(ownerHand)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Tap target creature an opponent controls. It doesn't untap during its controller's untap step for as long as you control Time of Ice. -- III - Return all tapped creatures to their owners' hands.
mana={3}{U}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Time to Reflect
target=creature[blocking;blocked]
restriction=type(zombie[blocking;blocked]|battlefield)~morethan~0
auto=moveto(exile)
text=Exile target creature that blocked or was blocked by a Zombie this turn.
mana={W}
type=Instant
[/card]
[card]
name=Timecrafting
target=*[counter{0/0.1.Time}]|battlefield
auto=choice name(Remove X time counters) counter(0/0,-X,Time)
auto=choice name(Put X time counters) counter(0/0,X,Time)
text=Choose one  Remove X time counters from target permanent or suspended card; or put X time counters on target permanent with a time counter on it or suspended card.
mana={X}{R}
type=Instant
[/card]
[card]
name=Timeless Dragon
abilities=flying
aicode=activate target(plains|mylibrary) moveto(myhand)
autohand={2}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
autograveyard={2}{W}{W}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=Flying -- Plainscycling {2} ({2}, Discard this card: Search your library for a Plains card, reveal it, put it into your hand, then shuffle.) -- Eternalize {2}{W}{W} ({2}{W}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Dragon with no mana cost. Eternalize only as a sorcery.)
mana={3}{W}{W}
type=Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Timeless Witness
auto=name(Return card) target(*|myGraveyard) moveTo(myHand)
autograveyard={5}{G}{G}{E}:name(Eternalize) clone and!( transforms((Zombie,removemc,setpower=4,settoughness=4,black)) forever )! assorcery
text=When Timeless Witness enters the battlefield, return target card from your graveyard to your hand. -- Eternalize {5}{G}{G} ({5}{G}{G}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Human Shaman with no mana cost. Eternalize only as a sorcery.)
mana={2}{G}{G}
type=Creature
subtype=Human Shaman
power=2
toughness=1
[/card]
[card]
name=Timely Ward
abilities=flash
target=creature
auto=teach(creature) indestructible
other={2}{W} name(Cast as it has flash)
restriction=myturnonly
otherrestriction=type(*[iscommander]|mybattlefield)~morethan~0,opponentTurnOnly
text=You may cast this spell as though it had flash if it targets a commander. -- Enchant creature -- Enchanted creature has indestructible.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Timestream Navigator
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[{2}{U}{U}{T}:(this|bottomoflibrary) && turns:+1 controller]))
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- {2}{U}{U},{T}, Put Timestream Navigator on the bottom of its owner's library: Take an extra turn after this one. Activate this ability only if you have the city's blessing.
mana={1}{U}
type=Creature
subtype=Human Pirate Wizard
power=1
toughness=1
[/card]
[card]
name=Timmy, Power Gamer
auto={4}:moveto(mybattlefield) target(creature|myhand)
text={4}: Put a creature into play from your hand.
mana={2}{G}{G}
type=Summon
subtype=Legend
[/card]
[card]
name=Tin Street Cadet
auto=_BLOCKED_token(Goblin,Creature Goblin,1/1,red)
text=Whenever Tin Street Cadet becomes blocked, create a 1/1 red Goblin creature token.
mana={R}
type=Creature
subtype=Goblin
power=1
toughness=1
[/card]
[card]
name=Tin Street Dodger
abilities=haste
auto={R}:transforms((,newability[cantbeblockedby(creature[-defender])]))
text=Haste -- {R}: Tin Street Dodger can't be blocked this turn except by creatures with defender.
mana={R}
type=Creature
subtype=Goblin Rogue
power=1
toughness=1
[/card]
[card]
name=Tinder Wall
abilities=defender
auto={S}:add{R}{R}
auto={R}{S}:damage:2 target(creature[blocked])
text=Defender (This creature can't attack.) -- Sacrifice Tinder Wall: Add {R}{R}. -- {R}, Sacrifice Tinder Wall: It deals 2 damage to target creature it's blocking.
mana={G}
type=Creature
subtype=Plant Wall
power=0
toughness=3
[/card]
[card]
name=Tinybones, Trinket Thief
auto=@discarded(*|opponenthand):draw:1 controller && life:-1 controller limit:1
auto={4}{B}{B}:if type(*|opponenthand)~lessthan~1 then life:-10 opponent
text=At the beginning of each end step, if an opponent discarded a card this turn, you draw a card and you lose 1 life. -- {4}{B}{B}: Each opponent with no cards in hand loses 10 life.
mana={1}{B}
type=Legendary Creature
subtype=Skeleton Rogue
power=1
toughness=2
[/card]
[card]
name=Tireless Hauler
abilities=vigilance,daybound
backside=Dire-Strain Brawler
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
text=Vigilance -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Dire-Strain Brawler
mana={4}{G}
type=Creature
subtype=Human Werewolf
power=4
toughness=5
[/card]
[card]
name=Tireless Provisioner
auto=_LANDFALL_name(Create treasure) token(Treasure Sur)
text=Landfall - Whenever a land enters the battlefield under your control, create a Food token or a Treasure token. (Food is an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life." Treasure is an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{G}
type=Creature
subtype=Elf Scout
power=3
toughness=2
[/card]
[card]
name=Tishana's Wayfinder
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto=name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=When Tishana's Wayfinder enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={2}{G}
type=Creature
subtype=Merfolk Scout
power=2
toughness=2
[/card]
[card]
name=Tishana, Voice of Thunder
abilities=nomaxhand
auto=foreach(*|myhand) 1/1
auto=foreach(creature|mybattlefield) draw:1 controller
text=Tishana, Voice of Thunder's power and toughness are each equal to the number of cards in your hand. -- You have no maximum hand size. -- When Tishana enters the battlefield, draw a card for each creature you control.
mana={5}{G}{U}
type=Legendary Creature
subtype=Merfolk Shaman
power=*
toughness=*
[/card]
[card]
name=Titan Hunter
auto=@each my end:restriction{-morbid}:life:-4 controller
auto=@each opponent end:restriction{-morbid}:life:-4 opponent
auto={1}{B}{S(creature|myBattlefield)}:life:4 controller
text=At the beginning of each player's end step, if no creatures died this turn, Titan Hunter deals 4 damage to that player. -- {1}{B}, Sacrifice a creature: You gain 4 life.
mana={4}{B}
type=Creature
subtype=Human Warrior
power=4
toughness=5
[/card]
[card]
name=Titan's Presence
auto=if type(*[colorless&power=0]|myhand)~morethan~0 then choice name(Reveal creature with power 0) name(Reveal creature with power 0) target(creature[power<=0]) moveto(exile)
auto=if type(*[colorless&power=1]|myhand)~morethan~0 then choice name(Reveal creature with power 1) name(Reveal creature with power 1) target(creature[power<=1]) moveto(exile)
auto=if type(*[colorless&power=2]|myhand)~morethan~0 then choice name(Reveal creature with power 2) name(Reveal creature with power 2) target(creature[power<=2]) moveto(exile)
auto=if type(*[colorless&power=3]|myhand)~morethan~0 then choice name(Reveal creature with power 3) name(Reveal creature with power 3) target(creature[power<=3]) moveto(exile)
auto=if type(*[colorless&power=4]|myhand)~morethan~0 then choice name(Reveal creature with power 4) name(Reveal creature with power 4) target(creature[power<=4]) moveto(exile)
auto=if type(*[colorless&power=5]|myhand)~morethan~0 then choice name(Reveal creature with power 5) name(Reveal creature with power 5) target(creature[power<=5]) moveto(exile)
auto=if type(*[colorless&power=6]|myhand)~morethan~0 then choice name(Reveal creature with power 6) name(Reveal creature with power 6) target(creature[power<=6]) moveto(exile)
auto=if type(*[colorless&power=7]|myhand)~morethan~0 then choice name(Reveal creature with power 7) name(Reveal creature with power 7) target(creature[power<=7]) moveto(exile)
auto=if type(*[colorless&power=8]|myhand)~morethan~0 then choice name(Reveal creature with power 8) name(Reveal creature with power 8) target(creature[power<=8]) moveto(exile)
auto=if type(*[colorless&power=9]|myhand)~morethan~0 then choice name(Reveal creature with power 9) name(Reveal creature with power 9) target(creature[power<=9]) moveto(exile)
auto=if type(*[colorless&power=10]|myhand)~morethan~0 then choice name(Reveal creature with power 10) name(Reveal creature with power 10) target(creature[power<=10]) moveto(exile)
auto=if type(*[colorless&power=11]|myhand)~morethan~0 then choice name(Reveal creature with power 11) name(Reveal creature with power 11) target(creature[power<=11]) moveto(exile)
auto=if type(*[colorless&power=12]|myhand)~morethan~0 then choice name(Reveal creature with power 12) name(Reveal creature with power 12) target(creature[power<=12]) moveto(exile)
auto=if type(*[colorless&power=13]|myhand)~morethan~0 then choice name(Reveal creature with power 13) name(Reveal creature with power 13) target(creature[power<=13]) moveto(exile)
auto=if type(*[colorless&power=14]|myhand)~morethan~0 then choice name(Reveal creature with power 14) name(Reveal creature with power 14) target(creature[power<=14]) moveto(exile)
auto=if type(*[colorless&power=15]|myhand)~morethan~0 then choice name(Reveal creature with power 15) name(Reveal creature with power 15) target(creature[power<=15]) moveto(exile)
auto=if type(*[colorless&power=16]|myhand)~morethan~0 then choice name(Reveal creature with power 16) name(Reveal creature with power 16) target(creature[power<=16]) moveto(exile)
auto=if type(*[colorless&power=17]|myhand)~morethan~0 then choice name(Reveal creature with power 17) name(Reveal creature with power 17) target(creature[power<=17]) moveto(exile)
auto=if type(*[colorless&power=18]|myhand)~morethan~0 then choice name(Reveal creature with power 18) name(Reveal creature with power 18) target(creature[power<=18]) moveto(exile)
auto=if type(*[colorless&power=19]|myhand)~morethan~0 then choice name(Reveal creature with power 19) name(Reveal creature with power 19) target(creature[power<=19]) moveto(exile)
auto=if type(*[colorless&power>=20]|myhand)~morethan~0 then choice name(Reveal creature with power 20) name(Reveal creature with power 20) target(creature[power<=20]) moveto(exile)
text=As an additional cost to cast Titan's Presence, reveal a colorless creature card from your hand. -- Exile target creature if its power is less than or equal to the revealed card's power.
mana={3}
type=Instant
[/card]
[card]
name=Titania's Song
auto=lord(artifact[-creature]) transforms((creature,noactivatedability,newability[manacost/manacost]))
auto=_DIES_all(artifact[-creature]|myBattlefield) transforms((creature,noactivatedability,newability[manacost/manacost])) ueot
text=Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania's Song leaves the battlefield, this effect continues until end of turn.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Titanic Brawl
target=creature|mybattlefield
other={G} name(Target creature with 1/1 counter)
otherrestriction=type(creature[counter{1/1}]|mybattlefield)~morethan~0,type(creature|opponentbattlefield)~morethan~0
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
restriction=type(creature|opponentbattlefield)~morethan~0
text=This spell costs {1} less to cast if it targets a creature you control with a +1/+1 counter on it. -- Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Titanic Pelagosaur
mana={3}{U}{U}
type=Creature
subtype=Dinosaur
power=4
toughness=6
[/card]
[card]
name=Titanoth Rex
abilities=trample,cycling
autohand=__CYCLING__({1}{G})
autohand=@cycled(this|myHand):name(Put trample counter) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Trample],newability[this(counter{0/0.1.Trample}>=1) trample]))) forever
text=Trample -- Cycling {1}{G} ({1}{G}, Discard this card: Draw a card.) -- When you cycle Titanoth Rex, put a trample counter on target creature you control.
mana={7}{G}{G}
type=Creature
subtype=Dinosaur Beast
power=11
toughness=11
[/card]
[card]
name=Titans' Nest
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@each my upkeep:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={E(*|myGraveyard)}:Add{C}
text=At the beginning of your upkeep, look at the top card of your library. You may put that card into your graveyard. -- Exile a card from your graveyard: Add Colorless . Spend this mana only to cast a colored spell without Variable Colorless in its mana cost.
mana={1}{B}{G}{U}
type=Enchantment
[/card]
[card]
name=Tithe Taker
auto=while(restriction{myturnonly}) lord(*|opponentcastingzone) altercost( colorless,+1)
auto=_DIES_token(Spirit,Creature Spirit,1/1,white,black,flying)
text=During your turn, spells your opponents cast cost {1} more to cast and abilities your opponents activate cost {1} more to activate unless they're mana abilities. -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.)
mana={1}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=1
[/card]
[card]
name=Tithebearer Giant
auto=draw:1 && life:-1
text=When Tithebearer Giant enters the battlefield, you draw a card and you lose 1 life.
mana={5}{B}
type=Creature
subtype=Giant Warrior
power=4
toughness=5
[/card]
[card]
name=Tivash, Gloom Summoner
abilities=lifelink
auto=@each my end restriction{compare(lifegain)~morethan~0}:pay({L:lifegain}) name(Pay life and create demon) token(Demon,Creature Demon,lifegain/lifegain,black,flying)
text=Lifelink -- At the beginning of your end step, if you gained life this turn, you may pay X life, where X is the amount of life you gained this turn. If you do, create an X/X black Demon creature token with flying.
mana={4}{B}
type=Legendary Creature
subtype=Human Warlock
power=4
toughness=4
[/card]
[card]
name=Tizerus Charger
retrace={3}{G}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
auto=if paid(retrace) then choice name(Escape with 1/1 counter) name(Escape with 1/1 counter) counter(1/1)
auto=if paid(retrace) then choice name(Escape with flying counter) name(Escape with flying counter) transforms((,newability[counter(0/0.1.Flying],newability[this(counter{0/0.1.Flying}>=1) flying])) forever
text=Escape-{4}{B}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Tizerus Charger escapes with your choice of a +1/+1 counter or a flying counter on it.
mana={2}{B}
type=Creature
subtype=Pegasus
power=3
toughness=2
[/card]
[card]
name=Tocatli Honor Guard
auto=@movedto(creature|battlefield):all(trigger) onlymanaability ueot
text=Creatures entering the battlefield don't cause abilities to trigger.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=3
[/card]
[card]
name=Together Forever
auto=target(<upto:2>other creature|battlefield) counter(1/1) 
auto={1}:target(creature[counter{any}]) transforms((,newability[_DIES_all(trigger[to]) moveTo(ownerHand)])) ueot
text=When Together Forever enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) -- {1}: Choose target creature with a counter on it. When that creature dies this turn, return that card to its owner's hand.
mana={W}{W}
type=Enchantment
[/card]
[card]
name=Toggo, Goblin Weaponsmith
abilities=partner
auto=_LANDFALL_token(Rock Equipment)
text=Whenever a land enters the battlefield under your control, create a colorless Equipment artifact token named Rock with "Equipped creature has '{1}, {T}, Sacrifice Rock: This creature deals 2 damage to any target'" and equip {1}. -- Partner (You can have two commanders if both have partner.)
mana={2}{R}
type=Legendary Creature
subtype=Goblin Artificer
power=2
toughness=2
[/card]
[card]
name=Toil // Trouble
target=player
abilities=hasnokicker
other={2}{R} name(Trouble)
kicker={2}{R} name(Fuse)
auto=if paid(alternative) then damage:type:*:targetedpersonshand targetedplayer
auto=if paid(kicker) then ability$!name(Deal damage) name(Deal damage) target(player) damage:type:*:targetedpersonshand targetedplayer!$ controller
auto=ifnot paid(alternative) then draw:2 targetedplayer && life:-2 targetedplayer
text=Target player draws two cards and loses 2 life. // Trouble deals damage to target player equal to the number of cards in that player's hand. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Toils of Night and Day
target=*|battlefield
auto=ability$!name(Tap or untap) choice name(Tap permanent) tap(noevent) _ choice name(Untap permanent) untap!$ controller
auto=ability$!name(Tap or untap) choice name(Tap another permanent) tap(noevent) target(*|battlefield) _ choice name(Untap another permanent) untap target(*|battlefield)!$ controller
text=You may tap or untap target permanent, then you may tap or untap another target permanent.
mana={2}{U}
type=Instant
subtype=Arcane
[/card]
[card]
name=Tolarian Kraken
auto=@drawof(player):pay({1}) ability$!name(Pay 1) choice name(Tap target creature) target(creature) tap(noevent) _ choice name(Untap target creature) target(creature) untap!$ controller
text=Whenever you draw a card, you may pay 1 . When you do, you may tap or untap target creature.
mana={4}{U}{U}
type=Creature
subtype=Kraken
power=4
toughness=6
[/card]
[card]
name=Tolarian Scholar
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Toll of the Invasion
target=opponent
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) target(<1>*[-land]|reveal) moveto(ownerhand) and!( transforms((,newability[reject],newability[all(*|reveal) moveto(ownerhand)])) oneshot )! optiononeend optiontwo name(look) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend afterrevealed transforms((,newability[_AMASS_(1) controller])) oneshot afterrevealedend revealend
text=Target opponent reveals their hand. You choose a nonland card from it. That player discards that card. -- Amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Tolsimir, Friend to Wolves
auto=@movedto(wolf|myBattlefield):all(trigger[to]) transforms((,newability[may target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>]))
auto=@movedto(wolf|myBattlefield):life:3
auto=create(Voja, Friend to Elves:legendary wolf creature:3/3:green:white)
text=When Tolsimir, Friend to Wolves enters the battlefield, create Voja, Friend to Elves, a legendary 3/3 green and white Wolf creature token. -- Whenever a Wolf enters the battlefield under your control, you gain 3 life and that creature fights up to one target creature an opponent controls.
mana={2}{G}{G}{W}
type=Legendary Creature
subtype=Elf Scout
power=3
toughness=3
[/card]
[card]
name=Tomb Robber
abilities=menace
aicode=activate transforms((,newability[explores],newability[if type(land[zpos=1]|mylibrary)~lessthan~1 then all(this) counter(1/1) else all(land[zpos=1]|mylibrary) moveto(myhand)])) oneshot
auto={1}{D(*|myhand)}:name(Explores) reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) forever optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) oneshot optiontwoend afterrevealed explores afterrevealedend revealend
text=Menace -- {1}, Discard a card: Tomb Robber explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard.)
mana={2}{B}
type=Creature
subtype=Human Pirate
power=1
toughness=1
[/card]
[card]
name=Tomb Tyrant
auto=lord(other zombie|myBattlefield) 1/1
auto={2}{B}{T} restriction{type(creature[zombie]|mygraveyard)~morethan~2}:name(Sacrifice creature and return zombie) name(Sacrifice creature and return zombie) target(creature|myBattlefield) sacrifice and!( moverandom(creature[zombie]) from(mygraveyard) to(mybattlefield) )! myturnonly
text=Other Zombies you control get +1/+1. -- {2}{B}, {T}, Sacrifice a creature: Return a Zombie creature card at random from your graveyard to the battlefield. Activate only during your turn and only if there are at least three Zombie creature cards in your graveyard.
mana={3}{B}
type=Creature
subtype=Zombie Noble
power=3
toughness=3
[/card]
[card]
name=Tomb of Annihilation
restriction=never
autocommandzone=transforms((,newability[shroud],newability[indestructible])) forever
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Trapped Entry) name(Trapped Entry) life:-1 controller && life:-1 opponent!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:ability$!name(Veils of Fear or Oubliette) transforms((,newability[choice name(Veils of Fear) activate castcard(copied noevent kicked!:1:! named!:annihilation rooms:!)],newability[if type(*|myhand)~morethan~0 then choice name(Oubliette) name(Oubliette) activate castcard(copied noevent normal named!:annihilation rooms:!)])) oneshot!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntoubliette)~equalto~0}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Sandfall Cell) name(Sandfall Cell) transforms((,newability[choice name(Loose 2 life) life:-2 controller],newability[if type(artifact|mybattlefield)~morethan~0 then if type(creature|mybattlefield)~morethan~0 then if type(land|mybattlefield)~morethan~0 then choice name(Sacrifice cards) name(Sacrifice cards) name(Sacrifice cards) name(Sacrifice cards) activate castcard(copied alternative noevent named!:annihilation rooms:!)])) oneshot!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntoubliette)~equalto~0}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Sandfall Cell) name(Sandfall Cell) transforms((,newability[choice name(Loose 2 life) life:-2 controller],newability[if type(artifact|mybattlefield)~morethan~0 then if type(creature|mybattlefield)~morethan~0 then if type(land|mybattlefield)~morethan~0 then choice name(Sacrifice cards) name(Sacrifice cards) name(Sacrifice cards) name(Sacrifice cards) activate castcard(copied alternative noevent named!:annihilation rooms:!)])) oneshot!$ opponent
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntoubliette)~equalto~1}:choice name(Dungeon completed) all(Tomb of Annihilation|mycommandzone) completedungeon:1 controller
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntoubliette)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Cradle of the Death God) name(Cradle of the Death God) token(The Atropal)!$ controller
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:choice name(Dungeon completed) all(Tomb of Annihilation|mycommandzone) completedungeon:1 controller
autocommandzone=@counteradded(0/0,1,Explore) from(Tomb of Annihilation|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Cradle of the Death God) name(Cradle of the Death God) token(The Atropal)!$ controller
text=Trapped Entry - Each player loses 1 life. -- Veils of Fear - Each player loses 2 life unless they discard a card. -- Sandfall Cell - Each player loses 2 life unless they sacrifice an artifact, a creature, or a land. -- Oubliette - Discard a card and sacrifice an artifact, a creature, and a land. -- Cradle of the Death God - Create The Atropal, a legendary 4/4 black God Horror creature token with deathtouch.
type=Dungeon
[/card]
[card]
name=Tomb of the Dusk Rose
auto={T}:add{W}
auto={T}:add{G}
auto={T}:add{U}
auto={T}:add{B}
auto={T}:add{R}
auto={2}{W}{B}{T}:name(Return a creature from exile) name(Return a creature from exile) target(creature[counter{0/0.1.ProfaneExiled}]|exile) moveto(mybattlefield)
text=(Transforms from Profane Procession.) -- {T}: Add one mana of any color. -- {2}{W}{B}, {T}: Put a creature card exiled with this permanent onto the battlefield under your control.
mana={1}{W}{B}
type=Legendary Land
[/card]
[card]
name=Tombfire
target=player
auto=ability$!name(Exile flashback cards) all(*[hasflashback]|mygraveyard) moveto(myexile)!$ targetedplayer
text=Target player exiles all cards with flashback from his or her graveyard.
mana={B}
type=Sorcery
[/card]
[card]
name=Tome Anima
auto=this(variable{pdrewcount}>1) unblockable ueot
text=Tome Anima can't be blocked as long as you've drawn two or more cards this turn.
mana={3}{U}
type=Creature
subtype=Spirit
power=3
toughness=3
[/card]
[card]
name=Tome Raider
abilities=flying
auto=draw:1
text=Flying -- When Tome Raider enters the battlefield, draw a card.
mana={2}{U}
type=Creature
subtype=Faerie
power=1
toughness=1
[/card]
[card]
name=Tome Shredder
abilities=haste
auto={T}{E(*[instant;sorcery]|mygraveyard)}:counter(1/1)
text=Haste -- {T}, Exile an instant or sorcery card from your graveyard: Put a +1/+1 counter on Tome Shredder.
mana={2}{R}
type=Creature
subtype=Wolf
power=2
toughness=2
[/card]
[card]
name=Tome of Legends
auto=counter(0/0,1,Page)
auto=@movedto(*[iscommander]|myBattlefield):name(Put a page counter) counter(0/0,1,Page)
auto=@combat(attacking) source(creature[iscommander]|myBattlefield):name(Put a page counter) counter(0/0,1,Page)
auto={1}{T}{C(0/0,-1,Page)}:name(Draw a card) draw:1 controller
text=Tome of Legends enters the battlefield with a page counter on it. -- Whenever your commander enters the battlefield or attacks, put a page counter on Tome of Legends. -- {1}, {T}, Remove a page counter from Tome of Legends: Draw a card.
mana={2}
type=Artifact
[/card]
[card]
name=Tome of the Guildpact
auto=@movedTo(*[multicolor]|mystack):draw:1
auto={T}:Add{W}
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
auto={T}:Add{G}
text=Whenever you cast a multicolored spell, draw a card. -- {T}: Add one mana of any color.
mana={5}
type=Artifact
[/card]
[card]
name=Tome of the Infinite
auto={U}{T}:name(Conjure a random card) conjure cards(Swords to Plowshares;Light of Hope;Ponder;Force Spike;Dark Ritual;Duress;Lightning Bolt;Assault Strobe;Giant Growth;Fog) zone(myhand) and!( counter(0/0.1.PerpetualAnyMana) )!
auto=emblem transforms((,newability[lord(*[counter{0/0.1.PerpetualAnyMana}]|myzones) anytypeofmana])) forever dontremove
text={U}, {T}: Conjure a random card from Tome of the Infinite's spellbook into your hand. It perpetually gains "You may spend mana as though it were mana of any color to cast this spell."
mana={2}{U}
type=Legendary Artifact
[/card]
[card]
name=Tomebound Lich
abilities=deathtouch,lifelink
auto=draw:1 && transforms((,newability[target(*|myhand) reject]))
auto=@combatdamaged(player) from(this):draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- Whenever Tomebound Lich enters the battlefield or deals combat damage to a player, draw a card, then discard a card.
mana={1}{U}{B}
type=Creature
subtype=Zombie Wizard
power=1
toughness=3
[/card]
[card]
name=Tomik, Distinguished Advokist
abilities=flying
auto=lord(land|mygraveyard,mybattlefield) opponentshroud
auto=lord(land|opponentgraveyard,opponentbattlefield) cantbetargetof(*|opponentzones)
text=Flying -- Lands on the battlefield and land cards in graveyards can't be the targets of spells or abilities your opponents control. -- Your opponents can't play land cards from graveyards.
mana={W}{W}
type=Legendary Creature
subtype=Human Advisor
power=2
toughness=3
[/card]
[card]
name=Toothy, Imaginary Friend
abilities=partner
auto=may name(Put partner in hand) moveto(myhand) target(pir^ imaginative rascal|mylibrary)
auto=@drawof(player):counter(1/1)
auto=@movedTo(this|nonbattlezone) from(myBattlefield):thisforeach(counter{1/1,1}) draw:1 controller
text=Partner with Pir, Imaginative Rascal (When this creature enters the battlefield, target player may put Pir into their hand from their library, then shuffle.) -- Whenever you draw a card, put a +1/+1 counter on Toothy, Imaginary Friend. -- When Toothy leaves the battlefield, draw a card for each +1/+1 counter on it.
mana={3}{U}
type=Legendary Creature
subtype=Illusion
power=1
toughness=1
[/card]
[card]
name=Topple the Statue
target=*
auto=Tap 
auto=teach(artifact) destroy
auto=draw:1 controller
text=Tap target permanent. If it's an artifact, destroy it. -- Draw a card.
mana={2}{W}
type=Instant
[/card]
[card]
name=Toralf's Hammer
auto={1}{R}:equip
auto=teach(legendary) 3/0
auto=teach(creature) transforms((,newability[{1}{R}{T}:target(Toralf's Hammer[attached]|mybattlefield) moveTo(ownerhand) and!( transforms((,newability[choice name(Damage player) damage:3 target(player)],newability[choice name(Damage creature) damage:3 target(creature)],newability[choice name(Damage planeswalker) damage:3 target(planeswalker)])) oneshot )!]))
text=Equipped creature has "{1}{R}, {T}, Unattach Toralf's Hammer: It deals 3 damage to any target. Return Toralf's Hammer to its owner's hand." -- Equipped creature gets +3/+0 as long as it's legendary. -- Equip {1}{R} // {2}{R}{R} Toralf, God of Fury
mana={1}{R}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Toralf, God of Fury
abilities=trample
other={1}{R} name(Toralf's Hammer)
otherrestriction=can play equipment,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Toralf's Hammer)
autostack=if paid(alternative) then flip(Toralf's Hammer) forcetype(Legendary Artifact)
auto=@noncombatdamaged(*[creature;planeswalker]|opponentbattlefield) restriction{compare(isflipped)~equalto~0}:name(Deals damage) target(player,creature,planeswalker) damage:excessdamage
text=Trample -- Whenever a creature or planeswalker an opponent controls is dealt excess noncombat damage, Toralf, God of Fury deals damage equal to the excess to any target other than that permanent. // {1}{R} Toralf's Hammer
mana={2}{R}{R}
type=Legendary Creature
subtype=God
power=5
toughness=4
[/card]
[card]
name=Torbran, Thane of Red Fell
auto=@damaged(creature|opponentBattlefield) from(*[instant;sorcery;red]|mystack,myGraveyard):all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damaged(creature|opponentBattlefield) from(*[creature;enchantment;artifact;land;planeswalker;red]|mybattlefield,myGraveyard):all(trigger[to]) transforms((,newability[damage:2])) oneshot
auto=@damagefoeof(player) from(*[instant;sorcery;red]|mystack,myGraveyard):ability$!name(Damage opponent) damage:2 opponent!$ controller
auto=@damagefoeof(player) from(*[creature;enchantment;artifact;land;planeswalker;red]|mybattlefield,myGraveyard):ability$!name(Damage opponent) damage:2 opponent!$ controller
text=If a red source you control would deal damage to an opponent or a permanent an opponent controls, it deals that much damage plus 2 instead.
mana={1}{R}{R}{R}
type=Legendary Creature
subtype=Dwarf Noble
power=2
toughness=4
[/card]
[card]
name=Torch Courier
abilities=haste
auto={S}:target(other creature) haste ueot
text=Haste -- Sacrifice Torch Courier: Another target creature gains haste until end of turn.
mana={R}
type=Creature
subtype=Goblin
power=1
toughness=1
[/card]
[card]
name=Torgaar, Famine Incarnate
auto=may name(Set life of player) name(Set life of player) lifeset:halfdownstartinglife target(player)
autohand={4}{B}{B}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~0}:name(Sacrifice 1) activate name(Sacrifice 1) castcard(restricted)
autohand={2}{B}{B}{S(creature|myBattlefield)}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~1}:name(Sacrifice 2) activate name(Sacrifice 2) castcard(restricted)
autohand={B}{B}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)} restriction{type(creature|mybattlefield)~morethan~2}:name(Sacrifice 3) activate name(Sacrifice 3) castcard(restricted)
text=As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed this way. -- When Torgaar, Famine Incarnate enters the battlefield, up to one target player's life total becomes half their starting life total, rounded down.
mana={6}{B}{B}
type=Legendary Creature
subtype=Avatar
power=7
toughness=6
[/card]
[card]
name=Torment of Hailfire
auto=thisforeach(X) life:-3 opponent
text=Repeat the following process X times. Each opponent loses 3 life unless that player sacrifices a nonland permanent or discards a card.
mana={X}{B}{B}
type=Sorcery
[/card]
[card]
name=Torment of Scarabs
target=player
auto=@each targetedplayer upkeep:ability$!pay[[{L:3}]] name(pay or sacrifice) donothing'sacrifice notatarget(*[-land]|mybattlefield)!$ targetedplayer
text=Enchant player -- At the beginning of enchanted player's upkeep, that player loses 3 life unless he or she sacrifices a nonland permanent or discards a card.
mana={3}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Torment of Venom
target=creature
auto=counter(-1/-1,3)
auto=ability$!pay[[{L:3}]] name(pay or sacrifice) donothing'sacrifice notatarget(*[-land]|mybattlefield)!$ opponent
text=Put three -1/-1 counters on target creature. Its controller loses 3 life unless he or she sacrifices another nonland permanent or discards a card.
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Tormentor's Helm
auto={1}:equip
auto=teach(creature) 1/1
auto=@combat(blocked) source(mytgt):damage:1 opponent
text=Equipped creature gets +1/+1. -- Whenever equipped creature becomes blocked, it deals 1 damage to defending player. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)
mana={R}
type=Artifact
subttype=Equipment
[/card]
[card]
name=Tormod's Cryptkeeper
abilities=vigilance
auto={T}{S}:name(Exile from opponent's graveyard) all(*|opponentgraveyard) moveto(exile)
auto={T}{S}:name(Exile from your graveyard) all(*|mygraveyard) moveto(exile)
text=Vigilance -- {T}, Sacrifice Tormod's Cryptkeeper: Exile all cards from target player's graveyard.
mana={3}
type=Artifact Creature
subtype=Golem
power=3
toughness=2
[/card]
[card]
name=Tormod, the Desecrator
abilities=partner
auto=@movedto(*|mybattlefield) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=@movedto(*|myhand) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=@movedto(*|mylibrary) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=@movedto(*|myexile) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=@movedto(*|mysideboard) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=@movedto(*|mycommandzone) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
text=Whenever one or more cards leave your graveyard, create a tapped 2/2 black Zombie creature token. -- Partner (You can have two commanders if both have partner.)
mana={3}{B}
type=Legendary Creature
subtype=Zombie Wizard
power=4
toughness=2
[/card]
[card]
name=Torrent Sculptor
other={1}{R} name(Flamethrower Sonata)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Flamethrower Sonata)
autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:flamethrower sonata:!)])) forever
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
auto=if type(*[instant;sorcery:manacost=0]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 0) name(Exile instant or sorcery with manacost 0) target(*[instant;sorcery;manacost=0]|mygraveyard) moveto(myexile)
auto=if type(*[instant;sorcery:manacost=1]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 1) name(Exile instant or sorcery with manacost 1) target(*[instant;sorcery;manacost=1]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1) )!
auto=if type(*[instant;sorcery:manacost=2]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 2) name(Exile instant or sorcery with manacost 2) target(*[instant;sorcery;manacost=2]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1) )!
auto=if type(*[instant;sorcery:manacost=3]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 3) name(Exile instant or sorcery with manacost 3) target(*[instant;sorcery;manacost=3]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,2) )!
auto=if type(*[instant;sorcery:manacost=4]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 4) name(Exile instant or sorcery with manacost 4) target(*[instant;sorcery;manacost=4]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,2) )!
auto=if type(*[instant;sorcery:manacost=5]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 5) name(Exile instant or sorcery with manacost 5) target(*[instant;sorcery;manacost=5]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,3) )!
auto=if type(*[instant;sorcery:manacost=6]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 6) name(Exile instant or sorcery with manacost 6) target(*[instant;sorcery;manacost=6]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,3) )!
auto=if type(*[instant;sorcery:manacost=7]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 7) name(Exile instant or sorcery with manacost 7) target(*[instant;sorcery;manacost=7]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,4) )!
auto=if type(*[instant;sorcery:manacost=8]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 8) name(Exile instant or sorcery with manacost 8) target(*[instant;sorcery;manacost=8]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,4) )!
auto=if type(*[instant;sorcery:manacost=9]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 9) name(Exile instant or sorcery with manacost 9) target(*[instant;sorcery;manacost=9]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,5) )!
auto=if type(*[instant;sorcery:manacost=10]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 10) name(Exile instant or sorcery with manacost 10) target(*[instant;sorcery;manacost=10]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,5) )!
auto=if type(*[instant;sorcery:manacost=11]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 11) name(Exile instant or sorcery with manacost 11) target(*[instant;sorcery;manacost=11]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,6) )!
auto=if type(*[instant;sorcery:manacost=12]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 12) name(Exile instant or sorcery with manacost 12) target(*[instant;sorcery;manacost=12]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,6) )!
auto=if type(*[instant;sorcery:manacost=13]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 13) name(Exile instant or sorcery with manacost 13) target(*[instant;sorcery;manacost=13]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,7) )!
auto=if type(*[instant;sorcery:manacost=14]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 14) name(Exile instant or sorcery with manacost 14) target(*[instant;sorcery;manacost=14]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,7) )!
auto=if type(*[instant;sorcery:manacost=15]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 15) name(Exile instant or sorcery with manacost 15) target(*[instant;sorcery;manacost=15]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,8) )!
auto=if type(*[instant;sorcery:manacost=16]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 16) name(Exile instant or sorcery with manacost 16) target(*[instant;sorcery;manacost=16]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,8) )!
auto=if type(*[instant;sorcery:manacost=17]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 17) name(Exile instant or sorcery with manacost 17) target(*[instant;sorcery;manacost=17]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,9) )!
auto=if type(*[instant;sorcery:manacost=18]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 18) name(Exile instant or sorcery with manacost 18) target(*[instant;sorcery;manacost=18]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,9) )!
auto=if type(*[instant;sorcery:manacost=19]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 19) name(Exile instant or sorcery with manacost 19) target(*[instant;sorcery;manacost=19]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,10) )!
auto=if type(*[instant;sorcery:manacost>=20]|mygraveyard)~morethan~0 then choice name(Exile instant or sorcery with manacost 20) name(Exile instant or sorcery with manacost 20) target(*[instant;sorcery;manacost=20]|mygraveyard) moveto(myexile) and!( all(this) counter(1/1,10) )!
text=Ward {2} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {2}.) -- When Torrent Sculptor enters the battlefield, exile an instant or sorcery card from your graveyard. Put a number of +1/+1 counters on Torrent Sculptor equal to half that card's mana value, rounded up. // {1}{R} Flamethrower Sonata
mana={2}{U}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Torrent of Lava
auto=all(creature[-flying]|battlefield) transforms((,newability[{T}:prevent:1])) ueot
auto=damage:X all(creature[-flying])
text=Torrent of Lava deals X damage to each creature without flying. -- As long as Torrent of Lava is on the stack, each creature has "{T}: Prevent the next 1 damage that would be dealt to this creature by Torrent of Lava this turn."
mana={X}{R}{R}
type=Sorcery
[/card]
[card]
name=Toski, Bearer of Secrets
abilities=nofizzle,indestructible,mustattack
auto=@combatdamaged(player) from(creature|myBattlefield):draw:1 controller
text=This spell can't be countered. -- Indestructible -- Toski, Bearer of Secrets attacks each combat if able. -- Whenever a creature you control deals combat damage to a player, draw a card.
mana={3}{G}
type=Legendary Creature
subtype=Squirrel
power=1
toughness=1
[/card]
[card]
name=Touch of Moonglove
target=creature|mybattlefield
auto=1/0 ueot
auto=deathtouch ueot
auto=transforms((,newability[@vampired(creature) from(this):life:-2 opponent])) ueot
text=Target creature you control gets +1/+0 and gains deathtouch until end of turn. Whenever a creature dealt damage by that creature dies this turn, its controller loses 2 life. (Any amount of damage a creature with deathtouch deals to a creature is enough to destroy it.)
mana={B}
type=Instant
[/card]
[card]
name=Tourach's Canticle
auto=name(Discard a card) target(*|opponenthand) transforms((,newability[reject],newability[discard:1 controller])) forever
text=Target opponent reveals their hand. You choose a card from it. That player discards that card, then discards a card at random.
mana={3}{B}
type=Sorcery
[/card]
[card]
name=Tourach, Dread Cantor
abilities=protection from white
kicker={B}{B}
auto=if paid(kicker) then discard:2 opponent
auto=@discarded(*|opponenthand):counter(1/1)
text=Kicker {B}{B} (You may pay an additional {B}{B} as you cast this spell.) -- Protection from white -- Whenever an opponent discards a card, put a +1/+1 counter on Tourach, Dread Cantor. -- When Tourach enters the battlefield, if it was kicked, target opponent discards two cards at random.
mana={1}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Tournament Grounds
auto={T}:add{C}
auto=this(variable{type:*[knight;equipment]:myrestrictedcastingzone}>0) {T}:add{R}
auto=this(variable{type:*[knight;equipment]:myrestrictedcastingzone}>0) {T}:add{W}
auto=this(variable{type:*[knight;equipment]:myrestrictedcastingzone}>0) {T}:add{B}
text={T}: Add {1}. -- {T}: Add {R}, {W}, or {B}. Spend this mana only to cast a Knight or Equipment spell.
type=Land
[/card]
[card]
name=Tovolar's Huntmaster
abilities=daybound
backside=Tovolar's Packleader
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=token(Wolf,Creature Wolf,2/2,green)*2
text=Whenever Tovolar's Huntmaster enters the battlefield, create two 2/2 green Wolf creature tokens. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Tovolar's Packleader
mana={4}{G}{G}
type=Creature
subtype=Human Werewolf
power=6
toughness=6
[/card]
[card]
name=Tovolar's Packleader
abilities=nightbound
backside=Tovolar's Huntmaster
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=token(Wolf,Creature Wolf,2/2,green)*2
auto={2}{G}{G}:name(Wolf of werewolf fights) target(other *[wolf;werewolf]|mybattlefield) transforms((,newability[name(Fights another creature) target(other creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) oneshot
text=Whenever Tovolar's Packleader enters the battlefield or attacks, create two 2/2 green Wolf creature tokens. -- {2}{G}{G}: Another target Wolf or Werewolf you control fights target creature you don't control. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Tovolar's Huntmaster
type=Creature
subtype=Werewolf
color=green
power=7
toughness=7
[/card]
[card]
name=Tovolar, Dire Overlord
abilities=daybound
backside=Tovolar, the Midnight Scourge
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@damaged(player) from(*[wolf;werewolf]|mybattlefield):name(Draw a card) draw:1 controller
auto=@each my upkeep restriction{type(*[wolf;werewolf]|mybattlefield)~morethan~2}:name(Transform human werewolves) target(<anyamount>human[werewolf&hasbackside]|myBattlefield) flip(backside)
auto=@each my upkeep restriction{type(*[wolf;werewolf]|mybattlefield)~morethan~2}:name(It becomes night) all(*[day]|mybattlefield) flip(backside)
text=Whenever a Wolf or Werewolf you control deals combat damage to a player, draw a card. -- At the beginning of your upkeep, if you control three or more Wolves and/or Werewolves, it becomes night. Then transform any number of Human Werewolves you control. -- Daybound // Tovolar, the Midnight Scourge
mana={1}{R}{G}
type=Legendary Creature
subtype=Human Werewolf
power=4
toughness=4
[/card]
[card]
name=Tovolar, the Midnight Scourge
abilities=nightbound
backside=Tovolar, Dire Overlord
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=@damaged(player) from(*[wolf;werewolf]|mybattlefield):name(Draw a card) draw:1 controller
auto={R}{G}:name(X=0) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[trample])) ueot
auto={1}{R}{G}:name(X=1) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[1/0],newability[trample])) ueot
auto={2}{R}{G}:name(X=2) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[2/0],newability[trample])) ueot
auto={3}{R}{G}:name(X=3) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[3/0],newability[trample])) ueot
auto={4}{R}{G}:name(X=4) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[4/0],newability[trample])) ueot
auto={5}{R}{G}:name(X=5) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[5/0],newability[trample])) ueot
auto={6}{R}{G}:name(X=6) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[6/0],newability[trample])) ueot
auto={7}{R}{G}:name(X=7) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[7/0],newability[trample])) ueot
auto={8}{R}{G}:name(X=8) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[8/0],newability[trample])) ueot
auto={9}{R}{G}:name(X=9) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[9/0],newability[trample])) ueot
auto={10}{R}{G}:name(X=10) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[10/0],newability[trample])) ueot
auto={11}{R}{G}:name(X=11) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[11/0],newability[trample])) ueot
auto={12}{R}{G}:name(X=12) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[12/0],newability[trample])) ueot
auto={13}{R}{G}:name(X=13) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[13/0],newability[trample])) ueot
auto={14}{R}{G}:name(X=14) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[14/0],newability[trample])) ueot
auto={15}{R}{G}:name(X=15) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[15/0],newability[trample])) ueot
auto={16}{R}{G}:name(X=16) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[16/0],newability[trample])) ueot
auto={17}{R}{G}:name(X=17) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[17/0],newability[trample])) ueot
auto={18}{R}{G}:name(X=18) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[18/0],newability[trample])) ueot
auto={19}{R}{G}:name(X=19) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[19/0],newability[trample])) ueot
auto={20}{R}{G}:name(X=20) target(*[wolf;werewolf]|mybattlefield) transforms((,newability[20/0],newability[trample])) ueot
text=Whenever a Wolf or Werewolf you control deals combat damage to a player, draw a card. -- {X}{R}{G}: Target Wolf or Werewolf you control gets +X/+0 and gains trample until end of turn. -- Nightbound // Tovolar, Dire Overlord
type=Legendary Creature
subtype=Werewolf
color=red,green
power=4
toughness=4
[/card]
[card]
name=Tower Above
target=creature
other={G}{G}{G} name(Pay with 3 green)
auto=4/4 ueot
auto=transforms((,newability[trample ueot],newability[wither ueot],newability[_ATTACKING_target(creature|opponentbattlefield) mustblock ueot])) ueot
text=({2G} can be paid with any two mana or with {G}. This card's converted mana cost is 6.) -- Until end of turn, target creature gets +4/+4 and gains trample, wither, and "When this creature attacks, target creature blocks it this turn if able." (It deals damage to creatures in the form of -1/-1 counters.)
mana={6}
type=Sorcery
[/card]
[card]
name=Towering Titan
auto={S(creature[defender]|mybattlefield)}:all(creature) trample ueot
auto=counter(1/1,toughnesstotalinplay)
text=Towering Titan enters the battlefield with X +1/+1 counters on it, where X is the total toughness of other creatures you control. -- Sacrifice a creature with defender: All creatures gain trample until end of turn.
mana={4}{G}{G}
type=Creature
subtype=Giant
power=0
toughness=0
[/card]
[card]
name=Towering-Wave Mystic
auto=@damagefoeof(player) from(this):target(player) deplete:thatmuch
text=Whenever Towering-Wave Mystic deals damage, target player puts that many cards from the top of their library into their graveyard.
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=1
[/card]
[card]
name=Toxic Deluge
auto=if compare(lifetotal)~morethan~0 then choice name(Pay 1 Life) life:-1 controller && all(creature|battlefield) -1/-1 ueot
auto=if compare(lifetotal)~morethan~1 then choice name(Pay 2 Life) life:-2 controller && all(creature|battlefield) -2/-2 ueot
auto=if compare(lifetotal)~morethan~2 then choice name(Pay 3 Life) life:-3 controller && all(creature|battlefield) -3/-3 ueot
auto=if compare(lifetotal)~morethan~3 then choice name(Pay 4 Life) life:-4 controller && all(creature|battlefield) -4/-4 ueot
auto=if compare(lifetotal)~morethan~4 then choice name(Pay 5 Life) life:-5 controller && all(creature|battlefield) -5/-5 ueot
auto=if compare(lifetotal)~morethan~5 then choice name(Pay 6 Life) life:-6 controller && all(creature|battlefield) -6/-6 ueot
auto=if compare(lifetotal)~morethan~6 then choice name(Pay 7 Life) life:-7 controller && all(creature|battlefield) -7/-7 ueot
auto=if compare(lifetotal)~morethan~7 then choice name(Pay 8 Life) life:-8 controller && all(creature|battlefield) -8/-8 ueot
auto=if compare(lifetotal)~morethan~8 then choice name(Pay 9 Life) life:-9 controller && all(creature|battlefield) -9/-9 ueot
auto=if compare(lifetotal)~morethan~9 then choice name(Pay 10 Life) life:-10 controller && all(creature|battlefield) -10/-10 ueot
auto=if compare(lifetotal)~morethan~10 then choice name(Pay 11 Life) life:-11 controller && all(creature|battlefield) -11/-11 ueot
auto=if compare(lifetotal)~morethan~11 then choice name(Pay 12 Life) life:-12 controller && all(creature|battlefield) -12/-12 ueot
auto=if compare(lifetotal)~morethan~12 then choice name(Pay 13 Life) life:-13 controller && all(creature|battlefield) -13/-13 ueot
auto=if compare(lifetotal)~morethan~13 then choice name(Pay 14 Life) life:-14 controller && all(creature|battlefield) -14/-14 ueot
auto=if compare(lifetotal)~morethan~14 then choice name(Pay 15 Life) life:-15 controller && all(creature|battlefield) -15/-15 ueot
auto=if compare(lifetotal)~morethan~15 then choice name(Pay 16 Life) life:-16 controller && all(creature|battlefield) -16/-16 ueot
auto=if compare(lifetotal)~morethan~16 then choice name(Pay 17 Life) life:-17 controller && all(creature|battlefield) -17/-17 ueot
auto=if compare(lifetotal)~morethan~17 then choice name(Pay 18 Life) life:-18 controller && all(creature|battlefield) -18/-18 ueot
auto=if compare(lifetotal)~morethan~18 then choice name(Pay 19 Life) life:-19 controller && all(creature|battlefield) -19/-19 ueot
auto=if compare(lifetotal)~morethan~19 then choice name(Pay 20 Life) life:-20 controller && all(creature|battlefield) -20/-20 ueot
text=As an additional cost to cast this spell, pay X life. -- All creatures get -X/-X until end of turn.
mana={2}{B}
type=Instant
[/card]
[card]
name=Track Down
aicode=activate if type(*[creature;land;zpos=1]|mylibrary)~morethan~0 then draw:1 controller
auto=scry:3 scrycore delayed dontshow transforms((,newability[if type(*[creature;land;zpos=1]|mylibrary)~morethan~0 then all(*[zpos=1]|mylibrary) moveto(myhand) else target(*[zpos=1]|mylibrary) moveto(myreveal) and!( placefromthetop(1) )!])) oneshot scrycoreend scryend
text=Scry 3, then reveal the top card of your library. If it's a creature or land card, draw a card. (To scry 3, look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Tragic Arrogance
auto=if type(artifact[-land]|mybattlefield)~morethan~1 then ability$!name(Sacrifice your artifacts) name(Sacrifice your artifacts) sacrifice notatarget(<type:artifact[-land]:mybattlefieldminus1minusend>artifact[-land]|mybattlefield)!$ controller
auto=if type(artifact[-land]|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice opponent's artifacts) name(Sacrifice opponent's artifacts) sacrifice notatarget(<type:artifact[-land]:opponentbattlefieldminus1minusend>artifact[-land]|opponentbattlefield)!$ controller
auto=if type(creature[-land]|mybattlefield)~morethan~1 then ability$!name(Sacrifice your creatures) name(Sacrifice your creatures) sacrifice notatarget(<type:creature[-land]:mybattlefieldminus1minusend>creature[-land]|mybattlefield)!$ controller
auto=if type(creature[-land]|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice opponent's creatures) name(Sacrifice opponent's creatures) sacrifice notatarget(<type:creature[-land]:opponentbattlefielddminus1minusend>creature[-land]|opponentbattlefield)!$ controller
auto=if type(enchantment[-land]|mybattlefield)~morethan~1 then ability$!name(Sacrifice your enchantments) name(Sacrifice your enchantments) sacrifice notatarget(<type:enchantment[-land]:mybattlefieldminus1minusend>enchantment[-land]|mybattlefield) !$ controller
auto=if type(enchantment[-land]|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice opponent's enchantments) name(Sacrifice opponent's enchantments) sacrifice notatarget(<type:enchantment[-land]:opponentbattlefieldminus1minusend>enchantment[-land]|opponentbattlefield)!$ controller
auto=if type(planeswalker[-land]|mybattlefield)~morethan~1 then ability$!name(Sacrifice your planeswalkers) name(Sacrifice your planeswalkers) sacrifice notatarget(<type:planeswalker[-land]:mybattlefieldminus1minusend>planeswalker[-land]|mybattlefield)!$ controller
auto=if type(planeswalker[-land]|opponentbattlefield)~morethan~1 then ability$!name(Sacrifice opponent's planeswalkers) name(Sacrifice opponent's planeswalkers) sacrifice notatarget(<type:planeswalker[-land]:opponentbattlefieldminus1minusend>planeswalker[-land]|opponentbattlefield)!$ controller
text=For each player, you choose from among the permanents that player controls an artifact, a creature, an enchantment, and a planeswalker. Then each player sacrifices all other nonland permanents he or she controls.
mana={3}{W}{W}
type=Sorcery
[/card]
[card]
name=Tragic Fall
target=creature
auto=if type(*|myHand)~morethan~0 then -3/-3 ueot
auto=if type(*|myHand)~equalto~0 then -13/-13 ueot
text=Target creature gets -3/-3 until end of turn. -- Hellbent - That creature gets -13/-13 until end of turn instead if you have no cards in hand.
mana={1}{B}
type=Instant
[/card]
[card]
name=Tragic Lesson
auto=draw:2
auto=choice target(land|mybattlefield) moveto(myhand)
auto=choice D(*|myhand)
text=Draw two cards. Then discard a card unless you return a land you control to its owner's hand.
mana={2}{U}
type=Instant
[/card]
[card]
name=Trail of Crumbs
auto=token(Food)
auto=@sacrificed(food|mybattlefield):pay({1}) name(look) reveal:2 optionone name(Get a permanent card) target(<1>*[-instant,-sorcery]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend revealend
text=When Trail of Crumbs enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Whenever you sacrifice a Food, you may pay 1 . If you do, look at the top two cards of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
mana={1}{G}
type=Enchantment
[/card]
[card]
name=Train of Thought
abilities=hasnokicker,hasreplicate
auto=name(Draw a card) draw:1 controller
kicker=multi{1}{U} name(Replicate)
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Train of Thought) name(Copy Train of Thought) activate castcard(copied noevent named!:Train of Thought:!)!$ controller
text=Replicate {1}{U} (When you cast this spell, copy it for each time you paid its replicate cost.) -- Draw a card.
mana={1}{U}
type=Sorcery
[/card]
[card]
name=Training Center
auto=tap(noevent)
auto={T}:add{R}
auto={T}:add{U}
text=Training Center enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {U} or {R}.
type=Land
[/card]
[card]
name=Traitorous Greed
target=creature
auto=moveto(mybattlefield) and!(transforms((,newability[untap],newability[haste],newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)])) ueot)!
auto=name(add mana) ability$! choice add{G}{G} _ choice add{R}{R} _ choice add{U}{U} _ choice add{B}{B} _ choice add{W}{W} !$ controller
text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. Add two mana of any one color. (The creature can attack and {T} this turn.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Transcendent Envoy
abilities=flying
auto=lord(enchantment[aura]|mycastingzone) altercost(colorless,-1)
text=Flying -- Aura spells you cast cost {1} less to cast.
mana={1}{W}
type=Enchantment Creature
subtype=Griffin
power=1
toughness=2
[/card]
[card]
name=Transmogrify
target=creature
auto=moveTo(Exile)
auto=ability$!name(Reveal) reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone target(creature|myreveal) moveto(mybattlefield) and!( all(*|myreveal) bottomoflibrary )! optiononeend optiontwo all(*|myreveal) bottomoflibrary optiontwoend revealend!$ targetController
text=Exile target creature. That creature's controller reveals cards from the top of their library until they reveal a creature card. That player puts that card onto the battlefield, then shuffles the rest into their library.
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Transmogrifying Wand
auto=counter(0/0,3,Charge)
auto={1}{T}{C(0/0,-1,Charge)}:target(creature) destroy && token(Ox,Creature Ox,2/4,white) targetController asSorcery
text=Transmogrifying Wand enters the battlefield with three charge counters on it. -- {1}, {T}, Remove a charge counter from Transmogrifying Wand: Destroy target creature. Its controller creates a 2/4 white Ox creature token. Activate this ability only any time you could cast a sorcery.
mana={3}
type=Artifact
[/card]
[card]
name=Trap Runner
auto={T}:target(creature[attacking;-blocked]) 0/0 && fog from(mytgt) oneshot restriction{blockersonly}
text={T}: Target unblocked attacking creature becomes blocked. Activate this ability only during combat after blockers are declared. (This ability works on unblockable creatures.)
mana={2}{W}{W}
type=Creature
subtype=Human Soldier
power=2
toughness=3
[/card]
[card]
name=Trapjaw Tyrant
auto=_ENRAGE_(blink)forsrc target(creature|opponentbattlefield)
text=Enrage - Whenever Trapjaw Tyrant is dealt damage, exile target creature an opponent controls until Trapjaw Tyrant leaves the battlefield.
mana={3}{W}{W}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Trapped in the Tower
target=creature[-flying]
auto=cantattack
auto=cantpwattack
auto=cantblock
auto=noactivatedability
text=Enchant creature without flying -- Enchanted creature can't attack or block, and its activated abilities can't be activated.
mana={1}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Traverse the Outlands
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]<power:highest:*:mybattlefield>|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]<power:highest:*:mybattlefield>|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<power:highest:*:mybattlefield>*|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 X basic land cards, where X is the greatest power among creatures you control. Put those cards onto the battlefield tapped, then shuffle your library.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Traxos, Scourge of Kroog
abilities=trample,doesnotuntap
auto=tap(noevent)
auto=@movedTo(*[artifact;legendary;saga]|mystack):untap
text=Trample -- Traxos, Scourge of Kroog enters the battlefield tapped and doesn't untap during your untap step. -- Whenever you cast a historic spell, untap Traxos. (Artifacts, legendaries, and Sagas are historic.)
mana={4}
type=Legendary Artifact Creature
subtype=Construct
power=7
toughness=7
[/card]
[card]
name=Treacherous Blessing
auto=draw:3 controller
auto=@movedto(*|myStack):life:-1 controller
auto=@targeted(this):sacrifice(this)
text=When Treacherous Blessing enters the battlefield, draw three cards. Whenever you cast a spell, you lose 1 life. When Treacherous Blessing becomes the target of a spell or ability, sacrifice it.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Treacherous Link
target=creature
auto=teach(creature) transforms((,newability[undamageable],newability[_ENRAGE_damage:thatmuch controller]))
text=Enchant creature -- All damage that would be dealt to enchanted creature is dealt to its controller instead.
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Treasure Chest
auto={4}:name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end
auto=@dierolled(this) from(controller):all(this) sacrifice
auto=@dierolled(this) result(1) from(controller):name(Loose life) life:-3 controller
auto=@dierolled(this) result(2) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(3) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(4) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(5) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(6) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(7) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(8) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(9) from(controller):name(Create treasure) token(Treasure Sur)*5
auto=@dierolled(this) result(10) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(11) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(12) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(13) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(14) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(15) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(16) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(17) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(18) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(19) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller
auto=@dierolled(this) result(20) from(controller):name(Search Library) target(*|mylibrary) transforms((,newability[if cantargetcard(*[-artifact]|*) then moveto(myhand)],newability[if cantargetcard(*[artifact]|*) then choice name(Put on battlefield) name(Put on battlefield) moveto(mybattlefield)],newability[if cantargetcard(*[artifact]|*) then choice name(Put in hand) name(Put in hand) moveto(myhand)])) oneshot
text={4}, Sacrifice Treasure Chest: Roll a d20. -- 1 | Trapped! - You lose 3 life. -- 2-9 | Create five Treasure tokens. -- 10-19 | You gain 3 life and draw three cards. -- 20 | Search your library for a card. If it's an artifact card you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle.
mana={3}
type=Artifact
[/card]
[card]
name=Treasure Cove
auto={T}:Add{1}
auto={T}{S(artifact[-creature&token]|myBattlefield)}:draw:1 controller
text=(Transforms from Treasure Map.) -- {T}: Add {1} to your mana pool. -- {T}, Sacrifice a Treasure: Draw a card.
type=Land
[/card]
[card]
name=Treasure Gad
auto={T}{S}:add{W}
auto={T}{S}:add{U}
auto={T}{S}:add{B}
auto={T}{S}:add{R}
auto={T}{S}:add{G}
text={T}, Sacrifice this artifact: Add one mana of any color.
type=Artifact Treasure
[/card]
[card]
name=Treasure Map
aicode=activate transforms((,newability[all(*[zpos<=type:zombie:mybattlefield]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={1}{T}:_SCRY_(1) && counter(0/0,1,landmark)
auto=@counteradded(0/0,1,landmark) from(this):this(counter{0/0.3.landmark}=) removeallcounters(0/0.1.landmark) && flip(Treasure Cove) && token(Treasure Sur)*3
text={1}, {T}: Scry 1. Put a landmark counter on Treasure Map. Then if there are three or more landmark counters on it, remove those counters, transform Treasure Map, and create three colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={2}
type=Artifact
[/card]
[card]
name=Treasure Nabber
auto=@tappedformana(artifact|opponentBattlefield):moveTo(myBattlefield) target(artifact[tapped]) uynt
text=Whenever an opponent taps an artifact for mana, gain control of that artifact until the end of your next turn.
mana={2}{R}
type=Creature
subtype=Goblin Rogue
power=3
toughness=2
[/card]
[card]
name=Treasure Sur
auto={T}{S}:add{W}
auto={T}{S}:add{U}
auto={T}{S}:add{B}
auto={T}{S}:add{R}
auto={T}{S}:add{G}
text={T}, Sacrifice this artifact: Add one mana of any color.
type=Artifact Treasure
[/card]
[card]
name=Treasure Vault
auto={T}:Add{C}
auto={X}{X}{T}{S}:name(Create treasures) token(Treasure Sur)*xx
text={T}: Add {C}. -- {X}{X}, {T}, Sacrifice Treasure Vault: Create X Treasure tokens.
type=Artifact Land
[/card]
[card]
name=TreasureArtifactToken
auto={T}{S}:add{W}
auto={T}{S}:add{U}
auto={T}{S}:add{B}
auto={T}{S}:add{R}
auto={T}{S}:add{G}
text={T}, Sacrifice this artifact: Add one mana of any color.
type=Artifact Treasure
[/card]
[card]
name=Treefolk Umbra
abilities=totemarmor
target=creature
auto=teach(creature) 0/2
auto=teach(creature) combattoughness
text=Enchant creature -- Enchanted creature gets +0/+2 and assigns combat damage equal to its toughness rather than its power. -- Totem armor (If enchanted creature would be destroyed, instead remove all damage from it and destroy this Aura.)
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Treefolk Wre
anyzone=type:land:mybattlefield/type:land:mybattlefield cdaactive
text=This creature's power and toughness are each equal to the number of lands you control.
color=green
type=Creature
subtype=Treefolk
power=*
toughness=*
[/card]
[card]
name=Treeshaker Chimera
abilities=lure
auto=_DIES_draw:3 controller
text=All creatures able to block Treeshaker Chimera do so. -- When Treeshaker Chimera dies, draw three cards.
mana={5}{G}{G}
type=Creature
subtype=Chimera
power=8
toughness=5
[/card]
[card]
name=Treetop Ambusher
other={1}{G} name(Dash)
auto=if paid(alternative) then transforms((,newability[haste],newability[phaseaction[endofturn sourceinplay] moveto(ownerhand) all(this)])) forever
auto=_ATTACKING_target(creature|mybattlefield) 1/1 ueot
text=Dash {1}{G} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) -- Whenever Treetop Ambusher attacks, target creature you control gets +1/+1 until end of turn.
mana={1}{G}
type=Creature
subtype=Elf Berserker
power=2
toughness=1
[/card]
[card]
name=Treetop Warden
mana={1}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Trelasarra, Moon Dancer
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Whenever you gain life, put a +1/+1 counter on Trelasarra, Moon Dancer and scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={G}{W}
type=Legendary Creature
subtype=Elf Cleric
power=2
toughness=2
[/card]
[card]
name=Trench Behemoth
auto={H(land|mybattlefield)}:name(Untap and gain hexproof) name(Untap and gain hexproof) transforms((,newability[untap],newability[opponentshroud])) ueot
auto=_LANDFALL_name(Target creature must attack) name(Target creature must attack) target(creature|opponentbattlefield) transforms((,newability[mustattack])) uynt
text=Return a land you control to its owner's hand: Untap Trench Behemoth. It gains hexproof until end of turn. -- Whenever a land enters the battlefield under your control, target creature an opponent controls attacks during its controller's next combat phase if able.
mana={5}{U}{U}
type=Creature
subtype=Kraken
power=7
toughness=7
[/card]
[card]
name=Trespasser's Curse
target=player
auto=@movedto(creature|opponentbattlefield):life:-1 targetedplayer && life:1 targetedplayer
text=Enchant player -- Whenever a creature enters the battlefield under enchanted player's control, that player loses 1 life and you gain 1 life.
mana={1}{B}
type=Enchantment
subtype=Aura Curse
[/card]
[card]
name=Trial // Error
other={U}{B} name(Error)
auto=if paid(alternative) then target(*[multicolor]|stack) fizzle
auto=ifnot paid(alternative) then target(creature[blocked;blocking]) moveto(ownerhand)
text=Return all creatures blocking or blocked by target creature to their owner's hand. // Counter target multicolored spell.
mana={W}{U}
type=Instant
[/card]
[card]
name=Trial of Ambition
auto=ability$!name(Sacrifice a creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=@movedto(cartouche|mybattlefield):moveto(myhand)
text=When Trial of Ambition enters the battlefield, target opponent sacrifices a creature. -- When a Cartouche enters the battlefield under your control, return Trial of Ambition to its owner's hand.
mana={1}{B}
type=Enchantment
[/card]
[card]
name=Trial of Knowledge
auto=draw:3 && transforms((,newability[target(*|myhand) reject])) forever
auto=@movedto(cartouche|mybattlefield):moveto(myhand)
text=When Trial of Knowledge enters the battlefield, draw three cards, then discard a card. -- When a Cartouche enters the battlefield under your control, return Trial of Knowledge to its owner's hand.
mana={3}{U}
type=Enchantment
[/card]
[card]
name=Trial of Solidarity
auto=all(creature|mybattlefield) 2/1 ueot
auto=all(creature|mybattlefield) vigilance ueot
auto=@movedto(cartouche|mybattlefield):moveto(myhand)
text=When Trial of Solidarity enters the battlefield, creatures you control get +2/+1 and gain vigilance until end of turn. -- When a Cartouche enters the battlefield under your control, return Trial of Solidarity to its owner's hand.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Trial of Strength
auto=token(Beast,creature Beast,4/2,green)
auto=@movedto(cartouche|mybattlefield):moveto(myhand)
text=When Trial of Strength enters the battlefield, create a 4/2 green Beast creature token. -- When a Cartouche enters the battlefield under your control, return Trial of Strength to its owner's hand.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Trial of Zeal
auto=damage:3 target(creature,player)
auto=@movedto(cartouche|mybattlefield):moveto(myhand)
text=When Trial of Zeal enters the battlefield, it deals 3 damage to target creature or player. -- When a Cartouche enters the battlefield under your control, return Trial of Zeal to its owner's hand.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Tribute Mage
aicode=activate target(artifact[manacost=2]|mylibrary) moveto(myhand)
auto=Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>artifact[manacost=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=When Tribute Mage enters the battlefield, you may search your library for an artifact card with converted mana cost 2, reveal that card, put it into your hand, then shuffle your library.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Trickster's Talisman
auto={2}:equip
auto=teach(creature) 1/1
auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):may name(Sacrifice Talisman and copy) clone and!( target("Talisman of the Trickster"[attached]|mybattlefield) sacrifice )!]))
text=Equipped creature gets +1/+1 and has "Whenever this creature deals combat damage to a player, you may sacrifice "Talisman of the Trickster". If you do, create a token that's a copy of this creature." -- Equip {2}
mana={U}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Trinisphere
auto=this(untapped) lord(*[-land]|hand,library,exile,graveyard) trinisphere forcedalive
text=As long as Trinisphere is untapped, each spell that would cost less than three mana to cast costs three mana to cast. (Additional mana in the cost may be paid with any color of mana or colorless mana. For example, a spell that would cost {1}{B} to cast costs {2}{B} to cast instead.)
mana={3}
type=Artifact
[/card]
[card]
name=Triplicate Titan
abilities=flying,vigilance,trample
auto=_DIES_token(Golem,Creature Artifact Golem,3/3,flying)
auto=_DIES_token(Golem,Creature Artifact Golem,3/3,vigilance)
auto=_DIES_token(Golem,Creature Artifact Golem,3/3,trample)
text=Flying, vigilance, trample -- When Triplicate Titan dies, create a 3/3 colorless Golem artifact creature token with flying, a 3/3 colorless Golem artifact creature token with vigilance, and a 3/3 colorless Golem artifact creature token with trample.
mana={9}
type=Artifact Creature
subtype=Golem
power=9
toughness=9
[/card]
[card]
name=Triskaidekaphile
abilities=nomaxhand
auto=@each my upkeep restriction{type(*|myhand)~morethan~12}:name(Win the game) wingame controller
auto={3}{U}:name(Draw a card) draw:1 controller
text=You have no maximum hand size. -- At the beginning of your upkeep, if you have exactly thirteen cards in your hand, you win the game. -- {3}{U}: Draw a card.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Triton Waverider
auto=_CONSTELLATION_flying ueot
text=Constellation -- Whenever an enchantment enters the battlefield under your control, Triton Waverider gains flying until end of turn.
mana={3}{U}
type=Creature
subtype=Merfolk Wizard
power=3
toughness=3
[/card]
[card]
name=Triumph of Gerrard
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=counter(1/1) target(creature[power=power:highest:creature:myBattlefield]|mybattlefield)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) counter(1/1) target(creature|mybattlefield)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) flying target(creature)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Put a +1/+1 counter on target creature you control with the greatest power. -- III - Target creature you control with the greatest power gains flying, first strike, and lifelink until end of turn.
mana={1}{W}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Triumphant Adventurer
abilities=deathtouch
auto=this(variable{controllerturn}>0) first strike
auto=@combat(attacking) source(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Deathtouch -- As long as it's your turn, Triumphant Adventurer has first strike. -- Whenever Triumphant Adventurer attacks, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={W}{B}
type=Creature
subtype=Human Knight
power=1
toughness=1
[/card]
[card]
name=Triumphant Reckoning
auto=moveTo(mybattlefield) all(enchantment|mygraveyard)
auto=moveTo(mybattlefield) all(artifact|mygraveyard)
auto=moveTo(mybattlefield) all(planeswalker|mygraveyard)
text=Return all artifact, enchantment, and planeswalker cards from your graveyard to the battlefield.
mana={6}{W}{W}{W}
type=Sorcery
[/card]
[card]
name=Triumphant Surge
target=creature[power>=4]
auto=destroy && life:3 controller
text=Destroy target creature with power 4 or greater. You gain 3 life.
mana={3}{W}
type=Instant
[/card]
[card]
name=Trollbred Guardian
auto={2}{G}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.2)])) forever
auto=lord(creature[counter{1/1}]|myBattlefield) trample
text={2}{G}: Adapt 2. (If this creature has no +1/+1 counters on it, put two +1/+1 counters on it.) -- Each creature you control with a +1/+1 counter on it has trample.
mana={4}{G}
type=Creature
subtype=Troll Frog Warrior
power=5
toughness=5
[/card]
[card]
name=Trostani Discordant
auto=lord(other creature|myBattlefield) +1/+1
auto=create(soldier:creature soldier:1/1:white:lifelink)*2
auto=@each my endofturn:moveto(ownerbattlefield) all(creature)
text=Other creatures you control get +1/+1. -- When Trostani Discordant enters the battlefield, create two 1/1 white Soldier creature tokens with lifelink. -- At the beginning of your end step, each player gains control of all creatures they own.
mana={3}{G}{W}
type=Legendary Creature
subtype=Dryad
power=1
toughness=4
[/card]
[card]
name=Trove Tracker
auto=_DIES_draw:1 controller
autograveyard={5}{U}{U}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery
text=When Trove Tracker dies, draw a card. -- Encore {5}{U}{U} ({5}{U}{U}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)
mana={2}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=2
[/card]
[card]
name=Trove Warden
abilities=vigilance
auto=_LANDFALL_moveto(exile) target(*[manacost<=3]|mygraveyard)
auto=_DIES_moveto(ownerbattlefield) target(<anyamount>*[manacost<=3]|myexile)
text=Vigilance -- Landfall - Whenever a land enters the battlefield under your control, exile target permanent card with converted mana cost 3 or less from your graveyard. -- When Trove Warden dies, put each permanent card exiled with it onto the battlefield under the control of that card's owner.
mana={2}{W}{W}
type=Creature
subtype=Cat Beast
power=3
toughness=4
[/card]
[card]
name=Trove of Temptation
auto=@each my endofturn:token(435451)
text=Each opponent must attack you or a planeswalker you control with at least one creature each combat if able. -- At the beginning of your end step, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={3}{R}
type=Enchantment
[/card]
[card]
name=Trudge Garden
auto=@lifeof(player) from(*[-lifefaker]|*):pay({2}) token(Fungus Beast,Creature Fungus Beast,4/4,trample,green)
text=Whenever you gain life, you may pay 2 . If you do, create a 4/4 green Fungus Beast creature token with trample.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=True Love's Kiss
target=artifact,enchantment
auto=moveto(exile)
auto=draw:1
text=Exile target artifact or enchantment. -- Draw a card.
mana={2}{W}{W}
type=Instant
[/card]
[card]
name=True Polymorph
target=artifact,creature
auto=counter(0/0.1.PolymorphEffect)
auto=name(Choose the card to transform) target(other *[creature;artifact]|battlefield) transforms((,newability[all(*[counter{0/0.1.PolymorphEffect}]|battlefield) copy],newability[all(*[counter{0/0.1.PolymorphEffect}]|battlefield) removeallcounters(0/0.1.PolymorphEffect)])) forever
text=Target artifact or creature becomes a copy of another target artifact or creature.
mana={4}{U}{U}
type=Instant
[/card]
[card]
name=True-Name Nemesis
auto=name(choose opponent) notatarget(opponent) deplete:0
auto=protection from(*)
text=As True-Name Nemesis enters the battlefield, choose a player. True-Name Nemesis has protection from the chosen player. (This creature can't be blocked, targeted, dealt damage, or enchanted by anything controlled by that player.)
mana={1}{U}{U}
type=Creature
subtype=Merfolk Rogue
power=3
toughness=1
[/card]
[card]
name=Truefire Captain
abilities=mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto=_ENRAGE_damage:thatmuch target(player)
text=Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- Whenever Truefire Captain is dealt damage, it deals that much damage to target player.
mana={R}{R}{W}{W}
type=Creature
subtype=Human Knight
power=4
toughness=3
[/card]
[card]
name=Trueheart Duelist
autograveyard={2}{W}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Trueheart Duelist can block an additional creature each combat. -- Embalm {2}{W} ({2}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Human Warrior with no mana cost. Embalm only as a sorcery.)
mana={1}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Trueheart Twins
auto=@exerted(creature|myBattlefield):all(creature|mybattlefield) 1/0 ueot
auto=_ATTACKING_may exert
text=You may exert Trueheart Twins as it attacks. (It won't untap during your next untap step.) -- Whenever you exert a creature, creatures you control get +1/+0 until end of turn.
mana={4}{R}
type=Creature
subtype=Jackal Warrior
power=4
toughness=4
[/card]
[card]
name=Trufflesnout
auto=choice name(Put a +1/+1 counter) counter(1/1,1) all(this)
auto=choice name(Gain 4 life) life:4 controller
text=When Trufflesnout enters the battlefield, Choose one -- Put a +1/+1 counter on Trufflesnout. -- You gain 4 life.
mana={2}{G}
type=Creature
subtype=Boar
power=2
toughness=2
[/card]
[card]
name=Trumpeting Gnarr
abilities=mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={3}{GU}{GU} name(Mutate)
auto=transforms((,newability[@mutated(this):token(Beast Tru)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {3}{GU}{GU} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Whenever this creature mutates, create a 3/3 green Beast creature token.
mana={1}{G}{U}
type=Creature
subtype=Beast
power=3
toughness=3
[/card]
[card]
name=Trumpeting Herd
auto=token(Elephant,Creature Elephant,3/3,green)
auto=_REBOUND_
text=Create a 3/3 green Elephant creature token. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=Trusted Pegasus
abilities=flying
auto=_ATTACKING_target(creature[attacking;-flying]) flying ueot
text=Flying -- Whenever Trusted Pegasus attacks, target attacking creature without flying gains flying until end of turn.
mana={2}{W}
type=Creature
subtype=Pegasus
power=2
toughness=2
[/card]
[card]
name=Trustworthy Scout
auto={1}{W}{E(this|mygraveyard)}:moveto(myHand) target(Trustworthy Scout|mylibrary)
text=1{W}, Exile Trustworthy Scout from your graveyard: Search your library for a card named Trustworthy Scout, reveal it, put it into your hand, then shuffle your library.
mana={1}{W}
type=Creature
subtype=Human Scout
power=2
toughness=2
[/card]
[card]
name=Trusty Packbeast
auto=target(artifact|mygraveyard) moveto(ownerhand)
text=When Trusty Packbeast enters the battlefield, return target artifact card from your graveyard to your hand.
mana={2}{W}
type=Creature
subtype=Beast
power=2
toughness=3
[/card]
[card]
name=Trusty Retriever
auto=choice name(Put counter) counter(1/1)
auto=choice name(Return enchantment) moveto(myhand) target(enchantment|mygraveyard)
text=When Trusty Retriever enters the battlefield, Choose one -- Put a +1/+1 counter on Trusty Retriever. -- Return target artifact or enchantment card from your graveyard to your hand.
mana={3}{W}
type=Creature
subtype=Dog
power=2
toughness=3
[/card]
[card]
name=Trynn, Champion of Freedom
abilities=hiddenface,partner
aicode=may name(Put partner in hand) moveTo(myhand) target(Silvar^ Devourer of the Free|mylibrary)
auto=@each my endofturn:if raid then token(Soldier Try)
text=Partner with Silvar, Devourer of the Free (When this creature enters the battlefield, target player may put Silvar into their hand from their library, then shuffle.) -- At the beginning of your end step, if you attacked this turn, create a 1/1 white Human Soldier creature token.
mana={3}{W}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Tuinvale Treefolk // Oaken Boon
abilities=adventure
other={3}{G} name(Adventure)
auto=if paid(alternative) then name(Put two 1/1 counters) name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2)
auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever
text=Put two +1/+1 counters on target creature. (Then exile this card. You may cast the creature later from exile.)
mana={5}{G}
type=Creature
subtype=Treefolk Druid
power=6
toughness=5
[/card]
[card]
name=Tuktuk Rubblefort
abilities=defender,reach
auto=lord(creature|myBattlefield) haste
text=Defender, reach -- Creatures you control have haste.
mana={2}{R}
type=Creature
subtype=Wall
power=0
toughness=3
[/card]
[card]
name=Tuktuk Scrapper
auto=destroy target(artifact) && damage:type:*[ally]:mybattlefield targetcontroller
text=Whenever Tuktuk Scrapper or another Ally enters the battlefield under your control, you may destroy target artifact. If that artifact is put into a graveyard this way, Tuktuk Scrapper deals damage to that artifact's controller equal to the number of Allies you control.
mana={3}{R}
type=Creature
subtype=Goblin Artificer Ally
power=2
toughness=2
[/card]
[card]
name=Tundra Fumarole
target=creature,planeswalker
restriction=compare(mysnowpoolcount)~equalto~0
autohand={i}{R}{W} restriction{compare(mysnowpoolcount)~equalto~1}:name(Cast with 1 snow mana) name(Cast with 1 snow mana) add{C} doesntempty && activate castcard(alternative)
autohand={i}{i}{R} restriction{compare(mysnowpoolcount)~morethan~1,compare(mysnowwhitepoolcount)~morethan~0}:name(Cast with 2 snow mana) name(Cast with 2 snow mana) add{C}{C} doesntempty && activate castcard(alternative)
autohand={i}{i}{i} restriction{compare(mysnowpoolcount)~morethan~2,compare(mysnowwhitepoolcount)~morethan~1}:name(Cast with 3 snow mana) name(Cast with 3 snow mana) add{C}{C}{C} doesntempty && activate castcard(alternative)
auto=damage:4
text=Tundra Fumarole deals 4 damage to target creature or planeswalker. Add {C} for each {S}i} spent to cast this spell. Until end of turn, you don't lose this mana as steps and phases end. ({S}i} is one mana from a snow source.)
mana={1}{R}{R}
type=Snow Sorcery
[/card]
[card]
name=Turbulent Dreams
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && moveto(ownerhand) target(*[-land]|battlefield)
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(ownerhand) target(<2>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(ownerhand) target(<3>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(ownerhand) target(<4>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(ownerhand) target(<5>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(ownerhand) target(<6>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(ownerhand) target(<7>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(ownerhand) target(<8>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(ownerhand) target(<9>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(ownerhand) target(<10>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(ownerhand) target(<11>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(ownerhand) target(<12>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(ownerhand) target(<13>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(ownerhand) target(<14>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(ownerhand) target(<15>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(ownerhand) target(<16>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(ownerhand) target(<17>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(ownerhand) target(<18>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(ownerhand) target(<19>*[-land]|battlefield)
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(ownerhand) target(<20>*[-land]|battlefield)
text=As an additional cost to cast Turbulent Dreams, discard X cards. -- Return X target nonland permanents to their owners' hands.
mana={U}{U}
type=Sorcery
[/card]
[card]
name=Turn // Burn
abilities=hasnokicker
other={1}{R} name(Burn)
kicker={1}{R} name(Fuse)
auto=if paid(alternative) then ability$!name(Deal Damage) name(Deal Damage) damage:2 target(player,creature)!$ controller
auto=if paid(kicker) then ability$!name(Deal Damage) name(Deal Damage) damage:2 target(player,creature)!$ controller
auto=ifnot paid(alternative) then target(creature) transforms((Weird,red,setpower=0,settoughness=1,newability[loseabilities])) ueot
text=Target creature loses all abilities and becomes a 0/1 red Weird until end of turn. // Burn deals 2 damage to target creature or player. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Turn Aside
target=*[-creature;-artifact;-enchantment;-planeswalker]|stack
auto=fizzle
restriction=type(*|myBattlefield)~morethan~0
text=Counter target spell that targets a permanent you control.
mana={U}
type=Instant
[/card]
[card]
name=Turn into a Pumpkin
target=*[-land]
auto=moveto(ownerhand)
auto=draw:1 controller
auto=if casted(this) then if spent({U}{U}{U}) then token(Food)
text=Return target nonland permanent to its owner's hand. Draw a card. -- Adamant - If at least three blue mana was spent to cast this spell, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={3}{U}
type=Instant
[/card]
[card]
name=Turn the Earth
flashback={1}{G}
auto=may name(Shuffle back 3 cards) target(<upto:3>*|graveyard) moveto(ownerlibrary) and!( shuffle )!
auto=life:2 controller
text=Choose up to three target cards in graveyards. The owners of those cards shuffle them into their libraries. You gain 2 life. -- Flashback {1}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={G}
type=Instant
[/card]
[card]
name=Turntimber Ascetic
auto=life:3 controller.
text=When Turntimber Ascetic enters the battlefield, you gain 3 life.
mana={4}{G}
type=Creature
subtype=Giant Cleric
power=5
toughness=4
[/card]
[card]
name=Turntimber Sower
auto=@movedto(land|mygraveyard):create(plant:creature plant:0/1:green:)
auto={G}{S(creature|myBattlefield)}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:target(land|mygraveyard) moveto(ownerhand)
text=Whenever one or more land cards are put into your graveyard from anywhere, create a 0/1 green Plant creature token. -- {G}, Sacrifice three creatures: Return target land card from your graveyard to your hand.
mana={2}{G}
type=Creature
subtype=Elf Druid
power=3
toughness=3
[/card]
[card]
name=Turntimber Symbiosis
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Turntimber, Serpentine Wood)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Turntimber, Serpentine Wood) name(Turntimber, Serpentine Wood) flip(Turntimber, Serpentine Wood) forcetype(land)
aicode=activate target(*[zpos=1]|mylibrary) transforms((,newability[if type(creature[zpos<=7]|mylibrary)~equalto~0 then all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(creature[zpos<=7]|mylibrary)~morethan~0 then target(creature[zpos<=7]|mylibrary) moveto(myBattlefield) and!( transforms((,newability[all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if cantargetcard(creature[manacost<=3]|*) then counter(1/1.3)])) oneshot )! ])) oneshot
auto=name(Look seven and put creature in play) reveal:7 optionone name(Get Creature) target(<upto:1>creature|reveal) moveTo(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(myBattlefield) and!( transforms((,newability[if cantargetcard(creature[manacost<=3]|*) then counter(1/1.3)])) oneshot )! afterrevealedend revealend
text=Look at the top seven cards of your library. You may put a creature card from among them onto the battlefield. If that card has converted mana cost 3 or less, it enters with three additional +1/+1 counters on it. Put the rest on the bottom of your library in a random order. // Turntimber, Serpentine Wood
mana={4}{G}{G}{G}
type=Sorcery
[/card]
[card]
name=Turntimber, Serpentine Wood
auto=ability$!name(Choose one) choice name(Pay 3 life) life:-3 _ choice name(Tap) tap(noevent) all(mysource)!$ controller
auto={T}:add{G}
text=As Turntimber, Serpentine Wood enters the battlefield, you may pay 3 life. If you don't, it enters the battlefield tapped. -- {T}: Add {G}. // {4}{G}{G}{G} Turntimber Symbiosis
type=Land
[/card]
[card]
name=Turret Ogre
abilities=reach
auto=aslongas(other creature[power>=4]|myBattlefield) damage:2 opponent
text=Reach -- When Turret Ogre enters the battlefield, if you control another creature with power 4 or greater, Turret Ogre deals 2 damage to each opponent.
mana={3}{R}
type=Creature
subtype=Ogre Warrior
power=4
toughness=3
[/card]
[card]
name=Tuskeri Firewalker
abilities=boast
auto={1} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! limit:hasabilitytwoboastplus1plusend
auto={0} restriction{didattack,compare(hascntbstreduce)~equalto~1}:doboast && all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! limit:hasabilitytwoboastplus1plusend
text=Boast-{1}: Exile the top card of your library. You may play that card this turn. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={2}{R}
type=Creature
subtype=Human Berserker
power=3
toughness=2
[/card]
[card]
name=Tuvasa the Sunlit
auto=foreach(enchantment|mybattlefield) 1/1
auto=@movedTo(*[enchantment]|mystack) turnlimited:draw:1
text=Tuvasa the Sunlit gets +1/+1 for each enchantment you control. -- Whenever you cast your first enchantment spell each turn, draw a card.
mana={G}{W}{U}
type=Legendary Creature
subtype=Merfolk Shaman
power=1
toughness=1
[/card]
[card]
name=Tuya Bearclaw
auto=_ATTACKING_power:highest:*:mybattlefield/power:highest:*:mybattlefield ueot
text=Whenever Tuya Bearclaw attacks, it gets +X/+X until end of turn, where X is the greatest power among other creatures you control.
mana={1}{R}{G}
type=Legendary Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Twilight Panther
auto={B}:deathtouch
text={B}: Twilight Panther gains deathtouch until end of turn.
mana={W}
type=Creature
subtype=Cat Spirit
power=1
toughness=2
[/card]
[card]
name=Twilight Prophet
abilities=flying
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=@each my upkeep restriction{type(City's Blessing|mybattlefield)~morethan~0}:name(Reveal top card) all(*[zpos=1]|mylibrary) moveto(myhand) and!( transforms((,newability[damage:manacost opponent],newability[life:manacost controller])) ueot )!
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- At the beginning of your upkeep, if you have the city's blessing, reveal the top card of your library and put it into your hand. Each opponent loses X life and you gain X life, where X is that card's converted mana cost.
mana={2}{B}{B}
type=Creature
subtype=Vampire Cleric
power=2
toughness=4
[/card]
[card]
name=Twilight's Call
abilities=flash
restriction=myturnonly
other={6}{B}{B} name(Cast as instant)
auto=all(creature|mygraveyard) moveto(mybattlefield)
auto=all(creature|opponentgraveyard) moveto(opponentbattlefield)
text=You may cast Twilight's Call any time you could cast an instant if you pay {2} more to cast it. -- Each player returns all creature cards from his or her graveyard to the battlefield.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Twin-Silk Spider
abilities=reach
auto=token(Spider,Creature Spider,1/2,reach,green)
text=Reach -- When Twin-Silk Spider enters the battlefield, create a 1/2 green Spider creature token with reach.
mana={2}{G}
type=Creature
subtype=Spider
power=1
toughness=2
[/card]
[card]
name=Twinblade Assassins
auto=@each my endofturn restriction{morbid}:draw:1 controller
text=At the beginning of your end step, if a creature died this turn, draw a card.
mana={3}{B}{G}
type=Creature
subtype=Elf Assassin
power=5
toughness=4
[/card]
[card]
name=Twinblade Paladin
auto=@lifeof(player) from(*[-lifefaker]|*):counter(1/1)
auto=this(controllerlife > 24) double strike
text=Whenever you gain life, put a +1/+1 counter on Twinblade Paladin. -- As long as you have 25 or more life, Twinblade Paladin has double strike. (It deals both first-strike and regular combat damage.)
mana={3}{W}
type=Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Twinflame
abilities=hasnokicker,hasstrive
kicker=multi{2}{R} name(Strive)
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature|myBattlefield) clone with(unearth,haste)
auto=if compare(kicked)~morethan~18 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature|myBattlefield) clone with(unearth,haste)
text=Strive - Twinflame costs {2}{R} more to cast for each target beyond the first. -- Choose any number of target creatures you control. For each of them, put a token that's a copy of that creature onto the battlefield. Those tokens have haste. Exile them at the beginning of the next end step.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Twinning Staff
auto=@castcard(copied noevent): castcard(copied noevent) and!(castcard(copied noevent))! target(*|stack)
auto={7}{T}:name(copy target instant or sorcery) castcard(copied noevent) target(*[instant;sorcery]|stack)
text=If you would copy a spell one or more times, instead copy it that many times plus an additional time. You may choose new targets for the additional copy. -- {7}, {T}: Copy target instant or sorcery spell you control. You may choose new targets for the copy.
mana={3}
type=Artifact
[/card]
[card]
name=Twinscroll Shaman
abilities=double strike
text=Double strike
mana={2}{R}
type=Creature
subtype=Dwarf Shaman
power=1
toughness=2
[/card]
[card]
name=Twisted Reflection
other={B} name(Entwine)
auto=if paid(alternative) then target(creature) -6/0 ueot && target(creature) swap ueot
auto=ifnot paid(alternative) then ability$! choice target(creature) -6/0 ueot _ choice target(creature) swap ueot !$ controller
text=Choose one -- Target creature gets -6/-0 until end of turn. -- Switch target creature's power and toughness until end of turn. -- Entwine {B} (Choose both if you pay the entwine cost.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Two-Headed Dragon
abilities=flying,menace
auto={1}{R}:2/0 ueot
text=Flying -- {1}{R}: Two-Headed Dragon gets +2/+0 until end of turn. -- Two-Headed Dragon can't be blocked except by two or more creatures. -- Two-Headed Dragon can block an additional creature.
mana={4}{R}{R}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Two-Headed Giant
auto=_ATTACKING_flipacoin winability transforms((,newability[flipacoin winability double strike winabilityend loseability loseabilityend flipend] winabilityend loseability transforms((,newability[flipacoin winability winabilityend loseability menace loseabilityend flipend] loseabilityend flipend
text=Whenever Two-Headed Giant attacks, flip two coins. If both coins come up heads, Two-Headed Giant gains double strike until end of turn. If both coins come up tails, Two-Headed Giant gains menace until end of turn.
mana={2}{R}{R}
type=Creature
subtype=Giant Warrior
power=4
toughness=4
[/card]
[card]
name=Two-Headed Giant of Foriys
abilities=trample
text=Trample -- Two-Headed Giant of Foriys can block an additional creature.
mana={4}{R}
type=Creature
subtype=Giant
power=4
toughness=4
[/card]
[card]
name=Two-Headed Zombie
abilities=menace
text=Menace (This creature can't be blocked except by two or more creatures.)
mana={3}{B}
type=Creature
subtype=Zombie
power=4
toughness=2
[/card]
[card]
name=Tymaret Calls the Dead
auto=transforms((,newability[deplete:3 controller],newability[may name(Exile card and create zombie) moveto(exile) target(*[creature;enchantment]|myGraveyard) && token(Zombie^Creature Zombie^2/2^black)])) oneshot
auto=counter(0/0,1,Lore)
aicode=activate transforms((,newability[all(*[zpos<=type:zombie:mybattlefield]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@each my firstmain:counter(0/0,1,Lore)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}):transforms((,newability[deplete:3 controller],newability[may name(Exile card and create zombie) moveto(exile) target(*[creature;enchantment]|myGraveyard) && token(Zombie^Creature Zombie^2/2^black)])) oneshot
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}):life:type:zombie:mybattlefield controller
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}):scry:type:zombie:mybattlefield scrycore delayed dontshow donothing scrycoreend scryend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}):sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Put the top three cards of your library into your graveyard. Then you may exile a creature or enchantment card from your graveyard. If you do, create a 2/2 black Zombie creature token. -- III - You gain X life and scry X, where X is the number of Zombies you control.
mana={2}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Tymaret, Chosen from Death
anyzone=2/type:manaB:mybattlefield cdaactive
auto={1}{B}:name (exile cards) moveto(exile) target(<upto:2>*|graveyard)
auto={1}{B}:name (exile creature cards) moveto(exile) target(<upto:2>*|graveyard) && newability[@movedto(creature|Exile) from(graveyard):life:1]
text=Tymaret's toughness is equal to your devotion to black. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.) -- {1}{B}: Exile up to two target cards from graveyards. You gain 1 life for each creature card exiled this way.
mana={B}{B}
type=Legendary Enchantment Creature
subtype=Demigod
power=2
toughness=*
[/card]
[card]
name=Tymna the Weaver
abilities=lifelink,partner
auto=@each my secondmain restriction{compare(odcountminusodnoncountminusend)~morethan~0}:may pay({L:1}) draw:1 controller
text=Lifelink -- At the beginning of your postcombat main phase, you may pay X life, where X is the number of opponents that were dealt combat damage this turn. If you do, draw X cards. -- Partner (You can have two commanders if both have partner.)
mana={1}{W}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Tyrant's Familiar
abilities=flying,haste
auto=aslongas(*[iscommander]|mybattlefield) 2/2 >0
auto=@combat(attacking) source(this) restriction{type(*[iscommander]|myBattlefield)~morethan~0}:damage:7 target(creature|opponentBattlefield)
text=Flying, haste -- Lieutenant - As long as you control your commander, Tyrant's Familiar gets +2/+2 and has "Whenever Tyrant's Familiar attacks, it deals 7 damage to target creature defending player controls."
mana={5}{R}{R}
type=Creature
subtype=Dragon
power=5
toughness=5
[/card]
[card]
name=Tyrant's Scorn
auto=destroy target(creature[manacost<=3])
auto=moveTo(ownerHand) target(creature)
text=Choose one -- Destroy target creature with converted mana cost 3 or less. -- Return target creature to its owner's hand.
mana={U}{B}
type=Instant
[/card]
[card]
name=Tyrite Sanctum
auto={T}:add{C}
auto={2}{T}:name(Creature becomes god) target(creature[legendary]|battlefield) transforms((God,newability[counter(1/1)])) forever
auto={4}{T}{S}:name(Sacrifice and put indestructible counter) target(*[god]|battlefield) transforms((,newability[counter(0/0.1.Indestructible)],newability[this(counter{0/0.1.Indestructible}>=1) indestructible])) forever dontremove
text={T}: Add {C}. -- {2}, {T}: Target legendary creature becomes a God in addition to its other types. Put a +1/+1 counter on it. -- {4}, {T}, Sacrifice Tyrite Sanctum: Put an indestructible counter on target God.
type=Land
[/card]
[card]
name=Uba Mask
auto=replacedraw reveal:1 optionone all(*|reveal) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot)! optiononeend revealend
auto=opponentreplacedraw reveal:1 revealzone(opponentlibrary) optionone all(*|reveal) moveto(exile) and!( transforms((,newability[canplayfromexile])) ueot)! optiononeend revealend
text=If a player would draw a card, that player exiles that card face up instead. -- Each player may play cards he or she exiled with Uba Mask this turn.
mana={4}
type=Artifact
[/card]
[card]
name=Ugin's Conjurant
abilities=hydra
auto=counter(1/1,X)
text=Ugin's Conjurant enters the battlefield with X +1/+1 counters on it. -- If damage would be dealt to Ugin's Conjurant while it has a +1/+1 counter on it, prevent that damage and remove that many +1/+1 counters from Ugin's Conjurant.
mana={X}
type=Creature
subtype=Spirit Monk
power=0
toughness=0
[/card]
[card]
name=Ukkima, Stalking Shadow
abilities=hiddenface,unblockable,partner
auto=may name(Put partner in hand) moveTo(myhand) target(Cazur^ Ruthless Stalker|mylibrary)
auto=@movedto(this|nonbattlezone):damage:storedpower target(opponent) && life:storedpower controller
text=Partner with Cazur, Ruthless Stalker (When this creature enters the battlefield, target player may put Cazur into their hand from their library, then shuffle.) -- Ukkima, Stalking Shadow can't be blocked. -- When Ukkima leaves the battlefield, it deals X damage to target player and you gain X life, where X is its power.
mana={1}{U}{B}
type=Legendary Creature
subtype=Whale Wolf
power=2
toughness=2
[/card]
[card]
name=Uktabi Kong
abilities=trample
auto=destroy all(artifact)
auto={T(*[ape;-tapped]|mybattlefield)}{T(*[ape;-tapped]|mybattlefield)}:token(Ape,Creature Ape,1/1,green)
text=Trample -- When Uktabi Kong comes into play, destroy all artifacts. -- Tap two untapped Apes you control: Put a 1/1 green Ape creature token into play.
mana={5}{G}{G}{G}
type=Creature
subtype=Ape
power=8
toughness=8
[/card]
[card]
name=Ulamog's Despoiler
auto=if type(*|opponentexile)~morethan~1 then may target(<2>*|opponentexile) moveto(ownergraveyard) && counter(1/1,4) all(this)
text=As Ulamog's Despoiler enters the battlefield, you may put two cards your opponents own from exile into their owners' graveyards. If you do, Ulamog's Despoiler enters the battlefield with four +1/+1 counters on it.
mana={6}
type=Creature
subtype=Eldrazi Processor
power=5
toughness=5
[/card]
[card]
name=Ulamog's Nullifier
abilities=devoid,flash,flying
auto=if type(*|opponentexile)~morethan~1 then name(Return 2 cards) may name(Return 2 cards) target(<2>*|opponentexile) moveto(ownergraveyard) && ability$!name(Counter spell) name(Counter spell) target(*|stack) fizzle!$ controller
text=Devoid (This card has no color.) -- Flash -- Flying -- When Ulamog's Nullifier enters the battlefield, you may put two cards your opponents own from exile into their owners' graveyards. If you do, counter target spell.
mana={2}{U}{B}
type=Creature
subtype=Eldrazi Processor
power=2
toughness=3
[/card]
[card]
name=Umara Mystic
abilities=flying
auto=@movedTo(*[instant;sorcery;wizard]|myStack):2/0 ueot
text=Flying -- Whenever you cast an instant, sorcery, or Wizard spell, Umara Mystic gets +2/+0 until end of turn.
mana={1}{U}{R}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=3
[/card]
[card]
name=Umara Skyfalls
auto=tap(noevent)
auto={T}:add{U}
text=Umara Skyfalls enters the battlefield tapped. -- {T}: Add {U}. // {4}{U} Umara Wizard
type=Land
[/card]
[card]
name=Umara Wizard
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Umara Skyfalls)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Umara Skyfalls) name(Umara Skyfalls) flip(Umara Skyfalls) forcetype(land)
auto=@movedTo(*[instant;sorcery;wizard]|myStack):flying ueot
text=Whenever you cast an instant, sorcery, or Wizard spell, Umara Wizard gains flying until end of turn. // Umara Skyfalls
mana={4}{U}
type=Creature
subtype=Merfolk Wizard
power=4
toughness=3
[/card]
[card]
name=Umbral Juke
auto=choice name(Sacrifice planeswalker) target(player) ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) notatarget(*[creature;planeswalker]|mybattlefield) sacrifice!$ targetedplayer
auto=choice name(Create inkling) token(Inkling,Creature Inkling,2/1,white,black,flying)
text=Choose one -- Target player sacrifices a creature or planeswalker. -- Create a 2/1 white and black Inkling creature token with flying.
mana={2}{B}
type=Instant
[/card]
[card]
name=Umezawa's Charm
auto=choice target(creature) 2/2 ueot
auto=choice target(creature) -1/-1 ueot
auto=choice life:2
text=Choose one -- Target creature gets +2/+2 until end of turn. -- Target creature gets -1/-1 until end of turn. -- You gain 2 life.
mana={1}{B}
type=Instant
[/card]
[card]
name=Unblinking Bleb
facedown={3}
autofacedown={2}{U}:morph
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
autofaceup=may name(Scry 2) scry:2 scrycore delayed dontshow donothing scrycoreend scryend
text=Morph {2}{U} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- Whenever Unblinking Bleb or another permanent is turned face up, you may scry 2. (To scry 2, look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
mana={3}{U}
type=Creature
subtype=Illusion
power=1
toughness=3
[/card]
[card]
name=Unblinking Observer
auto=this(variable{type:*[hasdisturb]:mygraveyard}>0) {T}:add{U}
auto=this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{R}
text={T}: Add {U}. Spend this mana only to pay a disturb cost or cast an instant or sorcery spell.
type=Creature
subtype=Homunculus
mana={1}{U}
power=2
toughness=1
[/card]
[card]
name=Unbounded Potential
other={3}{W} name(Entwine) 
auto=ifnot paid(alternative) then if type(creature|battlefield)~morethan~0 then choice name(Put 1/1 counter)  name(Put 1/1 counter) name(Put 1/1 counter) target(<upto:2>creature|battlefield) counter(1/1)
auto=ifnot paid(alternative) then choice name(Proliferate) _PROLIFERATE_
auto=if paid(alternative) then if type(creature|battlefield)~morethan~0 then name(Put 1/1 counter)  name(Put 1/1 counter) name(Put 1/1 counter) target(<upto:2>creature|battlefield) counter(1/1)
auto=if paid(alternative) then ability$!name(Proliferate) _PROLIFERATE_
text=Choose one -- Put a +1/+1 counter on each of up to two target creatures. -- Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) -- Entwine {3}{W} (Choose both if you pay the entwine cost.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Unbreakable Bond
target=creature|myGraveyard
auto=moveTo(myBattlefield) and!( transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever )!
text=Return target creature card from your graveyard to the battlefield with a lifelink counter on it.
mana={4}{B}
type=Sorcery
[/card]
[card]
name=Unbreakable Formation
auto=_ADDENDUM_ all(creature|myBattlefield) counter(1/1)
auto=_ADDENDUM_ all(creature|myBattlefield) vigilance
auto=all(creature|myBattlefield) indestructible ueot
text=Creatures you control gain indestructible until end of turn. -- Addendum - If you cast this spell during your main phase, put a +1/+1 counter on each of those creatures and they gain vigilance until end of turn.
mana={2}{W}
type=Instant
[/card]
[card]
name=Uncage the Menagerie
auto=moveto(myhand) target(<upto:X>creature[manacost=X]|mylibrary)
text=Search your library for up to X creature cards with different names that each have converted mana cost X, reveal them, put them into your hand, then shuffle your library.
mana={X}{G}{G}
type=Sorcery
[/card]
[card]
name=Unchained Berserker
abilities=protection from white
auto=this(attacking) 2/0
text=Protection from white (This creature can't be blocked, targeted, dealt damage, enchanted, or equipped by anything white.) -- Unchained Berserker gets +2/+0 as long as it's attacking.
mana={1}{R}
type=Creature
subtype=Human Berserker
power=1
toughness=1
[/card]
[card]
name=Unclaimed Territory
auto={T}:add{C}
auto=chooseatype transforms((,newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{W}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{U}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{R}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{G}],newability[this(variable{type:chosentype:myrestrictedcastingzone}>0) {T}:add{B}])) chooseend
text=As Unclaimed Territory enters the battlefield, choose a creature type. -- {T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell of the chosen type.
type=Land
[/card]
[card]
name=Uncomfortable Chill
auto=all(creature|opponentBattlefield) -2/-0
auto=draw:1
text=Creatures your opponents control get -2/-0 until end of turn. -- Draw a card.
mana={2}{U}
type=Instant
[/card]
[card]
name=Unconventional Tactics
target=creature
auto=+3/+3
auto=flying
autograveyard=@movedto(zombie|mybattlefield):may pay({W}) moveto(myhand)
text=Target creature gets +3/+3 and gains flying until end of turn. -- Whenever a Zombie enters the battlefield under your control, you may pay {W}. If you do, return Unconventional Tactics from your graveyard to your hand.
mana={2}{W}
type=Sorcery
[/card]
[card]
name=Undead Augur
auto=@movedTo(creature[zombie]|graveyard) from(mybattlefield:draw:1 && life:-1
text=Whenever Undead Augur or another Zombie you control dies, you draw a card and you lose 1 life.
mana={B}{B}
type=Creature
subtype=Zombie Wizard
power=2
toughness=2
[/card]
[card]
name=Undercity Necrolisk
auto={1}{S(other creature|mybattlefield)}:counter(1/1) && menace ueot asSorcery
text={1}, Sacrifice another creature: Put a +1/+1 counter on Undercity Necrolisk. It gains menace until end of turn. Activate this ability only any time you could cast a sorcery. (It can't be blocked except by two or more creatures.)
mana={3}{B}
type=Creature
subtype=Zombie Lizard
power=3
toughness=3
[/card]
[card]
name=Undercity Scavenger
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=may name(Sacrifice Creature) sacrifice notatarget(other creature|mybattlefield) and!( all(this) counter(1/1,2) && scry:2 scrycore delayed dontshow donothing scrycoreend scryend )!
text=When Undercity Scavenger enters the battlefield, you may sacrifice another creature. If you do, put two +1/+1 counters on Undercity Scavenger, then scry 2.
mana={3}{B}
type=Creature
subtype=Ogre Warrior
power=3
toughness=3
[/card]
[card]
name=Undercity Uprising
auto=all(other creature|myBattlefield) deathtouch
target=creature
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
restriction=type(creature|opponentbattlefield)~morethan~0
text=Creatures you control gain deathtouch until end of turn. Then target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.)
mana={2}{B}{G}
type=Sorcery
[/card]
[card]
name=Undercity's Embrace
target=opponent
auto=ability$!name(sacrifice creature) notatarget(creature|myBattlefield) sacrifice!$ targetedplayer
auto=if type(creature[power>=4]|mybattlefield)~morethan~0 then life:4 controller
text=Target opponent sacrifices a creature. If you control a creature with power 4 or greater, you gain 4 life.
mana={2}{B}
type=Instant
[/card]
[card]
name=Underdark Basilisk
abilities=deathtouch
text=Deathtouch
mana={1}{G}
type=Creature
subtype=Basilisk
power=1
toughness=2
[/card]
[card]
name=Underdark Rift
auto={T}:add{C}
auto={5}{T}{E}:name(Roll a d10) transforms((,newability[@dierolled(this|myexile) result(1) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(2)],newability[@dierolled(this|myexile) result(2) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(3)],newability[@dierolled(this|myexile) result(3) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(4)],newability[@dierolled(this|myexile) result(4) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(5)],newability[@dierolled(this|myexile) result(5) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(6)],newability[@dierolled(this|myexile) result(6) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(7)],newability[@dierolled(this|myexile) result(7) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(8)],newability[@dierolled(this|myexile) result(8) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(9)],newability[@dierolled(this|myexile) result(1) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(10)],newability[@dierolled(this|myexile) result(10) from(controller) once:name(Put in library) target(*[creature;planeswalkers;artifact]|battlefield) placefromthetop(11)],newability[rolld10 10 winability donothing winabilityend rolld10end])) ueot asSorcery
text={T}: Add {C}. -- {5}, {T}, Exile Underdark Rift: Roll a d10. Put a target artifact, creature, or planeswalker into its owner's library just beneath the top X cards of that library, where X is the result. Activate only as a sorcery.
type=Land
[/card]
[card]
name=Undergrowth Stadium
auto=tap(noevent)
auto={T}:add{G}
auto={T}:add{B}
text=Undergrowth Stadium enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {B} or {G}.
type=Land
[/card]
[card]
name=Underrealm Lich
auto=replacedraw reveal:3 optionone name(Get card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo  all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto={L:4}:indestructible && tap
text=If you would draw a card, instead look at the top three cards of your library, then put one into your hand and the rest into your graveyard. -- Pay 4 life: Underrealm Lich gains indestructible until end of turn. Tap it.
mana={3}{B}{G}
type=Creature
subtype=Zombie Elf Shaman
power=4
toughness=3
[/card]
[card]
name=Undersea Invader
abilities=flash
auto=tap(noevent)
text=Flash -- Undersea Invader enters the battlefield tapped.
mana={4}{U}{U}
type=Creature
subtype=Giant Rogue
power=5
toughness=6
[/card]
[card]
name=Underworld Breach
auto=lord(*[-land]|myGraveyard) transforms((,newability[{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Exile 3 and gain escape) canplayfromgraveyard limit:1]))
auto=@each my endofturn:sacrifice all(this)
text=Each nonland card in your graveyard has escape. The escape cost is equal to the card's mana cost plus exile three other cards from your graveyard. (You may cast cards from your graveyard for their escape cost.) -- At the beginning of the end step, sacrifice Underworld Breach.
mana={1}{R}
type=Enchantment
[/card]
[card]
name=Underworld Cerberus
abilities=threeblockers
auto=lord(*|mygraveyard) cantbetargetof(*|opponentzones)
auto=lord(*|mygraveyard) cantbetargetof(*|myzones)
auto=lord(*|opponentgraveyard) cantbetargetof(*|opponentzones)
auto=lord(*|opponentgraveyard) cantbetargetof(*|myzones)
auto=_DIES_moveto(myexile) all(this) && moveto(myHand) all(creature|myGraveyard) && moveto(opponentHand) all(creature|opponentGraveyard)
text=Underworld Cerberus can't be blocked except by three or more creatures. -- Cards in graveyards can't be the targets of spells or abilities. -- When Underworld Cerberus dies, exile it and each player returns all creature cards from his or her graveyard to his or her hand.
mana={3}{B}{R}
type=Creature
subtype=Dog
power=6
toughness=6
[/card]
[card]
name=Underworld Charger
abilities=cantblock
retrace={4}{B}{E(other *|mygraveyard)}{E(other *|mygraveyard)}{E(other *|mygraveyard)} name(Escape)
auto=if paid(retrace) then counter(1/1,2)
text=Underworld Charger can't block. -- Escape-{4}{B}, Exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Underworld Charger escapes with two +1/+1 counters on it.
mana={2}{B}
type=Creature
subtype=Nightmare Horse
power=3
toughness=3
[/card]
[card]
name=Underworld Fires
auto=all(creature) exiledeath ueot
auto=all(planeswalker) exiledeath ueot
auto=all(creature) damage:1 
auto=all(planeswalker) damage:1 
text=Underworld Fires deals 1 damage to each creature and each planeswalker. If a permanent dealt damage this way would die this turn, exile it instead.
mana={1}{R}
type=Sorcery
[/card]
[card]
name=Underworld Hermit
auto=token(Squirrel,Creature Squirrel,1/1,green)*type:manab:mybattlefield 
text=When Underworld Hermit enters the battlefield, create a number of 1/1 green Squirrel creature tokens equal to your devotion to black. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.)
mana={4}{B}{B}
type=Creature
subtype=Human Peasant
power=3
toughness=3
[/card]
[card]
name=Underworld Rage-Hound
abilities=mustattack
retrace={3}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
auto=if paid(retrace) then counter(1/1,1)
text=Underworld Rage-Hound attacks each combat if able. -- Escape-{3}{R}, Exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Underworld Rage-Hound escapes with a +1/+1 counter on it.
mana={1}{R}
type=Creature
subtype=Elemental Dog
power=3
toughness=1
[/card]
[card]
name=Underworld Sentinel
auto=_ATTACKING_target(creature|myGraveyard) moveTo(myexile) and!( counter(0/0,1,UnderworldExiled) )!
auto=_DIES_moveTo(myBattlefield) all(creature[counter{0/0.1.UnderworldExiled}]|myexile)
text=Whenever Underworld Sentinel attacks, exile target creature card from your graveyard. -- When Underworld Sentinel dies, put all cards exiled with it onto the battlefield.
mana={3}{B}{B}
type=Creature
subtype=Skeleton Soldier
power=4
toughness=5
[/card]
[card]
name=Unesh, Criosphinx Sovereign
abilities=flying
auto=lord(Sphinx|nonbattlezone) altercost(colorless,-2)
auto=moverandom(<upto:2>*) from(mylibrary) to(myhand) && moverandom(<upto:2>*) from(mylibrary) to(mygraveyard)
auto=@movedto(sphinx|mybattlefield):moverandom(<upto:2>*) from(mylibrary) to(myhand) && moverandom(<upto:2>*) from(mylibrary) to(mygraveyard)
text=Flying -- Sphinx spells you cast cost {2} less to cast. -- Whenever Unesh, Criosphinx Sovereign or another Sphinx enters the battlefield under your control, reveal the top four cards of your library. An opponent separates those cards into two piles. Put one pile into your hand and the other into your graveyard.
mana={4}{U}{U}
type=Legendary Creature
subtype=Sphinx
power=4
toughness=4
[/card]
[card]
name=Unexpected Fangs
target=creature
auto=transforms((,newability[counter(1/1)],newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
text=Put a +1/+1 counter and a lifelink counter on target creature.
mana={1}{B}
type=Instant
[/card]
[card]
name=Unexpected Potential
abilities=hiddenface,isconspiracy
restriction=never
autocommandzone=chooseaname transforms((,newability[lord(*[chosenname]|mycastingzone) anytypeofmana])) forever chooseend
text=Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name.) -- You may spend mana as though it were mana of any color to cast spells with the chosen name.
type=Conspiracy
[/card]
[card]
name=Unexpected Results
auto=shuffle
auto=reveal:1 optionone transforms((,newability[if type(land|reveal)~morethan~0 then moveto(ownerhand) && all(*[land]|reveal) moveto(ownerbattlefield)])) forever optiononeend optiontwo name(Put Back) target(<1>*[-land]|reveal) moveto(mylibrary) and!(transforms((,newability[may activate castcard(normal)])) oneshot)! optiontwoend revealend
text=Shuffle your library, then reveal the top card. If it's a nonland card, you may cast it without paying its mana cost. If it's a land card, you may put it onto the battlefield and return Unexpected Results to its owner's hand.
mana={2}{G}{U}
type=Sorcery
[/card]
[card]
name=Unexpected Windfall
auto=draw:2 controller
auto=token(Treasure Sur)*2
text=As an additional cost to cast this spell, discard a card. -- Draw two cards and create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{R}{R}{D(*|myhand)}
type=Instant
[/card]
[card]
name=Unexpectedly Absent
target=*[-land]
auto=placefromthetop(fullpaidplus1plusend)
text=Put target nonland permanent into its owner's library just beneath the top X cards of that library.
mana={X}{W}{W}
type=Instant
[/card]
[card]
name=Unexplained Disappearance
target=creature|battlefield
auto=moveto(ownerHand)
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Return target creature to its owner's hand. -- Surveil 1. (Look at the top card of your library. You may put that card into your graveyard.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Unexplained Vision
aicode=activate transforms((,newability[all(*[zpos<=3]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=if casted(this) then if spent({U}{U}{U}) then scry:3 scrycore delayed dontshow donothing scrycoreend scryend
auto=draw:3 controller
text=Draw three cards. -- Adamant - If at least three blue mana was spent to cast this spell, scry 3.
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Unfriendly Fire
target=creature,player
auto=damage:4
text=Unfriendly Fire deals 4 damage to target creature or player.
mana={4}{R}
type=Instant
[/card]
[card]
name=Unholy Heat
auto=ifnot delirium then name(Deals 2 damage) damage:2 target(creature,planeswalker)
auto=if delirium then name(Deals 6 damage) damage:6 target(creature,planeswalker)
text=Unholy Heat deals 2 damage to target creature or planeswalker. -- Delirium - Unholy Heat deals 6 damage instead if there are four or more card types among cards in your graveyard.
mana={R}
type=Instant
[/card]
[card]
name=Unholy Indenture
target=creature
auto=@movedTo(mytgt|graveyard) from(battlefield):transforms((,newability[moveTo(mybattlefield)],newability[counter(1/1)]))
text=Enchant creature -- When enchanted creature dies, return that card to the battlefield under your control with a +1/+1 counter on it.
mana={2}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Unifying Theory
auto=@movedTo(*|mystack):ability$!name(Pay 2) pay[[{2}]] draw:2!$ controller
auto=@movedTo(*|opponentstack):ability$!name(Pay 2) pay[[{2}]] draw:2!$ opponent
text=Whenever a player casts a spell, that player may pay {2}. If the player does, he or she draws a card.
mana={1}{U}
type=Enchantment
[/card]
[card]
name=Universal Automaton
abilities=changeling
text=Changeling (This card is every creature type.)
mana={1}
type=Artifact Creature
subtype=Shapeshifter
power=1
toughness=1
[/card]
[card]
name=Unleash Fury
target=creature
auto=dynamicability<!mytgt powerpumppow!> ueot 
text=Double the power of target creature until end of turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=Unlikely Aid
target=creature
auto=+2/+0
auto=indestructible  
text=Target creature gets +2/+0 and gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={1}{B}
type=Instant
[/card]
[card]
name=Unliving Psychopath
auto={B}:1/-1 ueot
auto=this(power=1) {B}{T}:destroy target(creature[power<1])
auto=this(power=2) {B}{T}:destroy target(creature[power<2])
auto=this(power=3) {B}{T}:destroy target(creature[power<3])
auto=this(power=4) {B}{T}:destroy target(creature[power<4])
auto=this(power=5) {B}{T}:destroy target(creature[power<5])
auto=this(power=6) {B}{T}:destroy target(creature[power<6])
auto=this(power=7) {B}{T}:destroy target(creature[power<7])
auto=this(power=8) {B}{T}:destroy target(creature[power<8])
auto=this(power=9) {B}{T}:destroy target(creature[power<9])
auto=this(power=10) {B}{T}:destroy target(creature[power<10])
auto=this(power=11) {B}{T}:destroy target(creature[power<11])
auto=this(power=12) {B}{T}:destroy target(creature[power<12])
auto=this(power=13) {B}{T}:destroy target(creature[power<13])
auto=this(power=14) {B}{T}:destroy target(creature[power<14])
auto=this(power=15) {B}{T}:destroy target(creature[power<15])
auto=this(power=16) {B}{T}:destroy target(creature[power<16])
auto=this(power=17) {B}{T}:destroy target(creature[power<17])
auto=this(power=18) {B}{T}:destroy target(creature[power<18])
auto=this(power=19) {B}{T}:destroy target(creature[power<19])
auto=this(power=20) {B}{T}:destroy target(creature[power<20])
text={B}: Unliving Psychopath gets +1/-1 until end of turn. -- {B}, {T}: Destroy target creature with power less than Unliving Psychopath's power.
mana={2}{B}{B}
type=Creature
subtype=Zombie Assassin
power=0
toughness=4
[/card]
[card]
name=Unmarked Grave
auto=name(Search library) target(*[-legendary]|myLibrary) moveto(myGraveyard) and!( shuffle )!
text=Search your library for a nonlegendary card, put that card into your graveyard, then shuffle.
mana={1}{B}
type=Sorcery
[/card]
[card]
name=Unmoored Ego
auto=chooseanameopp name(Search that cards) target(<upto:4>*[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( draw:1 opponent and!( shuffle opponent )! )! chooseend
text=Choose a card name. Search target opponent's graveyard, hand, and library for up to four cards with that name and exile them. That player shuffles their library, then draws a card for each card exiled from their hand this way.
mana={1}{U}{B}
type=Sorcery
[/card]
[card]
name=Unnatural Aggression
abilities=devoid
target=creature|mybattlefield
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!> && exiledeath ueot])) ueot
restriction=type(creature|opponentbattlefield)~morethan~0
text=Devoid (This card has no color.) -- Target creature you control fights target creature an opponent controls. If the creature an opponent controls would die this turn, exile it instead.
mana={2}{G}
type=Instant
[/card]
[card]
name=Unnatural Growth
auto=@each combatbegins:name(Double power and toughness) all(creature|myBattlefield) transforms((,newability[p/t])) ueot
text=At the beginning of each combat, double the power and toughness of each creature you control until end of turn.
mana={1}{G}{G}{G}{G}
type=Enchantment
[/card]
[card]
name=Unnatural Moonrise
flashback={2}{R}{G}
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!) else if type(*[day]|battlefield)~equalto~1 then name(It becomes night) all(*[day]|battlefield) flip(backside)
auto=name(Gets 1/0 and trample) target(creature) transforms((,newability[1/0],newability[trample],newability[@combatdamaged(player) from(this):name(Draw a card) draw:1 controller])) ueot
text=It becomes night. Until end of turn, target creature gets +1/+0 and gains trample and has "Whenever this creature deals combat damage to a player, draw a card." -- Flashback {2}{R}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}{G}
type=Sorcery
[/card]
[card]
name=Unquenchable Thirst
target=creature
auto=aslongas(Desert|mybattlefield,myGraveyard) tap
auto=doesnotuntap
text=Enchant creature -- When Unquenchable Thirst enters the battlefield, if you control a Desert or there is a Desert card in your graveyard, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Unraveling Mummy
auto={1}{W}:target(Zombie[attacking]) lifelink 
auto={1}{B}:target(Zombie[attacking]) deathtouch 
text={1}{W}: Target attacking Zombie gains lifelink until end of turn. -- {1}{B}: Target attacking Zombie gains deathtouch until end of turn.
mana={1}{W}{B}
type=Creature
subtype=Zombie
power=2
toughness=3
[/card]
[card]
name=Unsettled Mariner
abilities=changeling
auto=@movedto(*[instant;sorcery]|opponentstack):may name(Counter a spell that target you or your permanents) target(*[instant;sorcery]|opponentstack) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=Changeling (This card is every creature type.) -- Whenever you or a permanent you control becomes the target of a spell or ability an opponent controls, counter that spell or ability unless its controller pays {1}.
mana={W}{U}
type=Creature
subtype=Shapeshifter
power=2
toughness=2
[/card]
[card]
name=Unstable Footing
#MISSING: Damage can't be prevented is not supported ATM
kicker={3}{R}
auto=if paid(kicker) then damage:5 target(player)
text=Kicker {3}{R} (You may pay an additional {3}{R} as you cast this spell.) -- Damage can't be prevented this turn. If Unstable Footing was kicked, it deals 5 damage to target player.
mana={R}
type=Instant
[/card]
[card]
name=Unsubstantiate
auto=choice name(Return target creature) target(creature|battlefield) moveTo(ownerHand)
auto=choice name(Return target spell) target(*|stack) fizzleto(hand) 
text=Return target spell or creature to its owner's hand.
mana={1}{U}
type=Instant
[/card]
[card]
name=Untaidake, the Cloud Keeper
auto=tap(noevent)
auto=this(variable{type:*[legendary]:myrestrictedcastingzone}>0) {T}{L:2}:add{C}{C}
text=Untaidake, the Cloud Keeper enters the battlefield tapped. -- {T}, Pay 2 life: Add {2} to your mana pool. Spend this mana only to cast legendary spells.
type=Legendary Land
[/card]
[card]
name=Untamed Kavu
abilities=vigilance, trample
kicker={3}
auto=if paid(kicker) then counter(1/1,3)
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- Vigilance, trample -- If Untamed Kavu was kicked, it enters the battlefield with three +1/+1 counters on it.
mana={1}{G}
type=Creature
subtype=Kavu
power=2
toughness=2
[/card]
[card]
name=Untamed Pup
abilities=trample,nightbound
backside=Hound Tamer
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto={3}{G}:name(Put 1/1 counter) target(creature) counter(1/1)
auto=lord(other *[wolf;werewolf]|myBattlefield) trample
text=Trample -- Other Wolves and Werewolves you control have trample. -- {3}{G}: Put a +1/+1 counter on target creature. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Hound Tamer
type=Creature
subtype=Werewolf
color=green
power=4
toughness=4
[/card]
[card]
name=Unwavering Initiate
abilities=vigilance
autograveyard={4}{W}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=Vigilance -- Embalm {4}{W} ({4}{W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Human Warrior with no mana cost. Embalm only as a sorcery.)
mana={2}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=2
[/card]
[card]
name=Unwilling Ingredient
abilities=menace
autograveyard={2}{B}{E}:draw:1 controller && life:-1 controller
text=Menace (This creature can't be blocked except by two or more creatures.) -- {2}{B}, Exile Unwilling Ingredient from your graveyard: You draw a card and you lose 1 life.
mana={B}
type=Creature
subtype=Frog
power=1
toughness=1
[/card]
[card]
name=Unwind
target=*[-creature]|stack
auto=fizzle
auto=may name(Untap lands) untap target(<upto:3>land)
text=Counter target noncreature spell. Untap up to three lands.
mana={2}{U}
type=Instant
[/card]
[card]
name=Urban Daggertooth
abilities=vigilance
auto=_ENRAGE__PROLIFERATE_
text=Vigilance -- Enrage - Whenever Urban Daggertooth is dealt damage, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={2}{G}{G}
type=Creature
subtype=Dinosaur
power=4
toughness=3
[/card]
[card]
name=Urban Utopia
target=land
auto=draw:1 controller
auto=teach(land) {T}:add{G}
auto=teach(land) {T}:add{W}
auto=teach(land) {T}:add{U}
auto=teach(land) {T}:add{R}
auto=teach(land) {T}:add{B}
text=Enchant land -- When Urban Utopia enters the battlefield, draw a card. -- Enchanted land has " {T}: Add one mana of any color."
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Urborg Panther
auto={B}{S}:destroy target(creature[blocking])
auto={S(*[Feral Shadow|mybattlefield)}{S(*[Breathstealer]|mybattlefield)}{S(*[Urborg Panther]|mybattlefield)}:name(search card) reveal:plibrarycount optionone name(choose card) target(*[Spirit of the Night]|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={B}, Sacrifice Urborg Panther: Destroy target creature blocking Urborg Panther. -- Sacrifice a creature named Feral Shadow, a creature named Breathstealer, and Urborg Panther: Search your library for a card named Spirit of the Night and put that card onto the battlefield. Then shuffle your library.
mana={2}{B}
type=Creature
subtype=Nightstalker Cat
power=2
toughness=2
[/card]
[card]
name=Urgoros, the Empty One
abilities=flying
auto=@combatdamaged(player) from(this):ability$!name(discard) reject notatarget(*|myhand)!$ 
auto=@combatdamaged(player) from(this):if type(*|opponentHand)~lessthan~1 then draw:1
text=Flying -- Whenever Urgoros, the Empty One deals combat damage to a player, that player discards a card at random. If the player can't, you draw a card.
mana={4}{B}{B}
type=Legendary Creature
subtype=Specter
power=4
toughness=3
[/card]
[card]
name=Uro, Titan of Nature's Wrath
auto=ifnot paid(retrace) then sacrifice
auto=life:3 controller && draw:1 controller
auto=may name(Put land in play) moveto(mybattlefield) target(land|myhand)
auto=_ATTACKING_life:3 controller && draw:1 controller
auto=_ATTACKING_may moveto(mybattlefield) target(land|myhand)
retrace={G}{G}{U}{U}{E(other *|mygraveyard)}{E(other *|mygraveyard)}{E(other *|mygraveyard)}{E(other *|mygraveyard)}{E(other *|mygraveyard)} name(Escape))
text=When Uro enters the battlefield, sacrifice it unless it escaped. -- Whenever Uro enters the battlefield or attacks, you gain 3 life and draw a card, then you may put a land card from your hand onto the battlefield. -- Escape-{G}{G}{U}{U}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={1}{G}{U}
type=Legendary Creature
subtype=Elder Giant
power=6
toughness=6
[/card]
[card]
name=Ursine Champion
auto={5}{G}:3/3 && transforms((bear berserker)) ueot limit:1
text={5}{G}: Ursine Champion gets +3/+3 and becomes a Bear Berserker until end of turn. Activate this ability only once each turn.
mana={1}{G}
type=Creature
subtype=Human Berserker
power=2
toughness=2
[/card]
[card]
name=Urza's Armor
auto=@damaged(controller):life:1 controller
text=If a source would deal damage to you, prevent 1 of that damage.
mana={6}
type=Artifact
[/card]
[card]
name=Urza's Avenger
#Banding ability not available ATM.
auto={0}:name(Gain flying) transforms(,newability[flying],newability[-1/-1])) ueot
auto={0}:name(Gain first strike) transforms(,newability[first strike],newability[-1/-1])) ueot
auto={0}:name(Gain trample) transforms(,newability[trample],newability[-1/-1])) ueot
text={0}: Urza's Avenger gets -1/-1 and gains your choice of banding, flying, first strike, or trample until end of turn. (Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature's combat damage, not its controller, among any of the creatures it's being blocked by or is blocking.)
mana={6}
type=Artifact Creature
subtype=Shapeshifter
power=4
toughness=4
[/card]
[card]
name=Urza's Bauble
aicode=name(look) activate name(look) phaseaction[upkeep once] draw:1 controller
auto={T}{S}:target(player) reveal:1 revealzone(opponenthand) optionone name(Look a card) target(<1>*|reveal) moveto(ownerhand) optiononeend afterrevealed transforms((,newability[phaseaction[upkeep once] draw:1 controller])) oneshot afterrevealedend revealend
text={T}, Sacrifice Urza's Bauble: Look at a card at random in target player's hand. You draw a card at the beginning of the next turn's upkeep.
mana={0}
type=Artifact
[/card]
[card]
name=Urza's Miter
auto=@movedTo(artifact|mygraveyard) from(mybattlefield):may pay({3}) draw:1
text=Whenever an artifact you control is put into a graveyard from the battlefield, if it wasn't sacrificed, you may pay {3}. If you do, draw a card.
mana={3}
type=Artifact
[/card]
[card]
name=Urza's Rage
#MISSING: damage can't be prevented not supported ATM
target=creature,player
abilities=nofizzle
kicker={8}{R}
auto=damage:3
auto=if paid(kicker) then damage:7
text=Kicker {8}{R} (You may pay an additional {8}{R} as you cast this spell.) -- Urza's Rage can't be countered by spells or abilities. -- Urza's Rage deals 3 damage to target creature or player. If Urza's Rage was kicked, instead it deals 10 damage to that creature or player and the damage can't be prevented.
mana={2}{R}
type=Instant
[/card]
[card]
name=Urza's Ruinous Blast
auto=moveto(exile) all(*[-legendary;-land])
auto=Exile all nonland permanents that aren't legendary
text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Exile all nonland permanents that aren't legendary
restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0
mana={4}{W}
type=Legendary Sorcery
[/card]
[card]
name=Urza's Saga
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=this(counter{0/0.1.Lore}) transforms((,newability[{T}:add{C}]))
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) transforms((,newability[{2}{T}:token(Construct)]))
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Search artifact) target(artifact[manacost<=1]|mylibrary) moveto(mybattlefield) and!( shuffle )!
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Urza's Saga gains "{T}: Add {C}." -- II - Urza's Saga gains "{2}, {T}: Create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control.'" -- III - Search your library for an artifact card with mana cost {0} or {1}, put it onto the battlefield, then shuffle.
mana={0}
type=Enchantment Land
subtype=Urza's Saga
[/card]
[card]
name=Urza's Science Fair Project
auto={2}:all(this) rolld6 6 winability counter(0/0,1,UrzaEffect) winabilityend loseability counter(0/0,1,UrzaEffect) loseabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):this(counter{0/0.1.UrzaEffect}=1) name(Gets -2/-2) name(Gets -2/-2) all(this) transforms((,newability[-2/-2],newability[counter(0/0.-1.UrzaEffect)])) ueot
auto=@dierolled(this) result(2) from(controller):this(counter{0/0.1.UrzaEffect}=1) name(It deals no combat damage) name(It deals no combat damage) all(this) transforms((,newability[preventAllCombatDamage from(this)],newability[counter(0/0.-1.UrzaEffect)])) ueot
auto=@dierolled(this) result(3) from(controller):this(counter{0/0.1.UrzaEffect}=1) name(Gains vigilance) name(Gains vigilance) all(this) transforms((,newability[vigilance],newability[counter(0/0.-1.UrzaEffect)])) ueot
auto=@dierolled(this) result(4) from(controller):this(counter{0/0.1.UrzaEffect}=1) name(Gains first strike) name(Gains first strike) all(this) transforms((,newability[first strike],newability[counter(0/0.-1.UrzaEffect)])) ueot
auto=@dierolled(this) result(5) from(controller):this(counter{0/0.1.UrzaEffect}=1) name(Gains flying) name(Gains flying) all(this) transforms((,newability[flying],newability[counter(0/0.-1.UrzaEffect)])) ueot
auto=@dierolled(this) result(6) from(controller):this(counter{0/0.1.UrzaEffect}=1) name(Gets 2/2) name(Gets 2/2) all(this) transforms((,newability[2/2],newability[counter(0/0.-1.UrzaEffect)])) ueot
text={2}: Roll a six-sided die for Urza's Science Fair Project. -- 1 It gets -2/-2 until end of turn. -- 2 It deals no combat damage this turn. -- 3 Attacking does not cause it to tap this turn. -- 4 It gains first strike until end of turn. -- 5 It gains flying until end of turn. -- 6 It gets +2/+2 until end of turn.
mana={6}
type=Artifact Creature
power=4
toughness=4
[/card]
[card]
name=Urza's Tome
auto={3}{T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
auto={3}{T} restriction{type(*[artifact;legendary;saga]|mygraveyard)~morethan~0}:draw:1 && exile notatarget(*[artifact;legendary;saga]|mygraveyard)
text={3}, {T}: Draw a card. Then discard a card unless you exile a historic card from your graveyard. (Artifacts, legendaries, and Sagas are historic.)
mana={2}
type=Artifact
[/card]
[card]
name=Urza, Lord High Artificer
auto=token(-464024)
auto={T(artifact|myBattlefield)}:add{U}
auto={5}:name(Suffle and cast) shuffle && reveal:1 optionone name(Reveal)if type(*|reveal)~morethan~0 then name(Check to cast) target(*|reveal) transforms((,newability[if type(*|mybattlefield)~morethan~0 then castcard(putinplay)])) else name(not a creature) target(*|reveal) donothing optiononeend optiontwo choice all(*|reveal) bottomoflibrary optiontwoend revealend
text=When Urza, Lord High Artificer enters the battlefield, create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control." -- Tap an untapped artifact you control: Add {U}. -- {5}: Shuffle your library, then exile the top card. Until end of turn, you may play that card without paying its mana cost.
mana={2}{U}{U}
type=Legendary Creature
subtype=Human Artificer
power=1
toughness=4
[/card]
[card]
name=Usher of the Fallen
abilities=boast
auto={1}{W} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && token(Warrior,Creature Human Warrior,1/1,white) limit:hasabilitytwoboastplus1plusend
auto={W} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && token(Warrior,Creature Human Warrior,1/1,white) limit:hasabilitytwoboastplus1plusend
text=Boast-{1}{W}: Create a 1/1 white Human Warrior creature token. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={W}
type=Creature
subtype=Spirit Warrior
power=2
toughness=1
[/card]
[card]
name=Utility Knife
auto=aslongas(parents) name(Attach to creature) rehook target(creature|myBattlefield) <1
auto=teach(creature) 1/1
auto={3}:equip
text=When Utility Knife enters the battlefield, attach it to target creature you control. -- Equipped creature gets +1/+1. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Uvilda, Dean of Perfection
other={3}{R}{R} name(Nassari, Dean of Expression)
otherrestriction=can play creature,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Nassari, Dean of Expression)
autostack=if paid(alternative) then name(Nassari, Dean of Expression) name(Nassari, Dean of Expression) flip(Nassari, Dean of Expression) forcetype(Legendary Creature)
auto=this(variable{isflipped}<1) {T}:name(Exile instant or sorcery) target(*[instant;sorcery]|myhand) moveto(exile) and!( transforms((,newability[counter(0/0.3.hone)],newability[@each my upkeep restriction{compare(hascnthone)~morethan~0}:counter(0/0.-1.hone)],newability[@each my upkeep restriction{compare(hascnthone)~equalto~1}:changecost(colorless:-4)],newability[@each my upkeep restriction{compare(hascnthone)~lessthan~2}:canplayfromexile])) forever
text={T}: You may exile an instant or sorcery card from your hand and put three hone counters on it. It gains "At the beginning of your upkeep, if this card is exiled, remove a hone counter from it" and "When the last hone counter is removed from this card, if it's exiled, you may cast it. It costs 4 less to cast this way." // {3}{R}{R} Nassari, Dean of Expression
mana={2}{U}
type=Legendary Creature
subtype=Djinn Wizard
power=2
toughness=2
[/card]
[card]
name=Vacuumelt
abilities=hasnokicker,hasreplicate
target=creature
kicker=multi{2}{U} name(Replicate)
auto=name(Return to hand) moveto(ownerhand)
auto=thisforeach(variable{kicked}>0) ability$!name(Copy Vacuumelt) name(Copy Vacuumelt) activate castcard(copied noevent named!:Vacuumelt:!)!$ controller
text=Replicate {2}{U} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.) -- Return target creature to its owner's hand.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Vadrik, Astral Archmage
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
auto=@transformed(*[day;night]|battlefield):name(Put 1/1) counter) counter(1/1)
auto=thisforeach(variable{power}>0) lord(*[instant;sorcery]|mycastingzone) altercost(colorless, -1)
text=If it's neither day nor night, it becomes day as Vadrik, Astral Archmage enters the battlefield. -- Instant and sorcery spells you cast cost {X} less to cast, where X is Vadrik's power. -- Whenever day becomes night or night becomes day, put a +1/+1 counter on Vadrik.
type=Legendary Creature
subtype=Human Wizard
mana={1}{U}{R}
power=1
toughness=2
[/card]
[card]
name=Vadrok, Apex of Thunder
abilities=flying,first strike,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={1}{WU}{R}{R} name(Mutate)
auto=transforms((,newability[@mutated(this):may castcard(normal) target(*[-creature;manacost<=3]|mygraveyard)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {1}{WU}{R}{R} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying, first strike -- Whenever this creature mutates, you may cast target noncreature card with converted mana cost 3 or less from your graveyard without paying its mana cost.
mana={U}{R}{W}
type=Legendary Creature
subtype=Elemental Dinosaur Cat
power=3
toughness=3
[/card]
[card]
name=Vaevictis Asmadi, the Dire
abilities=flying
auto=@combat(attacking) source(this) restriction{type(*|mybattlefield)~morethan~0}:target(*|mybattlefield) sacrifice and!( reveal:1 optionone target(<1>*[-instant;-sorcery]|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put on Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend )!
auto=@combat(attacking) source(this) restriction{type(*|opponentbattlefield)~morethan~0}:target(*|opponentbattlefield) sacrifice and!( reveal:1 revealzone(opponentlibrary) optionone target(<1>*[-instant;-sorcery]|reveal) moveto(opponentbattlefield) optiononeend optiontwo name(Put on Top) target(<1>*|reveal) moveto(opponentlibrary) optiontwoend revealend )!
text=Flying -- Whenever Vaevictis Asmadi, the Dire attacks, for each player, choose target permanent that player controls. Those players sacrifice those permanents. Each player who sacrificed a permanent this way reveals the top card of their library, then puts it onto the battlefield if it's a permanent card.
mana={3}{B}{R}{G}
type=Legendary Creature
subtype=Elder Dragon
power=6
toughness=6
[/card]
[card]
name=Valakut Awakening
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Valakut Stoneforge)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Valakut Stoneforge) name(Valakut Stoneforge) flip(Valakut Stoneforge) forcetype(land)
auto=may name(Put cards on bottom and draw) target(<anyamount>*|myhand) bottomoflibrary and!( draw:1 )!
auto=draw:1 controller
text=Put any number of cards from your hand on the bottom of your library, then draw that many cards plus one. // Valakut Stoneforge
mana={2}{R}
type=Instant
[/card]
[card]
name=Valakut Exploration
auto=_LANDFALL_all(*[zpos=1]|myLibrary) moveTo(exile) and!( transforms((,canplayfromexile)) ueot )!
auto=@each my endofturn restriction{type(*[fresh]|myExile)~morethan~0}:count(type:*[fresh]:myExile) && moveTo(myGraveyard) all(*[fresh]|myExile) && damage:countedamount opponent
text=Landfall - Whenever a land enters the battlefield under your control, exile the top card of your library. You may play that card for as long as it remains exiled. -- At the beginning of your end step, if there are cards exiled with Valakut Exploration, put them into their owner's graveyard, then Valakut Exploration deals that much damage to each opponent.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Valakut Stoneforge
auto=tap(noevent)
auto={T}:add{R}
text=Valakut Stoneforge enters the battlefield tapped. -- {T}: Add {R}. // {2}{R} Valakut Awakening
type=Land
[/card]
[card]
name=Valduk, Keeper of the Flame
auto=@each my combatbegins:thisforeach(auras) create(elemental:creature elemental:3/1:red:trample,haste,and!( transforms((,newability[phaseaction[endofturn once] moveto(exile)])) forever )!)
auto=@each my combatbegins:thisforeach(gear) create(elemental:creature elemental:3/1:red:trample,haste,and!( transforms((,newability[phaseaction[endofturn once] moveto(exile)])) forever )!)
text=At the beginning of combat on your turn, for each Aura and Equipment attached to Valduk, Keeper of the Flame, create a 3/1 red Elemental creature token with trample and haste. Exile those tokens at the beginning of the next end step.
mana={2}{R}
type=Legendary Creature
subtype=Human Shaman
power=3
toughness=2
[/card]
[card]
name=Valentin, Dean of the Vein
abilities=menace,lifelink
other={2}{G}{G} name(Lisette, Dean of the Root)
otherrestriction=can play creature,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Lisette, Dean of the Root)
autostack=if paid(alternative) then name(Lisette, Dean of the Root) name(Lisette, Dean of the Root) flip(Lisette, Dean of the Root) forcetype(Legendary Creature)
auto=@movedto(creature[-token]|graveyard) from(opponentbattlefield) restriction{compare(isflipped)~equalto~0}:transforms((,newability[all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(opponentexile) and!( pay({2}) name(pay 2 and create pest) token(Pest^Creature Pest^1/1^green^blue) and!( transforms((,newability[_DIES_life:1 controller])) forever )! )! ])) oneshot
text=Menace, lifelink -- If a nontoken creature an opponent controls would die, exile it instead. When you do, you may pay {2}. If you do, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life." // {2}{G}{G} Lisette, Dean of the Root
mana={B}
type=Legendary Creature
subtype=Vampire Warlock
power=1
toughness=1
[/card]
[card]
name=Valiant Endeavor
auto=name(Roll a d6) all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(*|mylibrary) from(controller) once:all(creature[power>=lastrollresult]|battlefield) destroy],newability[name(Roll a d6) rolld6 6 winability donothing winabilityend rolld6end])) oneshot
auto=name(Roll a d6) rolld6 6 winability token(Knight,Creature Knight,2/2,white,vigilance)*lastrollresult winabilityend loseability token(Knight,Creature Knight,2/2,white,vigilance)*lastrollresult loseabilityend rolld6end
text=Roll two d6 and choose on result. Destroy each creature with power greater than or equal to that result. Then create a number of 2/2 white Knight creature tokens with vigilance equal to the other result.
mana={4}{W}{W}
type=Sorcery
[/card]
[card]
name=Valiant Knight
auto=lord(other knight|myBattlefield) +1/+1
auto={3}{W}{W}:all(knights|myBattlefield) double strike ueot
text=Other Knights you control get +1/+1. -- {3}{W}{W}: Knights you control gain double strike until end of turn.
mana={3}{W}
type=Creature
subtype=Human Knight
power=3
toughness=4
[/card]
[card]
name=Valiant Rescuer
abilities=cycling
auto=@cycled(*|myHand) restriction{thisturn(*[cycling]|myHand)~equalto~0}:token(Human Soldier Val)
autohand=__CYCLING__({2})
text=Whenever you cycle another card for the first time each turn, create a 1/1 white Human Soldier creature token. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{W}
type=Creature
subtype=Human Soldier
power=3
toughness=1
[/card]
[card]
name=Valki, God of Lies
backside=Tibalt, Cosmic Impostor
other={5}{B}{R} name(Tibalt, Cosmic Impostor)
otherrestriction=can play planeswalker,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
autostack=if paid(alternative) then flip(backside) forcetype(Legendary Planeswalker)
auto=ifnot paid(alternative) then if type(creature|opponenthand)~morethan~0 then name(Reveal hand and exile creature) name(Reveal hand and exile creature) name(Reveal hand and exile creature) target(creature|opponenthand) imprint
auto=ifnot paid(alternative) then if type(creature|opponenthand)~equalto~0 then name(Reveal hand) name(Reveal hand) name(Reveal hand) target(*|opponenthand) moveto(opponenthand)
auto=this(variable{hasevict}>0) this(variable{iscopied}<1) transforms((,newability[@movedto(this|nonbattlezone) from(battlefield):name(Put back exiled creature) target(creature[evictname]|opponentexile) moveTo(opponenthand)]))
auto=this(variable{hasevict}>0) this(variable{evictmc}=0) this(variable{iscopied}<1) {0}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=1) this(variable{iscopied}<1) {1}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=2) this(variable{iscopied}<1) {2}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=3) this(variable{iscopied}<1) {3}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=4) this(variable{iscopied}<1) {4}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=5) this(variable{iscopied}<1) {5}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=6) this(variable{iscopied}<1) {6}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=7) this(variable{iscopied}<1) {7}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=8) this(variable{iscopied}<1) {8}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=9) this(variable{iscopied}<1) {9}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=10) this(variable{iscopied}<1) {10}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=11) this(variable{iscopied}<1) {11}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=12) this(variable{iscopied}<1) {12}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=13) this(variable{iscopied}<1) {13}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=14) this(variable{iscopied}<1) {14}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=15) this(variable{iscopied}<1) {15}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=16) this(variable{iscopied}<1) {16}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=17) this(variable{iscopied}<1) {17}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=18) this(variable{iscopied}<1) {18}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}=19) this(variable{iscopied}<1) {19}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
auto=this(variable{hasevict}>0) this(variable{evictmc}>=20) this(variable{iscopied}<1) {20}:name(Becomes copy of exiled creature) copy target(creature[evictname]|opponentexile)
text=When Valki enters the battlefield, each opponent reveals their hand. For each opponent, exile a creature card they revealed this way until Valki leaves the battlefield. -- {X}: Choose a creature card exiled with Valki with converted mana cost X. Valki becomes a copy of that card. // {5}{B}{R} Tibalt, Cosmic Impostor
mana={1}{B}
type=Legendary Creature
subtype=God
power=2
toughness=1
[/card]
[card]
name=Valkmira, Protector's Shield
auto=lord(*|mybattlefield) absorb
auto=@damageof(player):life:1 controller
auto=@movedto(*[instant;sorcery]|opponentstack):may name(Counter a spell that target you or your permanents) target(*[instant;sorcery]|opponentstack) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
text=If a source an opponent controls would deal damage to you or a permanent you control, prevent 1 of that damage. -- Whenever you or a permanent you control becomes the target of a spell or ability an opponent controls, counter that spell or ability unless its controller pays {1}. // {2}{W} Reidane, God of the Worthy
mana={3}{W}
type=Legendary Artifact
[/card]
[card]
name=Valkyrie Harbinger
abilities=flying,lifelink
auto=@each endofturn restriction{compare(lifegain)~morethan~3}:token(Angel,Creature Angel,4/4,white,flying,vigilance)
text=Flying, lifelink -- At the beginning of each end step, if you gained 4 or more life this turn, create a 4/4 white Angel creature token with flying and vigilance.
mana={4}{W}{W}
type=Creature
subtype=Angel Cleric
power=4
toughness=5
[/card]
[card]
name=Valkyrie's Sword
autostack=may name(Create angel and attach) pay({4}{W}) name(Create angel and attach) moveTo(mybattlefield) and!( transforms((,newability[token(Warrior^Creature Angel Warrior^4/4^white^flying^vigilance)],newability[rehook target(warrior[token;angel;fresh]|mybattlefield)])) oneshot )!
auto={3}:equip
auto=teach(creature) 2/1
text=When Valkyrie's Sword enters the battlefield, you may pay {4}{W}. If you do, create a 4/4 white Angel Warrior creature token with flying and vigilance, then attach Valkyrie's Sword to it. -- Equipped creature gets +2/+1. -- Equip {3}
mana={1}{W}
type=Artifact
subttype=Equipment
[/card]
[card]
name=Valor Singer
auto=@each my combatbegins:name(Creature gets 1/0) target(creature|myBattlefield) 1/0 ueot
text=Combat Inspiration - At the beginning of combat on your turn, target creature you control gets +1/+0 until end of turn.
mana={2}{R}
type=Creature
subtype=Tiefling Bard
power=2
toughness=3
[/card]
[card]
name=Valor of the Worthy
target=creature
auto=teach(creature) 1/1
auto=@movedTo(mytgt|nonbattlezone) from(battlefield):token(Spirit,Creature Spirit,1/1,white,flying)
text=Enchant creature -- Enchanted creature gets +1/+1. -- When enchanted creature leaves the battlefield, create a 1/1 white Spirit creature token with flying.
mana={W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Valorous Steed
abilities=vigilance
auto=token(Knight Val)
text=Vigilance (Attacking doesn't cause this creature to tap.) -- When Valorous Steed enters the battlefield, create a 2/2 white Knight creature token with vigilance.
mana={4}{W}
type=Creature
subtype=Unicorn
power=3
toughness=3
[/card]
[card]
name=Vampire Champion
abilities=deathtouch
text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.)
mana={3}{B}
type=Creature
subtype=Vampire Soldier
power=3
toughness=3
[/card]
[card]
name=Vampire Charmseeker
abilities=flying
auto=target(instant,sorcery,creature|graveyard) moveTo(ownerHand)
text=Assist (Another player can pay up to {6} of this spell's cost.) -- Flying -- When Vampire Charmseeker enters the battlefield, return target instant, sorcery, or creature card from a graveyard to its owner's hand.
mana={6}{U}{B}
type=Creature
subtype=Vampire Wizard
power=3
toughness=4
[/card]
[card]
name=Vampire Neonate
auto={2}{T}:life:-1 opponent && life:1
text={2}, {T}: Each opponent loses 1 life and you gain 1 life.
mana={B}
type=Creature
subtype=Vampire
power=0
toughness=3
[/card]
[card]
name=Vampire Opportunist
auto={6}{B}:life:-2 opponent && life:2 controller
text={6}{B}: Each opponent loses 2 life and you gain 2 life.
mana={1}{B}
type=Creature
subtype=Vampire
power=2
toughness=1
[/card]
[card]
name=Vampire Revenant
abilities=flying
text=Flying
mana={3}{B}
type=Creature
subtype=Vampire Spirit
power=3
toughness=1
[/card]
[card]
name=Vampire Socialite
abilities=menace
auto=if compare(oplifelost)~morethan~0 then name(All vampires get 1/1 counter) name(All vampires get 1/1 counter) all(other *[vampire]|myBattlefield) counter(1/1)
auto=@movedto(other *[vampire]|mybattlefield) restriction{compare(oplifelost)~morethan~0}:name(Put 1/1 counter) all(trigger[to]) name(Put 1/1 counter) counter(1/1)
text=Menace (This creature can't be blocked except by two or more creatures.) -- When Vampire Socialite enters the battlefield, if an opponent lost life this turn, put a +1/+1 counter on each other Vampire you control. -- As long as an opponent lost life this turn, each other Vampire you control enters the battlefield with an additional +1/+1 counter on it.
type=Creature
subtype=Vampire Noble
mana={B}{R}
power=2
toughness=2
[/card]
[card]
name=Vampire Sovereign
abilities=flying
auto=target(opponent) life:-3
auto=life:3 controller
text=Flying -- When Vampire Sovereign enters the battlefield, target opponent loses 3 life and you gain 3 life.
mana={3}{B}{B}
type=Creature
subtype=Vampire
power=3
toughness=4
[/card]
[card]
name=Vampire Spawn
auto=name(Gain life) life:2 controller && life:-2 opponent
text=When Vampire Spawn enters the battlefield, each opponent loses 2 life and you gain 2 life.
mana={2}{B}
type=Creature
subtype=Vampire
power=2
toughness=3
[/card]
[card]
name=Vampire of the Dire Moon
abilities=deathtouch,lifelink
text=Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) -- Lifelink (Damage dealt by this creature also causes you to gain that much life.)
mana={B}
type=Creature
subtype=Vampire
power=1
toughness=1
[/card]
[card]
name=Vampire's Zeal
target=creature
auto=2/2
auto=if cantargetcard(vampire) then first strike
text=Target creature gets +2/+2 until end of turn. If it's a Vampire, it gains first strike until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Vance's Blasting Cannons
auto=@each my upkeep:
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~2}:flip(Spitfire Bastion)
text=At the beginning of your upkeep, exile the top card of your library. If it's a nonland card, you may cast that card this turn. -- Whenever you cast your third spell in a turn, you may transform Vance's Blasting Cannons.
mana={3}{R}
type=Legendary Enchantment
[/card]
[card]
name=Vandalize
target=land,artifact
auto=choice name(Destroy target artifact or land) destroy
auto=choice name(Destroy target artifact and land) destroy && destroy target(artifact,land)
text=Choose one or both -- Destroy target artifact. -- Destroy target land.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Vanguard's Shield
auto={3}:equip
auto=teach(creature) 0/3
text=Equipped creature gets +0/+3 and can block an additional creature. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Vanish into Memory
target=creature
auto=moveto(myexile) and!( transforms((,newability[draw:power controller],newability[phaseaction[my upkeep once checkex] moveto(ownerbattlefield)],newability[@movedto(this|ownerbattlefield) from(exile) once:target(<toughness>*|myhand) reject])) forever )!
text=Exile target creature. You draw cards equal to that creature's power. At the beginning of your next upkeep, return that card to the battlefield under its owner's control. If you do, discard cards equal to that creature's toughness.
mana={2}{W}{U}
type=Instant
[/card]
[card]
name=Vanishing Verse
target=*[-multicolor]|battlefield
auto=moveto(exile)
text=Exile target monocolored permanent.
mana={W}{B}
type=Instant
[/card]
[card]
name=Vanquish the Horde
other={5}{W}{W} name(Cast for 1 less)
otherrestriction=type(creature|battlefield)~morethan~0
restriction=type(creature|battlefield)~equalto~0
autohand={4}{W}{W} restriction{type(creature|battlefield)~equalto~2}:name(Cast for 2 less) activate castcard(alternative)
autohand={3}{W}{W} restriction{type(creature|battlefield)~equalto~3}:name(Cast for 3 less) activate castcard(alternative)
autohand={2}{W}{W} restriction{type(creature|battlefield)~equalto~4}:name(Cast for 4 less) activate castcard(alternative)
autohand={1}{W}{W} restriction{type(creature|battlefield)~equalto~5}:name(Cast for 5 less) activate castcard(alternative)
autohand={W}{W} restriction{type(creature|battlefield)~morethan~5}:name(Cast for 6 less) activate castcard(alternative)
auto=destroy all(creature)
text=This spell costs {1} less to cast for each creature on the battlefield. -- Destroy all creatures.
mana={6}{W}{W}
type=Sorcery
[/card]
[card]
name=Vanquish the Weak
target=creature[power<=3]
auto=destroy
text=Destroy target creature with power 3 or less.
mana={2}{B}
type=Instant
[/card]
[card]
name=Vanquisher's Banner
auto=chooseatype all(this) transforms((,newability[lord(creature[chosentype]|mybattlefield) 1/1],newability[@movedTo(creature[chosentype]|mystack):draw:1 controller])) forever chooseend
text=As Vanquisher's Banner enters the battlefield, choose a creature type. -- Creatures you control of the chosen type get +1/+1. -- Whenever you cast a creature spell of the chosen type, draw a card.
mana={5}
type=Artifact
[/card]
[card]
name=Vantress Gargoyle
abilities=flying
auto=aslongas(*|opponentgraveyard) cantattack <7
auto=aslongas(*|opponentgraveyard) cantpwattack <7
auto=aslongas(*|myHand) cantblock <4
auto={T}:deplete:1 && deplete:1 opponent
text=Flying -- Vantress Gargoyle can't attack unless defending player has seven or more cards in their graveyard. -- Vantress Gargoyle can't block unless you have four or more cards in hand. -- {T}: Each player puts the top card of their library into their graveyard.
mana={1}{U}
type=Artifact Creature
subtype=Gargoyle
power=5
toughness=4
[/card]
[card]
name=Vantress Paladin
abilities=flying
auto=if casted(this) then if spent({U}{U}{U}) then counter(1/1)
text=Flying -- Adamant - If at least three blue mana was spent to cast this spell, Vantress Paladin enters the battlefield with a +1/+1 counter on it.
mana={3}{U}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Varchild, Betrayer of Kjeldor
auto=@combatdamaged(player) from(this):create(Survivor:Creature Survivor:1/1:red)*thatmuch opponent
auto=lord(survivor|opponentBattlefield) cantblock
auto=lord(survivor|opponentBattlefield) cantattack
auto=lord(survivor|opponentBattlefield) cantpwattack
auto=@movedTo(this|nonbattlezone) from(mybattlefield):moveTo(myBattlefield) all(survivor)
text=Whenever Varchild, Betrayer of Kjeldor deals combat damage to a player, that player creates that many 1/1 red Survivor creature tokens. -- Survivors your opponents control can't block, and they can't attack you or a planeswalker you control. -- When Varchild leaves the battlefield, gain control of all Survivors.
mana={2}{R}
type=Legendary Creature
subtype=Human Knight
power=3
toughness=3
[/card]
[card]
name=Varina, Lich Queen
auto=@each my blockers restriction{type(Zombie[attacking]|myBattlefield)~morethan~0}:draw:type:zombie[attacking]:myBattlefield && transforms((,newability[target(<type:zombie[attacking]:myBattlefield>*|myhand) reject])) forever
auto=@each my blockers restriction{type(Zombie[attacking]|myBattlefield)~morethan~0}:life:type:zombie[attacking]:myBattlefield
auto={2}{E(*|mygraveyard)}{E(*|mygraveyard)}:create(black zombie:creature black zombie:2/2) and!( tap(noevent) )!
text=Whenever you attack with one or more Zombies, draw that many cards, then discard that many cards. You gain that much life. -- {2}, Exile two cards from your graveyard: Create a tapped 2/2 black Zombie creature token.
mana={1}{W}{U}{B}
type=Legendary Creature
subtype=Zombie Wizard
power=4
toughness=4
[/card]
[card]
name=Varis, Silverymoon Ranger
abilities=reach
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot
auto=@movedTo(*[creature;planeswalker]|mystack) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0} turnlimited:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
auto=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):name(Create wolf) token(Wolf,Creature Wolf,2/2,green)
text=Reach, ward {1} -- Whenever you cast a creature or planeswalker spell, venture into the dungeon. This ability triggers only once each turn. (Enter the first room or advance to the next room.) -- Whenever you complete a dungeon, create a 2/2 green Wolf creature token.
mana={1}{G}{G}
type=Legendary Creature
subtype=Human Elf Ranger
power=3
toughness=3
[/card]
[card]
name=Varragoth, Bloodsky Sire
abilities=boast,deathtouch
auto={1}{B} restriction{didattack,compare(hascntbstreduce)~equalto~0}:doboast && target(player) ability$!name(Search a card) name(Search a card) target(*|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( shuffle )! )! !$ opponent limit:hasabilitytwoboastplus1plusend
auto={B} restriction{didattack,compare(hascntbstreduce)~morethan~0}:doboast && target(player) ability$!name(Search a card) name(Search a card) target(*|mylibrary) moveto(myreveal) and!( moveto(mylibrary) and!( shuffle )! )! !$ opponent limit:hasabilitytwoboastplus1plusend
text=Deathtouch -- Boast-{1}{B}: Target player searches their library for a card, then shuffles their library and puts that card on top of it. (Activate this ability only if this creature attacked this turn and only once each turn.)
mana={2}{B}
type=Legendary Creature
subtype=Demon Rogue
power=2
toughness=3
[/card]
[card]
name=Vastwood Fortification
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Vastwood Thicket)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Vastwood Thicket) name(Vastwood Thicket) flip(Vastwood Thicket) forcetype(land)
auto=name(Choose a creature) name(Choose a creature) target(creature) counter(1/1,1)
text=Put a +1/+1 counter on target creature. // Vastwood Thicket
mana={G}
type=Sorcery
[/card]
[card]
name=Vastwood Surge
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:2>land[basic]|myLibrary)
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
kicker={4}
auto=if paid(kicker) then counter(1/1,2) all(creature|myBattlefield)
text=Kicker 4 (You may pay an additional 4 as you cast this spell.) -- Search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library. If this spell was kicked, put two +1/+1 counters on each creature you control.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Vastwood Thicket
auto=tap(noevent)
auto={T}:add{G}
text=Vastwood Thicket enters the battlefield tapped. -- {T}: Add {G}. // {G} Vastwood Fortification
type=Land
[/card]
[card]
name=Vault Robber
auto={1}{T}:name(Exile creature) target(creature|mygraveyard) moveto(myexile) and!( token(Treasure Sur) )!
text={1}, {T}, Exile a creature card from your graveyard: Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
mana={1}{R}
type=Creature
subtype=Dwarf Rogue
power=1
toughness=3
[/card]
[card]
name=Vault of Catlacan
auto={T}:add{W}
auto={T}:add{R}
auto={T}:add{G}
auto={T}:add{B}
auto={T}:add{U}
auto={T}:name(Add blue mana for each artifact) name(Add blue mana for each artifact) foreach(artifact|mybattlefield) add{U}
text=(Transforms from Storm the Vault.) -- {T}: Add one mana of any color. -- {T}: Add {U} for each artifact you control.
type=Legendary Land
[/card]
[card]
name=Vault of Champions
auto=tap(noevent)
auto={T}:add{W}
auto={T}:add{B}
text=Vault of Champions enters the battlefield tapped unless you have two or more opponents. -- {T}: Add {W} or {B}.
type=Land
[/card]
[card]
name=Vecna
abilities=indestructible
auto=@each my end restriction{compare(lifelost)~morethan~1}:name(Create zombie) token(Zombie)
auto=@each my upkeep:name(Pay 2 to draw) pay[[{2}]] name(Pay 2) draw:1 controller && life:-2 controller
auto=@each my combatbegins restriction{compare(phandcount)~morethan~0}:phandcount/phandcount ueot
text=At the beginning of your end step, if you lost 2 or more life this turn, create a 2/2 black Zombie creature token. -- At the beginning of your upkeep, you may pay {2}. If you do, you draw a card and you lose 2 life. -- At the beginning of combat on your turn, Vecna gets +X/+X until end of turn, where X is the number of cards in your hand.
type=Legendary Creature
subtype=Zombie God
power=8
toughness=8
color=black
[/card]
[card]
name=Vectis Gloves
auto={2}:equip
auto=teach(creature) 2/0
auto=teach(creature) transforms((,newability[aslongas(land[artifact]|opponentBattlefield) unblockable >0]))
text=Equipped creature gets +2/+0 and has artifact landwalk. (It can't be blocked as long as defending player controls an artifact land.) -- Equip {2}
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Vedalken Engineer
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{W}{W}
auto=this(variable{type:artifact:myBattlefield}>0) {T}:add{W}{W}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{G}{G}
auto=this(variable{type:artifact:myBattlefield}>0) {T}:add{G}{G}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{B}{B}
auto=this(variable{type:artifact:myBattlefield}>0) {T}:add{B}{B}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{R}{R}
auto=this(variable{type:artifact:myBattlefield}>0) {T}:add{R}{R}
auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}:add{U}{U}
auto=this(variable{type:artifact:myBattlefield}>0) {T}:add{U}{U}
text={T}: Add two mana of any one color to your mana pool. Spend this mana only to cast artifact spells or activate abilities of artifacts.
mana={1}{U}
type=Creature
subtype=Vedalken Artificer
power=1
toughness=1
[/card]
[card]
name=Vedalken Humiliator
auto=_ATTACKING_restriction{aslongas(artifact|mybattlefield) lord(creature|opponentBattlefield) loseabilities && lord(creature|opponentBattlefield) transforms((,setpower=1,settoughness=1))) >2 ueot}
text=Metalcraft - Whenever Vedalken Humiliator attacks, if you control three or more artifacts, creatures your opponents control lose all abilities and have base power and toughness 1/1 until end of turn.
mana={3}{U}
type=Creature
subtype=Vedalken Wizard
power=3
toughness=4
[/card]
[card]
name=Vedalken Infiltrator
abilities=unblockable
auto=aslongas(artifact|myBattlefield) 1/0 >2
text=Vedalken Infiltrator can't be blocked. -- Metalcraft - Vedalken Infiltrator gets +1/+0 as long as you control three or more artifacts.
mana={1}{U}
type=Creature
subtype=Vedalken Rogue
power=1
toughness=3
[/card]
[card]
name=Vedalken Mesmerist
auto=_ATTACKING_target(creature|opponentBattlefield)) -2/-0 ueot
text=Whenever Vedalken Mesmerist attacks, target creature an opponent controls gets -2/-0 until end of turn.
mana={1}{U}
type=Creature
subtype=Vedalken Wizard
power=2
toughness=1
[/card]
[card]
name=Vedalken Plotter
auto=target(land|opponentbattlefield) moveto(mybattlefield) && ability$!name(Exchange control) target(land|myBattlefield) moveto(opponentbattlefield)!$ controller
text=When Vedalken Plotter enters the battlefield, exchange control of target land you control and target land an opponent controls.
mana={2}{U}
type=Creature
subtype=Vedalken Wizard
power=1
toughness=1
[/card]
[card]
name=Vega, the Watcher
abilities=flying
auto=@movedTo(*|mystack) from(mygraveyard):draw:1 controller
auto=@movedTo(*|mystack) from(mylibrary):draw:1 controller
auto=@movedTo(*|mystack) from(mysideboard):draw:1 controller
auto=@movedTo(*|mystack) from(myexile):draw:1 controller
auto=@movedTo(*|mystack) from(mycommandzone):draw:1 controller
auto=@movedTo(*|mystack) from(opponentzones):draw:1 controller
text=Flying -- Whenever you cast a spell from anywhere other than your hand, draw a card.
mana={1}{W}{U}
type=Legendary Creature
subtype=Bird Spirit
power=2
toughness=2
[/card]
[card]
name=Veil of Summer
auto=if thisturn(*[blue;black]|opponentstack)~morethan~0 then draw:1 controller
auto=all(*|mybattlefield) transforms((,newability[@targeted(*|mystack) from(instant|opponentzones):choice name(Spells can't be countered) name(Spells can't be countered) all(instant|opponentzones) fizzle])) ueot
auto=lord(*|myBattlefield) cantbetargetof(*[blue;black]) ueot
text=Draw a card if an opponent has cast a blue or black spell this turn. Spells you control can't be countered this turn. You and permanents you control gain hexproof from blue and from black until end of turn. (You and they can't be the targets of blue or black spells or abilities your opponents control.)
mana={G}
type=Instant
[/card]
[card]
name=Veiled Crocodile
auto=aslongas(*|myhand) transforms((Crocodile Creature,setpower=4,settoughness=4)) forever all(this) <1
auto=aslongas(*|opponenthand) transforms((Crocodile Creature,setpower=4,settoughness=4)) forever all(this) <1
text=When a player has no cards in hand, if Veiled Crocodile is an enchantment, Veiled Crocodile becomes a 4/4 Crocodile creature.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Veiled Sentry
auto=@movedto(*[manacost=0]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=0,settoughness=0)) forever
auto=@movedto(*[manacost=1]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=1,settoughness=1)) forever
auto=@movedto(*[manacost=2]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=2,settoughness=2)) forever
auto=@movedto(*[manacost=3]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=3,settoughness=3)) forever
auto=@movedto(*[manacost=4]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=4,settoughness=4)) forever
auto=@movedto(*[manacost=5]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=5,settoughness=5)) forever
auto=@movedto(*[manacost=6]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=6,settoughness=6)) forever
auto=@movedto(*[manacost=7]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=7,settoughness=7)) forever
auto=@movedto(*[manacost=8]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=8,settoughness=8)) forever
auto=@movedto(*[manacost=9]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=9,settoughness=9)) forever
auto=@movedto(*[manacost=10]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=10,settoughness=10)) forever
auto=@movedto(*[manacost=11]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=11,settoughness=11)) forever
auto=@movedto(*[manacost=12]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=12,settoughness=12)) forever
auto=@movedto(*[manacost=13]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=13,settoughness=13)) forever
auto=@movedto(*[manacost=14]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=14,settoughness=14)) forever
auto=@movedto(*[manacost=15]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=15,settoughness=15)) forever
auto=@movedto(*[manacost=16]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=16,settoughness=16)) forever
auto=@movedto(*[manacost=17]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=17,settoughness=17)) forever
auto=@movedto(*[manacost=18]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=18,settoughness=18)) forever
auto=@movedto(*[manacost=19]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=19,settoughness=19)) forever
auto=@movedto(*[manacost=20]|opponentstack) once:this(counter{0/0.1.VeiledTransformed}=0) transforms((removetypes,newability[counter(0/0.1.VeiledTransformed)])) forever && transforms((Creature Illusion,setpower=20,settoughness=20)) forever
text=When an opponent casts a spell, if Veiled Sentry is an enchantment, Veiled Sentry becomes an Illusion creature with power and toughness each equal to that spell's converted mana cost.
mana={U}
type=Enchantment
[/card]
[card]
name=Veiled Shade
auto={1}{B}:1/1 ueot
text={1}{B}: Veiled Shade gets +1/+1 until end of turn.
mana={2}{B}
type=Creature
subtype=Shade
power=2
toughness=2
[/card]
[card]
name=Veinwitch Coven
abilities=menace
auto=@lifeof(player) from(*[-lifefaker]|*):pay({B}) target(creature|mygraveyard) moveto(myhand)
text=Menace -- Whenever you gain life, you may pay {B}. If you do, return target creature card from your graveyard to your hand.
mana={2}{B}
type=Creature
subtype=Vampire Warlock
power=3
toughness=3
[/card]
[card]
name=Velomachus Lorehold
abilities=flying,vigilance,haste
aicode=activate transforms((,newability[target(*[instant;sorcery;manacost<=power;zpos<=7]|mylibrary) transforms((,newability[may activate castcard(normal)],newability[all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_ATTACKING_name(Reveal top 7 cards) reveal:7 optionone name(Choose instant or sorcery) target(*[instant;sorcery;manacost<=power]|reveal) bottomoflibrary and!( becomes(spelltobecast) ueot )! optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed if type(spelltobecast|mylibrary)~morethan~0 then may name(Cast chosen spell) name(Cast chosen spell) all(spelltobecast|mylibrary) activate castcard(normal) afterrevealedend revealend
text=Flying, vigilance, haste -- Whenever Velomachus Lorehold attacks, look at the top seven cards of your library. You may cast an instant or sorcery spell with mana value less than or equal to Velomachus Lorehold's power from among them without paying its mana cost. Put the rest on the bottom of your library in a random order.
mana={5}{R}{W}
type=Legendary Creature
subtype=Elder Dragon
power=5
toughness=5
[/card]
[card]
name=Venarian Gold
target=creature
auto=counter(0/0,x,Sleep)
auto=@each targetController upkeep:counter(0/0,-1,Sleep)
auto=transforms((,newability[tap(noevent)],newability[this(counter{0/0.1.Sleep)}>0) doesnotuntap])) forever
text=Enchant creature -- When Venarian Gold enters the battlefield, tap enchanted creature and put X sleep counters on it. -- Enchanted creature doesn't untap during its controller's untap step if it has a sleep counter on it. -- At the beginning of the upkeep of enchanted creature's controller, remove a sleep counter from that creature.
mana={X}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Venerable Knight
auto=_DIES_target(creature[knight]|myBattlefield) counter(1/1,1)
text=When Venerable Knight dies, put a +1/+1 counter on target Knight you control.
mana={W}
type=Creature
subtype=Human Knight
power=2
toughness=1
[/card]
[card]
name=Venerable Warsinger
abilities=trample,vigilance
auto=@combatdamaged(player) from(this):name(Return creature) transforms((,newability[may name(Return creature) target(creature[manacost<=thatmuch]|mygraveyard) moveto(mybattlefield)])) oneshot
text=Vigilance, trample -- Whenever Venerable Warsinger deals combat damage to a player, you may return target creature card with mana value X or less from your graveyard to the battlefield, where X is the amount of damage Venerable Warsinger dealt to that player.
mana={1}{R}{W}
type=Creature
subtype=Spirit Cleric
power=3
toughness=3
[/card]
[card]
name=Venerated Loxodon
other={convoke} name(Convoke)
auto=lord(creature[tapped;-attacking]|myBattlefield) counter(1/1,1)
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.) -- When Venerated Loxodon enters the battlefield, put a +1/+1 counter on each creature that convoked it.
mana={4}{W}
type=Creature
subtype=Elephant Cleric
power=4
toughness=4
[/card]
[card]
name=Vengeant Vampire
abilities=lifelink
auto=_DIES_destroy target(creature|opponentBattlefield) && life:4 controller
text=Lifelink -- When Vengeant Vampire dies, destroy target creature an opponent controls and you gain 4 life.
mana={4}{B}{B}
type=Creature
subtype=Vampire
power=4
toughness=4
[/card]
[card]
name=Vengeful Ancestor
abilities=flying
auto=name(Goad creature) target(creature|battlefield) _GOAD_
auto=_ATTACKING_name(Goad creature) target(creature|battlefield) _GOAD_
auto=lord(creature[counter{0/0.1.Goaded}]|battlefield) transforms((,newability[_ATTACKING_damage:1 controller]))
text=Flying -- When Vengeful Ancestor enters the battlefield or attacks, goad target creature. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.) -- Whenever a goaded creature attacks, it deals 1 damage to its controller.
mana={2}{R}{R}
type=Creature
subtype=Spirit Dragon
power=3
toughness=4
[/card]
[card]
name=Vengeful Devil
abilities=haste
auto={T}:damage:1 target(player,creature,planeswalker) restriction{morbid}
text=Haste -- Morbid-{T}: Vengeful Devil deals 1 damage to any target. Activate this ability only if a creature died this turn.
mana={1}{R}
type=Creature
subtype=Devil
power=1
toughness=1
[/card]
[card]
name=Vengeful Dreams
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && moveto(exile) target(creature[attacking])
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && moveto(exile) target(<2>creature[attacking])
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && moveto(exile) target(<3>creature[attacking])
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && moveto(exile) target(<4>creature[attacking])
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && moveto(exile) target(<5>creature[attacking])
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && moveto(exile) target(<6>creature[attacking])
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && moveto(exile) target(<7>creature[attacking])
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && moveto(exile) target(<8>creature[attacking])
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && moveto(exile) target(<9>creature[attacking])
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && moveto(exile) target(<10>creature[attacking])
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && moveto(exile) target(<11>creature[attacking])
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && moveto(exile) target(<12>creature[attacking])
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && moveto(exile) target(<13>creature[attacking])
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && moveto(exile) target(<14>creature[attacking])
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && moveto(exile) target(<15>creature[attacking])
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && moveto(exile) target(<16>creature[attacking])
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && moveto(exile) target(<17>creature[attacking])
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && moveto(exile) target(<18>creature[attacking])
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && moveto(exile) target(<19>creature[attacking])
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && moveto(exile) target(<20>creature[attacking])
text=As an additional cost to cast Vengeful Dreams, discard X cards. -- Exile X target attacking creatures.
mana={W}{W}
type=Instant
[/card]
[card]
name=Vengeful Reaper
abilities=flying,deathtouch,haste,foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={1}{B} restriction{compare(canforetellcast)~morethan~0,can play creature}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
text=Flying, deathtouch, haste -- Foretell {1}{B} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={3}{B}
type=Creature
subtype=Angel Cleric
power=2
toughness=3
[/card]
[card]
name=Vengeful Rebirth
auto=moveto(myexile) all(this)
auto=if type(land|mygraveyard)~morethan~0 then choice name(Return land card):target(land|mygraveyard) moveto(myhand)
auto=if type(*[manacost=0]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 0):target(*[manacost=0] moveto(myhand)
auto=if type(*[manacost=1]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 1):target(*[manacost=1] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:1!$ controller
auto=if type(*[manacost=2]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 2):target(*[manacost=2] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:2!$ controller
auto=if type(*[manacost=3]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 3):target(*[manacost=3] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:3!$ controller
auto=if type(*[manacost=4]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 4):target(*[manacost=4] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:4!$ controller
auto=if type(*[manacost=5]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 5):target(*[manacost=5] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:5!$ controller
auto=if type(*[manacost=6]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 6):target(*[manacost=6] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:6!$ controller
auto=if type(*[manacost=7]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 7):target(*[manacost=7] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:7!$ controller
auto=if type(*[manacost=8]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 8):target(*[manacost=8] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:8!$ controller
auto=if type(*[manacost=9]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 9):target(*[manacost=9] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:9!$ controller
auto=if type(*[manacost=10]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 10):target(*[manacost=10] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:10!$ controller
auto=if type(*[manacost=11]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 11):target(*[manacost=11] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:11!$ controller
auto=if type(*[manacost=12]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 12):target(*[manacost=12] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:12!$ controller
auto=if type(*[manacost=13]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 13):target(*[manacost=13] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:13!$ controller
auto=if type(*[manacost=14]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 14):target(*[manacost=14] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:14!$ controller
auto=if type(*[manacost=15]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 15):target(*[manacost=15] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:15!$ controller
auto=if type(*[manacost=16]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 16):target(*[manacost=16] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:16!$ controller
auto=if type(*[manacost=17]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 17):target(*[manacost=17] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:17!$ controller
auto=if type(*[manacost=18]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 18):target(*[manacost=18] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:18!$ controller
auto=if type(*[manacost=19]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 19):target(*[manacost=19] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:19!$ controller
auto=if type(*[manacost>=20]|mygraveyard)~morethan~0 then choice name(Return non land card with manacost 20):target(*[manacost>=20] moveto(myhand) && ability$!name(Damage target creature or player) target(creature,player) damage:20!$ controller
text=Return target card from your graveyard to your hand. If you return a nonland card to your hand this way, Vengeful Rebirth deals damage equal to that card's converted mana cost to target creature or player. -- Exile Vengeful Rebirth.
mana={4}{R}{G}
type=Sorcery
[/card]
[card]
name=Vengeful Strangler
abilities=cantblock
backside=Strangling Grasp
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=_DIES_name(Return transformed) name(Return transformed) activate castcard(copied noevent named!:Strangling Grasp:!)
text=Vengeful Strangler can't block. -- When Vengeful Strangler dies, return it to the battlefield transformed under your control attached to target creature or planeswalker an opponent controls. // Strangling Grasp
mana={1}{B}
type=Creature
subtype=Human Rogue
power=2
toughness=1
[/card]
[card]
name=Vengeful Warchief
auto=@lifelostof(player) restriction{compare(thatmuch)~equalto~compare(lifelost)} turnlimited:1/1
text=Whenever you lose life for the first time each turn, put a +1/+1 counter on Vengeful Warchief. (Damage causes loss of life.)
mana={4}{B}
type=Creature
subtype=Orc Warrior
power=4
toughness=4
[/card]
[card]
name=Venomous Changeling
abilities=deathtouch,changeling
text=Changeling (This card is every creature type.) -- Deathtouch
mana={2}{B}
type=Creature
subtype=Shapeshifter
power=1
toughness=3
[/card]
[card]
name=Venomous Hierophant
abilities=deathtouch
auto=deplete:3 controller
text=Deathtouch -- When Venomous Hierophant enters the battlefield, put the top three cards of your library into your graveyard.
mana={3}{B}
type=Creature
subtype=Gorgon Cleric
power=3
toughness=3
[/card]
[card]
name=Venser's Diffusion
target=*[-land]
auto=moveTo(ownerhand)
text=Return target nonland permanent or suspended card to its owner's hand.
mana={2}{U}
type=Instant
[/card]
[card]
name=Venser, Shaper Savant
abilities=flash
auto=target(*) moveto(ownerhand)
text=Flash (You may cast this spell any time you could cast an instant.) -- When Venser, Shaper Savant enters the battlefield, return target spell or permanent to its owner's hand.
mana={2}{U}{U}
type=Legendary Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Verazol, the Split Current
auto=counter(1/1,X) all(this)
auto=@movedTo(*[kicked=1]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:1:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=2]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:2:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=3]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:3:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=4]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:4:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=5]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:5:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=6]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:6:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=7]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:7:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=8]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:8:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=9]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:9:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=10]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:10:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=11]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:11:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=12]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:12:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=13]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:13:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=14]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:14:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=15]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:15:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=16]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:16:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=17]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:17:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=18]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:18:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=19]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:19:!) && counter(1/1,-2) all(this)
auto=@movedTo(*[kicked=20]|myStack):may name(copy spell) all(trigger[to]) castcard(copied noevent kicked!:20:!) && counter(1/1,-2) all(this)
text=When Verazol, the Divided Stream enters the battlefield, put X +1/+1 counters on it, where X is the amount of mana spent to cast it. -- Whenever you cast a kicked spell, you may remove two +1/+1 counters from Verazol. If you do, you may copy that spell and choose new targets for the copy.
mana={X}{G}{U}
type=Legendary Creature
subtype=Serpent
power=0
toughness=0
[/card]
[card]
name=Verdant Command
#Counter Loyalty ability not supported ATM.
auto=if type(*|graveyard)~morethan~0 then choice name(Create squirrels and exile card) name(Create squirrels and exile card) target(*|graveyard) moveto(exile) && token(Squirrel,Creature Squirrel,1/1,green)*2 and!( tap(noevent) )!
auto=choice name(Create squirrels and you gain life) life:3 controller && token(Squirrel,Creature Squirrel,1/1,green)*2 and!( tap(noevent) )!
auto=choice name(Create squirrels and opponent gains life)  life:3 opponent && token(Squirrel,Creature Squirrel,1/1,green)*2 and!( tap(noevent) )!
auto=if type(*|graveyard)~morethan~0 then choice name(Exile card and you gain life) name(Exile card and you gain life) target(*|graveyard) moveto(exile) && life:3 controller
auto=if type(*|graveyard)~morethan~0 then choice name(Exile card and opponent gains life) name(Exile card and opponent gains life) target(*|graveyard) moveto(exile) && life:3 opponent
text=Choose two -- Target player creates two tapped 1/1 green Squirrel creature tokens. -- Counter target loyalty ability of a planeswalker. -- Exile target card from a graveyard. -- Target player gains 3 life.
mana={1}{G}
type=Instant
[/card]
[card]
name=Verdant Confluence
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<3>land[basic]|myLibrary)
auto=choice name(Choose 1, 1, 1) target(<3>*[creature]) counter(1/1,2)
auto=choice name(Choose 1, 1, 2) target(<2>*[creature]) counter(1/1,2) && ability$!name(Return permanent to hand) moveto(myhand) target(*[-sorcery;-instant]|mygraveyard)!$ controller
auto=choice name(Choose 1, 2, 2) target(*[creature]) counter(1/1,2) && ability$!name(Return 2 permanents to hand) moveto(myhand) target(<2>*[-sorcery;-instant]|mygraveyard)!$ controller
auto=choice name(Choose 1, 2, 3) target(*[creature]) counter(1/1,2) && ability$!name(Return permanent to hand) moveto(myhand) target(*[-sorcery;-instant]|mygraveyard)!$ controller && ability$!name(Reveal) reveal:plibrarycount optionone name(choose land card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller
auto=choice name(Choose 1, 3, 3) target(*[creature]) counter(1/1,2) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose 2 land cards) target(<2>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller
auto=choice name(Choose 2, 2, 2) target(<3>*[-sorcery;-instant]|mygraveyard) moveto(myhand) 
auto=choice name(Choose 2, 2, 3) target(<2>*[-sorcery;-instant]|mygraveyard) moveto(myhand) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose land card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller
auto=choice name(Choose 2, 3, 3) target(*[-sorcery;-instant]|mygraveyard) moveto(myhand) && ability$!name(Reveal) reveal:plibrarycount optionone name(choose 2 land cards) target(<2>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend!$ controller
auto=choice name(Choose 3, 3, 3) reveal:plibrarycount optionone name(choose 3 land cards) target(<3>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Choose three. You may choose the same mode more than once. -- Put two +1/+1 counters on target creature. -- Return target permanent card from your graveyard to your hand. -- Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Verdant Crescendo
auto=target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )!
auto=ability$!name(Search Nissa, Nature's Artisan) name(Search Nissa, Nature's Artisan) target(Nissa^ Nature's Artisan|mylibrary,mygraveyard) moveto(myhand) and!( shuffle )! !$ controller
text=Search your library for a basic land card and put it onto the battlefield tapped. Search your library and graveyard for a card named Nissa, Nature's Artisan, reveal it, and put it into your hand. Then shuffle your library.
mana={3}{G}
type=Sorcery
[/card]
[card]
name=Verdant Mastery
other={3}{G} name(Cast for less)
restriction=type(land[basic]|myLibrary)~morethan~0
otherrestriction=type(land[basic]|myLibrary)~morethan~0
auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~morethan~1 then ability$!name(Put 2 lands in play) name(Put 2 lands in play) target(<2>land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~morethan~3 then ability$!name(Put 2 lands in your hand) name(Put 2 lands in your hand) target(<2>land[basic]|mylibrary) moveto(myhand)!$ controller
auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~equalto~3 then ability$!name(Put 1 land in your hand) name(Put 1 land in your hand) target(land[basic]|mylibrary) moveto(myhand)!$ controller
auto=ifnot paid(alternative) then if type(land[basic]|myLibrary)~equalto~1 then ability$!name(Put 1 land in play) name(Put 1 land in play) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if paid(alternative) then ability$!name(Put 1 land in opponent battlefield) name(Put 1 land in opponent battlefield) target(land[basic]|mylibrary) moveto(opponentbattlefield) and!( tap(noevent) )! !$ controller
auto=if paid(alternative) then if type(land[basic]|myLibrary)~equalto~2 then ability$!name(Put 1 land in play) name(Put 1 land in play) target(land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if paid(alternative) then if type(land[basic]|myLibrary)~morethan~2 then ability$!name(Put 2 lands in play) name(Put 2 lands in play) target(<2>land[basic]|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! !$ controller
auto=if paid(alternative) then if type(land[basic]|myLibrary)~morethan~3 then ability$!name(Put 1 land in your hand) name(Put 1 land in your hand) target(land[basic]|mylibrary) moveto(myhand)!$ controller
text=You may pay {3}{G} rather than pay this spell's mana cost. -- Search your library for up to four basic land cards and reveal them. Put one of them onto the battlefield tapped under an opponent's control if the {3}{G} cost was paid. Put two of them onto the battlefield tapped under your control and the rest into your hand. Then shuffle.
mana={5}{G}
type=Sorcery
[/card]
[card]
name=Verdant Rebirth
target=creature
auto=transforms((,newability[handdeath])) ueot
auto=draw:1 controller
text=Until end of turn, target creature gains "When this creature dies, return it to its owner's hand." -- Draw a card.
mana={1}{G}
type=Instant
[/card]
[card]
name=Verdant Sun's Avatar
auto=life:toughness controller
auto=@movedto(creature|mybattlefield):all(trigger[to]) transforms((,newability[life:toughness])) ueot
text=Whenever Verdant Sun's Avatar or another creature enters the battlefield under your control, you gain life equal to that creature's toughness.
mana={5}{G}{G}
type=Creature
subtype=Dinosaur Avatar
power=5
toughness=5
[/card]
[card]
name=Verge Rangers
abilities=showfromtoplibrary,first strike
auto=this(variable{type:land:opponentbattlefieldminustype:land:mybattlefieldplusend}>0) canplaylandlibrarytop
text=First strike -- You may look at the top card of your library any time. -- As long as an opponent controls more lands than you, you may play lands from the top of your library. (You can play a land this way only if you have an available land play remaining.)
mana={2}{W}
type=Creature
subtype=Human Scout
power=3
toughness=3
[/card]
[card]
name=Verity Circle
auto=@tapped(creature[-attacking]|opponentbattlefield):may draw:1 controller
auto={4}{U}:tap target(creature[-flying])
text=Whenever a creature an opponent controls becomes tapped, if it isn't being declared as an attacker, you may draw a card. -- {4}{U}: Tap target creature without flying.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Verix Bladewing
abilities=flying
kicker={3}
auto=if paid(kicker) then create(Karox Bladewing:creature legendary dragon:4/4:red:dragon:flying)
text=Kicker {3} (You may pay an additional {3} as you cast this spell.) -- Flying -- When Verix Bladewing enters the battlefield, if it was kicked, create Karox Bladewing, a legendary 4/4 red Dragon creature token with flying.
mana={2}{R}{R}
type=Legendary Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Vermin Gorger
auto={T}{S(other creature|myBattlefield)}:life:-2 opponent && life:2 controller
text={T}, Sacrifice another creature: Each opponent loses 2 life and you gain 2 life.
mana={1}{B}
type=Creature
subtype=Vampire
power=2
toughness=2
[/card]
[card]
name=Vernadi Shieldmate
abilities=vigilance
text=Vigilance
mana={1}{GW}
type=Creature
subtype=Human Soldier
power=2
toughness=2
[/card]
[card]
name=Vesperlark
abilities=flying
other={1}{W} name(Evoke)
auto=@movedTo(this|nonbattlezone) from(battlefield):target(creature[power<=1]|mygraveyard) moveTo(mybattlefield)
auto=alternative sacrifice
text=Flying -- When Vesperlark leaves the battlefield, return target creature card with power 1 or less from your graveyard to the battlefield. -- Evoke {1}{W} (You may cast this spell for its evoke cost. If you do, it's sacrificed when it enters the battlefield.)
mana={2}{W}
type=Creature
subtype=Elemental
power=2
toughness=1
[/card]
[card]
name=Veteran Adventurer
abilities=vigilance
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto=becomes(Cleric Rogue Warrior Wizard)
text=Veteran Adventurer is also a Cleric, Rogue, Warrior, and Wizard. -- This spell costs {1} less to cast for each creature in your party. -- Vigilance
mana={5}{G}
type=Creature
subtype=Human
power=5
toughness=5
[/card]
[card]
name=Veteran Charger
auto=name(Choose creature in hand) target(creature|myhand) counter(2/2,1,PerpetualPT)
text=When Veteran Charger enters the battlefield, choose a creature card in your hand. It perpetually gets +2/+2.
mana={2}{G}
type=Creature
subtype=Centaur Soldier
power=2
toughness=2
[/card]
[card]
name=Veteran Dungeoneer
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then name(Venture into dungeon) name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=When Veteran Dungeoneer enters the battlefield, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={3}{W}
type=Creature
subtype=Human Warrior
power=3
toughness=4
[/card]
[card]
name=Vexing Devil
auto=ability$!choice name(Do nothing) donothing _ choice name(Damage and sacrifice) damage:4 controller && sacrifice notatarget(Vexing Devil|opponentbattlefield)!$ opponent
text=When Vexing Devil enters the battlefield, any opponent may have it deal 4 damage to him or her. If a player does, sacrifice Vexing Devil.
mana={R}
type=Creature
subtype=Devil
power=4
toughness=3
[/card]
[card]
name=Vexing Gull
abilities=flying,flash
text=Flash -- Flying
mana={2}{U}
type=Creature
subtype=Bird
power=2
toughness=2
[/card]
[card]
name=Vexing Shusher
abilities=nofizzle
auto={RG}: target(*[-land]|stack) nofizzle
text=This spell can't be countered. -- {R/G}: Target spell can't be countered.
mana={RG}{RG}
type=Creature
subtype=Goblin Shaman
power=2
toughness=2
[/card]
[card]
name=Veyran, Voice of Duality
auto=@movedto(*[instant;sorcery]|mystack):1/1 ueot
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, Veyran, Voice of Duality gets +1/+1 until end of turn. -- If you casting or copying an instant or sorcery spell causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time.
mana={1}{U}{R}
type=Legendary Creature
subtype=Efreet Wizard
power=2
toughness=2
[/card]
[card]
name=Vial Smasher the Fierce
abilities=partner
auto=@movedto(*[-land;manacost=1]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:1 opponent _ choice name(Damage planeswalker) damage:1 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=2]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:2 opponent _ choice name(Damage planeswalker) damage:2 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=3]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:3 opponent _ choice name(Damage planeswalker) damage:3 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=4]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:4 opponent _ choice name(Damage planeswalker) damage:4 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=5]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:5 opponent _ choice name(Damage planeswalker) damage:5 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=6]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:6 opponent _ choice name(Damage planeswalker) damage:6 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=7]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:7 opponent _ choice name(Damage planeswalker) damage:7 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=8]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:8 opponent _ choice name(Damage planeswalker) damage:8 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=9]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:9 opponent _ choice name(Damage planeswalker) damage:9 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=10]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:10 opponent _ choice name(Damage planeswalker) damage:10 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=11]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:11 opponent _ choice name(Damage planeswalker) damage:11 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=12]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:12 opponent _ choice name(Damage planeswalker) damage:12 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=13]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:13 opponent _ choice name(Damage planeswalker) damage:13 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=14]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:14 opponent _ choice name(Damage planeswalker) damage:14 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=15]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:15 opponent _ choice name(Damage planeswalker) damage:15 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=16]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:16 opponent _ choice name(Damage planeswalker) damage:16 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=17]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:17 opponent _ choice name(Damage planeswalker) damage:17 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=18]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:18 opponent _ choice name(Damage planeswalker) damage:18 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost=19]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:19 opponent _ choice name(Damage planeswalker) damage:19 target(planeswalker|opponentBattlefield)!$ controller
auto=@movedto(*[-land;manacost>=20]|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:ability$!name(Choose one) choice name(Damage opponent) damage:20 opponent _ choice name(Damage planeswalker) damage:20 target(planeswalker|opponentBattlefield)!$ controller
text=Whenever you cast your first spell each turn, choose an opponent at random. Vial Smasher the Fierce deals damage equal to that spell's converted mana cost to that player or a planeswalker that player controls. -- Partner (You can have two commanders if both have partner.)
mana={1}{B}{R}
type=Legendary Creature
subtype=Goblin Berserker
power=2
toughness=3
[/card]
[card]
name=Viashino Lashclaw
auto={T}{D(*|myHand)}:all(creature|myBattlefield) transforms((,newability[haste])) ueot
text={T}, Discard a card: Creatures you control gain haste until end of turn.
mana={1}{R}
type=Creature
subtype=Viashino Warrior
power=2
toughness=2
[/card]
[card]
name=Viashino Pyromancer
auto=damage:2 target(player)
text=When Viashino Pyromancer enters the battlefield, it deals 2 damage to target player or planeswalker.
mana={1}{R}
type=Creature
subtype=Viashino Wizard
power=2
toughness=1
[/card]
[card]
name=Viashino Sandsprinter
abilities=trample,haste
auto=@each endofturn moveTo(ownerHand)
autohand={R}{cycle}:name(cycling) draw:1
text=Trample, haste -- At the beginning of the end step, return Viashino Sandsprinter to its owner's hand. (Return it only if it's on the battlefield.) -- Cycling {R} ({R}, Discard this card: Draw a card.)
mana={1}{R}{R}
type=Creature
subtype=Viashino Warrior
power=4
toughness=1
[/card]
[card]
name=Vicious Betrayal
auto=if type(*[creature]|myBattlefield)~morethan~0 then choice name(Sacrifice 1 creature) ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && target(creature) 2/2 ueot
auto=if type(*[creature]|myBattlefield)~morethan~1 then choice name(Sacrifice 2 creatures) ability$!sacrifice notatarget(<2>creature|mybattlefield)!$ controller && target(creature) 4/4 ueot
auto=if type(*[creature]|myBattlefield)~morethan~2 then choice name(Sacrifice 3 creatures) ability$!sacrifice notatarget(<3>creature|mybattlefield)!$ controller && target(creature) 6/6 ueot
auto=if type(*[creature]|myBattlefield)~morethan~3 then choice name(Sacrifice 4 creatures) ability$!sacrifice notatarget(<4>creature|mybattlefield)!$ controller && target(creature) 8/8 ueot
auto=if type(*[creature]|myBattlefield)~morethan~4 then choice name(Sacrifice 5 creatures) ability$!sacrifice notatarget(<5>creature|mybattlefield)!$ controller && target(creature) 10/10 ueot
auto=if type(*[creature]|myBattlefield)~morethan~5 then choice name(Sacrifice 6 creatures) ability$!sacrifice notatarget(<6>creature|mybattlefield)!$ controller && target(creature) 12/12 ueot
auto=if type(*[creature]|myBattlefield)~morethan~6 then choice name(Sacrifice 7 creatures) ability$!sacrifice notatarget(<7>creature|mybattlefield)!$ controller && target(creature) 14/14 ueot
auto=if type(*[creature]|myBattlefield)~morethan~7 then choice name(Sacrifice 8 creatures) ability$!sacrifice notatarget(<8>creature|mybattlefield)!$ controller && target(creature) 16/16 ueot
auto=if type(*[creature]|myBattlefield)~morethan~8 then choice name(Sacrifice 9 creatures) ability$!sacrifice notatarget(<9>creature|mybattlefield)!$ controller && target(creature) 18/18 ueot
auto=if type(*[creature]|myBattlefield)~morethan~9 then choice name(Sacrifice 10 creatures) ability$!sacrifice notatarget(<10>creature|mybattlefield)!$ controller && target(creature) 20/20 ueot
auto=if type(*[creature]|myBattlefield)~morethan~10 then choice name(Sacrifice 11 creatures) ability$!sacrifice notatarget(<11>creature|mybattlefield)!$ controller && target(creature) 22/22 ueot
auto=if type(*[creature]|myBattlefield)~morethan~11 then choice name(Sacrifice 12 creatures) ability$!sacrifice notatarget(<12>creature|mybattlefield)!$ controller && target(creature) 24/24 ueot
auto=if type(*[creature]|myBattlefield)~morethan~12 then choice name(Sacrifice 13 creatures) ability$!sacrifice notatarget(<13>creature|mybattlefield)!$ controller && target(creature) 26/26 ueot
auto=if type(*[creature]|myBattlefield)~morethan~13 then choice name(Sacrifice 14 creatures) ability$!sacrifice notatarget(<14>creature|mybattlefield)!$ controller && target(creature) 28/28 ueot
auto=if type(*[creature]|myBattlefield)~morethan~14 then choice name(Sacrifice 15 creatures) ability$!sacrifice notatarget(<15>creature|mybattlefield)!$ controller && target(creature) 30/30 ueot
auto=if type(*[creature]|myBattlefield)~morethan~15 then choice name(Sacrifice 16 creatures) ability$!sacrifice notatarget(<16>creature|mybattlefield)!$ controller && target(creature) 32/32 ueot
auto=if type(*[creature]|myBattlefield)~morethan~16 then choice name(Sacrifice 17 creatures) ability$!sacrifice notatarget(<17>creature|mybattlefield)!$ controller && target(creature) 34/34 ueot
auto=if type(*[creature]|myBattlefield)~morethan~17 then choice name(Sacrifice 18 creatures) ability$!sacrifice notatarget(<18>creature|mybattlefield)!$ controller && target(creature) 36/36 ueot
auto=if type(*[creature]|myBattlefield)~morethan~18 then choice name(Sacrifice 19 creatures) ability$!sacrifice notatarget(<19>creature|mybattlefield)!$ controller && target(creature) 38/38 ueot
auto=if type(*[creature]|myBattlefield)~morethan~19 then choice name(Sacrifice 20 creatures) ability$!sacrifice notatarget(<20>creature|mybattlefield)!$ controller && target(creature) 40/40 ueot
text=As an additional cost to cast Vicious Betrayal, sacrifice any number of creatures. -- Target creature gets +2/+2 until end of turn for each creature sacrificed this way.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Vicious Conquistador
auto=_ATTACKING_life:-1 opponent
text=Whenever Vicious Conquistador attacks, each opponent loses 1 life.
mana={B}
type=Creature
subtype=Vampire Soldier
power=1
toughness=2
[/card]
[card]
name=Vicious Offering
kicker={S(creature|myBattlefield)}
target=creature
auto=-2/-2
auto=if paid(kicker) then -3/-3
text=Kicker'sacrifice a creature. (You may sacrifice a creature in addition to any other costs as you cast this spell.) -- Target creature gets -2/-2 until end of turn. If this spell was kicked, that creature gets -5/-5 until end of turn instead.
mana={1}{B}
type=Instant
[/card]
[card]
name=Vicious Rumors
auto=damage:1 opponent
auto=life:1 controller
auto=deplete:1 opponent
auto=ability$!name(Discard a card) notatarget(*|myhand) reject!$ opponent
text=Vicious Rumors deals 1 damage to each opponent. Each opponent discards a card, then mills a card. You gain 1 life.
mana={B}
type=Sorcery
[/card]
[card]
name=Victimize
target=<2>*[creature]|mygraveyard
auto=moveto(mybattlefield) and!(tap(noevent))!
text=Choose two target creature cards in your graveyard. Sacrifice a creature. If you do, return the chosen cards to the battlefield tapped.
mana={2}{B}{S(*[creature]|mybattlefield)}
type=Sorcery
[/card]
[card]
name=Victory Chimes
auto=@each upkeep:untap
auto={T}:target(player) add{c}
text=Untap Victory Chimes during each other player's untap step. -- {T}: A player of your choice adds {C}.
mana={3}
type=Artifact
[/card]
[card]
name=Victory's Envoy
auto=@each my upkeep:counter(1/1,1) all(other creature|myBattlefield)
text=At the beginning of your upkeep, put a +1/+1 counter on each other creature you control.
mana={3}{W}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=3
[/card]
[card]
name=View from Above
target=creature
auto=flying ueot
auto=if type(*[white]|mybattlefield)~morethan~0 then moveto(myhand) all(this)
text=Target creature gains flying until end of turn. If you control a white permanent, return View from Above to its owner's hand.
mana={1}{U}
type=Instant
[/card]
[card]
name=Vigil for the Lost
auto=@movedTo(creature|graveyard) from(mybattlefield):may pay({x}) name(Pay X) life:X controller 
text=Whenever a creature you control dies, you may pay {X}. If you do, you gain X life.
mana={3}{W}
type=Enchantment
[/card]
[card]
name=Vigilant Baloth
abilities=vigilance
text=Vigilance (Attacking doesn't cause this creature to tap.)
mana={3}{G}{G}
type=Creature
subtype=Beast
power=5
toughness=5
[/card]
[card]
name=Vigorspore Wurm
abilities=oneblocker
auto=foreach(creature|mygraveyard) target(creature) 1/1 && vigilance ueot
text=Undergrowth - When Vigorspore Wurm enters the battlefield, target creature gains vigilance and gets +X/+X until end of turn, where X is the number of creature cards in your graveyard. -- Vigorspore Wurm can't be blocked by more than one creature.
mana={5}{G}
type=Creature
subtype=Wurm
power=6
toughness=4
[/card]
[card]
name=Vile Entomber
abilities=deathtouch
auto=name(Search library) target(*|mylibrary) moveto(myGraveyard) and!( shuffle )!
text=Deathtouch -- When Vile Entomber enters the battlefield, search your library for a card, put that card into your graveyard, then shuffle.
mana={2}{B}{B}
type=Creature
subtype=Zombie Warlock
power=2
toughness=2
[/card]
[card]
name=Vile Manifestation
abilities=cycling
autohand=__CYCLING__({2})
auto=foreach(*[cycling]|mygraveyard) 1/0
text=Vile Manifestation gets +1/+0 for each card with cycling in your graveyard. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{B}
type=Creature
subtype=Horror
power=0
toughness=4
[/card]
[card]
name=Vilis, Broker of Blood
abilities=flying
auto={B}{L:2}:-1/-1 target(creature) ueot
auto=@damageof(player):draw:thatmuch controller
text=Flying -- {B}, Pay 2 life: Target creature gets -1/-1 until end of turn. -- Whenever you lose life, draw that many cards. (Damage causes loss of life.)
mana={5}{B}{B}{B}
type=Legendary Creature
subtype=Demon
power=8
toughness=8
[/card]
[card]
name=Village Reavers
abilities=nightbound
backside=Village Watch
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
auto=lord(*[wolf;werewolf]|mybattlefield) haste
text=Wolves and Werewolves you control have haste. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Village Watch
type=Creature
subtype=Werewolf
color=red
power=5
toughness=4
[/card]
[card]
name=Village Rites
auto=draw:2 controller
text=As an additional cost to cast this spell, sacrifice a creature. -- Draw two cards.
mana={B}{S(creature|myBattlefield)}
type=Instant
[/card]
[card]
name=Village Watch
abilities=haste,daybound
backside=Village Reavers
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(backside)
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!)
text=Haste -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Village Reavers
mana={4}{R}
type=Creature
subtype=Human Werewolf
power=4
toughness=3
[/card]
[card]
name=Villainous Wealth
auto=name(Look) reveal:x revealzone(opponentlibrary) optionone name(exile a card) target(X|reveal) moveto(ownerexile) optiononeend optiontwo target(<60>*|reveal) moveto(ownerlibrary) optiontwoend optionthree canplayfromexile castcard(normal) target(<upto:x>*|opponentExile) optionthreeend revealend
text=Target opponent exiles the top X cards of their library. You may cast any number of spells with converted mana cost X or less from among them without paying their mana costs.
mana={X}{B}{G}{U}
type=Sorcery
[/card]
[card]
name=Vindictive Lich
auto=_DIES_name(Choose one) name(Choose one) emblem transforms((,newability[choice name(Opponent sacrifices a creature) ability$!name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent],newability[choice name(Opponent discards 2 cards) ability$!name(Discards 2 cards) notatarget(<2>*|myhand) reject!$ opponent],newability[choice name(Opponent looses 5 life) life:-5 opponent])) ueot
text=When Vindictive Lich dies, choose one or more. Each mode must target a different player. -- Target opponent sacrifices a creature. -- Target opponent discards two cards. -- Target opponent loses 5 life.
mana={3}{B}
type=Creature
subtype=Zombie Wizard
power=4
toughness=1
[/card]
[card]
name=Vindictive Vampire
auto=@movedTo(other creature|graveyard) from(mybattlefield):ability$!choice damage:1 opponent && life:1 controller!$ controller
text=Whenever another creature you control dies, Vindictive Vampire deals 1 damage to each opponent and you gain 1 life.
mana={3}{B}
type=Creature
subtype=Vampire
power=2
toughness=3
[/card]
[card]
name=Vine Gecko
auto=@movedTo(*[kicked>=1]|myStack):name(Put a +1/+1 counter) counter(1/1,1) all(this)
auto=@movedTo(*[kicked>=1]|myStack) turnlimited:add{1}
text=The first kicked spell you cast each turn costs {1} less to cast.. -- Whenever you cast a kicked spell, put a +1/+1 counter on Vine Gecko.
mana={1}{G}
type=Creature
subtype=Elemental Lizard
power=2
toughness=2
[/card]
[card]
name=Vine Mare
abilities=opponentshroud
auto=cantbeblockedby(creature[black])
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.) -- Vine Mare can't be blocked by black creatures.
mana={2}{G}{G}
type=Creature
subtype=Elemental Horse
power=5
toughness=3
[/card]
[card]
name=Vineglimmer Snarl
auto=if type(*[forest;island]|myhand)~equalto~0 then tap(noevent)
auto={T}:Add{G}
auto={T}:Add{U}
text=As Vineglimmer Snarl enters the battlefield, you may reveal a Forest or Island card from your hand. If you don't, Vineglimmer Snarl enters the battlefield tapped. -- {T}: Add {G} or {U}.
type=Land
[/card]
[card]
name=Vineshaper Mystic
auto=target(<upto:2>merfolk|mybattlefield) counter(1/1,1)
text=When Vineshaper Mystic enters the battlefield, put a +1/+1 counter on each of up to two target Merfolk you control.
mana={2}{G}
type=Creature
subtype=Merfolk Shaman
power=1
toughness=3
[/card]
[card]
name=Vintara Elephant
abilities=trample
auto={3}:-trample ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 3) pay[[{3}]] name(Pay 3) notatarget(Vintara Elephant[trample]|opponentBattlefield) -trample ueot?donothing!$ opponent])) forever
text=Trample -- {3}: Vintara Elephant loses trample until end of turn. Any player may activate this ability.
mana={4}{G}
type=Creature
subtype=Elephant
power=4
toughness=3
[/card]
[card]
name=Violent Eruption
abilities=madness
auto=thisforeach(variable{4}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
autoexile=restriction{discarded} pay({1}{R}{R}) name(pay {1}{R}{R} to cast) activate name(pay {1}{R}{R} to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard)
text=Violent Eruption deals 4 damage divided as you choose among any number of target creatures and/or players. -- Madness {1}{R}{R} (If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard.)
mana={1}{R}{R}{R}
type=Instant
[/card]
[card]
name=Violent Impact
abilities=cycling
target=artifact,land
auto=destroy
autohand=__CYCLING__({2})
text=Destroy target artifact or land. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Virtus the Veiled
abilities=deathtouch,partner
auto=may name(Put partner in hand) moveto(myhand) target(gorm the great|mylibrary)
auto=@combatdamaged(player) from(this):life:-halfdownopponentlifetotal opponent
text=Partner with Gorm the Great (When this creature enters the battlefield, target player may put Gorm into their hand from their library, then shuffle.) -- Deathtouch -- Whenever Virtus the Veiled deals combat damage to a player, that player loses half their life, rounded up.
mana={2}{B}
type=Legendary Creature
subtype=Azra Assassin
power=1
toughness=1
[/card]
[card]
name=Virtus's Maneuver
auto=ability$!name(Return to hand) name(Return to hand) target(creature|mygraveyard) moveto(ownerhand)!$ opponent
auto=ability$!name(Sacrifice creature) name(Sacrifice creature) target(creature|mybattlefield) sacrifice!$ opponent
text=For each player, choose friend or foe. Each friend returns a creature card from their graveyard to their hand. Each foe sacrifices a creature they control.
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Virulent Wound
target=creature
auto=counter(-1/-1)
auto=transforms((,newability[@movedto(this|mygraveyard):alterpoison:1 controller])) ueot
text=Put a -1/-1 counter on target creature. When that creature dies this turn, its controller gets a poison counter.
mana={B}
type=Instant
[/card]
[card]
name=Visage of Bolas
auto=may moveto(myhand) target(Nicol Bolas^ the Deceiver|mylibrary,mygraveyard) and!( shuffle )!
auto={T}:Add{U}
auto={T}:Add{B}
auto={T}:Add{R}
text=When Visage of Bolas enters the battlefield, you may search your library and/or graveyard for a card named Nicol Bolas, the Deceiver, reveal it, and put it into your hand. If you search your library this way, shuffle it. -- {T}: Add {U}, {B}, or {R} to your mana pool.
mana={4}
type=Artifact
[/card]
[card]
name=Visions
target=player
aicode=activate all(*[zpos<=5]|targetedpersonslibrary) bottomoflibrary and!( shuffle targetedplayer )!
auto=name(Look 5 cards) reveal:5 revealzone(targetedpersonslibrary) optionone name(Look cards) target(*|reveal) moveto(ownerlibrary) optiononeend optiontwo name(Put back) all(*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed may name(Shuffle library) shuffle targetedplayer afterrevealedend revealend
text=Look at the top five cards of target player's library. You may then have that player shuffle that library.
mana={W}
type=Sorcery
[/card]
[card]
name=Visions of Dominance
target=creature
auto=counter(1/1)
auto=transforms((,newability[thisforeach(counter{1/1.1}) counter(1/1) all(this)])) oneshot
flashback={8}{G}{G}
otherrestriction=compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~0
auto=if paid(alternative) then all(this|mystack) moveto(myexile)
autograveyard={G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~morethan~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={1}{G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={2}{G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~6,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={3}{G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~5,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={4}{G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~4,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={5}{G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~3,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={6}{G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~2,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={7}{G}{G} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~1,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
text=Put a +1/+1 counter on target creature, then double the number of +1/+1 counters on it. -- Flashback {8}{G}{G}. This spell costs {X} less to cast this way, where X is the greatest mana value of a commander you own on the battlefield or in the command zone. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{G}
type=Sorcery
[/card]
[card]
name=Visions of Dread
target=opponent
auto=ability!$name(Give a creature to opponent) name(Give a creature to opponent) target(creature|mygraveyard) moveto(opponentbattlefield)!$ targetedplayer
flashback={8}{B}{B}
otherrestriction=compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~0
auto=if paid(alternative) then all(this|mystack) moveto(myexile)
autograveyard={B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~morethan~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={1}{B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={2}{B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~6,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={3}{B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~5,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={4}{B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~4,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={5}{B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~3,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={6}{B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~2,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={7}{B}{B} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~1,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
text=Target opponent puts a creature card of choice from their graveyard onto the battlefield under your control. -- Flashback {8}{B}{B}. This spell costs {X} less to cast this way, where X is the greatest mana value of a commander you own on the battlefield or in the command zone. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Visions of Duplicity
target=creature|opponentbattlefield
auto=moveto(opponentbattlefield)
auto=name(Choose another creature you don't control) target(creature|opponentbattlefield) moveto(opponentbattlefield)
flashback={8}{U}{U}
otherrestriction=compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~0
auto=if paid(alternative) then all(this|mystack) moveto(myexile)
autograveyard={U}{U}restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~morethan~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={1}{U}{U} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={2}{U}{U} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~6,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={3}{U}{U} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~5,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={4}{U}{U} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~4,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={5}{U}{U} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~3,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={6}{U}{U} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~2,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={7}{U}{U} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~1,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
text=Exchange control of two target creatures you don't control. -- Flashback {8}{U}{U}. This spell costs {X} less to cast this way, where X is the greatest mana value of a commander you own on the battlefield or in the command zone. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Visions of Glory
auto=token(Human,Creature Human,1/1,white)*type:creature:mybattlefield
flashback={8}{W}{W}
otherrestriction=compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~0
auto=if paid(alternative) then all(this|mystack) moveto(myexile)
autograveyard={W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~morethan~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={1}{W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={2}{W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~6,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={3}{W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~5,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={4}{W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~4,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={5}{W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~3,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={6}{W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~2,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={7}{W}{W} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~1,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
text=Create a 1/1 white Human creature token for each creature you control. -- Flashback {8}{W}{W}. This spell costs {X} less to cast this way, where X is the greatest mana value of a commander you own on the battlefield or in the command zone. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Visions of Ruin
auto=ability!$name(Sacrifice an artifact) name(Sacrifice an artifact) target(artifact|mybattlefield) sacrifice and!( token(Treasure Sur) opponent )! !$ opponent
flashback={8}{R}{R}
otherrestriction=compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~0
auto=if paid(alternative) then all(this|mystack) moveto(myexile)
autograveyard={R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~morethan~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={1}{R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~7,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={2}{R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~6,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={3}{R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~5,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={4}{R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~4,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={5}{R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~3,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={6}{R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~2,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
autograveyard={7}{R}{R} restriction{compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~1,can play sorcery}:name(Cast with flashback) name(Cast with flashback) activate castcard(alternative)
text=Each opponent sacrifices an artifact. For each artifact sacrificed this way, you create a Treasure token. -- Flashback {8}{R}{R}. This spell costs {X} less to cast this way, where X is the greatest mana value of a commander you own on the battlefield or in the command zone. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{R}
type=Sorcery
[/card]
[card]
name=Vitality Hunter
abilities=lifelink
auto=this(cantargetcard(*[-monstrous]) {1}{W}{W}:name(X=1) all(this) becomes(monstrous) forever && target(<1>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {2}{W}{W}:name(X=2) all(this) becomes(monstrous) forever && target(<upto:2>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {3}{W}{W}:name(X=3) all(this) becomes(monstrous) forever && target(<upto:3>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {4}{W}{W}:name(X=4) all(this) becomes(monstrous) forever && target(<upto:4>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {5}{W}{W}:name(X=5) all(this) becomes(monstrous) forever && target(<upto:5>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {6}{W}{W}:name(X=6) all(this) becomes(monstrous) forever && target(<upto:6>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {7}{W}{W}:name(X=7) all(this) becomes(monstrous) forever && target(<upto:7>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {8}{W}{W}:name(X=8) all(this) becomes(monstrous) forever && target(<upto:8>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {9}{W}{W}:name(X=9) all(this) becomes(monstrous) forever && target(<upto:9>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {10}{W}{W}:name(X=10) all(this) becomes(monstrous) forever && target(<upto:10>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {11}{W}{W}:name(X=11) all(this) becomes(monstrous) forever && target(<upto:11>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {12}{W}{W}:name(X=12) all(this) becomes(monstrous) forever && target(<upto:12>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {13}{W}{W}:name(X=13) all(this) becomes(monstrous) forever && target(<upto:13>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {14}{W}{W}:name(X=14) all(this) becomes(monstrous) forever && target(<upto:14>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {15}{W}{W}:name(X=15) all(this) becomes(monstrous) forever && target(<upto:15>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {16}{W}{W}:name(X=16) all(this) becomes(monstrous) forever && target(<upto:16>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {17}{W}{W}:name(X=17) all(this) becomes(monstrous) forever && target(<upto:17>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {18}{W}{W}:name(X=18) all(this) becomes(monstrous) forever && target(<upto:18>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {19}{W}{W}:name(X=19) all(this) becomes(monstrous) forever && target(<upto:19>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
auto=this(cantargetcard(*[-monstrous]) {20}{W}{W}:name(X=20) all(this) becomes(monstrous) forever && target(<anyamount>creature|Battlefield) transforms((,newability[counter(0/0.1.Lifelink)],newability[this(counter{0/0.1.Lifelink}>=1) lifelink])) forever
text=Lifelink -- {X}{W}{W}: Monstrosity X. (If this creature isn't monstrous, put X +1/+1 counters on it and it becomes monstrous.) -- When Vitality Hunter becomes monstrous, put a lifelink counter on each of up to X target creatures.
mana={3}{W}
type=Creature
subtype=Nightmare
power=3
toughness=4
[/card]
[card]
name=Vito, Thorn of the Dusk Rose
auto=@lifeof(player):life:-thatmuch opponent
auto={3}{B}{B}:all(creature|myBattlefield) transforms((,newability[lifelink])) ueot
text=Whenever you gain life, target opponent loses that much life. -- {3}{B}{B}: Creatures you control gain lifelink until end of turn.
mana={2}{B}
type=Legendary Creature
subtype=Vampire Cleric
power=1
toughness=3
[/card]
[card]
name=Vivid Flying Fish
auto=lord(Vivid Flying Fish[attacking]|myBattlefield) flying
text=Vivid Flying Fish has flying as long as it's attacking. (It can't be blocked except by creatures with flying or reach.)
mana={1}{U}
type=Creature
subtype=Fish Lizard
power=1
toughness=1
[/card]
[card]
name=Vivid Revival
abilities=exiledeath
target=<upto:3>*[multicolor]|mygraveyard
auto=moveto(myhand)
text=Return up to three target multicolored cards from your graveyard to your hand. Exile Vivid Revival.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Vivien's Arkbow
auto={X}{T}{D(*|myhand)}:reveal:x optionone target(creature[manacost<=x]|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
text={X}, {T}, Discard a card: Look at the top X cards of your library. You may put a creature card with converted mana cost X or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order.
mana={1}{G}
type=Legendary Artifact
[/card]
[card]
name=Vivien's Crocodile
auto=aslongas(vivien planeswalker|mybattlefield) 1/1
text=Vivien's Crocodile gets +1/+1 as long as you control a Vivien planeswalker.
mana={2}{G}
type=Creature
subtype=Crocodile Spirit
power=3
toughness=3
[/card]
[card]
name=Vivien's Grizzly
auto={3}{G}:reveal:1 optionone target(creature,planeswalker|reveal) moveto(myhand) optiononeend optiontwo name(Bottom of library) target(<1>*|reveal) bottomoflibrary optiontwoend revealend
text={3}{G}: Look at the top card of your library. If it's a creature or planeswalker card, you may reveal it and put it into your hand. If you don't put the card into your hand, put it on the bottom of your library.
mana={2}{G}
type=Creature
subtype=Bear Spirit
power=2
toughness=3
[/card]
[card]
name=Vivien's Invocation
aicode=activate target(creature[zpos<=7]|mylibrary) moveto(mybattlefield) and!(transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike!>])) oneshot)!
auto=reveal:7 optionone name(Get Creature) target(<1>creature|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike!>])) oneshot)! afterrevealedend revealend
text=Look at the top seven cards of your library. You may put a creature card from among them onto the battlefield. Put the rest on the bottom of your library in a random order. When a creature is put onto the battlefield this way, it deals damage equal to its power to target creature an opponent controls.
mana={5}{G}{G}
type=Sorcery
[/card]
[card]
name=Vivien's Jaguar
abilities=reach
autograveyard={2}[G} restriction{type(planeswalker[vivien]|mybattlefield)~morethan~0}:name(Return to hand) name(Return to hand) moveto(myhand)
text=Reach (This creature can block creatures with flying.) -- {2}{G}: Return Vivien's Jaguar from your graveyard to your hand. Activate this ability only if you control a Vivien planeswalker.
mana={2}{G}
type=Creature
subtype=Cat Spirit
power=3
toughness=2
[/card]
[card]
name=Vizier of Deferment
abilities=flash
auto=may (blink)ueot target(creature[attacking;blocking])
text=Flash -- When Vizier of Deferment enters the battlefield, you may exile target creature if it attacked or blocked this turn. Return that card to the battlefield under its owner's control at the beginning of the next end step.
mana={2}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Vizier of Many Faces
auto=may copy notatarget(creature)
autograveyard={3}{U}{U}{E}:name(Embalm) clone and!( transforms((Zombie,removemc,white)) forever )! asSorcery
text=You may have Vizier of Many Faces enter the battlefield as a copy of any creature on the battlefield, except if Vizier of Many Faces was embalmed, the token has no mana cost, it's white, and it's a Zombie in addition to its other types. -- Embalm {3}{U}{U}
mana={2}{U}{U}
type=Creature
subtype=Shapeshifter Cleric
power=0
toughness=0
[/card]
[card]
name=Vizier of Remedies
auto=@counteradded(-1/-1) from(creature|myBattlefield):counter(-1/-1,-1) all(trigger[from]) limit:1
text=If one or more -1/-1 counters would be put on a creature you control, that many -1/-1 counters minus one are put on it instead.
mana={1}{W}
type=Creature
subtype=Human Cleric
power=2
toughness=1
[/card]
[card]
name=Vizier of Tumbling Sands
abilities=cycling
auto={T}:untap target(other *|mybattlefield)
autohand=__CYCLING__({1}{U})
text={T}: Untap another target permanent. -- Cycling {1}{U} ({1}{U}, Discard this card: Draw a card.) -- When you cycle Vizier of Tumbling Sands, untap target permanent.
mana={2}{U}
type=Creature
subtype=Human Cleric
power=1
toughness=3
[/card]
[card]
name=Vizier of the Menagerie
abilities=showfromtoplibrary,canplaycreaturelibrarytop
auto=lord(creature|mycastingzone) anytypeofmana
text=You may look at the top card of your library. (You may do this at any time.) -- You may cast the top card of your library if it's a creature card. -- You may spend mana as though it were mana of any type to cast creature spells.
mana={3}{G}
type=Creature
subtype=Naga Cleric
power=3
toughness=4
[/card]
[card]
name=Vizier of the Scorpion
auto=_AMASS_(1)
auto=lord(Zombie[token]|myBattlefield) deathtouch
text=When Vizier of the Scorpion enters the battlefield, amass 1. (Put a +1/+1 counter on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) -- Zombie tokens you control have deathtouch.
mana={2}{B}
type=Creature
subtype=Zombie Wizard
power=1
toughness=1
[/card]
[card]
name=Vizier of the True
auto=@exerted(this):tap target(cretaure|opponentbattlefield)
auto=_ATTACKING_may exert
text=You may exert Vizier of the True as it attacks. (It won't untap during your next untap step.) -- Whenever you exert a creature, tap target creature an opponent controls.
mana={3}{W}
type=Creature
subtype=Human Cleric
power=3
toughness=2
[/card]
[card]
name=Vizkopa Vampire
abilities=lifelink
text=Lifelink
mana={2}{WB}
type=Creature
subtype=Vampire
power=3
toughness=1
[/card]
[card]
name=Vodalian Arcanist
auto=this(variable{type:*[instant;sorcery]:myhand}>0) {T}:Add{C}
text={T}: Add Colorless . Spend this mana only to cast an instant or sorcery spell.
mana={1}{U}
type=Creature
subtype=Merfolk Wizard
power=1
toughness=3
[/card]
[card]
name=Voice of Many
auto=if type(*[creature]|mybattlefield)~morethan~type(*[creature]|opponentbattlefield) then draw:1 controller
text=When Voice of Many enters the battlefield, draw a card for each opponent who controls fewer creatures than you.
mana={2}{G}{G}
type=Creature
subtype=Elf Druid
power=3
toughness=3
[/card]
[card]
name=Void Beckoner
abilities=deathtouch,cycling
autohand=__CYCLING__({2}{B})
autohand=@cycled(this|myHand):name(Put Deathtouch counter) target(creature|myBattlefield) transforms((,newability[counter(0/0.1.Deathtouch)],newability[this(counter{0/0.1.Deathtouch}>=1) deathtouch])) forever
text=Deathtouch -- Cycling {2}{B} ({2}{B}, Discard this card: Draw a card.) -- When you cycle Void Beckoner, put a deathtouch counter on target creature you control.
mana={6}{B}{B}
type=Creature
subtype=Nightmare Horror
power=8
toughness=8
[/card]
[card]
name=Void Maw
abilities=trample
auto=@movedto(other creature|graveyard) from(battlefield):all(trigger[to]) moveto(ownerexile) and!( counter(0/0,1,MawExiled) )!
auto={0}:name(Put creature into owner graveyard) name(Put creature into owner graveyard) moveto(ownerGraveyard) target(creature[counter{0/0.1.MawExiled}]|exile) && 2/2 ueot all(this)
text=Trample -- If another creature would die, exile it instead. -- Put a card exiled with Void Maw into its owner's graveyard: Void Maw gets +2/+2 until end of turn.
mana={4}{B}{B}
type=Creature
subtype=Horror
power=4
toughness=5
[/card]
[card]
name=Void Mirror
auto=@movedto(*|stack):all(trigger) transforms((,newability[if compare(converge)~equalto~0 then target(*[share!name!]|stack) fizzle])) forever
text=Whenever a player casts a spell, if no colored mana was spent to cast it, counter that spell.
mana={2}
type=Artifact
[/card]
[card]
name=Voidslime
target=*|stack
auto=fizzle
text=Counter target spell, activated ability, or triggered ability. (Mana abilities can't be targeted.)
mana={U}{U}{G}
type=Instant
[/card]
[card]
name=Voidstone Gargoyle
abilities=flying
auto=chooseanameopp transforms((,newability[maxCast(*[chosenname])0 controller],newability[maxCast(*[chosenname])0 opponent],newability[lord(*[chosenname]) noactivatedability])) forever chooseend nonland
text=Flying -- As Voidstone Gargoyle enters the battlefield, name a nonland card. -- The named card can't be cast. -- Activated abilities of sources with the chosen name can't be activated.
mana={3}{W}{W}
type=Creature
subtype=Gargoyle
power=3
toughness=3
[/card]
[card]
name=Volatile Claws
auto=all(creature|myBattlefield) 2/0
auto=all(creature|myBattlefield) transforms((allsubtypes))
text=Until end of turn, creatures you control get +2/+0 and gain all creature types.
mana={2}{R}
type=Instant
[/card]
[card]
name=Volatile Fjord
auto=tap(noevent)
text=({T}: Add {U} or {R}.) -- Volatile Fjord enters the battlefield tapped.
type=Snow Land
subtype=Island Mountain
[/card]
[card]
name=Volcanic Salvo
anyzone=changecost(colorless:-powertotalinplay) forcedalive
auto=damage:6 target(<upto:2>creature,planeswalker)
text=This spell costs {X} less to cast, where X is the total power of creatures you control. -- Volcanic Salvo deals 6 damage to each of up to two target creatures and/or planeswalkers.
mana={10}{R}{R}
type=Sorcery
[/card]
[card]
name=Volcanic Torrent
autostack=if casted(this) then cascade:plibrarycount
auto=all(creature|opponentBattlefield) damage:pstormcount
auto=all(planeswalker|opponentBattlefield) damage:pstormcount
text=Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.) -- Volcanic Torrent deals X damage to each creature and planeswalker your opponents control, where X is the number of spells you've cast this turn.
mana={4}{R}
type=Sorcery
[/card]
[card]
name=Volcanic Vision
target=*[instant;sorcery]|mygraveyard
auto=moveto(myhand) && damage:manacost all(creature|opponentbattlefield)
auto=moveto(exile) all(this)
text=Return target instant or sorcery card from your graveyard to your hand. Volcanic Vision deals damage equal to that card's converted mana cost to each creature your opponents control. Exile Volcanic Vision.
mana={5}{R}{R}
type=Sorcery
[/card]
[card]
name=Volcanic Wind
auto=foreach(creature|battlefield) ability$!name(Damage) damage:1 target(creature)!$ controller
text=Volcanic Wind deals X damage divided as you choose among any number of target creatures, where X is the number of creatures on the battlefield as you cast Volcanic Wind.
mana={4}{R}{R}
type=Sorcery
[/card]
[card]
name=Voldaren Ambusher
auto=if compare(oplifelost)~morethan~0 then may name(Damage creature or planeswalker) damage:type:vampire:mybattlefield target(creature,planeswalker)
text=When Voldaren Ambusher enters the battlefield, if an opponent lost life this turn, it deals X damage to up to one target creature or planeswalker, where X is the number of Vampires you control.
mana={2}{R}
type=Creature
subtype=Vampire Archer
power=2
toughness=2
[/card]
[card]
name=Voldaren Stinger
auto=this(attacking) first strike
auto={2}{R}:name(Gets 2/0) 2/0 ueot
text=Voldaren Stinger has first strike as long as it's attacking. -- {2}{R}: Voldaren Stinger gets +2/+0 until end of turn.
type=Creature
subtype=Vampire Warrior
mana={R}
power=1
toughness=1
[/card]
[card]
name=Volley Veteran
auto=damage:type:goblin:mybattlefield target(creature|opponentBattlefield)
text=When Volley Veteran enters the battlefield, it deals damage to target creature an opponent controls equal to the number of Goblins you control.
mana={3}{R}
type=Creature
subtype=Goblin Warrior
power=4
toughness=2
[/card]
[card]
name=Volley of Boulders
auto=thisforeach(variable{6}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller
flashback={R}{R}{R}{R}{R}{R}
text=Volley of Boulders deals 6 damage divided as you choose among any number of target creatures and/or players. -- Flashback {R}{R}{R}{R}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={8}{R}
type=Sorcery
[/card]
[card]
name=Volo, Guide to Monsters
auto=@movedto(creature|mystack):name(Check if share types) all(trigger[to]) transforms((,newability[if type(*[creature;share!types!]|myBattlefield)~equalto~0 then if type(*[creature;share!types!]|mygraveyard)~equalto~0 then clone])) ueot
text=Whenever you cast a creature spell that doesn't share a creature type with a creature you control or a creature card in your graveyard, copy that spell. (A copy of a creature spell becomes a token.)
mana={2}{G}{U}
type=Legendary Creature
subtype=Human Wizard
power=3
toughness=2
[/card]
[card]
name=Volrath's Dungeon
auto={L:5}:sacrifice myturnonly
auto=@each opponent upkeep:ability$!name(Pay 5 life) pay[[{L:5}]] name(Pay 5 life) sacrifice notatarget(Volrath's Dungeon|opponentBattlefield)?donothing!$ opponent
auto=@each opponent untap:ability$!name(Pay 5 life) pay[[{L:5}]] name(Pay 5 life) sacrifice notatarget(Volrath's Dungeon|opponentBattlefield)?donothing!$ opponent
auto=@each opponent draw:ability$!name(Pay 5 life) pay[[{L:5}]] name(Pay 5 life) sacrifice notatarget(Volrath's Dungeon|opponentBattlefield)?donothing!$ opponent
auto=@each opponent combatbegins:ability$!name(Pay 5 life) pay[[{L:5}]] name(Pay 5 life) sacrifice notatarget(Volrath's Dungeon|opponentBattlefield)?donothing!$ opponent
auto=@each opponent blockers:ability$!name(Pay 5 life) pay[[{L:5}]] name(Pay 5 life) sacrifice notatarget(Volrath's Dungeon|opponentBattlefield)?donothing!$ opponent
auto=@each opponent firstmain:ability$!name(Pay 5 life) pay[[{L:5}]] name(Pay 5 life) sacrifice notatarget(Volrath's Dungeon|opponentBattlefield)?donothing!$ opponent
auto=@each opponent endofturn:ability$!name(Pay 5 life) pay[[{L:5}]] name(Pay 5 life) sacrifice notatarget(Volrath's Dungeon|opponentBattlefield)?donothing!$ opponent
auto={D(*|myhand)}:name(Target player) moveto(mylibrary) target(*|myhand) asSorcery
auto={D(*|myhand)}:name(Target opponent) moveto(opponentlibrary) target(*|opponenthand) asSorcery
text=Pay 5 life: Destroy Volrath's Dungeon. Any player may activate this ability but only during his or her turn. -- Discard a card: Target player puts a card from his or her hand on top of his or her library. Activate this ability only any time you could cast a sorcery.
mana={2}{B}{B}
type=Enchantment
[/card]
[card]
name=Volrath, the Shapestealer
auto=@each my combatbegins:target(creature) counter(-1/-1)
auto={1}:copy target(creature[counter{any}]) ueot
text=At the beginning of combat on your turn, put a -1/-1 counter on up to one target creature. -- {1}: Until your next turn, Volrath, the Shapestealer becomes a copy of target creature with a counter on it, except it's 7/5 and it has this ability.
mana={2}{B}{G}{U}
type=Legendary Creature
subtype=Shapeshifter
power=7
toughness=5
[/card]
[card]
name=Voltaic Servant
auto=@each my endofturn:untap target(artifact)
text=At the beginning of your end step, untap target artifact.
mana={2}
type=Artifact Creature
subtype=Construct
power=1
toughness=3
[/card]
[card]
name=Vona's Hunger
auto=_ASCEND_
auto=if type(City's Blessing|mybattlefield)~morethan~0 then ability$!name(sacrifice half creatures) name(sacrifice half creatures) notatarget(<halfuptype:creature:myBattlefield>creature|myBattlefield) sacrifice!$ opponent
auto=if type(City's Blessing|mybattlefield)~equalto~0 then ability$!name(sacrifice a creature) name(sacrifice a creature) notatarget(creature|myBattlefield) sacrifice!$ opponent
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- Each opponent sacrifices a creature. If you have the city's blessing, instead each opponent sacrifices half the creatures they control, rounded up.
mana={2}{B}
type=Instant
[/card]
[card]
name=Vona, Butcher of Magan
abilities=vigilance, lifelink
auto={T}{L:7}:destroy target(*[-land]) assorcery
text=Vigilance, lifelink -- {T}, Pay 7 life: Destroy target nonland permanent. Activate this ability only during your turn.
mana={3}{W}{B}
type=Legendary Creature
subtype=Vampire Knight
power=4
toughness=4
[/card]
[card]
name=Voracious Greatshark
abilities=flash
auto=fizzle target(*[artifact;creature]|stack)
text=Flash -- When Voracious Greatshark enters the battlefield, counter target artifact or creature spell.
mana={3}{U}{U}
type=Creature
subtype=Shark
power=5
toughness=4
[/card]
[card]
name=Voracious Hydra
abilities=trample
auto=counter(1/1,X)
auto=choice thisforeach(counter{1/1.1}) counter(1/1,1)
auto=choice transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
text=Trample -- Voracious Hydra enters the battlefield with X +1/+1 counters on it. -- When Voracious Hydra enters the battlefield, Choose one -- Double the number of +1/+1 counters on Voracious Hydra. -- Voracious Hydra fights target creature you don't control.
mana={X}{G}{G}
type=Creature
subtype=Hydra
power=0
toughness=1
[/card]
[card]
name=Voracious Reader
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=lord(*[instant;sorcery]|mycastingzone) altercost(colorless,-1)
text=Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.) -- Instant and sorcery spells you cast cost {1} less to cast.
type=Creature
subtype=Eldrazi Homunculus
power=3
toughness=4
[/card]
[card]
name=Voracious Typhon
retrace={5}{G}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
auto=if paid(retrace) then counter(1/1,3)
text=Escape-{5}{G}{G}, Exile four other cards from your graveyard. (You may cast this spell from your graveyard for its escape cost.) -- Voracious Typhon escapes with three +1/+1 counters on it.
mana={2}{G}{G}
type=Creature
subtype=Snake Beast
power=4
toughness=4
[/card]
[card]
name=Voracious Vacuum
auto=target(creature) counter(1/1)
text=When this creature enters the battlefield, put a +1/+1 counter on target creature.
mana={3}
type=Host Artifact Creature
subtype=Construct
power=1
toughness=1
[/card]
[card]
name=Voracious Vampire
abilities=menace
auto=target(vampire|myBattlefield)) 1/1 && menace ueot
text=Menace -- When Voracious Vampire enters the battlefield, target Vampire you control gets +1/+1 and gains menace until end of turn.
mana={2}{B}
type=Creature
subtype=Vampire Knight
power=2
toughness=2
[/card]
[card]
name=Vorel of the Hull Clade
auto={G}{U}{T}:target(*[artifact;creature;land]) duplicatecounters(all)
text={G}{U}, {T}: Double the number of each kind of counter on target artifact, creature, or land.
mana={1}{G}{U}
type=Legendary Creature
subtype=Human Merfolk
power=1
toughness=4
[/card]
[card]
name=Vorinclex, Monstrous Raider
abilities=trample,haste
auto=@counteradded(duplicateAll) from(*|myBattlefield):ability$!name(Double the counter) donothing!$ controller
auto=@counteradded(any) from(*|opponentbattlefield):name(Remove a counter) target(*[counter{any}]|opponentbattlefield) removesinglecountertype(1)
text=Trample, haste -- If you would put one or more counters on a permanent or player, put twice that many of each of those kinds of counters on that permanent or player instead. -- If an opponent would put one or more counters on a permanent or player, they put half that many of each of those kinds of counters on that permanent or player instead, rounded down.
mana={4}{G}{G}
type=Legendary Creature
subtype=Phyrexian Praetor
power=6
toughness=6
[/card]
[card]
name=Vorpal Sword
auto={B}{B}:equip
auto=teach(creature) 2/0
auto=teach(creature) deathtouch
auto={5}{B}{B}{B}:name(Damaged player loses game) all(this) transforms((,newability[@combatdamageof(player) from(mytgt):wingame opponent],newability[@combatdamagefoeof(player) from(mytgt):wingame controller])) ueot
text=Equipped creature gets +2/+0 and has deathtouch. -- {5}{B}{B}{B}: Until end of turn, Vorpal Sword gains "Whenever equipped creature deals combat damage to a player, that player loses the game." -- Equip {B}{B}
mana={B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Vortex Runner
auto=aslongas(land|mybattlefield) 1/0 >7
auto=aslongas(land|mybattlefield) unblockable >7
text=As long as you control eight or more lands, Vortex Runner gets +1/+0 and can't be blocked.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Vow of Torment
target=creature
auto=2/2
auto=trample
auto=teach(creature|opponentbattlefield) cantattack
auto=teach(creature|opponentbattlefield) cantpwattack
text=Enchant creature -- Enchanted creature gets +2/+2, has menace, and can't attack you or a planeswalker you control. (It can't be blocked except by two or more creatures.)
mana={2}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Vraska's Conquistador
auto=@combat(attacking) source(this) restriction{type(planeswalker[vraska]|myBattlefield)~morethan~0}:life:-2 opponent && life:2 controller
auto=@combat(blocking) source(this) restriction{type(planeswalker[vraska]|myBattlefield)~morethan~0}:life:-2 opponent && life:2 controller
text=Whenever Vraska's Conquistador attacks or blocks, if you control a Vraska planeswalker, target opponent loses 2 life and you gain 2 life.
mana={1}{B}
type=Creature
subtype=Vampire Soldier
power=2
toughness=1
[/card]
[card]
name=Vraska's Contempt
target=creature,planeswalker
auto=moveto(exile)
auto=life:2 controller
text=Exile target creature or planeswalker. You gain 2 life.
mana={2}{B}{B}
type=Instant
[/card]
[card]
name=Vraska's Finisher
auto=destroy target(*[creature;planeswalker;damaged]|opponentBattlefield)
text=When Vraska's Finisher enters the battlefield, destroy target creature or planeswalker an opponent controls that was dealt damage this turn.
mana={2}{B}
type=Creature
subtype=Gorgon Assassin
power=3
toughness=2
[/card]
[card]
name=Vraska's Scorn
auto=life:-4 opponent
auto=may name(Move Vraska, Scheming Gorgon to hand) name(Move Vraska, Scheming Gorgon to hand) target(Vraska^ Scheming Gorgon|mylibrary,mygraveyard) moveto(myhand) and!( shuffle )!
text=Target opponent loses 4 life. You may search your library and/or graveyard for a card named Vraska, Scheming Gorgon, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={2}{B}{B}
type=Sorcery
[/card]
[card]
name=Vraska's Stoneglare
target=creature
auto=destroy
text=Destroy target creature. You gain life equal to its toughness. You may search your library and/or graveyard for a card named Vraska, Regal Gorgon, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={4}{B}{G}
type=Sorcery
[/card]
[card]
name=Vrondiss, Rage of Ancients
auto=_ENRAGE_may name(Create Dragon) token(Dragon Spirit,Creature Dragon Spirit,5/4,red,green) and!( transforms((,newability[@damaged(creature) from(this):all(this) sacrifice],newability[@damaged(player) from(this):all(this) sacrifice])) forever )! 
auto=@dierolled(*|battlefield) from(controller):may name(Deal 1 damage) damage:1 all(this)
text=Enrage - Whenever Vrondiss, Rage of Ancients is dealt damage, you may create a 5/4 red and green Dragon Spirit creature token with "When this creature deals damage, sacrifice it." -- Whenever you roll one or more dice, you may have Vrondiss, Rage of Ancients deal 1 damage to itself.
mana={3}{R}{G}
type=Legendary Creature
subtype=Dragon Barbarian
power=5
toughness=4
[/card]
[card]
name=Vulpikeet
abilities=flying,mutate
otherrestriction=type(creature[-human]|mybattlefield)~morethan~0
auto=@movedTo(mytgt|graveyard) from(battlefield):all(this) moveTo(myGraveyard)
auto=@movedTo(mytgt|hand) from(battlefield):all(this) moveTo(myHand)
auto=@movedTo(mytgt|exile) from(battlefield):all(this) moveTo(myExile)
auto=@movedTo(mytgt|library) from(battlefield):all(this) moveTo(myLibrary)
auto=@movedTo(mytgt|sideboard) from(battlefield):all(this) moveTo(mySideboard)
auto=@movedTo(mytgt|commandzone) from(battlefield):all(this) moveTo(myCommandzone)
auto={9999}:equip
other={2}{W} name(Mutate)
auto=transforms((,newability[@mutated(this):counter(1/1)]))
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Over) choice name(Mutate Over) mutateover target(other creature[-human]|mybattlefield)
auto=if paid(alternative) then name(Mutate Over) this(mutations<1) name(Mutate Under) choice name(Mutate Under) mutateunder target(other creature[-human]|mybattlefield)
text=Mutate {2}{W} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.) -- Flying -- Whenever this creature mutates, put a +1/+1 counter on it.
mana={3}{W}
type=Creature
subtype=Fox Bird
power=2
toughness=3
[/card]
[card]
name=Waildrifter
backside=Galedrifter
abilities=flying,exiledeath
text=Flying -- If Waildrifter would be put into a graveyard from anywhere, exile it instead. // Galedrifter
type=Creature
subtype=Hippogriff Spirit
color=blue
power=2
toughness=2
[/card]
[card]
name=Wake the Past
auto=all(artifact|mygraveyard) moveto(mybattlefield) and!( transforms((,newability[haste])) ueot )!
text=Return all artifact cards from your graveyard to the battlefield. They gain haste until end of turn.
mana={5}{R}{W}
type=Sorcery
[/card]
[card]
name=Wake to Slaughter
target=<upto:2>creature|mygraveyard
flashback={4}{B}{R}
auto=counter(0/0.1.WakeChosen)
auto=ability$!name(Put chosen card to hand) name(Put chosen card to hand) target(creature[counter{0/0.1.WakeChosen}]|opponentgraveyard) moveto(opponenthand) and!( all(other creature[counter{0/0.1.WakeChosen}]|opponentgraveyard) moveto(opponentbattlefield) and!( transforms((,newability[haste],newability[unearth])) forever )! )! !$ opponent
text=Choose up to two target creature cards in your graveyard. An opponent chooses one of them. Return that card to your hand. Return the other to the battlefield under your control. It gains haste. Exile it at the beginning of the next end step. -- Flashback {4}{B}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={3}{B}{R}
type=Sorcery
[/card]
[card]
name=Wakening Sun's Avatar
auto=if casted(this) then destroy all(creature[-dinosaur])
text=When Wakening Sun's Avatar enters the battlefield, if you cast it from your hand, destroy all non-Dinosaur creatures.
mana={5}{W}{W}{W}
type=Creature
subtype=Dinosaur Avatar
power=7
toughness=7
[/card]
[card]
name=Waker of Waves
abilities=hiddenface
aicode=activate transforms((,newability[choice all(*[zpos=2]|mylibrary) moveto(myhand) and!(deplete:1)!])) ueot
auto=lord(creature|opponentBattlefield) -1/-0
autohand={1}{U}{D(Waker of Waves|myHand)}:name(look) reveal:2 optionone name(Get a Card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
text=Creatures your opponents control get -1/-0. -- {1}{U}, Discard Waker of Waves: Look at the top two cards of your library. Put one of them into your hand and the other into your graveyard.
mana={5}{U}{U}
type=Creature
subtype=Whale
power=7
toughness=7
[/card]
[card]
name=Waker of the Wilds
auto={X}{G}{G}:target(land|mybattlefield) counter(1/1.X) && becomes(Elemental Creature Land,0/0,haste) forever
text={X}{G}{G}: Put X +1/+1 counters on target land you control. That land becomes a 0/0 Elemental creature with haste. It's still a land.
mana={2}{G}{G}
type=Creature
subtype=Merfolk Shaman
power=3
toughness=3
[/card]
[card]
name=Wakeroot Elemental
auto={G}{G}{G}{G}{G}:target(land) transforms((Elemental Creature,setpower=5,settoughness=5,newability[haste],newability[untap]))
text={G}{G}{G}{G}{G}: Untap target land you control. It becomes a 5/5 Elemental creature with haste. It's still a land. (This effect lasts as long as that land remains on the battlefield.)
mana={4}{G}{G}
type=Creature
subtype=Elemental
power=5
toughness=5
[/card]
[card]
name=Waking the Trolls
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=name(Destroy land) target(land) destroy
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Put land on battlefield) target(land|graveyard) moveTo(mybattlefield)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) if compare(type:land:opponentbattlefield)~lessthan~compare(type:land:mybattlefield) then token(Warrior,Creature Troll Warrior,4/4,green,trample)*type:land:mybattlefieldminustype:land:opponentbattlefieldminusend
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this)
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Destroy target land. -- II - Put target land card from a graveyard onto the battlefield under your control. -- III - Choose target opponent. If they control fewer lands than you, create a number of 4/4 green Troll Warrior creature tokens with trample equal to the difference.
mana={4}{R}{G}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Walk the Plank
target=creature[-merfolk]
auto=destroy
text=Destroy target non-Merfolk creature.
mana={B}{B}
type=Sorcery
[/card]
[card]
name=Wall of Corpses
abilties=defender
auto={B}:if type(Wall of Corpses[blocking]|mybattlefield)~morethan~0 then destroy target(creature[blocked]|opponentbattlefield)
text=Defender (This creature can't attack.) -- {B}, Sacrifice Wall of Corpses: Destroy target creature Wall of Corpses is blocking.
mana={1}{B}
type=Creature
subtype=Wall
power=0
toughness=2
[/card]
[card]
name=Wall of Forgotten Pharaohs
abilities=defender
auto={T} restriction{type(desert|mybattlefield,mygraveyard)~morethan~0}:damage:1 target(player)
text=Defender -- {T}: Wall of Forgotten Pharaohs deals 1 damage to target player. Activate this ability only if you control a Desert or there is a Desert card in your graveyard.
mana={2}
type=Artifact Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Wall of Glare
abilities=defender
text=Defender (This creature can't attack.) -- Wall of Glare can block any number of creatures.
mana={1}{W}
type=Creature
subtype=Wall
power=0
toughness=5
[/card]
[card]
name=Wall of Lost Thoughts
abilities=defender
auto=deplete:4 target(player)
text=Defender -- When Wall of Lost Thoughts enters the battlefield, target player puts the top four cards of their library into their graveyard.
mana={1}{U}
type=Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Wall of Mist
abilities=defender
text=Defender
mana={1}{U}
type=Creature
subtype=Wall
power=0
toughness=5
[/card]
[card]
name=Wall of Mourning
abilities=defender
auto=all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0.1.WallExiled) )!
auto=@each my endofturn restriction{coven}:name(Return exiled card) target(*[counter{0/0.1.WallExiled}]|myexile) moveTo(ownerhand)
text=Defender -- When Wall of Mourning enters the battlefield, exile a card from the top of your library face down for each opponent you have. -- Coven - At the beginning of your end step, if you control three or more creatures with different powers, put a card exiled with Wall of Mourning into its owner's hand.
mana={1}{W}
type=Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Wall of One Thousand Cuts
abilities=defender,flying
auto={W}:canattack ueot
text=Defender, flying -- {W}: Wall of One Thousand Cuts can attack this turn as though it didn't have defender.
mana={3}{W}{W}
type=Creature
subtype=Wall
power=3
toughness=5
[/card]
[card]
name=Wall of Runes
abilities=defender
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=_SCRY_(1)
text=Defender -- When Wall of Runes enters the battlefield, scry 1.
mana={U}
type=Creature
subtype=Wall
power=0
toughness=4
[/card]
[card]
name=Wall,Bir
abilities=Defender
type=Artifact Creature
subtype=Wall
power=0
toughness=4
color=colorless
[/card]
[card]
name=Wand of Orcus
auto={3}:equip
auto=@damaged(player) from(mytgt):name(Create zombies) token(Zombie Lil)*thatmuch
auto=@combat(attacking,blocking) source(mytgt):name(All zombies gain deathtouch) all(zombie|mybattlefield) transforms((,newability[deathtouch])) ueot
auto=teach(creature) transforms((,newability[_ATTACKING_name(Equipped creature gains deathtouch) deathtouch ueot],newability[@combat(blocking) source(this):name(Equipped creature gains deathtouch) deathtouch ueot]))
text=Whenever equipped creature attacks or blocks, it and Zombies you control gain deathtouch until end of turn. -- Whenever equipped creature deals combat damage to a player, create that many 2/2 black Zombie creature tokens. -- Equip {3}
mana={2}{B}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Wand of Vertebrae
auto={T}:deplete:1
auto={2}{T}{E}:ability$!choice name(shuffle back) target(<upto:5>*|mygraveyard) moveTo(ownerlibrary) && shuffle!$
text={T}: Put the top card of your library into your graveyard. -- {2}, {T}, Exile Wand of Vertebrae: Shuffle up to five target cards from your graveyard into your library.
mana={1}
type=Artifact
[/card]
[card]
name=Wander in Death
abilities=cycling
target=<upto:2>creature|mygraveyard
auto=moveto(myhand)
autohand=__CYCLING__({2})
text=Return up to two target creature cards from your graveyard to your hand. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{B}
type=Sorcery
[/card]
[card]
name=Wanderer's Strike
target=creature
auto=moveto(exile)
auto=_PROLIFERATE_
text=Exile target creature, then proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={4}{W}
type=Sorcery
[/card]
[card]
name=Wandering Archaic
other={3} name(Explore the Vastlands)
otherrestriction=can play sorcery,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Explore the Vastlands)
autostack=if paid(alternative) then transforms((,newability[moveto(mygraveyard)],newability[activate castcard(copied named!:explore the vastlands:!)])) forever
auto=@movedto(*[instant;sorcery]|opponentstack):all(trigger[to]) transforms((,newability[[pay[[{2}]] name(pay 2 mana) donothing?counter(0/0.1.WanderingEffect)])) oneshot
auto=@counteradded(0/0,1,WanderingEffect) from(instant|opponentstack):may name(Copy spell) all(instant[counter{0/0.1.WanderingEffect}]|opponentstack) activate castcard(copied)
auto=@counteradded(0/0,1,WanderingEffect) from(sorcery|opponentstack):may name(Copy spell) all(sorcery[counter{0/0.1.WanderingEffect}]|opponentstack) activate castcard(copied)
text=Whenever an opponent casts an instant or sorcery spell, they may pay {2}. If they don't, you may copy that spell. You may choose new targets for the copy. // {3} Explore the Vastlands
mana={5}
type=Creature
subtype=Avatar
power=4
toughness=4
[/card]
[card]
name=Wandering Eye
abilities=flying,showopponenthand,showcontrollerhand
text=Flying -- Players play with their hands revealed.
mana={2}{U}
type=Creature
subtype=Illusion
power=1
toughness=3
[/card]
[card]
name=Wandering Troubadour
auto=@each my endofturn restriction{thisturn(land|mybattlefield)~morethan~0,compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=At the beginning of your end step, if you had a land enter the battlefield under your control this turn, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={3}{G}
type=Creature
subtype=Dragon Bard
power=4
toughness=2
[/card]
[card]
name=Wandermare
auto=@movedTo(creature[adventure]|myStack):name(Put 1/1 counter) counter(1/1)
text=Whenever you cast a creature spell that has an Adventure, put a +1/+1 counter on Wandermare. (It doesn't need to have gone on the adventure first.)
mana={1}{G}{W}
type=Creature
subtype=Horse
power=3
toughness=3
[/card]
[card]
name=Wanted Scoundrels
auto=_DIES_token(435451)*2 opponent
text=When Wanted Scoundrels dies, target opponent creates two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={1}{B}
type=Creature
subtype=Human Pirate
power=4
toughness=3
[/card]
[card]
name=War Barge
auto={3}:name(Your creature gains islandwalk) target(creature|myBattlefield) transforms((,newability[islandwalk],newability[@movedto(War Barge|nonbattlezone) from(mybattlefield):bury])) ueot
auto={3}:name(Opponent creature gains islandwalk) target(creature|opponentBattlefield) transforms((,newability[islandwalk],newability[@movedto(War Barge|nonbattlezone) from(opponentBattlefield):bury])) ueot
text={3}: Target creature gains islandwalk until end of turn. When War Barge leaves the battlefield this turn, destroy that creature. A creature destroyed this way can't be regenerated.
mana={4}
type=Artifact
[/card]
[card]
name=War Room
auto={T}:add{C}
auto=aslongas(*[iscommander]|myzones) {L:pnumofidentitycols}{3}{T}:name(Draw a card) name(Draw a card) draw:1 controller
text={T}: Add {C}. -- {3}, {T}, Pay life equal to the number of colors in your commanders' color identity: Draw a card.
type=Land
[/card]
[card]
name=War Screecher
abilities=flying
auto={5}{W}{T}:all(other creature|myBattlefield)) 1/1
text=Flying -- {5}{W}, {T}: Other creatures you control get +1/+1 until end of turn.
mana={1}{W}
type=Creature
subtype=Bird
power=1
toughness=3
[/card]
[card]
name=War of the Spark
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
auto=ability$!name(Choose one) choice name(Don't put anything) donothing _ choice name(Put from hand) target(*[zombie;planeswalker]|myhand) moveTo(myBattlefield) _ choice name(Put from graveyard) target(*[zombie;planeswalker]|myGraveyard) moveTo(myBattlefield)!$ controller
auto=ability$!name(Choose one) choice name(Don't put anything) donothing _ choice name(Put from hand) target(*[zombie;planeswalker]|myhand) moveTo(myBattlefield) _ choice name(Put from graveyard) target(*[zombie;planeswalker]|myGraveyard) moveTo(myBattlefield)!$ opponent
auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(hascntlore)~equalto~2}:may name(Sacrifice creatures and planeswalkers) target(<anyamount>*[creature;planeswalker]|myBattlefield) transforms((,newability[sacrifice],newability[ability$!name(Sacrifice creature or planeswalker) name(Sacrifice creature or planeswalker) notatarget(*[creature;planeswalker]|myBattlefield) sacrifice!$ opponent])) oneshot
auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(hascntlore)~equalto~3}:may name(Exile a bolas) target(*[Bolas]|battlefield) moveTo(exile)
auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(hascntlore)~equalto~3}:name(Proliferate 3 times) notatarget(proliferation) proliferate && proliferate && proliferate
auto=@counteradded(0/0,1,Lore) from(this) restriction{compare(hascntlore)~equalto~3}:name(Sacrifice) sacrifice
text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Each player may put a planeswalker or Zombie card from War of the Spark from their hand or graveyard onto the battlefield. -- II - Sacrifice any number of creatures and/or planeswalkers. Each opponent sacrifices that many creatures and/or planeswalkers. -- III - Exile up to one target Bolas. Proliferate three times.
mana={3}{B}
type=Enchantment
subtype=Saga
[/card]
[card]
name=Warbriar Blessing
target=creature|myBattlefield
auto=name(fight) transforms((,newability[dynamicability<!powerstrike eachother!> target(creature|opponentbattlefield)]))
auto=0/2
text=Enchant creature you control -- When Warbriar Blessing enters the battlefield, enchanted creature fights up to one target creature you don't control. (Each deals damage equal to its power to the other.) -- Enchanted creature gets +0/+2.
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Warchanter Skald
auto=@tapped(this) restriction{compare(gearplusaurasplusend)~morethan~0}:token(Berserker,Creature Dwarf Berserker,2/1,red)
text=Whenever Warchanter Skald becomes tapped, if it's enchanted or equipped, create a 2/1 red Dwarf Berserker creature token.
mana={2}{W}
type=Creature
subtype=Dwarf Cleric
power=2
toughness=3
[/card]
[card]
name=Warchief Giant
abilities=haste
text=Haste -- Myriad (Whenever this creature attacks, for each opponent other than defending player, you may put a token that's a copy of this creature onto the battlefield tapped and attacking that player or a planeswalker he or she controls. Exile the tokens at end of combat.)
mana={3}{R}{R}
type=Creature
subtype=Giant Warrior
power=5
toughness=3
[/card]
[card]
name=Warcry Phoenix
abilities=flying, haste
autograveyard=@each my blockers restriction{type(creature[attacking]|myBattlefield)~morethan~2}:pay({2}{r}) ninjutsu
text=Flying, haste -- Whenever you attack with three or more creatures, you may pay {2}{R}. If you do, return Warcry Phoenix from your graveyard to the battlefield tapped and attacking.
mana={3}{R}
type=Creature
subtype=Phoenix
power=2
toughness=2
[/card]
[card]
name=Warded Battlements
abilities=defender
auto=lord(creature[attacking]|myBattlefield) 1/0
text=Defender (This creature can't attack.) -- Attacking creatures you control get +1/+0.
mana={2}{W}
type=Creature
subtype=Wall
power=0
toughness=3
[/card]
[card]
name=Warden of the Chained
abilities=trample
auto=aslongas(creature[power>=4]|myBattlefield) cantattack <1
auto=aslongas(creature[power>=4]|myBattlefield) cantpwattack <1
text=Trample -- Warden of the Chained can't attack unless you control another creature with power 4 or greater.
mana={1}{R}{G}
type=Creature
subtype=Minotaur Warrior
power=4
toughness=4
[/card]
[card]
name=Warden of the Woods
abilities=vigilance
auto=@targeted(this) from(*|opponentzones):draw:2 controller
text=Vigilance (Attacking doesn't cause this creature to tap.) -- Whenever Warden of the Woods becomes the target of a spell or ability an opponent controls, you may draw two cards.
mana={4}{G}{G}
type=Creature
subtype=Treefolk
power=5
toughness=7
[/card]
[card]
name=Wardscale Crocodile
abilities=opponentshroud
text=Hexproof (This creature can't be the target of spells or abilities your opponents control.)
mana={4}{G}
type=Creature
subtype=Crocodile
power=5
toughness=3
[/card]
[card]
name=Warfire Javelineer
auto=damage:pginstantsorcery target(creature|opponentbattlefield)
text=When Warfire Javelineer enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of instant and sorcery cards in your graveyard.
mana={3}{R}
type=Creature
subtype=Minotaur Warrior
power=2
toughness=3
[/card]
[card]
name=Warhorn Blast
abilities=foretell
autohand={2}:name(Pay 2 and exile face-down) name(Pay 2 and exile face-down) doforetell myturnonly
autoexile={2}{W} restriction{compare(canforetellcast)~morethan~0}:name(Cast with foretell) name(Cast with foretell) activate castcard(alternative)
auto=all(creature|mybattlefield) 2/1 ueot
text=Creatures you control get +2/+1 until end of turn. -- Foretell {2}{W} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.)
mana={4}{W}
type=Instant
[/card]
[card]
name=Warkite Marauder
abilities=flying
auto=_ATTACKING_target(creature|opponentBattlefield) loseabilities
text=Flying -- Whenever Warkite Marauder attacks, target creature defending player controls loses all abilities and has base power and toughness 0/1 until end of turn.
mana={1}{U}
type=Creature
subtype=Human Pirate
power=2
toughness=1
[/card]
[card]
name=Warlock Class
auto=counter(0/0,1,Level)
aicode=activate transforms((,newability[target(*[zpos<=3]|mylibrary) moveto(myhand) and!( all(*[zpos<=3]|mylibrary) moveTo(mygraveyard) )!])) oneshot
auto=@each my endofturn restriction{morbid}:name(Opponent looses life) life:-1 opponent
auto=this(variable{hascntlevel}=1) {1}{B}:name(Level 2) counter(0/0,1,Level) asSorcery
auto=@counteradded(0/0.1.Level) restriction{compare(hascntlevel)~equalto~2}:name(Look top 3) reveal:3 optionone name(Get a Card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
auto=this(variable{hascntlevel}=2) {6}{B}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@each my endofturn restriction{compare(hascntlevel)~morethan~2}:name(Opponent looses life) damage:oplifelost opponent
text=(Gain the next level as a sorcery to add its ability.) -- At the beginning of your end step, if a creature died this turn, each opponent loses 1 life. -- {1}{B}: Level 2 -- When this Class becomes level 2, look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. -- {6}{B}: Level 3 -- At the beginning of your end step, each opponent loses life equal to the life they lost this turn. (Damage causes loss of life.)
mana={B}
type=Enchantment
subtype=Class
[/card]
[card]
name=Warlord's Fury
auto=all(creature|myBattlefield) first strike 
auto=draw:1
text=Creatures you control gain first strike until end of turn. -- Draw a card.
mana={R}
type=Sorcery
[/card]
[card]
name=Warmonger
auto={2}:damage:2 all(creature[-flying]) && damage:2 all(player)
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) damage:2 all(creature[-flying]) && damage:2 all(player)?donothing!$ opponent])) forever
text={2}: Warmonger deals 1 damage to each creature without flying and each player. Any player may activate this ability.
mana={3}{R}
type=Creature
subtype=Minotaur Monger
power=3
toughness=3
[/card]
[card]
name=Warpath
auto=all(creature[blocked;blocking]) damage:3
text=Warpath deals 3 damage to each blocking creature and each blocked creature.
mana={3}{R}
type=Instant
[/card]
[card]
name=Warping Wail
auto=choice name(Exile creature with power 1 or less) target(creature[power<=1]) moveto(exile)
auto=choice name(Exile creature with toughness 1 or less) target(creature[toughness<=1]) moveto(exile)
auto=choice name(Counter sorcery) target(sorcery|stack) fizzle
auto=choice name(Create Eldrazi Scion) token(Eldrazi Scion,Creature Eldrazi Scion,1/1) and!( transforms((,newability[{S}:Add{C}])) forever )! controller
text=({C} represents colorless mana.) -- Choose one -- Exile target creature with power or toughness 1 or less. -- Counter target sorcery spell. -- Put a 1/1 colorless Eldrazi Scion creature token onto the battlefield. It has "Sacrifice this creature: Add {C} to your mana pool."
mana={1}{C}
type=Instant
[/card]
[card]
name=Warrant // Warden
other={3}{W}{U} name(Warden)
otherrestriction=myturnonly
auto=ifnot paid(alternative) then target(creature[blocking;attacking]) moveto(ownerlibrary)
auto=if paid(alternative) then token(Sphinx,Creature Sphinx,4/4,blue,white,vigilance,flying)
text=Put target attacking or blocking creature on top of its owner's library. // Create a 4/4 white and blue Sphinx creature token with flying and vigilance.
mana={WU}{WU}
type=Instant
[/card]
[card]
name=Warrior
abilities=trample,haste
text=Trample, Haste
type=Creature
subtype=Human Warrior
power=3
toughness=1
[/card]
[card]
name=Warteye Witch
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedTo(creature|graveyard) from(mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Whenever Warteye Witch or another creature you control dies, scry 1.
mana={2}{B}
type=Creature
subtype=Goblin Shaman
power=3
toughness=2
[/card]
[card]
name=Wary Okapi
abilities=vigilance
text=Vigilance
mana={2}{G}
type=Creature
subtype=Antelope
power=3
toughness=2
[/card]
[card]
name=Wasitora, Nekoru Queen
abilities=flying,trample
auto=@combatdamaged(player) from(this):if type(creature|opponentBattlefield)~morethan~0 then ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent else create(cat dragon:creature cat dragon:3/3:black:red:green:flying)
text=Flying, trample -- Whenever Wasitora, Nekoru Queen deals combat damage to a player, that player sacrifices a creature. If the player can't, you create a 3/3 black, red, and green Cat Dragon creature token with flying.
mana={2}{B}{R}{G}
type=Legendary Creature
subtype=Cat Dragon
power=5
toughness=4
[/card]
[card]
name=Wasp of the Bitter End
abilities=flying
auto=@movedTo(planeswalker[Bolas]|mystack):may sacrifice this && destroy target(creature)
text=Flying -- Whenever you cast a Bolas planeswalker spell, you may sacrifice Wasp of the Bitter End. If you do, destroy target creature.
mana={1}{B}
type=Creature
subtype=Insect Horror
power=2
toughness=1
[/card]
[card]
name=Wasteland Scorpion
abilities=deathtouch,cycling
autohand=__CYCLING__({2})
text=Deathtouch -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={2}{B}
type=Creature
subtype=Scorpion
power=2
toughness=2
[/card]
[card]
name=Watcher in the Mist
abilities=flying
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus2plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus2plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Flying -- When Watcher in the Mist enters the battlefield, surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on the top of your library in any order.)
mana={3}{U}{U}
type=Creature
subtype=Spirit
power=3
toughness=4
[/card]
[card]
name=Watcher in the Web
abilities=reach
text=Reach (This creature can block creatures with flying.) -- Watcher in the Web can block an additional seven creatures each combat.
mana={4}{G}
type=Creature
subtype=Spider
power=2
toughness=5
[/card]
[card]
name=Watcher of the Roost
abilities=flying
facedown={3}
autofacedown=aslongas(*[white]|myhand) {0}:name(Reveal white card and turn) morph
autofaceup=life:2 controller
text=Flying -- Morph-Reveal a white card in your hand. (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Watcher of the Roost is turned face up, you gain 2 life.
mana={2}{W}
type=Creature
subtype=Bird Soldier
power=2
toughness=1
[/card]
[card]
name=Watcher of the Spheres
abilities=flying
auto=lord(creature[flying]|mycastingzone) altercost(colorless, -1)
auto=@movedTo(other creature[flying]|myBattlefield):1/1 ueot
text=Flying -- Creature spells with flying you cast cost {1} less to cast. -- Whenever another creature with flying enters the battlefield under your control, Watcher of the Spheres gets +1/+1 until end of turn.
mana={W}{U}
type=Creature
subtype=Bird Wizard
power=2
toughness=2
[/card]
[card]
name=Watchers of the Dead
auto=target(<upto:2>*|mygraveyard) (blink) && moveto(exile) all(*|mygraveyard)
auto=ability$!target(<upto:2>*|mygraveyard) (blink) && moveto(exile) all(*|mygraveyard)!$ opponent
text=Exile Watchers of the Dead: Each opponent chooses two cards in his or her graveyard and exiles the rest.
mana={2}
type=Artifact Creature
subtype=Cat
power=2
toughness=2
[/card]
[card]
name=Watchful Giant
auto=create(Human:creature Human:1/1:white:)
text=When Watchful Giant enters the battlefield, create a 1/1 white Human creature token.
mana={5}{W}
type=Creature
subtype=Giant Soldier
power=3
toughness=6
[/card]
[card]
name=Watchful Naga
auto=@exerted(this):draw:1
auto=_ATTACKING_may exert
text=You may exert Watchful Naga as it attacks. When you do, draw a card. (An exerted creature won't untap during your next untap step.)
mana={2}{G}
type=Creature
subtype=Naga Wizard
power=2
toughness=2
[/card]
[card]
name=Waterfall Aerialist
abilities=flying
auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
text=Flying -- Ward {2} (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {2}.)
mana={3}{U}
type=Creature
subtype=Djinn Wizard
power=3
toughness=1
[/card]
[card]
name=Waterkin Shaman
auto=@movedto(creature[flying]|mybattlefield):1/1 ueot
text=Whenever a creature with flying enters the battlefield under your control, Waterkin Shaman gets +1/+1 until end of turn.
mana={1}{U}
type=Creature
subtype=Elemental Shaman
power=2
toughness=1
[/card]
[card]
name=Waterknot
target=creature
auto=teach(creature) tap
auto=teach(creature) doesnotuntap
text=Enchant creature -- When Waterknot enters the battlefield, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step.
mana={1}{U}{U}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Waterlogged Grove
auto={T}{L:1}:Add{G}
auto={T}{L:1}:Add{U}
auto={1}{T}{S}:draw:1
text={T}, Pay 1 life: Add {G} or {U}. -- {1}, {T}, Sacrifice Waterlogged Grove: Draw a card.
type=Land
[/card]
[card]
name=Watertrap Weaver
auto=choice target(creature|opponentbattlefield) tap && frozen
text=When Watertrap Weaver enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
mana={2}{U}
type=Creature
subtype=Merfolk Wizard
power=2
toughness=2
[/card]
[card]
name=Wave of Vitriol
auto=all(artifact|battlefield) sacrifice
auto=all(enchantment|battlefield) sacrifice
auto=all(land[-basic]|battlefield) transforms((,newability[sacrifice],newability[may name(Search basic land) target(land[basic]|mylibrary) moveto(myBattlefield) and!( tap(noevent) )!])) oneshot
text=Each player sacrifices all artifacts, enchantments, and nonbasic lands he or she controls. For each land sacrificed this way, its controller may search his or her library for a basic land card and put it onto the battlefield tapped. Then each player who searched his or her library this way shuffles it.
mana={5}{G}{G}
type=Sorcery
[/card]
[card]
name=Wavebreak Hippocamp
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:draw:1 controller
text=Whenever you cast your first spell during each opponent's turn, draw a card.
mana={2}{U}
type=Enchantment Creature
subtype=Horse Fish
power=2
toughness=2
[/card]
[card]
name=Wavesifter
abilities=flying
other={G}{U} name(Evoke)
auto=if paid(alternative) then sacrifice
auto=name(Create clues) token(Clue)*2
text=Flying -- When Wavesifter enters the battlefield, investigate twice. (To investigate, create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -- Evoke {G}{U} (You may cast this spell for its evoke cost. If you do, it's sacrificed when it enters the battlefield.)
mana={3}{G}{U}
type=Creature
subtype=Elemental
power=3
toughness=2
[/card]
[card]
name=Wax // Wane
other={W} name(Wane)
auto=ifnot paid(alternative) then target(creature) 2/2 ueot
auto=if paid(alternative) then target(enchantment) destroy
text=Target creature gets +2/+2 until end of turn. // Destroy target enchantment.
mana={G}
type=Instant
[/card]
[card]
name=Waxing Moon
auto=may name(Transform a werewolf) target(werewolf[hasbackside;-daybound;-nightbound]|mybattlefield) transforms((,newability[flip(backside)])) forever
auto=all(creature|mybattlefield) transforms((,newability[trample])) ueot
text=Transform up to one target Werewolf you control. Creatures you control gain trample until end of turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Wayward Guide-Beast
abilities=trample,haste
auto=@combatdamaged(player) from(this):moveTo(ownerHand) target(land|myBattlefield)
text=Trample, haste -- Whenever Wayward Guide-Beast deals combat damage to a player, return a land you control to its owner's hand.
mana={R}
type=Creature
subtype=Beast
power=2
toughness=2
[/card]
[card]
name=Wayward Servant
auto=@movedto(zombie|mybattlefield):life:1 controller && life:-1 opponent
text=Whenever another Zombie enters the battlefield under your control, each opponent loses 1 life and you gain 1 life.
mana={W}{B}
type=Creature
subtype=Zombie
power=2
toughness=2
[/card]
[card]
name=Wayward Swordtooth
abilities=cantattack,cantblock
auto=maxPlay(land)+1
auto=_ASCEND_
auto=@movedTo(*|myBattlefield) restriction{type(City's Blessing|mybattlefield)~equalto~0}:_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[-cantattack]))
auto=_CITY'S_BLESSING_ transforms((,newability[-cantblock]))
text=Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.) -- You may play an additional land on each of your turns. -- Wayward Swordtooth can't attack or block unless you have the city's blessing.
mana={2}{G}
type=Creature
subtype=Dinosaur
power=5
toughness=5
[/card]
[card]
name=Weapon Rack
auto=counter(1/1,3)
auto={T}{C(1/1,-1)}:counter(1/1,1) target(creature) asSorcery
text=Weapon Rack enters the battlefield with three +1/+1 counters on it. -- {T}: Move a +1/+1 counter from Weapon Rack onto target creature. Activate this ability only any time you could cast a sorcery.
mana={4}
type=Artifact
[/card]
[card]
name=Weaponize the Monsters
auto={2}{S(creature|myBattlefield}:damage:2 target(player,creature,planeswalker)
text={2}, Sacrifice a creature: Weaponize the Monsters deals 2 damage to any target.
mana={R}
type=Enchantment
[/card]
[card]
name=Wear // Tear
abilities=hasnokicker
other={W} name(Tear)
kicker={W} name(Fuse)
otherrestriction=type(enchantment|battlefield)~morethan~0
auto=if paid(alternative) then destroy target(enchantment)
auto=if paid(kicker) then ability$!name(Destroy enchantment) name(Destroy enchantment) destroy target(enchantment)!$ controller
auto=ifnot paid(alternative) then destroy target(artifact)
text=Destroy target artifact. // Destroy target enchantment. -- Fuse (You may cast one or both halves of this card from your hand.)
mana={1}{R}
type=Instant
[/card]
[card]
name=Weaselback Redcap
auto={1}{R}:2/0 ueot
text={1}{R}: Weaselback Redcap gets +2/+0 until end of turn.
mana={R}
type=Creature
subtype=Goblin Knight
power=1
toughness=1
[/card]
[card]
name=Weather the Storm
abilities=storm
auto=life:3 controller
text=You gain 3 life. -- Storm (When you cast this spell, copy it for each spell cast before it this turn.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Weathered Runestone
auto=@movedto(*[-land]|battlefield) from(graveyard):all(trigger[to]) moveto(ownergraveyard)
auto=@movedto(*[-land]|battlefield) from(library):all(trigger[to]) moveto(ownerlibrary)
auto=maxCast(*|graveyard)0
auto=maxCast(*|graveyard)0 opponent
auto=maxCast(*|library)0
auto=maxCast(*|library)0 opponent
text=Nonland permanent cards in graveyards and libraries can't enter the battlefield. -- Players can't cast spells from graveyards or libraries.
mana={2}
type=Artifact
[/card]
[card]
name=Weatherlight
abilities=flying
aicode=activate target(*[artifact;legendary;saga;zpos<=5]|mylibrary) moveto(myhand)
auto=@combatdamaged(player) from(this):reveal:5 optionone name(Get historic) target(*[artifact;legendary;saga]|reveal) moveto(hand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
auto={crew(other creature[power>=3]|myBattlefield)}:name(crew 3 [1 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=3]|mybattlefield)~morethan~0,compare(crewtotalpower)~morethan~2}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=2]|myBattlefield)}:name(crew 3 [2 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~0,type(other creature[-tapped;power>=2]|mybattlefield)~morethan~0,type(other creature[-tapped;-cantcrew]|mybattlefield)~morethan~1,compare(crewtotalpower)~morethan~2}
auto={crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}{crew(other creature[power>=1]|myBattlefield)}:name(crew 3 [3 creature]) becomes(Artifact Creature) ueot restriction{type(other creature[-tapped;power>=1]|mybattlefield)~morethan~2,compare(crewtotalpower)~morethan~2}
text=Flying -- Whenever Weatherlight deals combat damage to a player, look at the top five cards of your library. You may reveal a historic card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. (Artifacts, legendaries, and Sagas are historic.) -- Crew 3
mana={4}
type=Legendary Artifact
subtype=Vehicle
power=4
toughness=5
[/card]
[card]
name=Weaver of Currents
auto={T}:Add{2}
text={T}: Add {1}{1} to your mana pool.
mana={1}{G}{U}
type=Creature
subtype=Naga Druid
power=2
toughness=2
[/card]
[card]
name=Webweaver Changeling
abilities=changeling,reach
auto=aslongas(creature|mygraveyard) life:5 >2 oneshot
text=Changeling (This card is every creature type.) -- Reach -- When Webweaver Changeling enters the battlefield, if there are three or more creature cards in your graveyard, you gain 5 life.
mana={3}{G}{G}
type=Creature
subtype=Shapeshifter
power=3
toughness=5
[/card]
[card]
name=Weigh Down
target=creature
auto=-3/-3 ueot
text=As an additional cost to cast this spell, exile a creature card from your graveyard. -- Target creature gets -3/-3 until end of turn.
mana={B}{E(creature|mygraveyard)}
type=Sorcery
[/card]
[card]
name=Weight Advantage
abilities=isconspiracy
restriction=never
autocommandzone=lord(creature|myBattlefield) transforms((,newability[@combat(attacking) source(this):becomes(^t/t) ueot],newability[@combat(blocking) source(this):becomes(^t/t) ueot]))
text=(Start the game with this conspiracy face up in the command zone.) -- Each creature you control assigns combat damage equal to its toughness rather than its power.
type=Conspiracy
[/card]
[card]
name=Weight of Memory
auto=draw:3
auto=deplete:3 target(player)
text=Draw three cards. Target player puts the top three cards of their library into their graveyard.
mana={3}{U}{U}
type=Sorcery
[/card]
[card]
name=Weird Exp
type=Creature
subtype=Weird
power=*
toughness=*
color=blue,red
[/card]
[card]
name=Well of Knowledge
auto=@each my draw:may pay[[{2}]] draw:2 controller
auto=@each opponent draw:ability$!name(pay 2) pay[[{2}]] name(pay 2 mana) draw:1?donothing!$ opponent
text={2}: Draw a card. Any player may activate this ability but only during his or her draw step.
mana={3}
type=Artifact
[/card]
[card]
name=Well of Lost Dreams
auto=@lifeof(player):thisforeach(variable{thatmuch}) ability$!name(Pay 1 and draw 1) pay[[{1}]] name(Pay 1 and draw 1) draw:1?name(Don't pay) donothing!$ controller
text=Whenever you gain life, you may pay {X}, where X is less than or equal to the amount of life you gained. If you do, draw X cards.
mana={4}
type=Artifact
[/card]
[card]
name=Werewolf Pack Leader
auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:name(Draw a card) draw:1 controller
auto={3}{G}:name(Becomes 5/3) transforms((removecreaturesubtypes)) ueot && transforms((Werewolf,setpower=5,settoughness=3,newability[trample])) ueot
text=Pack tactics - Whenever Werewolf Pack Leader attacks, if you attacked with creatures with total power 6 or greater this combat, draw a card. -- {3}{G}: Until end of turn, Werewolf Pack Leader has base power and toughness 5/3, gains trample, and isn't a Human.
mana={G}{G}
type=Creature
subtype=Human Werewolf
power=3
toughness=3
[/card]
[card]
name=Westgate Regent
abilities=flying
auto=@targeted(this) from(*|opponentzones):choice name(Discard a card to cast this spell) name(Discard a card to cast this spell) target(*|opponentzones) transforms((,newability[if type(*|myhand)~morethan~0 then choice name(Discard a card) name(Discard a card) donothing],newability[choice name(Don't discard card) fizzle])) oneshot
auto=@combatdamaged(player) from(this):name(Put 1/1 counters) counter(1/1,thatmuch)
text=Flying -- Ward-Discard a card. (Whenever this creature becomes the target of a spell or ability an opponent controls, counter it unless that player discards a card.) -- Whenever Westgate Regent deals combat damage to a player, put that many +1/+1 counters on it.
mana={3}{B}{B}
type=Creature
subtype=Vampire
power=4
toughness=4
[/card]
[card]
name=Whale Reef
auto=_DIES_token(Kraken Reef)
text=When this creature dies, put a 9/9 blue Kraken creature token onto the battlefield.
mana={3}{U}
type=Creature
subtype=Whale
color=blue
power=6
toughness=6
[/card]
[card]
name=Wheel of Sun and Moon
target=player
auto=@movedto(*|targetedpersonsgraveyard) from(battlefield):all(trigger[from]) bottomoflibrary
text=Enchant player -- If a card would be put into enchanted player's graveyard from anywhere, instead that card is revealed and put on the bottom of that player's library.
mana={GW}{GW}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Whip Vine
abilities=defender,reach,doesnotuntap
auto=@each my untap sourcetap:may name(Untap Whip Vine) untap
auto={T}:name(Tap blocked flying creature):target(creature[flying;blocked]|battlefield) grant transforms((,newability[tap],newability[doesnotuntap])) grantend
text=Defender; reach (This creature can block creatures with flying.) -- You may choose not to untap Whip Vine during your untap step. -- {T}: Tap target creature with flying blocked by Whip Vine. That creature doesn't untap during its controller's untap step for as long as Whip Vine remains tapped.
mana={2}{G}
type=Creature
subtype=Plant Wall
power=1
toughness=4
[/card]
[card]
name=Whippoorwill
#MISSING: damage can't be prevented
auto={G}{G}{T}:name(Creature can't be regenerated) target(creature) transforms((,newability[cantregen],newability[exiledeath])) ueot
text={G}{G}, {T}: Target creature can't be regenerated this turn. Damage that would be dealt to that creature this turn can't be prevented or dealt instead to another creature or player. When the creature dies this turn, exile the creature.
mana={G}
type=Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Whiptongue Hydra
abilities=reach
auto=@movedto(creature[flying]|graveyard):counter(1/1) oneshot
auto=destroy all(creature[flying])
text=Reach -- When Whiptongue Hydra enters the battlefield, destroy all creatures with flying. Put a +1/+1 counter on Whiptongue Hydra for each creature destroyed this way.
mana={5}{G}
type=Creature
subtype=Lizard Hydra
power=4
toughness=4
[/card]
[card]
name=Whir of Invention
other={improvise} name(Improvise)
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=Improvise (Your artifacts can help cast this spell. Each artifact you tap after you're done activating mana abilities pays for {1}.) -- Search your library for an artifact card with converted mana cost X or less, put it onto the battlefield, then shuffle your library.
mana={X}{U}{U}{U}
type=Instant
[/card]
[card]
name=Whirlwind Denial
auto=all(*|opponentstack) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
text=For each spell and ability your opponents control, counter it unless its controller pays 4 .
mana={2}{U}
type=Instant
[/card]
[card]
name=Whirlwind of Thought
auto=@movedto(*[-creature]|myStak):draw:1 controller
text=Whenever you cast a noncreature spell, draw a card.
mana={1}{U}{R}{W}
type=Enchantment
[/card]
[card]
name=Whisper Agent
abilities=flash
aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot
auto=name(Surveil 1) reveal:psurveiloffsetplus1plusend optionone name(put in graveyard) target(<upto:psurveiloffsetplus1plusend>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<psurveiloffsetplus1plusend>*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend
text=Flash -- When Whisper Agent enters the battlefield, surveil 1. (Look at the top card of your library. You may put it into your graveyard.)
mana={1}{UB}{UB}
type=Creature
subtype=Human Rogue
power=3
toughness=2
[/card]
[card]
name=Whisper Squad
aicode=activate moveTo(myBattlefield) target(Whisper Squad|myLibrary)
auto={1}{B}:name(search card) reveal:plibrarycount optionone name(choose card) target(Whisper Squad|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}{B}: Search your library for a card named Whisper Squad, put it onto the battlefield tapped, then shuffle your library.
mana={B}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Whisper, Blood Liturgist
auto={T}{S(creature|myBattlefield)}{S(creature|myBattlefield)}:target(creature|mygraveyard) moveTo(mybattlefield)
text={T}, Sacrifice two creatures: Return target creature card from your graveyard to the battlefield.
mana={3}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Whispering Snitch
auto=@surveiled(*|mybattlefield,mystack) turnlimited:damage:1 opponent && life:1 controller
text=Whenever you surveil for the first time each turn, Whispering Snitch deals 1 damage to each opponent and you gain 1 life.
mana={1}{B}
type=Creature
subtype=Vampire Rogue
power=1
toughness=3
[/card]
[card]
name=Whispersteel Dagger
auto={3}:equip
auto=teach(creature) 2/0
auto=@combatdamageof(player) from(mytgt):may name(Cast creature from graveyard) target(*[creature]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[anytypeofmana])) ueot
auto=@combatdamagefoeof(player) from(mytgt):may name(Cast creature from graveyard) target(*[creature]|opponentgraveyard) moveto(mygraveyard) and!( transforms((,newability[canplayfromgraveyard],newability[anytypeofmana],newability[phaseaction[endofturn once] moveTo(ownergraveyard)])) ueot )!
text=Equipped creature gets +2/+0. -- Whenever equipped creature deals combat damage to a player, you may cast a creature spell from that player's graveyard this turn, and you may spend mana as though it were mana of any color to cast that spell. -- Equip 3
mana={2}{B}
type=Artifact
subtype=Equipment
[/card]
[card]
name=White Dragon
abilities=flying
auto=name(Cold Breath) target(creature|opponentbattlefield) freeze
text=Flying -- Cold Breath - When White Dragon enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
mana={4}{W}{W}
type=Creature
subtype=Dragon
power=4
toughness=4
[/card]
[card]
name=Wicked Akuba
auto=damaged(player) from(this):transforms((,newability[{B}:damage:1 opponent])) ueot
text={B}: Target player dealt damage by Wicked Akuba this turn loses 1 life.
mana={B}{B}
type=Creature
subtype=Spirit
power=2
toughness=2
[/card]
[card]
name=Wicked Guardian
auto=may ability$!name(damage) damage:2 target(other creature|myBattlefield) and!(draw:1) controller!$
text=When Wicked Guardian enters the battlefield, you may have it deal 2 damage to another creature you control. If you do, draw a card.
mana={3}{B}
type=Creature
subtype=Human Noble
power=4
toughness=2
[/card]
[card]
name=Wicked Wolf
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
auto={S(food|myBattlefield)}:counter(1/1,1) && tap(noevent) && indestructible ueot 
text=When Wicked Wolf enters the battlefield, it fights up to one target creature you don't control. -- Sacrifice a Food: Put a +1/+1 counter on Wicked Wolf. It gains indestructible until end of turn. Tap it.
mana={2}{G}{G}
type=Creature
subtype=Wolf
power=3
toughness=3
[/card]
[card]
name=Widespread Brutality
auto=_AMASS_(2) && all(creature[-army]) damage:power
text=Amass 2, then the Army you amassed deals damage equal to its power to each non-Army creature. (To amass 2, put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.)
mana={1}{B}{R}{R}
type=Sorcery
[/card]
[card]
name=Wight
auto=tap(noevent)
auto=@vampired(creature) from(this):name(Create zombie and exile card) transforms((,newability[all(creature[zpos=type:*:opponentgraveyard]|opponentgraveyard) moveto(opponentexile)],newability[name(Create zombie) token(Zombie^Creature Zombie^2/2^black) and!( tap(noevent) )!])) forever
text=Wight enters the battlefield tapped. -- Life Drain - Whenever a creature dealt damage by Wight this turn dies, create a tapped 2/2 black Zombie creature token and exile that card.
mana={1}{B}
type=Creature
subtype=Zombie Soldier
power=3
toughness=2
[/card]
[card]
name=Wild Ceratok
mana={3}{G}
type=Creature
subtype=Rhino
power=4
toughness=3
[/card]
[card]
name=Wild Crocodile
auto=reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=When this creature enters the battlefield, search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.
mana={1}{G}
type=Host Creature
subtype=Crocodile
power=1
toughness=1
[/card]
[card]
name=Wild Endeavor
auto=name(Roll a d4) all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(*|mylibrary) from(controller) once:target(<lastrollresult>land[basic]|mylibrary) moveTo(mybattlefield) and!( tap(noevent) )!],newability[name(Roll a d4) rolld4 4 winability donothing winabilityend rolld4end])) oneshot
auto=name(Roll a d4) rolld4 4 winability token(Beast,Creature Beast,3/3,green)*lastrollresult winabilityend loseability token(Beast,Creature Beast,3/3,green)*lastrollresult loseabilityend rolld4end
text=Roll two d4 and choose one result. Create a number of 3/3 green Beast creature tokens equal to that result. Then search your library for a number of basic land cards equal to the other result, put them onto the battlefield tapped, then shuffle.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Wild Might
target=creature
auto=1/1 ueot
auto=ability$!name(pay or 4/4) pay[[{2}]] name(pay 2 mana) donothing'target(creature|opponentbattlefield) 4/4 ueot!$ opponent
text=Target creature gets +1/+1 until end of turn. That creature gets an additional +4/+4 until end of turn unless any player pays {2}.
mana={1}{G}
type=Instant
[/card]
[card]
name=Wild Onslaught
kicker={4}
auto=if paid(kicker) then all(creature|myBattlefield) counter(1/1)
auto=all(creature|myBattlefield) counter(1/1)
text=Kicker {4} (You may pay an additional {4} as you cast this spell.) -- Put a +1/+1 counter on each creature you control. If this spell was kicked, put two +1/+1 counters on each creature you control instead.
mana={3}{G}
type=Instant
[/card]
[card]
name=Wild Ricochet
target=*[instant;sorcery]|stack
auto=may name(Choose new targets) fizzle && activate castcard(copied noevent costx!:mytargx:! kicked!:mytargkicked:!) && activate castcard(copied noevent costx!:mytargx:! kicked!:mytargkicked:!)
text=You may choose new targets for target instant or sorcery spell. Then copy that spell. You may choose new targets for the copy.
mana={2}{R}{R}
type=Instant
[/card]
[card]
name=Wild Shape
target=creature|mybattlefield
auto=choice name(Becomes Turtle) transforms((Turtle,setpower=1,settoughness=3,newability[hexproof])) ueot
auto=choice name(Becomes Spider) transforms((Spider,setpower=1,settoughness=5,newability[reach])) ueot
auto=choice name(Becomes Elephant) transforms((Elephant,setpower=3,settoughness=3,newability[trample])) ueot
text=Choose one. Until end of turn, target creature you control has that base power and toughness, becomes that creature type, and gains that ability. -- 1/3 Turtle with hexproof. -- 1/5 Spider with reach. -- 3/3 Elephant with trample.
mana={G}
type=Instant
[/card]
[card]
name=Wild Slash
#MISSING:Damage can't be prevented is not supported ATM
target=player,creature
auto=damage:2
text=Ferocious - If you control a creature with power 4 or greater, damage can't be prevented this turn. -- Wild Slash deals 2 damage to target creature or player.
mana={R}
type=Instant
[/card]
[card]
name=Wild-Magic Sorcerer
auto=@movedto(*|mystack) from(myexile) turnlimited:name(Gain cascade) all(trigger[to]) transforms((,newability[cascade:plibrarycount])) ueot
text=The first spell you cast from exile each turn has cascade. (When you cast your first spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)
mana={3}{R}
type=Creature
subtype=Orc Shaman
power=4
toughness=3
[/card]
[card]
name=Wildborn Preserver
abilities=flash,reach
auto=@movedTo(other creature[-human]|myBattlefield):name(Pay X and put X counter) may pay({x}) name(Pay X and put X counter) name(Pay X and put X counter) counter(1/1,X) all(this)
text=Flash -- Reach -- Whenever another non-Human creature enters the battlefield under your control, you may pay {X}. When you do, put X +1/+1 counters on Wildborn Preserver.
mana={1}{G}
type=Creature
subtype=Elf Archer
power=2
toughness=2
[/card]
[card]
name=Wilderness Reclamation
auto=@each my endofturn:untap all(land|myBattlefield)
text=At the beginning of your end step, untap all lands you control.
mana={3}{G}
type=Enchantment
[/card]
[card]
name=Wildfire Elemental
auto=@noncombatdamagefoeof(player):all(creature|mybattlefield) 1/0 ueot
text=Whenever an opponent is dealt noncombat damage, creatures you control get +1/+0 until end of turn.
mana={2}{R}{R}
type=Creature
subtype=Elemental
power=3
toughness=3
[/card]
[card]
name=Wildfire Eternal
auto=_BLOCKED_life:-4 opponent
auto=@combat(notblocked) source(this):target(*[instant;sorcery]|myHand) and! ( activate castcard(normal) )!
text=Afflict 4 (Whenever this creature becomes blocked, defending player loses 4 life.) -- Whenever Wildfire Eternal attacks and isn't blocked, you may cast an instant or sorcery card from your hand without paying its mana cost.
mana={3}{R}
type=Creature
subtype=Zombie Jackal Cleric
power=1
toughness=4
[/card]
[card]
name=Wildgrowth Walker
auto=@explored(creature|mybattlefield):counter(1/1,1) && life:3 controller
text=Whenever a creature you control explores, put a +1/+1 counter on Wildgrowth Walker and you gain 3 life.
mana={1}{G}
type=Creature
subtype=Elemental
power=1
toughness=3
[/card]
[card]
name=Wildwood Patrol
abilities=trample
text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.)
mana={2}{G}
type=Creature
subtype=Centaur Scout
power=4
toughness=2
[/card]
[card]
name=Wildwood Scourge
auto=counter(1/1,X)
auto=@counteradded(1/1) from(creature[-hydra]|mybattlefield):counter(1/1) all(this)
text=Wildwood Scourge enters the battlefield with X +1/+1 counters on it. -- Whenever one or more +1/+1 counters are put on another non-Hydra creature you control, put a +1/+1 counter on Wildwood Scourge.
mana={X}{G}
type=Creature
subtype=Hydra
power=0
toughness=0
[/card]
[card]
name=Wildwood Tracker
auto=@combat(attacking) source(this) restriction type(other creature[-human]|mybattlefield)~morethan~0:1/1 ueot
auto=@combat(blocking) source(this) restriction type(other creature[-human]|mybattlefield)~morethan~0:1/1 ueot
text=Whenever Wildwood Tracker attacks or blocks, if you control another non-Human creature, Wildwood Tracker gets +1/+1 until end of turn.
mana={G}
type=Creature
subtype=Elf Warrior
power=1
toughness=1
[/card]
[card]
name=Wilhelt, the Rotcleaver
auto=@movedto(other zombie[-counter{0/0.1.Decayed}]|graveyard) from(mybattlefield):may name(Create a zombie) token(Zombie Dec)
auto=@each my endofturn:may name(Sacrifice a zombie and draw) target(zombie|mybattlefield) sacrifice and!( draw:1 controller )!
text=Whenever another zombie you control dies, if it didn't have decayed, create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.) -- At the beginning of your end step, you may sacrifice a Zombie. If you do, draw a card.
mana={2}{U}{B}
type=Legendary Creature
subtype=Zombie Warrior
power=3
toughness=3
[/card]
[card]
name=Will of the All-Hunter
target=creature
auto=if target(creature[blocking]) then counter(1/1,2) else target(creature) 2/2 ueot
autohand=__CYLCING__({2})
text=Target creature gets +2/+2 until end of turn. If it's blocking, instead put two +1/+1 counters on it. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{W}
type=Instant
[/card]
[card]
name=Willbreaker
auto=@targeted(creature|opponentbattlefield) from(*|myzones):name(Gain control of creature) all(trigger[to]) steal
text=Whenever a creature an opponent controls becomes the target of a spell or ability you control, gain control of that creature for as long as you control Willbreaker.
mana={3}{U}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
[card]
name=Willing Test Subject
abilities=reach
auto={6}:all(this) rolld6 6 winability donothing winabilityend loseability donothing loseabilityend rolld6end
auto=@dierolled(*|battlefield) result(4) from(controller):name(Get 1/1 counter) name(Get 1/1 counter) counter(1/1) all(this)
auto=@dierolled(*|battlefield) result(5) from(controller):name(Get 1/1 counter) name(Get 1/1 counter) counter(1/1) all(this)
auto=@dierolled(*|battlefield) result(6) from(controller):name(Get 1/1 counter) name(Get 1/1 counter) counter(1/1) all(this)
text=Reach -- Whenever you roll a 4 or higher on a die, put a +1/+1 counter on Willing Test Subject. -- {6}: Roll a six-sided die.
mana={2}{G}
type=Creature
subtype=Spider Monkey Scientist
power=2
toughness=2
[/card]
[card]
name=Willow Geist
abilities=trample
auto=@movedto(*|mybattlefield,mystack,myhand,mylibrary,mysideboard,myexile,mycommandzone) from(mygraveyard):name(Put 1/1 counter) counter(1/1)
auto=_DIES_name(Gain life) life:p controller
text=Trample -- Whenever one or more cards leave your graveyard, put a +1/+1 counter on Willow Geist. -- When Willow Geist dies, you gain life equal to its power.
type=Creature
subtype=Treefolk Spirit
mana={G}
power=1
toughness=1
[/card]
[card]
name=Willowdusk, Essence Seer
auto={1}{T}:if compare(lifegain)~morethan~compare(lifelost) then target(other creature|battlefield) counter(1/1.lifegain) else counter(1/1.lifelost) assorcery
text={1}, {T}: Choose another target creature. Put a number of +1/+1 counters on it equal to the amount of life you gained this turn or the amount of life you lost this turn, whichever is greater. Activate only as a sorcery.
mana={1}{B}{G}
type=Legendary Creature
subtype=Dryad Druid
power=3
toughness=3
[/card]
[card]
name=Wilt
abilities=cycling
target=artifact,enchantment
auto=destroy
autohand=__CYCLING__({2})
text=Destroy target artifact or enchantment. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{G}
type=Instant
[/card]
[card]
name=Wily Goblin
auto=token(435451)
text=When Wily Goblin enters the battlefield, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={R}{R}
type=Creature
subtype=Goblin Pirate
power=1
toughness=1
[/card]
[card]
name=Wind Strider
abilities=flash, flying
text=Flash -- Flying
mana={4}{U}
type=Creature
subtype=Merfolk Wizard
power=3
toughness=3
[/card]
[card]
name=Windbrisk Heights
abilities=hiddenface
aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myExile) and!(deplete:4)!])) ueot
auto=tap(noevent) && name(look) reveal:4 optionone name(Exile a Card) target(<1>*|reveal) moveto(myExile) optiononeend optiontwo name(put in library) all(*|reveal) bottomoflibrary optiontwoend revealend
auto={T}:Add{W}
auto={W}{T}:if restriction{raid}~morethan~3 then may castcard(normal) target(*|myExile)
text=Hideaway (This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library.) -- {T}: Add {W}. -- {W}, {T}: You may play the exiled card without paying its mana cost if you attacked with three or more creatures this turn.
type=Land
[/card]
[card]
name=Windcaller Aven
abilities=flying
autohand={U}{cycle}:name(cycling) draw:1 controller
autohand=@cycled(this|hand):target(creature) flying ueot
text=Flying -- Cycling {U} ({U}, Discard this card: Draw a card.) -- When you cycle Windcaller Aven, target creature gains flying until end of turn.
mana={4}{U}{U}
type=Creature
subtype=Bird Wizard
power=4
toughness=3
[/card]
[card]
name=Windgrace Acolyte
abilities=flying
auto=deplete:3 && life:3
text=Flying -- When Windgrace Acolyte enters the battlefield, put the top three cards of your library into your graveyard and you gain 3 life.
mana={4}{B}
type=Creature
subtype=Cat Warrior
power=3
toughness=2
[/card]
[card]
name=Windgrace's Judgment
target=*[-land]|opponentBattlefield
auto=destroy
text=For any number of opponents, destroy target nonland permanent that player controls.
mana={3}{B}{G}
type=Instant
[/card]
[card]
name=Winding Way
auto=choice name(Creature) reveal:4 optionone name(Get Creature) target(creature|reveal) moveto(myhand) and!( all(creature|reveal) moveto(myhand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend
auto=choice name(Land) reveal:4 optionone name(Get Land) target(land|reveal) moveto(myhand) and!( all(land|reveal) moveto(myhand) )! optiononeend optiontwo name(put in grave) target(<1>*|reveal) moveto(mygraveyard) and!( all(*|reveal) moveto(mygraveyard) )! optiontwoend revealend
text=Choose creature or land. Reveal the top four cards of your library. Put all cards of the chosen type revealed this way into your hand and the rest into your graveyard.
mana={1}{G}
type=Sorcery
[/card]
[card]
name=Windrider Wizard
abilities=flying
auto=@movedTo(*[instant;sorcery;wizard]|myStack):may draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Flying -- Whenever you cast an instant, sorcery, or Wizard spell, you may draw a card. If you do, discard a card.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Winds of Abandon
target=creature|opponentbattlefield
abilities=overload
other={4}{W}{W} name(Overload)
auto=overload moveto(exile) all(creature|opponentbattlefield)
auto=paidmana moveto(exile)
auto=paidmana ability$!name(Reveal) reveal:plibrarycount optionone name(choose basic land) target(<1>land[basic]|reveal) moveto(myBattlefield) optiononeend optiontwo name(put back) moveto(ownerlibrary) all(*|reveal) optiontwoend afterrevealed tap(noevent) notatarget(basic[fresh]|myBattlefield) afterrevealedend revealend!$ opponent
auto=overload ability$!name(Reveal) reveal:plibrarycount optionone name(choose basic lands) target(<type:creature:mybattlefield>land[basic]|reveal) moveto(myBattlefield) optiononeend optiontwo name(put back) moveto(ownerlibrary) all(*|reveal) optiontwoend afterrevealed tap(noevent) notatarget(basic[fresh]|myBattlefield) afterrevealedend revealend!$ opponent
text=Exile target creature you don't control. For each creature exiled this way, its controller searches their library for a basic land card. Those players put those cards onto the battlefield tapped, then shuffle their libraries. -- Overload {4}{W}{W} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
mana={1}{W}
type=Sorcery
[/card]
[card]
name=Winds of Rebuke
target=*[-land]
auto=moveto(ownerhand)
auto=deplete:2 controller
auto=deplete:2 opponent
text=Return target nonland permanent to its owner's hand. Each player puts the top two cards of his or her library into his or her graveyard.
mana={1}{U}
type=Instant
[/card]
[card]
name=Windstorm Drake
abilities=flying
auto=lord(other creature[flying]|myBattlefield) +1/+0
text=Flying -- Other creatures you control with flying get +1/+0.
mana={4}{U}
type=Creature
subtype=Drake
power=3
toughness=3
[/card]
[card]
name=Wing Shredder
abilities=reach,nightbound
backside=Bird Admirer
auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes night) activate castcard(noevent named!:Night:!)
text=Reach -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Bird Admirer
type=Creature
subtype=Human Werewolf
color=green
power=3
toughness=5
[/card]
[card]
name=Winged Boots
auto={1}:equip
auto=teach(creature) flying
auto=@targeted(mytgt) from(*|opponentzones):choice name(This spell costs 4 more) name(This spell costs 4 more) target(*|opponentzones) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) oneshot
text=Equipped creature has flying and ward {4}. (Whenever equipped creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {4}.) -- Equip {1}
mana={1}{U}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Winged Shepherd
abilities=flying,vigilance,cycling
autohand=__CYCLING__({W})
text=Flying, vigilance -- Cycling {W} ({W}, Discard this card: Draw a card.)
mana={5}{W}
type=Creature
subtype=Angel
power=3
toughness=3
[/card]
[card]
name=Winged Temple of Orazca
auto={T}:add{W}
auto={T}:add{G}
auto={T}:add{R}
auto={T}:add{U}
auto={T}:add{B}
auto={1}{G}{U}{T}:name(Target creature gains flying and X/X) name(Target creature gains flying and X/X) target(creature|mybattlefield) transforms((,newability[flying],newability[power/power])) ueot
text=(Transforms from Hadana's Climb.) -- {T}: Add one mana of any color. -- {1}{G}{U}, {T}: Target creature you control gains flying and gets +X/+X until end of turn, where X is its power.
type=Legendary Land
[/card]
[card]
name=Winged Words
auto=draw:2
autohand=aslongas(creature[flying]|mybattlefield) altercost(colorless,-1)
text=This spell costs {1} less to cast if you control a creature with flying. -- Draw two cards.
mana={2}{U}
type=Sorcery
[/card]
[card]
name=Wingfold Pteron
auto=this(counter{0/0.1.Flying}>=1) flying
auto=this(counter{0/0.1.Hexproof}>=1) opponentshroud
auto=choice name(Flying) counter(0/0,1,Flying)
auto=choice name(First Strike) counter(0/0,1,Hexproof)
text=Wingfold Pteron enters the battlefield with your choice of a flying counter or a hexproof counter on it. (A creature with hexproof can't be the target of spells or abilities your opponents control.)
mana={5}{U}
type=Creature
subtype=Dinosaur
power=3
toughness=6
[/card]
[card]
name=Wings of Hubris
auto={1}:equip
auto=teach(creature) flying
auto=teach(creature) transforms((,newability[{S}:teach(creature) unblockable,newability[@each my endofturn:sacrifice(mytgt)]]))
text=Equipped creature has flying. -- Sacrifice Wings of Hubris: Equipped creature can't be blocked this turn. Sacrifice it at the beginning of the next end step. -- Equip 1 ( 1 : Attach to target creature you control. Equip only as a sorcery.)
mana={2}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Wings of the Cosmos
target=creature
auto=transforms((,newability[1/3],newability[flying],newability[untap])) ueot
text=Target creature gets +1/+3 and gains flying until end of turn. Untap it.
mana={W}
type=Instant
[/card]
[card]
name=Wings of the Guard
abilities=flying
auto=_ATTACKING_1/1 ueot
text=Flying -- Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.)
mana={1}{W}
type=Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Wingspan Mentor
auto=name(Put flying counter) target(creature[-human]|myBattlefield) transforms((,newability[counter(0/0.1.Flying)],newability[this(counter{0/0.1.Flying}>=1) flying])) forever
auto={2}{U}{T}:name(Put 1/1 counters) all(creature[flying]|myBattlefield) counter(1/1)
text=When Wingspan Mentor enters the battlefield, put a flying counter on target non-Human creature you control. -- {2}{U}, {T}: Put a +1/+1 counter on each creature you control with flying.
mana={2}{U}
type=Creature
subtype=Human Wizard
power=1
toughness=3
[/card]
[card]
name=Wingsteed Trainer
auto=name(Conjure Stormfront Pegasus) transforms((,newability[name(Conjure Stormfront Pegasus) conjure cards(Stormfront Pegasus) zone(myhand)])) oneshot
auto=@combat(attacking) source(this):name(Conjure Stormfront Pegasus) transforms((,newability[name(Conjure Stormfront Pegasus) conjure cards(Stormfront Pegasus) zone(myhand)])) oneshot
text=When Wingsteed Trainer enters the battlefield or attacks, conjure a Stormfront Pegasus card into your hand.
mana={3}{W}
type=Creature
subtype=Human
power=2
toughness=3
[/card]
[card]
name=Winota, Joiner of Forces
auto=@combat(attacking) source(creature[-human]|myBattlefield):Reveal:6 revealzone(mylibrary) optionone name(Get Creature) target(human|reveal) transforms((,newability[moveto(mybattlefield)],newability[battleready],newability[indestructible])) ueot optiononeend optiontwo choice name(Shuffle) all(*|reveal) bottomoflibrary && shuffle controller optiontwoend revealend
text=Whenever a non-Human creature you control attacks, look at the top six cards of your library. You may put a Human creature card from among them onto the battlefield tapped and attacking. It gains indestructible until end of turn. Put the rest of the cards on the bottom of your library in a random order.
mana={2}{R}{W}
type=Legendary Creature
subtype=Human Warrior
power=4
toughness=4
[/card]
[card]
name=Winter Orb
auto=aslongas sourcenottap:lord(land) doesnotuntap
auto=@each my untap:untap notatarget(land|mybattlefield)
auto=@each opponent untap:ability$!name(untap land) untap notatarget(land|mybattlefield)!$ opponent
text=As long as Winter Orb is untapped, players can't untap more than one land during their untap steps.
mana={2}
type=Artifact
[/card]
[card]
name=Winter's Rest
target=creature
auto=teach(creature) tap
auto=aslongas(*[snow]|myBattlefield)~morethan~0 teach(creature) doesnotuntap
text=Enchant creature -- When Winter's Rest enters the battlefield, tap enchanted creature. -- As long as you control another snow permanent, enchanted creature doesn't untap during its controller's untap step.
mana={1}{U}
type=Snow Enchantment
subtype=Aura
[/card]
[card]
name=Winterflame
auto=choice name(Tap creature) tap(noevent) target(creature)
auto=choice name(Damage 2 target creature) damage:2 target(creature)
auto=choice name(Choose both) tap(noevent) target(creature) && ability$!name(Damage 2 target creature) damage:2 target(creature)!$ controller
text=Choose one or both -- Tap target creature. -- Winterflame deals 2 damage to target creature.
mana={1}{U}{R}
type=Instant
[/card]
[card]
name=Wintermoor Commander
abilities=deathtouch
anyzone=2/type:creature[knight]:battlefield cdaactive
auto=_ATTACKING_target(creature[knight]) indestructible ueot
text=Deathtouch -- Wintermoor Commander's toughness is equal to the number of Knights you control. -- Whenever Wintermoor Commander attacks, another target Knight you control gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={W}{B}
type=Creature
subtype=Human Knight
power=2
toughness=*
[/card]
[card]
name=Winterthorn Blessing
flashback={1}{G}{U}
auto=if type(creature|mybattlefield)~morethan~0 then may name(Put 1/1 counter) name(Put 1/1 counter) target(creature|myBattlefield) counter(1/1)
auto=if type(creature|opponentbattlefield)~morethan~0 then ability$!name(Tap opponent creature) may name(Tap opponent creature) target(creature|opponentbattlefield) freeze!$ controller
text=Put a +1/+1 counter on up to one target creature you control. Tap up to one target creature you don't control, and that creature doesn't untap during its controller's next untap step. -- Flashback {1}{G}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={G}{U}
type=Sorcery
[/card]
[card]
name=Wish
target=*[-dungeon]|mysideboard
auto=name(Can play this turn) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[phaseaction[my endofturn once checkex] moveto(mysideboard)])) ueot )!
text=You may play a card you own from outside the game this turn.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Wishclaw Talisman
auto=counter(0/0,3,wish)
auto={1}{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 && moveto(opponentBattlefield) myturnonly
text=Wishclaw Talisman enters the battlefield with three wish counters on it. -- {1}, {T}, Remove a wish counter from Wishclaw Talisman: Search your library for a card, put it into your hand, then shuffle your library. An opponent gains control of Wishclaw Talisman. Activate this ability only during your turn.
mana={1}{B}
type=Artifact
[/card]
[card]
name=Wishcoin Crab
mana={3}{U}
type=Creature
subtype=Crab
power=2
toughness=5
[/card]
[card]
name=Wishful Merfolk
abilities=defender
auto={1}{U}:-defender ueot && transforms((Human)) ueot
text=Defender -- {1}{U}: Wishful Merfolk loses defender and becomes a Human until end of turn.
mana={1}{U}
type=Creature
subtype=Merfolk
power=3
toughness=2
[/card]
[card]
name=Witch of the Moors
abilities=deathtouch
auto=@each endofturn restriction{compare(lifegain)~morethan~0}:ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent
auto=@each endofturn restriction{compare(lifegain)~morethan~0}:moveto(myhand) target(creature|mygraveyard)
text=Deathtouch -- At the beginning of your end step, if you gained life this turn, each opponent sacrifices a creature and you return up to one target creature card from your graveyard to your hand.
mana={3}{B}{B}
type=Creature
subtype=Human Warlock
power=4
toughness=4
[/card]
[card]
name=Witch's Cauldron
auto={1}{B}{T}{S(creature|myBattlefield)}:life:1 controller && draw:1 controller
text={1}{B}, {T}, Sacrifice a creature: You gain 1 life and draw a card.
mana={B}
type=Artifact
[/card]
[card]
name=Witch's Clinic
auto={T}:add{C}
auto={2}{T}:target(*[iscommander]|battlefield) transforms((,newability[lifelink])) ueot
text={T}: Add {C}. -- {2}, {T}: Target commander gains lifelink until end of turn.
type=Land
[/card]
[card]
name=Witch's Cottage
auto=aslongas(other land[swamp]|myBattlefield) tap(noevent) <3 oneshot
auto=aslongas(other land[swamp]|myBattlefield) >2 may moveTo(myLibrary) target(creature|mygraveyard) once
text={T}: Add {B} -- Witch's Cottage enters the battlefield tapped unless you control three or more other Swamps. -- When Witch's Cottage enters the battlefield untapped, you may put target creature card from your graveyard on top of your library.
type=Land
subtype=Swamp
[/card]
[card]
name=Witch's Oven
auto={T}{S(creature[toughness<4]|myBattlefield)}:token(Food)
auto={T}{S(creature[toughness>=4]|myBattlefield)}:token(Food)*2
text={T}, Sacrifice a creature: Create a Food token. If the sacrificed creature's toughness was 4 or greater, create two Food tokens instead. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={1}
type=Artifact
[/card]
[card]
name=Witch's Vengeance
auto=chooseatype all(creature[chosentype]) -3/-3 ueot chooseend
text=Creatures of the creature type of your choice get -3/-3 until end of turn.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Witching Well
aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto={3}{U}{S}:draw:2 controller
text=When Witching Well enters the battlefield, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) -- {3}{U}, Sacrifice Witching Well: Draw two cards.
mana={U}
type=Artifact
[/card]
[card]
name=Withdraw
auto=ability$!name(Bounce) moveto(ownerhand) notatarget(creature)!$ controller
auto=target(creature) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?moveto(ownerhand)])) forever
text=Return target creature to its owner's hand. Then return another target creature to its owner's hand unless its controller pays {1}.
mana={U}{U}
type=Instant
[/card]
[card]
name=Witherbloom Apprentice
auto=@movedto(*[instant;sorcery]|mystack):life:1 controller && life:-1 opponent
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, each opponent loses 1 life and you gain 1 life.
mana={B}{G}
type=Creature
subtype=Human Druid
power=2
toughness=2
[/card]
[card]
name=Witherbloom Campus
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=tap(noevent)
auto={4}{T}:name(Scry 1) scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={T}:add{B}
auto={T}:add{G}
text=Witherbloom Campus enters the battlefield tapped. -- {T}: Add {B} or {G}. -- {4}, {T}: Scry 1.
type=Land
[/card]
[card]
name=Witherbloom Command
auto=choice name(You mill and destroy permanent) transforms((,newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(myhand)])) oneshot && ability$!name(Destroy permanent) name(Destroy permanent) target(*[-creature;-land;manacost<=2]|battlefield) destroy!$ controller 
auto=choice name(Opponent mills and destroy permanent) transforms((,newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(myhand)])) oneshot && ability$!name(Destroy permanent) name(Destroy permanent) target(*[-creature;-land;manacost<=2]|battlefield) destroy!$ controller 
auto=choice name(You mill and creature gets -3/-1) transforms((,newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(myhand)])) oneshot && ability$!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller 
auto=choice name(Opponent mills and creature gets -3/-1) transforms((,newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(myhand)])) oneshot && ability$!!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller 
auto=choice name(You mill and you gain life) transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[deplete:3 controller],newability[target(land|mygraveyard) moveto(myhand)])) oneshot
auto=choice name(Opponent mills and you gain life) transforms((,newability[life:-2 opponent],newability[life:2 controller],newability[deplete:3 opponent],newability[target(land|mygraveyard) moveto(myhand)])) oneshot
auto=choice name(Destroy permanent and creature gets -3/-1) target(*[-creature;-land;manacost<=2]|battlefield) destroy && ability$!name(Creature gets -3/-1) name(Creature gets -3/-1) target(creature|battlefield) -3/-1 ueot!$ controller 
auto=choice name(Destroy permanent and you gain life) target(*[-creature;-land;manacost<=2]|battlefield) destroy && life:2 controller && life:-2 opponent
auto=choice name(Creature gets -3/-1 and you gain life) target(creature|battlefield) -3/-1 ueot && life:2 controller && life:-2 opponent
text=Choose two -- Target player mills three cards, then you return a land card from your graveyard to your hand. -- Destroy target noncreature, nonland permanent with mana value 2 or less. -- Target creature gets -3/-1 until end of turn. -- Target opponent loses 2 life and you gain 2 life.
mana={B}{G}
type=Sorcery
[/card]
[card]
name=Witherbloom Pledgemage
auto=@movedto(*[instant;sorcery]|mystack):name(Gain 1 life) life:1 controller
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, you gain 1 life.
mana={3}{BG}{BG}
type=Creature
subtype=Treefolk Warlock
power=5
toughness=5
[/card]
[card]
name=Withercrown
target=creature
auto=teach(creature) transforms((,setpower=0,newability[upcost[{L:1}] sacrifice]))
text=Enchant creature -- Enchanted creature has base power 0 and has "At the beginning of your upkeep, you lose 1 life unless you sacrifice this creature."
mana={1}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Without Weakness
abilities=cycling
target=creature|myBattlefield
auto=indestructible
autohand=__CYCLING__({2})
text=Target creature you control gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it. If its toughness is 0 or less, it's still put into its owner's graveyard.) -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={1}{B}
type=Instant
[/card]
[card]
name=Witness of Tomorrows
abilities=flying
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={3}{U}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
text=Flying -- {3}{U}: Scry 1.
mana={4}{U}
type=Enchantment Creature
subtype=Sphinx
power=3
toughness=4
[/card]
[card]
name=Wizard Class
abilities=nomaxhand
auto=counter(0/0,1,Level)
auto=this(variable{hascntlevel}=1) {2}{U}:name(Level 2) counter(0/0,1,Level) && draw:2 controller asSorcery
auto=this(variable{hascntlevel}=2) {4}{U}:name(Level 3) counter(0/0,1,Level) asSorcery
auto=@drawof(player) restriction{compare(hascntlevel)~equalto~3}:name(Put 1/1 counter) target(creature|myBattlefield) counter(1/1)
text=(Gain the next level as a sorcery to add its ability.) -- You have no maximum hand size. -- {2}{U}: Level 2 -- When this Class becomes level 2, draw two cards. -- {4}{U}: Level 3 -- Whenever you draw a card, put a +1/+1 counter on target creature you control.
mana={U}
type=Enchantment
subtype=Class
[/card]
[card]
name=Wizard's Lightning
target=player,creature,planeswalker
auto=damage:3
text=This spell costs {2} less to cast if you control a Wizard. -- Wizard's Lightning deals 3 damage to any target.
other={R} (Wizard on my Battlefield)
otherrestriction=type(*[wizard]|mybattlefield)
mana={2}{R}
type=Instant
[/card]
[card]
name=Wizard's Retort
target=*|stack
other={U}{U} name(reduced by Wizard)
otherrestriction=type(Wizard|myBattlefield)~morethan~0
restriction=type(Wizard|myBattlefield)~equalto~0
auto=fizzle
text=This spell costs {1} less to cast if you control a Wizard. -- Counter target spell.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Wizard's Spellbook
auto={T} restriction{compare(pginstantsorcery)~morethan~0}:name(Exile and roll d20) transforms((,newability[target(*[instant;sorcery]|mygraveyard) name(Exile instant or sorcery) moveto(myexile) and!( counter(0/0.1.SpellbookExiled) )!],newability[rolld20 20 winability donothing winabilityend rolld20end])) oneshot asSorcery
auto=@dierolled(this) result(1) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(2) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(3) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(4) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(5) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(6) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(7) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(8) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(9) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[gainedexiledeath],newability[canplayfromexile],newability[phaseaction[my endofturn once] counter(0/0.1.SpellbookExiled)])) ueot
auto=@dierolled(this) result(10) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(11) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(12) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(13) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(14) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(15) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(16) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(17) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(18) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(19) from(controller):name(Can play the exiled card) all(*[fresh;counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{1}:name(Pay 1 and cast copy) activate castcard(copied)])) ueot
auto=@dierolled(this) result(20) from(controller):name(Can play all the exiled cards) all(*[counter{0/0.1.SpellbookExiled}]|myexile) transforms((,newability[{0}:name(Cast copy) activate castcard(copied)])) ueot
text={T}: Exile target instant or sorcery card from a graveyard. Roll a d20. Activate only as a sorcery. -- 1-9 | Copy that card. You may cast the copy. -- 10-19 | Copy that card. You may cast the copy by paying {1} rather than paying its mana cost. -- 20 | Copy each card exiled with Wizard's Spellbook. You may cast any number of the copies without paying their mana costs.
mana={5}{U}{U}
type=Artifact
[/card]
[card]
name=Woe Strider
auto=token(Goat,Creature Goat,0/1,white)
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto={S(other creature|myBattlefield}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
retrace={3}{B}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)} name(Escape)
auto=if paid(retrace) then counter(1/1,2)
text=When Woe Strider enters the battlefield, create a 0/1 white Goat creature token. -- Sacrifice another creature: Scry 1. -- Escape-{3}{B}{B}, Exile four other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Woe Strider escapes with two +1/+1 counters on it.
mana={2}{B}
type=Creature
subtype=Horror
power=3
toughness=2
[/card]
[card]
name=Wojek Apothecary
auto={T}:name(Prevent 1 damage) target(creature|battlefield) transforms((,newability[prevent:1],newability[all(creature[share!color!]|battlefield) prevent:1])) ueot
text=Radiance-{T}: Prevent the next 1 damage that would be dealt to target creature and each other creature that shares a color with it this turn.
mana={2}{W}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=1
[/card]
[card]
name=Wojek Bodyguard
abilities=mentor
auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot
auto=@combat(attacking) source(this) restriction{type(creature[attacking]|myBattlefield)~equalto~1}:all(this) removefromcombat && untap
auto=@combat(blocking) source(this) restriction{type(creature[blocking]|myBattlefield)~equalto~1}:all(this) removefromcombat && untap
text=Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- Wojek Bodyguard can't attack or block alone.
mana={2}{R}
type=Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Wojek Embermage
auto={T}:name(Damage creature) target(creature) transforms((,newability[all(creature[share!color!]) damage:1])) oneshot
text=Radiance-{T}: Wojek Embermage deals 1 damage to target creature and each other creature that shares a color with it.
mana={3}{R}
type=Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Wolf Gar
auto=@movedto(this|ownergraveyard) from(battlefield):counter(0/0,1,loyalty) all(Garruk)
text=When this creature dies, put a loyalty counter on each Garruk you control.
type=Creature
subtype=Wolf
power=2
toughness=2
[/card]
[card]
name=Wolf's Quarry
auto=token(-473146)*3
text=Create three 1/1 green Boar creature tokens with "When this creature dies, create a Food token." (A Food token is an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Wolfrider's Saddle
auto=livingweapontoken(Wolf,Creature Wolf,2/2,green)
auto={3}:equip
auto=teach(creature) 1/1
auto=teach(creature) oneblocker
text=When Wolfrider's Saddle enters the battlefield, create a 2/2 green Wolf creature token, then attach Wolfrider's Saddle to it. -- Equipped creature gets +1/+1 and can't be blocked by more than one creature. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
mana={3}{G}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Wolfwillow Haven
target=land
auto=teach(land) transforms((,newability[@tappedformana(mytgt):produceextra:{G}]))
auto={4}{G}{S}:token(Wolf,Creature Wolf,2/2,green) myTurnOnly
text=Enchant land -- Whenever enchanted land is tapped for mana, its controller adds an additional {G}. -- {4}{G}, Sacrifice Wolfwillow Haven: Create a 2/2 green Wolf creature token. Activate this ability only during your turn.
mana={1}{G}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Wolverine Riders
auto=@each upkeep:token(Warrior,Creature Elf Warrior,1/1,green)
auto=@movedto(other elf|mybattlefield):name(Gain life) all(trigger[to]) transforms((,newability[life:toughness controller])) oneshot
text=At the beginning of each upkeep, create a 1/1 green Elf Warrior creature token. -- Whenever another Elf enters the battlefield under your control, you gain life equal to its toughness.
mana={4}{G}{G}
type=Creature
subtype=Elf Warrior
power=4
toughness=4
[/card]
[card]
name=Wood Sage
aicode=activate target(<4>creature[chosenname;zpos<=4]|mylibrary) moveto(myhand) and!( all(*[zpos<=4]|mylibrary) moveto(mygraveyard) )!
auto={T}:name(Name a creature) ability$!chooseaname reveal:4 optionone name(Put named creatures in hand) name(Put named creatures in hand) target(<4>creature[chosenname]|reveal) moveto(myhand) optiononeend optiontwo name(Put in graveyard) target(<4>*|reveal) moveto(mygraveyard) optiontwoend revealend chooseend nonland!$ controller
text={T}: Name a creature card. Reveal the top four cards of your library and put all of them with that name into your hand. Put the rest into your graveyard.
mana={G}{U}
type=Creature
subtype=Human Druid
power=1
toughness=1
[/card]
[card]
name=Woodland Champion
auto=@movedTo(*[token]|myBattlefield):counter(1/1)
text=Whenever one or more tokens enter the battlefield under your control, put that many +1/+1 counters on Woodland Champion.
mana={1}{G}
type=Creature
subtype=Elf Scout
power=2
toughness=2
[/card]
[card]
name=Woodland Chasm
auto=tap(noevent)
text=({T}: Add {B} or {G}.) -- Woodland Chasm enters the battlefield tapped.
type=Snow Land
subtype=Swamp Forest
[/card]
[card]
name=Woodland Mystic
auto={T}:add{G}
text={T}: Add {G}.
mana={1}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
[card]
name=Woodvine Elemental
abilities=trample
auto=@combat(attacking) source(this) restriction{compare(ishuman)~morethan~0}:name(Reveal your top card) reveal:1 revealzone(mylibrary) optionone name(Draw non-land card) target(*[-land]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[draw:1],newability[all(creature[attacking]|myBattlefield) 1/1 ueot])) oneshot afterrevealedend revealend
auto=@combat(attacking) source(this) restriction{compare(ishuman)~morethan~0}:name(Reveal opponent top card) reveal:1 revealzone(opponentlibrary) optionone name(Draw non-land card) target(*[-land]|reveal) moveto(opponentlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) target(*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed all(tobecast|opponentlibrary) transforms((,newability[draw:1],newability[all(creature[attacking]|opponentBattlefield) 1/1 ueot])) oneshot afterrevealedend revealend
auto=@combat(attacking) source(this) restriction{compare(ishuman)~equalto~0}:ability$!name(Reveal your top card) reveal:1 revealzone(mylibrary) optionone name(Draw non-land card) target(*[-land]|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) target(*|reveal) moveto(mylibrary) optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[draw:1],newability[all(creature[attacking]|opponentBattlefield) 1/1 ueot])) oneshot afterrevealedend revealend!$ opponent
auto=@combat(attacking) source(this) restriction{compare(ishuman)~equalto~0}:ability$!name(Reveal opponent top card) reveal:1 revealzone(opponentlibrary) optionone name(Draw non-land card) target(*[-land]|reveal) moveto(opponentlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put back) target(*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed all(tobecast|opponentlibrary) transforms((,newability[draw:1],newability[all(creature[attacking]|myBattlefield) 1/1 ueot])) oneshot afterrevealedend revealend!$ opponent
text=Trample -- Parley - Whenever Woodvine Elemental attacks, each player reveals the top card of his or her library. For each nonland card revealed this way, attacking creatures you control get +1/+1 until end of turn. Then each player draws a card.
mana={4}{G}{W}
type=Creature
subtype=Elemental
power=4
toughness=4
[/card]
[card]
name=Words of War
auto={1}:transforms((,newability[replacedraw ability$!name(Damage player or creature) choice name(Damage creature) target(creature|battlefield) damage:2 _ choice name(Damage opponent) damage:2 opponent _ choice name(Damage yourself) damage:2 controller!$ controller])) ueot
text={1}: The next time you would draw a card this turn, Words of War deals 2 damage to target creature or player instead.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Words of Waste
auto={1}:transforms((,newability[replacedraw ability$!name(Discard a card) notatarget(*|myhand) reject!$ opponent])) ueot
text={1}: The next time you would draw a card this turn, each opponent discards a card instead.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Words of Wilding
auto={1}:transforms((,newability[replacedraw create(Bear:Creature Bear:2/2:green)])) ueot
text={1}: The next time you would draw a card this turn, put a 2/2 green Bear creature token onto the battlefield instead.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Words of Wind
auto={1}:transforms((,newability[replacedraw target(*|mybattlefield) moveto(ownerhand) and!( ability$!name(Return a permanent) notatarget(*|mybattlefield) moveto(ownerhand)!$ opponent )!])) ueot
text={1}: The next time you would draw a card this turn, each player returns a permanent he or she controls to its owner's hand instead.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Words of Worship
auto={1}:transforms((,newability[replacedraw life:5 controller])) ueot
text={1}: The next time you would draw a card this turn, you gain 5 life instead.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Workshop Elders
auto=@each my combatbegins: may target(*[artifact,-creature]|myBattlefield) transforms((,newability[counter(1/1,4)],Artifact Creature,setpower=0,settoughness=0))
auto=lord(creature[artifact]|myBattlefield) flying
text=Artifact creatures you control have flying. -- At the beginning of combat on your turn, you may have target noncreature artifact you control become a 0/0 artifact creature. If you do, put four +1/+1 counters on it.
mana={6}{U}
type=Creature
subtype=Human Artificer
power=4
toughness=4
[/card]
[card]
name=World Queller
auto=@each my upkeep:may name(Choose a card type) transforms((,newability[choice name(Choose Land) counter(0/0.1.Land)],newability[choice name(Choose Creature) counter(0/0.1.Creature)],newability[choice name(Choose Artifact) counter(0/0.1.Artifact)],newability[choice name(Choose Enchantment) counter(0/0.1.Enchantment)],newability[choice name(Choose Planeswalker) counter(0/0.1.Planeswalker)])) oneshot
auto=@counteradded(0/0.1.Land) from(this):ability$!name(Sacrifice a land) name(Sacrifice a land) target(land|myBattlefield) sacrifice!$ controller
auto=@counteradded(0/0.1.Land) from(this):ability$!name(Sacrifice a land) name(Sacrifice a land) target(land|myBattlefield) sacrifice!$ opponent
auto=@counteradded(0/0.1.Land) from(this):removeallcounters(0/0.1.Land)
auto=@counteradded(0/0.1.Creature) from(this):ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature|myBattlefield) sacrifice!$ controller
auto=@counteradded(0/0.1.Creature) from(this):ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature|myBattlefield) sacrifice!$ opponent
auto=@counteradded(0/0.1.Creature) from(this):removeallcounters(0/0.1.Creature)
auto=@counteradded(0/0.1.Artifact) from(this):ability$!name(Sacrifice an artifact) name(Sacrifice an artifact) target(artifact|myBattlefield) sacrifice!$ controller
auto=@counteradded(0/0.1.Artifact) from(this):ability$!name(Sacrifice an artifact) name(Sacrifice an artifact) target(artifact|myBattlefield) sacrifice!$ opponent
auto=@counteradded(0/0.1.Artifact) from(this):removeallcounters(0/0.1.Artifact)
auto=@counteradded(0/0.1.Enchantment) from(this):ability$!name(Sacrifice an enchantment) name(Sacrifice an enchantment) target(enchantment|myBattlefield) sacrifice!$ controller
auto=@counteradded(0/0.1.Enchantment) from(this):ability$!name(Sacrifice an enchantment) name(Sacrifice an enchantment) target(enchantment|myBattlefield) sacrifice!$ opponent
auto=@counteradded(0/0.1.Enchantment) from(this):removeallcounters(0/0.1.Enchantment)
auto=@counteradded(0/0.1.Planeswalker) from(this):ability$!name(Sacrifice a planeswalker) name(Sacrifice a planeswalker) target(planeswalker|myBattlefield) sacrifice!$ controller
auto=@counteradded(0/0.1.Planeswalker) from(this):ability$!name(Sacrifice a planeswalker) name(Sacrifice a planeswalker) target(planeswalker|myBattlefield) sacrifice!$ opponent
auto=@counteradded(0/0.1.Planeswalker) from(this):removeallcounters(0/0.1.Planeswalker)
text=At the beginning of your upkeep, you may choose a card type. If you do, each player sacrifices a permanent of that type.
mana={3}{W}{W}
type=Creature
subtype=Avatar
power=4
toughness=4
[/card]
[card]
name=World Shaper
auto=_ATTACKING_may deplete:3
auto=_DIES_:all(land|mygraveyard) moveto(mybattlefield) and!(tap(noevent))!
text=Whenever World Shaper attacks, you may put the top three cards of your library into your graveyard. -- When World Shaper dies, put all land cards from your graveyard onto the battlefield tapped.
mana={3}{G}
type=Creature
subtype=Merfolk Shaman
power=3
toughness=3
[/card]
[card]
name=World-Weary
target=creature
auto=teach(creature) -4/-4
aicode=activate target(land[basic]|mylibrary) moveto(myhand)
autohand={1}{B}{cycle}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Enchant creature -- Enchanted creature gets -4/-4. -- Basic landcycling {1}{B} ({1}{B}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.)
mana={3}{B}{B}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Worldknit
abilities=isconspiracy
restriction=never
autocommandzone=lord(land|myBattlefield) transforms((,newability[{T}:add{R}],newability[{T}:add{W}],newability[{T}:add{G}],newability[{T}:add{U}],newability[{T}:add{B}]))
text=(Start the game with this conspiracy face up in the command zone.) -- As long as every card in your card pool started the game in your library or in the command zone, lands you control have "{T}: Add one mana of any color to your mana pool."
type=Conspiracy
[/card]
[card]
name=Worldpurge
auto=all(*|battlefield) moveto(ownerhand)
auto=ability$!name(Discard cards) name(Discard cards) target(<phandcountminus7minusend>*|myhand) moveto(mylibrary) and!( shuffle )! !$ controller
auto=ability$!name(Discard cards) name(Discard cards) target(<phandcountminus7minusend>*|myhand) moveto(mylibrary) and!( shuffle )! !$ opponent
auto=removeMana(*)
text=Return all permanents to their owners' hands. Each player chooses up to seven cards in his or her hand, then shuffles the rest into his or her library. Empty all mana pools.
mana={4}{WU}{WU}{WU}{WU}
type=Sorcery
[/card]
[card]
name=Worldsoul Colossus
auto=counter(1/1,X)
other={convoke} name(Convoke)
text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Worldsoul Colossus enters the battlefield with X +1/+1 counters on it.
mana={X}{G}{W}
type=Creature
subtype=Elemental
power=0
toughness=0
[/card]
[card]
name=Wormfang Crab
abilities=unblockable
auto=ability$!name(Exile permanent) notatarget(*[-Wormfang Crab]|opponentbattlefield) (blink)forsrc!$ opponent
text=Wormfang Crab is unblockable. -- When Wormfang Crab enters the battlefield, an opponent chooses a permanent you control other than Wormfang Crab and exiles it. -- When Wormfang Crab leaves the battlefield, return the exiled card to the battlefield under its owner's control.
mana={3}{U}
type=Creature
subtype=Nightmare Crab
power=3
toughness=6
[/card]
[card]
name=Wormhole Serpent
auto={3}{U}:name(Creature becomes unblockable) target(creature) transforms((,newability[unblockable])) ueot
text={3}{U}: Target creature can't be blocked this turn.
mana={4}{U}
type=Creature
subtype=Serpent
power=3
toughness=5
[/card]
[card]
name=Worms of the Earth
auto=maxPlay(land)-99 controller
auto=maxPlay(land)-99 opponent
auto=@movedto(land|battlefield) from(graveyard):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownergraveyard)
auto=@movedto(land|battlefield) from(exile):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownerexile)
auto=@movedto(land|battlefield) from(hand):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownerhand)
auto=@movedto(land|battlefield) from(sideboard):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownersideboard)
auto=@movedto(land|battlefield) from(commandzone):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownercommandzone)
auto=@movedto(land|battlefield) from(library):name(Lands can't enter the battlefield) all(trigger[to]) moveto(ownerlibrary) and!( shuffle )!
auto=@each my upkeep restriction{type(land|mybattlefield)~morethan~1}:name(Sacrifice lands or deal damage) ability$!name(Choose one) choice name(Sacrifice 2 lands) target(land|myBattlefield) sacrifice and!( transforms((,newability[name(Sacrifice another land) target(land|myBattlefield) sacrifice and!( transforms((,newability[name(Destroy Worms) target(Worms of the Earth|myBattlefield) destroy])) oneshot )!])) oneshot )! _ choice name(Deals 5 damage) damage:5 controller!$ controller
auto=@each my upkeep restriction{type(land|mybattlefield)~lessthan~2}:name(Deals 5 damage) damage:5 controller
auto=@each opponent upkeep restriction{type(land|opponentbattlefield)~morethan~1}:name(Sacrifice lands or deal damage) ability$!name(Choose one) choice name(Sacrifice 2 lands) target(land|myBattlefield) sacrifice and!( transforms((,newability[name(Sacrifice another land) target(land|myBattlefield) sacrifice and!( transforms((,newability[name(Destroy Worms) target(Worms of the Earth|opponentBattlefield) destroy])) oneshot )!])) oneshot )! _ choice name(Deals 5 damage) damage:5 controller!$ opponent
auto=@each opponent upkeep restriction{type(land|opponentbattlefield)~lessthan~2}:name(Deals 5 damage) damage:5 opponent
text=Players can't play lands. -- Lands can't enter the battlefield. -- At the beginning of each upkeep, any player may sacrifice two lands or have Worms of the Earth deal 5 damage to him or her. If a player does either, destroy Worms of the Earth.
mana={2}{B}{B}{B}
type=Enchantment
[/card]
[card]
name=Worthy Knight
auto=@movedTo(creature[knight]|mystack):create(Human:creature Human:1/1:white)
text=Whenever you cast a Knight spell, create a 1/1 white Human creature token.
mana={1}{W}
type=Creature
subtype=Human Knight
power=2
toughness=2
[/card]
[card]
name=Wrecking Beast
abilities=trample
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.) -- Trample
mana={5}{G}{G}
type=Creature
subtype=Beast
power=6
toughness=6
[/card]
[card]
name=Wren's Run Hydra
abilities=reach
auto=counter(1/1,x)
autohand={X}{G}{G}{discard}:name(Reinforce) counter(1/1,x) target(creature)
text=Reach -- Wren's Run Hydra enters the battlefield with X +1/+1 counters on it. -- Reinforce X-{X}{G}{G} ({X}{G}{G}, Discard this card: Put X +1/+1 counters on target creature.)
mana={X}{G}
type=Creature
subtype=Hydra
power=0
toughness=0
[/card]
[card]
name=Wren's Run Vanquisher
otherrestriction=type(*[elf]|myhand)~lessthan~2
other={4}{G}
restriction=type(*[elf]|myhand)~morethan~1
abilities=deathtouch
text=As an additional cost to cast Wren's Run Vanquisher, reveal an Elf card from your hand or pay {3}. -- Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.)
mana={1}{G}
type=Creature
subtype=Elf Warrior
power=3
toughness=3
[/card]
[card]
name=Wretched Camel
auto=_DIES_if type(*[desert]|mybattlefield,myGraveyard)~morethan~0 then target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer
text=When Wretched Camel dies, if you control a Desert or there is a Desert card in your graveyard, target player discards a card.
mana={1}{B}
type=Creature
subtype=Zombie Camel
power=2
toughness=1
[/card]
[card]
name=Wretched Confluence
auto=choice name(Choose 1,1,1) target(player) draw:3 && life:-3
auto=choice name(Choose 1,1,2) target(player) draw:2 && life:-2 && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller
auto=choice name(Choose 1,2,2) target(player) draw:1 && life:-1 && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller
auto=choice name(Choose 1,2,3) target(player) draw:1 && life:-1 && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Return creature to hand) notatarget(creature|mygraveyard) moveto(myhand)!$ controller
auto=choice name(Choose 1,3,3) target(player) draw:1 && life:-1 && ability$!name(Return creature to hand) notatarget(<2>creature|mygraveyard) moveto(myhand)!$ controller
auto=choice name(Choose 2,2,2) target(creature) -2/-2 ueot && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller
auto=choice name(Choose 2,2,3) target(creature) -2/-2 ueot && ability$!name(Creature gets -2/-2) notatarget(creature) -2/-2 ueot!$ controller && ability$!name(Return creature to hand) notatarget(creature|mygraveyard) moveto(myhand)!$ controller
auto=choice name(Choose 2,3,3) target(creature) -2/-2 ueot && ability$!name(Return creature to hand) notatarget(<2>creature|mygraveyard) moveto(myhand)!$ controller
auto=choice name(Choose 3,3,3) target(<3>creature|mygraveyard) moveto(myhand)
text=Choose three. You may choose the same mode more than once. -- Target player draws a card and loses 1 life. -- Target creature gets -2/-2 until end of turn. -- Return target creature card from your graveyard to your hand.
mana={3}{B}{B}
type=Instant
[/card]
[card]
name=Wrong Turn
target=creature
auto=moveto(opponentbattlefield)
text=Target opponent gains control of target creature. (If an attacking or blocking creature changes controllers, it's removed from combat.)
mana={2}{U}
type=Instant
[/card]
[card]
name=Wulfgar of Icewind Dale
#MISSING: not possible to trigger twice any ability ATM
auto=_ATTACKING_name(Melee) 1/1 ueot
text=Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked this combat.) -- If a creature you control attacking would cause a triggered ability of a permanent you control to trigger, that ability triggers an additional time.
mana={3}{R}{G}
type=Legendary Creature
subtype=Human Barbarian
power=4
toughness=4
[/card]
[card]
name=Wyleth, Soul of Steel
abilities=trample
auto=_ATTACKING_thisforeach(auras > 0) draw:1 controller
auto=_ATTACKING_thisforeach(gear) draw:1 controller
text=Trample -- Whenever Wyleth, Soul of Steel attacks, draw a card for each Aura and Equipment attached to it.
mana={1}{R}{W}
type=Legendary Creature
subtype=Human Warrior
power=2
toughness=2
[/card]
[card]
name=Xanathar, Guild Kingpin
auto=@each my upkeep:transforms((,newability[maxcast(*)0 opponent],newability[{0}:if type(*[counter{0/0.1.XanaEffect}]|myhand)~equalto~0 then name(Look top card) name(Look top card) all(*[zpos=1]|opponentlibrary) moveto(myhand) and!( transforms((,newability[choice name(Put back) moveto(opponentlibrary)],newability[choice name(Can play card) transforms((,newability[anytypeofmana],newability[counter(0/0.1.XanaEffect)])) ueot])) ueot )! ])) ueot
auto=@each my end:all(*[counter{0/0.1.XanaEffect}]|myhand) moveto(opponentlibrary)
text=At the beginning of your upkeep, choose target opponent. Until end of turn, that player can't cast spells, you may look at the top card of their library any time, you may play the top card of their library, and you may spend mana as though it were mana of any color to cast spells this way.
mana={4}{U}{B}
type=Legendary Creature
subtype=Beholder
power=5
toughness=6
[/card]
[card]
name=Xantcha, Sleeper Agent
auto=moveto(opponentBattlefield)
auto=this(cantattack)
auto={3}:life:-2 controller && draw:1 opponent
text=Xantcha, Sleeper Agent enters the battlefield under the control of an opponent of your choice. -- Xantcha attacks each combat if able and can't attack its owner or planeswalkers its owner controls. -- {3}: Xantcha's controller loses 2 life and you draw a card. Any player may activate this ability.
mana={1}{B}{R}
type=Legendary Creature
subtype=Minion
power=5
toughness=5
[/card]
[card]
name=Xenic Poltergeist
auto={T}:target(artifact[-creature]) transforms((creature,newability[manacost/manacost])) uynt
text={T}: Until your next upkeep, target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost.
mana={1}{B}{B}
type=Creature
subtype=Spirit
power=1
toughness=1
[/card]
[card]
name=Xorn
auto=@tokencreated(treasure|myBattlefield):token(Treasure Sur,notrigger)
text=If you would create one or more Treasure tokens, instead create those tokens plus an additional Treasure token.
mana={2}{R}
type=Creature
subtype=Elemental
power=3
toughness=2
[/card]
[card]
name=Xyris, the Writhing Storm
abilities=flying
auto=@drawfoeof(player):token(Snake Xyr)
auto=@damagefoeof(player) from(this):draw:storedpower controller && draw:storedpower opponent
text=Flying -- Whenever an opponent draws a card except the first one they draw in each of their draw steps, create a 1/1 green Snake creature token. -- Whenever Xyris, the Writhing Storm deals combat damage to a player, you and that player each draw that many cards.
mana={2}{G}{U}{R}
type=Legendary Creature
subtype=Snake Leviathan
power=3
toughness=5
[/card]
[card]
name=Yanling's Harbinger
abilities=flying
auto=target(Mu Yanling^ Celestial Wind|mylibrary,mygraveyard) moveto(myhand)  and!( shuffle )!
text=Flying -- When Yanling's Harbinger enters the battlefield, you may search your library and/or graveyard for a card named Mu Yanling, Celestial Wind, reveal it, and put it into your hand. If you search your library this way, shuffle it.
mana={3}{U}{U}
type=Creature
subtype=Bird
power=2
toughness=4
[/card]
[card]
name=Yannik, Scavenging Sentinel
abilities=vigilance,partner
auto=may name(Put partner in hand) moveto(myhand) target(Nikara^ Lair Scavenger|mylibrary)
auto=if type(creature[power=0]|myBattlefield)~morethan~0 then choice name(Exile creature with power 0) name(Exile creature with power 0) (blink)forsrc target(other creature[power=0]|mybattlefield)
auto=if type(creature[power=1]|myBattlefield)~morethan~0 then choice name(Exile creature with power 1) name(Exile creature with power 1) (blink)forsrc target(other creature[power=1]|mybattlefield) && ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=2]|myBattlefield)~morethan~0 then choice name(Exile creature with power 2) name(Exile creature with power 2) (blink)forsrc target(other creature[power=2]|mybattlefield) && thisforeach(variable{2}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=3]|myBattlefield)~morethan~0 then choice name(Exile creature with power 3) name(Exile creature with power 3) (blink)forsrc target(other creature[power=3]|mybattlefield) && thisforeach(variable{3}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=4]|myBattlefield)~morethan~0 then choice name(Exile creature with power 4) name(Exile creature with power 4) (blink)forsrc target(other creature[power=4]|mybattlefield) && thisforeach(variable{4}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=5]|myBattlefield)~morethan~0 then choice name(Exile creature with power 5) name(Exile creature with power 5) (blink)forsrc target(other creature[power=5]|mybattlefield) && thisforeach(variable{5}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=6]|myBattlefield)~morethan~0 then choice name(Exile creature with power 6) name(Exile creature with power 6) (blink)forsrc target(other creature[power=6]|mybattlefield) && thisforeach(variable{6}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=7]|myBattlefield)~morethan~0 then choice name(Exile creature with power 7) name(Exile creature with power 7) (blink)forsrc target(other creature[power=7]|mybattlefield) && thisforeach(variable{7}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=8]|myBattlefield)~morethan~0 then choice name(Exile creature with power 8) name(Exile creature with power 8) (blink)forsrc target(other creature[power=8]|mybattlefield) && thisforeach(variable{8}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=9]|myBattlefield)~morethan~0 then choice name(Exile creature with power 9) name(Exile creature with power 9) (blink)forsrc target(other creature[power=9]|mybattlefield) && thisforeach(variable{9}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=10]|myBattlefield)~morethan~0 then choice name(Exile creature with power 10) name(Exile creature with power 10) (blink)forsrc target(other creature[power=10]|mybattlefield) && thisforeach(variable{10}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=11]|myBattlefield)~morethan~0 then choice name(Exile creature with power 11) name(Exile creature with power 11) (blink)forsrc target(other creature[power=11]|mybattlefield) && thisforeach(variable{11}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=12]|myBattlefield)~morethan~0 then choice name(Exile creature with power 12) name(Exile creature with power 12) (blink)forsrc target(other creature[power=12]|mybattlefield) && thisforeach(variable{12}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=13]|myBattlefield)~morethan~0 then choice name(Exile creature with power 13) name(Exile creature with power 13) (blink)forsrc target(other creature[power=13]|mybattlefield) && thisforeach(variable{13}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=14]|myBattlefield)~morethan~0 then choice name(Exile creature with power 14) name(Exile creature with power 14) (blink)forsrc target(other creature[power=14]|mybattlefield) && thisforeach(variable{14}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=15]|myBattlefield)~morethan~0 then choice name(Exile creature with power 15) name(Exile creature with power 15) (blink)forsrc target(other creature[power=15]|mybattlefield) && thisforeach(variable{15}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=16]|myBattlefield)~morethan~0 then choice name(Exile creature with power 16) name(Exile creature with power 16) (blink)forsrc target(other creature[power=16]|mybattlefield) && thisforeach(variable{16}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=17]|myBattlefield)~morethan~0 then choice name(Exile creature with power 17) name(Exile creature with power 17) (blink)forsrc target(other creature[power=17]|mybattlefield) && thisforeach(variable{17}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=18]|myBattlefield)~morethan~0 then choice name(Exile creature with power 18) name(Exile creature with power 18) (blink)forsrc target(other creature[power=18]|mybattlefield) && thisforeach(variable{18}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power=19]|myBattlefield)~morethan~0 then choice name(Exile creature with power 19) name(Exile creature with power 19) (blink)forsrc target(other creature[power=19]|mybattlefield) && thisforeach(variable{19}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
auto=if type(creature[power>=20]|myBattlefield)~morethan~0 then choice name(Exile creature with power 20) name(Exile creature with power 20) (blink)forsrc target(other creature[power>=20]|mybattlefield) && thisforeach(variable{20}) ability$!name(Assign 1/1 counter) name(Assign 1/1 counter) target(creature) counter(1/1)!$ controller
text=Partner with Nikara, Lair Scavenger -- Vigilance -- When Yannik, Scavenging Sentinel enters the battlefield, exile another creature you control until Yannik leaves the battlefield. When you do, distribute X +1/+1 counters among any number of target creatures, where X is the exiled creature's power.
mana={2}{G}{W}
type=Legendary Creature
subtype=Hyena Beast
power=3
toughness=3
[/card]
[card]
name=Yare
target=creature[blocking]
auto=3/0 ueot
text=Target creature defending player controls gets +3/+0 until end of turn. That creature can block up to two additional creatures this turn.
mana={2}{W}
type=Instant
[/card]
[card]
name=Yargle, Glutton of Urborg
mana={4}{B}
type=Legendary Creature
subtype=Frog Spirit
power=9
toughness=3
[/card]
[card]
name=Yarok's Fenlurker
auto=target(opponent) ability$!moveto(exile) and!( becomes(tobecast) forever )! target(*|myhand)!$ targetedplayer
auto={2}{B}:1/1 ueot
text=When Yarok's Fenlurker enters the battlefield, each opponent exiles a card from their hand. -- {2}{B}: Yarok's Fenlurker gets +1/+1 until end of turn.
mana={B}{B}
type=Creature
subtype=Horror
power=1
toughness=1
[/card]
[card]
name=Yarok's Wavecrasher
auto=moveTo(ownerhand) notatarget(other creature|myBattlefield)
text=When Yarok's Wavecrasher enters the battlefield, return another creature you control to its owner's hand.
mana={3}{U}
type=Creature
subtype=Elemental
power=4
toughness=4
[/card]
[card]
name=Yasharn, Implacable Earth
#Forbid the life and sacrifice payments is not supported ATM...
aicode=activate target(<upto:2>land[basic;forest;plains]|myLibrary) moveTo(myHand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(myLibrary) optionone name(choose card) target(<upto:2>land[basic;forest;plains]|reveal) moveTo(myHand) optiononeend optiontwo name(shuffle) bottomoflibrary target(<2>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=When Yasharn, Implacable Earth enters the battlefield, search your library for a basic Forest card and a basic Plains card, reveal those cards, put them into your hand, then shuffle your library. -- Players can't pay life or sacrifice nonland permanents to cast spells or activate abilities.
mana={2}{G}{W}
type=Legendary Creature
subtype=Elemental Boar
power=4
toughness=4
[/card]
[card]
name=Yavimaya Sapherd
auto=create(saproling:creature saproling:1/1:green)
text=When Yavimaya Sapherd enters the battlefield, create a 1/1 green Saproling creature token.
mana={2}{G}
type=Creature
subtype=Fungus
power=2
toughness=2
[/card]
[card]
name=Yavimaya, Cradle of Growth
auto=lord(land) transforms((forest))
text=Each land is a Forest in addition to its other land types.
type=Legendary Land
[/card]
[card]
name=Yawgmoth's Vile Offering
auto=name(Reanimate and may destroy) target(creature,planeswalker|graveyard) moveTo(myBattlefield) and!(may target(creature,planeswalker) destroy)!
auto=name(Just destroy) destroy target(creature,planeswalker)
auto=moveto(exile)
text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Put up to one target creature or planeswalker card from a graveyard onto the battlefield under your control. Destroy up to one target creature or planeswalker. Exile Yawgmoth's Vile Offering.
restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0
mana={4}{B}
type=Legendary Sorcery
[/card]
[card]
name=Yawgmoth, Thran Physician
abilities=protection from(human)
auto={L:1}{S(other creature|mybattlefield)}:target(creature) counter(-1/-1) && draw:1 controller
auto={B}{B}{discard(*|myhand)}:_PROLIFERATE_
text=Protection from Humans -- Pay 1 life, Sacrifice another creature: Put a -1/-1 counter on up to one target creature and draw a card. -- {B}{B}, Discard a card: Proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.)
mana={2}{B}{B}
type=Legendary Creature
subtype=Human Cleric
power=2
toughness=4
[/card]
[card]
name=Yedora, Grave Gardener
auto=@movedto(other creature[-token]|mygraveyard) from(mybattlefield):all(trigger[to]) flip(Forest) forcetype(land)
text=Whenever another nontoken creature you control dies, you may return it to the battlefield face down under its owner's control. It's a Forest land. (It has no other types or abilities.)
mana={4}{G}
type=Legendary Creature
subtype=Treefolk Druid
power=5
toughness=5
[/card]
[card]
name=Yidaro, Wandering Monster
abilities=trample,haste,cycling
autohand=__CYCLING__({1}{R})
autohand=@cycled(this|hand):this(variable{pyidarocount}<3) moveto(mylibrary) && shuffle && alteryidarocount:1 controller
autohand=@cycled(this|hand):this(variable{pyidarocount}>=3) moveto(myBattlefield)
text=Trample, haste -- Cycling {1}{R} -- When you cycle Yidaro, Wandering Monster, shuffle it into your library from your graveyard. If you've cycled a card named Yidaro, Wandering Monster four or more times this game, put it onto the battlefield from your graveyard instead. (Do this before you draw.)
mana={5}{R}{R}
type=Legendary Creature
subtype=Dinosaur Turtle
power=8
toughness=8
[/card]
[card]
name=Yixlid Jailer
auto=lord(*|graveyard) loseabilities
text=Cards in graveyards lose all abilities.
mana={1}{B}
type=Creature
subtype=Zombie Wizard
power=2
toughness=1
[/card]
[card]
name=Yorion, Sky Nomad
abilities=flying
auto=may name(Exile permanents) target(<anyamount>other *[-land]|mybattlefield) transforms((,newability[moveto(myexile),newability[phaseaction[endofturn once] moveto(ownerbattlefield)])) ueot
text=Companion - Your starting deck contains at least twenty cards more than the minimum deck size. (If this card is your chosen companion, you may cast it once from outside the game.) -- Flying -- When Yorion enters the battlefield, exile any number of other nonland permanents you own and control. Return those cards to the battlefield at the beginning of the next end step.
mana={3}{WU}{WU}
type=Legendary Creature
subtype=Bird Serpent
power=4
toughness=5
[/card]
[card]
name=Yorvo, Lord of Garenbrig
auto=counter(1/1,4)
auto=@movedto(other creature[green]|mybattlefield):counter(1/1,1)
text=Yorvo, Lord of Garenbrig enters the battlefield with four +1/+1 counters on it. -- Whenever another green creature enters the battlefield under your control, put a +1/+1 counter on Yorvo. Then if that creature's power is greater than Yorvo's power, put another +1/+1 counter on Yorvo.
mana={G}{G}{G}
type=Legendary Creature
subtype=Giant Noble
power=0
toughness=0
[/card]
[card]
name=Yosei, the Morning Star
abilities=flying
auto=_DIES_all(*|opponentbattlefield) frozen
auto=_DIES_name(Tap up to 5 permanents) name(Tap up to 5 permanents) target(<upto:5>*|opponentbattlefield) tap(noevent)
text=Flying -- When Yosei, the Morning Star dies, target player skips his or her next untap step. Tap up to five target permanents that player controls.
mana={4}{W}{W}
type=Legendary Creature
subtype=Dragon Spirit
power=5
toughness=5
[/card]
[card]
name=You Come to a River
auto=choice name(Return non-land permanent) target(*[-land]|battlefield) moveTo(ownerhand)
auto=choice name(Creature gets 1/0) target(creature|battlefield) transforms((,newability[1/0],newability[unblockable])) ueot
text=Choose one -- Fight the Current - Return target nonland permanent top its owner's hand. -- Find a Crossing - Target creature gets +1/+0 until end of turn and can't be blocked this turn.
mana={1}{U}
type=Instant
[/card]
[card]
name=You Come to the Gnoll Camp
auto=choice name(Creatures can't block) target(<upto:2>creature|battlefield) transforms((,newability[cantblock])) ueot
auto=choice name(Creature gets 3/1) target(creature|battlefield) 3/1 ueot
text=Choose one -- Intimidate Them - Up to two target creatures can't block this turn. -- Fend Them Off - Target creature gets +3/+1 until end of turn.
mana={1}{R}
type=Instant
[/card]
[card]
name=You Find Some Prisoners
aicode=activate target(*[zpos<=3]|opponentlibrary) moveto(myexile) and!( transforms((,newability[all(*[zpos<=3]|opponentlibrary) moveto(ownerexile)],newability[canplayfromexile],newability[anytypeofmana],newability[my endofturn next once checkex] moveto(ownerexile)])) forever )!
auto=choice name(Destroy artifact) target(artifact) destroy
auto=choice name(Exile top 3 cards) reveal:3 revealzone(opponentlibrary) optionone name(Choose one card) target(*|reveal) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[anytypeofmana],newability[my endofturn next once checkex] moveto(ownerexile)])) forever )! optiononeend optiontwo name(Exile cards) all(*|reveal) moveto(ownerexile) optiontwoend revealend
text=Choose one -- Break Their Chains - Destroy target artifact. -- Interrogate Them - Exile the top three cards of target opponent's library. Choose one of them. Until the end of your next turn, you may play that card, and you may spend mana as through it were mana of any color to cast it.
mana={1}{R}
type=Instant
[/card]
[card]
name=You Find a Cursed Idol
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact) destroy
auto=if type(enchantment|battlefield)~morethan~0 then choice name(Destroy enchantment) name(Destroy enchantment) target(enchantment) destroy
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then choice name(Create treasure) name(Create treasure) token(Treasure Sur) and!( transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot )!
auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~morethan~0 then name(Create treasure) name(Create treasure) token(Treasure Sur)
text=Choose one -- Smash It - Destroy target artifact. -- Lift the Curse - Destroy target enchantment. -- Steal Its Eyes - Create a Treasure token and venture into the dungeon. (Enter the first room or advance to the next room.)
mana={1}{G}
type=Sorcery
[/card]
[card]
name=You Find the Villains' Lair
auto=choice name(Counter spell) target(*|stack) fizzle
auto=choice name(Draw and discard) draw:2 && transforms((,newability[target(<2>*|myhand) reject])) forever
text=Choose one -- Foil Their Scheme - Counter target spell. -- Learn Their Secrets - Draw two cards, then discard two cards.
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=You Happen On a Glade
auto=choice name(Search library) target(<upto:2>land[basic]|mylibrary) moveto(myhand) and!( shuffle )!
auto=choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(myhand)
text=Choose one -- Journey On - Search your library for up to two basic land cards, reveal them, put them into your hand, then shuffle. -- Make Camp - Return target permanent card from your graveyard to your hand.
mana={2}{G}
type=Instant
[/card]
[card]
name=You Hear Something on Watch
auto=choice name(Creature get 1/1) all(creature|myBattlefield) 1/1 ueot
auto=choice name(Damage creature) target(creature[attacking]|battlefield) damage:5
text=Choose one -- Rouse the Party - Creatures you control get +1/+1 until end of turn. -- Set Off Traps - This spell deals 5 damage to target attacking creature.
mana={1}{W}
type=Instant
[/card]
[card]
name=You Meet in a Tavern
aicode=activate target(<upto:5>creature[zpos<=5]|mylibrary) moveTo(myhand) and!( all(*[-creature;zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!
auto=choice name(Search library) reveal:5 optionone name(Get Creature) target(<upto:5>creature|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=choice name(Creatures get +2/+2) all(creature|mybattlefield) transforms((,newability[2/2])) ueot
text=Choose one -- Form a Party - Look at the top five cards of your library. You may reveal any number of creature cards from among them and put them into your hand. Put the rest on the bottom of your library in a random order. -- Start a Brawl - Creatures you control get +2/+2 until end of turn.
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=You See a Guard Approach
auto=choice name(Tap a creature) target(creature|battlefield) tap
auto=choice name(Creature gains hexproof) target(creature|mybattlefield) transforms((,newability[opponentshroud])) ueot
text=Choose one -- Distract the Guard - Tap target creature. -- Hide - Target creature you control gains hexproof until end of turn. (It can't be the target of spells or abilities your opponents control.)
mana={U}
type=Instant
[/card]
[card]
name=You See a Pair of Goblins
auto=choice name(All creatures get 2/0) all(creature|mybattlefield) transforms((,newability[2/0])) ueot
auto=choice name(Create 2 goblins) token(Goblin Los)*2
text=Choose one -- Charge Them - Creatures you control get +2/+0 until end of turn. -- Befriend Them - Create two 1/1 red Goblin creature tokens.
mana={2}{R}
type=Instant
[/card]
[card]
name=You're Ambushed on the Road
auto=choice name(Return creature to hand) target(creature|myBattlefield) moveto(ownerhand)
auto=choice name(Creature gets 1/3) target(creature|battlefield) 1/3 ueot
text=Choose one -- Make a Retreat - Return target creature you control to its owner's hand. -- Stand and Fight - Target creature gets +1/+3 until end of turn.
mana={W}
type=Instant
[/card]
[card]
name=Young Necromancer
auto=if type(creature|myGraveyard)~morethan~0 then if type(*|myGraveyard)~morethan~2 then may name(Exile 2 cards) target(*|myGraveyard) moveto(myexile) and!( transforms((,newability[name(Exile second card) target(*|myGraveyard) moveto(myexile) and!( transforms((,newability[[name(Return card on battlefield) target(creature|myGraveyard) moveto(myBattlefield)])) oneshot )!])) oneshot )!
text=When Young Necromancer enters the battlefield, you may exile two cards from your graveyard. When you do, return target creature card from your graveyard to the battlefield.
mana={4}{B}
type=Creature
subtype=Human Warlock
power=2
toughness=3
[/card]
[card]
name=Youthful Valkyrie
abilities=flying
auto=@movedto(other angel|mybattlefield):counter(1/1)
text=Flying -- Whenever another Angel enters the battlefield under your control, put a +1/+1 counter on Youthful Valkyrie.
mana={1}{W}
type=Creature
subtype=Angel
power=1
toughness=3
[/card]
[card]
name=Yuan-Ti Fang-Blade
abilities=deathtouch
auto=@combatdamaged(player) from(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Deathtouch -- Whenever Yuan-Ti Fang-Blade deals combat damage to a player, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={2}{B}
type=Creature
subtype=Snake Rogue
power=2
toughness=2
[/card]
[card]
name=Yuan-Ti Malison
auto=@combat(attacking) source(this) restriction{type(creature[attacking]|myBattlefield)~equalto~1}:name(Becomes unblockable) transforms((,newability[unblockable])) ueot
auto=@combatdamaged(player) from(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Yuan-Ti Malison can't be blocked as long as it's attacking alone. -- Whenever Yuan-Ti Malison deals combat damage to a player, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={1}{U}
type=Creature
subtype=Snake Rogue
power=2
toughness=1
[/card]
[card]
name=Yuriko, the Tiger's Shadow
autohand={U}{B}{N}:ninjutsu
autocommandzone={U}{B}{N}:ninjutsu
auto=@combatdamagefoeof(player) from(ninja|myBattlefield):moveto(myhand) and!( transforms((,newability[damage:manacost opponent])) ueot )! all(*[zpos=1]|mylibrary)
auto=@combatdamageof(player) from(ninja|myBattlefield):moveto(myhand) and!( transforms((,newability[damage:manacost controller])) ueot )! all(*[zpos=1]|mylibrary)
text=Commander ninjutsu {U}{B} ({U}{B}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand or the command zone tapped and attacking.) -- Whenever a Ninja you control deals combat damage to a player, reveal the top card of your library and put that card into your hand. Each opponent loses life equal to that card's converted mana cost.
mana={1}{U}{B}
type=Legendary Creature
subtype=Human Ninja
power=1
toughness=3
[/card]
[card]
name=Yurlok of Scorch Thrash
abilities=vigilance
auto={1}{T}:add{B}{R}{G} && add{B}{R}{G} opponent
text=Vigilance -- A player losing unspent mana causes that player to lose that much life. -- {1}, {T}: Each player adds {B}{R}{G}.
mana={1}{B}{R}{G}
type=Legendary Creature
subtype=Viashino Shaman
power=4
toughness=4
[/card]
[card]
name=Zabaz, the Glimmerwasp
abilities=modular
modular=3
auto={R}:name(Destroy artifact) target(artifact|myBattlefield)
auto={W}:name(Gains flying) transforms((,newability[flying])) ueot
auto=@counteradded(1/1) from(*[modular]|myBattlefield) except(Zabaz, the Glimmerwasp):may name(Trigger modular) counter(1/1) target(creature[counter{1/1.1}]|myBattlefield)
text=Modular 1 -- If a modular triggered ability would put one or more +1/+1 counters on a creature you control, that many plus one +1/+1 counters are put on it instead. -- {R}: Destroy target artifact you control. -- {W}: Zabaz, the Glimmerwasp gains flying until end of turn.
mana={1}
type=Legendary Artifact Creature
subtype=Insect
power=0
toughness=0
[/card]
[card]
name=Zacama, Primal Calamity
abilities=vigilance, reach, trample
auto=if casted(this) then untap all(land|mybattlefield)
auto={2}{R}:name(Deals 3 damage to target...) zacama damage:3 target(creature)
auto={2}{G}:name(Destroy target artifact...) destroy target(artifact,enchantment)
auto={2}{W}:name(Gain 3 life) life:3 controller
text=Vigilance, reach, trample -- When Zacama, Primal Calamity enters the battlefield, if you cast it, untap all lands you control. -- {2}{R}: Zacama deals 3 damage to target creature. -- {2}{G}: Destroy target artifact or enchantment. -- {2}{W}: You gain 3 life.
mana={6}{R}{G}{W}
type=Legendary Creature
subtype=Elder Dinosaur
power=9
toughness=9
[/card]
[card]
name=Zaffai, Thunder Conductor
aicode=activate transforms((,newability[all(*[zpos=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=@movedto(*[instant;sorcery]|mystack):scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@movedto(instant[manacost>=5]|mystack):token(Elemental,Creature Elemental,4/4,blue,red)
auto=@movedto(sorcery[manacost>=5]|mystack):token(Elemental,Creature Elemental,4/4,blue,red)
auto=@movedto(instant[manacost>=10]|mystack):damage:10 opponent
auto=@movedto(sorcery[manacost>=10]|mystack):damage:10 opponent
text=Magecraft - Whenever you cast or copy an instant or sorcery spell, scry 1. If that spell's mana value is 5 or greater, create a 4/4 blue and red Elemental creature token. If that spell's mana value is 10 or greater, Zaffai, Thunder Conductor deals 10 damage to an opponent chosen at random.
mana={2}{U}{R}
type=Legendary Creature
subtype=Human Shaman
power=1
toughness=4
[/card]
[card]
name=Zagoth Crystal
abilities=cycling
auto={T}:Add{B}
auto={T}:Add{G}
auto={T}:Add{U}
autohand=__CYCLING__({2})
text={T}: Add {B}, {G}, or {U}. -- Cycling {2} ({2}, Discard this card: Draw a card.)
mana={3}
type=Artifact
[/card]
[card]
name=Zagoth Mamba
auto=@mutated(this):target(creature|opponentBattlefield) -2/-2 ueot
text=Whenever this creature mutates, target creature an opponent controls gets -2/-2 until end of turn.
mana={B}
type=Creature
subtype=Nightmare Snake
power=1
toughness=1
[/card]
[card]
name=Zagoth Triome
abilities=cycling
auto=tap(noevent)
autohand=__CYCLING__({3})
text=({T}: Add {B}, {G}, or {U}.) -- Zagoth Triome enters the battlefield tapped. -- Cycling {3} ({3}, Discard this card: Draw a card.)
type=Land
subtype=Swamp Forest Island
[/card]
[card]
name=Zagras, Thief of Heartbeats
abilities=flying,deathtouch,haste
autocommandzone=thisforeach(variable{calculateparty}>0) changecost(colorless:-1)  forcedalive
autoexile=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autograveyard=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
autohand=thisforeach(variable{calculateparty}>0) changecost(colorless:-1) forcedalive
auto=lord(other creature|myBattlefield) deathtouch
auto=@combatdamaged(planeswalker) from(creature|myBattlefield):all(trigger[to]) destroy
text=This spell costs {1} less to cast for each creature in your party. -- Flying, deathtouch, haste -- Other creatures you control have deathtouch. -- Whenever a creature you control deals combat damage to a planeswalker, destroy that planeswalker.
mana={4}{B}{R}
type=Legendary Creature
subtype=Vampire Rogue
power=4
toughness=4
[/card]
[card]
name=Zahid, Djinn of the Lamp
other={3}{U}{T(artifact|myBattlefield)} name(Pay and tap an artifact you control)
abilities=flying
text=You may pay {3}{U} and tap and untapped artifact you control rather than pay this spell's mana cost. -- Flying.
mana={4}{U}{U}
type=Legendary Creature
subtype=Djinn
power=5
toughness=6
[/card]
[card]
name=Zalto, Fire Giant Duke
abilities=trample
auto=@damaged(this) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=Trample -- Whenever Zalto, Fire Giant Duke is dealt damage, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={3}{R}{R}
type=Legendary Creature
subtype=Giant Barbarian
power=7
toughness=3
[/card]
[card]
name=Zara, Renegade Recruiter
abilities=flying
auto=_ATTACKING_reveal:type:*:opponenthand revealzone(opponenthand) optionone name(Reveal) target(creature|reveal) moveto(mybattlefield) and!( transforms((,newability[ninjutsu],newability[phaseaction[endofturn] moveto(ownerhand) all(this)])) forever )! optiononeend optiontwo all(*|reveal) moveto(opponenthand) optiontwoend revealend
text=Flying -- Whenever Zara, Renegade Recruiter attacks, look at defending player's hand. You may put a creature card from it onto the battlefield under your control tapped and attacking that player or a planeswalker they control. Return that creature to its owner's hand at the beginning of the next end step.
mana={3}{U}{R}
type=Legendary Creature
subtype=Human Pirate
power=4
toughness=3
[/card]
[card]
name=Zareth San, the Trickster
abilities=flash
autohand={2}{U}{B}{H(rogue[attacking;-blocked]|myBattlefield)}:ninjutsu
auto=@combatdamaged(player) from(this):may moveTo(myBattlefield) target(*|opponentGraveyard)
text=Flash -- {2}{U}{B}, Return an unblocked attacking Rogue you control to its owner's hand: Put Zareth San, the Trickster from your hand onto the battlefield tapped and attacking. -- Whenever Zareth San deals combat damage to a player, you may put target permanent card from that player's graveyard onto the battlefield under your control.
mana={3}{U}{B}
type=Legendary Creature
subtype=Merfolk Rogue
power=4
toughness=4
[/card]
[card]
name=Zaxara, the Exemplary
abilities=deathtouch
auto={T}:add{W}{W}
auto={T}:add{B}{B}
auto={T}:add{G}{G}
auto={T}:add{R}{R}
auto={T}:add{U}{U}
auto=@movedto(*|mystack):all(trigger[to]) transforms((,newability[if compare(fullpaid)~morethan~0 then name(Create Hydra) token(Hydra^Creature Hydra^0/0^green) and!( counter(1/1.fullpaid) )!])) oneshot
text=Deathtouch -- {T}: Add two mana of any one color. -- Whenever you cast a spell with {X} in its mana cost, create a 0/0 green Hydra creature token, then put X +1/+1 counters on it.
mana={1}{B}{G}{U}
type=Legendary Creature
subtype=Nightmare Hydra
power=2
toughness=3
[/card]
[card]
name=Zealot of the God-Pharaoh
auto={4}{R}:damage:2 target(opponent)
text={4}{R}: Zealot of the God-Pharaoh deals 2 damage to target opponent.
mana={3}{R}
type=Creature
subtype=Minotaur Archer
power=4
toughness=3
[/card]
[card]
name=Zegana, Utopian Speaker
auto=if type(creature[counter{1/1}]|mybattlefield)~morethan~0 then draw:1 controller
auto={4}{G}{U}:this(counter{1/1.1}<1) transforms((,newability[counter(1/1.4)])) forever
auto=lord(creature[counter{1/1}]|myBattlefield) trample
text=When Zegana, Utopian Speaker enters the battlefield, if you control another creature with a +1/+1 counter on it, draw a card. -- {4}{G}{U}: Adapt 4. (If this creature has no +1/+1 counters on it, put four +1/+1 counters on it.) -- Each creature you control with a +1/+1 counter on it has trample.
mana={2}{G}{U}
type=Legendary Creature
subtype=Merfolk Wizard
power=4
toughness=4
[/card]
[card]
name=Zenith Flare
target=player,creature,planeswalker
auto=damage:type:*[cycling]:myGraveyard && life:type:*[cycling]:myGraveyard controller
text=Zenith Flare deals X damage to any target and you gain X life, where X is the number of cards with a cycling ability in your graveyard.
mana={2}{R}{W}
type=Instant
[/card]
[card]
name=Zenith Seeker
abilities=flying
auto=@movedto(*|mygraveyard) from(myhand):target(creature|mybattlefield) flying ueot
text=Flying -- Whenever you cycle or discard a card, target creature gains flying until end of turn.
mana={3}{U}
type=Creature
subtype=Bird Wizard
power=2
toughness=2
[/card]
[card]
name=Zephyr Boots
auto={2}:equip
auto=teach(creature) flying
auto=@combatdamaged(player) from(mytgt):name(Draw and discard) draw:1 && reject target(*|myhand)
text=Equipped creature has flying. -- Whenever equipped creature deals combat damage to a player, draw a card, then discard a card. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
mana={1}
type=Artifact
subtype=Equipment
[/card]
[card]
name=Zephyr Gull
abilities=flying
mana={U}
type=Creature
subtype=Bird
power=1
toughness=1
[/card]
[card]
name=Zerapa Minotaur
abilities=first strike
auto={2}:-first strike ueot
auto=foreach(land[-tapped]|opponentBattlefield) transforms((,newability[ability$!name(Pay 2) pay[[{2}]] name(Pay 2) notatarget(Zerapa Minotaur[first strike]|opponentBattlefield) -first strike ueot?donothing!$ opponent])) forever
text=First strike -- {2}: Zerapa Minotaur loses first strike until end of turn. Any player may activate this ability.
mana={2}{R}{R}
type=Creature
subtype=Minotaur
power=3
toughness=3
[/card]
[card]
name=Zetalpa, Primal Dawn
abilities=flying,double strike,indestructible,vigilance,trample
text=Flying, double strike, vigilance, trample, indestructible
mana={6}{W}{W}
type=Legendary Creature
subtype=Elder Dinosaur
power=4
toughness=8
[/card]
[card]
name=Zhalfirin Decoy
auto={T}:restriction{thisturn(creature|mybattlefield)~morethan~0} tap(noevent) target(creature)
text={T}: Tap target creature. Activate this ability only if you had a creature enter the battlefield under your control this turn.
mana={1}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=3
[/card]
[card]
name=Zhalfirin Void
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto={T}:Add{C}
text=When Zhalfirin Void enters the battlefield, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) -- {T}: Add {C}.
type=Land
[/card]
[card]
name=Zhur-Taa Goblin
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
text=Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.)
mana={R}{G}
type=Creature
subtype=Goblin Berserker
power=2
toughness=2
[/card]
[card]
name=Zimone, Quandrix Prodigy
auto={1}{T}:name(Put land in play) target(land|myhand) moveto(mybattlefield) and!( tap(noevent) )!
auto=this(variable{type:land:mybattlefield}<8) {4}{T}:name(Draw 1 card) draw:1 controller
auto=this(variable{type:land:mybattlefield}>7) {4}{T}:name(Draw 2 cards) draw:2 controller
text={1}, {T}: You may put a land card from your hand onto the battlefield tapped. -- {4}, {T}: Draw a card. If you control eight or more lands, draw two cards instead.
mana={G}{U}
type=Legendary Creature
subtype=Human Wizard
power=1
toughness=2
[/card]
[card]
name=Zndrsplt's Judgment
auto=ability$!name(Create a token copy) name(Create a token copy) target(creature|mybattlefield) clone!$ controller
auto=ability$!name(Return to hand) name(Return to hand) target(creature|mybattlefield) moveto(ownerhand)!$ opponent
text=For each player, choose friend or foe. Each friend creates a token that's a copy of a creature they control. Each foe returns a creature they control to its owner's hand.
mana={4}{U}
type=Sorcery
[/card]
[card]
name=Zof Bloodbog
auto=tap(noevent)
auto={T}:add{B}
text=Zof Bloodbog enters the battlefield tapped. -- {T}: Add {B}. // {4}{B}{B} Zof Consumption
type=Land
[/card]
[card]
name=Zof Consumption
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Zof Bloodbog)
autohand={0}:restriction{can play land,compare(isflipped)~equalto~1} name(Zof Bloodbog) name(Zof Bloodbog) flip(Zof Bloodbog) forcetype(land)
auto=life:-4 opponent
auto=life:4 controller
text=Each opponent loses 4 life and you gain 4 life. // Zof Bloodbog
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Zombie Dec
abilities=decayed,cantblock
auto=@combat(attacking) source(this):counter(0/0.1.Decayed)
auto=@combat(attacking) source(this):phaseaction[combatends sourceinplay] sacrifice
text=Decayed (This creature can't block. When it attacks, sacrifice it at end of combat.)
type=Creature
subtype=Zombie
color=black
power=2
toughness=2
[/card]
[card]
name=Zombie Lil
type=Creature
subtype=Zombie
power=2
toughness=2
color=black
[/card]
[card]
name=Zombie Ogre
auto=@each my endofturn restriction{morbid,compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0}:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot
text=At the beginning of your end step, if a creature died this turn, venture into the dungeon. (Enter the first room or advance to the next room.)
mana={3}{B}{B}
type=Creature
subtype=Zombie Ogre
power=3
toughness=5
[/card]
[card]
name=Zombie Xat
type=Creature
subtype=Zombie
power=2
toughness=2
color=black
[/card]
[card]
name=Zulaport Duelist
abilities=flash
auto=may target(creature) -2/-0 ueot && deplete:2 targetcontroller
text=Flash -- When Zulaport Duelist enters the battlefield, up to one target creature gets -2/-0 until end of turn. Its controller mills two cards. (They put the top two cards of their library into their graveyard.)
mana={U}
type=Creature
subtype=Human Rogue
power=1
toughness=1
[/card]
[card]
name=Zur's Weirding
abilities=showopponenthand,showcontrollerhand
auto=@drawof(player):name(Reveal card) target(*[fresh]|myhand) moveto(opponenthand) and!( transforms((,newability[choice name(Pay 2 life and put in graveyard) moveto(opponentgraveyard) and!( life:-2 controller )!],newability[choice name(Put back to hand) moveto(opponenthand)])) oneshot )!
auto=@drawfoeof(player):ability$!name(Reveal card) name(Reveal card) target(*[fresh]|myhand) moveto(opponenthand) and!( transforms((,newability[choice name(Put back to hand) moveto(opponenthand)],newability[choice name(Pay 2 life and put in graveyard) moveto(opponentgraveyard) and!( life:-2 controller )!])) oneshot )! !$ opponent
text=Players play with their hands revealed. -- If a player would draw a card, he or she reveals it instead. Then any other player may pay 2 life. If a player does, put that card into its owner's graveyard. Otherwise, that player draws a card.
mana={3}{U}
type=Enchantment
[/card]
[card]
name=Zurzoth, Chaos Rider
auto=@drawfoeof(player) restriction{myturnonly} turnlimited:name(Create Devil) token(Devil,Creature Devil,1/1,red) and!( transforms((,newability[@movedto(this|mygraveyard):damage:1 target(player^creature)])) forever )!
auto=@combat(attacking) source(creature[devil]|myBattlefield) turnlimited:name(Draw and discard) draw:1 && transforms((,newability[target(*|myhand) reject])) oneshot
auto=@combat(attacking) source(creature[devil]|myBattlefield) turnlimited:ability$!name(Draw and discard) name(Draw and discard) draw:1 && transforms((,newability[target(*|myhand) reject])) oneshot!$ opponent
text=Whenever an opponent draws their first card each turn, if it's not their turn, you create a 1/1 red Devil creature token with "When this creature dies, it deals 1 damage to any target." -- Whenever one or more Devils you control attack one or more players, you and those players each draw a card, then discard a card at random.
mana={2}{R}
type=Legendary Creature
subtype=Devil
power=2
toughness=3
[/card]
